function Rainbow(){function t(t){if(t.length<2)throw new Error("Rainbow must have two or more colours.");var r=(i-n)/(t.length-1),s=new ColourGradient;s.setGradient(t[0],t[1]),s.setNumberRange(n,n+r),e=[s];for(var a=1;a<t.length-1;a++){var c=new ColourGradient;c.setGradient(t[a],t[a+1]),c.setNumberRange(n+r*a,n+r*(a+1)),e[a]=c}return o=t,this}var e=null,n=0,i=100,o=["ff0000","ffff00","00ff00","0000ff"];t(o),this.setColors=this.setColours,this.setSpectrum=function(){return t(arguments),this},this.setSpectrumByArray=function(e){return t(e),this},this.colourAt=function(t){if(isNaN(t))throw new TypeError(t+" is not a number");if(1===e.length)return e[0].colourAt(t);var o=(i-n)/e.length,r=Math.min(Math.floor((Math.max(t,n)-n)/o),e.length-1);return e[r].colourAt(t)},this.colorAt=this.colourAt,this.setNumberRange=function(e,r){if(!(r>e))throw new RangeError("maxNumber ("+r+") is not greater than minNumber ("+e+")");return n=e,i=r,t(o),this}}function ColourGradient(){function t(t,e,n){var i=t;i<r&&(i=r),i>s&&(i=s);var o=s-r,a=parseInt(e,16),c=parseInt(n,16),l=(c-a)/o,u=Math.round(l*(i-r)+a);return formatHex(u.toString(16))}function e(t){return/^#?[0-9a-fA-F]{6}$/i.test(t)}function n(t){if(e(t))return t.substring(t.length-6,t.length);for(var n=[["red","ff0000"],["lime","00ff00"],["blue","0000ff"],["yellow","ffff00"],["orange","ff8000"],["aqua","00ffff"],["fuchsia","ff00ff"],["white","ffffff"],["black","000000"],["gray","808080"],["grey","808080"],["silver","c0c0c0"],["maroon","800000"],["olive","808000"],["green","008000"],["teal","008080"],["navy","000080"],["purple","800080"]],i=0;i<n.length;i++)if(t.toLowerCase()===n[i][0])return n[i][1];throw new Error(t+" is not a valid colour.")}var i="ff0000",o="0000ff",r=0,s=100;this.setGradient=function(t,e){i=n(t),o=n(e)},this.setNumberRange=function(t,e){if(!(e>t))throw new RangeError("maxNumber ("+e+") is not greater than minNumber ("+t+")");r=t,s=e},this.colourAt=function(e){return t(e,i.substring(0,2),o.substring(0,2))+t(e,i.substring(2,4),o.substring(2,4))+t(e,i.substring(4,6),o.substring(4,6))},formatHex=function(t){return 1===t.length?"0"+t:t}}function _handleMultipleEvents(t,e,n,i){vjs.arr.forEach(n,function(n){t(e,n,i)})}function _logType(t,e){var n,i,o;n=Array.prototype.slice.call(e),i=function(){},o=window.console||{log:i,warn:i,error:i},t?n.unshift(t.toUpperCase()+":"):t="log",vjs.log.history.push(n),n.unshift("VIDEOJS:"),o[t].apply?o[t].apply(o,n):o[t](n.join(" "))}!function(t,e){"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){function n(t){var e=!!t&&"length"in t&&t.length,n=ht.type(t);return"function"!==n&&!ht.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function i(t,e,n){if(ht.isFunction(e))return ht.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return ht.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(At.test(e))return ht.filter(e,t,n);e=ht.filter(e,t)}return ht.grep(t,function(t){return ht.inArray(t,e)>-1!==n})}function o(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function r(t){var e={};return ht.each(t.match($t)||[],function(t,n){e[n]=!0}),e}function s(){it.addEventListener?(it.removeEventListener("DOMContentLoaded",a),t.removeEventListener("load",a)):(it.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(it.addEventListener||"load"===t.event.type||"complete"===it.readyState)&&(s(),ht.ready())}function c(t,e,n){if(n===undefined&&1===t.nodeType){var i="data-"+e.replace(Lt,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Nt.test(n)?ht.parseJSON(n):n)}catch(t){}ht.data(t,e,n)}else n=undefined}return n}function l(t){var e;for(e in t)if(("data"!==e||!ht.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function u(t,e,n,i){if(Ot(t)){var o,r,s=ht.expando,a=t.nodeType,c=a?ht.cache:t,l=a?t[s]:t[s]&&s;if(l&&c[l]&&(i||c[l].data)||n!==undefined||"string"!=typeof e)return l||(l=a?t[s]=nt.pop()||ht.guid++:s),c[l]||(c[l]=a?{}:{toJSON:ht.noop}),"object"!=typeof e&&"function"!=typeof e||(i?c[l]=ht.extend(c[l],e):c[l].data=ht.extend(c[l].data,e)),r=c[l],i||(r.data||(r.data={}),r=r.data),n!==undefined&&(r[ht.camelCase(e)]=n),"string"==typeof e?null==(o=r[e])&&(o=r[ht.camelCase(e)]):o=r,o}}function d(t,e,n){if(Ot(t)){var i,o,r=t.nodeType,s=r?ht.cache:t,a=r?t[ht.expando]:ht.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){ht.isArray(e)?e=e.concat(ht.map(e,ht.camelCase)):e in i?e=[e]:(e=ht.camelCase(e),e=e in i?[e]:e.split(" ")),o=e.length;for(;o--;)delete i[e[o]];if(n?!l(i):!ht.isEmptyObject(i))return}(n||(delete s[a].data,l(s[a])))&&(r?ht.cleanData([t],!0):dt.deleteExpando||s!=s.window?delete s[a]:s[a]=undefined)}}}function p(t,e,n,i){var o,r=1,s=20,a=i?function(){return i.cur()}:function(){return ht.css(t,e,"")},c=a(),l=n&&n[3]||(ht.cssNumber[e]?"":"px"),u=(ht.cssNumber[e]||"px"!==l&&+c)&&jt.exec(ht.css(t,e));if(u&&u[3]!==l){l=l||u[3],n=n||[],u=+c||1;do{r=r||".5",u/=r,ht.style(t,e,u+l)}while(r!==(r=a()/c)&&1!==r&&--s)}return n&&(u=+u||+c||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=u,i.end=o)),o}function h(t){var e=Xt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function f(t,e){var n,i,o=0,r="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):undefined;if(!r)for(r=[],n=t.childNodes||t;null!=(i=n[o]);o++)!e||ht.nodeName(i,e)?r.push(i):ht.merge(r,f(i,e));return e===undefined||e&&ht.nodeName(t,e)?ht.merge([t],r):r}function m(t,e){for(var n,i=0;null!=(n=t[i]);i++)ht._data(n,"globalEval",!e||ht._data(e[i],"globalEval"))}function g(t){Bt.test(t.type)&&(t.defaultChecked=t.checked)}function v(t,e,n,i,o){for(var r,s,a,c,l,u,d,p=t.length,v=h(e),b=[],y=0;y<p;y++)if((s=t[y])||0===s)if("object"===ht.type(s))ht.merge(b,s.nodeType?[s]:s);else if(Ht.test(s)){for(c=c||v.appendChild(e.createElement("div")),l=(It.exec(s)||["",""])[1].toLowerCase(),d=Ft[l]||Ft._default,c.innerHTML=d[1]+ht.htmlPrefilter(s)+d[2],r=d[0];r--;)c=c.lastChild;if(!dt.leadingWhitespace&&Rt.test(s)&&b.push(e.createTextNode(Rt.exec(s)[0])),!dt.tbody)for(s="table"!==l||Ut.test(s)?"<table>"!==d[1]||Ut.test(s)?0:c:c.firstChild,r=s&&s.childNodes.length;r--;)ht.nodeName(u=s.childNodes[r],"tbody")&&!u.childNodes.length&&s.removeChild(u);for(ht.merge(b,c.childNodes),c.textContent="";c.firstChild;)c.removeChild(c.firstChild);c=v.lastChild}else b.push(e.createTextNode(s));for(c&&v.removeChild(c),dt.appendChecked||ht.grep(f(b,"input"),g),y=0;s=b[y++];)if(i&&ht.inArray(s,i)>-1)o&&o.push(s);else if(a=ht.contains(s.ownerDocument,s),c=f(v.appendChild(s),"script"),a&&m(c),n)for(r=0;s=c[r++];)Wt.test(s.type||"")&&n.push(s);return c=null,v}function b(){return!0}function y(){return!1}function _(){try{return it.activeElement}catch(t){}}function M(t,e,n,i,o,r){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=undefined);for(a in e)M(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=undefined):null==o&&("string"==typeof n?(o=i,i=undefined):(o=i,i=n,n=undefined)),!1===o)o=y;else if(!o)return t;return 1===r&&(s=o,o=function(t){return ht().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=ht.guid++)),t.each(function(){ht.event.add(this,e,o,i,n)})}function w(t,e){return ht.nodeName(t,"table")&&ht.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function A(t){return t.type=(null!==ht.find.attr(t,"type"))+"/"+t.type,t}function T(t){var e=ie.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function k(t,e){if(1===e.nodeType&&ht.hasData(t)){var n,i,o,r=ht._data(t),s=ht._data(e,r),a=r.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,o=a[n].length;i<o;i++)ht.event.add(e,n,a[n][i])}s.data&&(s.data=ht.extend({},s.data))}}function z(t,e){var n,i,o;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!dt.noCloneEvent&&e[ht.expando]){o=ht._data(e);for(i in o.events)ht.removeEvent(e,i,o.handle);e.removeAttribute(ht.expando)}"script"===n&&e.text!==t.text?(A(e).text=t.text,T(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),dt.html5Clone&&t.innerHTML&&!ht.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Bt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}function x(t,e,n,i){e=rt.apply([],e);var o,r,s,a,c,l,u=0,d=t.length,p=d-1,h=e[0],m=ht.isFunction(h);if(m||d>1&&"string"==typeof h&&!dt.checkClone&&ne.test(h))return t.each(function(o){var r=t.eq(o);m&&(e[0]=h.call(this,o,r.html())),x(r,e,n,i)});if(d&&(l=v(e,t[0].ownerDocument,!1,t,i),o=l.firstChild,1===l.childNodes.length&&(l=o),o||i)){for(a=ht.map(f(l,"script"),A),s=a.length;u<d;u++)r=l,u!==p&&(r=ht.clone(r,!0,!0),s&&ht.merge(a,f(r,"script"))),n.call(t[u],r,u);if(s)for(c=a[a.length-1].ownerDocument,ht.map(a,T),u=0;u<s;u++)r=a[u],Wt.test(r.type||"")&&!ht._data(r,"globalEval")&&ht.contains(c,r)&&(r.src?ht._evalUrl&&ht._evalUrl(r.src):ht.globalEval((r.text||r.textContent||r.innerHTML||"").replace(oe,"")));l=o=null}return t}function $(t,e,n){for(var i,o=e?ht.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||ht.cleanData(f(i)),i.parentNode&&(n&&ht.contains(i.ownerDocument,i)&&m(f(i,"script")),i.parentNode.removeChild(i));return t}function C(t,e){var n=ht(e.createElement(t)).appendTo(e.body),i=ht.css(n[0],"display");return n.detach(),i}function S(t){var e=it,n=ce[t];return n||(n=C(t,e),"none"!==n&&n||(ae=(ae||ht("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(ae[0].contentWindow||ae[0].contentDocument).document,e.write(),e.close(),n=C(t,e),ae.detach()),ce[t]=n),n}function O(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function N(t){if(t in Ae)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=we.length;n--;)if((t=we[n]+e)in Ae)return t}function L(t,e){for(var n,i,o,r=[],s=0,a=t.length;s<a;s++)i=t[s],i.style&&(r[s]=ht._data(i,"olddisplay"),n=i.style.display,e?(r[s]||"none"!==n||(i.style.display=""),""===i.style.display&&qt(i)&&(r[s]=ht._data(i,"olddisplay",S(i.nodeName)))):(o=qt(i),(n&&"none"!==n||!o)&&ht._data(i,"olddisplay",o?n:ht.css(i,"display"))));for(s=0;s<a;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function E(t,e,n){var i=ye.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function j(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,s=0;r<4;r+=2)"margin"===n&&(s+=ht.css(t,n+Dt[r],!0,o)),i?("content"===n&&(s-=ht.css(t,"padding"+Dt[r],!0,o)),"margin"!==n&&(s-=ht.css(t,"border"+Dt[r]+"Width",!0,o))):(s+=ht.css(t,"padding"+Dt[r],!0,o),"padding"!==n&&(s+=ht.css(t,"border"+Dt[r]+"Width",!0,o)));return s}function D(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,r=he(t),s=dt.boxSizing&&"border-box"===ht.css(t,"boxSizing",!1,r);if(o<=0||null==o){if(o=fe(t,e,r),(o<0||null==o)&&(o=t.style[e]),ue.test(o))return o;i=s&&(dt.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+j(t,e,n||(s?"border":"content"),i,r)+"px"}function q(t,e,n,i,o){return new q.prototype.init(t,e,n,i,o)}function P(){return t.setTimeout(function(){Te=undefined}),Te=ht.now()}function B(t,e){var n,i={height:t},o=0;for(e=e?1:0;o<4;o+=2-e)n=Dt[o],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function I(t,e,n){for(var i,o=(X.tweeners[e]||[]).concat(X.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,e,t))return i}function W(t,e,n){var i,o,r,s,a,c,l,u=this,d={},p=t.style,h=t.nodeType&&qt(t),f=ht._data(t,"fxshow");n.queue||(a=ht._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,c=a.empty.fire,a.empty.fire=function(){a.unqueued||c()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,ht.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=ht.css(t,"display"),"inline"===("none"===l?ht._data(t,"olddisplay")||S(t.nodeName):l)&&"none"===ht.css(t,"float")&&(dt.inlineBlockNeedsLayout&&"inline"!==S(t.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",dt.shrinkWrapBlocks()||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in e)if(o=e[i],ze.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!f||f[i]===undefined)continue;h=!0}d[i]=f&&f[i]||ht.style(t,i)}else l=undefined;if(ht.isEmptyObject(d))"inline"===("none"===l?S(t.nodeName):l)&&(p.display=l);else{f?"hidden"in f&&(h=f.hidden):f=ht._data(t,"fxshow",{}),r&&(f.hidden=!h),h?ht(t).show():u.done(function(){ht(t).hide()}),u.done(function(){var e;ht._removeData(t,"fxshow");for(e in d)ht.style(t,e,d[e])});for(i in d)s=I(h?f[i]:0,i,u),i in f||(f[i]=s.start,h&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function R(t,e){var n,i,o,r,s;for(n in t)if(i=ht.camelCase(n),o=e[i],r=t[n],ht.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(s=ht.cssHooks[i])&&"expand"in s){r=s.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}function X(t,e,n){var i,o,r=0,s=X.prefilters.length,a=ht.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var e=Te||P(),n=Math.max(0,l.startTime+l.duration-e),i=n/l.duration||0,r=1-i,s=0,c=l.tweens.length;s<c;s++)l.tweens[s].run(r);return a.notifyWith(t,[l,r,n]),r<1&&c?n:(a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:ht.extend({},e),opts:ht.extend(!0,{specialEasing:{},easing:ht.easing._default},n),originalProperties:e,originalOptions:n,startTime:Te||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=ht.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(o)return this;for(o=!0;n<i;n++)l.tweens[n].run(1);return e?(a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l,e])):a.rejectWith(t,[l,e]),this}}),u=l.props;for(R(u,l.opts.specialEasing);r<s;r++)if(i=X.prefilters[r].call(l,t,u,l.opts))return ht.isFunction(i.stop)&&(ht._queueHooks(l.elem,l.opts.queue).stop=ht.proxy(i.stop,i)),i;return ht.map(u,I,l),ht.isFunction(l.opts.start)&&l.opts.start.call(t,l),ht.fx.timer(ht.extend(c,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function F(t){return ht.attr(t,"class")||""}function H(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match($t)||[];if(ht.isFunction(n))for(;i=r[o++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function U(t,e,n,i){function o(a){var c;return r[a]=!0,ht.each(t[a]||[],function(t,a){var l=a(e,n,i);return"string"!=typeof l||s||r[l]?s?!(c=l):void 0:(e.dataTypes.unshift(l),o(l),!1)}),c}var r={},s=t===Je;return o(e.dataTypes[0])||!r["*"]&&o("*")}function V(t,e){var n,i,o=ht.ajaxSettings.flatOptions||{};for(i in e)e[i]!==undefined&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&ht.extend(!0,t,n),t}function Y(t,e,n){for(var i,o,r,s,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),o===undefined&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(s in a)if(a[s]&&a[s].test(o)){c.unshift(s);break}if(c[0]in n)r=c[0];else{for(s in n){if(!c[0]||t.converters[s+" "+c[0]]){r=s;break}i||(i=s)}r=r||i}if(r)return r!==c[0]&&c.unshift(r),n[r]}function G(t,e,n,i){var o,r,s,a,c,l={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!c&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=r,r=u.shift())if("*"===r)r=c;else if("*"!==c&&c!==r){if(!(s=l[c+" "+r]||l["* "+r]))for(o in l)if(a=o.split(" "),a[1]===r&&(s=l[c+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[o]:!0!==l[o]&&(r=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+c+" to "+r}}}return{state:"success",data:e}}function K(t){return t.style&&t.style.display||ht.css(t,"display")}function J(t){if(!ht.contains(t.ownerDocument||it,t))return!0;for(;t&&1===t.nodeType;){if("none"===K(t)||"hidden"===t.type)return!0;t=t.parentNode}return!1}function Q(t,e,n,i){var o;if(ht.isArray(e))ht.each(e,function(e,o){n||nn.test(t)?i(t,o):Q(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)});else if(n||"object"!==ht.type(e))i(t,e);else for(o in e)Q(t+"["+o+"]",e[o],n,i)}function Z(){try{return new t.XMLHttpRequest}catch(t){}}function tt(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function et(t){return ht.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var nt=[],it=t.document,ot=nt.slice,rt=nt.concat,st=nt.push,at=nt.indexOf,ct={},lt=ct.toString,ut=ct.hasOwnProperty,dt={},pt="1.12.4",ht=function(t,e){return new ht.fn.init(t,e)},ft=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,mt=/^-ms-/,gt=/-([\da-z])/gi,vt=function(t,e){return e.toUpperCase()};ht.fn=ht.prototype={jquery:pt,constructor:ht,selector:"",length:0,toArray:function(){return ot.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:ot.call(this)},pushStack:function(t){var e=ht.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return ht.each(this,t)},map:function(t){return this.pushStack(ht.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:st,sort:nt.sort,splice:nt.splice},ht.extend=ht.fn.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||ht.isFunction(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(o=arguments[a]))for(i in o)t=s[i],n=o[i],s!==n&&(l&&n&&(ht.isPlainObject(n)||(e=ht.isArray(n)))?(e?(e=!1,r=t&&ht.isArray(t)?t:[]):r=t&&ht.isPlainObject(t)?t:{},s[i]=ht.extend(l,r,n)):n!==undefined&&(s[i]=n));return s},ht.extend({expando:"jQuery"+(pt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===ht.type(t)},isArray:Array.isArray||function(t){return"array"===ht.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){var e=t&&t.toString();return!ht.isArray(t)&&e-parseFloat(e)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==ht.type(t)||t.nodeType||ht.isWindow(t))return!1;try{if(t.constructor&&!ut.call(t,"constructor")&&!ut.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(!dt.ownFirst)for(e in t)return ut.call(t,e);for(e in t);return e===undefined||ut.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ct[lt.call(t)]||"object":typeof t},globalEval:function(e){e&&ht.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(mt,"ms-").replace(gt,vt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,o=0;if(n(t))for(i=t.length;o<i&&!1!==e.call(t[o],o,t[o]);o++);else for(o in t)if(!1===e.call(t[o],o,t[o]))break;return t},trim:function(t){return null==t?"":(t+"").replace(ft,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?ht.merge(i,"string"==typeof t?[t]:t):st.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(at)return at.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;)t[o++]=e[i++];if(n!==n)for(;e[i]!==undefined;)t[o++]=e[i++];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,r=t.length,s=!n;o<r;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,i){var o,r,s=0,a=[];if(n(t))for(o=t.length;s<o;s++)null!=(r=e(t[s],s,i))&&a.push(r);else for(s in t)null!=(r=e(t[s],s,i))&&a.push(r);return rt.apply([],a)},guid:1,proxy:function(t,e){var n,i,o;return"string"==typeof e&&(o=t[e],e=t,t=o),ht.isFunction(t)?(n=ot.call(arguments,2),i=function(){return t.apply(e||this,n.concat(ot.call(arguments)))},i.guid=t.guid=t.guid||ht.guid++,i):undefined},now:function(){return+new Date},support:dt}),"function"==typeof Symbol&&(ht.fn[Symbol.iterator]=nt[Symbol.iterator]),ht.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ct["[object "+e+"]"]=e.toLowerCase()});var bt=function(t){function e(t,e,n,i){var o,r,s,a,c,l,d,h,f=e&&e.ownerDocument,m=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return n;if(!i&&((e?e.ownerDocument||e:I)!==N&&O(e),e=e||N,E)){if(11!==m&&(l=vt.exec(t)))if(o=l[1]){if(9===m){if(!(s=e.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(f&&(s=f.getElementById(o))&&P(e,s)&&s.id===o)return n.push(s),n}else{if(l[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&M.getElementsByClassName&&e.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(o)),n}if(M.qsa&&!H[t+" "]&&(!j||!j.test(t))){if(1!==m)f=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(yt,"\\$&"):e.setAttribute("id",a=B),d=k(t),r=d.length,c=pt.test(a)?"#"+a:"[id='"+a+"']";r--;)d[r]=c+" "+p(d[r]);h=d.join(","),f=bt.test(t)&&u(e.parentNode)||e}if(h)try{return Q.apply(n,f.querySelectorAll(h)),n}catch(t){}finally{a===B&&e.removeAttribute("id")}}}return x(t.replace(at,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[B]=!0,t}function o(t){var e=N.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||V)-(~t.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function c(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function d(){}function p(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,o=n&&"parentNode"===i,r=R++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r)}:function(e,n,s){var a,c,l,u=[W,r];if(s){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||o){if(l=e[B]||(e[B]={}),c=l[e.uniqueID]||(l[e.uniqueID]={}),(a=c[i])&&a[0]===W&&a[1]===r)return u[2]=a[2];if(c[i]=u,u[2]=t(e,n,s))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,r=n.length;o<r;o++)e(t,n[o],i);return i}function g(t,e,n,i,o){for(var r,s=[],a=0,c=t.length,l=null!=e;a<c;a++)(r=t[a])&&(n&&!n(r,i,o)||(s.push(r),l&&e.push(a)));return s}function v(t,e,n,o,r,s){return o&&!o[B]&&(o=v(o)),r&&!r[B]&&(r=v(r,s)),i(function(i,s,a,c){var l,u,d,p=[],h=[],f=s.length,v=i||m(e||"*",a.nodeType?[a]:a,[]),b=!t||!i&&e?v:g(v,p,t,a,c),y=n?r||(i?t:f||o)?[]:s:b;if(n&&n(b,y,a,c),o)for(l=g(y,h),o(l,[],a,c),u=l.length;u--;)(d=l[u])&&(y[h[u]]=!(b[h[u]]=d));if(i){if(r||t){if(r){for(l=[],u=y.length;u--;)(d=y[u])&&l.push(b[u]=d);r(null,y=[],l,c)}for(u=y.length;u--;)(d=y[u])&&(l=r?tt(i,d):p[u])>-1&&(i[l]=!(s[l]=d))}}else y=g(y===s?y.splice(f,y.length):y),r?r(null,s,y,c):Q.apply(s,y)})}function b(t){for(var e,n,i,o=t.length,r=w.relative[t[0].type],s=r||w.relative[" "],a=r?1:0,c=h(function(t){return t===e},s,!0),l=h(function(t){return tt(e,t)>-1},s,!0),u=[function(t,n,i){var o=!r&&(i||n!==$)||((e=n).nodeType?c(t,n,i):l(t,n,i));return e=null,o}];a<o;a++)if(n=w.relative[t[a].type])u=[h(f(u),n)];else{if(n=w.filter[t[a].type].apply(null,t[a].matches),n[B]){for(i=++a;i<o&&!w.relative[t[i].type];i++);return v(a>1&&f(u),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(at,"$1"),n,a<i&&b(t.slice(a,i)),i<o&&b(t=t.slice(i)),i<o&&p(t))}u.push(n)}return f(u)}function y(t,n){var o=n.length>0,r=t.length>0,s=function(i,s,a,c,l){var u,d,p,h=0,f="0",m=i&&[],v=[],b=$,y=i||r&&w.find.TAG("*",l),_=W+=null==b?1:Math.random()||.1,M=y.length;for(l&&($=s===N||s||l);f!==M&&null!=(u=y[f]);f++){if(r&&u){for(d=0,s||u.ownerDocument===N||(O(u),a=!E);p=t[d++];)if(p(u,s||N,a)){c.push(u);break}l&&(W=_)}o&&((u=!p&&u)&&h--,i&&m.push(u))}if(h+=f,o&&f!==h){for(d=0;p=n[d++];)p(m,v,s,a);if(i){if(h>0)for(;f--;)m[f]||v[f]||(v[f]=K.call(c));v=g(v)}Q.apply(c,v),l&&!i&&v.length>0&&h+n.length>1&&e.uniqueSort(c)}return l&&(W=_,$=b),m};return o?i(s):s}var _,M,w,A,T,k,z,x,$,C,S,O,N,L,E,j,D,q,P,B="sizzle"+1*new Date,I=t.document,W=0,R=0,X=n(),F=n(),H=n(),U=function(t,e){return t===e&&(S=!0),0},V=1<<31,Y={}.hasOwnProperty,G=[],K=G.pop,J=G.push,Q=G.push,Z=G.slice,tt=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",rt=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),at=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ct=new RegExp("^"+nt+"*,"+nt+"*"),lt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),dt=new RegExp(rt),pt=new RegExp("^"+it+"$"),ht={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},ft=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,yt=/'|\\/g,_t=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),Mt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},wt=function(){O()};try{Q.apply(G=Z.call(I.childNodes),I.childNodes),G[I.childNodes.length].nodeType}catch(t){Q={apply:G.length?function(t,e){J.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}M=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:I;return i!==N&&9===i.nodeType&&i.documentElement?(N=i,L=N.documentElement,E=!T(N),(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",wt,!1):n.attachEvent&&n.attachEvent("onunload",wt)),M.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),M.getElementsByTagName=o(function(t){return t.appendChild(N.createComment("")),!t.getElementsByTagName("*").length}),M.getElementsByClassName=gt.test(N.getElementsByClassName),M.getById=o(function(t){return L.appendChild(t).id=B,!N.getElementsByName||!N.getElementsByName(B).length}),M.getById?(w.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&E){var n=e.getElementById(t);return n?[n]:[]}},w.filter.ID=function(t){var e=t.replace(_t,Mt);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(_t,Mt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=M.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):M.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},w.find.CLASS=M.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&E)return e.getElementsByClassName(t)},D=[],j=[],(M.qsa=gt.test(N.querySelectorAll))&&(o(function(t){L.appendChild(t).innerHTML="<a id='"+B+"'></a><select id='"+B+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||j.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+B+"-]").length||j.push("~="),t.querySelectorAll(":checked").length||j.push(":checked"),t.querySelectorAll("a#"+B+"+*").length||j.push(".#.+[+~]")}),o(function(t){var e=N.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&j.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||j.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),j.push(",.*:")})),(M.matchesSelector=gt.test(q=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){M.disconnectedMatch=q.call(t,"div"),q.call(t,"[s!='']:x"),D.push("!=",rt)}),j=j.length&&new RegExp(j.join("|")),D=D.length&&new RegExp(D.join("|")),e=gt.test(L.compareDocumentPosition),P=e||gt.test(L.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return S=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!M.sortDetached&&e.compareDocumentPosition(t)===n?t===N||t.ownerDocument===I&&P(I,t)?-1:e===N||e.ownerDocument===I&&P(I,e)?1:C?tt(C,t)-tt(C,e):0:4&n?-1:1)}:function(t,e){if(t===e)return S=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,a=[t],c=[e];if(!o||!r)return t===N?-1:e===N?1:o?-1:r?1:C?tt(C,t)-tt(C,e):0;if(o===r)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;a[i]===c[i];)i++;return i?s(a[i],c[i]):a[i]===I?-1:c[i]===I?1:0},N):N},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==N&&O(t),n=n.replace(ut,"='$1']"),M.matchesSelector&&E&&!H[n+" "]&&(!D||!D.test(n))&&(!j||!j.test(n)))try{var i=q.call(t,n);if(i||M.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&O(t),P(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&O(t);var n=w.attrHandle[e.toLowerCase()],i=n&&Y.call(w.attrHandle,e.toLowerCase())?n(t,e,!E):undefined;return i!==undefined?i:M.attributes||!E?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(S=!M.detectDuplicates,C=!M.sortStable&&t.slice(0),t.sort(U),S){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return C=null,t},A=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=A(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=A(e);return n},w=e.selectors={cacheLength:50,createPseudo:i,match:ht,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(_t,Mt),t[3]=(t[3]||t[4]||t[5]||"").replace(_t,Mt),
"~="===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 ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&dt.test(n)&&(e=k(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(_t,Mt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=X[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&X(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(st," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,c){var l,u,d,p,h,f,m=r!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),b=!c&&!a,y=!1;if(g){if(r){for(;m;){for(p=e;p=p[m];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&b){for(p=g,d=p[B]||(p[B]={}),u=d[p.uniqueID]||(d[p.uniqueID]={}),l=u[t]||[],h=l[0]===W&&l[1],y=h&&l[2],p=h&&g.childNodes[h];p=++h&&p&&p[m]||(y=h=0)||f.pop();)if(1===p.nodeType&&++y&&p===e){u[t]=[W,h,y];break}}else if(b&&(p=e,d=p[B]||(p[B]={}),u=d[p.uniqueID]||(d[p.uniqueID]={}),l=u[t]||[],h=l[0]===W&&l[1],y=h),!1===y)for(;(p=++h&&p&&p[m]||(y=h=0)||f.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++y||(b&&(d=p[B]||(p[B]={}),u=d[p.uniqueID]||(d[p.uniqueID]={}),u[t]=[W,y]),p!==e)););return(y-=o)===i||y%i==0&&y/i>=0}}},PSEUDO:function(t,n){var o,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[B]?r(n):r.length>1?(o=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),s=o.length;s--;)i=tt(t,o[s]),t[i]=!(e[i]=o[s])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=z(t.replace(at,"$1"));return o[B]?i(function(t,e,n,i){for(var r,s=o(t,null,i,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(_t,Mt),function(e){return(e.textContent||e.innerText||A(e)).indexOf(t)>-1}}),lang:i(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(_t,Mt).toLowerCase(),function(e){var n;do{if(n=E?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===L},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!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!w.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return ft.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},w.pseudos.nth=w.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[_]=a(_);for(_ in{submit:!0,reset:!0})w.pseudos[_]=c(_);return d.prototype=w.filters=w.pseudos,w.setFilters=new d,k=e.tokenize=function(t,n){var i,o,r,s,a,c,l,u=F[t+" "];if(u)return n?0:u.slice(0);for(a=t,c=[],l=w.preFilter;a;){i&&!(o=ct.exec(a))||(o&&(a=a.slice(o[0].length)||a),c.push(r=[])),i=!1,(o=lt.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(at," ")}),a=a.slice(i.length));for(s in w.filter)!(o=ht[s].exec(a))||l[s]&&!(o=l[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):F(t,c).slice(0)},z=e.compile=function(t,e){var n,i=[],o=[],r=H[t+" "];if(!r){for(e||(e=k(t)),n=e.length;n--;)r=b(e[n]),r[B]?i.push(r):o.push(r);r=H(t,y(o,i)),r.selector=t}return r},x=e.select=function(t,e,n,i){var o,r,s,a,c,l="function"==typeof t&&t,d=!i&&k(t=l.selector||t);if(n=n||[],1===d.length){if(r=d[0]=d[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&M.getById&&9===e.nodeType&&E&&w.relative[r[1].type]){if(!(e=(w.find.ID(s.matches[0].replace(_t,Mt),e)||[])[0]))return n;l&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=ht.needsContext.test(t)?0:r.length;o--&&(s=r[o],!w.relative[a=s.type]);)if((c=w.find[a])&&(i=c(s.matches[0].replace(_t,Mt),bt.test(r[0].type)&&u(e.parentNode)||e))){if(r.splice(o,1),!(t=i.length&&p(r)))return Q.apply(n,i),n;break}}return(l||z(t,d))(i,e,!E,n,!e||bt.test(t)&&u(e.parentNode)||e),n},M.sortStable=B.split("").sort(U).join("")===B,M.detectDuplicates=!!S,O(),M.sortDetached=o(function(t){return 1&t.compareDocumentPosition(N.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),M.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);ht.find=bt,ht.expr=bt.selectors,ht.expr[":"]=ht.expr.pseudos,ht.uniqueSort=ht.unique=bt.uniqueSort,ht.text=bt.getText,ht.isXMLDoc=bt.isXML,ht.contains=bt.contains;var yt=function(t,e,n){for(var i=[],o=n!==undefined;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&ht(t).is(n))break;i.push(t)}return i},_t=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Mt=ht.expr.match.needsContext,wt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,At=/^.[^:#\[\.,]*$/;ht.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ht.find.matchesSelector(i,t)?[i]:[]:ht.find.matches(t,ht.grep(e,function(t){return 1===t.nodeType}))},ht.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushStack(ht(t).filter(function(){for(e=0;e<o;e++)if(ht.contains(i[e],this))return!0}));for(e=0;e<o;e++)ht.find(t,i[e],n);return n=this.pushStack(o>1?ht.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&Mt.test(t)?ht(t):t||[],!1).length}});var Tt,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ht.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||Tt,"string"==typeof t){if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:kt.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 ht?e[0]:e,ht.merge(this,ht.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:it,!0)),wt.test(i[1])&&ht.isPlainObject(e))for(i in e)ht.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((o=it.getElementById(i[2]))&&o.parentNode){if(o.id!==i[2])return Tt.find(t);this.length=1,this[0]=o}return this.context=it,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ht.isFunction(t)?"undefined"!=typeof n.ready?n.ready(t):t(ht):(t.selector!==undefined&&(this.selector=t.selector,this.context=t.context),ht.makeArray(t,this))}).prototype=ht.fn,Tt=ht(it);var zt=/^(?:parents|prev(?:Until|All))/,xt={children:!0,contents:!0,next:!0,prev:!0};ht.fn.extend({has:function(t){var e,n=ht(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(ht.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,r=[],s=Mt.test(t)||"string"!=typeof t?ht(t,e||this.context):0;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ht.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?ht.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?ht.inArray(this[0],ht(t)):ht.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ht.uniqueSort(ht.merge(this.get(),ht(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ht.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return yt(t,"parentNode")},parentsUntil:function(t,e,n){return yt(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return yt(t,"nextSibling")},prevAll:function(t){return yt(t,"previousSibling")},nextUntil:function(t,e,n){return yt(t,"nextSibling",n)},prevUntil:function(t,e,n){return yt(t,"previousSibling",n)},siblings:function(t){return _t((t.parentNode||{}).firstChild,t)},children:function(t){return _t(t.firstChild)},contents:function(t){return ht.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ht.merge([],t.childNodes)}},function(t,e){ht.fn[t]=function(n,i){var o=ht.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=ht.filter(i,o)),this.length>1&&(xt[t]||(o=ht.uniqueSort(o)),zt.test(t)&&(o=o.reverse())),this.pushStack(o)}});var $t=/\S+/g;ht.Callbacks=function(t){t="string"==typeof t?r(t):ht.extend({},t);var e,n,i,o,s=[],a=[],c=-1,l=function(){for(o=t.once,i=e=!0;a.length;c=-1)for(n=a.shift();++c<s.length;)!1===s[c].apply(n[0],n[1])&&t.stopOnFalse&&(c=s.length,n=!1);t.memory||(n=!1),e=!1,o&&(s=n?[]:"")},u={add:function(){return s&&(n&&!e&&(c=s.length-1,a.push(n)),function e(n){ht.each(n,function(n,i){ht.isFunction(i)?t.unique&&u.has(i)||s.push(i):i&&i.length&&"string"!==ht.type(i)&&e(i)})}(arguments),n&&!e&&l()),this},remove:function(){return ht.each(arguments,function(t,e){for(var n;(n=ht.inArray(e,s,n))>-1;)s.splice(n,1),n<=c&&c--}),this},has:function(t){return t?ht.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=!0,n||u.disable(),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},ht.extend({Deferred:function(t){var e=[["resolve","done",ht.Callbacks("once memory"),"resolved"],["reject","fail",ht.Callbacks("once memory"),"rejected"],["notify","progress",ht.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ht.Deferred(function(n){ht.each(e,function(e,r){var s=ht.isFunction(t[e])&&t[e];o[r[1]](function(){var t=s&&s.apply(this,arguments);t&&ht.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ht.extend(t,i):i}},o={};return i.pipe=i.then,ht.each(e,function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,r=ot.call(arguments),s=r.length,a=1!==s||t&&ht.isFunction(t.promise)?s:0,c=1===a?t:ht.Deferred(),l=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?ot.call(arguments):o,i===e?c.notifyWith(n,i):--a||c.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)r[o]&&ht.isFunction(r[o].promise)?r[o].promise().progress(l(o,n,e)).done(l(o,i,r)).fail(c.reject):--a;return a||c.resolveWith(i,r),c.promise()}});var Ct;ht.fn.ready=function(t){return ht.ready.promise().done(t),this},ht.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ht.readyWait++:ht.ready(!0)},ready:function(t){(!0===t?--ht.readyWait:ht.isReady)||(ht.isReady=!0,!0!==t&&--ht.readyWait>0||(Ct.resolveWith(it,[ht]),ht.fn.triggerHandler&&(ht(it).triggerHandler("ready"),ht(it).off("ready"))))}}),ht.ready.promise=function(e){if(!Ct)if(Ct=ht.Deferred(),"complete"===it.readyState||"loading"!==it.readyState&&!it.documentElement.doScroll)t.setTimeout(ht.ready);else if(it.addEventListener)it.addEventListener("DOMContentLoaded",a),t.addEventListener("load",a);else{it.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var n=!1;try{n=null==t.frameElement&&it.documentElement}catch(t){}n&&n.doScroll&&function e(){if(!ht.isReady){try{n.doScroll("left")}catch(n){return t.setTimeout(e,50)}s(),ht.ready()}}()}return Ct.promise(e)},ht.ready.promise();var St;for(St in ht(dt))break;dt.ownFirst="0"===St,dt.inlineBlockNeedsLayout=!1,ht(function(){var t,e,n,i;(n=it.getElementsByTagName("body")[0])&&n.style&&(e=it.createElement("div"),i=it.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",dt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=it.createElement("div");dt.deleteExpando=!0;try{delete t.test}catch(t){dt.deleteExpando=!1}t=null}();var Ot=function(t){var e=ht.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)},Nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Lt=/([A-Z])/g;ht.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?ht.cache[t[ht.expando]]:t[ht.expando])&&!l(t)},data:function(t,e,n){return u(t,e,n)},removeData:function(t,e){return d(t,e)},_data:function(t,e,n){return u(t,e,n,!0)},_removeData:function(t,e){return d(t,e,!0)}}),ht.fn.extend({data:function(t,e){var n,i,o,r=this[0],s=r&&r.attributes;if(t===undefined){if(this.length&&(o=ht.data(r),1===r.nodeType&&!ht._data(r,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=ht.camelCase(i.slice(5)),c(r,i,o[i])));ht._data(r,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ht.data(this,t)}):arguments.length>1?this.each(function(){ht.data(this,t,e)}):r?c(r,t,ht.data(r,t)):undefined},removeData:function(t){return this.each(function(){ht.removeData(this,t)})}}),ht.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=ht._data(t,e),n&&(!i||ht.isArray(n)?i=ht._data(t,e,ht.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=ht.queue(t,e),i=n.length,o=n.shift(),r=ht._queueHooks(t,e),s=function(){ht.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ht._data(t,n)||ht._data(t,n,{empty:ht.Callbacks("once memory").add(function(){ht._removeData(t,e+"queue"),ht._removeData(t,n)})})}}),ht.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?ht.queue(this[0],t):e===undefined?this:this.each(function(){var n=ht.queue(this,t,e);ht._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&ht.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ht.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=ht.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=undefined),t=t||"fx";s--;)(n=ht._data(r[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}}),function(){var t;dt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,i;return(n=it.getElementsByTagName("body")[0])&&n.style?(e=it.createElement("div"),i=it.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(it.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0}}();var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,jt=new RegExp("^(?:([+-])=|)("+Et+")([a-z%]*)$","i"),Dt=["Top","Right","Bottom","Left"],qt=function(t,e){return t=e||t,"none"===ht.css(t,"display")||!ht.contains(t.ownerDocument,t)},Pt=function(t,e,n,i,o,r,s){var a=0,c=t.length,l=null==n;if("object"===ht.type(n)){o=!0;for(a in n)Pt(t,e,a,n[a],!0,r,s)}else if(i!==undefined&&(o=!0,ht.isFunction(i)||(s=!0),l&&(s?(e.call(t,i),e=null):(l=e,e=function(t,e,n){return l.call(ht(t),n)})),e))for(;a<c;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return o?t:l?e.call(t):c?e(t[0],n):r},Bt=/^(?:checkbox|radio)$/i,It=/<([\w:-]+)/,Wt=/^$|\/(?:java|ecma)script/i,Rt=/^\s+/,Xt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var t=it.createElement("div"),e=it.createDocumentFragment(),n=it.createElement("input");t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",dt.leadingWhitespace=3===t.firstChild.nodeType,dt.tbody=!t.getElementsByTagName("tbody").length,dt.htmlSerialize=!!t.getElementsByTagName("link").length,dt.html5Clone="<:nav></:nav>"!==it.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),dt.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",dt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),n=it.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),dt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.noCloneEvent=!!t.addEventListener,t[ht.expando]=1,dt.attributes=!t.getAttribute(ht.expando)}();var Ft={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:dt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ft.optgroup=Ft.option,Ft.tbody=Ft.tfoot=Ft.colgroup=Ft.caption=Ft.thead,Ft.th=Ft.td;var Ht=/<|&#?\w+;/,Ut=/<tbody/i;!function(){var e,n,i=it.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(dt[e]=n in t)||(i.setAttribute(n,"t"),dt[e]=!1===i.attributes[n].expando);i=null}();var Vt=/^(?:input|select|textarea)$/i,Yt=/^key/,Gt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Kt=/^(?:focusinfocus|focusoutblur)$/,Jt=/^([^.]*)(?:\.(.+)|)/;ht.event={global:{},add:function(t,e,n,i,o){var r,s,a,c,l,u,d,p,h,f,m,g=ht._data(t);if(g){for(n.handler&&(c=n,n=c.handler,o=c.selector),n.guid||(n.guid=ht.guid++),(s=g.events)||(s=g.events={}),(u=g.handle)||(u=g.handle=function(t){return void 0===ht||t&&ht.event.triggered===t.type?undefined:ht.event.dispatch.apply(u.elem,arguments)},u.elem=t),e=(e||"").match($t)||[""],a=e.length;a--;)r=Jt.exec(e[a])||[],h=m=r[1],f=(r[2]||"").split(".").sort(),h&&(l=ht.event.special[h]||{},h=(o?l.delegateType:l.bindType)||h,l=ht.event.special[h]||{},d=ht.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&ht.expr.match.needsContext.test(o),namespace:f.join(".")},c),(p=s[h])||(p=s[h]=[],p.delegateCount=0,l.setup&&!1!==l.setup.call(t,i,f,u)||(t.addEventListener?t.addEventListener(h,u,!1):t.attachEvent&&t.attachEvent("on"+h,u))),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,d):p.push(d),ht.event.global[h]=!0);t=null}},remove:function(t,e,n,i,o){var r,s,a,c,l,u,d,p,h,f,m,g=ht.hasData(t)&&ht._data(t);if(g&&(u=g.events)){for(e=(e||"").match($t)||[""],l=e.length;l--;)if(a=Jt.exec(e[l])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h){for(d=ht.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,p=u[h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=r=p.length;r--;)s=p[r],!o&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(p.splice(r,1),s.selector&&p.delegateCount--,d.remove&&d.remove.call(t,s));c&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||ht.removeEvent(t,h,g.handle),delete u[h])}else for(h in u)ht.event.remove(t,h+e[l],n,i,!0);ht.isEmptyObject(u)&&(delete g.handle,ht._removeData(t,"events"))}},trigger:function(e,n,i,o){var r,s,a,c,l,u,d,p=[i||it],h=ut.call(e,"type")?e.type:e,f=ut.call(e,"namespace")?e.namespace.split("."):[];if(a=u=i=i||it,3!==i.nodeType&&8!==i.nodeType&&!Kt.test(h+ht.event.triggered)&&(h.indexOf(".")>-1&&(f=h.split("."),h=f.shift(),f.sort()),s=h.indexOf(":")<0&&"on"+h,e=e[ht.expando]?e:new ht.Event(h,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=i),n=null==n?[e]:ht.makeArray(n,[e]),l=ht.event.special[h]||{},o||!l.trigger||!1!==l.trigger.apply(i,n))){if(!o&&!l.noBubble&&!ht.isWindow(i)){for(c=l.delegateType||h,Kt.test(c+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),u=a;u===(i.ownerDocument||it)&&p.push(u.defaultView||u.parentWindow||t)}for(d=0;(a=p[d++])&&!e.isPropagationStopped();)e.type=d>1?c:l.bindType||h,r=(ht._data(a,"events")||{})[e.type]&&ht._data(a,"handle"),r&&r.apply(a,n),(r=s&&a[s])&&r.apply&&Ot(a)&&(e.result=r.apply(a,n),!1===e.result&&e.preventDefault());if(e.type=h,!o&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(p.pop(),n))&&Ot(i)&&s&&i[h]&&!ht.isWindow(i)){u=i[s],u&&(i[s]=null),ht.event.triggered=h;try{i[h]()}catch(t){}ht.event.triggered=undefined,u&&(i[s]=u)}return e.result}},dispatch:function(t){t=ht.event.fix(t);var e,n,i,o,r,s=[],a=ot.call(arguments),c=(ht._data(this,"events")||{})[t.type]||[],l=ht.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(s=ht.event.handlers.call(this,t,c),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(r.namespace)||(t.handleObj=r,t.data=r.data,(i=((ht.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))!==undefined&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,s=[],a=e.delegateCount,c=t.target;if(a&&c.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==t.type)){for(i=[],n=0;n<a;n++)r=e[n],o=r.selector+" ",i[o]===undefined&&(i[o]=r.needsContext?ht(o,this).index(c)>-1:ht.find(o,this,null,[c]).length),i[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[ht.expando])return t;var e,n,i,o=t.type,r=t,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=Gt.test(o)?this.mouseHooks:Yt.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new ht.Event(r),e=i.length;e--;)n=i[e],t[n]=r[n];return t.target||(t.target=r.srcElement||it),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,o,r=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||it,o=i.documentElement,n=i.body,t.pageX=e.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||r===undefined||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===_()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ht.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return ht.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==undefined&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n){var i=ht.extend(new ht.Event,n,{type:t,isSimulated:!0});ht.event.trigger(i,null,e),i.isDefaultPrevented()&&n.preventDefault()}},ht.removeEvent=it.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)}:function(t,e,n){var i="on"+e;t.detachEvent&&("undefined"==typeof t[i]&&(t[i]=null),t.detachEvent(i,n))},ht.Event=function(t,e){if(!(this instanceof ht.Event))return new ht.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&!1===t.returnValue?b:y):this.type=t,e&&ht.extend(this,e),this.timeStamp=t&&t.timeStamp||ht.now(),this[ht.expando]=!0},ht.Event.prototype={constructor:ht.Event,isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=b,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=b,t&&!this.isSimulated&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=b,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},ht.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ht.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===i||ht.contains(i,o))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),dt.submit||(ht.event.special.submit={setup:function(){if(ht.nodeName(this,"form"))return!1;ht.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=ht.nodeName(e,"input")||ht.nodeName(e,"button")?ht.prop(e,"form"):undefined;n&&!ht._data(n,"submit")&&(ht.event.add(n,"submit._submit",function(t){t._submitBubble=!0}),ht._data(n,"submit",!0))})},postDispatch:function(t){t._submitBubble&&(delete t._submitBubble,this.parentNode&&!t.isTrigger&&ht.event.simulate("submit",this.parentNode,t))},teardown:function(){if(ht.nodeName(this,"form"))return!1;ht.event.remove(this,"._submit")}}),dt.change||(ht.event.special.change={setup:function(){if(Vt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ht.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._justChanged=!0)}),ht.event.add(this,"click._change",function(t){this._justChanged&&!t.isTrigger&&(this._justChanged=!1),ht.event.simulate("change",this,t)})),!1;ht.event.add(this,"beforeactivate._change",function(t){var e=t.target;Vt.test(e.nodeName)&&!ht._data(e,"change")&&(ht.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||ht.event.simulate("change",this.parentNode,t)}),ht._data(e,"change",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return ht.event.remove(this,"._change"),!Vt.test(this.nodeName)}}),dt.focusin||ht.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){ht.event.simulate(e,t.target,ht.event.fix(t))};ht.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=ht._data(i,e);o||i.addEventListener(t,n,!0),ht._data(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=ht._data(i,e)-1;o?ht._data(i,e,o):(i.removeEventListener(t,n,!0),ht._removeData(i,e))}}}),ht.fn.extend({on:function(t,e,n,i){return M(this,t,e,n,i)},one:function(t,e,n,i){return M(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,ht(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=undefined),!1===n&&(n=y),this.each(function(){ht.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){ht.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return ht.event.trigger(t,e,n,!0)}});var Qt=/ jQuery\d+="(?:null|\d+)"/g,Zt=new RegExp("<(?:"+Xt+")[\\s/>]","i"),te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ee=/<script|<style|<link/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,ie=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,re=h(it),se=re.appendChild(it.createElement("div"));ht.extend({htmlPrefilter:function(t){return t.replace(te,"<$1></$2>")},clone:function(t,e,n){var i,o,r,s,a,c=ht.contains(t.ownerDocument,t);if(dt.html5Clone||ht.isXMLDoc(t)||!Zt.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(se.innerHTML=t.outerHTML,se.removeChild(r=se.firstChild)),!(dt.noCloneEvent&&dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ht.isXMLDoc(t)))for(i=f(r),a=f(t),s=0;null!=(o=a[s]);++s)i[s]&&z(o,i[s]);if(e)if(n)for(a=a||f(t),i=i||f(r),s=0;null!=(o=a[s]);s++)k(o,i[s]);else k(t,r);return i=f(r,"script"),i.length>0&&m(i,!c&&f(t,"script")),i=a=o=null,r},cleanData:function(t,e){for(var n,i,o,r,s=0,a=ht.expando,c=ht.cache,l=dt.attributes,u=ht.event.special;null!=(n=t[s]);s++)if((e||Ot(n))&&(o=n[a],r=o&&c[o])){if(r.events)for(i in r.events)u[i]?ht.event.remove(n,i):ht.removeEvent(n,i,r.handle);c[o]&&(delete c[o],l||"undefined"==typeof n.removeAttribute?n[a]=undefined:n.removeAttribute(a),nt.push(o))}}}),ht.fn.extend({domManip:x,detach:function(t){return $(this,t,!0)},remove:function(t){return $(this,t)},text:function(t){return Pt(this,function(t){return t===undefined?ht.text(this):this.empty().append((this[0]&&this[0].ownerDocument||it).createTextNode(t))},null,t,arguments.length)},append:function(){return x(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){w(this,t).appendChild(t)}})},prepend:function(){return x(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=w(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return x(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return x(this,arguments,function(t){
this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ht.cleanData(f(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ht.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ht.clone(this,t,e)})},html:function(t){return Pt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===undefined)return 1===e.nodeType?e.innerHTML.replace(Qt,""):undefined;if("string"==typeof t&&!ee.test(t)&&(dt.htmlSerialize||!Zt.test(t))&&(dt.leadingWhitespace||!Rt.test(t))&&!Ft[(It.exec(t)||["",""])[1].toLowerCase()]){t=ht.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(ht.cleanData(f(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return x(this,arguments,function(e){var n=this.parentNode;ht.inArray(this,t)<0&&(ht.cleanData(f(this)),n&&n.replaceChild(e,this))},t)}}),ht.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ht.fn[t]=function(t){for(var n,i=0,o=[],r=ht(t),s=r.length-1;i<=s;i++)n=i===s?this:this.clone(!0),ht(r[i])[e](n),st.apply(o,n.get());return this.pushStack(o)}});var ae,ce={HTML:"block",BODY:"block"},le=/^margin/,ue=new RegExp("^("+Et+")(?!px)[a-z%]+$","i"),de=function(t,e,n,i){var o,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=s[r];return o},pe=it.documentElement;!function(){function e(){var e,u,d=it.documentElement;d.appendChild(c),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=o=a=!1,i=s=!0,t.getComputedStyle&&(u=t.getComputedStyle(l),n="1%"!==(u||{}).top,a="2px"===(u||{}).marginLeft,o="4px"===(u||{width:"4px"}).width,l.style.marginRight="50%",i="4px"===(u||{marginRight:"4px"}).marginRight,e=l.appendChild(it.createElement("div")),e.style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",l.style.width="1px",s=!parseFloat((t.getComputedStyle(e)||{}).marginRight),l.removeChild(e)),l.style.display="none",r=0===l.getClientRects().length,r&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",l.childNodes[0].style.borderCollapse="separate",e=l.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",(r=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",r=0===e[0].offsetHeight)),d.removeChild(c)}var n,i,o,r,s,a,c=it.createElement("div"),l=it.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",dt.opacity="0.5"===l.style.opacity,dt.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",dt.clearCloneStyle="content-box"===l.style.backgroundClip,c=it.createElement("div"),c.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",c.appendChild(l),dt.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,ht.extend(dt,{reliableHiddenOffsets:function(){return null==n&&e(),r},boxSizingReliable:function(){return null==n&&e(),o},pixelMarginRight:function(){return null==n&&e(),i},pixelPosition:function(){return null==n&&e(),n},reliableMarginRight:function(){return null==n&&e(),s},reliableMarginLeft:function(){return null==n&&e(),a}}))}();var he,fe,me=/^(top|right|bottom|left)$/;t.getComputedStyle?(he=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},fe=function(t,e,n){var i,o,r,s,a=t.style;return n=n||he(t),s=n?n.getPropertyValue(e)||n[e]:undefined,""!==s&&s!==undefined||ht.contains(t.ownerDocument,t)||(s=ht.style(t,e)),n&&!dt.pixelMarginRight()&&ue.test(s)&&le.test(e)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r),s===undefined?s:s+""}):pe.currentStyle&&(he=function(t){return t.currentStyle},fe=function(t,e,n){var i,o,r,s,a=t.style;return n=n||he(t),s=n?n[e]:undefined,null==s&&a&&a[e]&&(s=a[e]),ue.test(s)&&!me.test(e)&&(i=a.left,o=t.runtimeStyle,r=o&&o.left,r&&(o.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,r&&(o.left=r)),s===undefined?s:s+""||"auto"});var ge=/alpha\([^)]*\)/i,ve=/opacity\s*=\s*([^)]*)/i,be=/^(none|table(?!-c[ea]).+)/,ye=new RegExp("^("+Et+")(.*)$","i"),_e={position:"absolute",visibility:"hidden",display:"block"},Me={letterSpacing:"0",fontWeight:"400"},we=["Webkit","O","Moz","ms"],Ae=it.createElement("div").style;ht.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=fe(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":dt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=ht.camelCase(e),c=t.style;if(e=ht.cssProps[a]||(ht.cssProps[a]=N(a)||a),s=ht.cssHooks[e]||ht.cssHooks[a],n===undefined)return s&&"get"in s&&(o=s.get(t,!1,i))!==undefined?o:c[e];if(r=typeof n,"string"===r&&(o=jt.exec(n))&&o[1]&&(n=p(t,e,o),r="number"),null!=n&&n===n&&("number"===r&&(n+=o&&o[3]||(ht.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),!(s&&"set"in s&&(n=s.set(t,n,i))===undefined)))try{c[e]=n}catch(t){}}},css:function(t,e,n,i){var o,r,s,a=ht.camelCase(e);return e=ht.cssProps[a]||(ht.cssProps[a]=N(a)||a),s=ht.cssHooks[e]||ht.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,n)),r===undefined&&(r=fe(t,e,i)),"normal"===r&&e in Me&&(r=Me[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),ht.each(["height","width"],function(t,e){ht.cssHooks[e]={get:function(t,n,i){if(n)return be.test(ht.css(t,"display"))&&0===t.offsetWidth?de(t,_e,function(){return D(t,e,i)}):D(t,e,i)},set:function(t,n,i){var o=i&&he(t);return E(t,n,i?j(t,e,i,dt.boxSizing&&"border-box"===ht.css(t,"boxSizing",!1,o),o):0)}}}),dt.opacity||(ht.cssHooks.opacity={get:function(t,e){return ve.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,o=ht.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===ht.trim(r.replace(ge,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=ge.test(r)?r.replace(ge,o):r+" "+o)}}),ht.cssHooks.marginRight=O(dt.reliableMarginRight,function(t,e){if(e)return de(t,{display:"inline-block"},fe,[t,"marginRight"])}),ht.cssHooks.marginLeft=O(dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(fe(t,"marginLeft"))||(ht.contains(t.ownerDocument,t)?t.getBoundingClientRect().left-de(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}):0))+"px"}),ht.each({margin:"",padding:"",border:"Width"},function(t,e){ht.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+Dt[i]+e]=r[i]||r[i-2]||r[0];return o}},le.test(t)||(ht.cssHooks[t+e].set=E)}),ht.fn.extend({css:function(t,e){return Pt(this,function(t,e,n){var i,o,r={},s=0;if(ht.isArray(e)){for(i=he(t),o=e.length;s<o;s++)r[e[s]]=ht.css(t,e[s],!1,i);return r}return n!==undefined?ht.style(t,e,n):ht.css(t,e)},t,e,arguments.length>1)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){qt(this)?ht(this).show():ht(this).hide()})}}),ht.Tween=q,q.prototype={constructor:q,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||ht.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(ht.cssNumber[n]?"":"px")},cur:function(){var t=q.propHooks[this.prop];return t&&t.get?t.get(this):q.propHooks._default.get(this)},run:function(t){var e,n=q.propHooks[this.prop];return this.options.duration?this.pos=e=ht.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):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.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=ht.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){ht.fx.step[t.prop]?ht.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ht.cssProps[t.prop]]&&!ht.cssHooks[t.prop]?t.elem[t.prop]=t.now:ht.style(t.elem,t.prop,t.now+t.unit)}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ht.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ht.fx=q.prototype.init,ht.fx.step={};var Te,ke,ze=/^(?:toggle|show|hide)$/,xe=/queueHooks$/;ht.Animation=ht.extend(X,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return p(n.elem,t,jt.exec(e),n),n}]},tweener:function(t,e){ht.isFunction(t)?(e=t,t=["*"]):t=t.match($t);for(var n,i=0,o=t.length;i<o;i++)n=t[i],X.tweeners[n]=X.tweeners[n]||[],X.tweeners[n].unshift(e)},prefilters:[W],prefilter:function(t,e){e?X.prefilters.unshift(t):X.prefilters.push(t)}}),ht.speed=function(t,e,n){var i=t&&"object"==typeof t?ht.extend({},t):{complete:n||!n&&e||ht.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ht.isFunction(e)&&e};return i.duration=ht.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ht.fx.speeds?ht.fx.speeds[i.duration]:ht.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ht.isFunction(i.old)&&i.old.call(this),i.queue&&ht.dequeue(this,i.queue)},i},ht.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 o=ht.isEmptyObject(t),r=ht.speed(e,n,i),s=function(){var e=X(this,ht.extend({},t),r);(o||ht._data(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},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=undefined),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=ht.timers,s=ht._data(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&xe.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||ht.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=ht._data(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=ht.timers,s=i?i.length:0;for(n.finish=!0,ht.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),ht.each(["toggle","show","hide"],function(t,e){var n=ht.fn[e];ht.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(B(e,!0),t,i,o)}}),ht.each({slideDown:B("show"),slideUp:B("hide"),slideToggle:B("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ht.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),ht.timers=[],ht.fx.tick=function(){var t,e=ht.timers,n=0;for(Te=ht.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||ht.fx.stop(),Te=undefined},ht.fx.timer=function(t){ht.timers.push(t),t()?ht.fx.start():ht.timers.pop()},ht.fx.interval=13,ht.fx.start=function(){ke||(ke=t.setInterval(ht.fx.tick,ht.fx.interval))},ht.fx.stop=function(){t.clearInterval(ke),ke=null},ht.fx.speeds={slow:600,fast:200,_default:400},ht.fn.delay=function(e,n){return e=ht.fx?ht.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,i){var o=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(o)}})},function(){var t,e=it.createElement("input"),n=it.createElement("div"),i=it.createElement("select"),o=i.appendChild(it.createElement("option"));n=it.createElement("div"),n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=n.getElementsByTagName("a")[0],e.setAttribute("type","checkbox"),n.appendChild(e),t=n.getElementsByTagName("a")[0],t.style.cssText="top:1px",dt.getSetAttribute="t"!==n.className,dt.style=/top/.test(t.getAttribute("style")),dt.hrefNormalized="/a"===t.getAttribute("href"),dt.checkOn=!!e.value,dt.optSelected=o.selected,dt.enctype=!!it.createElement("form").enctype,i.disabled=!0,dt.optDisabled=!o.disabled,e=it.createElement("input"),e.setAttribute("value",""),dt.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),dt.radioValue="t"===e.value}();var $e=/\r/g,Ce=/[\x20\t\r\n\f]+/g;ht.fn.extend({val:function(t){var e,n,i,o=this[0];{if(arguments.length)return i=ht.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,ht(this).val()):t,null==o?o="":"number"==typeof o?o+="":ht.isArray(o)&&(o=ht.map(o,function(t){return null==t?"":t+""})),(e=ht.valHooks[this.type]||ht.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&e.set(this,o,"value")!==undefined||(this.value=o))});if(o)return(e=ht.valHooks[o.type]||ht.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&(n=e.get(o,"value"))!==undefined?n:(n=o.value,"string"==typeof n?n.replace($e,""):null==n?"":n)}}}),ht.extend({valHooks:{option:{get:function(t){var e=ht.find.attr(t,"value");return null!=e?e:ht.trim(ht.text(t)).replace(Ce," ")}},select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type||o<0,s=r?null:[],a=r?o+1:i.length,c=o<0?a:r?o:0;c<a;c++)if(n=i[c],(n.selected||c===o)&&(dt.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ht.nodeName(n.parentNode,"optgroup"))){if(e=ht(n).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=ht.makeArray(e),s=o.length;s--;)if(i=o[s],ht.inArray(ht.valHooks.option.get(i),r)>-1)try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),o}}}}),ht.each(["radio","checkbox"],function(){ht.valHooks[this]={set:function(t,e){if(ht.isArray(e))return t.checked=ht.inArray(ht(t).val(),e)>-1}},dt.checkOn||(ht.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Se,Oe,Ne=ht.expr.attrHandle,Le=/^(?:checked|selected)$/i,Ee=dt.getSetAttribute,je=dt.input;ht.fn.extend({attr:function(t,e){return Pt(this,ht.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ht.removeAttr(this,t)})}}),ht.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof t.getAttribute?ht.prop(t,e,n):(1===r&&ht.isXMLDoc(t)||(e=e.toLowerCase(),o=ht.attrHooks[e]||(ht.expr.match.bool.test(e)?Oe:Se)),n!==undefined?null===n?void ht.removeAttr(t,e):o&&"set"in o&&(i=o.set(t,n,e))!==undefined?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:(i=ht.find.attr(t,e),null==i?undefined:i))},attrHooks:{type:{set:function(t,e){if(!dt.radioValue&&"radio"===e&&ht.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,o=0,r=e&&e.match($t);if(r&&1===t.nodeType)for(;n=r[o++];)i=ht.propFix[n]||n,ht.expr.match.bool.test(n)?je&&Ee||!Le.test(n)?t[i]=!1:t[ht.camelCase("default-"+n)]=t[i]=!1:ht.attr(t,n,""),t.removeAttribute(Ee?n:i)}}),Oe={set:function(t,e,n){return!1===e?ht.removeAttr(t,n):je&&Ee||!Le.test(n)?t.setAttribute(!Ee&&ht.propFix[n]||n,n):t[ht.camelCase("default-"+n)]=t[n]=!0,n}},ht.each(ht.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ne[e]||ht.find.attr;je&&Ee||!Le.test(e)?Ne[e]=function(t,e,i){var o,r;return i||(r=Ne[e],Ne[e]=o,o=null!=n(t,e,i)?e.toLowerCase():null,Ne[e]=r),o}:Ne[e]=function(t,e,n){if(!n)return t[ht.camelCase("default-"+e)]?e.toLowerCase():null}}),je&&Ee||(ht.attrHooks.value={set:function(t,e,n){if(!ht.nodeName(t,"input"))return Se&&Se.set(t,e,n);t.defaultValue=e}}),Ee||(Se={set:function(t,e,n){var i=t.getAttributeNode(n);if(i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n))return e}},Ne.id=Ne.name=Ne.coords=function(t,e,n){var i;if(!n)return(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},ht.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);if(n&&n.specified)return n.value},set:Se.set},ht.attrHooks.contenteditable={set:function(t,e,n){Se.set(t,""!==e&&e,n)}},ht.each(["width","height"],function(t,e){ht.attrHooks[e]={set:function(t,n){if(""===n)return t.setAttribute(e,"auto"),n}}})),dt.style||(ht.attrHooks.style={get:function(t){return t.style.cssText||undefined},set:function(t,e){return t.style.cssText=e+""}});var De=/^(?:input|select|textarea|button|object)$/i,qe=/^(?:a|area)$/i;ht.fn.extend({prop:function(t,e){return Pt(this,ht.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ht.propFix[t]||t,this.each(function(){try{this[t]=undefined,delete this[t]}catch(t){}})}}),ht.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&ht.isXMLDoc(t)||(e=ht.propFix[e]||e,o=ht.propHooks[e]),n!==undefined?o&&"set"in o&&(i=o.set(t,n,e))!==undefined?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=ht.find.attr(t,"tabindex");return e?parseInt(e,10):De.test(t.nodeName)||qe.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),dt.hrefNormalized||ht.each(["href","src"],function(t,e){ht.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),dt.optSelected||(ht.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ht.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ht.propFix[this.toLowerCase()]=this}),dt.enctype||(ht.propFix.enctype="encoding");var Pe=/[\t\r\n\f]/g;ht.fn.extend({addClass:function(t){var e,n,i,o,r,s,a,c=0;if(ht.isFunction(t))return this.each(function(e){ht(this).addClass(t.call(this,e,F(this)))});if("string"==typeof t&&t)for(e=t.match($t)||[];n=this[c++];)if(o=F(n),i=1===n.nodeType&&(" "+o+" ").replace(Pe," ")){for(s=0;r=e[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=ht.trim(i),o!==a&&ht.attr(n,"class",a)}return this},removeClass:function(t){var e,n,i,o,r,s,a,c=0;if(ht.isFunction(t))return this.each(function(e){ht(this).removeClass(t.call(this,e,F(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match($t)||[];n=this[c++];)if(o=F(n),i=1===n.nodeType&&(" "+o+" ").replace(Pe," ")){for(s=0;r=e[s++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");a=ht.trim(i),o!==a&&ht.attr(n,"class",a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):ht.isFunction(t)?this.each(function(n){ht(this).toggleClass(t.call(this,n,F(this),e),e)}):this.each(function(){var e,i,o,r;if("string"===n)for(i=0,o=ht(this),r=t.match($t)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else t!==undefined&&"boolean"!==n||(e=F(this),e&&ht._data(this,"__className__",e),ht.attr(this,"class",e||!1===t?"":ht._data(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+F(n)+" ").replace(Pe," ").indexOf(e)>-1)return!0;return!1}}),ht.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ht.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),ht.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});var Be=t.location,Ie=ht.now(),We=/\?/,Re=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ht.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,o=ht.trim(e+"");return o&&!ht.trim(o.replace(Re,function(t,e,o,r){return n&&e&&(i=0),0===i?t:(n=o||e,i+=!r-!o,"")}))?Function("return "+o)():ht.error("Invalid JSON: "+e)},ht.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new t.DOMParser,n=i.parseFromString(e,"text/xml")):(n=new t.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(t){n=undefined}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ht.error("Invalid XML: "+e),n};var Xe=/#.*$/,Fe=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ue=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ve=/^(?:GET|HEAD)$/,Ye=/^\/\//,Ge=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ke={},Je={},Qe="*/".concat("*"),Ze=Be.href,tn=Ge.exec(Ze.toLowerCase())||[];ht.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ze,type:"GET",isLocal:Ue.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,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":ht.parseJSON,"text xml":ht.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?V(V(t,ht.ajaxSettings),e):V(ht.ajaxSettings,t)},ajaxPrefilter:H(Ke),ajaxTransport:H(Je),ajax:function(e,n){function i(e,n,i,o){var r,d,b,y,M,A=n;2!==_&&(_=2,c&&t.clearTimeout(c),u=undefined,a=o||"",w.readyState=e>0?4:0,r=e>=200&&e<300||304===e,i&&(y=Y(p,w,i)),y=G(p,y,w,r),r?(p.ifModified&&(M=w.getResponseHeader("Last-Modified"),M&&(ht.lastModified[s]=M),(M=w.getResponseHeader("etag"))&&(ht.etag[s]=M)),204===e||"HEAD"===p.type?A="nocontent":304===e?A="notmodified":(A=y.state,d=y.data,b=y.error,r=!b)):(b=A,!e&&A||(A="error",e<0&&(e=0))),w.status=e,w.statusText=(n||A)+"",r?m.resolveWith(h,[d,A,w]):m.rejectWith(h,[w,A,b]),w.statusCode(v),v=undefined,l&&f.trigger(r?"ajaxSuccess":"ajaxError",[w,p,r?d:b]),g.fireWith(h,[w,A]),l&&(f.trigger("ajaxComplete",[w,p]),--ht.active||ht.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=undefined),n=n||{};var o,r,s,a,c,l,u,d,p=ht.ajaxSetup({},n),h=p.context||p,f=p.context&&(h.nodeType||h.jquery)?ht(h):ht.event,m=ht.Deferred(),g=ht.Callbacks("once memory"),v=p.statusCode||{},b={},y={},_=0,M="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!d)for(d={};e=He.exec(a);)d[e[1].toLowerCase()]=e[2];e=d[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===_?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return _||(t=y[n]=y[n]||t,b[t]=e),this},overrideMimeType:function(t){return _||(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(_<2)for(e in t)v[e]=[v[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||M;return u&&u.abort(e),i(0,e),this}};if(m.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,p.url=((e||p.url||Ze)+"").replace(Xe,"").replace(Ye,tn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ht.trim(p.dataType||"*").toLowerCase().match($t)||[""],null==p.crossDomain&&(o=Ge.exec(p.url.toLowerCase()),p.crossDomain=!(!o||o[1]===tn[1]&&o[2]===tn[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ht.param(p.data,p.traditional)),U(Ke,p,n,w),2===_)return w;l=ht.event&&p.global,l&&0==ht.active++&&ht.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ve.test(p.type),s=p.url,p.hasContent||(p.data&&(s=p.url+=(We.test(s)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Fe.test(s)?s.replace(Fe,"$1_="+Ie++):s+(We.test(s)?"&":"?")+"_="+Ie++)),p.ifModified&&(ht.lastModified[s]&&w.setRequestHeader("If-Modified-Since",ht.lastModified[s]),ht.etag[s]&&w.setRequestHeader("If-None-Match",ht.etag[s])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Qe+"; q=0.01":""):p.accepts["*"]);for(r in p.headers)w.setRequestHeader(r,p.headers[r]);if(p.beforeSend&&(!1===p.beforeSend.call(h,w,p)||2===_))return w.abort();M="abort";for(r in{success:1,error:1,complete:1})w[r](p[r]);if(u=U(Je,p,n,w)){if(w.readyState=1,l&&f.trigger("ajaxSend",[w,p]),2===_)return w;p.async&&p.timeout>0&&(c=t.setTimeout(function(){w.abort("timeout")},p.timeout));try{_=1,u.send(b,i)}catch(t){if(!(_<2))throw t;i(-1,t)}}else i(-1,"No Transport");return w},getJSON:function(t,e,n){return ht.get(t,e,n,"json")},getScript:function(t,e){return ht.get(t,undefined,e,"script")}}),ht.each(["get","post"],function(t,e){ht[e]=function(t,n,i,o){return ht.isFunction(n)&&(o=o||i,i=n,n=undefined),ht.ajax(ht.extend({url:t,type:e,dataType:o,data:n,success:i},ht.isPlainObject(t)&&t))}}),ht._evalUrl=function(t){return ht.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},ht.fn.extend({wrapAll:function(t){if(ht.isFunction(t))return this.each(function(e){ht(this).wrapAll(t.call(this,e))});if(this[0]){var e=ht(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return ht.isFunction(t)?this.each(function(e){ht(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ht(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ht.isFunction(t);return this.each(function(n){ht(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){ht.nodeName(this,"body")||ht(this).replaceWith(this.childNodes)}).end()}}),ht.expr.filters.hidden=function(t){return dt.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:J(t)},ht.expr.filters.visible=function(t){return!ht.expr.filters.hidden(t)};var en=/%20/g,nn=/\[\]$/,on=/\r?\n/g,rn=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;ht.param=function(t,e){var n,i=[],o=function(t,e){e=ht.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===undefined&&(e=ht.ajaxSettings&&ht.ajaxSettings.traditional),ht.isArray(t)||t.jquery&&!ht.isPlainObject(t))ht.each(t,function(){o(this.name,this.value)});else for(n in t)Q(n,t[n],e,o);return i.join("&").replace(en,"+")},ht.fn.extend({serialize:function(){return ht.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ht.prop(this,"elements");return t?ht.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ht(this).is(":disabled")&&sn.test(this.nodeName)&&!rn.test(t)&&(this.checked||!Bt.test(t))}).map(function(t,e){var n=ht(this).val();return null==n?null:ht.isArray(n)?ht.map(n,function(t){return{name:e.name,value:t.replace(on,"\r\n")}}):{name:e.name,value:n.replace(on,"\r\n")}}).get()}}),ht.ajaxSettings.xhr=t.ActiveXObject!==undefined?function(){return this.isLocal?tt():it.documentMode>8?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||tt()}:Z;var an=0,cn={},ln=ht.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in cn)cn[t](undefined,!0)}),dt.cors=!!ln&&"withCredentials"in ln,ln=dt.ajax=!!ln,ln&&ht.ajaxTransport(function(e){if(!e.crossDomain||dt.cors){var n;return{send:function(i,o){var r,s=e.xhr(),a=++an;if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)s[r]=e.xhrFields[r];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(r in i)i[r]!==undefined&&s.setRequestHeader(r,i[r]+"");s.send(e.hasContent&&e.data||null),n=function(t,i){var r,c,l;if(n&&(i||4===s.readyState))if(delete cn[a],n=undefined,s.onreadystatechange=ht.noop,i)4!==s.readyState&&s.abort();else{l={},r=s.status,"string"==typeof s.responseText&&(l.text=s.responseText);try{c=s.statusText}catch(t){c=""}r||!e.isLocal||e.crossDomain?1223===r&&(r=204):r=l.text?200:404}l&&o(r,c,l,s.getAllResponseHeaders())},e.async?4===s.readyState?t.setTimeout(n):s.onreadystatechange=cn[a]=n:n()},abort:function(){n&&n(undefined,!0)}}}}),ht.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 ht.globalEval(t),t}}}),ht.ajaxPrefilter("script",function(t){t.cache===undefined&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ht.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=it.head||ht("head")[0]||it.documentElement;return{send:function(i,o){e=it.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||o(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(undefined,!0)}}}});var un=[],dn=/(=)\?(?=&|$)|\?\?/;ht.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=un.pop()||ht.expando+"_"+Ie++;return this[t]=!0,t}}),ht.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,s,a=!1!==e.jsonp&&(dn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ht.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(dn,"$1"+o):!1!==e.jsonp&&(e.url+=(We.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||ht.error(o+" was not called"),s[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){s=arguments},i.always(function(){r===undefined?ht(t).removeProp(o):t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,un.push(o)),s&&ht.isFunction(r)&&r(s[0]),s=r=undefined}),"script"}),ht.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||it;var i=wt.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=v([t],e,o),o&&o.length&&ht(o).remove(),ht.merge([],i.childNodes))};var pn=ht.fn.load;ht.fn.load=function(t,e,n){if("string"!=typeof t&&pn)return pn.apply(this,arguments);var i,o,r,s=this,a=t.indexOf(" ");return a>-1&&(i=ht.trim(t.slice(a,t.length)),t=t.slice(0,a)),ht.isFunction(e)?(n=e,e=undefined):e&&"object"==typeof e&&(o="POST"),s.length>0&&ht.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?ht("<div>").append(ht.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},ht.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ht.fn[e]=function(t){return this.on(e,t)}}),ht.expr.filters.animated=function(t){return ht.grep(ht.timers,function(e){return t===e.elem}).length},ht.offset={setOffset:function(t,e,n){var i,o,r,s,a,c,l,u=ht.css(t,"position"),d=ht(t),p={};"static"===u&&(t.style.position="relative"),a=d.offset(),r=ht.css(t,"top"),c=ht.css(t,"left"),l=("absolute"===u||"fixed"===u)&&ht.inArray("auto",[r,c])>-1,l?(i=d.position(),s=i.top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(c)||0),ht.isFunction(e)&&(e=e.call(t,n,ht.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+o),"using"in e?e.using.call(t,p):d.css(p)}},ht.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){ht.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument;if(r)return e=r.documentElement,ht.contains(e,o)?("undefined"!=typeof o.getBoundingClientRect&&(i=o.getBoundingClientRect()),n=et(r),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){
var t,e,n={top:0,left:0},i=this[0];return"fixed"===ht.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ht.nodeName(t[0],"html")||(n=t.offset()),n.top+=ht.css(t[0],"borderTopWidth",!0),n.left+=ht.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-ht.css(i,"marginTop",!0),left:e.left-n.left-ht.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&!ht.nodeName(t,"html")&&"static"===ht.css(t,"position");)t=t.offsetParent;return t||pe})}}),ht.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);ht.fn[t]=function(i){return Pt(this,function(t,i,o){var r=et(t);if(o===undefined)return r?e in r?r[e]:r.document.documentElement[i]:t[i];r?r.scrollTo(n?ht(r).scrollLeft():o,n?o:ht(r).scrollTop()):t[i]=o},t,i,arguments.length,null)}}),ht.each(["top","left"],function(t,e){ht.cssHooks[e]=O(dt.pixelPosition,function(t,n){if(n)return n=fe(t,e),ue.test(n)?ht(t).position()[e]+"px":n})}),ht.each({Height:"height",Width:"width"},function(t,e){ht.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){ht.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Pt(this,function(e,n,i){var o;return ht.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):i===undefined?ht.css(e,n,s):ht.style(e,n,i,s)},e,r?i:undefined,r,null)}})}),ht.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)}}),ht.fn.size=function(){return this.length},ht.fn.andSelf=ht.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ht});var hn=t.jQuery,fn=t.$;return ht.noConflict=function(e){return t.$===ht&&(t.$=fn),e&&t.jQuery===ht&&(t.jQuery=hn),ht},e||(t.jQuery=t.$=ht),ht}),function(t,e){"use strict";t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,i=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return t("meta[name=csrf-token]").attr("content")},csrfParam:function(){return t("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=n.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){t('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(e,n,i){var o=t.Event(n);return e.trigger(o,i),!1!==o.result},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==e&&!1!==t.data("remote")},handleRemote:function(i){var o,r,s,a,c,l;if(n.fire(i,"ajax:before")){if(a=i.data("with-credentials")||null,c=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){o=i.data("ujs:submit-button-formmethod")||i.attr("method"),r=i.data("ujs:submit-button-formaction")||i.attr("action"),s=t(i[0]).serializeArray();var u=i.data("ujs:submit-button");u&&(s.push(u),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(n.inputChangeSelector)?(o=i.data("method"),r=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(o=i.data("method")||"get",r=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):(o=i.data("method"),r=n.href(i),s=i.data("params")||null);return l={type:o||"GET",data:s,dataType:c,beforeSend:function(t,o){if(o.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+o.accepts.script),!n.fire(i,"ajax:beforeSend",[t,o]))return!1;i.trigger("ajax:send",t)},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(r)},a&&(l.xhrFields={withCredentials:a}),r&&(l.url=r),n.ajax(l)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(t){return!0}},handleMethod:function(i){var o=n.href(i),r=i.data("method"),s=i.attr("target"),a=n.csrfToken(),c=n.csrfParam(),l=t('<form method="post" action="'+o+'"></form>'),u='<input name="_method" value="'+r+'" type="hidden" />';c===e||a===e||n.isCrossDomain(o)||(u+='<input name="'+c+'" value="'+a+'" type="hidden" />'),s&&l.attr("target",s),l.hide().append(u).appendTo("body"),l.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,i;n=t.is("button")?"html":"val",i=t.data("disable-with"),i!==e&&(t.data("ujs:enable-with",t[n]()),t[n](i)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var n=t.is("button")?"html":"val";t.data("ujs:enable-with")!==e&&(t[n](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,i=t.data("confirm"),o=!1;if(!i)return!0;if(n.fire(t,"confirm")){try{o=n.confirm(i)}catch(t){(console.error||console.log).call(console,t.stack||t)}e=n.fire(t,"confirm:complete",[o])}return o&&e},blankInputs:function(e,n,i){var o,r,s,a,c=t(),l=n||"input,textarea",u=e.find(l),d={};return u.each(function(){o=t(this),o.is("input[type=radio]")?(a=o.attr("name"),d[a]||(0===e.find('input[type=radio]:checked[name="'+a+'"]').length&&(s=e.find('input[type=radio][name="'+a+'"]'),c=c.add(s)),d[a]=a)):(r=o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):!!o.val())===i&&(c=c.add(o))}),!!c.length&&c},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var i=t.data("disable-with");i!==e&&(t.data("ujs:enable-with",t.html()),t.html(i)),t.bind("click.railsDisable",function(t){return n.stopEverything(t)}),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable"),t.removeData("ujs:disabled")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),t(window).on("pageshow.rails",function(){t(t.rails.enableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableFormElement(e)}),t(t.rails.linkDisableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableElement(e)})}),i.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(t(this))}),i.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(t(this))}),i.on("click.rails",n.linkClickSelector,function(e){var i=t(this),o=i.data("method"),r=i.data("params"),s=e.metaKey||e.ctrlKey;if(!n.allowAction(i))return n.stopEverything(e);if(!s&&i.is(n.linkDisableSelector)&&n.disableElement(i),n.isRemote(i)){if(s&&(!o||"GET"===o)&&!r)return!0;var a=n.handleRemote(i);return!1===a?n.enableElement(i):a.fail(function(){n.enableElement(i)}),!1}return o?(n.handleMethod(i),!1):void 0}),i.on("click.rails",n.buttonClickSelector,function(e){var i=t(this);if(!n.allowAction(i)||!n.isRemote(i))return n.stopEverything(e);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var o=n.handleRemote(i);return!1===o?n.enableFormElement(i):o.fail(function(){n.enableFormElement(i)}),!1}),i.on("change.rails",n.inputChangeSelector,function(e){var i=t(this);return n.allowAction(i)&&n.isRemote(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.on("submit.rails",n.formSubmitSelector,function(i){var o,r,s=t(this),a=n.isRemote(s);if(!n.allowAction(s))return n.stopEverything(i);if(s.attr("novalidate")===e)if(s.data("ujs:formnovalidate-button")===e){if((o=n.blankInputs(s,n.requiredInputSelector,!1))&&n.fire(s,"ajax:aborted:required",[o]))return n.stopEverything(i)}else s.data("ujs:formnovalidate-button",e);if(a){if(r=n.nonBlankInputs(s,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(s)},13);var c=n.fire(s,"ajax:aborted:file",[r]);return c||setTimeout(function(){n.enableFormElements(s)},13),c}return n.handleRemote(s),!1}setTimeout(function(){n.disableFormElements(s)},13)}),i.on("click.rails",n.formInputClickSelector,function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var o=i.attr("name"),r=o?{name:o,value:i.val()}:null,s=i.closest("form");0===s.length&&(s=t("#"+i.attr("form"))),s.data("ujs:submit-button",r),s.data("ujs:formnovalidate-button",i.attr("formnovalidate")),s.data("ujs:submit-button-formaction",i.attr("formaction")),s.data("ujs:submit-button-formmethod",i.attr("formmethod"))}),i.on("ajax:send.rails",n.formSubmitSelector,function(e){this===e.target&&n.disableFormElements(t(this))}),i.on("ajax:complete.rails",n.formSubmitSelector,function(e){this===e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(n){return!!t.data(n,e)}}):function(e,n,i){return!!t.data(e,i[3])}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){function e(t){for(var e=t.css("visibility");"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}return t.ui.focusable=function(n,i){var o,r,s,a,c,l=n.nodeName.toLowerCase();return"area"===l?(o=n.parentNode,r=o.name,!(!n.href||!r||"map"!==o.nodeName.toLowerCase())&&(s=t("img[usemap='#"+r+"']"),s.length>0&&s.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(a=!n.disabled)&&(c=t(n).closest("fieldset")[0])&&(a=!c.disabled):a="a"===l?n.href||i:i,a&&t(n).is(":visible")&&e(t(n)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}()}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version","./escape-selector"],t):t(jQuery)}(function(t){return t.fn.labels=function(){var e,n,i,o,r;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(o=this.eq(0).parents("label"),i=this.attr("id"),i&&(e=this.eq(0).parents().last(),r=e.add(e.length?e.siblings():this.siblings()),n="label[for='"+t.ui.escapeSelector(i)+"']",o=o.add(r.find(n).addBack(n))),this.pushStack(o))}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,n){function i(e,n,i,r){return t.each(o,function(){n-=parseFloat(t.css(e,"padding"+this))||0,i&&(n-=parseFloat(t.css(e,"border"+this+"Width"))||0),r&&(n-=parseFloat(t.css(e,"margin"+this))||0)}),n}var o="Width"===n?["Left","Right"]:["Top","Bottom"],r=n.toLowerCase(),s={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+n]=function(e){return e===undefined?s["inner"+n].call(this):this.each(function(){t(this).css(r,i(this,e)+"px")})},t.fn["outer"+n]=function(e,o){return"number"!=typeof e?s["outer"+n].call(this,e):this.each(function(){t(this).css(r,i(this,e,!0,o)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.ui.plugin={add:function(e,n,i){var o,r=t.ui[e].prototype;for(o in i)r.plugins[o]=r.plugins[o]||[],r.plugins[o].push([n,i[o]])},call:function(t,e,n,i){var o,r=t.plugins[e];if(r&&(i||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<r.length;o++)t.options[r[o][0]]&&r[o][1].apply(t.element,n)}}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(n){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.fn.scrollParent=function(e){var n=this.css("position"),i="absolute"===n,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){var e=t(this);return(!i||"static"!==e.css("position"))&&o.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==n&&r.length?r:t(this[0].ownerDocument||document)}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version","./focusable"],t):t(jQuery)}(function(t){return t.extend(t.expr[":"],{tabbable:function(e){var n=t.attr(e,"tabindex"),i=null!=n;return(!i||n>=0)&&t.ui.focusable(e,i)}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){var e="ui-effects-",n="ui-effects-style",i="ui-effects-animated",o=t;return t.effects={effect:{}},function(t,e){function n(t,e,n){var i=d[e.type]||{};return null==t?n||!e.def?null:e.def:(t=i.floor?~~t:parseFloat(t),isNaN(t)?e.def:i.mod?(t+i.mod)%i.mod:0>t?0:i.max<t?i.max:t)}function i(e){var n=l(),i=n._rgba=[];return e=e.toLowerCase(),f(c,function(t,o){var r,s=o.re.exec(e),a=s&&o.parse(s),c=o.space||"rgba";if(a)return r=n[c](a),n[u[c].cache]=r[u[c].cache],i=n._rgba=r._rgba,!1}),i.length?("0,0,0,0"===i.join()&&t.extend(i,r.transparent),n):r[e]}function o(t,e,n){return n=(n+1)%1,6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}var r,s="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",a=/^([\-+])=\s*(\d+\.?\d*)/,c=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,n,i,o){return new t.Color.fn.parse(e,n,i,o)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},p=l.support={},h=t("<p>")[0],f=t.each;h.style.cssText="background-color:rgba(1,1,1,.5)",p.rgba=h.style.backgroundColor.indexOf("rgba")>-1,f(u,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(o,s,a,c){if(o===e)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=t(o).css(s),s=e);var d=this,p=t.type(o),h=this._rgba=[];return s!==e&&(o=[o,s,a,c],p="array"),"string"===p?this.parse(i(o)||r._default):"array"===p?(f(u.rgba.props,function(t,e){h[e.idx]=n(o[e.idx],e)}),this):"object"===p?(o instanceof l?f(u,function(t,e){o[e.cache]&&(d[e.cache]=o[e.cache].slice())}):f(u,function(e,i){var r=i.cache;f(i.props,function(t,e){if(!d[r]&&i.to){if("alpha"===t||null==o[t])return;d[r]=i.to(d._rgba)}d[r][e.idx]=n(o[t],e,!0)}),d[r]&&t.inArray(null,d[r].slice(0,3))<0&&(d[r][3]=1,i.from&&(d._rgba=i.from(d[r])))}),this):void 0},is:function(t){var e=l(t),n=!0,i=this;return f(u,function(t,o){var r,s=e[o.cache];return s&&(r=i[o.cache]||o.to&&o.to(i._rgba)||[],f(o.props,function(t,e){if(null!=s[e.idx])return n=s[e.idx]===r[e.idx]})),n}),n},_space:function(){var t=[],e=this;return f(u,function(n,i){e[i.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var i=l(t),o=i._space(),r=u[o],s=0===this.alpha()?l("transparent"):this,a=s[r.cache]||r.to(s._rgba),c=a.slice();return i=i[r.cache],f(r.props,function(t,o){var r=o.idx,s=a[r],l=i[r],u=d[o.type]||{};null!==l&&(null===s?c[r]=l:(u.mod&&(l-s>u.mod/2?s+=u.mod:s-l>u.mod/2&&(s-=u.mod)),c[r]=n((l-s)*e+s,o)))}),this[o](c)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),o=l(e)._rgba;return l(t.map(n,function(t,e){return(1-i)*o[e]+i*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),i=n.pop();return e&&n.push(~~(255*i)),"#"+t.map(n,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n,i=t[0]/255,o=t[1]/255,r=t[2]/255,s=t[3],a=Math.max(i,o,r),c=Math.min(i,o,r),l=a-c,u=a+c,d=.5*u;return e=c===a?0:i===a?60*(o-r)/l+360:o===a?60*(r-i)/l+120:60*(i-o)/l+240,n=0===l?0:d<=.5?l/u:l/(2-u),[Math.round(e)%360,n,d,null==s?1:s]},u.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],i=t[2],r=t[3],s=i<=.5?i*(1+n):i+n-i*n,a=2*i-s;return[Math.round(255*o(a,s,e+1/3)),Math.round(255*o(a,s,e)),Math.round(255*o(a,s,e-1/3)),r]},f(u,function(i,o){var r=o.props,s=o.cache,c=o.to,u=o.from;l.fn[i]=function(i){if(c&&!this[s]&&(this[s]=c(this._rgba)),i===e)return this[s].slice();var o,a=t.type(i),d="array"===a||"object"===a?i:arguments,p=this[s].slice();return f(r,function(t,e){var i=d["object"===a?t:e.idx];null==i&&(i=p[e.idx]),p[e.idx]=n(i,e)}),u?(o=l(u(p)),o[s]=p,o):l(p)},f(r,function(e,n){l.fn[e]||(l.fn[e]=function(o){var r,s=t.type(o),c="alpha"===e?this._hsla?"hsla":"rgba":i,l=this[c](),u=l[n.idx];return"undefined"===s?u:("function"===s&&(o=o.call(this,u),s=t.type(o)),null==o&&n.empty?this:("string"===s&&(r=a.exec(o))&&(o=u+parseFloat(r[2])*("+"===r[1]?1:-1)),l[n.idx]=o,this[c](l)))})})}),l.hook=function(e){var n=e.split(" ");f(n,function(e,n){t.cssHooks[n]={set:function(e,o){var r,s,a="";if("transparent"!==o&&("string"!==t.type(o)||(r=i(o)))){if(o=l(r||o),!p.rgba&&1!==o._rgba[3]){for(s="backgroundColor"===n?e.parentNode:e;(""===a||"transparent"===a)&&s&&s.style;)try{a=t.css(s,"backgroundColor"),s=s.parentNode}catch(t){}o=o.blend(a&&"transparent"!==a?a:"_default")}o=o.toRgbaString()}try{e.style[n]=o}catch(t){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=l(e.elem,n),e.end=l(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(s),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(n,i){e["border"+i+"Color"]=t}),e}},r=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(o),function(){function e(e){var n,i,o=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,r={};if(o&&o.length&&o[0]&&o[o[0]])for(i=o.length;i--;)n=o[i],"string"==typeof o[n]&&(r[t.camelCase(n)]=o[n]);else for(n in o)"string"==typeof o[n]&&(r[n]=o[n]);return r}function n(e,n){var i,o,s={};for(i in n)o=n[i],e[i]!==o&&(r[i]||!t.fx.step[i]&&isNaN(parseFloat(o))||(s[i]=o));return s}var i=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,n){t.fx.step[n]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(o.style(t.elem,n,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(o,r,s,a){var c=t.speed(r,s,a);return this.queue(function(){var r,s=t(this),a=s.attr("class")||"",l=c.children?s.find("*").addBack():s;l=l.map(function(){return{el:t(this),start:e(this)}}),r=function(){t.each(i,function(t,e){o[e]&&s[e+"Class"](o[e])})},r(),l=l.map(function(){return this.end=e(this.el[0]),this.diff=n(this.start,this.end),this}),s.attr("class",a),l=l.map(function(){var e=this,n=t.Deferred(),i=t.extend({},c,{queue:!1,complete:function(){n.resolve(e)}});return this.el.animate(this.diff,i),n.promise()}),t.when.apply(t,l.get()).done(function(){r(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),c.complete.call(s[0])})})},t.fn.extend({addClass:function(e){return function(n,i,o,r){return i?t.effects.animateClass.call(this,{add:n},i,o,r):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(n,i,o,r){return arguments.length>1?t.effects.animateClass.call(this,{remove:n},i,o,r):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(n,i,o,r,s){return"boolean"==typeof i||i===undefined?o?t.effects.animateClass.call(this,i?{add:n}:{remove:n},o,r,s):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:n},i,o,r)}}(t.fn.toggleClass),switchClass:function(e,n,i,o,r){return t.effects.animateClass.call(this,{add:n,remove:e},i,o,r)}})}(),function(){function o(e,n,i,o){return t.isPlainObject(e)&&(n=e,e=e.effect),e={effect:e},null==n&&(n={}),t.isFunction(n)&&(o=n,i=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(o=i,i=n,n={}),t.isFunction(i)&&(o=i,i=null),n&&t.extend(e,n),i=i||n.duration,e.duration=t.fx.off?0:"number"==typeof i?i:i in t.fx.speeds?t.fx.speeds[i]:t.fx.speeds._default,e.complete=o||n.complete,e}function r(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||("string"==typeof e&&!t.effects.effect[e]||(!!t.isFunction(e)||"object"==typeof e&&!e.effect))}function s(t,e){var n=e.outerWidth(),i=e.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,r=o.exec(t)||["",0,n,i,0];return{top:parseFloat(r[1])||0,right:"auto"===r[2]?n:parseFloat(r[2]),bottom:"auto"===r[3]?i:parseFloat(r[3]),left:parseFloat(r[4])||0}}t.expr&&t.expr.filters&&t.expr.filters.animated&&(t.expr.filters.animated=function(e){return function(n){return!!t(n).data(i)||e(n)}}(t.expr.filters.animated)),!1!==t.uiBackCompat&&t.extend(t.effects,{save:function(t,n){for(var i=0,o=n.length;i<o;i++)null!==n[i]&&t.data(e+n[i],t[0].style[n[i]])},restore:function(t,n){for(var i,o=0,r=n.length;o<r;o++)null!==n[o]&&(i=t.data(e+n[o]),t.css(n[o],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var n={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},i=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},r=document.activeElement;try{r.id}catch(t){r=document.body}return e.wrap(i),(e[0]===r||t.contains(e[0],r))&&t(r).trigger("focus"),i=e.parent(),"static"===e.css("position")?(i.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,i){n[i]=e.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),i.css(n).show()},removeWrapper:function(e){var n=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===n||t.contains(e[0],n))&&t(n).trigger("focus")),e}}),t.extend(t.effects,{version:"1.12.1",define:function(e,n,i){return i||(i=n,n="effect"),t.effects.effect[e]=i,t.effects.effect[e].mode=n,i},scaledDimensions:function(t,e,n){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var i="horizontal"!==n?(e||100)/100:1,o="vertical"!==n?(e||100)/100:1;return{height:t.height()*o,width:t.width()*i,outerHeight:t.outerHeight()*o,outerWidth:t.outerWidth()*i}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,n){var i=t.queue();e>1&&i.splice.apply(i,[1,0].concat(i.splice(e,n))),t.dequeue()},saveStyle:function(t){t.data(n,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(n)||"",t.removeData(n)},mode:function(t,e){var n=t.is(":hidden");return"toggle"===e&&(e=n?"show":"hide"),(n?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var n,i;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":i=0;break;case"center":i=.5;break;case"right":i=1;break;default:i=t[1]/e.width}return{x:i,y:n}},createPlaceholder:function(n){var i,o=n.css("position"),r=n.position();return n.css({marginTop:n.css("marginTop"),marginBottom:n.css("marginBottom"),marginLeft:n.css("marginLeft"),marginRight:n.css("marginRight")}).outerWidth(n.outerWidth()).outerHeight(n.outerHeight()),/^(static|relative)/.test(o)&&(o="absolute",i=t("<"+n[0].nodeName+">").insertAfter(n).css({display:/^(inline|ruby)/.test(n.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:n.css("marginTop"),marginBottom:n.css("marginBottom"),marginLeft:n.css("marginLeft"),marginRight:n.css("marginRight"),"float":n.css("float")}).outerWidth(n.outerWidth()).outerHeight(n.outerHeight()).addClass("ui-effects-placeholder"),n.data(e+"placeholder",i)),n.css({position:o,left:r.left,top:r.top}),i},removePlaceholder:function(t){var n=e+"placeholder",i=t.data(n);i&&(i.remove(),t.removeData(n))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,n,i,o){return o=o||{},t.each(n,function(t,n){var r=e.cssUnit(n);r[0]>0&&(o[n]=r[0]*i+r[1])}),o}}),t.fn.extend({effect:function(){function e(e){function o(){c.removeData(i),t.effects.cleanUp(c),"hide"===n.mode&&c.hide(),a()}function a(){t.isFunction(l)&&l.call(c[0]),t.isFunction(e)&&e()}var c=t(this);n.mode=d.shift(),!1===t.uiBackCompat||s?"none"===n.mode?(c[u](),a()):r.call(c[0],n,o):(c.is(":hidden")?"hide"===u:"show"===u)?(c[u](),a()):r.call(c[0],n,a)}var n=o.apply(this,arguments),r=t.effects.effect[n.effect],s=r.mode,a=n.queue,c=a||"fx",l=n.complete,u=n.mode,d=[],p=function(e){var n=t(this),o=t.effects.mode(n,u)||s;n.data(i,!0),d.push(o),s&&("show"===o||o===s&&"hide"===o)&&n.show(),s&&"none"===o||t.effects.saveStyle(n),t.isFunction(e)&&e()};return t.fx.off||!r?u?this[u](n.duration,l):this.each(function(){l&&l.call(this)}):!1===a?this.each(p).each(e):this.queue(c,p).queue(c,e)},show:function(t){return function(e){if(r(e))return t.apply(this,arguments);var n=o.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(t.fn.show),hide:function(t){return function(e){if(r(e))return t.apply(this,arguments);var n=o.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(t.fn.hide),toggle:function(t){return function(e){if(r(e)||"boolean"==typeof e)return t.apply(this,arguments);var n=o.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(t.fn.toggle),cssUnit:function(e){var n=this.css(e),i=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(i=[parseFloat(n),e])}),i},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):s(this.css("clip"),this)},transfer:function(e,n){var i=t(this),o=t(e.to),r="fixed"===o.css("position"),s=t("body"),a=r?s.scrollTop():0,c=r?s.scrollLeft():0,l=o.offset(),u={top:l.top-a,left:l.left-c,height:o.innerHeight(),width:o.innerWidth()},d=i.offset(),p=t("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:d.top-a,left:d.left-c,height:i.innerHeight(),width:i.innerWidth(),position:r?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){p.remove(),t.isFunction(n)&&n()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=s(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,n){e[n]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},
Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,n){t.easing["easeIn"+e]=n,t.easing["easeOut"+e]=function(t){return 1-n(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?n(2*t)/2:1-n(-2*t+2)/2}})}(),t.effects}),function(t){"function"==typeof define&&define.amd?define(["jquery","./form","./version"],t):t(jQuery)}(function(t){return t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var n=e.data("ui-form-reset-instances");t.each(n,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){return function(){function e(t,e,n){return[parseFloat(t[0])*(d.test(t[0])?e/100:1),parseFloat(t[1])*(d.test(t[1])?n/100:1)]}function n(e,n){return parseInt(t.css(e,n),10)||0}function i(e){var n=e[0];return 9===n.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(n)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var o,r=Math.max,s=Math.abs,a=/left|center|right/,c=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,u=/^\w+/,d=/%$/,p=t.fn.position;t.position={scrollbarWidth:function(){if(o!==undefined)return o;var e,n,i=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=i.children()[0];return t("body").append(i),e=r.offsetWidth,i.css("overflow","scroll"),n=r.offsetWidth,e===n&&(n=i[0].clientWidth),i.remove(),o=e-n},getScrollInfo:function(e){var n=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===n||"auto"===n&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:o?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var n=t(e||window),i=t.isWindow(n[0]),o=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:i,isDocument:o,offset:i||o?{left:0,top:0}:t(e).offset(),scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},t.fn.position=function(o){if(!o||!o.of)return p.apply(this,arguments);o=t.extend({},o);var d,h,f,m,g,v,b=t(o.of),y=t.position.getWithinInfo(o.within),_=t.position.getScrollInfo(y),M=(o.collision||"flip").split(" "),w={};return v=i(b),b[0].preventDefault&&(o.at="left top"),h=v.width,f=v.height,m=v.offset,g=t.extend({},m),t.each(["my","at"],function(){var t,e,n=(o[this]||"").split(" ");1===n.length&&(n=a.test(n[0])?n.concat(["center"]):c.test(n[0])?["center"].concat(n):["center","center"]),n[0]=a.test(n[0])?n[0]:"center",n[1]=c.test(n[1])?n[1]:"center",t=l.exec(n[0]),e=l.exec(n[1]),w[this]=[t?t[0]:0,e?e[0]:0],o[this]=[u.exec(n[0])[0],u.exec(n[1])[0]]}),1===M.length&&(M[1]=M[0]),"right"===o.at[0]?g.left+=h:"center"===o.at[0]&&(g.left+=h/2),"bottom"===o.at[1]?g.top+=f:"center"===o.at[1]&&(g.top+=f/2),d=e(w.at,h,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,a,c=t(this),l=c.outerWidth(),u=c.outerHeight(),p=n(this,"marginLeft"),v=n(this,"marginTop"),A=l+p+n(this,"marginRight")+_.width,T=u+v+n(this,"marginBottom")+_.height,k=t.extend({},g),z=e(w.my,c.outerWidth(),c.outerHeight());"right"===o.my[0]?k.left-=l:"center"===o.my[0]&&(k.left-=l/2),"bottom"===o.my[1]?k.top-=u:"center"===o.my[1]&&(k.top-=u/2),k.left+=z[0],k.top+=z[1],i={marginLeft:p,marginTop:v},t.each(["left","top"],function(e,n){t.ui.position[M[e]]&&t.ui.position[M[e]][n](k,{targetWidth:h,targetHeight:f,elemWidth:l,elemHeight:u,collisionPosition:i,collisionWidth:A,collisionHeight:T,offset:[d[0]+z[0],d[1]+z[1]],my:o.my,at:o.at,within:y,elem:c})}),o.using&&(a=function(t){var e=m.left-k.left,n=e+h-l,i=m.top-k.top,a=i+f-u,d={target:{element:b,left:m.left,top:m.top,width:h,height:f},element:{element:c,left:k.left,top:k.top,width:l,height:u},horizontal:n<0?"left":e>0?"right":"center",vertical:a<0?"top":i>0?"bottom":"middle"};h<l&&s(e+n)<h&&(d.horizontal="center"),f<u&&s(i+a)<f&&(d.vertical="middle"),r(s(e),s(n))>r(s(i),s(a))?d.important="horizontal":d.important="vertical",o.using.call(this,t,d)}),c.offset(t.extend(k,{using:a}))})},t.ui.position={fit:{left:function(t,e){var n,i=e.within,o=i.isWindow?i.scrollLeft:i.offset.left,s=i.width,a=t.left-e.collisionPosition.marginLeft,c=o-a,l=a+e.collisionWidth-s-o;e.collisionWidth>s?c>0&&l<=0?(n=t.left+c+e.collisionWidth-s-o,t.left+=c-n):t.left=l>0&&c<=0?o:c>l?o+s-e.collisionWidth:o:c>0?t.left+=c:l>0?t.left-=l:t.left=r(t.left-a,t.left)},top:function(t,e){var n,i=e.within,o=i.isWindow?i.scrollTop:i.offset.top,s=e.within.height,a=t.top-e.collisionPosition.marginTop,c=o-a,l=a+e.collisionHeight-s-o;e.collisionHeight>s?c>0&&l<=0?(n=t.top+c+e.collisionHeight-s-o,t.top+=c-n):t.top=l>0&&c<=0?o:c>l?o+s-e.collisionHeight:o:c>0?t.top+=c:l>0?t.top-=l:t.top=r(t.top-a,t.top)}},flip:{left:function(t,e){var n,i,o=e.within,r=o.offset.left+o.scrollLeft,a=o.width,c=o.isWindow?o.scrollLeft:o.offset.left,l=t.left-e.collisionPosition.marginLeft,u=l-c,d=l+e.collisionWidth-a-c,p="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,h="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];u<0?((n=t.left+p+h+f+e.collisionWidth-a-r)<0||n<s(u))&&(t.left+=p+h+f):d>0&&((i=t.left-e.collisionPosition.marginLeft+p+h+f-c)>0||s(i)<d)&&(t.left+=p+h+f)},top:function(t,e){var n,i,o=e.within,r=o.offset.top+o.scrollTop,a=o.height,c=o.isWindow?o.scrollTop:o.offset.top,l=t.top-e.collisionPosition.marginTop,u=l-c,d=l+e.collisionHeight-a-c,p="top"===e.my[1],h=p?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];u<0?((i=t.top+h+f+m+e.collisionHeight-a-r)<0||i<s(u))&&(t.top+=h+f+m):d>0&&((n=t.top-e.collisionPosition.marginTop+h+f+m-c)>0||s(n)<d)&&(t.top+=h+f+m)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position}),function(t){"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){var e=0,n=Array.prototype.slice;return t.cleanData=function(e){return function(n){var i,o,r;for(r=0;null!=(o=n[r]);r++)try{i=t._data(o,"events"),i&&i.remove&&t(o).triggerHandler("remove")}catch(t){}e(n)}}(t.cleanData),t.widget=function(e,n,i){var o,r,s,a={},c=e.split(".")[0];e=e.split(".")[1];var l=c+"-"+e;return i||(i=n,n=t.Widget),t.isArray(i)&&(i=t.extend.apply(null,[{}].concat(i))),t.expr[":"][l.toLowerCase()]=function(e){return!!t.data(e,l)},t[c]=t[c]||{},o=t[c][e],r=t[c][e]=function(t,e){if(!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,o,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),s=new n,s.options=t.widget.extend({},s.options),t.each(i,function(e,i){if(!t.isFunction(i))return void(a[e]=i);a[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function o(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,r=this._superApply;return this._super=t,this._superApply=o,e=i.apply(this,arguments),this._super=n,this._superApply=r,e}}()}),r.prototype=t.widget.extend(s,{widgetEventPrefix:o?s.widgetEventPrefix||e:e},a,{constructor:r,namespace:c,widgetName:e,widgetFullName:l}),o?(t.each(o._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,r,n._proto)}),delete o._childConstructors):n._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var i,o,r=n.call(arguments,1),s=0,a=r.length;s<a;s++)for(i in r[s])o=r[s][i],r[s].hasOwnProperty(i)&&o!==undefined&&(t.isPlainObject(o)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],o):t.widget.extend({},o):e[i]=o);return e},t.widget.bridge=function(e,i){var o=i.prototype.widgetFullName||e;t.fn[e]=function(r){var s="string"==typeof r,a=n.call(arguments,1),c=this;return s?this.length||"instance"!==r?this.each(function(){var n,i=t.data(this,o);return"instance"===r?(c=i,!1):i?t.isFunction(i[r])&&"_"!==r.charAt(0)?(n=i[r].apply(i,a),n!==i&&n!==undefined?(c=n&&n.jquery?c.pushStack(n.get()):n,!1):void 0):t.error("no such method '"+r+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}):c=undefined:(a.length&&(r=t.widget.extend.apply(null,[r].concat(a))),this.each(function(){var e=t.data(this,o);e?(e.option(r||{}),e._init&&e._init()):t.data(this,o,new i(r,this))})),c}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,o,r,s=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(s={},i=e.split("."),e=i.shift(),i.length){for(o=s[e]=t.widget.extend({},this.options[e]),r=0;r<i.length-1;r++)o[i[r]]=o[i[r]]||{},o=o[i[r]];if(e=i.pop(),1===arguments.length)return o[e]===undefined?null:o[e];o[e]=n}else{if(1===arguments.length)return this.options[e]===undefined?null:this.options[e];s[e]=n}return this._setOptions(s),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,i,o;for(n in e)o=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&o&&o.length&&(i=t(o.get()),this._removeClass(o,n),i.addClass(this._classes({element:i,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function n(n,r){var s,a;for(a=0;a<n.length;a++)s=o.classesElementLookup[n[a]]||t(),s=t(e.add?t.unique(s.get().concat(e.element.get())):s.not(e.element).get()),o.classesElementLookup[n[a]]=s,i.push(n[a]),r&&e.classes[n[a]]&&i.push(e.classes[n[a]])}var i=[],o=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(i,o){-1!==t.inArray(e.target,o)&&(n.classesElementLookup[i]=t(o.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,i){i="boolean"==typeof i?i:n;var o="string"==typeof t||null===t,r={extra:o?e:n,keys:o?t:e,element:o?this.element:t,add:i};return r.element.toggleClass(this._classes(r),i),this},_on:function(e,n,i){var o,r=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=o=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,o=this.widget()),t.each(i,function(i,s){function a(){if(e||!0!==r.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof s?r[s]:s).apply(r,arguments)}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||t.guid++);var c=i.match(/^([\w:-]*)\s*(.*)$/),l=c[1]+r.eventNamespace,u=c[2];u?o.on(l,u,a):n.on(l,a)})},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function n(){return("string"==typeof t?i[t]:t).apply(i,arguments)}var i=this;return setTimeout(n,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,i){var o,r,s=this.options[e];if(i=i||{},n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],r=n.originalEvent)for(o in r)o in n||(n[o]=r[o]);return this.element.trigger(n,i),!(t.isFunction(s)&&!1===s.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,o,r){"string"==typeof o&&(o={effect:o});var s,a=o?!0===o||"number"==typeof o?n:o.effect||n:e;o=o||{},"number"==typeof o&&(o={duration:o}),s=!t.isEmptyObject(o),o.complete=r,o.delay&&i.delay(o.delay),s&&t.effects&&t.effects.effect[a]?i[e](o):a!==e&&i[a]?i[a](o.duration,o.easing,r):i.queue(function(n){t(this)[e](),r&&r.call(i[0]),n()})}}),t.widget}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("blind","hide",function(e,n){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=t(this),r=e.direction||"up",s=o.cssClip(),a={clip:t.extend({},s)},c=t.effects.createPlaceholder(o);a.clip[i[r][0]]=a.clip[i[r][1]],"show"===e.mode&&(o.cssClip(a.clip),c&&c.css(t.effects.clipToBox(a)),a.clip=s),c&&c.animate(t.effects.clipToBox(a),e.duration,e.easing),o.animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:n})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("bounce",function(e,n){var i,o,r,s=t(this),a=e.mode,c="hide"===a,l="show"===a,u=e.direction||"up",d=e.distance,p=e.times||5,h=2*p+(l||c?1:0),f=e.duration/h,m=e.easing,g="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,b=0,y=s.queue().length;for(t.effects.createPlaceholder(s),r=s.css(g),d||(d=s["top"===g?"outerHeight":"outerWidth"]()/3),l&&(o={opacity:1},o[g]=r,s.css("opacity",0).css(g,v?2*-d:2*d).animate(o,f,m)),c&&(d/=Math.pow(2,p-1)),o={},o[g]=r;b<p;b++)i={},i[g]=(v?"-=":"+=")+d,s.animate(i,f,m).animate(o,f,m),d=c?2*d:d/2;c&&(i={opacity:0},i[g]=(v?"-=":"+=")+d,s.animate(i,f,m)),s.queue(n),t.effects.unshift(s,y,h+1)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("clip","hide",function(e,n){var i,o={},r=t(this),s=e.direction||"vertical",a="both"===s,c=a||"horizontal"===s,l=a||"vertical"===s;i=r.cssClip(),o.clip={top:l?(i.bottom-i.top)/2:i.top,right:c?(i.right-i.left)/2:i.right,bottom:l?(i.bottom-i.top)/2:i.bottom,left:c?(i.right-i.left)/2:i.left},t.effects.createPlaceholder(r),"show"===e.mode&&(r.cssClip(o.clip),o.clip=i),r.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:n})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("drop","hide",function(e,n){var i,o=t(this),r=e.mode,s="show"===r,a=e.direction||"left",c="up"===a||"down"===a?"top":"left",l="up"===a||"left"===a?"-=":"+=",u="+="===l?"-=":"+=",d={opacity:0};t.effects.createPlaceholder(o),i=e.distance||o["top"===c?"outerHeight":"outerWidth"](!0)/2,d[c]=l+i,s&&(o.css(d),d[c]=u+i,d.opacity=1),o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:n})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("explode","hide",function(e,n){function i(){y.push(this),y.length===d*p&&o()}function o(){h.css({visibility:"visible"}),t(y).remove(),n()}var r,s,a,c,l,u,d=e.pieces?Math.round(Math.sqrt(e.pieces)):3,p=d,h=t(this),f=e.mode,m="show"===f,g=h.show().css("visibility","hidden").offset(),v=Math.ceil(h.outerWidth()/p),b=Math.ceil(h.outerHeight()/d),y=[];for(r=0;r<d;r++)for(c=g.top+r*b,u=r-(d-1)/2,s=0;s<p;s++)a=g.left+s*v,l=s-(p-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*v,top:-r*b}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:b,left:a+(m?l*v:0),top:c+(m?u*b:0),opacity:m?0:1}).animate({left:a+(m?0:l*v),top:c+(m?0:u*b),opacity:m?1:0},e.duration||500,e.easing,i)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("fade","toggle",function(e,n){var i="show"===e.mode;t(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:n})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("fold","hide",function(e,n){var i=t(this),o=e.mode,r="show"===o,s="hide"===o,a=e.size||15,c=/([0-9]+)%/.exec(a),l=!!e.horizFirst,u=l?["right","bottom"]:["bottom","right"],d=e.duration/2,p=t.effects.createPlaceholder(i),h=i.cssClip(),f={clip:t.extend({},h)},m={clip:t.extend({},h)},g=[h[u[0]],h[u[1]]],v=i.queue().length;c&&(a=parseInt(c[1],10)/100*g[s?0:1]),f.clip[u[0]]=a,m.clip[u[0]]=a,m.clip[u[1]]=0,r&&(i.cssClip(m.clip),p&&p.css(t.effects.clipToBox(m)),m.clip=h),i.queue(function(n){p&&p.animate(t.effects.clipToBox(f),d,e.easing).animate(t.effects.clipToBox(m),d,e.easing),n()}).animate(f,d,e.easing).animate(m,d,e.easing).queue(n),t.effects.unshift(i,v,4)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("highlight","show",function(e,n){var i=t(this),o={backgroundColor:i.css("backgroundColor")};"hide"===e.mode&&(o.opacity=0),t.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:n})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("size",function(e,n){var i,o,r,s=t(this),a=["fontSize"],c=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],l=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=e.mode,d="effect"!==u,p=e.scale||"both",h=e.origin||["middle","center"],f=s.css("position"),m=s.position(),g=t.effects.scaledDimensions(s),v=e.from||g,b=e.to||t.effects.scaledDimensions(s,0);t.effects.createPlaceholder(s),"show"===u&&(r=v,v=b,b=r),o={from:{y:v.height/g.height,x:v.width/g.width},to:{y:b.height/g.height,x:b.width/g.width}},"box"!==p&&"both"!==p||(o.from.y!==o.to.y&&(v=t.effects.setTransition(s,c,o.from.y,v),b=t.effects.setTransition(s,c,o.to.y,b)),o.from.x!==o.to.x&&(v=t.effects.setTransition(s,l,o.from.x,v),b=t.effects.setTransition(s,l,o.to.x,b))),"content"!==p&&"both"!==p||o.from.y!==o.to.y&&(v=t.effects.setTransition(s,a,o.from.y,v),b=t.effects.setTransition(s,a,o.to.y,b)),h&&(i=t.effects.getBaseline(h,g),v.top=(g.outerHeight-v.outerHeight)*i.y+m.top,v.left=(g.outerWidth-v.outerWidth)*i.x+m.left,b.top=(g.outerHeight-b.outerHeight)*i.y+m.top,b.left=(g.outerWidth-b.outerWidth)*i.x+m.left),s.css(v),"content"!==p&&"both"!==p||(c=c.concat(["marginTop","marginBottom"]).concat(a),l=l.concat(["marginLeft","marginRight"]),s.find("*[width]").each(function(){var n=t(this),i=t.effects.scaledDimensions(n),r={height:i.height*o.from.y,width:i.width*o.from.x,outerHeight:i.outerHeight*o.from.y,outerWidth:i.outerWidth*o.from.x},s={height:i.height*o.to.y,width:i.width*o.to.x,outerHeight:i.height*o.to.y,outerWidth:i.width*o.to.x};o.from.y!==o.to.y&&(r=t.effects.setTransition(n,c,o.from.y,r),s=t.effects.setTransition(n,c,o.to.y,s)),o.from.x!==o.to.x&&(r=t.effects.setTransition(n,l,o.from.x,r),s=t.effects.setTransition(n,l,o.to.x,s)),d&&t.effects.saveStyle(n),n.css(r),n.animate(s,e.duration,e.easing,function(){d&&t.effects.restoreStyle(n)})})),s.animate(b,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=s.offset();0===b.opacity&&s.css("opacity",v.opacity),d||(s.css("position","static"===f?"relative":f).offset(e),t.effects.saveStyle(s)),n()}})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect","./effect-size"],t):t(jQuery)}(function(t){return t.effects.define("scale",function(e,n){var i=t(this),o=e.mode,r=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==o?0:100),s=t.extend(!0,{from:t.effects.scaledDimensions(i),to:t.effects.scaledDimensions(i,r,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(s.from.opacity=1,s.to.opacity=0),t.effects.effect.size.call(this,s,n)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect","./effect-scale"],t):t(jQuery)}(function(t){return t.effects.define("puff","hide",function(e,n){var i=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,i,n)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("pulsate","show",function(e,n){var i=t(this),o=e.mode,r="show"===o,s="hide"===o,a=r||s,c=2*(e.times||5)+(a?1:0),l=e.duration/c,u=0,d=1,p=i.queue().length;for(!r&&i.is(":visible")||(i.css("opacity",0).show(),u=1);d<c;d++)i.animate({opacity:u},l,e.easing),u=1-u;i.animate({opacity:u},l,e.easing),i.queue(n),t.effects.unshift(i,p,c+1)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("shake",function(e,n){var i=1,o=t(this),r=e.direction||"left",s=e.distance||20,a=e.times||3,c=2*a+1,l=Math.round(e.duration/c),u="up"===r||"down"===r?"top":"left",d="up"===r||"left"===r,p={},h={},f={},m=o.queue().length;for(t.effects.createPlaceholder(o),p[u]=(d?"-=":"+=")+s,h[u]=(d?"+=":"-=")+2*s,f[u]=(d?"-=":"+=")+2*s,o.animate(p,l,e.easing);i<a;i++)o.animate(h,l,e.easing).animate(f,l,e.easing);o.animate(h,l,e.easing).animate(p,l/2,e.easing).queue(n),t.effects.unshift(o,m,c+1)})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){return t.effects.define("slide","show",function(e,n){var i,o,r=t(this),s={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},a=e.mode,c=e.direction||"left",l="up"===c||"down"===c?"top":"left",u="up"===c||"left"===c,d=e.distance||r["top"===l?"outerHeight":"outerWidth"](!0),p={};t.effects.createPlaceholder(r),i=r.cssClip(),o=r.position()[l],p[l]=(u?-1:1)*d+o,p.clip=r.cssClip(),p.clip[s[c][1]]=p.clip[s[c][0]],"show"===a&&(r.cssClip(p.clip),r.css(l,p[l]),p.clip=i,p[l]=o),r.animate(p,{queue:!1,duration:e.duration,easing:e.easing,complete:n})})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],t):t(jQuery)}(function(t){var e;return!1!==t.uiBackCompat&&(e=t.effects.define("transfer",function(e,n){t(this).transfer(e,n)})),e}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../keycode","../unique-id","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,n,i=this.options.icons;i&&(e=t("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+i.header),e.prependTo(this.headers),n=this.active.children(".ui-accordion-header-icon"),this._removeClass(n,i.header)._addClass(n,null,i.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){if("active"===t)return void this._activate(e);"event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var n=t.ui.keyCode,i=this.headers.length,o=this.headers.index(e.target),r=!1;switch(e.keyCode){case n.RIGHT:case n.DOWN:r=this.headers[(o+1)%i];break;case n.LEFT:case n.UP:r=this.headers[(o-1+i)%i];break;case n.SPACE:case n.ENTER:this._eventHandler(e);break;case n.HOME:r=this.headers[0];break;case n.END:r=this.headers[i-1]}r&&(t(e.target).attr("tabIndex",-1),t(r).attr("tabIndex",0),t(r).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=t()):!1===e.active?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,n=this.options,i=n.heightStyle,o=this.element.parent();this.active=this._findActive(n.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),n=e.uniqueId().attr("id"),i=e.next(),o=i.uniqueId().attr("id");e.attr("aria-controls",o),i.attr("aria-labelledby",n)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(n.event),"fill"===i?(e=o.height(),this.element.siblings(":visible").each(function(){var n=t(this),i=n.css("position");"absolute"!==i&&"fixed"!==i&&(e-=n.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===i&&(e=0,this.headers.next().each(function(){var n=t(this).is(":visible");n||t(this).show(),e=Math.max(e,t(this).css("height","").height()),n||t(this).hide()}).height(e))},_activate:function(e){var n=this._findActive(e)[0];n!==this.active[0]&&(n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var n={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var n,i,o=this.options,r=this.active,s=t(e.currentTarget),a=s[0]===r[0],c=a&&o.collapsible,l=c?t():s.next(),u=r.next(),d={oldHeader:r,oldPanel:u,newHeader:c?t():s,newPanel:l};e.preventDefault(),a&&!o.collapsible||!1===this._trigger("beforeActivate",e,d)||(o.active=!c&&this.headers.index(s),this.active=a?t():s,this._toggle(d),this._removeClass(r,"ui-accordion-header-active","ui-state-active"),o.icons&&(n=r.children(".ui-accordion-header-icon"),this._removeClass(n,null,o.icons.activeHeader)._addClass(n,null,o.icons.header)),a||(this._removeClass(s,"ui-accordion-header-collapsed")._addClass(s,"ui-accordion-header-active","ui-state-active"),o.icons&&(i=s.children(".ui-accordion-header-icon"),this._removeClass(i,null,o.icons.header)._addClass(i,null,o.icons.activeHeader)),this._addClass(s.next(),"ui-accordion-content-active")))},_toggle:function(e){var n=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=i,this.options.animate?this._animate(n,i,e):(i.hide(),n.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):n.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),n.attr("aria-hidden","false").prev().attr({
"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,n){var i,o,r,s=this,a=0,c=t.css("box-sizing"),l=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},d=l&&u.down||u,p=function(){s._toggleComplete(n)};return"number"==typeof d&&(r=d),"string"==typeof d&&(o=d),o=o||d.easing||u.easing,r=r||d.duration||u.duration,e.length?t.length?(i=t.show().outerHeight(),e.animate(this.hideProps,{duration:r,easing:o,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:r,easing:o,complete:p,step:function(t,n){n.now=Math.round(t),"height"!==n.prop?"content-box"===c&&(a+=n.now):"content"!==s.options.heightStyle&&(n.now=Math.round(i-e.outerHeight()-a),a=0)}})):e.animate(this.hideProps,r,o,p):t.animate(this.showProps,r,o,p)},_toggleComplete:function(t){var e=t.oldPanel,n=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../keycode","../position","../safe-active-element","../unique-id","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var n=t(e.target),i=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var n=t(e.target).closest(".ui-menu-item"),i=t(e.currentTarget);n[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var n=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,n)},blur:function(e){this._delay(function(){!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),n=e.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),n.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var n,i,o,r,s=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:s=!1,i=this.previousFilter||"",r=!1,o=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),o===i?r=!0:o=i+o,n=this._filterMenuItems(o),n=r&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n,n.length||(o=String.fromCharCode(e.keyCode),n=this._filterMenuItems(o)),n.length?(this.focus(e,n),this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}s&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,n,i,o,r,s=this,a=this.options.icons.submenu,c=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=c.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),n=e.prev(),i=t("<span>").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+a),n.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",n.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),e=c.add(this.element),n=e.find(this.options.items),n.not(".ui-menu-item").each(function(){var e=t(this);s._isDivider(e)&&s._addClass(e,"ui-menu-divider","ui-widget-content")}),o=n.not(".ui-menu-item, .ui-menu-divider"),r=o.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(o,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),n.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var n,i,o;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),o=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),n=e.children(".ui-menu"),n.length&&t&&/^mouse/.test(t.type)&&this._startOpening(n),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var n,i,o,r,s,a;this._hasScroll()&&(n=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,o=e.offset().top-this.activeMenu.offset().top-n-i,r=this.activeMenu.scrollTop(),s=this.activeMenu.height(),a=e.outerHeight(),o<0?this.activeMenu.scrollTop(r+o):o+a>s&&this.activeMenu.scrollTop(r+o-s+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var n=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(e,n){clearTimeout(this.timer),this.timer=this._delay(function(){var i=n?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));i.length||(i=this.element),this._close(i),this.blur(e),this._removeClass(i.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=i},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,n){var i;this.active&&(i="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),i&&i.length&&this.active||(i=this.activeMenu.find(this.options.items)[e]()),this.focus(n,i)},nextPage:function(e){var n,i,o;if(!this.active)return void this.next(e);this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i-o<0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))},previousPage:function(e){var n,i,o;if(!this.active)return void this.next(e);this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return n=t(this),n.offset().top-i+o>0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items).first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,n)},_filterMenuItems:function(e){var n=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=new RegExp("^"+n,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return i.test(t.trim(t(this).children(".ui-menu-item-wrapper").text()))})}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./menu","../keycode","../position","../safe-active-element","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,n,i,o=this.element[0].nodeName.toLowerCase(),r="textarea"===o,s="input"===o;this.isMultiLine=r||!s&&this._isContentEditable(this.element),this.valueMethod=this.element[r||s?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return e=!0,i=!0,void(n=!0);e=!1,i=!1,n=!1;var r=t.ui.keyCode;switch(o.keyCode){case r.PAGE_UP:e=!0,this._move("previousPage",o);break;case r.PAGE_DOWN:e=!0,this._move("nextPage",o);break;case r.UP:e=!0,this._keyEvent("previous",o);break;case r.DOWN:e=!0,this._keyEvent("next",o);break;case r.ENTER:this.menu.active&&(e=!0,o.preventDefault(),this.menu.select(o));break;case r.TAB:this.menu.active&&this.menu.select(o);break;case r.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:n=!0,this._searchTimeout(o)}},keypress:function(i){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||i.preventDefault());if(!n){var o=t.ui.keyCode;switch(i.keyCode){case o.PAGE_UP:this._move("previousPage",i);break;case o.PAGE_DOWN:this._move("nextPage",i);break;case o.UP:this._keyEvent("previous",i);break;case o.DOWN:this._keyEvent("next",i)}}},input:function(t){if(i)return i=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){if(this.cancelBlur)return void delete this.cancelBlur;clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,n){var i,o;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)});o=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:o})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(o.value),(i=n.item.attr("aria-label")||o.value)&&t.trim(i).length&&(this.liveRegion.children().hide(),t("<div>").text(i).appendTo(this.liveRegion))},menuselect:function(e,n){var i=n.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay(function(){this.previous=o,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var n=this.menu.element[0];return e.target===this.element[0]||e.target===n||t.contains(n,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,n,i=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(n,i){i(t.ui.autocomplete.filter(e,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,o){i.xhr&&i.xhr.abort(),i.xhr=t.ajax({url:n,data:e,dataType:"json",success:function(t){o(t)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),n=this.menu.element.is(":visible"),i=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||n||i)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy(function(t){e===this.requestIndex&&this.__response(t),--this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var n=this.menu.element.empty();this._renderMenu(n,e),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,n){var i=this;t.each(n,function(t,n){i._renderItemData(e,n)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,n){return t("<li>").append(t("<div>").text(n.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,n){var i=new RegExp(t.ui.autocomplete.escapeRegex(n),"i");return t.grep(e,function(t){return i.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("<div>").text(n).appendTo(this.liveRegion))}}),t.ui.autocomplete}),function(t){"function"==typeof define&&define.amd?define(["jquery","../widget"],t):t(jQuery)}(function(t){var e=/ui-corner-([a-z]){2,6}/g;return t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,n=[];t.each(this.options.items,function(i,o){var r,s={};if(o)return"controlgroupLabel"===i?(r=e.element.find(o),r.each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),e._addClass(r,null,"ui-widget ui-widget-content ui-state-default"),void(n=n.concat(r.get()))):void(t.fn[i]&&(s=e["_"+i+"Options"]?e["_"+i+"Options"]("middle"):{classes:{}},e.element.find(o).each(function(){var o=t(this),r=o[i]("instance"),a=t.widget.extend({},s);if("button"!==i||!o.parent(".ui-spinner").length){r||(r=o[i]()[i]("instance")),r&&(a.classes=e._resolveClassesValues(a.classes,r)),o[i](a);var c=o[i]("widget");t.data(c[0],"ui-controlgroup-data",r||o[i]("instance")),n.push(c[0])}})))}),this.childWidgets=t(t.unique(n)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var n=t(this),i=n.data("ui-controlgroup-data");i&&i[e]&&i[e]()})},_updateCornerClass:function(t,e){var n=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,n)},_buildSimpleOptions:function(t,e){var n="vertical"===this.options.direction,i={classes:{}};return i.classes[e]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[t],i},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(n,i){var o={};return t.each(n,function(r){var s=i.options.classes[r]||"";s=t.trim(s.replace(e,"")),o[r]=(s+" "+n[r]).replace(/\s+/g," ")}),o},_setOption:function(t,e){if("direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t)return void this._callChildMethod(e?"disable":"enable");this.refresh()},refresh:function(){var e,n=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,i){var o=e[i]().data("ui-controlgroup-data");if(o&&n["_"+o.widgetName+"Options"]){var r=n["_"+o.widgetName+"Options"](1===e.length?"only":i);r.classes=n._resolveClassesValues(r.classes,o),o.element[o.widgetName](r)}else n._updateCornerClass(e[i](),i)}),this._callChildMethod("refresh"))}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","../escape-selector","../form-reset-mixin","../labels","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,n,i=this,o=this._super()||{};return this._readType(),n=this.element.labels(),this.label=t(n[n.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){i.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(o.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(o.disabled=e),o},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e,n=this.element[0].name,i="input[name='"+t.ui.escapeSelector(n)+"']";return n?(e=this.form.length?t(this.form[0].elements).filter(i):t(i).filter(function(){return 0===t(this).form().length}),e.not(this.element)):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(e){var n="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(n+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):n+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",n),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):this.icon!==undefined&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio}),function(t){"function"==typeof define&&define.amd?define(["jquery","./controlgroup","./checkboxradio","../keycode","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),t=this.element[0].disabled,null!=t&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,n){var i="iconPosition"!==e,o=i?this.options.iconPosition:n,r="top"===o||"bottom"===o;this.icon?i&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),i&&this._addClass(this.icon,null,n),this._attachIcon(o),r?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(o))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=t.showLabel===undefined?this.options.showLabel:t.showLabel,n=t.icon===undefined?this.options.icon:t.icon;e||n||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.blur())},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==t.uiBackCompat&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){if("text"===t)return void this._super("showLabel",e);"showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)}}),t.fn.button=function(e){return function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?e.apply(this,arguments):(t.ui.checkboxradio||t.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}}(t.fn.button),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),t.ui.button}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../keycode"],t):t(jQuery)}(function(t){function e(t){for(var e,n;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(n=parseInt(t.css("zIndex"),10),!isNaN(n)&&0!==n))return n;t=t.parent()}return 0}function n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=i(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(e){var n="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",n,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",n,o)}function o(){t.datepicker._isDisabledDatepicker(s.inline?s.dpDiv.parent()[0]:s.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function r(e,n){t.extend(e,n);for(var i in n)null==n[i]&&(e[i]=n[i]);return e}t.extend(t.ui,{datepicker:{version:"1.12.1"}});var s;return t.extend(n.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return r(this._defaults,t||{}),this},_attachDatepicker:function(e,n){var i,o,r;i=e.nodeName.toLowerCase(),o="div"===i||"span"===i,e.id||(this.uuid+=1,e.id="dp"+this.uuid),r=this._newInst(t(e),o),r.settings=t.extend({},n||{}),"input"===i?this._connectDatepicker(e,r):o&&this._inlineDatepicker(e,r)},_newInst:function(e,n){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:n,dpDiv:n?i(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,n){var i=t(e);n.append=t([]),n.trigger=t([]),i.hasClass(this.markerClassName)||(this._attachments(i,n),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(n),t.data(e,"datepicker",n),n.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,n){var i,o,r,s=this._get(n,"appendText"),a=this._get(n,"isRTL");n.append&&n.append.remove(),s&&(n.append=t("<span class='"+this._appendClass+"'>"+s+"</span>"),e[a?"before":"after"](n.append)),e.off("focus",this._showDatepicker),n.trigger&&n.trigger.remove(),i=this._get(n,"showOn"),"focus"!==i&&"both"!==i||e.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(o=this._get(n,"buttonText"),r=this._get(n,"buttonImage"),n.trigger=t(this._get(n,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:r,alt:o,title:o}):t("<button type='button'></button>").addClass(this._triggerClass).html(r?t("<img/>").attr({src:r,alt:o,title:o}):o)),e[a?"before":"after"](n.trigger),n.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,n,i,o,r=new Date(2009,11,20),s=this._get(t,"dateFormat");s.match(/[DM]/)&&(e=function(t){for(n=0,i=0,o=0;o<t.length;o++)t[o].length>n&&(n=t[o].length,i=o);return i},r.setMonth(e(this._get(t,s.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(e(this._get(t,s.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),t.input.attr("size",this._formatDate(t,r).length)}},_inlineDatepicker:function(e,n){var i=t(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(n.dpDiv),t.data(e,"datepicker",n),this._setDate(n,this._getDefaultDate(n),!0),this._updateDatepicker(n),this._updateAlternate(n),n.settings.disabled&&this._disableDatepicker(e),n.dpDiv.css("display","block"))},_dialogDatepicker:function(e,n,i,o,s){var a,c,l,u,d,p=this._dialogInst;return p||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},t.data(this._dialogInput[0],"datepicker",p)),r(p.settings,o||{}),n=n&&n.constructor===Date?this._formatDate(p,n):n,this._dialogInput.val(n),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(c=document.documentElement.clientWidth,l=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[c/2-100+u,l/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",p),this},_destroyDatepicker:function(e){var n,i=t(e),o=t.data(e,"datepicker");i.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===n?(o.append.remove(),o.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||i.removeClass(this.markerClassName).empty(),s===o&&(s=null))},_enableDatepicker:function(e){var n,i,o=t(e),r=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),"input"===n?(e.disabled=!1,r.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==n&&"span"!==n||(i=o.children("."+this._inlineClass),i.children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var n,i,o=t(e),r=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),"input"===n?(e.disabled=!0,r.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==n&&"span"!==n||(i=o.children("."+this._inlineClass),i.children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,n,i){var o,s,a,c,l=this._getInst(e);if(2===arguments.length&&"string"==typeof n)return"defaults"===n?t.extend({},t.datepicker._defaults):l?"all"===n?t.extend({},l.settings):this._get(l,n):null;o=n||{},"string"==typeof n&&(o={},o[n]=i),l&&(this._curInst===l&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(l,"min"),c=this._getMinMaxDate(l,"max"),r(l.settings,o),null!==a&&o.dateFormat!==undefined&&o.minDate===undefined&&(l.settings.minDate=this._formatDate(l,a)),null!==c&&o.dateFormat!==undefined&&o.maxDate===undefined&&(l.settings.maxDate=this._formatDate(l,c)),"disabled"in o&&(o.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),l),this._autoSize(l),this._setDate(l,s),this._updateAlternate(l),this._updateDatepicker(l))},_changeDatepicker:function(t,e,n){this._optionDatepicker(t,e,n)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var n=this._getInst(t);n&&(this._setDate(n,e),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(t,e){var n=this._getInst(t);return n&&!n.inline&&this._setDateFromField(n,e),n?this._getDate(n):null},_doKeyDown:function(e){var n,i,o,r=t.datepicker._getInst(e.target),s=!0,a=r.dpDiv.is(".ui-datepicker-rtl");if(r._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),s=!1;break;case 13:return o=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",r.dpDiv),o[0]&&t.datepicker._selectDay(e.target,r.selectedMonth,r.selectedYear,o[0]),n=t.datepicker._get(r,"onSelect"),n?(i=t.datepicker._formatDate(r),n.apply(r.input?r.input[0]:null,[i,r])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(r,"stepBigMonths"):-t.datepicker._get(r,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(r,"stepBigMonths"):+t.datepicker._get(r,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),s=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),s=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?1:-1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(r,"stepBigMonths"):-t.datepicker._get(r,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),s=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?-1:1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(r,"stepBigMonths"):+t.datepicker._get(r,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),s=e.ctrlKey||e.metaKey;break;default:s=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):s=!1;s&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var n,i,o=t.datepicker._getInst(e.target);if(t.datepicker._get(o,"constrainInput"))return n=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),i=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||i<" "||!n||n.indexOf(i)>-1},_doKeyUp:function(e){var n,i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{n=t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i)),n&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(n){if(n=n.target||n,"input"!==n.nodeName.toLowerCase()&&(n=t("input",n.parentNode)[0]),!t.datepicker._isDisabledDatepicker(n)&&t.datepicker._lastInput!==n){var i,o,s,a,c,l,u;i=t.datepicker._getInst(n),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),o=t.datepicker._get(i,"beforeShow"),s=o?o.apply(n,[n,i]):{},!1!==s&&(r(i.settings,s),i.lastVal=null,t.datepicker._lastInput=n,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(n.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(n),t.datepicker._pos[1]+=n.offsetHeight),a=!1,t(n).parents().each(function(){return!(a|="fixed"===t(this).css("position"))}),c={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),c=t.datepicker._checkOffset(i,c,a),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":a?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"}),i.inline||(l=t.datepicker._get(i,"showAnim"),u=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",e(t(n))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?i.dpDiv.show(l,t.datepicker._get(i,"showOptions"),u):i.dpDiv[l||"show"](l?u:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,s=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var n,i=this._getNumberOfMonths(e),r=i[1],a=e.dpDiv.find("."+this._dayOverClass+" a");a.length>0&&o.apply(a.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),r>1&&e.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(n=e.yearshtml,setTimeout(function(){n===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),n=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,n,i){var o=e.dpDiv.outerWidth(),r=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,c=document.documentElement.clientWidth+(i?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:t(document).scrollTop());return n.left-=this._get(e,"isRTL")?o-s:0,n.left-=i&&n.left===e.input.offset().left?t(document).scrollLeft():0,n.top-=i&&n.top===e.input.offset().top+a?t(document).scrollTop():0,n.left-=Math.min(n.left,n.left+o>c&&c>o?Math.abs(n.left+o-c):0),n.top-=Math.min(n.top,n.top+r>l&&l>r?Math.abs(r+a):0),n},_findPos:function(e){for(var n,i=this._getInst(e),o=this._get(i,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[o?"previousSibling":"nextSibling"];return n=t(e).offset(),[n.left,n.top]},_hideDatepicker:function(e){var n,i,o,r,s=this._curInst;!s||e&&s!==t.data(e,"datepicker")||this._datepickerShowing&&(n=this._get(s,"showAnim"),i=this._get(s,"duration"),o=function(){t.datepicker._tidyDialog(s)},t.effects&&(t.effects.effect[n]||t.effects[n])?s.dpDiv.hide(n,t.datepicker._get(s,"showOptions"),i,o):s.dpDiv["slideDown"===n?"slideUp":"fadeIn"===n?"fadeOut":"hide"](n?i:null,o),n||o(),this._datepickerShowing=!1,r=this._get(s,"onClose"),r&&r.apply(s.input?s.input[0]:null,[s.input?s.input.val():"",s]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var n=t(e.target),i=t.datepicker._getInst(n[0]);(n[0].id===t.datepicker._mainDivId||0!==n.parents("#"+t.datepicker._mainDivId).length||n.hasClass(t.datepicker.markerClassName)||n.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!n.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===i)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,n,i){var o=t(e),r=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(r,n+("M"===i?this._get(r,"showCurrentAtPos"):0),i),this._updateDatepicker(r))},_gotoToday:function(e){var n,i=t(e),o=this._getInst(i[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(n=new Date,o.selectedDay=n.getDate(),o.drawMonth=o.selectedMonth=n.getMonth(),o.drawYear=o.selectedYear=n.getFullYear()),this._notifyChange(o),this._adjustDate(i)},_selectMonthYear:function(e,n,i){var o=t(e),r=this._getInst(o[0]);r["selected"+("M"===i?"Month":"Year")]=r["draw"+("M"===i?"Month":"Year")]=parseInt(n.options[n.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(o)},_selectDay:function(e,n,i,o){var r,s=t(e);t(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||(r=this._getInst(s[0]),r.selectedDay=r.currentDay=t("a",o).html(),r.selectedMonth=r.currentMonth=n,r.selectedYear=r.currentYear=i,this._selectDate(e,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(e){var n=t(e);this._selectDate(n,"")},_selectDate:function(e,n){var i,o=t(e),r=this._getInst(o[0]);n=null!=n?n:this._formatDate(r),r.input&&r.input.val(n),this._updateAlternate(r),i=this._get(r,"onSelect"),i?i.apply(r.input?r.input[0]:null,[n,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var n,i,o,r=this._get(e,"altField");r&&(n=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),o=this.formatDate(n,i,this._getFormatConfig(e)),t(r).val(o))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,n=new Date(t.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),e=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((e-n)/864e5)/7)+1},parseDate:function(e,n,i){if(null==e||null==n)throw"Invalid arguments";if(""===(n="object"==typeof n?n.toString():n+""))return null;var o,r,s,a,c=0,l=(i?i.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),d=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,p=(i?i.dayNames:null)||this._defaults.dayNames,h=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,f=(i?i.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,b=-1,y=!1,_=function(t){var n=o+1<e.length&&e.charAt(o+1)===t;return n&&o++,n},M=function(t){var e=_(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,o="y"===t?i:1,r=new RegExp("^\\d{"+o+","+i+"}"),s=n.substring(c).match(r);if(!s)throw"Missing number at position "+c;return c+=s[0].length,parseInt(s[0],10)},w=function(e,i,o){var r=-1,s=t.map(_(e)?o:i,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(s,function(t,e){var i=e[1];if(n.substr(c,i.length).toLowerCase()===i.toLowerCase())return r=e[0],c+=i.length,!1}),-1!==r)return r+1;throw"Unknown name at position "+c},A=function(){if(n.charAt(c)!==e.charAt(o))throw"Unexpected literal at position "+c;c++};for(o=0;o<e.length;o++)if(y)"'"!==e.charAt(o)||_("'")?A():y=!1;else switch(e.charAt(o)){case"d":v=M("d");break;case"D":w("D",d,p);break;case"o":b=M("o");break;case"m":g=M("m");break;case"M":g=w("M",h,f);break;case"y":m=M("y");break;case"@":a=new Date(M("@")),m=a.getFullYear(),g=a.getMonth()+1,v=a.getDate();break;case"!":a=new Date((M("!")-this._ticksTo1970)/1e4),m=a.getFullYear(),g=a.getMonth()+1,v=a.getDate();break;case"'":_("'")?A():y=!0;break;default:A()}if(c<n.length&&(s=n.substr(c),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===m?m=(new Date).getFullYear():m<100&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m<=u?0:-100)),b>-1)for(g=1,v=b;;){if(r=this._getDaysInMonth(m,g-1),v<=r)break;g++,v-=r}if(a=this._daylightSavingAdjust(new Date(m,g-1,v)),a.getFullYear()!==m||a.getMonth()+1!==g||a.getDate()!==v)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,n){if(!e)return"";var i,o=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,r=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,a=(n?n.monthNames:null)||this._defaults.monthNames,c=function(e){var n=i+1<t.length&&t.charAt(i+1)===e;return n&&i++,n},l=function(t,e,n){var i=""+e;if(c(t))for(;i.length<n;)i="0"+i;return i},u=function(t,e,n,i){return c(t)?i[e]:n[e]},d="",p=!1;if(e)for(i=0;i<t.length;i++)if(p)"'"!==t.charAt(i)||c("'")?d+=t.charAt(i):p=!1;else switch(t.charAt(i)){case"d":d+=l("d",e.getDate(),2);break;case"D":d+=u("D",e.getDay(),o,r);break;case"o":d+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=l("m",e.getMonth()+1,2);break;case"M":d+=u("M",e.getMonth(),s,a);break;case"y":d+=c("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":d+=e.getTime();break;case"!":d+=1e4*e.getTime()+this._ticksTo1970;break;case"'":c("'")?d+="'":p=!0;break;default:d+=t.charAt(i)}return d},_possibleChars:function(t){var e,n="",i=!1,o=function(n){var i=e+1<t.length&&t.charAt(e+1)===n;return i&&e++,i};for(e=0;e<t.length;e++)if(i)"'"!==t.charAt(e)||o("'")?n+=t.charAt(e):i=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":n+="0123456789";break;case"D":case"M":return null;case"'":o("'")?n+="'":i=!0;break;default:n+=t.charAt(e)}return n},_get:function(t,e){return t.settings[e]!==undefined?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var n=this._get(t,"dateFormat"),i=t.lastVal=t.input?t.input.val():null,o=this._getDefaultDate(t),r=o,s=this._getFormatConfig(t);try{r=this.parseDate(n,i,s)||o}catch(t){i=e?"":i}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=i?r.getDate():0,t.currentMonth=i?r.getMonth():0,t.currentYear=i?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,n,i){var o=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},r=function(n){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),n,t.datepicker._getFormatConfig(e))}catch(t){}for(var i=(n.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=i.getFullYear(),r=i.getMonth(),s=i.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,c=a.exec(n);c;){switch(c[2]||"d"){case"d":case"D":s+=parseInt(c[1],10);break;case"w":case"W":s+=7*parseInt(c[1],10);break;case"m":case"M":r+=parseInt(c[1],10),s=Math.min(s,t.datepicker._getDaysInMonth(o,r));break;case"y":case"Y":o+=parseInt(c[1],10),s=Math.min(s,t.datepicker._getDaysInMonth(o,r))}c=a.exec(n)}return new Date(o,r,s)},s=null==n||""===n?i:"string"==typeof n?r(n):"number"==typeof n?isNaN(n)?i:o(n):new Date(n.getTime());return s=s&&"Invalid Date"===s.toString()?i:s,s&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,n){var i=!e,o=t.selectedMonth,r=t.selectedYear,s=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=s.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=s.getMonth(),t.drawYear=t.selectedYear=t.currentYear=s.getFullYear(),o===t.selectedMonth&&r===t.selectedYear||n||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(i?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var n=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(i,-n,"M")},next:function(){t.datepicker._adjustDate(i,+n,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(i)},selectDay:function(){return t.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(i,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,n,i,o,r,s,a,c,l,u,d,p,h,f,m,g,v,b,y,_,M,w,A,T,k,z,x,$,C,S,O,N,L,E,j,D,q,P,B,I=new Date,W=this._daylightSavingAdjust(new Date(I.getFullYear(),I.getMonth(),I.getDate())),R=this._get(t,"isRTL"),X=this._get(t,"showButtonPanel"),F=this._get(t,"hideIfNoPrevNext"),H=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),V=this._get(t,"showCurrentAtPos"),Y=this._get(t,"stepMonths"),G=1!==U[0]||1!==U[1],K=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),Z=t.drawMonth-V,tt=t.drawYear;if(Z<0&&(Z+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-U[0]*U[1]+1,Q.getDate())),e=J&&e<J?J:e;this._daylightSavingAdjust(new Date(tt,Z,1))>e;)--Z<0&&(Z=11,tt--);for(t.drawMonth=Z,t.drawYear=tt,n=this._get(t,"prevText"),n=H?this.formatDate(n,this._daylightSavingAdjust(new Date(tt,Z-Y,1)),this._getFormatConfig(t)):n,i=this._canAdjustMonth(t,-1,tt,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"e":"w")+"'>"+n+"</span></a>":F?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"e":"w")+"'>"+n+"</span></a>",o=this._get(t,"nextText"),o=H?this.formatDate(o,this._daylightSavingAdjust(new Date(tt,Z+Y,1)),this._getFormatConfig(t)):o,r=this._canAdjustMonth(t,1,tt,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"w":"e")+"'>"+o+"</span></a>":F?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(R?"w":"e")+"'>"+o+"</span></a>",s=this._get(t,"currentText"),a=this._get(t,"gotoCurrent")&&t.currentDay?K:W,s=H?this.formatDate(s,a,this._getFormatConfig(t)):s,c=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",l=X?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(R?c:"")+(this._isInRange(t,a)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+s+"</button>":"")+(R?"":c)+"</div>":"",u=parseInt(this._get(t,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(t,"showWeek"),p=this._get(t,"dayNames"),h=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),m=this._get(t,"monthNamesShort"),g=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),b=this._get(t,"selectOtherMonths"),y=this._getDefaultDate(t),_="",w=0;w<U[0];w++){for(A="",this.maxRows=4,T=0;T<U[1];T++){if(k=this._daylightSavingAdjust(new Date(tt,Z,t.selectedDay)),z=" ui-corner-all",x="",G){if(x+="<div class='ui-datepicker-group",U[1]>1)switch(T){case 0:x+=" ui-datepicker-group-first",z=" ui-corner-"+(R?"right":"left");break;case U[1]-1:x+=" ui-datepicker-group-last",z=" ui-corner-"+(R?"left":"right");break;default:x+=" ui-datepicker-group-middle",z=""}x+="'>"}for(x+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+z+"'>"+(/all|left/.test(z)&&0===w?R?r:i:"")+(/all|right/.test(z)&&0===w?R?i:r:"")+this._generateMonthYearHeader(t,Z,tt,J,Q,w>0||T>0,f,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",$=d?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",M=0;M<7;M++)C=(M+u)%7,$+="<th scope='col'"+((M+u+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+p[C]+"'>"+h[C]+"</span></th>";for(x+=$+"</tr></thead><tbody>",S=this._getDaysInMonth(tt,Z),tt===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),O=(this._getFirstDayOfMonth(tt,Z)-u+7)%7,N=Math.ceil((O+S)/7),L=G&&this.maxRows>N?this.maxRows:N,this.maxRows=L,E=this._daylightSavingAdjust(new Date(tt,Z,1-O)),j=0;j<L;j++){for(x+="<tr>",D=d?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(E)+"</td>":"",M=0;M<7;M++)q=g?g.apply(t.input?t.input[0]:null,[E]):[!0,""],P=E.getMonth()!==Z,B=P&&!b||!q[0]||J&&E<J||Q&&E>Q,D+="<td class='"+((M+u+6)%7>=5?" ui-datepicker-week-end":"")+(P?" ui-datepicker-other-month":"")+(E.getTime()===k.getTime()&&Z===t.selectedMonth&&t._keyEvent||y.getTime()===E.getTime()&&y.getTime()===k.getTime()?" "+this._dayOverClass:"")+(B?" "+this._unselectableClass+" ui-state-disabled":"")+(P&&!v?"":" "+q[1]+(E.getTime()===K.getTime()?" "+this._currentClass:"")+(E.getTime()===W.getTime()?" ui-datepicker-today":""))+"'"+(P&&!v||!q[2]?"":" title='"+q[2].replace(/'/g,"&#39;")+"'")+(B?"":" data-handler='selectDay' data-event='click' data-month='"+E.getMonth()+"' data-year='"+E.getFullYear()+"'")+">"+(P&&!v?"&#xa0;":B?"<span class='ui-state-default'>"+E.getDate()+"</span>":"<a class='ui-state-default"+(E.getTime()===W.getTime()?" ui-state-highlight":"")+(E.getTime()===K.getTime()?" ui-state-active":"")+(P?" ui-priority-secondary":"")+"' href='#'>"+E.getDate()+"</a>")+"</td>",E.setDate(E.getDate()+1),E=this._daylightSavingAdjust(E);x+=D+"</tr>"}Z++,Z>11&&(Z=0,tt++),x+="</tbody></table>"+(G?"</div>"+(U[0]>0&&T===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),A+=x}_+=A}return _+=l,t._keyEvent=!1,_},_generateMonthYearHeader:function(t,e,n,i,o,r,s,a){var c,l,u,d,p,h,f,m,g=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),b=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",_="";if(r||!g)_+="<span class='ui-datepicker-month'>"+s[e]+"</span>";else{for(c=i&&i.getFullYear()===n,l=o&&o.getFullYear()===n,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!c||u>=i.getMonth())&&(!l||u<=o.getMonth())&&(_+="<option value='"+u+"'"+(u===e?" selected='selected'":"")+">"+a[u]+"</option>");_+="</select>"}
if(b||(y+=_+(!r&&g&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",r||!v)y+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(d=this._get(t,"yearRange").split(":"),p=(new Date).getFullYear(),h=function(t){var e=t.match(/c[+\-].*/)?n+parseInt(t.substring(1),10):t.match(/[+\-].*/)?p+parseInt(t,10):parseInt(t,10);return isNaN(e)?p:e},f=h(d[0]),m=Math.max(f,h(d[1]||"")),f=i?Math.max(f,i.getFullYear()):f,m=o?Math.min(m,o.getFullYear()):m,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=m;f++)t.yearshtml+="<option value='"+f+"'"+(f===n?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),b&&(y+=(!r&&g&&v?"":"&#xa0;")+_),y+="</div>"},_adjustInstDate:function(t,e,n){var i=t.selectedYear+("Y"===n?e:0),o=t.selectedMonth+("M"===n?e:0),r=Math.min(t.selectedDay,this._getDaysInMonth(i,o))+("D"===n?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(i,o,r)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(t)},_restrictMinMax:function(t,e){var n=this._getMinMaxDate(t,"min"),i=this._getMinMaxDate(t,"max"),o=n&&e<n?n:e;return i&&o>i?i:o},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,n,i){var o=this._getNumberOfMonths(t),r=this._daylightSavingAdjust(new Date(n,i+(e<0?e:o[0]*o[1]),1));return e<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(t,r)},_isInRange:function(t,e){var n,i,o=this._getMinMaxDate(t,"min"),r=this._getMinMaxDate(t,"max"),s=null,a=null,c=this._get(t,"yearRange");return c&&(n=c.split(":"),i=(new Date).getFullYear(),s=parseInt(n[0],10),a=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(s+=i),n[1].match(/[+\-].*/)&&(a+=i)),(!o||e.getTime()>=o.getTime())&&(!r||e.getTime()<=r.getTime())&&(!s||e.getFullYear()>=s)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,n,i){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var o=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(i,n,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),o,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var n=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(n)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(n)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(n))},t.datepicker=new n,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1",t.datepicker}),function(t){"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],t):t(jQuery)}(function(t){var e=!1;return t(document).on("mouseup",function(){e=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(n){if(!0===t.data(n.target,e.widgetName+".preventClickEvent"))return t.removeData(n.target,e.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(n){if(!e){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(n),this._mouseDownEvent=n;var i=this,o=1===n.which,r=!("string"!=typeof this.options.cancel||!n.target.nodeName)&&t(n.target).closest(this.options.cancel).length;return!(o&&!r&&this._mouseCapture(n))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(n)&&this._mouseDelayMet(n)&&(this._mouseStarted=!1!==this._mouseStart(n),!this._mouseStarted)?(n.preventDefault(),!0):(!0===t.data(n.target,this.widgetName+".preventClickEvent")&&t.removeData(n.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),n.preventDefault(),e=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(n){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,n.target===this._mouseDownEvent.target&&t.data(n.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(n)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,e=!1,n.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../plugin","../safe-active-element","../safe-blur","../scroll-parent","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging"))return void(this.destroyOnClear=!0);this._removeHandleClassName(),this._mouseDestroy()},_mouseCapture:function(e){var n=this.options;return!(this.helper||n.disabled||t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===n.iframeFix?"iframe":n.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var n=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(n).length||t.ui.safeBlur(n)},_mouseStart:function(e){var n=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,n){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!n){var i=this._uiHash();if(!1===this._trigger("drag",e,i))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n=this,i=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(i=t.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==n._trigger("stop",e)&&n._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var n=this.options,i=t.isFunction(n.helper),o=i?t(n.helper.apply(this.element[0],[e])):"clone"===n.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===n.appendTo?this.element[0].parentNode:n.appendTo),i&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),n=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==n&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i,o=this.options,r=this.document[0];return this.relativeContainer=null,o.containment?"window"===o.containment?void(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===o.containment?void(this.containment=[0,0,t(r).width()-this.helperProportions.width-this.margins.left,(t(r).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):o.containment.constructor===Array?void(this.containment=o.containment):("parent"===o.containment&&(o.containment=this.helper[0].parentNode),n=t(o.containment),void((i=n[0])&&(e=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n))):void(this.containment=null)},_convertPositionTo:function(t,e){e||(e=this.position);var n="absolute"===t?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*n,left:e.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*n}},_generatePosition:function(t,e){var n,i,o,r,s=this.options,a=this._isRootNode(this.scrollParent[0]),c=t.pageX,l=t.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),n=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):n=this.containment,t.pageX-this.offset.click.left<n[0]&&(c=n[0]+this.offset.click.left),t.pageY-this.offset.click.top<n[1]&&(l=n[1]+this.offset.click.top),t.pageX-this.offset.click.left>n[2]&&(c=n[2]+this.offset.click.left),t.pageY-this.offset.click.top>n[3]&&(l=n[3]+this.offset.click.top)),s.grid&&(o=s.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,l=n?o-this.offset.click.top>=n[1]||o-this.offset.click.top>n[3]?o:o-this.offset.click.top>=n[1]?o-s.grid[1]:o+s.grid[1]:o,r=s.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,c=n?r-this.offset.click.left>=n[0]||r-this.offset.click.left>n[2]?r:r-this.offset.click.left>=n[0]?r-s.grid[0]:r+s.grid[0]:r),"y"===s.axis&&(c=this.originalPageX),"x"===s.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,n,i){return i=i||this._uiHash(),t.ui.plugin.call(this,e,[n,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,n,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,n,i){var o=t.extend({},n,{item:i.element});i.sortables=[],t(i.options.connectToSortable).each(function(){var n=t(this).sortable("instance");n&&!n.options.disabled&&(i.sortables.push(n),n.refreshPositions(),n._trigger("activate",e,o))})},stop:function(e,n,i){var o=t.extend({},n,{item:i.element});i.cancelHelperRemoval=!1,t.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,o))})},drag:function(e,n,i){t.each(i.sortables,function(){var o=!1,r=this;r.positionAbs=i.positionAbs,r.helperProportions=i.helperProportions,r.offset.click=i.offset.click,r._intersectsWith(r.containerCache)&&(o=!0,t.each(i.sortables,function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==r&&this._intersectsWith(this.containerCache)&&t.contains(r.element[0],this.element[0])&&(o=!1),o})),o?(r.isOver||(r.isOver=1,i._parent=n.helper.parent(),r.currentItem=n.helper.appendTo(r.element).data("ui-sortable-item",!0),r.options._helper=r.options.helper,r.options.helper=function(){return n.helper[0]},e.target=r.currentItem[0],r._mouseCapture(e,!0),r._mouseStart(e,!0,!0),r.offset.click.top=i.offset.click.top,r.offset.click.left=i.offset.click.left,r.offset.parent.left-=i.offset.parent.left-r.offset.parent.left,r.offset.parent.top-=i.offset.parent.top-r.offset.parent.top,i._trigger("toSortable",e),i.dropped=r.element,t.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,r.fromOutside=i),r.currentItem&&(r._mouseDrag(e),n.position=r.position)):r.isOver&&(r.isOver=0,r.cancelHelperRemoval=!0,r.options._revert=r.options.revert,r.options.revert=!1,r._trigger("out",e,r._uiHash(r)),r._mouseStop(e,!0),r.options.revert=r.options._revert,r.options.helper=r.options._helper,r.placeholder&&r.placeholder.remove(),n.helper.appendTo(i._parent),i._refreshOffsets(e),n.position=i._generatePosition(e,!0),i._trigger("fromSortable",e),i.dropped=!1,t.each(i.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,n,i){var o=t("body"),r=i.options;o.css("cursor")&&(r._cursor=o.css("cursor")),o.css("cursor",r.cursor)},stop:function(e,n,i){var o=i.options;o._cursor&&t("body").css("cursor",o._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,n,i){var o=t(n.helper),r=i.options;o.css("opacity")&&(r._opacity=o.css("opacity")),o.css("opacity",r.opacity)},stop:function(e,n,i){var o=i.options;o._opacity&&t(n.helper).css("opacity",o._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,n,i){var o=i.options,r=!1,s=i.scrollParentNotHidden[0],a=i.document[0];s!==a&&"HTML"!==s.tagName?(o.axis&&"x"===o.axis||(i.overflowOffset.top+s.offsetHeight-e.pageY<o.scrollSensitivity?s.scrollTop=r=s.scrollTop+o.scrollSpeed:e.pageY-i.overflowOffset.top<o.scrollSensitivity&&(s.scrollTop=r=s.scrollTop-o.scrollSpeed)),o.axis&&"y"===o.axis||(i.overflowOffset.left+s.offsetWidth-e.pageX<o.scrollSensitivity?s.scrollLeft=r=s.scrollLeft+o.scrollSpeed:e.pageX-i.overflowOffset.left<o.scrollSensitivity&&(s.scrollLeft=r=s.scrollLeft-o.scrollSpeed))):(o.axis&&"x"===o.axis||(e.pageY-t(a).scrollTop()<o.scrollSensitivity?r=t(a).scrollTop(t(a).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(a).scrollTop())<o.scrollSensitivity&&(r=t(a).scrollTop(t(a).scrollTop()+o.scrollSpeed))),o.axis&&"y"===o.axis||(e.pageX-t(a).scrollLeft()<o.scrollSensitivity?r=t(a).scrollLeft(t(a).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(a).scrollLeft())<o.scrollSensitivity&&(r=t(a).scrollLeft(t(a).scrollLeft()+o.scrollSpeed)))),!1!==r&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,n,i){var o=i.options;i.snapElements=[],t(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var e=t(this),n=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:n.top,left:n.left})})},drag:function(e,n,i){var o,r,s,a,c,l,u,d,p,h,f=i.options,m=f.snapTolerance,g=n.offset.left,v=g+i.helperProportions.width,b=n.offset.top,y=b+i.helperProportions.height;for(p=i.snapElements.length-1;p>=0;p--)c=i.snapElements[p].left-i.margins.left,l=c+i.snapElements[p].width,u=i.snapElements[p].top-i.margins.top,d=u+i.snapElements[p].height,v<c-m||g>l+m||y<u-m||b>d+m||!t.contains(i.snapElements[p].item.ownerDocument,i.snapElements[p].item)?(i.snapElements[p].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[p].item})),i.snapElements[p].snapping=!1):("inner"!==f.snapMode&&(o=Math.abs(u-y)<=m,r=Math.abs(d-b)<=m,s=Math.abs(c-v)<=m,a=Math.abs(l-g)<=m,o&&(n.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),r&&(n.position.top=i._convertPositionTo("relative",{top:d,left:0}).top),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:c-i.helperProportions.width}).left),a&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),h=o||r||s||a,"outer"!==f.snapMode&&(o=Math.abs(u-b)<=m,r=Math.abs(d-y)<=m,s=Math.abs(c-g)<=m,a=Math.abs(l-v)<=m,o&&(n.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),r&&(n.position.top=i._convertPositionTo("relative",{top:d-i.helperProportions.height,left:0}).top),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:c}).left),a&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[p].snapping&&(o||r||s||a||h)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[p].item})),i.snapElements[p].snapping=o||r||s||a||h)}}),t.ui.plugin.add("draggable","stack",{start:function(e,n,i){var o,r=i.options,s=t.makeArray(t(r.stack)).sort(function(e,n){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(n).css("zIndex"),10)||0)});s.length&&(o=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(e){t(this).css("zIndex",o+e)}),this.css("zIndex",o+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,n,i){var o=t(n.helper),r=i.options;o.css("zIndex")&&(r._zIndex=o.css("zIndex")),o.css("zIndex",r.zIndex)},stop:function(e,n,i){var o=i.options;o._zIndex&&t(n.helper).css("zIndex",o._zIndex)}}),t.ui.draggable}),function(t){"function"==typeof define&&define.amd?define(["jquery","./mouse","../disable-selection","../plugin","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,n){if("hidden"===t(e).css("overflow"))return!1;var i=n&&"left"===n?"scrollLeft":"scrollTop",o=!1;return e[i]>0||(e[i]=1,o=e[i]>0,e[i]=0,o)},_create:function(){var e,n=this.options,i=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),n.autoHide&&t(this.element).on("mouseenter",function(){n.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){n.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,n=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(n(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),n(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,n,i,o,r,s=this.options,a=this;if(this.handles=s.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},n=0;n<i.length;n++)e=t.trim(i[n]),o="ui-resizable-"+e,r=t("<div>"),this._addClass(r,"ui-resizable-handle "+o),r.css({zIndex:s.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(r);this._renderAxis=function(e){var n,i,o,r;e=e||this.element;for(n in this.handles)this.handles[n].constructor===String?this.handles[n]=this.element.children(this.handles[n]).first().show():(this.handles[n].jquery||this.handles[n].nodeType)&&(this.handles[n]=t(this.handles[n]),this._on(this.handles[n],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=t(this.handles[n],this.element),r=/sw|ne|nw|se|n|s/.test(n)?i.outerHeight():i.outerWidth(),o=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join(""),e.css(o,r),this._proportionallyResize()),this._handles=this._handles.add(this.handles[n])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){a.resizing||(this.className&&(r=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=r&&r[1]?r[1]:"se")}),s.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var n,i,o=!1;for(n in this.handles)((i=t(this.handles[n])[0])===e.target||t.contains(i,e.target))&&(o=!0);return!this.options.disabled&&o},_mouseStart:function(e){var n,i,o,r=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),n=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),r.containment&&(n+=t(r.containment).scrollLeft()||0,i+=t(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:n,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var n,i,o=this.originalMousePosition,r=this.axis,s=e.pageX-o.left||0,a=e.pageY-o.top||0,c=this._change[r];return this._updatePrevProperties(),!!c&&(n=c.apply(this,[e,s,a]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(n=this._updateRatio(n,e)),n=this._respectSize(n,e),this._updateCache(n),this._propagate("resize",e),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var n,i,o,r,s,a,c,l=this.options,u=this;return this._helper&&(n=this._proportionallyResizeElements,i=n.length&&/textarea/i.test(n[0].nodeName),o=i&&this._hasScroll(n[0],"left")?0:u.sizeDiff.height,r=i?0:u.sizeDiff.width,s={width:u.helper.width()-r,height:u.helper.height()-o},a=parseFloat(u.element.css("left"))+(u.position.left-u.originalPosition.left)||null,c=parseFloat(u.element.css("top"))+(u.position.top-u.originalPosition.top)||null,l.animate||this.element.css(t.extend(s,{top:c,left:a})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),
this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,n,i,o,r,s=this.options;r={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:Infinity,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:Infinity},(this._aspectRatio||t)&&(e=r.minHeight*this.aspectRatio,i=r.minWidth/this.aspectRatio,n=r.maxHeight*this.aspectRatio,o=r.maxWidth/this.aspectRatio,e>r.minWidth&&(r.minWidth=e),i>r.minHeight&&(r.minHeight=i),n<r.maxWidth&&(r.maxWidth=n),o<r.maxHeight&&(r.maxHeight=o)),this._vBoundaries=r},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,n=this.size,i=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===i&&(t.left=e.left+(n.width-t.width),t.top=null),"nw"===i&&(t.top=e.top+(n.height-t.height),t.left=e.left+(n.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,n=this.axis,i=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,o=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,r=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,s=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,c=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return r&&(t.width=e.minWidth),s&&(t.height=e.minHeight),i&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),r&&l&&(t.left=a-e.minWidth),i&&l&&(t.left=a-e.maxWidth),s&&u&&(t.top=c-e.minHeight),o&&u&&(t.top=c-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,n=[],i=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],o=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)n[e]=parseFloat(i[e])||0,n[e]+=parseFloat(o[e])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,n=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,n=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var n=this.originalSize;return{left:this.originalPosition.left+e,width:n.width-e}},n:function(t,e,n){var i=this.originalSize;return{top:this.originalPosition.top+n,height:i.height-n}},s:function(t,e,n){return{height:this.originalSize.height+n}},se:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},sw:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,n,i]))},ne:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},nw:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,n,i]))}},_propagate:function(e,n){t.ui.plugin.call(this,e,[n,this.ui()]),"resize"!==e&&this._trigger(e,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var n=t(this).resizable("instance"),i=n.options,o=n._proportionallyResizeElements,r=o.length&&/textarea/i.test(o[0].nodeName),s=r&&n._hasScroll(o[0],"left")?0:n.sizeDiff.height,a=r?0:n.sizeDiff.width,c={width:n.size.width-a,height:n.size.height-s},l=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,u=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(t.extend(c,u&&l?{top:u,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var i={width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};o&&o.length&&t(o[0]).css({width:i.width,height:i.height}),n._updateCache(i),n._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,n,i,o,r,s,a,c=t(this).resizable("instance"),l=c.options,u=c.element,d=l.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(c.containerElement=t(p),/document/.test(d)||d===document?(c.containerOffset={left:0,top:0},c.containerPosition={left:0,top:0},c.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(p),n=[],t(["Top","Right","Left","Bottom"]).each(function(t,i){n[t]=c._num(e.css("padding"+i))}),c.containerOffset=e.offset(),c.containerPosition=e.position(),c.containerSize={height:e.innerHeight()-n[3],width:e.innerWidth()-n[1]},i=c.containerOffset,o=c.containerSize.height,r=c.containerSize.width,s=c._hasScroll(p,"left")?p.scrollWidth:r,a=c._hasScroll(p)?p.scrollHeight:o,c.parentData={element:p,left:i.left,top:i.top,width:s,height:a}))},resize:function(e){var n,i,o,r,s=t(this).resizable("instance"),a=s.options,c=s.containerOffset,l=s.position,u=s._aspectRatio||e.shiftKey,d={top:0,left:0},p=s.containerElement,h=!0;p[0]!==document&&/static/.test(p.css("position"))&&(d=c),l.left<(s._helper?c.left:0)&&(s.size.width=s.size.width+(s._helper?s.position.left-c.left:s.position.left-d.left),u&&(s.size.height=s.size.width/s.aspectRatio,h=!1),s.position.left=a.helper?c.left:0),l.top<(s._helper?c.top:0)&&(s.size.height=s.size.height+(s._helper?s.position.top-c.top:s.position.top),u&&(s.size.width=s.size.height*s.aspectRatio,h=!1),s.position.top=s._helper?c.top:0),o=s.containerElement.get(0)===s.element.parent().get(0),r=/relative|absolute/.test(s.containerElement.css("position")),o&&r?(s.offset.left=s.parentData.left+s.position.left,s.offset.top=s.parentData.top+s.position.top):(s.offset.left=s.element.offset().left,s.offset.top=s.element.offset().top),n=Math.abs(s.sizeDiff.width+(s._helper?s.offset.left-d.left:s.offset.left-c.left)),i=Math.abs(s.sizeDiff.height+(s._helper?s.offset.top-d.top:s.offset.top-c.top)),n+s.size.width>=s.parentData.width&&(s.size.width=s.parentData.width-n,u&&(s.size.height=s.size.width/s.aspectRatio,h=!1)),i+s.size.height>=s.parentData.height&&(s.size.height=s.parentData.height-i,u&&(s.size.width=s.size.height*s.aspectRatio,h=!1)),h||(s.position.left=s.prevPosition.left,s.position.top=s.prevPosition.top,s.size.width=s.prevSize.width,s.size.height=s.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),n=e.options,i=e.containerOffset,o=e.containerPosition,r=e.containerElement,s=t(e.helper),a=s.offset(),c=s.outerWidth()-e.sizeDiff.width,l=s.outerHeight()-e.sizeDiff.height;e._helper&&!n.animate&&/relative/.test(r.css("position"))&&t(this).css({left:a.left-o.left-i.left,width:c,height:l}),e._helper&&!n.animate&&/static/.test(r.css("position"))&&t(this).css({left:a.left-o.left-i.left,width:c,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),n=e.options;t(n.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,n){var i=t(this).resizable("instance"),o=i.options,r=i.originalSize,s=i.originalPosition,a={height:i.size.height-r.height||0,width:i.size.width-r.width||0,top:i.position.top-s.top||0,left:i.position.left-s.left||0};t(o.alsoResize).each(function(){var e=t(this),i=t(this).data("ui-resizable-alsoresize"),o={},r=e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(r,function(t,e){var n=(i[e]||0)+(a[e]||0);n&&n>=0&&(o[e]=n||null)}),e.css(o)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),n=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,n=t(this).resizable("instance"),i=n.options,o=n.size,r=n.originalSize,s=n.originalPosition,a=n.axis,c="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=c[0]||1,u=c[1]||1,d=Math.round((o.width-r.width)/l)*l,p=Math.round((o.height-r.height)/u)*u,h=r.width+d,f=r.height+p,m=i.maxWidth&&i.maxWidth<h,g=i.maxHeight&&i.maxHeight<f,v=i.minWidth&&i.minWidth>h,b=i.minHeight&&i.minHeight>f;i.grid=c,v&&(h+=l),b&&(f+=u),m&&(h-=l),g&&(f-=u),/^(se|s|e)$/.test(a)?(n.size.width=h,n.size.height=f):/^(ne)$/.test(a)?(n.size.width=h,n.size.height=f,n.position.top=s.top-p):/^(sw)$/.test(a)?(n.size.width=h,n.size.height=f,n.position.left=s.left-d):((f-u<=0||h-l<=0)&&(e=n._getPaddingPlusBorderDimensions(this)),f-u>0?(n.size.height=f,n.position.top=s.top-p):(f=u-e.height,n.size.height=f,n.position.top=s.top+r.height-f),h-l>0?(n.size.width=h,n.position.left=s.left-d):(h=l-e.width,n.size.width=h,n.position.left=s.left+r.width-h))}}),t.ui.resizable}),function(t){"function"==typeof define&&define.amd?define(["jquery","./button","./draggable","./mouse","./resizable","../focusable","../keycode","../position","../safe-active-element","../safe-blur","../tabbable","../unique-id","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var n=t(this).css(e).offset().top;n<0&&t(this).css("top",e.top-n)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var n=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){n._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,n){var i=!1,o=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),r=Math.max.apply(null,o);return r>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",r+1),i=!0),i&&!n&&this._trigger("focus",e),i},open:function(){var e=this;if(this._isOpen)return void(this._moveToTop()&&this._focusTabbable());this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open")},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_keepFocus:function(e){function n(){var e=t.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||t.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),n.call(this),this._delay(n)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var n=this.uiDialog.find(":tabbable"),i=n.filter(":first"),o=n.filter(":last");e.target!==o[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){o.trigger("focus")}),e.preventDefault()):(this._delay(function(){i.trigger("focus")}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,n=this.options.buttons;if(this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(n)||t.isArray(n)&&!n.length)return void this._removeClass(this.uiDialog,"ui-dialog-buttons");t.each(n,function(n,i){var o,r;i=t.isFunction(i)?{click:i,text:n}:i,i=t.extend({type:"button"},i),o=i.click,r={icon:i.icon,iconPosition:i.iconPosition,showLabel:i.showLabel,icons:i.icons,text:i.text},delete i.click,delete i.icon,delete i.iconPosition,delete i.showLabel,delete i.icons,"boolean"==typeof i.text&&delete i.text,t("<button></button>",i).button(r).appendTo(e.uiButtonSet).on("click",function(){o.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var n=this,i=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,o){n._addClass(t(this),"ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",i,e(o))},drag:function(t,i){n._trigger("drag",t,e(i))},stop:function(o,r){var s=r.offset.left-n.document.scrollLeft(),a=r.offset.top-n.document.scrollTop();i.position={my:"left top",at:"left"+(s>=0?"+":"")+s+" top"+(a>=0?"+":"")+a,of:n.window},n._removeClass(t(this),"ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",o,e(r))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var n=this,i=this.options,o=i.resizable,r=this.uiDialog.css("position"),s="string"==typeof o?o:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:s,start:function(i,o){n._addClass(t(this),"ui-dialog-resizing"),n._blockFrames(),n._trigger("resizeStart",i,e(o))},resize:function(t,i){n._trigger("resize",t,e(i))},stop:function(o,r){var s=n.uiDialog.offset(),a=s.left-n.document.scrollLeft(),c=s.top-n.document.scrollTop();i.height=n.uiDialog.height(),i.width=n.uiDialog.width(),i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(c>=0?"+":"")+c,of:n.window},n._removeClass(t(this),"ui-dialog-resizing"),n._unblockFrames(),n._trigger("resizeStop",o,e(r))}}).css("position",r)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),n=t.inArray(this,e);-1!==n&&e.splice(n,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var n=this,i=!1,o={};t.each(e,function(t,e){n._setOption(t,e),t in n.sizeRelatedOptions&&(i=!0),t in n.resizableRelatedOptions&&(o[t]=e)}),i&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(e,n){var i,o,r=this.uiDialog;"disabled"!==e&&(this._super(e,n),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&(i=r.is(":data(ui-draggable)"),i&&!n&&r.draggable("destroy"),!i&&n&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&(o=r.is(":data(ui-resizable)"),o&&!n&&r.resizable("destroy"),o&&"string"==typeof n&&r.resizable("option","handles",n),o||!1===n||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,n,i=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),i.minWidth>i.width&&(i.width=i.minWidth),t=this.uiDialog.css({height:"auto",width:i.width}).outerHeight(),e=Math.max(0,i.minHeight-t),n="number"==typeof i.maxHeight?Math.max(0,i.maxHeight-t):"none","auto"===i.height?this.element.css({minHeight:e,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,i.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=!0;this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==t.uiBackCompat&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),t.ui.dialog}),function(t){"function"==typeof define&&define.amd?define(["jquery","./draggable","./mouse","../version","../widget"],t):t(jQuery)}(function(t){t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,n=this.options,i=n.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i)},this.proportions=function(){if(!arguments.length)return e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});e=arguments[0]},this._addToManager(n.scope),n.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,n){if("accept"===e)this.accept=t.isFunction(n)?n:function(t){return t.is(n)};else if("scope"===e){var i=t.ui.ddmanager.droppables[this.options.scope];this._splice(i),this._addToManager(n)}this._super(e,n)},_activate:function(e){var n=t.ui.ddmanager.current;this._addActiveClass(),n&&this._trigger("activate",e,this.ui(n))},_deactivate:function(e){var n=t.ui.ddmanager.current;this._removeActiveClass(),n&&this._trigger("deactivate",e,this.ui(n))},_over:function(e){var n=t.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(n)))},_out:function(e){var n=t.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(n)))},_drop:function(n,i){var o=i||t.ui.ddmanager.current,r=!1;return!(!o||(o.currentItem||o.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");if(i.options.greedy&&!i.options.disabled&&i.options.scope===o.options.scope&&i.accept.call(i.element[0],o.currentItem||o.element)&&e(o,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,n))return r=!0,!1}),!r&&(!!this.accept.call(this.element[0],o.currentItem||o.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",n,this.ui(o)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var e=t.ui.intersect=function(){function t(t,e,n){return t>=e&&t<e+n}return function(e,n,i,o){if(!n.offset)return!1;var r=(e.positionAbs||e.position.absolute).left+e.margins.left,s=(e.positionAbs||e.position.absolute).top+e.margins.top,a=r+e.helperProportions.width,c=s+e.helperProportions.height,l=n.offset.left,u=n.offset.top,d=l+n.proportions().width,p=u+n.proportions().height;switch(i){case"fit":return l<=r&&a<=d&&u<=s&&c<=p;case"intersect":return l<r+e.helperProportions.width/2&&a-e.helperProportions.width/2<d&&u<s+e.helperProportions.height/2&&c-e.helperProportions.height/2<p;case"pointer":return t(o.pageY,u,n.proportions().height)&&t(o.pageX,l,n.proportions().width);case"touch":return(s>=u&&s<=p||c>=u&&c<=p||s<u&&c>p)&&(r>=l&&r<=d||a>=l&&a<=d||r<l&&a>d);default:return!1}}}();return t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,n){var i,o,r=t.ui.ddmanager.droppables[e.options.scope]||[],s=n?n.type:null,a=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(i=0;i<r.length;i++)if(!(r[i].options.disabled||e&&!r[i].accept.call(r[i].element[0],e.currentItem||e.element))){for(o=0;o<a.length;o++)if(a[o]===r[i].element[0]){r[i].proportions().height=0;continue t}r[i].visible="none"!==r[i].element.css("display"),r[i].visible&&("mousedown"===s&&r[i]._activate.call(r[i],n),r[i].offset=r[i].element.offset(),r[i].proportions({width:r[i].element[0].offsetWidth,height:r[i].element[0].offsetHeight}))}},drop:function(n,i){var o=!1;return t.each((t.ui.ddmanager.droppables[n.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&e(n,this,this.options.tolerance,i)&&(o=this._drop.call(this,i)||o),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),o},dragStart:function(e,n){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,n)})},drag:function(n,i){n.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(n,i),t.each(t.ui.ddmanager.droppables[n.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var o,r,s,a=e(n,this,this.options.tolerance,i),c=!a&&this.isover?"isout":a&&!this.isover?"isover":null;c&&(this.options.greedy&&(r=this.options.scope,s=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===r}),s.length&&(o=t(s[0]).droppable("instance"),o.greedyChild="isover"===c)),o&&"isover"===c&&(o.isover=!1,o.isout=!0,o._out.call(o,i)),this[c]=!0,this["isout"===c?"isover":"isout"]=!1,this["isover"===c?"_over":"_out"].call(this,i),o&&"isout"===c&&(o.isout=!1,o.isover=!0,o._over.call(o,i)))}})},dragStop:function(e,n){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,n)}},!1!==t.uiBackCompat&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),t.ui.droppable}),function(t){"function"==typeof define&&define.amd?define(["jquery","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(t===undefined)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return t===undefined&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(n.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})}),function(t){
"function"==typeof define&&define.amd?define(["jquery","./mouse","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.selectable",t.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e.elementPos=t(e.element[0]).offset(),e.selectees=t(e.options.filter,e.element[0]),e._addClass(e.selectees,"ui-selectee"),e.selectees.each(function(){var n=t(this),i=n.offset(),o={left:i.left-e.elementPos.left,top:i.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:n,left:o.left,top:o.top,right:o.left+n.outerWidth(),bottom:o.top+n.outerHeight(),startselected:!1,selected:n.hasClass("ui-selected"),selecting:n.hasClass("ui-selecting"),unselecting:n.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var n=this,i=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(i.filter,this.element[0]),this._trigger("start",e),t(i.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),i.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var i=t.data(this,"selectable-item");i.startselected=!0,e.metaKey||e.ctrlKey||(n._removeClass(i.$element,"ui-selected"),i.selected=!1,n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",e,{unselecting:i.element}))}),t(e.target).parents().addBack().each(function(){var i,o=t.data(this,"selectable-item");if(o)return i=!e.metaKey&&!e.ctrlKey||!o.$element.hasClass("ui-selected"),n._removeClass(o.$element,i?"ui-unselecting":"ui-selected")._addClass(o.$element,i?"ui-selecting":"ui-unselecting"),o.unselecting=!i,o.selecting=i,o.selected=i,i?n._trigger("selecting",e,{selecting:o.element}):n._trigger("unselecting",e,{unselecting:o.element}),!1}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var n,i=this,o=this.options,r=this.opos[0],s=this.opos[1],a=e.pageX,c=e.pageY;return r>a&&(n=a,a=r,r=n),s>c&&(n=c,c=s,s=n),this.helper.css({left:r,top:s,width:a-r,height:c-s}),this.selectees.each(function(){var n=t.data(this,"selectable-item"),l=!1,u={};n&&n.element!==i.element[0]&&(u.left=n.left+i.elementPos.left,u.right=n.right+i.elementPos.left,u.top=n.top+i.elementPos.top,u.bottom=n.bottom+i.elementPos.top,"touch"===o.tolerance?l=!(u.left>a||u.right<r||u.top>c||u.bottom<s):"fit"===o.tolerance&&(l=u.left>r&&u.right<a&&u.top>s&&u.bottom<c),l?(n.selected&&(i._removeClass(n.$element,"ui-selected"),n.selected=!1),n.unselecting&&(i._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1),n.selecting||(i._addClass(n.$element,"ui-selecting"),n.selecting=!0,i._trigger("selecting",e,{selecting:n.element}))):(n.selecting&&((e.metaKey||e.ctrlKey)&&n.startselected?(i._removeClass(n.$element,"ui-selecting"),n.selecting=!1,i._addClass(n.$element,"ui-selected"),n.selected=!0):(i._removeClass(n.$element,"ui-selecting"),n.selecting=!1,n.startselected&&(i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0),i._trigger("unselecting",e,{unselecting:n.element}))),n.selected&&(e.metaKey||e.ctrlKey||n.startselected||(i._removeClass(n.$element,"ui-selected"),n.selected=!1,i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,i._trigger("unselecting",e,{unselecting:n.element})))))}),!1}},_mouseStop:function(e){var n=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var i=t.data(this,"selectable-item");n._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1,i.startselected=!1,n._trigger("unselected",e,{unselected:i.element})}),t(".ui-selecting",this.element[0]).each(function(){var i=t.data(this,"selectable-item");n._removeClass(i.$element,"ui-selecting")._addClass(i.$element,"ui-selected"),i.selecting=!1,i.selected=!0,i.startselected=!0,n._trigger("selected",e,{selected:i.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./menu","../escape-selector","../form-reset-mixin","../keycode","../labels","../position","../unique-id","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var e,n=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=t("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){n._rendered||n._refreshMenu()})},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,n){t.preventDefault(),e._setSelection(),e._select(n.item.data("ui-selectmenu-item"),t)},focus:function(t,n){var i=n.item.data("ui-selectmenu-item");null!=e.focusIndex&&i.index!==e.focusIndex&&(e._trigger("focus",t,{item:i}),e.isOpen||e._select(i,t)),e.focusIndex=i.index,e.button.attr("aria-activedescendant",e.menuItems.eq(i.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var n=t("<span>");return this._setText(n,e.label),this._addClass(n,"ui-selectmenu-text"),n},_renderMenu:function(e,n){var i=this,o="";t.each(n,function(n,r){var s;r.optgroup!==o&&(s=t("<li>",{text:r.optgroup}),i._addClass(s,"ui-selectmenu-optgroup","ui-menu-divider"+(r.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),s.appendTo(e),o=r.optgroup),i._renderItemData(e,r)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,n){var i=t("<li>"),o=t("<div>",{title:n.element.attr("title")});return n.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(o,n.label),i.append(o).appendTo(e)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var n,i,o=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),o+=":not(.ui-state-disabled)"),i="first"===t||"last"===t?n["first"===t?"prevAll":"nextAll"](o).eq(-1):n[t+"All"](o).eq(0),i.length&&this.menuInstance.focus(e,i)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?(t=window.getSelection(),t.removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection(),t.rangeCount&&(this.range=t.getRangeAt(0))):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(e){var n=!0;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),n=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),n=!1}n&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==n&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;if(!1===t)return void this.button.css("width","");null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var n=this,i=[];e.each(function(e,o){i.push(n._parseOption(t(o),e))}),this.items=i},_parseOption:function(t,e){var n=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}])}),function(t){"function"==typeof define&&define.amd?define(["jquery","./mouse","../keycode","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,n,i=this.options,o=this.element.find(".ui-slider-handle"),r=[];for(n=i.values&&i.values.length||1,o.length>n&&(o.slice(n).remove(),o=o.slice(0,n)),e=o.length;e<n;e++)r.push("<span tabindex='0'></span>");this.handles=o.add(t(r.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var n,i,o,r,s,a,c,l=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(n),o=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var n=Math.abs(i-l.values(e));(o>n||o===n&&(e===l._lastChangedValue||l.values(e)===u.min))&&(o=n,r=t(this),s=e)}),!1!==this._start(e,s)&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(r,null,"ui-state-active"),r.trigger("focus"),a=r.offset(),c=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=c?{left:0,top:0}:{left:e.pageX-a.left-r.width()/2,top:e.pageY-a.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,s,i),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},n=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,n),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,n,i,o,r;return"horizontal"===this.orientation?(e=this.elementSize.width,n=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,n=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),i=n/e,i>1&&(i=1),i<0&&(i=0),"vertical"===this.orientation&&(i=1-i),o=this._valueMax()-this._valueMin(),r=this._valueMin()+i*o,this._trimAlignValue(r)},_uiHash:function(t,e,n){var i={handle:this.handles[t],handleIndex:t,value:e!==undefined?e:this.value()};return this._hasMultipleValues()&&(i.value=e!==undefined?e:this.values(t),i.values=n||this.values()),i},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,n){var i,o=this.value(),r=this.values();this._hasMultipleValues()&&(i=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&!0===this.options.range&&(n=0===e?Math.min(i,n):Math.max(i,n)),r[e]=n),n!==o&&!1!==this._trigger("slide",t,this._uiHash(e,n,r))&&(this._hasMultipleValues()?this.values(e,n):this.value(n))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,n){var i,o,r;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(n),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,o=arguments[0],r=0;r<i.length;r+=1)i[r]=this._trimAlignValue(o[r]),this._change(null,r);this._refreshValue()},_setOption:function(e,n){var i,o=0;switch("range"===e&&!0===this.options.range&&("min"===n?(this.options.value=this._values(0),this.options.values=null):"max"===n&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(o=this.options.values.length),this._super(e,n),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(n),this.handles.css("horizontal"===n?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=o-1;i>=0;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,n,i;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(n=this.options.values.slice(),i=0;i<n.length;i+=1)n[i]=this._trimAlignValue(n[i]);return n}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,i=t-n;return 2*Math.abs(n)>=e&&(i+=n>0?e:-e),parseFloat(i.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),n=this.options.step;t=Math.round((t-e)/n)*n+e,t>this.options.max&&(t-=n),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),n=e.indexOf(".");return-1===n?0:e.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,n,i,o,r,s=this.options.range,a=this.options,c=this,l=!this._animateOff&&a.animate,u={};this._hasMultipleValues()?this.handles.each(function(i){n=(c.values(i)-c._valueMin())/(c._valueMax()-c._valueMin())*100,u["horizontal"===c.orientation?"left":"bottom"]=n+"%",t(this).stop(1,1)[l?"animate":"css"](u,a.animate),!0===c.options.range&&("horizontal"===c.orientation?(0===i&&c.range.stop(1,1)[l?"animate":"css"]({left:n+"%"},a.animate),1===i&&c.range[l?"animate":"css"]({width:n-e+"%"},{queue:!1,duration:a.animate})):(0===i&&c.range.stop(1,1)[l?"animate":"css"]({bottom:n+"%"},a.animate),1===i&&c.range[l?"animate":"css"]({height:n-e+"%"},{queue:!1,duration:a.animate}))),e=n}):(i=this.value(),o=this._valueMin(),r=this._valueMax(),n=r!==o?(i-o)/(r-o)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[l?"animate":"css"](u,a.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:n+"%"},a.animate),"max"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-n+"%"},a.animate),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:n+"%"},a.animate),"max"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-n+"%"},a.animate))},_handleEvents:{keydown:function(e){var n,i,o,r=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,r)))return}switch(o=this.options.step,n=i=this._hasMultipleValues()?this.values(r):this.value(),e.keyCode){case t.ui.keyCode.HOME:i=this._valueMin();break;case t.ui.keyCode.END:i=this._valueMax();break;case t.ui.keyCode.PAGE_UP:i=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;i=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;i=this._trimAlignValue(n-o)}this._slide(e,r,i)},keyup:function(e){var n=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,n),this._change(e,n),this._removeClass(t(e.target),null,"ui-state-active"))}}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../ie","../scroll-parent","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,n){return t>=e&&t<e+n},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,n){var i=null,o=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each(function(){if(t.data(this,r.widgetName+"-item")===r)return i=t(this),!1}),t.data(e.target,r.widgetName+"-item")===r&&(i=t(e.target)),!!i&&(!(this.options.handle&&!n&&(t(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(o=!0)}),!o))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,n,i){var o,r,s=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),s.containment&&this._setContainment(),s.cursor&&"auto"!==s.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",s.cursor),this.storedStylesheet=t("<style>*{ cursor: "+s.cursor+" !important; }</style>").appendTo(r)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var n,i,o,r,s=this.options,a=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<s.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+s.scrollSpeed:e.pageY-this.overflowOffset.top<s.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-s.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<s.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+s.scrollSpeed:e.pageX-this.overflowOffset.left<s.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-s.scrollSpeed)):(e.pageY-this.document.scrollTop()<s.scrollSensitivity?a=this.document.scrollTop(this.document.scrollTop()-s.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<s.scrollSensitivity&&(a=this.document.scrollTop(this.document.scrollTop()+s.scrollSpeed)),e.pageX-this.document.scrollLeft()<s.scrollSensitivity?a=this.document.scrollLeft(this.document.scrollLeft()-s.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<s.scrollSensitivity&&(a=this.document.scrollLeft(this.document.scrollLeft()+s.scrollSpeed))),!1!==a&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n=this.items.length-1;n>=0;n--)if(i=this.items[n],o=i.item[0],(r=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(o===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===o||t.contains(this.placeholder[0],o)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],o))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,n){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var i=this,o=this.placeholder.offset(),r=this.options.axis,s={};r&&"x"!==r||(s.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(s.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(s,parseInt(this.options.revert,10)||500,function(){i._clear(e)})}else this._clear(e,n);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t(n).each(function(){var n=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);n&&i.push((e.key||n[1]+"[]")+"="+(e.key&&e.expression?n[1]:n[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},n.each(function(){i.push(t(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(t){
var e=this.positionAbs.left,n=e+this.helperProportions.width,i=this.positionAbs.top,o=i+this.helperProportions.height,r=t.left,s=r+t.width,a=t.top,c=a+t.height,l=this.offset.click.top,u=this.offset.click.left,d="x"===this.options.axis||i+l>a&&i+l<c,p="y"===this.options.axis||e+u>r&&e+u<s,h=d&&p;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?h:r<e+this.helperProportions.width/2&&n-this.helperProportions.width/2<s&&a<i+this.helperProportions.height/2&&o-this.helperProportions.height/2<c},_intersectsWithPointer:function(t){var e,n,i="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),o="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!i||!o)&&(e=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),this.floating?"right"===n||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&n||"left"===o&&!n:i&&("down"===i&&e||"up"===i&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function n(){a.push(this)}var i,o,r,s,a=[],c=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(r=t(l[i],this.document[0]),o=r.length-1;o>=0;o--)(s=t.data(r[o],this.widgetFullName))&&s!==this&&!s.options.disabled&&c.push([t.isFunction(s.options.items)?s.options.items.call(s.element):t(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);for(c.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=c.length-1;i>=0;i--)c[i][0].each(n);return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var n=0;n<e.length;n++)if(e[n]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var n,i,o,r,s,a,c,l,u=this.items,d=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(n=p.length-1;n>=0;n--)for(o=t(p[n],this.document[0]),i=o.length-1;i>=0;i--)(r=t.data(o[i],this.widgetFullName))&&r!==this&&!r.options.disabled&&(d.push([t.isFunction(r.options.items)?r.options.items.call(r.element[0],e,{item:this.currentItem}):t(r.options.items,r.element),r]),this.containers.push(r));for(n=d.length-1;n>=0;n--)for(s=d[n][1],a=d[n][0],i=0,l=a.length;i<l;i++)c=t(a[i]),c.data(this.widgetName+"-item",s),u.push({item:c,instance:s,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var n,i,o,r;for(n=this.items.length-1;n>=0;n--)i=this.items[n],i.instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?t(this.options.toleranceElement,i.item):i.item,e||(i.width=o.outerWidth(),i.height=o.outerHeight()),r=o.offset(),i.left=r.left,i.top=r.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)r=this.containers[n].element.offset(),this.containers[n].containerCache.left=r.left,this.containers[n].containerCache.top=r.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var n,i=e.options;i.placeholder&&i.placeholder.constructor!==String||(n=i.placeholder,i.placeholder={element:function(){var i=e.currentItem[0].nodeName.toLowerCase(),o=t("<"+i+">",e.document[0]);return e._addClass(o,"ui-sortable-placeholder",n||e.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===i?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(o)):"tr"===i?e._createTrPlaceholder(e.currentItem,o):"img"===i&&o.attr("src",e.currentItem.attr("src")),n||o.css("visibility","hidden"),o},update:function(t,o){n&&!i.forcePlaceholderSize||(o.height()||o.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),o.width()||o.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(i.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),i.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,n){var i=this;e.children().each(function(){t("<td>&#160;</td>",i.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)})},_contactContainers:function(e){var n,i,o,r,s,a,c,l,u,d,p=null,h=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(p&&t.contains(this.containers[n].element[0],p.element[0]))continue;p=this.containers[n],h=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",e,this._uiHash(this)),this.containers[n].containerCache.over=0);if(p)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(o=1e4,r=null,u=p.floating||this._isFloating(this.currentItem),s=u?"left":"top",a=u?"width":"height",d=u?"pageX":"pageY",i=this.items.length-1;i>=0;i--)t.contains(this.containers[h].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(c=this.items[i].item.offset()[s],l=!1,e[d]-c>this.items[i][a]/2&&(l=!0),Math.abs(e[d]-c)<o&&(o=Math.abs(e[d]-c),r=this.items[i],this.direction=l?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[h])return void(this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[h].element,!0),this._trigger("change",e,this._uiHash()),this.containers[h]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1}},_createHelper:function(e){var n=this.options,i=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e,this.currentItem])):"clone"===n.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||t("parent"!==n.appendTo?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),i[0].style.width&&!n.forceHelperSize||i.width(this.currentItem.width()),i[0].style.height&&!n.forceHelperSize||i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i,o=this.options;"parent"===o.containment&&(o.containment=this.helper[0].parentNode),"document"!==o.containment&&"window"!==o.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===o.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===o.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(o.containment)||(e=t(o.containment)[0],n=t(o.containment).offset(),i="hidden"!==t(e).css("overflow"),this.containment=[n.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,n.left+(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,n){n||(n=this.position);var i="absolute"===e?1:-1,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(o[0].tagName);return{top:n.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:o.scrollTop())*i,left:n.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:o.scrollLeft())*i}},_generatePosition:function(e){var n,i,o=this.options,r=e.pageX,s=e.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,c=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(r=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(r=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),o.grid&&(n=this.originalPageY+Math.round((s-this.originalPageY)/o.grid[1])*o.grid[1],s=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-o.grid[1]:n+o.grid[1]:n,i=this.originalPageX+Math.round((r-this.originalPageX)/o.grid[0])*o.grid[0],r=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-o.grid[0]:i+o.grid[0]:i)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():c?0:a.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():c?0:a.scrollLeft())}},_rearrange:function(t,e,n,i){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!i)})},_clear:function(t,e){function n(t,e,n){return function(i){n._trigger(t,i,e._uiHash(e))}}this.reverting=!1;var i,o=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&o.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||o.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(o.push(function(t){this._trigger("remove",t,this._uiHash())}),o.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),o.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||o.push(n("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(o.push(n("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<o.length;i++)o[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var n=e||this;return{helper:n.helper,placeholder:n.placeholder||t([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:e?e.element:null}}})}),function(t){"function"==typeof define&&define.amd?define(["jquery","./button","../version","../keycode","../safe-active-element","../widget"],t):t(jQuery)}(function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}return t.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),n=this.element;return t.each(["min","max","step"],function(t,i){var o=n.attr(i);null!=o&&o.length&&(e[i]=o)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){if(this.cancelBlur)return void delete this.cancelBlur;this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function n(){this.element[0]===t.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}var i;i=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(e)&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(t(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var n=this.options,i=t.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,n.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-n.page,e),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,e,n){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,n)},t),this._spin(e*this.options.step,n)},_spin:function(t,e){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:n})||(this._value(n),this.counter++)},_increment:function(e){var n=this.options.incremental;return n?t.isFunction(n)?n(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),n=e.indexOf(".");return-1===n?0:e.length-n-1},_adjustValue:function(t){var e,n,i=this.options;return e=null!==i.min?i.min:0,n=t-e,n=Math.round(n/i.step)*i.step,t=e+n,t=parseFloat(t.toFixed(this._precision())),null!==i.max&&t>i.max?i.max:null!==i.min&&t<i.min?i.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var n,i,o;if("culture"===t||"numberFormat"===t)return n=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(n));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,e.up),o=this.buttons.last().find(".ui-icon"),this._removeClass(o,null,this.options.icons.down),this._addClass(o,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:e(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var n;""!==t&&null!==(n=this._parse(t))&&(e||(n=this._adjustValue(n)),t=this._format(n)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());e(this._value).call(this,t)},widget:function(){return this.uiSpinner}}),!1!==t.uiBackCompat&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),t.ui.spinner}),function(t){"function"==typeof define&&define.amd?define(["jquery","../escape-selector","../keycode","../safe-active-element","../unique-id","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var t=/#.*$/;return function(e){var n,i;n=e.href.replace(t,""),i=location.href.replace(t,"");try{n=decodeURIComponent(n)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return e.hash.length>1&&n===i}}(),_create:function(){var e=this,n=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,n.collapsible),this._processTabs(),n.active=this._initialActive(),t.isArray(n.disabled)&&(n.disabled=t.unique(n.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(n.active):this.active=t(),this._refresh(),this.active.length&&this.load(n.active)},_initialActive:function(){var e=this.options.active,n=this.options.collapsible,i=location.hash.substring(1);return null===e&&(i&&this.tabs.each(function(n,o){if(t(o).attr("aria-controls")===i)return e=n,!1}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==e&&-1!==e||(e=!!this.tabs.length&&0)),!1!==e&&-1===(e=this.tabs.index(this.tabs.eq(e)))&&(e=!n&&0),!n&&!1===e&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var n=t(t.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(n),o=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:i++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,i--;break;case t.ui.keyCode.END:i=this.anchors.length-1;break;case t.ui.keyCode.HOME:i=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,o),e.ctrlKey||e.metaKey||(n.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,n){function i(){return e>o&&(e=0),e<0&&(e=o),e}for(var o=this.tabs.length-1;-1!==t.inArray(i(),this.options.disabled);)e=n?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){if("active"===t)return void this._activate(e);this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,n=this.tablist.children(":has(a[href])");e.disabled=t.map(n.filter(".ui-state-disabled"),function(t){return n.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,n=this.tabs,i=this.anchors,o=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(n,i){var o,r,s,a=t(i).uniqueId().attr("id"),c=t(i).closest("li"),l=c.attr("aria-controls");e._isLocal(i)?(o=i.hash,s=o.substring(1),r=e.element.find(e._sanitizeSelector(o))):(s=c.attr("aria-controls")||t({}).uniqueId()[0].id,o="#"+s,r=e.element.find(o),r.length||(r=e._createPanel(s),r.insertAfter(e.panels[n-1]||e.tablist)),r.attr("aria-live","polite")),r.length&&(e.panels=e.panels.add(r)),l&&c.data("ui-tabs-aria-controls",l),c.attr({"aria-controls":s,"aria-labelledby":a}),r.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),n&&(this._off(n.not(this.tabs)),this._off(i.not(this.anchors)),this._off(o.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var n,i,o;for(t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),o=0;i=this.tabs[o];o++)n=t(i),!0===e||-1!==t.inArray(o,e)?(n.attr("aria-disabled","true"),this._addClass(n,null,"ui-state-disabled")):(n.removeAttr("aria-disabled"),this._removeClass(n,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,i=this.element.parent();"fill"===e?(n=i.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),i=e.css("position");"absolute"!==i&&"fixed"!==i&&(n-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){n-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,n-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,t(this).height("").height())}).height(n))},_eventHandler:function(e){var n=this.options,i=this.active,o=t(e.currentTarget),r=o.closest("li"),s=r[0]===i[0],a=s&&n.collapsible,c=a?t():this._getPanelForTab(r),l=i.length?this._getPanelForTab(i):t(),u={oldTab:i,oldPanel:l,newTab:a?t():r,newPanel:c};e.preventDefault(),r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading")||this.running||s&&!n.collapsible||!1===this._trigger("beforeActivate",e,u)||(n.active=!a&&this.tabs.index(r),this.active=s?t():r,this.xhr&&this.xhr.abort(),l.length||c.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),c.length&&this.load(this.tabs.index(r),e),this._toggle(e,u))},_toggle:function(e,n){function i(){r.running=!1,r._trigger("activate",e,n)}function o(){r._addClass(n.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&r.options.show?r._show(s,r.options.show,i):(s.show(),i())}var r=this,s=n.newPanel,a=n.oldPanel;this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){r._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a.hide(),o()),a.attr("aria-hidden","true"),n.oldTab.attr({"aria-selected":"false",
"aria-expanded":"false"}),s.length&&a.length?n.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),n.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var n,i=this._findActive(e);i[0]!==this.active[0]&&(i.length||(i=this.active),n=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),n=e.data("ui-tabs-aria-controls");n?e.attr("aria-controls",n).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var n=this.options.disabled;!1!==n&&(e===undefined?n=!1:(e=this._getIndex(e),n=t.isArray(n)?t.map(n,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,n){return n!==e?n:null})),this._setOptionDisabled(n))},disable:function(e){var n=this.options.disabled;if(!0!==n){if(e===undefined)n=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,n))return;n=t.isArray(n)?t.merge([e],n).sort():[e]}this._setOptionDisabled(n)}},load:function(e,n){e=this._getIndex(e);var i=this,o=this.tabs.eq(e),r=o.find(".ui-tabs-anchor"),s=this._getPanelForTab(o),a={tab:o,panel:s},c=function(t,e){"abort"===e&&i.panels.stop(!1,!0),i._removeClass(o,"ui-tabs-loading"),s.removeAttr("aria-busy"),t===i.xhr&&delete i.xhr};this._isLocal(r[0])||(this.xhr=t.ajax(this._ajaxSettings(r,n,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(o,"ui-tabs-loading"),s.attr("aria-busy","true"),this.xhr.done(function(t,e,o){setTimeout(function(){s.html(t),i._trigger("load",n,a),c(o,e)},1)}).fail(function(t,e){setTimeout(function(){c(t,e)},1)})))},_ajaxSettings:function(e,n,i){var o=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,r){return o._trigger("beforeLoad",n,t.extend({jqXHR:e,ajaxSettings:r},i))}}},_getPanelForTab:function(e){var n=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs}),function(t){"function"==typeof define&&define.amd?define(["jquery","../keycode","../position","../unique-id","../version","../widget"],t):t(jQuery)}(function(t){return t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,n){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(n),e.data("ui-tooltip-id",n).attr("aria-describedby",t.trim(i.join(" ")))},_removeDescribedBy:function(e){var n=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),o=t.inArray(n,i);-1!==o&&i.splice(o,1),e.removeData("ui-tooltip-id"),i=t.trim(i.join(" ")),i?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,n){var i=this;this._super(e,n),"content"===e&&t.each(this.tooltips,function(t,e){i._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(n,i){var o=t.Event("blur");o.target=o.currentTarget=i.element[0],e.close(o,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var n=this,i=t(e?e.target:this.element).closest(this.options.items);i.length&&!i.data("ui-tooltip-id")&&(i.attr("title")&&i.data("ui-tooltip-title",i.attr("title")),i.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&i.parents().each(function(){var e,i=t(this);i.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,n.close(e,!0)),i.attr("title")&&(i.uniqueId(),n.parents[this.id]={element:this,title:i.attr("title")},i.attr("title",""))}),this._registerCloseHandlers(e,i),this._updateContent(i,e))},_updateContent:function(t,e){var n,i=this.options.content,o=this,r=e?e.type:null;if("string"==typeof i||i.nodeType||i.jquery)return this._open(e,t,i);(n=i.call(t[0],function(n){o._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=r),this._open(e,t,n))})}))&&this._open(e,t,n)},_open:function(e,n,i){function o(t){l.of=t,s.is(":hidden")||s.position(l)}var r,s,a,c,l=t.extend({},this.options.position);if(i){if(r=this._find(n))return void r.tooltip.find(".ui-tooltip-content").html(i);n.is("[title]")&&(e&&"mouseover"===e.type?n.attr("title",""):n.removeAttr("title")),r=this._tooltip(n),s=r.tooltip,this._addDescribedBy(n,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),c=t("<div>").html(s.find(".ui-tooltip-content").html()),c.removeAttr("name").find("[name]").removeAttr("name"),c.removeAttr("id").find("[id]").removeAttr("id"),c.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:o}),o(e)):s.position(t.extend({of:n},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){s.is(":visible")&&(o(l.of),clearInterval(a))},t.fx.interval)),this._trigger("open",e,{tooltip:s})}},_registerCloseHandlers:function(e,n){var i={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=n[0],this.close(i,!0)}}};n[0]!==this.element[0]&&(i.remove=function(){this._removeTooltip(this._find(n).tooltip)}),e&&"mouseover"!==e.type||(i.mouseleave="close"),e&&"focusin"!==e.type||(i.focusout="close"),this._on(!0,n,i)},close:function(e){var n,i=this,o=t(e?e.currentTarget:this.element),r=this._find(o);if(!r)return void o.removeData("ui-tooltip-open");n=r.tooltip,r.closing||(clearInterval(this.delayedShow),o.data("ui-tooltip-title")&&!o.attr("title")&&o.attr("title",o.data("ui-tooltip-title")),this._removeDescribedBy(o),r.hiding=!0,n.stop(!0),this._hide(n,this.options.hide,function(){i._removeTooltip(t(this))}),o.removeData("ui-tooltip-open"),this._off(o,"mouseleave focusout keyup"),o[0]!==this.element[0]&&this._off(o,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,n){t(n.element).attr("title",n.title),delete i.parents[e]}),r.closing=!0,this._trigger("close",e,{tooltip:n}),r.hiding||(r.closing=!1))},_tooltip:function(e){var n=t("<div>").attr("role","tooltip"),i=t("<div>").appendTo(n),o=n.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(n,"ui-tooltip","ui-widget ui-widget-content"),n.appendTo(this._appendTo(e)),this.tooltips[o]={element:e,tooltip:n}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(n,i){var o=t.Event("blur"),r=i.element;o.target=o.currentTarget=r[0],e.close(o,!0),t("#"+n).remove(),r.data("ui-tooltip-title")&&(r.attr("title")||r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==t.uiBackCompat&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),t.ui.tooltip}),function(){function t(t){function e(e,n,i,o,r,s){for(;r>=0&&r<s;r+=t){var a=o?o[r]:r;i=n(i,e[a],a,e)}return i}return function(n,i,o,r){i=y(i,r,4);var s=!z(n)&&b.keys(n),a=(s||n).length,c=t>0?0:a-1;return arguments.length<3&&(o=n[s?s[c]:c],c+=t),e(n,i,o,s,c,a)}}function e(t){return function(e,n,i){n=_(n,i);for(var o=k(e),r=t>0?0:o-1;r>=0&&r<o;r+=t)if(n(e[r],r,e))return r;return-1}}function n(t,e,n){return function(i,o,r){var s=0,a=k(i);if("number"==typeof r)t>0?s=r>=0?r:Math.max(r+a,s):a=r>=0?Math.min(r+1,a):r+a+1;else if(n&&r&&a)return r=n(i,o),i[r]===o?r:-1;if(o!==o)return r=e(u.call(i,s,a),b.isNaN),r>=0?r+s:-1;for(r=t>0?s:a-1;r>=0&&r<a;r+=t)if(i[r]===o)return r;return-1}}function i(t,e){var n=O.length,i=t.constructor,o=b.isFunction(i)&&i.prototype||a,r="constructor";for(b.has(t,r)&&!b.contains(e,r)&&e.push(r);n--;)(r=O[n])in t&&t[r]!==o[r]&&!b.contains(e,r)&&e.push(r)}var o=this,r=o._,s=Array.prototype,a=Object.prototype,c=Function.prototype,l=s.push,u=s.slice,d=a.toString,p=a.hasOwnProperty,h=Array.isArray,f=Object.keys,m=c.bind,g=Object.create,v=function(){},b=function(t){return t instanceof b?t:this instanceof b?void(this._wrapped=t):new b(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=b),exports._=b):o._=b,b.VERSION="1.8.3";var y=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)};case 4:return function(n,i,o,r){return t.call(e,n,i,o,r)}}return function(){return t.apply(e,arguments)}},_=function(t,e,n){return null==t?b.identity:b.isFunction(t)?y(t,e,n):b.isObject(t)?b.matcher(t):b.property(t)};b.iteratee=function(t,e){return _(t,e,Infinity)};var M=function(t,e){return function(n){var i=arguments.length;if(i<2||null==n)return n;for(var o=1;o<i;o++)for(var r=arguments[o],s=t(r),a=s.length,c=0;c<a;c++){var l=s[c];e&&void 0!==n[l]||(n[l]=r[l])}return n}},w=function(t){if(!b.isObject(t))return{};if(g)return g(t);v.prototype=t;var e=new v;return v.prototype=null,e},A=function(t){return function(e){return null==e?void 0:e[t]}},T=Math.pow(2,53)-1,k=A("length"),z=function(t){var e=k(t);return"number"==typeof e&&e>=0&&e<=T};b.each=b.forEach=function(t,e,n){e=y(e,n);var i,o;if(z(t))for(i=0,o=t.length;i<o;i++)e(t[i],i,t);else{var r=b.keys(t);for(i=0,o=r.length;i<o;i++)e(t[r[i]],r[i],t)}return t},b.map=b.collect=function(t,e,n){e=_(e,n);for(var i=!z(t)&&b.keys(t),o=(i||t).length,r=Array(o),s=0;s<o;s++){var a=i?i[s]:s;r[s]=e(t[a],a,t)}return r},b.reduce=b.foldl=b.inject=t(1),b.reduceRight=b.foldr=t(-1),b.find=b.detect=function(t,e,n){var i;if(void 0!==(i=z(t)?b.findIndex(t,e,n):b.findKey(t,e,n))&&-1!==i)return t[i]},b.filter=b.select=function(t,e,n){var i=[];return e=_(e,n),b.each(t,function(t,n,o){e(t,n,o)&&i.push(t)}),i},b.reject=function(t,e,n){return b.filter(t,b.negate(_(e)),n)},b.every=b.all=function(t,e,n){e=_(e,n);for(var i=!z(t)&&b.keys(t),o=(i||t).length,r=0;r<o;r++){var s=i?i[r]:r;if(!e(t[s],s,t))return!1}return!0},b.some=b.any=function(t,e,n){e=_(e,n);for(var i=!z(t)&&b.keys(t),o=(i||t).length,r=0;r<o;r++){var s=i?i[r]:r;if(e(t[s],s,t))return!0}return!1},b.contains=b.includes=b.include=function(t,e,n,i){return z(t)||(t=b.values(t)),("number"!=typeof n||i)&&(n=0),b.indexOf(t,e,n)>=0},b.invoke=function(t,e){var n=u.call(arguments,2),i=b.isFunction(e);return b.map(t,function(t){var o=i?e:t[e];return null==o?o:o.apply(t,n)})},b.pluck=function(t,e){return b.map(t,b.property(e))},b.where=function(t,e){return b.filter(t,b.matcher(e))},b.findWhere=function(t,e){return b.find(t,b.matcher(e))},b.max=function(t,e,n){var i,o,r=-Infinity,s=-Infinity;if(null==e&&null!=t){t=z(t)?t:b.values(t);for(var a=0,c=t.length;a<c;a++)(i=t[a])>r&&(r=i)}else e=_(e,n),b.each(t,function(t,n,i){((o=e(t,n,i))>s||o===-Infinity&&r===-Infinity)&&(r=t,s=o)});return r},b.min=function(t,e,n){var i,o,r=Infinity,s=Infinity;if(null==e&&null!=t){t=z(t)?t:b.values(t);for(var a=0,c=t.length;a<c;a++)(i=t[a])<r&&(r=i)}else e=_(e,n),b.each(t,function(t,n,i){((o=e(t,n,i))<s||o===Infinity&&r===Infinity)&&(r=t,s=o)});return r},b.shuffle=function(t){for(var e,n=z(t)?t:b.values(t),i=n.length,o=Array(i),r=0;r<i;r++)e=b.random(0,r),e!==r&&(o[r]=o[e]),o[e]=n[r];return o},b.sample=function(t,e,n){return null==e||n?(z(t)||(t=b.values(t)),t[b.random(t.length-1)]):b.shuffle(t).slice(0,Math.max(0,e))},b.sortBy=function(t,e,n){return e=_(e,n),b.pluck(b.map(t,function(t,n,i){return{value:t,index:n,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index}),"value")};var x=function(t){return function(e,n,i){var o={};return n=_(n,i),b.each(e,function(i,r){var s=n(i,r,e);t(o,i,s)}),o}};b.groupBy=x(function(t,e,n){b.has(t,n)?t[n].push(e):t[n]=[e]}),b.indexBy=x(function(t,e,n){t[n]=e}),b.countBy=x(function(t,e,n){b.has(t,n)?t[n]++:t[n]=1}),b.toArray=function(t){return t?b.isArray(t)?u.call(t):z(t)?b.map(t,b.identity):b.values(t):[]},b.size=function(t){return null==t?0:z(t)?t.length:b.keys(t).length},b.partition=function(t,e,n){e=_(e,n);var i=[],o=[];return b.each(t,function(t,n,r){(e(t,n,r)?i:o).push(t)}),[i,o]},b.first=b.head=b.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:b.initial(t,t.length-e)},b.initial=function(t,e,n){return u.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},b.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:b.rest(t,Math.max(0,t.length-e))},b.rest=b.tail=b.drop=function(t,e,n){return u.call(t,null==e||n?1:e)},b.compact=function(t){return b.filter(t,b.identity)};var $=function(t,e,n,i){for(var o=[],r=0,s=i||0,a=k(t);s<a;s++){var c=t[s];if(z(c)&&(b.isArray(c)||b.isArguments(c))){e||(c=$(c,e,n));var l=0,u=c.length;for(o.length+=u;l<u;)o[r++]=c[l++]}else n||(o[r++]=c)}return o};b.flatten=function(t,e){return $(t,e,!1)},b.without=function(t){return b.difference(t,u.call(arguments,1))},b.uniq=b.unique=function(t,e,n,i){b.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=_(n,i));for(var o=[],r=[],s=0,a=k(t);s<a;s++){var c=t[s],l=n?n(c,s,t):c;e?(s&&r===l||o.push(c),r=l):n?b.contains(r,l)||(r.push(l),o.push(c)):b.contains(o,c)||o.push(c)}return o},b.union=function(){return b.uniq($(arguments,!0,!0))},b.intersection=function(t){for(var e=[],n=arguments.length,i=0,o=k(t);i<o;i++){var r=t[i];if(!b.contains(e,r)){for(var s=1;s<n&&b.contains(arguments[s],r);s++);s===n&&e.push(r)}}return e},b.difference=function(t){var e=$(arguments,!0,!0,1);return b.filter(t,function(t){return!b.contains(e,t)})},b.zip=function(){return b.unzip(arguments)},b.unzip=function(t){for(var e=t&&b.max(t,k).length||0,n=Array(e),i=0;i<e;i++)n[i]=b.pluck(t,i);return n},b.object=function(t,e){for(var n={},i=0,o=k(t);i<o;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},b.findIndex=e(1),b.findLastIndex=e(-1),b.sortedIndex=function(t,e,n,i){n=_(n,i,1);for(var o=n(e),r=0,s=k(t);r<s;){var a=Math.floor((r+s)/2);n(t[a])<o?r=a+1:s=a}return r},b.indexOf=n(1,b.findIndex,b.sortedIndex),b.lastIndexOf=n(-1,b.findLastIndex),b.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var i=Math.max(Math.ceil((e-t)/n),0),o=Array(i),r=0;r<i;r++,t+=n)o[r]=t;return o};var C=function(t,e,n,i,o){if(!(i instanceof e))return t.apply(n,o);var r=w(t.prototype),s=t.apply(r,o);return b.isObject(s)?s:r};b.bind=function(t,e){if(m&&t.bind===m)return m.apply(t,u.call(arguments,1));if(!b.isFunction(t))throw new TypeError("Bind must be called on a function");var n=u.call(arguments,2),i=function(){return C(t,i,e,this,n.concat(u.call(arguments)))};return i},b.partial=function(t){var e=u.call(arguments,1),n=function(){for(var i=0,o=e.length,r=Array(o),s=0;s<o;s++)r[s]=e[s]===b?arguments[i++]:e[s];for(;i<arguments.length;)r.push(arguments[i++]);return C(t,n,this,this,r)};return n},b.bindAll=function(t){var e,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(e=1;e<i;e++)n=arguments[e],t[n]=b.bind(t[n],t);return t},b.memoize=function(t,e){var n=function(i){var o=n.cache,r=""+(e?e.apply(this,arguments):i);return b.has(o,r)||(o[r]=t.apply(this,arguments)),o[r]};return n.cache={},n},b.delay=function(t,e){var n=u.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},b.defer=b.partial(b.delay,b,1),b.throttle=function(t,e,n){var i,o,r,s=null,a=0;n||(n={});var c=function(){a=!1===n.leading?0:b.now(),s=null,r=t.apply(i,o),s||(i=o=null)};return function(){var l=b.now();a||!1!==n.leading||(a=l);var u=e-(l-a);return i=this,o=arguments,u<=0||u>e?(s&&(clearTimeout(s),s=null),a=l,r=t.apply(i,o),s||(i=o=null)):s||!1===n.trailing||(s=setTimeout(c,u)),r}},b.debounce=function(t,e,n){var i,o,r,s,a,c=function(){var l=b.now()-s;l<e&&l>=0?i=setTimeout(c,e-l):(i=null,n||(a=t.apply(r,o),i||(r=o=null)))};return function(){r=this,o=arguments,s=b.now();var l=n&&!i;return i||(i=setTimeout(c,e)),l&&(a=t.apply(r,o),r=o=null),a}},b.wrap=function(t,e){return b.partial(e,t)},b.negate=function(t){return function(){return!t.apply(this,arguments)}},b.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},b.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},b.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},b.once=b.partial(b.before,2);var S=!{toString:null}.propertyIsEnumerable("toString"),O=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];b.keys=function(t){if(!b.isObject(t))return[];if(f)return f(t);var e=[];for(var n in t)b.has(t,n)&&e.push(n);return S&&i(t,e),e},b.allKeys=function(t){if(!b.isObject(t))return[];var e=[];for(var n in t)e.push(n);return S&&i(t,e),e},b.values=function(t){for(var e=b.keys(t),n=e.length,i=Array(n),o=0;o<n;o++)i[o]=t[e[o]];return i},b.mapObject=function(t,e,n){e=_(e,n);for(var i,o=b.keys(t),r=o.length,s={},a=0;a<r;a++)i=o[a],s[i]=e(t[i],i,t);return s},b.pairs=function(t){for(var e=b.keys(t),n=e.length,i=Array(n),o=0;o<n;o++)i[o]=[e[o],t[e[o]]];return i},b.invert=function(t){for(var e={},n=b.keys(t),i=0,o=n.length;i<o;i++)e[t[n[i]]]=n[i];return e},b.functions=b.methods=function(t){var e=[];for(var n in t)b.isFunction(t[n])&&e.push(n);return e.sort()},b.extend=M(b.allKeys),b.extendOwn=b.assign=M(b.keys),b.findKey=function(t,e,n){e=_(e,n);for(var i,o=b.keys(t),r=0,s=o.length;r<s;r++)if(i=o[r],e(t[i],i,t))return i},b.pick=function(t,e,n){var i,o,r={},s=t;if(null==s)return r;b.isFunction(e)?(o=b.allKeys(s),i=y(e,n)):(o=$(arguments,!1,!1,1),i=function(t,e,n){return e in n},s=Object(s));for(var a=0,c=o.length;a<c;a++){var l=o[a],u=s[l];i(u,l,s)&&(r[l]=u)}return r},b.omit=function(t,e,n){if(b.isFunction(e))e=b.negate(e);else{var i=b.map($(arguments,!1,!1,1),String);e=function(t,e){return!b.contains(i,e)}}return b.pick(t,e,n)},b.defaults=M(b.allKeys,!0),b.create=function(t,e){var n=w(t);return e&&b.extendOwn(n,e),n},b.clone=function(t){return b.isObject(t)?b.isArray(t)?t.slice():b.extend({},t):t},b.tap=function(t,e){return e(t),t},b.isMatch=function(t,e){var n=b.keys(e),i=n.length;if(null==t)return!i;for(var o=Object(t),r=0;r<i;r++){var s=n[r];if(e[s]!==o[s]||!(s in o))return!1}return!0};var N=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof b&&(t=t._wrapped),e instanceof b&&(e=e._wrapped);var o=d.call(t);if(o!==d.call(e))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}var r="[object Array]"===o;if(!r){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,a=e.constructor;if(s!==a&&!(b.isFunction(s)&&s instanceof s&&b.isFunction(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],i=i||[];for(var c=n.length;c--;)if(n[c]===t)return i[c]===e;if(n.push(t),i.push(e),r){if((c=t.length)!==e.length)return!1;for(;c--;)if(!N(t[c],e[c],n,i))return!1}else{var l,u=b.keys(t);if(c=u.length,b.keys(e).length!==c)return!1;for(;c--;)if(l=u[c],!b.has(e,l)||!N(t[l],e[l],n,i))return!1}return n.pop(),i.pop(),!0};b.isEqual=function(t,e){return N(t,e)},b.isEmpty=function(t){return null==t||(z(t)&&(b.isArray(t)||b.isString(t)||b.isArguments(t))?0===t.length:0===b.keys(t).length)},b.isElement=function(t){return!(!t||1!==t.nodeType)},b.isArray=h||function(t){return"[object Array]"===d.call(t)},b.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},b.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){b["is"+t]=function(e){return d.call(e)==="[object "+t+"]"}}),b.isArguments(arguments)||(b.isArguments=function(t){return b.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(b.isFunction=function(t){return"function"==typeof t||!1}),b.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},b.isNaN=function(t){return b.isNumber(t)&&t!==+t},b.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===d.call(t)},b.isNull=function(t){return null===t},b.isUndefined=function(t){return void 0===t},b.has=function(t,e){return null!=t&&p.call(t,e)},b.noConflict=function(){return o._=r,this},b.identity=function(t){return t},b.constant=function(t){return function(){return t}},b.noop=function(){},b.property=A,b.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},b.matcher=b.matches=function(t){return t=b.extendOwn({},t),function(e){return b.isMatch(e,t)}},b.times=function(t,e,n){var i=Array(Math.max(0,t));e=y(e,n,1);for(var o=0;o<t;o++)i[o]=e(o);return i},b.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},b.now=Date.now||function(){return(new Date).getTime()};var L={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},E=b.invert(L),j=function(t){var e=function(e){return t[e]},n="(?:"+b.keys(t).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(o,e):t}};b.escape=j(L),b.unescape=j(E),b.result=function(t,e,n){var i=null==t?void 0:t[e];return void 0===i&&(i=n),b.isFunction(i)?i.call(t):i};var D=0;b.uniqueId=function(t){var e=++D+"";return t?t+e:e},b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},B=/\\|'|\r|\n|\u2028|\u2029/g,I=function(t){return"\\"+P[t]};b.template=function(t,e,n){!e&&n&&(e=n),e=b.defaults({},e,b.templateSettings);var i=RegExp([(e.escape||q).source,(e.interpolate||q).source,(e.evaluate||q).source].join("|")+"|$","g"),o=0,r="__p+='";t.replace(i,function(e,n,i,s,a){return r+=t.slice(o,a).replace(B,I),o=a+e.length,n?r+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?r+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(r+="';\n"+s+"\n__p+='"),e}),r+="';\n",e.variable||(r="with(obj||{}){\n"+r+"}\n"),r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{var s=new Function(e.variable||"obj","_",r)}catch(t){throw t.source=r,t}var a=function(t){return s.call(this,t,b)},c=e.variable||"obj";return a.source="function("+c+"){\n"+r+"}",a},b.chain=function(t){var e=b(t);return e._chain=!0,e};var W=function(t,e){return t._chain?b(e).chain():e};b.mixin=function(t){b.each(b.functions(t),function(e){var n=b[e]=t[e];b.prototype[e]=function(){var t=[this._wrapped];return l.apply(t,arguments),W(this,n.apply(b,t))}})},b.mixin(b),b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=s[t];b.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],W(this,n)}}),b.each(["concat","join","slice"],function(t){var e=s[t];b.prototype[t]=function(){return W(this,e.apply(this._wrapped,arguments))}}),b.prototype.value=function(){return this._wrapped},b.prototype.valueOf=b.prototype.toJSON=b.prototype.value,b.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return b})}.call(this),function(t){var e="object"==typeof self&&self.self==self&&self||"object"==typeof global&&global.global==global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(n,i,o){e.Backbone=t(e,o,n,i)});else if("undefined"!=typeof exports){var n,i=require("underscore");try{n=require("jquery")}catch(t){}t(e,exports,i,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,n,i){var o=t.Backbone,r=Array.prototype.slice;e.VERSION="1.2.3",e.$=i,e.noConflict=function(){return t.Backbone=o,this},e.emulateHTTP=!1,e.emulateJSON=!1;var s=function(t,e,i){switch(t){case 1:return function(){return n[e](this[i])};case 2:return function(t){return n[e](this[i],t)};case 3:return function(t,o){return n[e](this[i],c(t,this),o)};case 4:return function(t,o,r){return n[e](this[i],c(t,this),o,r)};default:return function(){var t=r.call(arguments);return t.unshift(this[i]),n[e].apply(n,t)}}},a=function(t,e,i){n.each(e,function(e,o){n[o]&&(t.prototype[o]=s(e,o,i))})},c=function(t,e){return n.isFunction(t)?t:n.isObject(t)&&!e._isModel(t)?l(t):n.isString(t)?function(e){return e.get(t)}:t},l=function(t){var e=n.matches(t);return function(t){return e(t.attributes)}},u=e.Events={},d=/\s+/,p=function(t,e,i,o,r){var s,a=0;if(i&&"object"==typeof i){void 0!==o&&"context"in r&&void 0===r.context&&(r.context=o);for(s=n.keys(i);a<s.length;a++)e=p(t,e,s[a],i[s[a]],r)}else if(i&&d.test(i))for(s=i.split(d);a<s.length;a++)e=t(e,s[a],o,r);else e=t(e,i,o,r);return e};u.on=function(t,e,n){return h(this,t,e,n)};var h=function(t,e,n,i,o){if(t._events=p(f,t._events||{},e,n,{context:i,ctx:t,listening:o}),o){(t._listeners||(t._listeners={}))[o.id]=o}return t};u.listenTo=function(t,e,i){if(!t)return this;var o=t._listenId||(t._listenId=n.uniqueId("l")),r=this._listeningTo||(this._listeningTo={}),s=r[o];if(!s){var a=this._listenId||(this._listenId=n.uniqueId("l"));s=r[o]={obj:t,objId:o,id:a,listeningTo:r,count:0}}return h(t,e,i,this,s),this};var f=function(t,e,n,i){if(n){var o=t[e]||(t[e]=[]),r=i.context,s=i.ctx,a=i.listening;a&&a.count++,o.push({callback:n,context:r,ctx:r||s,listening:a})}return t};u.off=function(t,e,n){return this._events?(this._events=p(m,this._events,t,e,{context:n,listeners:this._listeners}),this):this},u.stopListening=function(t,e,i){var o=this._listeningTo;if(!o)return this;for(var r=t?[t._listenId]:n.keys(o),s=0;s<r.length;s++){var a=o[r[s]];if(!a)break;a.obj.off(e,i,this)}return n.isEmpty(o)&&(this._listeningTo=void 0),this};var m=function(t,e,i,o){if(t){var r,s=0,a=o.context,c=o.listeners;if(e||i||a){for(var l=e?[e]:n.keys(t);s<l.length;s++){e=l[s];var u=t[e];if(!u)break;for(var d=[],p=0;p<u.length;p++){var h=u[p];i&&i!==h.callback&&i!==h.callback._callback||a&&a!==h.context?d.push(h):(r=h.listening)&&0==--r.count&&(delete c[r.id],delete r.listeningTo[r.objId])}d.length?t[e]=d:delete t[e]}return n.size(t)?t:void 0}for(var f=n.keys(c);s<f.length;s++)r=c[f[s]],delete c[r.id],delete r.listeningTo[r.objId]}};u.once=function(t,e,i){var o=p(g,{},t,e,n.bind(this.off,this));return this.on(o,void 0,i)},u.listenToOnce=function(t,e,i){var o=p(g,{},e,i,n.bind(this.stopListening,this,t));return this.listenTo(t,o)};var g=function(t,e,i,o){if(i){var r=t[e]=n.once(function(){o(e,r),i.apply(this,arguments)});r._callback=i}return t};u.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),n=Array(e),i=0;i<e;i++)n[i]=arguments[i+1];return p(v,this._events,t,void 0,n),this};var v=function(t,e,n,i){if(t){var o=t[e],r=t.all;o&&r&&(r=r.slice()),o&&b(o,i),r&&b(r,[e].concat(i))}return t},b=function(t,e){var n,i=-1,o=t.length,r=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++i<o;)(n=t[i]).callback.call(n.ctx);return;case 1:for(;++i<o;)(n=t[i]).callback.call(n.ctx,r);return;case 2:for(;++i<o;)(n=t[i]).callback.call(n.ctx,r,s);return;case 3:for(;++i<o;)(n=t[i]).callback.call(n.ctx,r,s,a);return;default:for(;++i<o;)(n=t[i]).callback.apply(n.ctx,e);return}};u.bind=u.on,u.unbind=u.off,n.extend(e,u);var y=e.Model=function(t,e){var i=t||{};e||(e={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),i=n.defaults({},i,n.result(this,"defaults")),this.set(i,e),this.changed={},this.initialize.apply(this,arguments)};n.extend(y.prototype,u,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(){return n.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return n.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!n.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null==t)return this;var o;if("object"==typeof t?(o=t,i=e):(o={})[t]=e,i||(i={}),!this._validate(o,i))return!1;var r=i.unset,s=i.silent,a=[],c=this._changing;this._changing=!0,c||(this._previousAttributes=n.clone(this.attributes),this.changed={});var l=this.attributes,u=this.changed,d=this._previousAttributes;for(var p in o)e=o[p],n.isEqual(l[p],e)||a.push(p),n.isEqual(d[p],e)?delete u[p]:u[p]=e,r?delete l[p]:l[p]=e;if(this.id=this.get(this.idAttribute),!s){a.length&&(this._pending=i);for(var h=0;h<a.length;h++)this.trigger("change:"+a[h],this,l[a[h]],i)}if(c)return this;if(!s)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,n.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,n.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!n.isEmpty(this.changed):n.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&n.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,i={};for(var o in t){var r=t[o];n.isEqual(e[o],r)||(i[o]=r)}return!!n.size(i)&&i},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(t){t=n.extend({parse:!0},t);var e=this,i=t.success;return t.success=function(n){var o=t.parse?e.parse(n,t):n;if(!e.set(o,t))return!1;i&&i.call(t.context,e,n,t),e.trigger("sync",e,n,t)},B(this,t),this.sync("read",this,t)},save:function(t,e,i){var o;null==t||"object"==typeof t?(o=t,i=e):(o={})[t]=e,i=n.extend({validate:!0,parse:!0},i);var r=i.wait;if(o&&!r){if(!this.set(o,i))return!1}else if(!this._validate(o,i))return!1;var s=this,a=i.success,c=this.attributes;i.success=function(t){s.attributes=c;var e=i.parse?s.parse(t,i):t;if(r&&(e=n.extend({},o,e)),e&&!s.set(e,i))return!1;a&&a.call(i.context,s,t,i),s.trigger("sync",s,t,i)},B(this,i),o&&r&&(this.attributes=n.extend({},c,o));var l=this.isNew()?"create":i.patch?"patch":"update";"patch"!==l||i.attrs||(i.attrs=o);var u=this.sync(l,this,i);return this.attributes=c,u},destroy:function(t){t=t?n.clone(t):{};var e=this,i=t.success,o=t.wait,r=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(n){o&&r(),i&&i.call(t.context,e,n,t),e.isNew()||e.trigger("sync",e,n,t)};var s=!1;return this.isNew()?n.defer(t.success):(B(this,t),s=this.sync("delete",this,t)),o||r(),s},url:function(){var t=n.result(this,"urlRoot")||n.result(this.collection,"url")||P();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},n.defaults({validate:!0},t))},_validate:function(t,e){
if(!e.validate||!this.validate)return!0;t=n.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,n.extend(e,{validationError:i})),!1)}}),a(y,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var _=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,n.extend({silent:!0},e))},M={add:!0,remove:!0,merge:!0},w={add:!0,remove:!1},A=function(t,e,n){n=Math.min(Math.max(n,0),t.length);for(var i=Array(t.length-n),o=e.length,r=0;r<i.length;r++)i[r]=t[r+n];for(r=0;r<o;r++)t[r+n]=e[r];for(r=0;r<i.length;r++)t[r+o+n]=i[r]};n.extend(_.prototype,u,{model:y,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,n.extend({merge:!1},e,w))},remove:function(t,e){e=n.extend({},e);var i=!n.isArray(t);t=i?[t]:n.clone(t);var o=this._removeModels(t,e);return!e.silent&&o&&this.trigger("update",this,e),i?o[0]:o},set:function(t,e){if(null!=t){e=n.defaults({},e,M),e.parse&&!this._isModel(t)&&(t=this.parse(t,e));var i=!n.isArray(t);t=i?[t]:t.slice();var o=e.at;null!=o&&(o=+o),o<0&&(o+=this.length+1);for(var r,s=[],a=[],c=[],l={},u=e.add,d=e.merge,p=e.remove,h=!1,f=this.comparator&&null==o&&!1!==e.sort,m=n.isString(this.comparator)?this.comparator:null,g=0;g<t.length;g++){r=t[g];var v=this.get(r);if(v){if(d&&r!==v){var b=this._isModel(r)?r.attributes:r;e.parse&&(b=v.parse(b,e)),v.set(b,e),f&&!h&&(h=v.hasChanged(m))}l[v.cid]||(l[v.cid]=!0,s.push(v)),t[g]=v}else u&&(r=t[g]=this._prepareModel(r,e))&&(a.push(r),this._addReference(r,e),l[r.cid]=!0,s.push(r))}if(p){for(g=0;g<this.length;g++)r=this.models[g],l[r.cid]||c.push(r);c.length&&this._removeModels(c,e)}var y=!1,_=!f&&u&&p;if(s.length&&_?(y=this.length!=s.length||n.some(this.models,function(t,e){return t!==s[e]}),this.models.length=0,A(this.models,s,0),this.length=this.models.length):a.length&&(f&&(h=!0),A(this.models,a,null==o?this.length:o),this.length=this.models.length),h&&this.sort({silent:!0}),!e.silent){for(g=0;g<a.length;g++)null!=o&&(e.index=o+g),r=a[g],r.trigger("add",r,this,e);(h||y)&&this.trigger("sort",this,e),(a.length||c.length)&&this.trigger("update",this,e)}return i?t[0]:t}},reset:function(t,e){e=e?n.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,n.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,n.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,n.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return r.apply(this.models,arguments)},get:function(t){if(null!=t){var e=this.modelId(this._isModel(t)?t.attributes:t);return this._byId[t]||this._byId[e]||this._byId[t.cid]}},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var i=e.length;return n.isFunction(e)&&(e=n.bind(e,this)),1===i||n.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return n.invoke(this.models,"get",t)},fetch:function(t){t=n.extend({parse:!0},t);var e=t.success,i=this;return t.success=function(n){var o=t.reset?"reset":"set";i[o](n,t),e&&e.call(t.context,i,n,t),i.trigger("sync",i,n,t)},B(this,t),this.sync("read",this,t)},create:function(t,e){e=e?n.clone(e):{};var i=e.wait;if(!(t=this._prepareModel(t,e)))return!1;i||this.add(t,e);var o=this,r=e.success;return e.success=function(t,e,n){i&&o.add(t,n),r&&r.call(n.context,t,e,n)},t.save(null,e),t},parse:function(t){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;e=e?n.clone(e):{},e.collection=this;var i=new this.model(t,e);return i.validationError?(this.trigger("invalid",this,i.validationError,e),!1):i},_removeModels:function(t,e){for(var n=[],i=0;i<t.length;i++){var o=this.get(t[i]);if(o){var r=this.indexOf(o);this.models.splice(r,1),this.length--,e.silent||(e.index=r,o.trigger("remove",o,this,e)),n.push(o),this._removeReference(o,e)}}return!!n.length&&n},_isModel:function(t){return t instanceof y},_addReference:function(t){this._byId[t.cid]=t;var e=this.modelId(t.attributes);null!=e&&(this._byId[e]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t){delete this._byId[t.cid];var e=this.modelId(t.attributes);null!=e&&delete this._byId[e],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,i){if("add"!==t&&"remove"!==t||n===this){if("destroy"===t&&this.remove(e,i),"change"===t){var o=this.modelId(e.previousAttributes()),r=this.modelId(e.attributes);o!==r&&(null!=o&&delete this._byId[o],null!=r&&(this._byId[r]=e))}this.trigger.apply(this,arguments)}}}),a(_,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3},"models");var T=e.View=function(t){this.cid=n.uniqueId("view"),n.extend(this,n.pick(t,z)),this._ensureElement(),this.initialize.apply(this,arguments)},k=/^(\S+)\s*(.*)$/,z=["model","collection","el","id","attributes","className","tagName","events"];n.extend(T.prototype,u,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=n.result(this,"events")),!t)return this;this.undelegateEvents();for(var e in t){var i=t[e];if(n.isFunction(i)||(i=this[i]),i){var o=e.match(k);this.delegate(o[1],o[2],n.bind(i,this))}}return this},delegate:function(t,e,n){return this.$el.on(t+".delegateEvents"+this.cid,e,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,n){return this.$el.off(t+".delegateEvents"+this.cid,e,n),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var t=n.extend({},n.result(this,"attributes"));this.id&&(t.id=n.result(this,"id")),this.className&&(t["class"]=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,i,o){var r=x[t];n.defaults(o||(o={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var s={type:r,dataType:"json"};if(o.url||(s.url=n.result(i,"url")||P()),null!=o.data||!i||"create"!==t&&"update"!==t&&"patch"!==t||(s.contentType="application/json",s.data=JSON.stringify(o.attrs||i.toJSON(o))),o.emulateJSON&&(s.contentType="application/x-www-form-urlencoded",s.data=s.data?{model:s.data}:{}),o.emulateHTTP&&("PUT"===r||"DELETE"===r||"PATCH"===r)){s.type="POST",o.emulateJSON&&(s.data._method=r);var a=o.beforeSend;o.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",r),a)return a.apply(this,arguments)}}"GET"===s.type||o.emulateJSON||(s.processData=!1);var c=o.error;o.error=function(t,e,n){o.textStatus=e,o.errorThrown=n,c&&c.call(o.context,t,e,n)};var l=o.xhr=e.ajax(n.extend(s,o));return i.trigger("request",i,l,o),l};var x={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},C=/\((.*?)\)/g,S=/(\(\?)?:\w+/g,O=/\*\w+/g,N=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend($.prototype,u,{initialize:function(){},route:function(t,i,o){n.isRegExp(t)||(t=this._routeToRegExp(t)),n.isFunction(i)&&(o=i,i=""),o||(o=this[i]);var r=this;return e.history.route(t,function(n){var s=r._extractParameters(t,n);!1!==r.execute(o,s,i)&&(r.trigger.apply(r,["route:"+i].concat(s)),r.trigger("route",i,s),e.history.trigger("route",r,i,s))}),this},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,n){return e.history.navigate(t,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var t,e=n.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(N,"\\$&").replace(C,"(?:$1)?").replace(S,function(t,e){return e?t:"([^/?]+)"}).replace(O,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return n.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}});var L=e.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},E=/^[#\/]|\s+$/g,j=/^\/+|\/+$/g,D=/#.*$/;L.started=!1,n.extend(L.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(E,"")},start:function(t){if(L.started)throw new Error("Backbone.history has already been started");if(L.started=!0,this.options=n.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(j,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,o=i.insertBefore(this.iframe,i.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var r=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?r("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?r("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),L.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),n.some(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!L.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var n=this.root;""!==t&&"?"!==t.charAt(0)||(n=n.slice(0,-1)||"/");var i=n+t;if(t=this.decodeFragment(t.replace(D,"")),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var o=this.iframe.contentWindow;e.replace||(o.document.open(),o.document.close()),this._updateHash(o.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var i=t.href.replace(/(javascript:|#).*$/,"");t.replace(i+"#"+e)}else t.hash="#"+e}}),e.history=new L;var q=function(t,e){var i,o=this;i=t&&n.has(t,"constructor")?t.constructor:function(){return o.apply(this,arguments)},n.extend(i,o,e);var r=function(){this.constructor=i};return r.prototype=o.prototype,i.prototype=new r,t&&n.extend(i.prototype,t),i.__super__=o.prototype,i};y.extend=_.extend=$.extend=T.extend=L.extend=q;var P=function(){throw new Error('A "url" property or function must be specified')},B=function(t,e){var n=e.error;e.error=function(i){n&&n.call(e.context,t,i,e),t.trigger("error",t,i,e)}};return e}),function(t){"use strict";t(function(){t.support.transition=function(){var t=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(e.style[t]!==undefined)return n[t]}();return t&&{end:t}}()})}(window.jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.prototype.close=function(e){function n(){i.trigger("closed").remove()}var i,o=t(this),r=o.attr("data-target");r||(r=o.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=t(r),e&&e.preventDefault(),i.length||(i=o.hasClass("alert")?o:o.parent()),i.trigger(e=t.Event("close")),e.isDefaultPrevented()||(i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.on(t.support.transition.end,n):n())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),o=i.data("alert");o||i.data("alert",o=new n(this)),"string"==typeof e&&o[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.alert.data-api",e,n.prototype.close)}(window.jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.options=t.extend({},t.fn.button.defaults,n)};e.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.data(),o=n.is("input")?"val":"html";t+="Text",i.resetText||n.data("resetText",n[o]()),n[o](i[t]||this.options[t]),setTimeout(function(){"loadingText"==t?n.addClass(e).attr(e,e):n.removeClass(e).removeAttr(e)},0)},e.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons-radio"]');t&&t.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=function(n){return this.each(function(){var i=t(this),o=i.data("button"),r="object"==typeof n&&n;o||i.data("button",o=new e(this,r)),"toggle"==n?o.toggle():n&&o.setState(n)})},t.fn.button.defaults={loadingText:"loading..."},t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.button.data-api","[data-toggle^=button]",function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,"hover"==this.options.pause&&this.$element.on("mouseenter",t.proxy(this.pause,this)).on("mouseleave",t.proxy(this.cycle,this))};e.prototype={cycle:function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(e){var n=this.getActiveIndex(),i=this;if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid",function(){i.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",t(this.$items[e]))},pause:function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition.end&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(!this.sliding)return this.slide("next")},prev:function(){if(!this.sliding)return this.slide("prev")},slide:function(e,n){var i,o=this.$element.find(".item.active"),r=n||o[e](),s=this.interval,a="next"==e?"left":"right",c="next"==e?"first":"last",l=this;if(this.sliding=!0,s&&this.pause(),r=r.length?r:this.$element.find(".item")[c](),i=t.Event("slide",{relatedTarget:r[0],direction:a}),!r.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var e=t(l.$indicators.children()[l.getActiveIndex()]);e&&e.addClass("active")})),t.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(i),i.isDefaultPrevented())return;r.addClass(e),r[0].offsetWidth,o.addClass(a),r.addClass(a),this.$element.one(t.support.transition.end,function(){r.removeClass([e,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger("slid")},0)})}else{if(this.$element.trigger(i),i.isDefaultPrevented())return;o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}}};var n=t.fn.carousel;t.fn.carousel=function(n){return this.each(function(){var i=t(this),o=i.data("carousel"),r=t.extend({},t.fn.carousel.defaults,"object"==typeof n&&n),s="string"==typeof n?n:r.slide;o||i.data("carousel",o=new e(this,r)),"number"==typeof n?o.to(n):s?o[s]():r.interval&&o.pause().cycle()})},t.fn.carousel.defaults={interval:5e3,pause:"hover"},t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this},t(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(e){var n,i,o=t(this),r=t(o.attr("data-target")||(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")),s=t.extend({},r.data(),o.data());r.carousel(s),(i=o.attr("data-slide-to"))&&r.data("carousel").pause().to(i).cycle(),e.preventDefault()})}(window.jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.options=t.extend({},t.fn.collapse.defaults,n),this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};e.prototype={constructor:e,dimension:function(){return this.$element.hasClass("width")?"width":"height"},show:function(){var e,n,i,o;if(!this.transitioning&&!this.$element.hasClass("in")){if(e=this.dimension(),n=t.camelCase(["scroll",e].join("-")),(i=this.$parent&&this.$parent.find("> .accordion-group > .in"))&&i.length){if((o=i.data("collapse"))&&o.transitioning)return;i.collapse("hide"),o||i.data("collapse",null)}this.$element[e](0),this.transition("addClass",t.Event("show"),"shown"),t.support.transition&&this.$element[e](this.$element[0][n])}},hide:function(){var e;!this.transitioning&&this.$element.hasClass("in")&&(e=this.dimension(),this.reset(this.$element[e]()),this.transition("removeClass",t.Event("hide"),"hidden"),this.$element[e](0))},reset:function(t){var e=this.dimension();return this.$element.removeClass("collapse")[e](t||"auto")[0].offsetWidth,this.$element[null!==t?"addClass":"removeClass"]("collapse"),this},transition:function(e,n,i){var o=this,r=function(){"show"==n.type&&o.reset(),o.transitioning=0,o.$element.trigger(i)};this.$element.trigger(n),n.isDefaultPrevented()||(this.transitioning=1,this.$element[e]("in"),t.support.transition&&this.$element.hasClass("collapse")?this.$element.one(t.support.transition.end,r):r())},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=t.fn.collapse;t.fn.collapse=function(n){return this.each(function(){var i=t(this),o=i.data("collapse"),r=t.extend({},t.fn.collapse.defaults,i.data(),"object"==typeof n&&n);o||i.data("collapse",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.collapse.defaults={toggle:!0},t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.collapse.data-api","[data-toggle=collapse]",function(e){var n,i=t(this),o=i.attr("data-target")||e.preventDefault()||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),r=t(o).data("collapse")?"toggle":i.data();i[t(o).hasClass("in")?"addClass":"removeClass"]("collapsed"),t(o).collapse(r)})}(window.jQuery),function(t){"use strict";function e(){t(i).each(function(){n(t(this)).removeClass("open")})}function n(e){var n,i=e.attr("data-target");return i||(i=e.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),n=i&&t(i),n&&n.length||(n=e.parent()),n}var i="[data-toggle=dropdown]",o=function(e){var n=t(e).on("click.dropdown.data-api",this.toggle);t("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};o.prototype={constructor:o,toggle:function(){var i,o,r=t(this);if(!r.is(".disabled, :disabled"))return i=n(r),o=i.hasClass("open"),e(),o||i.toggleClass("open"),r.focus(),!1},keydown:function(e){var o,r,s,a,c;if(/(38|40|27)/.test(e.keyCode)&&(o=t(this),e.preventDefault(),e.stopPropagation(),!o.is(".disabled, :disabled"))){if(s=n(o),!(a=s.hasClass("open"))||a&&27==e.keyCode)return 27==e.which&&s.find(i).focus(),o.click();r=t("[role=menu] li:not(.divider):visible a",s),r.length&&(c=r.index(r.filter(":focus")),38==e.keyCode&&c>0&&c--,40==e.keyCode&&c<r.length-1&&c++,~c||(c=0),r.eq(c).focus())}}};var r=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("dropdown");i||n.data("dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.dropdown.data-api",e).on("click.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.dropdown-menu",function(t){t.stopPropagation()}).on("click.dropdown.data-api",i,o.prototype.toggle).on("keydown.dropdown.data-api",i+", [role=menu]",o.prototype.keydown)}(window.jQuery),function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e).delegate('[data-dismiss="modal"]',"click.dismiss.modal",t.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};e.prototype={constructor:e,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var e=this,n=t.Event("show");this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.backdrop(function(){var n=t.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(document.body),e.$element.show(),n&&e.$element[0].offsetWidth,e.$element.addClass("in").attr("aria-hidden",!1),e.enforceFocus(),n?e.$element.one(t.support.transition.end,function(){e.$element.focus().trigger("shown")}):e.$element.focus().trigger("shown")}))},hide:function(e){e&&e.preventDefault();e=t.Event("hide"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),t(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),t.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal())},enforceFocus:function(){var e=this;t(document).on("focusin.modal",function(t){e.$element[0]===t.target||e.$element.has(t.target).length||e.$element.focus()})},escape:function(){var t=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(e){27==e.which&&t.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var e=this,n=setTimeout(function(){e.$element.off(t.support.transition.end),e.hideModal()},500);this.$element.one(t.support.transition.end,function(){clearTimeout(n),e.hideModal()})},hideModal:function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(e){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=t.support.transition&&n;if(this.$backdrop=t('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$backdrop.click("static"==this.options.backdrop?t.proxy(this.$element[0].focus,this.$element[0]):t.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;i?this.$backdrop.one(t.support.transition.end,e):e()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(t.support.transition.end,e):e()):e&&e()}};var n=t.fn.modal;t.fn.modal=function(n){return this.each(function(){var i=t(this),o=i.data("modal"),r=t.extend({},t.fn.modal.defaults,i.data(),"object"==typeof n&&n);o||i.data("modal",o=new e(this,r)),"string"==typeof n?o[n]():r.show&&o.show()})},t.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.modal.data-api",'[data-toggle="modal"]',function(e){var n=t(this),i=n.attr("href"),o=t(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),r=o.data("modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},o.data(),n.data());e.preventDefault(),o.modal(r).one("hide",function(){n.focus()})})}(window.jQuery),function(t){"use strict";var e=function(t,e){this.init("tooltip",t,e)};e.prototype={constructor:e,init:function(e,n,i){var o,r,s,a,c;for(this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.enabled=!0,s=this.options.trigger.split(" "),c=s.length;c--;)a=s[c],"click"==a?this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this)):"manual"!=a&&(o="hover"==a?"mouseenter":"focus",r="hover"==a?"mouseleave":"blur",this.$element.on(o+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.leave,this)));this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(e){return e=t.extend({},t.fn[this.type].defaults,this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},enter:function(e){var n,i=t.fn[this.type].defaults,o={};if(this._options&&t.each(this._options,function(t,e){i[t]!=e&&(o[t]=e)},this),n=t(e.currentTarget)[this.type](o).data(this.type),!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)},leave:function(e){var n=t(e.currentTarget)[this.type](this._options).data(this.type);if(this.timeout&&clearTimeout(this.timeout),!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)},show:function(){var e,n,i,o,r,s,a=t.Event("show");if(this.hasContent()&&this.enabled){if(this.$element.trigger(a),a.isDefaultPrevented())return;switch(e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),r="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,e.detach().css({top:0,left:0,display:"block"}),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element),n=this.getPosition(),i=e[0].offsetWidth,o=e[0].offsetHeight,r){case"bottom":s={top:n.top+n.height,left:n.left+n.width/2-i/2};break;case"top":s={top:n.top-o,left:n.left+n.width/2-i/2};break;case"left":s={top:n.top+n.height/2-o/2,left:n.left-i};break;case"right":s={top:n.top+n.height/2-o/2,left:n.left+n.width}}this.applyPlacement(s,r),this.$element.trigger("shown")}},applyPlacement:function(t,e){var n,i,o,r,s=this.tip(),a=s[0].offsetWidth,c=s[0].offsetHeight;s.offset(t).addClass(e).addClass("in"),n=s[0].offsetWidth,i=s[0].offsetHeight,"top"==e&&i!=c&&(t.top=t.top+c-i,r=!0),"bottom"==e||"top"==e?(o=0,t.left<0&&(o=-2*t.left,t.left=0,s.offset(t),n=s[0].offsetWidth,i=s[0].offsetHeight),this.replaceArrow(o-a+n,n,"left")):this.replaceArrow(i-c,i,"top"),r&&s.offset(t)},replaceArrow:function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},setContent:function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},hide:function(){function e(){var e=setTimeout(function(){n.off(t.support.transition.end).detach()},500);n.one(t.support.transition.end,function(){clearTimeout(e),n.detach()})}var n=this.tip(),i=t.Event("hide");if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?e():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},getTitle:function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},tip:function(){return this.$tip=this.$tip||t(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(e){var n=e?t(e.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),o=i.data("tooltip"),r="object"==typeof n&&n;o||i.data("tooltip",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.tooltip.Constructor=e,t.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(window.jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype,{constructor:e,setContent:function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var t=this.$element,e=this.options;return("function"==typeof e.content?e.content.call(t[0]):e.content)||t.attr("data-content")},tip:function(){
return this.$tip||(this.$tip=t(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),o=i.data("popover"),r="object"==typeof n&&n;o||i.data("popover",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.popover.Constructor=e,t.fn.popover.defaults=t.extend({},t.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(window.jQuery),function(t){"use strict";function e(e,n){var i,o=t.proxy(this.process,this),r=t(t(e).is("body")?window:e);this.options=t.extend({},t.fn.scrollspy.defaults,n),this.$scrollElement=r.on("scroll.scroll-spy.data-api",o),this.selector=(this.options.target||(i=t(e).attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=t("body"),this.refresh(),this.process()}e.prototype={constructor:e,refresh:function(){var e=this;this.offsets=t([]),this.targets=t([]),this.$body.find(this.selector).map(function(){var n=t(this),i=n.data("target")||n.attr("href"),o=/^#\w/.test(i)&&t(i);return o&&o.length&&[[o.position().top+(!t.isWindow(e.$scrollElement.get(0))&&e.$scrollElement.scrollTop()),i]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},process:function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,i=n-this.$scrollElement.height(),o=this.offsets,r=this.targets,s=this.activeTarget;if(e>=i)return s!=(t=r.last()[0])&&this.activate(t);for(t=o.length;t--;)s!=r[t]&&e>=o[t]&&(!o[t+1]||e<=o[t+1])&&this.activate(r[t])},activate:function(e){var n,i;this.activeTarget=e,t(this.selector).parent(".active").removeClass("active"),i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=t.fn.scrollspy;t.fn.scrollspy=function(n){return this.each(function(){var i=t(this),o=i.data("scrollspy"),r="object"==typeof n&&n;o||i.data("scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.scrollspy.Constructor=e,t.fn.scrollspy.defaults={offset:10},t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);e.scrollspy(e.data())})})}(window.jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};e.prototype={constructor:e,show:function(){var e,n,i,o=this.element,r=o.closest("ul:not(.dropdown-menu)"),s=o.attr("data-target");s||(s=o.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,"")),o.parent("li").hasClass("active")||(e=r.find(".active:last a")[0],i=t.Event("show",{relatedTarget:e}),o.trigger(i),i.isDefaultPrevented()||(n=t(s),this.activate(o.parent("li"),r),this.activate(n,n.parent(),function(){o.trigger({type:"shown",relatedTarget:e})})))},activate:function(e,n,i){function o(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),i&&i()}var r=n.find("> .active"),s=i&&t.support.transition&&r.hasClass("fade");s?r.one(t.support.transition.end,o):o(),r.removeClass("in")}};var n=t.fn.tab;t.fn.tab=function(n){return this.each(function(){var i=t(this),o=i.data("tab");o||i.data("tab",o=new e(this)),"string"==typeof n&&o[n]()})},t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this},t(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),t(this).tab("show")})}(window.jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.options=t.extend({},t.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=t(this.options.menu),this.shown=!1,this.listen()};e.prototype={constructor:e,select:function(){var t=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(t)).change(),this.hide()},updater:function(t){return t},show:function(){var e=t.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:e.top+e.height,left:e.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(){var e;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(e=t.isFunction(this.source)?this.source(this.query,t.proxy(this.process,this)):this.source,e?this.process(e):this)},process:function(e){var n=this;return e=t.grep(e,function(t){return n.matcher(t)}),e=this.sorter(e),e.length?this.render(e.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(t){return~t.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(t){for(var e,n=[],i=[],o=[];e=t.shift();)e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?i.push(e):o.push(e):n.push(e);return n.concat(i,o)},highlighter:function(t){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return t.replace(new RegExp("("+e+")","ig"),function(t,e){return"<strong>"+e+"</strong>"})},render:function(e){var n=this;return e=t(e).map(function(e,i){return e=t(n.options.item).attr("data-value",i),e.find("a").html(n.highlighter(i)),e[0]}),e.first().addClass("active"),this.$menu.html(e),this},next:function(){var e=this.$menu.find(".active").removeClass("active"),n=e.next();n.length||(n=t(this.$menu.find("li")[0])),n.addClass("active")},prev:function(){var t=this.$menu.find(".active").removeClass("active"),e=t.prev();e.length||(e=this.$menu.find("li").last()),e.addClass("active")},listen:function(){this.$element.on("focus",t.proxy(this.focus,this)).on("blur",t.proxy(this.blur,this)).on("keypress",t.proxy(this.keypress,this)).on("keyup",t.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",t.proxy(this.keydown,this)),this.$menu.on("click",t.proxy(this.click,this)).on("mouseenter","li",t.proxy(this.mouseenter,this)).on("mouseleave","li",t.proxy(this.mouseleave,this))},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},move:function(t){if(this.shown){switch(t.keyCode){case 9:case 13:case 27:t.preventDefault();break;case 38:t.preventDefault(),this.prev();break;case 40:t.preventDefault(),this.next()}t.stopPropagation()}},keydown:function(e){this.suppressKeyPressRepeat=~t.inArray(e.keyCode,[40,38,9,13,27]),this.move(e)},keypress:function(t){this.suppressKeyPressRepeat||this.move(t)},keyup:function(t){switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}t.stopPropagation(),t.preventDefault()},focus:function(){this.focused=!0},blur:function(){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(t){t.stopPropagation(),t.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(e){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),t(e.currentTarget).addClass("active")},mouseleave:function(){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=t.fn.typeahead;t.fn.typeahead=function(n){return this.each(function(){var i=t(this),o=i.data("typeahead"),r="object"==typeof n&&n;o||i.data("typeahead",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},t.fn.typeahead.Constructor=e,t.fn.typeahead.noConflict=function(){return t.fn.typeahead=n,this},t(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(){var e=t(this);e.data("typeahead")||e.typeahead(e.data())})}(window.jQuery),function(t){"use strict";var e=function(e,n){this.options=t.extend({},t.fn.affix.defaults,n),this.$window=t(window).on("scroll.affix.data-api",t.proxy(this.checkPosition,this)).on("click.affix.data-api",t.proxy(function(){setTimeout(t.proxy(this.checkPosition,this),1)},this)),this.$element=t(e),this.checkPosition()};e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e,n=t(document).height(),i=this.$window.scrollTop(),o=this.$element.offset(),r=this.options.offset,s=r.bottom,a=r.top,c="affix affix-top affix-bottom";"object"!=typeof r&&(s=a=r),"function"==typeof a&&(a=r.top()),"function"==typeof s&&(s=r.bottom()),e=!(null!=this.unpin&&i+this.unpin<=o.top)&&(null!=s&&o.top+this.$element.height()>=n-s?"bottom":null!=a&&i<=a&&"top"),this.affixed!==e&&(this.affixed=e,this.unpin="bottom"==e?o.top-i:null,this.$element.removeClass(c).addClass("affix"+(e?"-"+e:"")))}};var n=t.fn.affix;t.fn.affix=function(n){return this.each(function(){var i=t(this),o=i.data("affix"),r="object"==typeof n&&n;o||i.data("affix",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.affix.Constructor=e,t.fn.affix.defaults={offset:0},t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),n=e.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),e.affix(n)})})}(window.jQuery),function(t,e){"use strict";var n,i=e.event;i.special.smartresize={setup:function(){e(this).bind("resize",i.special.smartresize.handler)},teardown:function(){e(this).unbind("resize",i.special.smartresize.handler)},handler:function(t,i){var o=this,r=arguments;t.type="smartresize",n&&clearTimeout(n),n=setTimeout(function(){e.event.handle.apply(o,r)},"execAsap"===i?0:100)}},e.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},e.Mason=function(t,n){this.element=e(n),this._create(t),this._init()},e.Mason.settings={isResizable:!0,isAnimated:!1,animationOptions:{queue:!1,duration:500},gutterWidth:0,isRTL:!1,isFitWidth:!1,containerStyle:{position:"relative"}},e.Mason.prototype={_filterFindBricks:function(t){var e=this.options.itemSelector;return e?t.filter(e).add(t.find(e)):t},_getBricks:function(t){return this._filterFindBricks(t).css({position:"absolute"}).addClass("masonry-brick")},_create:function(n){this.options=e.extend(!0,{},e.Mason.settings,n),this.styleQueue=[];var i=this.element[0].style;this.originalStyle={height:i.height||""};var o=this.options.containerStyle;for(var r in o)this.originalStyle[r]=i[r]||"";this.element.css(o),this.horizontalDirection=this.options.isRTL?"right":"left",this.offset={x:parseInt(this.element.css("padding-"+this.horizontalDirection),10),y:parseInt(this.element.css("padding-top"),10)},this.isFluid=this.options.columnWidth&&"function"==typeof this.options.columnWidth;var s=this;setTimeout(function(){s.element.addClass("masonry")},0),this.options.isResizable&&e(t).bind("smartresize.masonry",function(){s.resize()}),this.reloadItems()},_init:function(t){this._getColumns(),this._reLayout(t)},option:function(t){e.isPlainObject(t)&&(this.options=e.extend(!0,this.options,t))},layout:function(t,e){for(var n=0,i=t.length;n<i;n++)this._placeBrick(t[n]);var o={};if(o.height=Math.max.apply(Math,this.colYs),this.options.isFitWidth){var r=0;for(n=this.cols;--n&&0===this.colYs[n];)r++;o.width=(this.cols-r)*this.columnWidth-this.options.gutterWidth}this.styleQueue.push({$el:this.element,style:o});var s,a=this.isLaidOut&&this.options.isAnimated?"animate":"css",c=this.options.animationOptions;for(n=0,i=this.styleQueue.length;n<i;n++)s=this.styleQueue[n],s.$el[a](s.style,c);this.styleQueue=[],e&&e.call(t),this.isLaidOut=!0},_getColumns:function(){var t=this.options.isFitWidth?this.element.parent():this.element,e=t.width();this.columnWidth=this.isFluid?this.options.columnWidth(e):this.options.columnWidth||this.$bricks.outerWidth(!0)||e,this.columnWidth+=this.options.gutterWidth,this.cols=Math.floor((e+this.options.gutterWidth)/this.columnWidth),this.cols=Math.max(this.cols,1)},_placeBrick:function(t){var n,i,o,r,s,a=e(t);if(n=Math.ceil(a.outerWidth(!0)/(this.columnWidth+this.options.gutterWidth)),1===(n=Math.min(n,this.cols)))o=this.colYs;else for(i=this.cols+1-n,o=[],s=0;s<i;s++)r=this.colYs.slice(s,s+n),o[s]=Math.max.apply(Math,r);for(var c=Math.min.apply(Math,o),l=0,u=0,d=o.length;u<d;u++)if(o[u]===c){l=u;break}var p={top:c+this.offset.y};p[this.horizontalDirection]=this.columnWidth*l+this.offset.x,this.styleQueue.push({$el:a,style:p});var h=c+a.outerHeight(!0),f=this.cols+1-d;for(u=0;u<f;u++)this.colYs[l+u]=h},resize:function(){var t=this.cols;this._getColumns(),(this.isFluid||this.cols!==t)&&this._reLayout()},_reLayout:function(t){var e=this.cols;for(this.colYs=[];e--;)this.colYs.push(0);this.layout(this.$bricks,t)},reloadItems:function(){this.$bricks=this._getBricks(this.element.children())},reload:function(t){this.reloadItems(),this._init(t)},appended:function(t,e,n){if(e){this._filterFindBricks(t).css({top:this.element.height()});var i=this;setTimeout(function(){i._appended(t,n)},1)}else this._appended(t,n)},_appended:function(t,e){var n=this._getBricks(t);this.$bricks=this.$bricks.add(n),this.layout(n,e)},remove:function(t){this.$bricks=this.$bricks.not(t),t.remove()},destroy:function(){this.$bricks.removeClass("masonry-brick").each(function(){this.style.position="",this.style.top="",this.style.left=""});var n=this.element[0].style;for(var i in this.originalStyle)n[i]=this.originalStyle[i];this.element.unbind(".masonry").removeClass("masonry").removeData("masonry"),e(t).unbind(".masonry")}},e.fn.imagesLoaded=function(t){function n(){t.call(o,r)}function i(t){var o=t.target;o.src!==a&&-1===e.inArray(o,c)&&(c.push(o),--s<=0&&(setTimeout(n),r.unbind(".imagesLoaded",i)))}var o=this,r=o.find("img").add(o.filter("img")),s=r.length,a="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",c=[];return s||n(),r.bind("load.imagesLoaded error.imagesLoaded",i).each(function(){var t=this.src;this.src=a,this.src=t}),o};var o=function(e){t.console&&t.console.error(e)};e.fn.masonry=function(t){if("string"==typeof t){var n=Array.prototype.slice.call(arguments,1);this.each(function(){var i=e.data(this,"masonry");return i?e.isFunction(i[t])&&"_"!==t.charAt(0)?void i[t].apply(i,n):void o("no such method '"+t+"' for masonry instance"):void o("cannot call methods on masonry prior to initialization; attempted to call method '"+t+"'")})}else this.each(function(){var n=e.data(this,"masonry");n?(n.option(t||{}),n._init()):e.data(this,"masonry",new e.Mason(t,this))});return this}}(window,jQuery),function(t,e,n){function i(t){var e={},i=/^jQuery\d+$/;return n.each(t.attributes,function(t,n){n.specified&&!i.test(n.name)&&(e[n.name]=n.value)}),e}function o(t,i){var o=this,r=n(o);if(o.value==r.attr("placeholder")&&r.hasClass("placeholder"))if(r.data("placeholder-password")){if(r=r.hide().next().show().attr("id",r.removeAttr("id").data("placeholder-id")),!0===t)return r[0].value=i;r.focus()}else o.value="",r.removeClass("placeholder"),o==e.activeElement&&o.select()}function r(){var t,e=this,r=n(e),s=this.id;if(""==e.value){if("password"==e.type){if(!r.data("placeholder-textinput")){try{t=r.clone().attr({type:"text"})}catch(e){t=n("<input>").attr(n.extend(i(this),{type:"text"}))}t.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":s}).bind("focus.placeholder",o),r.data({"placeholder-textinput":t,"placeholder-id":s}).before(t)}r=r.removeAttr("id").hide().prev().attr("id",s).show()}r.addClass("placeholder"),r[0].value=r.attr("placeholder")}else r.removeClass("placeholder")}var s,a,c="placeholder"in e.createElement("input"),l="placeholder"in e.createElement("textarea"),u=n.fn,d=n.valHooks;c&&l?(a=u.placeholder=function(){return this},a.input=a.textarea=!0):(a=u.placeholder=function(){var t=this;return t.filter((c?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":o,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder"),t},a.input=c,a.textarea=l,s={get:function(t){var e=n(t);return e.data("placeholder-enabled")&&e.hasClass("placeholder")?"":t.value},set:function(t,i){var s=n(t);return s.data("placeholder-enabled")?(""==i?(t.value=i,t!=e.activeElement&&r.call(t)):s.hasClass("placeholder")?o.call(t,!0,i)||(t.value=i):t.value=i,s):t.value=i}},c||(d.input=s),l||(d.textarea=s),n(function(){n(e).delegate("form","submit.placeholder",function(){var t=n(".placeholder",this).each(o);setTimeout(function(){t.each(r)},10)})}),n(t).bind("beforeunload.placeholder",function(){n(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(t,e){function n(t){return t}function i(t){return decodeURIComponent(t.replace(o," "))}var o=/\+/g;t.cookie=function(o,r,s){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(r))||null==r)){if(s=t.extend({},t.cookie.defaults,s),null==r&&(s.expires=-1),"number"==typeof s.expires){var a=s.expires,c=s.expires=new Date;c.setDate(c.getDate()+a)}return r=String(r),e.cookie=[encodeURIComponent(o),"=",s.raw?r:encodeURIComponent(r),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("")}s=r||t.cookie.defaults||{};for(var l,u=s.raw?n:i,d=e.cookie.split("; "),p=0;l=d[p]&&d[p].split("=");p++)if(u(l.shift())===o)return u(l.join("="));return null},t.cookie.defaults={}}(jQuery,document),function($){function Timepicker(){this.regional=[],this.regional[""]={currentText:"Now",closeText:"Done",ampm:!1,amNames:["AM","A"],pmNames:["PM","P"],timeFormat:"hh:mm tt",timeSuffix:"",timeOnlyTitle:"Choose Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",millisecText:"Millisecond",timezoneText:"Time Zone",isRTL:!1},this._defaults={showButtonPanel:!0,timeOnly:!1,showHour:!0,showMinute:!0,showSecond:!1,showMillisec:!1,showTimezone:!1,showTime:!0,stepHour:1,stepMinute:1,stepSecond:1,stepMillisec:1,hour:0,minute:0,second:0,millisec:0,timezone:null,useLocalTimezone:!1,defaultTimezone:"+0000",hourMin:0,minuteMin:0,secondMin:0,millisecMin:0,hourMax:23,minuteMax:59,secondMax:59,millisecMax:999,minDateTime:null,maxDateTime:null,onSelect:null,hourGrid:0,minuteGrid:0,secondGrid:0,millisecGrid:0,alwaysSetTime:!0,separator:" ",altFieldTimeOnly:!0,altSeparator:null,altTimeSuffix:null,showTimepicker:!0,timezoneIso8601:!1,timezoneList:null,addSliderAccess:!1,sliderAccessArgs:null,controlType:"slider",defaultValue:null},$.extend(this._defaults,this.regional[""])}function isEmptyObject(t){var e;for(e in t)if(t.hasOwnProperty(t))return!1;return!0}function extendRemove(t,e){$.extend(t,e);for(var n in e)null!==e[n]&&e[n]!==undefined||(t[n]=e[n]);return t}if($.ui.timepicker=$.ui.timepicker||{},!$.ui.timepicker.version){$.extend($.ui,{timepicker:{version:"1.0.5"}}),$.extend(Timepicker.prototype,{$input:null,$altInput:null,$timeObj:null,inst:null,hour_slider:null,minute_slider:null,second_slider:null,millisec_slider:null,timezone_select:null,hour:0,minute:0,second:0,millisec:0,timezone:null,defaultTimezone:"+0000",hourMinOriginal:null,minuteMinOriginal:null,secondMinOriginal:null,millisecMinOriginal:null,hourMaxOriginal:null,minuteMaxOriginal:null,secondMaxOriginal:null,millisecMaxOriginal:null,ampm:"",formattedDate:"",formattedTime:"",formattedDateTime:"",timezoneList:null,units:["hour","minute","second","millisec"],control:null,setDefaults:function(t){return extendRemove(this._defaults,t||{}),this},_newInst:function($input,o){var tp_inst=new Timepicker,inlineSettings={},fns={},overrides,i;for(var attrName in this._defaults)if(this._defaults.hasOwnProperty(attrName)){var attrValue=$input.attr("time:"+attrName);if(attrValue)try{inlineSettings[attrName]=eval(attrValue)}catch(t){inlineSettings[attrName]=attrValue}}overrides={beforeShow:function(t,e){if($.isFunction(tp_inst._defaults.evnts.beforeShow))return tp_inst._defaults.evnts.beforeShow.call($input[0],t,e,tp_inst)},onChangeMonthYear:function(t,e,n){tp_inst._updateDateTime(n),$.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)&&tp_inst._defaults.evnts.onChangeMonthYear.call($input[0],t,e,n,tp_inst)},onClose:function(t,e){!0===tp_inst.timeDefined&&""!==$input.val()&&tp_inst._updateDateTime(e),$.isFunction(tp_inst._defaults.evnts.onClose)&&tp_inst._defaults.evnts.onClose.call($input[0],t,e,tp_inst)}};for(i in overrides)overrides.hasOwnProperty(i)&&(fns[i]=o[i]||null);if(tp_inst._defaults=$.extend({},this._defaults,inlineSettings,o,overrides,{evnts:fns,timepicker:tp_inst}),tp_inst.amNames=$.map(tp_inst._defaults.amNames,function(t){return t.toUpperCase()}),tp_inst.pmNames=$.map(tp_inst._defaults.pmNames,function(t){return t.toUpperCase()}),"string"==typeof tp_inst._defaults.controlType?("slider"==tp_inst._defaults.controlType&&$.fn.slider===undefined&&(tp_inst._defaults.controlType="select"),tp_inst.control=tp_inst._controls[tp_inst._defaults.controlType]):tp_inst.control=tp_inst._defaults.controlType,null===tp_inst._defaults.timezoneList){var timezoneList=["-1200","-1100","-1000","-0930","-0900","-0800","-0700","-0600","-0500","-0430","-0400","-0330","-0300","-0200","-0100","+0000","+0100","+0200","+0300","+0330","+0400","+0430","+0500","+0530","+0545","+0600","+0630","+0700","+0800","+0845","+0900","+0930","+1000","+1030","+1100","+1130","+1200","+1245","+1300","+1400"];tp_inst._defaults.timezoneIso8601&&(timezoneList=$.map(timezoneList,function(t){return"+0000"==t?"Z":t.substring(0,3)+":"+t.substring(3)})),tp_inst._defaults.timezoneList=timezoneList}return tp_inst.timezone=tp_inst._defaults.timezone,tp_inst.hour=tp_inst._defaults.hour,tp_inst.minute=tp_inst._defaults.minute,tp_inst.second=tp_inst._defaults.second,tp_inst.millisec=tp_inst._defaults.millisec,tp_inst.ampm="",tp_inst.$input=$input,o.altField&&(tp_inst.$altInput=$(o.altField).css({cursor:"pointer"}).focus(function(){$input.trigger("focus")})),0!==tp_inst._defaults.minDate&&0!==tp_inst._defaults.minDateTime||(tp_inst._defaults.minDate=new Date),0!==tp_inst._defaults.maxDate&&0!==tp_inst._defaults.maxDateTime||(tp_inst._defaults.maxDate=new Date),tp_inst._defaults.minDate!==undefined&&tp_inst._defaults.minDate instanceof Date&&(tp_inst._defaults.minDateTime=new Date(tp_inst._defaults.minDate.getTime())),tp_inst._defaults.minDateTime!==undefined&&tp_inst._defaults.minDateTime instanceof Date&&(tp_inst._defaults.minDate=new Date(tp_inst._defaults.minDateTime.getTime())),tp_inst._defaults.maxDate!==undefined&&tp_inst._defaults.maxDate instanceof Date&&(tp_inst._defaults.maxDateTime=new Date(tp_inst._defaults.maxDate.getTime())),tp_inst._defaults.maxDateTime!==undefined&&tp_inst._defaults.maxDateTime instanceof Date&&(tp_inst._defaults.maxDate=new Date(tp_inst._defaults.maxDateTime.getTime())),tp_inst.$input.bind("focus",function(){tp_inst._onFocus()}),tp_inst},_addTimePicker:function(t){var e=this.$altInput&&this._defaults.altFieldTimeOnly?this.$input.val()+" "+this.$altInput.val():this.$input.val();this.timeDefined=this._parseTime(e),this._limitMinMaxDateTime(t,!1),this._injectTimePicker()},_parseTime:function(t,e){if(this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),e||!this._defaults.timeOnly){var n=$.datepicker._get(this.inst,"dateFormat");try{var i=parseDateTimeInternal(n,this._defaults.timeFormat,t,$.datepicker._getFormatConfig(this.inst),this._defaults);if(!i.timeObj)return!1;$.extend(this,i.timeObj)}catch(t){return!1}return!0}var o=$.datepicker.parseTime(this._defaults.timeFormat,t,this._defaults);return!!o&&($.extend(this,o),!0)},_injectTimePicker:function(){var t=this.inst.dpDiv,e=this.inst.settings,n=this,i="",o="",r={},s={},a=null;if(0===t.find("div.ui-timepicker-div").length&&e.showTimepicker){for(var c=' style="display:none;"',l='<div class="ui-timepicker-div'+(e.isRTL?" ui-timepicker-rtl":"")+'"><dl><dt class="ui_tpicker_time_label"'+(e.showTime?"":c)+">"+e.timeText+'</dt><dd class="ui_tpicker_time"'+(e.showTime?"":c)+"></dd>",u=0,d=this.units.length;u<d;u++){if(i=this.units[u],o=i.substr(0,1).toUpperCase()+i.substr(1),r[i]=parseInt(e[i+"Max"]-(e[i+"Max"]-e[i+"Min"])%e["step"+o],10),s[i]=0,l+='<dt class="ui_tpicker_'+i+'_label"'+(e["show"+o]?"":c)+">"+e[i+"Text"]+'</dt><dd class="ui_tpicker_'+i+'"><div class="ui_tpicker_'+i+'_slider"'+(e["show"+o]?"":c)+"></div>",e["show"+o]&&e[i+"Grid"]>0){if(l+='<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>',"hour"==i)for(var p=e[i+"Min"];p<=r[i];p+=parseInt(e[i+"Grid"],10)){s[i]++;var h=e.ampm&&p>12?p-12:p;h<10&&(h="0"+h),e.ampm&&(0===p?h="12a":h+=p<12?"a":"p"),l+='<td data-for="'+i+'">'+h+"</td>"}else for(var f=e[i+"Min"];f<=r[i];f+=parseInt(e[i+"Grid"],10))s[i]++,l+='<td data-for="'+i+'">'+(f<10?"0":"")+f+"</td>";l+="</tr></table></div>"}l+="</dd>"}l+='<dt class="ui_tpicker_timezone_label"'+(e.showTimezone?"":c)+">"+e.timezoneText+"</dt>",l+='<dd class="ui_tpicker_timezone" '+(e.showTimezone?"":c)+"></dd>",l+="</dl></div>";var m=$(l);!0===e.timeOnly&&(m.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all"><div class="ui-datepicker-title">'+e.timeOnlyTitle+"</div></div>"),t.find(".ui-datepicker-header, .ui-datepicker-calendar").hide());for(var u=0,d=n.units.length;u<d;u++)i=n.units[u],o=i.substr(0,1).toUpperCase()+i.substr(1),n[i+"_slider"]=n.control.create(n,m.find(".ui_tpicker_"+i+"_slider"),i,n[i],e[i+"Min"],r[i],e["step"+o]),e["show"+o]&&e[i+"Grid"]>0&&(a=100*s[i]*e[i+"Grid"]/(r[i]-e[i+"Min"]),m.find(".ui_tpicker_"+i+" table").css({width:a+"%",marginLeft:e.isRTL?"0":a/(-2*s[i])+"%",marginRight:e.isRTL?a/(-2*s[i])+"%":"0",borderCollapse:"collapse"}).find("td").click(function(){var t=$(this),i=t.html(),o=t.data("for");if("hour"==o&&e.ampm){var r=i.substring(2).toLowerCase(),s=parseInt(i.substring(0,2),10);i="a"==r?12==s?0:s:12==s?12:s+12}n.control.value(n,n[o+"_slider"],parseInt(i,10)),n._onTimeChange(),n._onSelectHandler()}).css({cursor:"pointer",width:100/s[i]+"%",textAlign:"center",overflow:"hidden"}));if(this.timezone_select=m.find(".ui_tpicker_timezone").append("<select></select>").find("select"),$.fn.append.apply(this.timezone_select,$.map(e.timezoneList,function(t){return $("<option />").val("object"==typeof t?t.value:t).text("object"==typeof t?t.label:t)})),"undefined"!=typeof this.timezone&&null!==this.timezone&&""!==this.timezone){var g=new Date(this.inst.selectedYear,this.inst.selectedMonth,this.inst.selectedDay,12);$.timepicker.timeZoneOffsetString(g)==this.timezone?selectLocalTimeZone(n):this.timezone_select.val(this.timezone)}else"undefined"!=typeof this.hour&&null!==this.hour&&""!==this.hour?this.timezone_select.val(e.defaultTimezone):selectLocalTimeZone(n);this.timezone_select.change(function(){n._defaults.useLocalTimezone=!1,n._onTimeChange()});var v=t.find(".ui-datepicker-buttonpane");if(v.length?v.before(m):t.append(m),this.$timeObj=m.find(".ui_tpicker_time"),null!==this.inst){var b=this.timeDefined;this._onTimeChange(),this.timeDefined=b}if(this._defaults.addSliderAccess){var y=this._defaults.sliderAccessArgs,_=this._defaults.isRTL;y.isRTL=_,setTimeout(function(){if(0===m.find(".ui-slider-access").length){m.find(".ui-slider:visible").sliderAccess(y);var t=m.find(".ui-slider-access:eq(0)").outerWidth(!0);t&&m.find("table:visible").each(function(){var e=$(this),n=e.outerWidth(),i=e.css(_?"marginRight":"marginLeft").toString().replace("%",""),o=n-t,r=i*o/n+"%",s={width:o,marginRight:0,marginLeft:0};s[_?"marginRight":"marginLeft"]=r,e.css(s)})}},10)}}},_limitMinMaxDateTime:function(t,e){var n=this._defaults,i=new Date(t.selectedYear,t.selectedMonth,t.selectedDay);if(this._defaults.showTimepicker){if(null!==$.datepicker._get(t,"minDateTime")&&$.datepicker._get(t,"minDateTime")!==undefined&&i){var o=$.datepicker._get(t,"minDateTime"),r=new Date(o.getFullYear(),o.getMonth(),o.getDate(),0,0,0,0);null!==this.hourMinOriginal&&null!==this.minuteMinOriginal&&null!==this.secondMinOriginal&&null!==this.millisecMinOriginal||(this.hourMinOriginal=n.hourMin,this.minuteMinOriginal=n.minuteMin,this.secondMinOriginal=n.secondMin,this.millisecMinOriginal=n.millisecMin),t.settings.timeOnly||r.getTime()==i.getTime()?(this._defaults.hourMin=o.getHours(),this.hour<=this._defaults.hourMin?(this.hour=this._defaults.hourMin,this._defaults.minuteMin=o.getMinutes(),this.minute<=this._defaults.minuteMin?(this.minute=this._defaults.minuteMin,this._defaults.secondMin=o.getSeconds(),this.second<=this._defaults.secondMin?(this.second=this._defaults.secondMin,this._defaults.millisecMin=o.getMilliseconds()):(this.millisec<this._defaults.millisecMin&&(this.millisec=this._defaults.millisecMin),this._defaults.millisecMin=this.millisecMinOriginal)):(this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal)):(this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal)):(this._defaults.hourMin=this.hourMinOriginal,this._defaults.minuteMin=this.minuteMinOriginal,this._defaults.secondMin=this.secondMinOriginal,this._defaults.millisecMin=this.millisecMinOriginal)}if(null!==$.datepicker._get(t,"maxDateTime")&&$.datepicker._get(t,"maxDateTime")!==undefined&&i){var s=$.datepicker._get(t,"maxDateTime"),a=new Date(s.getFullYear(),s.getMonth(),s.getDate(),0,0,0,0);null!==this.hourMaxOriginal&&null!==this.minuteMaxOriginal&&null!==this.secondMaxOriginal||(this.hourMaxOriginal=n.hourMax,this.minuteMaxOriginal=n.minuteMax,this.secondMaxOriginal=n.secondMax,this.millisecMaxOriginal=n.millisecMax),t.settings.timeOnly||a.getTime()==i.getTime()?(this._defaults.hourMax=s.getHours(),this.hour>=this._defaults.hourMax?(this.hour=this._defaults.hourMax,this._defaults.minuteMax=s.getMinutes(),this.minute>=this._defaults.minuteMax?(this.minute=this._defaults.minuteMax,this._defaults.secondMax=s.getSeconds()):this.second>=this._defaults.secondMax?(this.second=this._defaults.secondMax,this._defaults.millisecMax=s.getMilliseconds()):(this.millisec>this._defaults.millisecMax&&(this.millisec=this._defaults.millisecMax),this._defaults.millisecMax=this.millisecMaxOriginal)):(this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal)):(this._defaults.hourMax=this.hourMaxOriginal,this._defaults.minuteMax=this.minuteMaxOriginal,this._defaults.secondMax=this.secondMaxOriginal,this._defaults.millisecMax=this.millisecMaxOriginal)}if(e!==undefined&&!0===e){var c=parseInt(this._defaults.hourMax-(this._defaults.hourMax-this._defaults.hourMin)%this._defaults.stepHour,10),l=parseInt(this._defaults.minuteMax-(this._defaults.minuteMax-this._defaults.minuteMin)%this._defaults.stepMinute,10),u=parseInt(this._defaults.secondMax-(this._defaults.secondMax-this._defaults.secondMin)%this._defaults.stepSecond,10),d=parseInt(this._defaults.millisecMax-(this._defaults.millisecMax-this._defaults.millisecMin)%this._defaults.stepMillisec,10);this.hour_slider&&(this.control.options(this,this.hour_slider,{min:this._defaults.hourMin,max:c}),this.control.value(this,this.hour_slider,this.hour)),this.minute_slider&&(this.control.options(this,this.minute_slider,{min:this._defaults.minuteMin,max:l}),this.control.value(this,this.minute_slider,this.minute)),this.second_slider&&(this.control.options(this,this.second_slider,{min:this._defaults.secondMin,max:u}),this.control.value(this,this.second_slider,this.second)),this.millisec_slider&&(this.control.options(this,this.millisec_slider,{min:this._defaults.millisecMin,max:d}),this.control.value(this,this.millisec_slider,this.millisec))}}},_onTimeChange:function(){var t=!!this.hour_slider&&this.control.value(this,this.hour_slider),e=!!this.minute_slider&&this.control.value(this,this.minute_slider),n=!!this.second_slider&&this.control.value(this,this.second_slider),i=!!this.millisec_slider&&this.control.value(this,this.millisec_slider),o=!!this.timezone_select&&this.timezone_select.val(),r=this._defaults;"object"==typeof t&&(t=!1),"object"==typeof e&&(e=!1),"object"==typeof n&&(n=!1),"object"==typeof i&&(i=!1),"object"==typeof o&&(o=!1),!1!==t&&(t=parseInt(t,10)),!1!==e&&(e=parseInt(e,10)),!1!==n&&(n=parseInt(n,10)),!1!==i&&(i=parseInt(i,10))
;var s=r[t<12?"amNames":"pmNames"][0],a=t!=this.hour||e!=this.minute||n!=this.second||i!=this.millisec||this.ampm.length>0&&t<12!=(-1!==$.inArray(this.ampm.toUpperCase(),this.amNames))||null===this.timezone&&o!=this.defaultTimezone||null!==this.timezone&&o!=this.timezone;a&&(!1!==t&&(this.hour=t),!1!==e&&(this.minute=e),!1!==n&&(this.second=n),!1!==i&&(this.millisec=i),!1!==o&&(this.timezone=o),this.inst||(this.inst=$.datepicker._getInst(this.$input[0])),this._limitMinMaxDateTime(this.inst,!0)),r.ampm&&(this.ampm=s),this.formattedTime=$.datepicker.formatTime(this._defaults.timeFormat,this,this._defaults),this.$timeObj&&this.$timeObj.text(this.formattedTime+r.timeSuffix),this.timeDefined=!0,a&&this._updateDateTime()},_onSelectHandler:function(){var t=this._defaults.onSelect||this.inst.settings.onSelect,e=this.$input?this.$input[0]:null;t&&e&&t.apply(e,[this.formattedDateTime,this])},_updateDateTime:function(t){t=this.inst||t;var e=$.datepicker._daylightSavingAdjust(new Date(t.selectedYear,t.selectedMonth,t.selectedDay)),n=$.datepicker._get(t,"dateFormat"),i=$.datepicker._getFormatConfig(t),o=null!==e&&this.timeDefined;this.formattedDate=$.datepicker.formatDate(n,null===e?new Date:e,i);var r=this.formattedDate;if(!0===this._defaults.timeOnly?r=this.formattedTime:!0!==this._defaults.timeOnly&&(this._defaults.alwaysSetTime||o)&&(r+=this._defaults.separator+this.formattedTime+this._defaults.timeSuffix),this.formattedDateTime=r,this._defaults.showTimepicker)if(this.$altInput&&!0===this._defaults.altFieldTimeOnly)this.$altInput.val(this.formattedTime),this.$input.val(this.formattedDate);else if(this.$altInput){this.$input.val(r);var s="",a=this._defaults.altSeparator?this._defaults.altSeparator:this._defaults.separator,c=this._defaults.altTimeSuffix?this._defaults.altTimeSuffix:this._defaults.timeSuffix;s=this._defaults.altFormat?$.datepicker.formatDate(this._defaults.altFormat,null===e?new Date:e,i):this.formattedDate,s&&(s+=a),this._defaults.altTimeFormat?s+=$.datepicker.formatTime(this._defaults.altTimeFormat,this,this._defaults)+c:s+=this.formattedTime+c,this.$altInput.val(s)}else this.$input.val(r);else this.$input.val(this.formattedDate);this.$input.trigger("change")},_onFocus:function(){if(!this.$input.val()&&this._defaults.defaultValue){this.$input.val(this._defaults.defaultValue);var t=$.datepicker._getInst(this.$input.get(0)),e=$.datepicker._get(t,"timepicker");if(e&&e._defaults.timeOnly&&t.input.val()!=t.lastVal)try{$.datepicker._updateDatepicker(t)}catch(t){$.datepicker.log(t)}}},_controls:{slider:{create:function(t,e,n,i,o,r,s){var a=t._defaults.isRTL;return e.prop("slide",null).slider({orientation:"horizontal",value:a?-1*i:i,min:a?-1*r:o,max:a?-1*o:r,step:s,slide:function(e,n){t.control.value(t,$(this),a?-1*n.value:n.value),t._onTimeChange()},stop:function(){t._onSelectHandler()}})},options:function(t,e,n,i){if(t._defaults.isRTL){if("string"==typeof n)return"min"==n||"max"==n?i!==undefined?e.slider(n,-1*i):Math.abs(e.slider(n)):e.slider(n);var o=n.min,r=n.max;return n.min=n.max=null,o!==undefined&&(n.max=-1*o),r!==undefined&&(n.min=-1*r),e.slider(n)}return"string"==typeof n&&i!==undefined?e.slider(n,i):e.slider(n)},value:function(t,e,n){return t._defaults.isRTL?n!==undefined?e.slider("value",-1*n):Math.abs(e.slider("value")):n!==undefined?e.slider("value",n):e.slider("value")}},select:{create:function(t,e,n,i,o,r,s){for(var a='<select class="ui-timepicker-select" data-unit="'+n+'" data-min="'+o+'" data-max="'+r+'" data-step="'+s+'">',c=-1!==t._defaults.timeFormat.indexOf("t")?"toLowerCase":"toUpperCase",l=0,u=o;u<=r;u+=s)a+='<option value="'+u+'"'+(u==i?" selected":"")+">","hour"==n&&t._defaults.ampm?(l=u%12,a+=0===u||12===u?"12":l<10?"0"+l.toString():l,a+=" "+(u<12?t._defaults.amNames[0]:t._defaults.pmNames[0])[c]()):a+="millisec"==n||u>=10?u:"0"+u.toString(),a+="</option>";return a+="</select>",e.children("select").remove(),$(a).appendTo(e).change(function(){t._onTimeChange(),t._onSelectHandler()}),e},options:function(t,e,n,i){var o={},r=e.children("select");if("string"==typeof n){if(i===undefined)return r.data(n);o[n]=i}else o=n;return t.control.create(t,e,r.data("unit"),r.val(),o.min||r.data("min"),o.max||r.data("max"),o.step||r.data("step"))},value:function(t,e,n){var i=e.children("select");return n!==undefined?i.val(n):i.val()}}}}),$.fn.extend({timepicker:function(t){t=t||{};var e=Array.prototype.slice.call(arguments);return"object"==typeof t&&(e[0]=$.extend(t,{timeOnly:!0})),$(this).each(function(){$.fn.datetimepicker.apply($(this),e)})},datetimepicker:function(t){t=t||{};var e=arguments;return"string"==typeof t?"getDate"==t?$.fn.datepicker.apply($(this[0]),e):this.each(function(){var t=$(this);t.datepicker.apply(t,e)}):this.each(function(){var e=$(this);e.datepicker($.timepicker._newInst(e,t)._defaults)})}}),$.datepicker.parseDateTime=function(t,e,n,i,o){var r=parseDateTimeInternal(t,e,n,i,o);if(r.timeObj){var s=r.timeObj;r.date.setHours(s.hour,s.minute,s.second,s.millisec)}return r.date},$.datepicker.parseTime=function(t,e,n){var i,o=function(t,e){var n=[];return t&&$.merge(n,t),e&&$.merge(n,e),n=$.map(n,function(t){return t.replace(/[.*+?|()\[\]{}\\]/g,"\\$&")}),"("+n.join("|")+")?"},r=function(t){var e=t.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|t{1,2}|z|'.*?')/g),n={h:-1,m:-1,s:-1,l:-1,t:-1,z:-1};if(e)for(var i=0;i<e.length;i++)-1==n[e[i].toString().charAt(0)]&&(n[e[i].toString().charAt(0)]=i+1);return n},s=extendRemove(extendRemove({},$.timepicker._defaults),n||{}),a="^"+t.toString().replace(/(hh?|mm?|ss?|[tT]{1,2}|[lz]|'.*?')/g,function(t){switch(t.charAt(0).toLowerCase()){case"h":case"m":case"s":return"(\\d?\\d)";case"l":return"(\\d?\\d?\\d)";case"z":return"(z|[-+]\\d\\d:?\\d\\d|\\S+)?";case"t":return o(s.amNames,s.pmNames);default:return"("+t.replace(/\'/g,"").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g,function(t){return"\\"+t})+")?"}}).replace(/\s/g,"\\s?")+s.timeSuffix+"$",c=r(t),l="";i=e.match(new RegExp(a,"i"));var u={hour:0,minute:0,second:0,millisec:0};if(i){if(-1!==c.t&&(i[c.t]===undefined||0===i[c.t].length?(l="",u.ampm=""):(l=-1!==$.inArray(i[c.t].toUpperCase(),s.amNames)?"AM":"PM",u.ampm=s["AM"==l?"amNames":"pmNames"][0])),-1!==c.h&&("AM"==l&&"12"==i[c.h]?u.hour=0:"PM"==l&&"12"!=i[c.h]?u.hour=parseInt(i[c.h],10)+12:u.hour=Number(i[c.h])),-1!==c.m&&(u.minute=Number(i[c.m])),-1!==c.s&&(u.second=Number(i[c.s])),-1!==c.l&&(u.millisec=Number(i[c.l])),-1!==c.z&&i[c.z]!==undefined){var d=i[c.z].toUpperCase();switch(d.length){case 1:d=s.timezoneIso8601?"Z":"+0000";break;case 5:s.timezoneIso8601&&(d="0000"==d.substring(1)?"Z":d.substring(0,3)+":"+d.substring(3));break;case 6:s.timezoneIso8601?"00:00"==d.substring(1)&&(d="Z"):d="Z"==d||"00:00"==d.substring(1)?"+0000":d.replace(/:/,"")}u.timezone=d}return u}return!1},$.datepicker.formatTime=function(t,e,n){n=n||{},n=$.extend({},$.timepicker._defaults,n),e=$.extend({hour:0,minute:0,second:0,millisec:0,timezone:"+0000"},e);var i=t,o=n.amNames[0],r=parseInt(e.hour,10);return n.ampm&&(r>11&&(o=n.pmNames[0],r>12&&(r%=12)),0===r&&(r=12)),i=i.replace(/(?:hh?|mm?|ss?|[tT]{1,2}|[lz]|'.*?')/g,function(t){switch(t.toLowerCase()){case"hh":return("0"+r).slice(-2);case"h":return r;case"mm":return("0"+e.minute).slice(-2);case"m":return e.minute;case"ss":return("0"+e.second).slice(-2);case"s":return e.second;case"l":return("00"+e.millisec).slice(-3);case"z":return null===e.timezone?n.defaultTimezone:e.timezone;case"t":case"tt":return n.ampm?(1==t.length&&(o=o.charAt(0)),"T"===t.charAt(0)?o.toUpperCase():o.toLowerCase()):"";default:return t.replace(/\'/g,"")||"'"}}),i=$.trim(i)},$.datepicker._base_selectDate=$.datepicker._selectDate,$.datepicker._selectDate=function(t,e){var n=this._getInst($(t)[0]),i=this._get(n,"timepicker");i?(i._limitMinMaxDateTime(n,!0),n.inline=n.stay_open=!0,this._base_selectDate(t,e),n.inline=n.stay_open=!1,this._notifyChange(n),this._updateDatepicker(n)):this._base_selectDate(t,e)},$.datepicker._base_updateDatepicker=$.datepicker._updateDatepicker,$.datepicker._updateDatepicker=function(t){var e=t.input[0];if(!($.datepicker._curInst&&$.datepicker._curInst!=t&&$.datepicker._datepickerShowing&&$.datepicker._lastInput!=e||"boolean"==typeof t.stay_open&&!1!==t.stay_open)){this._base_updateDatepicker(t);var n=this._get(t,"timepicker");if(n&&(n._addTimePicker(t),n._defaults.useLocalTimezone)){var i=new Date(t.selectedYear,t.selectedMonth,t.selectedDay,12);selectLocalTimeZone(n,i),n._onTimeChange()}}},$.datepicker._base_doKeyPress=$.datepicker._doKeyPress,$.datepicker._doKeyPress=function(t){var e=$.datepicker._getInst(t.target),n=$.datepicker._get(e,"timepicker");if(n&&$.datepicker._get(e,"constrainInput")){var i=n._defaults.ampm,o=$.datepicker._possibleChars($.datepicker._get(e,"dateFormat")),r=n._defaults.timeFormat.toString().replace(/[hms]/g,"").replace(/TT/g,i?"APM":"").replace(/Tt/g,i?"AaPpMm":"").replace(/tT/g,i?"AaPpMm":"").replace(/T/g,i?"AP":"").replace(/tt/g,i?"apm":"").replace(/t/g,i?"ap":"")+" "+n._defaults.separator+n._defaults.timeSuffix+(n._defaults.showTimezone?n._defaults.timezoneList.join(""):"")+n._defaults.amNames.join("")+n._defaults.pmNames.join("")+o,s=String.fromCharCode(t.charCode===undefined?t.keyCode:t.charCode);return t.ctrlKey||s<" "||!o||r.indexOf(s)>-1}return $.datepicker._base_doKeyPress(t)},$.datepicker._base_updateAlternate=$.datepicker._updateAlternate,$.datepicker._updateAlternate=function(t){var e=this._get(t,"timepicker");if(e){var n=e._defaults.altField;if(n){var i=(e._defaults.altFormat||e._defaults.dateFormat,this._getDate(t)),o=$.datepicker._getFormatConfig(t),r="",s=e._defaults.altSeparator?e._defaults.altSeparator:e._defaults.separator,a=e._defaults.altTimeSuffix?e._defaults.altTimeSuffix:e._defaults.timeSuffix,c=e._defaults.altTimeFormat!==undefined?e._defaults.altTimeFormat:e._defaults.timeFormat;r+=$.datepicker.formatTime(c,e,e._defaults)+a,e._defaults.timeOnly||e._defaults.altFieldTimeOnly||(r=e._defaults.altFormat?$.datepicker.formatDate(e._defaults.altFormat,null===i?new Date:i,o)+s+r:e.formattedDate+s+r),$(n).val(r)}}else $.datepicker._base_updateAlternate(t)},$.datepicker._base_doKeyUp=$.datepicker._doKeyUp,$.datepicker._doKeyUp=function(t){var e=$.datepicker._getInst(t.target),n=$.datepicker._get(e,"timepicker");if(n&&n._defaults.timeOnly&&e.input.val()!=e.lastVal)try{$.datepicker._updateDatepicker(e)}catch(t){$.datepicker.log(t)}return $.datepicker._base_doKeyUp(t)},$.datepicker._base_gotoToday=$.datepicker._gotoToday,$.datepicker._gotoToday=function(t){var e=this._getInst($(t)[0]),n=e.dpDiv;this._base_gotoToday(t);var i=this._get(e,"timepicker");selectLocalTimeZone(i);var o=new Date;this._setTime(e,o),$(".ui-datepicker-today",n).click()},$.datepicker._disableTimepickerDatepicker=function(t){var e=this._getInst(t);if(e){var n=this._get(e,"timepicker");$(t).datepicker("getDate"),n&&(n._defaults.showTimepicker=!1,n._updateDateTime(e))}},$.datepicker._enableTimepickerDatepicker=function(t){var e=this._getInst(t);if(e){var n=this._get(e,"timepicker");$(t).datepicker("getDate"),n&&(n._defaults.showTimepicker=!0,n._addTimePicker(e),n._updateDateTime(e))}},$.datepicker._setTime=function(t,e){var n=this._get(t,"timepicker");if(n){var i=n._defaults;n.hour=e?e.getHours():i.hour,n.minute=e?e.getMinutes():i.minute,n.second=e?e.getSeconds():i.second,n.millisec=e?e.getMilliseconds():i.millisec,n._limitMinMaxDateTime(t,!0),n._onTimeChange(),n._updateDateTime(t)}},$.datepicker._setTimeDatepicker=function(t,e,n){var i=this._getInst(t);if(i){var o=this._get(i,"timepicker");if(o){this._setDateFromField(i);var r;e&&("string"==typeof e?(o._parseTime(e,n),r=new Date,r.setHours(o.hour,o.minute,o.second,o.millisec)):r=new Date(e.getTime()),"Invalid Date"==r.toString()&&(r=undefined),this._setTime(i,r))}}},$.datepicker._base_setDateDatepicker=$.datepicker._setDateDatepicker,$.datepicker._setDateDatepicker=function(t,e){var n=this._getInst(t);if(n){var i=e instanceof Date?new Date(e.getTime()):e;this._updateDatepicker(n),this._base_setDateDatepicker.apply(this,arguments),this._setTimeDatepicker(t,i,!0)}},$.datepicker._base_getDateDatepicker=$.datepicker._getDateDatepicker,$.datepicker._getDateDatepicker=function(t,e){var n=this._getInst(t);if(n){var i=this._get(n,"timepicker");if(i){n.lastVal===undefined&&this._setDateFromField(n,e);var o=this._getDate(n);return o&&i._parseTime($(t).val(),i.timeOnly)&&o.setHours(i.hour,i.minute,i.second,i.millisec),o}return this._base_getDateDatepicker(t,e)}},$.datepicker._base_parseDate=$.datepicker.parseDate,$.datepicker.parseDate=function(t,e,n){var i;try{i=this._base_parseDate(t,e,n)}catch(o){i=this._base_parseDate(t,e.substring(0,e.length-(o.length-o.indexOf(":")-2)),n)}return i},$.datepicker._base_formatDate=$.datepicker._formatDate,$.datepicker._formatDate=function(t){var e=this._get(t,"timepicker");return e?(e._updateDateTime(t),e.$input.val()):this._base_formatDate(t)},$.datepicker._base_optionDatepicker=$.datepicker._optionDatepicker,$.datepicker._optionDatepicker=function(t,e,n){var i,o=this._getInst(t);if(!o)return null;var r=this._get(o,"timepicker");if(r){var s,a=null,c=null,l=null,u=r._defaults.evnts,d={};if("string"==typeof e){if("minDate"===e||"minDateTime"===e)a=n;else if("maxDate"===e||"maxDateTime"===e)c=n;else if("onSelect"===e)l=n;else if(u.hasOwnProperty(e)){if(void 0===n)return u[e];d[e]=n,i={}}}else if("object"==typeof e){e.minDate?a=e.minDate:e.minDateTime?a=e.minDateTime:e.maxDate?c=e.maxDate:e.maxDateTime&&(c=e.maxDateTime);for(s in u)u.hasOwnProperty(s)&&e[s]&&(d[s]=e[s])}for(s in d)d.hasOwnProperty(s)&&(u[s]=d[s],i||(i=$.extend({},e)),delete i[s]);if(i&&isEmptyObject(i))return;a?(a=0===a?new Date:new Date(a),r._defaults.minDate=a,r._defaults.minDateTime=a):c?(c=0===c?new Date:new Date(c),r._defaults.maxDate=c,r._defaults.maxDateTime=c):l&&(r._defaults.onSelect=l)}return n===undefined?this._base_optionDatepicker.call($.datepicker,t,e):this._base_optionDatepicker.call($.datepicker,t,i||e,n)};var splitDateTime=function(t,e,n,i){try{var o=i&&i.separator?i.separator:$.timepicker._defaults.separator,r=i&&i.timeFormat?i.timeFormat:$.timepicker._defaults.timeFormat,s=i&&i.ampm?i.ampm:$.timepicker._defaults.ampm,a=r.split(o),c=a.length,l=e.split(o),u=l.length;if(s||(a=$.trim(r.replace(/t/gi,"")).split(o),c=a.length),u>1)return[l.splice(0,u-c).join(o),l.splice(0,c).join(o)]}catch(t){if(t.indexOf(":")>=0){var d=e.length-(t.length-t.indexOf(":")-2);e.substring(d);return[$.trim(e.substring(0,d)),$.trim(e.substring(d))]}throw t}return[e,""]},parseDateTimeInternal=function(t,e,n,i,o){var r,s=splitDateTime(t,n,i,o);if(r=$.datepicker._base_parseDate(t,s[0],i),""!==s[1]){var a=s[1],c=$.datepicker.parseTime(e,a,o);if(null===c)throw"Wrong time format";return{date:r,timeObj:c}}return{date:r}},selectLocalTimeZone=function(t,e){if(t&&t.timezone_select){t._defaults.useLocalTimezone=!0;var n=void 0!==e?e:new Date,i=$.timepicker.timeZoneOffsetString(n);t._defaults.timezoneIso8601&&(i=i.substring(0,3)+":"+i.substring(3)),t.timezone_select.val(i)}};$.timepicker=new Timepicker,$.timepicker.timeZoneOffsetString=function(t){var e=-1*t.getTimezoneOffset(),n=e%60,i=(e-n)/60;return(e>=0?"+":"-")+("0"+(101*i).toString()).substr(-2)+("0"+(101*n).toString()).substr(-2)},$.timepicker.timeRange=function(t,e,n){return $.timepicker.handleRange("timepicker",t,e,n)},$.timepicker.dateTimeRange=function(t,e,n){$.timepicker.dateRange(t,e,n,"datetimepicker")},$.timepicker.dateRange=function(t,e,n,i){i=i||"datepicker",$.timepicker.handleRange(i,t,e,n)},$.timepicker.handleRange=function(t,e,n,i){function o(t,i,o){i.val()&&new Date(e.val())>new Date(n.val())&&i.val(o)}function r(e,n,i){if($(e).val()){var o=$(e)[t].call($(e),"getDate");o.getTime&&$(n)[t].call($(n),"option",i,o)}}return $.fn[t].call(e,$.extend({onClose:function(t){o(this,n,t)},onSelect:function(){r(this,n,"minDate")}},i,i.start)),$.fn[t].call(n,$.extend({onClose:function(t){o(this,e,t)},onSelect:function(){r(this,e,"maxDate")}},i,i.end)),"timepicker"!=t&&i.reformat&&$([e,n]).each(function(){var e=$(this)[t].call($(this),"option","dateFormat"),n=new Date($(this).val());$(this).val()&&n&&$(this).val($.datepicker.formatDate(e,n))}),o(e,n,e.val()),r(e,n,"minDate"),r(n,e,"maxDate"),$([e.get(0),n.get(0)])},$.timepicker.version="1.0.5"}}(jQuery),jQuery.fn.vimeoPopup=function(t){var e={videoid:"",width:640,height:360,autoplay:!0};return this.each(function(){t&&$.extend(e,t),$(this).click(function(t){t.preventDefault(),$("body").append('<div id="video-popup" class="modal in"><div class="modal-body" id="video-modal"></div></div>');var n=e.autoplay?1:0;vimeostr='<iframe src="http://player.vimeo.com/video/'+e.videoid+"?color=00adef&amp;show_title=0&amp;show_portrait=0&amp;autoplay="+n+'" width="'+e.width+'" height="'+e.height+'" frameborder="0"></iframe>';var i={width:String(e.width+30)+"px",height:String(e.height+30)+"px",scrolling:"none",overflow:"hidden"},o=function(){$("#video-popup").remove()},r=$("#video-popup").modal({}).bind("hide",o);$("#video-popup .modal-body").html($(vimeostr)).css(i),$("#video-popup").css(i),$(document).keyup(function(t){27===t.keyCode&&(r.modal("hide"),$(".modal-backdrop").remove(),o())})})})};var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(t){var e,n,i,o,r,s,a,c="",l=0;for(t=Base64._utf8_encode(t);l<t.length;)e=t.charCodeAt(l++),n=t.charCodeAt(l++),i=t.charCodeAt(l++),o=e>>2,r=(3&e)<<4|n>>4,s=(15&n)<<2|i>>6,a=63&i,isNaN(n)?s=a=64:isNaN(i)&&(a=64),c=c+this._keyStr.charAt(o)+this._keyStr.charAt(r)+this._keyStr.charAt(s)+this._keyStr.charAt(a);return c},decode:function(t){var e,n,i,o,r,s,a,c="",l=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<t.length;)o=this._keyStr.indexOf(t.charAt(l++)),r=this._keyStr.indexOf(t.charAt(l++)),s=this._keyStr.indexOf(t.charAt(l++)),a=this._keyStr.indexOf(t.charAt(l++)),e=o<<2|r>>4,n=(15&r)<<4|s>>2,i=(3&s)<<6|a,c+=String.fromCharCode(e),64!=s&&(c+=String.fromCharCode(n)),64!=a&&(c+=String.fromCharCode(i));return c=Base64._utf8_decode(c)},_utf8_encode:function(t){t=t.replace(/\r\n/g,"\n");for(var e="",n=0;n<t.length;n++){var i=t.charCodeAt(n);i<128?e+=String.fromCharCode(i):i>127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e},_utf8_decode:function(t){for(var e="",n=0,i=c1=c2=0;n<t.length;)i=t.charCodeAt(n),i<128?(e+=String.fromCharCode(i),n++):i>191&&i<224?(c2=t.charCodeAt(n+1),e+=String.fromCharCode((31&i)<<6|63&c2),n+=2):(c2=t.charCodeAt(n+1),c3=t.charCodeAt(n+2),e+=String.fromCharCode((15&i)<<12|(63&c2)<<6|63&c3),n+=3);return e}};$.base64=Base64,"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(t){return t<10?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,i,o,r,s,a=gap,c=e[t];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(t)),"function"==typeof rep&&(c=rep.call(e,t,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(c)){for(r=c.length,n=0;n<r;n+=1)s[n]=str(n,c)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,o}if(rep&&"object"==typeof rep)for(r=rep.length,n=0;n<r;n+=1)"string"==typeof rep[n]&&(i=rep[n],(o=str(i,c))&&s.push(quote(i)+(gap?": ":":")+o));else for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(o=str(i,c))&&s.push(quote(i)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var i;if(gap="",indent="","number"==typeof n)for(i=0;i<n;i+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var n,i,o=t[e];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i=walk(o,n),i!==undefined?o[n]=i:delete o[n]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(t){function e(){}function n(t){s=[t]}function i(t,e,n){return t&&t.apply&&t.apply(e.context||e,n)}function o(t){return/\?/.test(t)?"&":"?"}function r(r){function h(t){G++||(K(),F&&(z[U]={s:[t]}),I&&(t=I.apply(r,[t])),i(q,r,[t,M,r]),i(B,r,[r,M]))}function O(t){G++||(K(),F&&t!=w&&(z[U]=t),i(P,r,[r,t]),i(B,r,[r,t]))}r=t.extend({},$,r);var N,L,E,j,D,q=r.success,P=r.error,B=r.complete,I=r.dataFilter,W=r.callbackParameter,R=r.callback,X=r.cache,F=r.pageCache,H=r.charset,U=r.url,V=r.data,Y=r.timeout,G=0,K=e;return T&&T(function(t){t.done(q).fail(P),q=t.resolve,P=t.reject}).promise(r),r.abort=function(){!G++&&K()},!1===i(r.beforeSend,r,[r])||G?r:(U=U||l,V=V?"string"==typeof V?V:t.param(V,r.traditional):l,U+=V?o(U)+V:l,W&&(U+=o(U)+encodeURIComponent(W)+"=?"),!X&&!F&&(U+=o(U)+"_"+(new Date).getTime()+"="),U=U.replace(/=\?(&|$)/,"="+R+"$1"),F&&(N=z[U])?N.s?h(N.s[0]):O(N):(A[R]=n,E=t(_)[0],E.id=p+x++,H&&(E[c]=H),C&&C.version()<11.6?(j=t(_)[0]).text="document.getElementById('"+E.id+"')."+m+"()":E[a]=a,S&&(E.htmlFor=E.id,E.event=f),E[g]=E[m]=E[v]=function(t){if(!E[b]||!/i/.test(E[b])){try{E[f]&&E[f]()}catch(t){}t=s,s=0,t?h(t[0]):O(u)}},E.src=U,K=function(){D&&clearTimeout(D),E[v]=E[g]=E[m]=null,k[y](E),j&&k[y](j)},k[d](E,L=k.firstChild),j&&k[d](j,L),D=Y>0&&setTimeout(function(){O(w)},Y)),r)}var s,a="async",c="charset",l="",u="error",d="insertBefore",p="_jqjsp",h="on",f=h+"click",m=h+u,g=h+"load",v=h+"readystatechange",b="readyState",y="removeChild",_="<script>",M="success",w="timeout",A=window,T=t.Deferred,k=t("head")[0]||document.documentElement,z={},x=0,$={callback:p,url:location.href},C=A.opera,S=!!t("<div>").html("<!--[if IE]><i><![endif]-->").find("i").length;r.setup=function(e){t.extend($,e)},t.jsonp=r}(jQuery),function(t){function e(t,e){return e=e||[],t.replace(/(%[s])/g,function(){var t=e.shift();return t||0===t?t+"":""})}function n(){this.assemblyId=null,this.instance=null,this.documentTitle=null,this.timer=null,this._options={},this.uploads=[],this.results={},this.ended=null,this.pollStarted=null,this.pollRetries=0,this.started=!1,this.assembly=null,this.params=null,this.bytesReceivedBefore=0,this.lastPoll=0,this.$params=null,this.$form=null,this.$files=null,this.$fileClones=null,this.$iframe=null,this.$modal=null,this._lastMSecs=0,this._lastNSecs=0,this._clockseq=0,this._animatedTo100=!1,this._uploadFileIds=[],this._resultFileIds=[]}var i="https:"==document.location.protocol?"https://":"http://",o=i+"api2.transloadit.com/",r={service:o,assets:i+"assets.transloadit.com/",beforeStart:function(){return!0},onFileSelect:function(){},onStart:function(){},onProgress:function(){},onUpload:function(){},onResult:function(){},onCancel:function(){},onError:function(){},onSuccess:function(){},interval:2500,pollTimeout:8e3,poll404Retries:15,pollConnectionRetries:5,wait:!1,processZeroFiles:!0,triggerUploadOnFileSelection:!1,autoSubmit:!0,modal:!0,exclude:"",fields:!1,params:null,signature:null,region:"us-east-1",debug:!0,locale:"en"},s={en:{"errors.BORED_INSTANCE_ERROR":"Could not find a bored instance.","errors.CONNECTION_ERROR":"There was a problem connecting to the upload server","errors.unknown":"There was an internal error.","errors.tryAgain":"Please try your upload again.","errors.troubleshootDetails":"If you would like our help to troubleshoot this, please email us this information:",cancel:"Cancel",details:"Details",startingUpload:"Starting upload ...",processingFiles:"Upload done, now processing files ...",uploadProgress:"%s / %s MB at %s kB/s | %s left"},ja:{"errors.BORED_INSTANCE_ERROR":"\u30b5\u30fc\u30d0\u30fc\u63a5\u7d9a\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3059","errors.CONNECTION_ERROR":"\u30b5\u30fc\u30d0\u30fc\u63a5\u7d9a\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3059","errors.unknown":"\u901a\u4fe1\u74b0\u5883\u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3059","errors.tryAgain":"\u3057\u3070\u3089\u304f\u3057\u3066\u304b\u3089\u518d\u5ea6\u6295\u7a3f\u3057\u3066\u304f\u3060\u3055\u3044","errors.troubleshootDetails":"\u89e3\u6c7a\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044 \u4e0b\u8a18\u306e\u60c5\u5831\u3092\u30e1\u30fc\u30eb\u3067\u304a\u9001\u308a\u304f\u3060\u3055\u3044:",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb",details:"\u8a73\u7d30",startingUpload:"\u6295\u7a3f\u4e2d ...",processingFiles:"\u63a5\u7d9a\u4e2d",uploadProgress:"%s MB / %s MB (%s kB / \u79d2)"},de:{"errors.BORED_INSTANCE_ERROR":"Could not find a bored instance.","errors.CONNECTION_ERROR":"There was a problem connecting to the upload server","errors.unknown":"There was an internal error.","errors.tryAgain":"Please try your upload again.","errors.troubleshootDetails":"If you would like our help to troubleshoot this, please email us this information:",cancel:"Cancel",details:"Details",startingUpload:"Starting upload ...",processingFiles:"Upload done, now processing files ...",uploadProgress:"%s / %s MB at %s kB/s | %s left"},fr:{"errors.BORED_INSTANCE_ERROR":"Could not find a bored instance.","errors.CONNECTION_ERROR":"There was a problem connecting to the upload server","errors.unknown":"There was an internal error.","errors.tryAgain":"Please try your upload again.","errors.troubleshootDetails":"If you would like our help to troubleshoot this, please email us this information:",cancel:"Cancel",details:"Details",startingUpload:"Starting upload ...",processingFiles:"Upload done, now processing files ...",uploadProgress:"%s / %s MB at %s kB/s | %s left"},ko:{"errors.BORED_INSTANCE_ERROR":"Could not find a bored instance.","errors.CONNECTION_ERROR":"There was a problem connecting to the upload server","errors.unknown":"There was an internal error.","errors.tryAgain":"Please try your upload again.","errors.troubleshootDetails":"If you would like our help to troubleshoot this, please email us this information:",cancel:"Cancel",details:"Details",startingUpload:"Starting upload ...",processingFiles:"Upload done, now processing files ...",uploadProgress:"%s / %s MB at %s kB/s | %s left"},"zh-TW":{"errors.BORED_INSTANCE_ERROR":"Could not find a bored instance.","errors.CONNECTION_ERROR":"There was a problem connecting to the upload server","errors.unknown":"There was an internal error.","errors.tryAgain":"Please try your upload again.","errors.troubleshootDetails":"If you would like our help to troubleshoot this, please email us this information:",cancel:"Cancel",details:"Details",startingUpload:"Starting upload ...",processingFiles:"Upload done, now processing files ...",uploadProgress:"%s / %s MB at %s kB/s | %s left"}},a=!1;t.fn.transloadit=function(){var e,i,o,r=Array.prototype.slice.call(arguments);if(0!==this.length){if(this.length>1)return void this.each(function(){t.fn.transloadit.apply(t(this),r)});if((1==r.length&&"object"==typeof r[0]||r[0]===undefined)&&r.unshift("init"),e=r.shift(),"init"==e?(i=new n,r.unshift(this),this.data("transloadit.uploader",i)):i=this.data("transloadit.uploader"),!i)throw new Error("Element is not initialized for transloadit!");return o=i[e].apply(i,r),o===undefined?this:o}},t.fn.transloadit.i18n=s,n.prototype.init=function(e,n){this.$form=e,this.options(t.extend({},r,n||{}));var i=this;e.on("change",'input[type="file"]',function(){i.processing=!0}),submitHandler=function(){return i.validate(),i.detectFileInputs(),!0!==i.processing?e.unbind("submit.transloadit").submit():i._options.processZeroFiles||0!==i.$files.length?i._options.beforeStart()&&i.getBoredInstance():i._options.beforeStart(),!1},e.data("submit-handler",submitHandler),e.bind("submit.transloadit",submitHandler),this._options.triggerUploadOnFileSelection&&e.on("change",'input[type="file"]',function(){e.trigger("submit.transloadit")}),e.on("change",'input[type="file"]',function(){i.processing=!1,i._options.onFileSelect(t(this).val(),t(this))}),this.includeCss()},n.prototype.getBoredInstance=function(){function e(){t.jsonp({url:r,timeout:n._options.pollTimeout,callbackParameter:"callback",success:function(t){if(t.error)return n.ended=!0,t.url=r,n.renderError(t),void n._options.onError(t);n.instance=t.api2_host,n.start()},error:function(t,a,c){if(s&&n._options.service===o)return s=!1,void n._findBoredInstanceUrl(function(t,o){if(t)return n.ended=!0,t={error:"BORED_INSTANCE_ERROR",message:n.i18n("errors.BORED_INSTANCE_ERROR")+" "+t.message},n.renderError(t),void n._options.onError(t);r=i+"api2."+o+"/instances/bored",e()});n.ended=!0;var l="JSONP bored instance request status: "+a;l+=", err: "+c;var u={error:"CONNECTION_ERROR",message:n.i18n("errors.CONNECTION_ERROR"),reason:l,url:r};n.renderError(u),n._options.onError(u)}})}var n=this;this.instance=null;var r=this._options.service+"instances/bored",s=!0;e(),this._options.modal&&this.showModal()},n.prototype._findBoredInstanceUrl=function(e){var n=this,o=this._options.region,r="s3";"us-east-1"!==o&&(r="s3-"+o);var s=i+r+".amazonaws.com/infra-"+o;s+=".transloadit.com/cached_instances.json",t.ajax({url:s,datatype:"json",timeout:5e3,success:function(t){var i=n._shuffle(t.uploaders);n._findResponsiveInstance(i,0,e)},error:function(){var t="Could not query S3 for cached uploaders from url: "+s,n=new Error(t);e(n)}})},n.prototype._findResponsiveInstance=function(e,n,o){if(!e[n]){var r=new Error("No responsive uploaders");return o(r)}var s=this,a=e[n];t.jsonp({url:i+a,timeout:3e3,callbackParameter:"callback",success:function(){o(null,a)},error:function(){s._findResponsiveInstance(e,n+1,o)}})},n.prototype._shuffle=function(t){for(var e,n=[],i=0;i<t.length;i++)e=Math.floor(Math.random()*(i+1)),n[i]=n[e],n[e]=t[i];return n},n.prototype.start=function(){var e=this;this.started=!1,this.ended=!1,this.bytesReceivedBefore=0,this.pollRetries=0,this.uploads=[],this._animatedTo100=!1,this._uploadFileIds=[],this._resultFileIds=[],this.results={},this.assemblyId=this._genUuid(),this.$fileClones=t().not(document),this.$files.each(function(){var n=t(this).clone(!0);e.$fileClones=e.$fileClones.add(n),n.insertAfter(this)}),this.$iframe=t('<iframe id="transloadit-'+this.assemblyId+'" name="transloadit-'+this.assemblyId+'"/>').appendTo("body").hide();var n=i+this.instance+"/assemblies/"+this.assemblyId+"?redirect=false";if(this._options.formData){var o=this.$form.find("input[name=params]").val();if(this._options.formData instanceof FormData)this._options.formData.append("params",o);else{var r=new FormData(this.$form);r.append("params",o);for(var s=0;s<this._options.formData.length;s++){var a=this._options.formData[s];r.append(a[0],a[1],a[2])}this._options.formData=r}var c=new XMLHttpRequest;c.open("POST",n),c.send(this._options.formData)}else{this.$uploadForm=t('<form enctype="multipart/form-data" />').attr("action",n).attr("target","transloadit-"+this.assemblyId).attr("method","POST").append(this.$files).appendTo("body").hide();var l="[name=params], [name=signature]";!0===this._options.fields?l="*":"string"==typeof this._options.fields&&(l+=", "+this._options.fields);var u=this.$form.find(":input[type!=file]").filter(l),d=u.filter("select");u=u.filter(function(){return!t(this).is("select")}),u=u.filter("[type!=submit]");var p=this.clone(u)
;if(this._options.params&&!this.$params&&(p=p.add('<input name="params" value=\''+JSON.stringify(this._options.params)+"'>")),this._options.signature&&(p=p.add('<input name="signature" value=\''+this._options.signature+"'>")),"object"==typeof this._options.fields)for(var h in this._options.fields){var f=this._options.fields[h];p=p.add('<input name="'+h+"\" value='"+f+"'>")}p.prependTo(this.$uploadForm),d.each(function(){t('<input type="hidden"/>').attr("name",t(this).attr("name")).attr("value",t(this).val()).prependTo(e.$uploadForm)}),this.$uploadForm.submit()}this.lastPoll=+new Date,setTimeout(function(){e._poll()},300)},n.prototype.clone=function(e){for(var n=e.clone(),i=e.filter("textarea"),o=n.filter("textarea"),r=0;r<i.length;++r)t(o[r]).val(t(i[r]).val());return n},n.prototype.detectFileInputs=function(){var t=this.$form.find("input[type=file]").not(this._options.exclude);this._options.processZeroFiles||(t=t.filter(function(){return""!==this.value})),this.$files=t},n.prototype.validate=function(){if(this._options.params)this.params=this._options.params;else{var t=this.$form.find("input[name=params]");if(!t.length)return void alert("Could not find input[name=params] in your form.");this.$params=t;try{this.params=JSON.parse(t.val())}catch(t){return void alert("Error: input[name=params] seems to contain invalid JSON.")}}if(this.params.redirect_url)this.$form.attr("action",this.params.redirect_url);else if(this._options.autoSubmit&&this.$form.attr("action")==this._options.service+"assemblies")return void alert("Error: input[name=params] does not include a redirect_url")},n.prototype._poll=function(e){var n=this;if(!this.ended){var o=/(mozilla)(?:.*? rv:([\w.]+))?/.exec(navigator.userAgent),r=o&&o[1];this.documentTitle=document.title,r&&!this.documentTitle&&(document.title="Loading..."),this.pollStarted=+new Date;var s="status-"+this.instance,a=i+s+"/assemblies/"+this.assemblyId;e&&(a+=e),t.jsonp({url:a,timeout:n._options.pollTimeout,callbackParameter:"callback",success:function(e){if(!n.ended){if(n.assembly=e,"ASSEMBLY_NOT_FOUND"==e.error)return++n.pollRetries>n._options.poll404Retries?(document.title=n.documentTitle,n.ended=!0,n.renderError(e),void n._options.onError(e)):void setTimeout(function(){n._poll()},400);if(e.error)return n.ended=!0,n.renderError(e),document.title=n.documentTitle,void n._options.onError(e);!n.started&&e.bytes_expected>0&&(n.started=!0,n._options.onStart(e)),n.pollRetries=0;var i=(e.ok,"ASSEMBLY_EXECUTING"===e.ok),o="ASSEMBLY_CANCELED"===e.ok,r="ASSEMBLY_COMPLETED"===e.ok;e.bytes_expected>0&&n._options.onProgress(e.bytes_received,e.bytes_expected,e);for(var s=0;s<e.uploads.length;s++){var a=e.uploads[s];-1===t.inArray(a.id,n._uploadFileIds)&&(n._options.onUpload(a,e),n.uploads.push(a),n._uploadFileIds.push(a.id))}for(var c in e.results){n.results[c]=n.results[c]||[];for(var l=0;l<e.results[c].length;l++){var u=e.results[c][l],d=c+"_"+u.id;-1===t.inArray(d,n._resultFileIds)&&(n._options.onResult(c,u,e),n.results[c].push(u),n._resultFileIds.push(d))}}if(o)return n.ended=!0,document.title=n.documentTitle,void n._options.onCancel(e);var p=r||!n._options.wait&&i;if(e.bytes_expected>0&&n.renderProgress(e,p,n._options.wait),p)return n.ended=!0,document.title=n.documentTitle,e.uploads=n.uploads,e.results=n.results,n._options.onSuccess(e),void setTimeout(function(){n._options.modal&&n.cancel(),n.submitForm()},600);var h=n.pollStarted-+new Date,f=h<n._options.interval?n._options.interval:h;n.timer=setTimeout(function(){n._poll()},f),n.lastPoll=+new Date}},error:function(t,e,i){if(!n.ended){if(++n.pollRetries>n._options.pollConnectionRetries){document.title=n.documentTitle,n.ended=!0;var o="JSONP status poll request status: "+e;o+=", err: "+i;var r={error:"CONNECTION_ERROR",message:n.i18n("errors.CONNECTION_ERROR"),reason:o,url:a};return n.renderError(r),void n._options.onError(r)}setTimeout(function(){n._poll()},350)}}})}},n.prototype.stop=function(){document.title=this.documentTitle,this.ended=!0},n.prototype.cancel=function(){if(!this.ended){var e=this;this.$params&&this.$params.prependTo(this.$form),this.$fileClones.each(function(n){var i=t(e.$files[n]).clone(!0),o=t(this);i.insertAfter(o),o.remove()}),clearTimeout(e.timer),this._poll("?method=delete"),"Microsoft Internet Explorer"==navigator.appName&&this.$iframe[0].contentWindow.document.execCommand("Stop"),setTimeout(function(){e.$iframe.remove()},500)}this._options.modal&&this.hideModal()},n.prototype.submitForm=function(){"multipart/form-data"===this.$form.attr("enctype")&&this.$form.removeAttr("enctype"),null!==this.assembly&&t("<textarea/>").attr("name","transloadit").text(JSON.stringify(this.assembly)).prependTo(this.$form).hide(),this._options.autoSubmit&&this.$form.unbind("submit.transloadit").submit()},n.prototype.hideModal=function(){t.mask.close(),this.$modal.remove()},n.prototype.showModal=function(){this.$modal=t('<div id="transloadit"><div class="content"><a href="#close" class="close">'+this.i18n("cancel")+'</a><p class="status"></p><div class="progress progress-striped"><div class="bar"><span class="percent"></span></div></div><label>'+this.i18n("startingUpload")+'</label><p class="error"></p><div class="error-details-toggle"><a href="#">'+this.i18n("details")+'</a></div><p class="error-details"></p></div></div>').appendTo("body"),t.extend(this.$modal,{$content:this.$modal.find(".content"),$close:this.$modal.find(".close"),$label:this.$modal.find("label"),$progress:this.$modal.find(".progress"),$percent:this.$modal.find(".progress .percent"),$progressBar:this.$modal.find(".progress .bar"),$error:this.$modal.find(".error"),$errorDetails:this.$modal.find(".error-details"),$errorDetailsToggle:this.$modal.find(".error-details-toggle")});var e=this;this.$modal.$error.hide(),this.$modal.$errorDetails.hide(),this.$modal.$errorDetailsToggle.hide();this.$modal.expose({api:!0,maskId:"transloadit_expose",opacity:.9,loadSpeed:250,closeOnEsc:!1,closeOnClick:!1});this.$modal.$close.click(function(){return e.cancel(),!1})},n.prototype.renderError=function(e){if(this._options.modal){if(!this._options.debug)return this.cancel();this.$modal.$content.addClass("content-error"),this.$modal.$progress.hide(),this.$modal.$label.hide();var n=e.error+": "+e.message+"<br /><br />";n+=e.reason||"";var o=["CONNECTION_ERROR","BORED_INSTANCE_ERROR","ASSEMBLY_NOT_FOUND"];if(-1===t.inArray(e.error,o))return void this.$modal.$error.html(n).show();var r=this.i18n("errors.unknown")+"<br/>"+this.i18n("errors.tryAgain");this.$modal.$error.html(r).show();var s=e.assemblyId?e.assemblyId:this.assemblyId,a=this,c=null;t.getJSON(i+"jsonip.com/",function(t){c=t.ip}).always(function(){var o={endpoint:e.url,instance:a.instance,assembly_id:s,ip:c,time:a.getUTCDatetime(),agent:navigator.userAgent,poll_retries:a.pollRetries,error:n};t.post(i+"status.transloadit.com/client_error",o);var r=[];for(var l in o)r.push(l+": "+o[l]);var u=a.i18n("errors.troubleshootDetails")+"<br /><br />";a.$modal.$errorDetails.hide().html(u+r.join("<br />")),a.$modal.$errorDetailsToggle.show().find("a").off("click").on("click",function(t){t.preventDefault(),a.$modal.$errorDetails.toggle()})})}},n.prototype.renderProgress=function(t,e,n){if(this._options.modal){var i=t.bytes_received/t.bytes_expected*100;i>100&&(i=0);var o=t.bytes_received-this.bytesReceivedBefore,r=+new Date-this.lastPoll,s=100===i?1e3:2*this._options.interval,a=(t.bytes_received/1024/1024).toFixed(2),c=(t.bytes_expected/1024/1024).toFixed(2),l=(o/1024/(r/1e3)).toFixed(1),u=t.bytes_expected-t.bytes_received,d=(o/(r/1e3)).toFixed(1),p="";d>0&&(p=this._duration(u/d)),txt=this.i18n("uploadProgress",a,c,l,p),this._animatedTo100||this.$modal.$label.text(txt);var h=parseInt(this.$modal.$progress.css("width"),10);if(this.bytesReceivedBefore=t.bytes_received,!(o<=0)||e){var f=this;e&&n&&(s=500),this.$modal.$progressBar.stop().animate({width:i+"%"},{duration:s,easing:"linear",progress:function(){var t=parseInt(f.$modal.$progressBar.css("width"),10),e=(100*t/h).toFixed(0);e>100&&(e=100),e>13&&!f._animatedTo100&&f.$modal.$percent.text(e+"%"),100!=e||f._animatedTo100||(f._animatedTo100=!0,setTimeout(function(){f.$modal.$label.text(f.i18n("processingFiles")),f.$modal.$progress.addClass("active"),f.$modal.$percent.text("")},500))}})}}},n.prototype.includeCss=function(){!a&&this._options.modal&&(a=!0,t('<link rel="stylesheet" type="text/css" href="'+this._options.assets+'css/transloadit2-latest.css" />').appendTo("head"))},n.prototype.getUTCDatetime=function(){var t=new Date,e=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()),n=function(t){return t<10?"0"+t:t},i=e.getTimezoneOffset(),o=(i>0?"-":"+")+n(parseInt(i/60,10));return i%60!=0&&(o+=n(i%60)),0===i&&(o="Z"),e.getFullYear()+"-"+n(e.getMonth()+1)+"-"+n(e.getDate())+"T"+n(e.getHours())+":"+n(e.getMinutes())+":"+n(e.getSeconds())+o},n.prototype._duration=function(t){var e=60,n=60*e,i=Math.floor(t/n);t-=i*n;var o=Math.floor(t/e);t-=o*e;var r="";return i>0&&(r+=i+"h "),o>0&&(r+=o+"min "),t>0&&(t=t.toFixed(0),r+=t+"s"),""===r&&(r="0s"),r},n.prototype._genUuid=function(t,e,n){function i(t,e){var n=e||0,i=d;return i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]+i[t[n++]]}t=t||{};var o=e&&n||0,r=e||[],s=new Array(16),a=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),s[e]=t>>>((3&e)<<3)&255;return s},c=a(),l=[1|c[0],c[1],c[2],c[3],c[4],c[5]];this._clockseq=16383&(c[6]<<8|c[7]);for(var u=null!=t.clockseq?t.clockseq:this._clockseq,d=[],p={},h=0;h<256;h++)d[h]=(h+256).toString(16).substr(1),p[d[h]]=h;var f=null!=t.msecs?t.msecs:(new Date).getTime(),m=null!=t.nsecs?t.nsecs:this._lastNSecs+1,g=f-this._lastMSecs+(m-this._lastNSecs)/1e4;if(g<0&&null==t.clockseq&&(u=u+1&16383),(g<0||f>this._lastMSecs)&&null==t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");this._lastMSecs=f,this._lastNSecs=m,this._clockseq=u,f+=122192928e5;var v=(1e4*(268435455&f)+m)%4294967296;r[o++]=v>>>24&255,r[o++]=v>>>16&255,r[o++]=v>>>8&255,r[o++]=255&v;var b=f/4294967296*1e4&268435455;r[o++]=b>>>8&255,r[o++]=255&b,r[o++]=b>>>24&15|16,r[o++]=b>>>16&255,r[o++]=u>>>8|128,r[o++]=255&u;for(var y=t.node||l,_=0;_<6;_++)r[o+_]=y[_];return e||i(r)},n.prototype.options=function(e){if(0===arguments.length)return this._options;t.extend(this._options,e)},n.prototype.option=function(t,e){if(1==arguments.length)return this._options[t];this._options[t]=e},n.prototype.i18n=function(){var t=Array.prototype.slice.call(arguments),n=t.shift(),i=this._options.locale,o=s[i]&&s[i][n]||s.en[n];if(!o)throw new Error("Unknown i18n key: "+n);return e(o,t)}}(window.jQuery),function(){var t,e;e=function(t){return t.replace(/^http:\/\//i,"https://")},t=function(t,e){var n;return n=this,n.options=e||{},n.$element=$(t),n.options.onSuccess||(n.options.onSuccess=function(){}),n.options.onRemoveAll||(n.options.onRemoveAll=function(){}),n.init()},t.prototype={init:function(){var t,n,i,o;if(i=this,t=i.$element,n=$("body").is(".test"),t.transloadit({fields:"#transloadit_path,#transloadit_slug",wait:!0,modal:!1,locale:I18n.locale,autoSubmit:!1,processZeroFiles:!1,triggerUploadOnFileSelection:!n,isOldIE:function(){return-1!==navigator.userAgent.indexOf("MSIE 7")||-1!==navigator.userAgent.indexOf("MSIE 6")},toggleLoading:function(e){return!0===e?(!1===this.isOldIE()&&$("form.well .btn[type='submit']").hide(),$("form.well img#loading").show()):($("form.well img#loading").hide(),!1===this.isOldIE()&&$("form.well .btn[type='submit']").show(),t.find(".control-group,.options-wrapper,.submit-wrapper").slideDown())},onFileSelect:function(){var e;if(i.removeErrors(),i.setState("in-progress"),t.find(".uploader-progress div.bar").css("width","3%"),t.find(".uploader-progress progress.bar").attr("value",3),this.toggleLoading(!0),n)return this.toggleLoading(!1),e={results:{large:[{url:"http://www.example.com/some/path",size:1234,meta:{width:300,height:400}}],display:[{url:"http://www.example.com/some/path/display"}],review:[{url:"http://www.example.com/some/path/review"}],thumb:[{url:"http://www.example.com/some/path/thumb"}],small_thumb:[{url:"http://www.example.com/some/path/small_thumb"}],mini_thumb:[{url:"http://www.example.com/some/path/mini_thumb"}],list:[{url:"http://www.example.com/some/path/list"}]}},t.find(".transloadit-params").val(JSON.stringify(e)),i.setState("preview-files")},onStart:function(){},onProgress:function(e,n){var i;if(i=(e/n*100).toFixed(2),i=Math.max(5,i),i=Math.min(90,i),!isNaN(i))return t.find(".uploader-progress div.bar").css("width",i+"%"),t.find(".uploader-progress progress.bar").attr("value",i)},onError:function(e){var n;return n=$("<div class='alert alert-error'></div>").append(e.message),t.find(".uploader-side").append(n),t.find("input[name='uploader_file_input']").val(""),this.toggleLoading(!1)},getExpectedOrder:function(t){var e,n,i,o;for(o=[],e=n=1,i=t.length;1<=i?n<=i:n>=i;e=1<=i?++n:--n)o.unshift(t.item(e-1).name);return o.reverse()},sortResultsAccordingToFilesSelected:function(t){if(t.large)return this.expectedOrder=this.getExpectedOrder($("input[type=file]").last().get(0).files),t.large.sort(function(t){return function(e,n){return t.expectedOrder.indexOf(e.name)-t.expectedOrder.indexOf(n.name)}}(this))},onSuccess:function(n){var o,r,s,a,c,l,u,d,p,h,f,m,g,v,b,y,M,w,A,T,k,z,x;l={},M=n.results;for(v in M){M[v],u=[],l[v]=[],w=n.results[v];for(k in w)c=w[k],-1===_.indexOf(u,c.basename)&&(l[v].push(c),u.push(c.basename))}if(n.results=l,this.sortResultsAccordingToFilesSelected(n.results),n.results.large)for(y=n.results.large.length,s=t.find(".uploader-preview"),n.uploads=[],f=m=0,A=y-1;0<=A?m<=A:m>=A;f=0<=A?++m:--m){p="preview-"+f,a=$('<div class="thumbnail-wrapper"></div>'),r=$("<img/>").addClass("thumbnail").attr("id",p).data("image-num",f),x=JSON.parse(JSON.stringify(n)),z=x.results.large[f].original_id,x.results.large=[x.results.large[f]],T=x.results;for(v in T)if(c=T[v],"large"!==v)for(g=0,b=c.length;g<b;g++)if(d=c[g],d.original_id===z){x.results[v]=[d];break}h=x.results.large[0].basename,r.data({transloadit:JSON.stringify(x),name:h}),r.attr("src",e(x.results.thumb[0].url)),a.append(r),o=$("<a>"+I18n.t("common.remove")+"</a>").addClass("btn btn-mini btn-sm btn-secondary remove-btn").data("image-id",p),a.append(o),s.append(a),o.click(function(t){return i.removeThumbnail(t)})}return i.removeErrors(),t.find("input[name='uploader_file_input']").val(""),i.setState("preview-files"),this.toggleLoading(!1),t.find(".transloadit-params").val(JSON.stringify(n)),i.options.onSuccess()}}),t.find(".remove-btn").click(function(t){return i.removeThumbnail(t)}),o=t.find(".uploader-preview img.thumbnail").attr("src"),!1===_.isUndefined(o)&&""!==o)return i.setState("preview-files")},setState:function(t){var e;return e=this.$element.find(".uploader-controls"),e.removeClass("select-files in-progress preview-files").addClass(t)},removeThumbnail:function(t){var e,n,i,o,r;return e=$(t.target),o=e.data("image-id"),n=this.$element,r=this,i=n.find("img#"+o).parents(".thumbnail-wrapper"),i.slideUp("slow",function(){if(i.remove(),0===n.find(".uploader-preview .thumbnail-wrapper").length)return n.find(".transloadit-params").val(""),r.setState("select-files"),r.options.onRemoveAll()})},removeErrors:function(){var t;if(this.$element.find(".transloadit_image").removeClass("error"),this.$element.find(".transloadit_image .help-inline").remove(),t=this.$element.find(".uploader-preview"),!(t.find(".thumbnail").length>1))return setTimeout(function(){try{return $("html, body").scrollTop(t.offset().top+t.height())}catch(t){}},1e3)}},$.fn.transloaditUploader=function(e){return this.each(function(){var n;if(n=$(this),e=$.extend({},$.fn.transloaditUploader.defaults,"object"==typeof e&&e),!n.data("transloadit.uploader"))return n.data("transloadit.uploader",new t(this,e))})},$.fn.transloaditUploader.defaults={maxSize:1048576},$.fn.transloaditUploader.Constructor=t}.call(this),function(t){t.fn.unveil=function(e,n){function i(){var e=l.filter(function(){var e=t(this);if(!e.is(":hidden")){var n=r.scrollTop(),i=n+r.height(),o=e.offset().top;return o+e.height()>=n-s&&o<=i+s}});o=e.trigger("unveil"),l=l.not(o)}var o,r=t(window),s=e||0,a=window.devicePixelRatio>1,c=a?"data-src-retina":"data-src",l=this;return this.one("unveil",function(){var e=this.getAttribute(c);e=e||this.getAttribute("data-src"),e&&(t(this).css("opacity",0).attr("src",e).animate({opacity:1},500),"function"==typeof n&&n.call(this)),(e=this.getAttribute("data-src-background"))&&(t(this).css({"background-image":"url("+e+")"}),"function"==typeof n&&n.call(this))}),r.scroll(i),r.resize(i),i(),this}}(window.jQuery||window.Zepto),function(t,e){function n(){O||(O={verbose:!1,queryLimit:{attempt:5,delay:250,random:250},classes:{Map:google.maps.Map,Marker:google.maps.Marker,InfoWindow:google.maps.InfoWindow,Circle:google.maps.Circle,Rectangle:google.maps.Rectangle,OverlayView:google.maps.OverlayView,StreetViewPanorama:google.maps.StreetViewPanorama,KmlLayer:google.maps.KmlLayer,TrafficLayer:google.maps.TrafficLayer,BicyclingLayer:google.maps.BicyclingLayer,GroundOverlay:google.maps.GroundOverlay,StyledMapType:google.maps.StyledMapType,ImageMapType:google.maps.ImageMapType},map:{mapTypeId:google.maps.MapTypeId.ROADMAP,center:[46.578498,2.457275],zoom:2},overlay:{pane:"floatPane",content:"",offset:{x:0,y:0}},geoloc:{getCurrentPosition:{maximumAge:6e4,timeout:5e3}}})}function i(t,n){return t!==e?t:"gmap3_"+(n?N+1:++N)}function o(e,n,i,o,r){if(n.todo.events||n.todo.onces)var s={id:o,data:n.todo.data,tag:n.todo.tag};n.todo.events&&t.each(n.todo.events,function(t,n){google.maps.event.addListener(i,t,function(t){n.apply(e,[r||i,t,s])})}),n.todo.onces&&t.each(n.todo.onces,function(t,n){google.maps.event.addListenerOnce(i,t,function(t){n.apply(e,[r||i,t,s])})})}function r(){var t=[];this.empty=function(){return!t.length},this.add=function(e){t.push(e)},this.get=function(){return!!t.length&&t[0]},this.ack=function(){t.shift()}}function s(e,n,i){function o(t){var e={};return e[t]={},e}function r(){var t;for(t in i)if(!(t in a))return t}var s,a={},c=this,l={latLng:{map:!1,marker:!1,infowindow:!1,circle:!1,overlay:!1,getlatlng:!1,getmaxzoom:!1,getelevation:!1,streetviewpanorama:!1,getaddress:!0},geoloc:{getgeoloc:!0}};"string"==typeof i&&(i=o(i)),this.run=function(){for(var o,c;o=r();){if("function"==typeof e[o])return s=o,c=t.extend(!0,{},O[o]||{},i[o].options||{}),void(o in l.latLng?i[o].values?x(i[o].values,e,e[o],{todo:i[o],opts:c,session:a}):z(e,e[o],l.latLng[o],{todo:i[o],opts:c,session:a}):o in l.geoloc?$(e,e[o],{todo:i[o],opts:c,session:a}):e[o].apply(e,[{todo:i[o],opts:c,session:a}]));a[o]=null}n.apply(e,[i,a])},this.ack=function(t){a[s]=t,c.run.apply(c,[])}}function a(t){var e,n=[];for(e in t)n.push(e);return n}function c(e,n){var i={};if(e.todo)for(var o in e.todo)"options"!==o&&"values"!==o&&(i[o]=e.todo[o]);var r,s=["data","tag","id","events","onces"];for(r=0;r<s.length;r++)l(i,s[r],n,e.todo);return i.options=t.extend({},e.todo.options||{},n.options||{}),i}function l(t,e){for(var n=2;n<arguments.length;n++)if(e in arguments[n])return void(t[e]=arguments[n][e])}function u(){var t=[];this.get=function(e){if(t.length){var n,i,o,r,s,c=a(e);for(n=0;n<t.length;n++){for(r=t[n],s=c.length==r.keys.length,i=0;i<c.length&&s;i++)o=c[i],(s=o in r.request)&&(s="object"==typeof e[o]&&"equals"in e[o]&&"function"==typeof e[o]?e[o].equals(r.request[o]):e[o]===r.request[o]);if(s)return r.results}}},this.store=function(e,n){t.push({request:e,keys:a(e),results:n})}}function d(e,n,i,o){var r=this,s=[];O.classes.OverlayView.call(this),this.setMap(e),this.onAdd=function(){var e=this.getPanes();n.pane in e&&t(e[n.pane]).append(o),t.each("dblclick click mouseover mousemove mouseout mouseup mousedown".split(" "),function(e,n){s.push(google.maps.event.addDomListener(o[0],n,function(e){t.Event(e).stopPropagation(),google.maps.event.trigger(r,n,[e])}))}),s.push(google.maps.event.addDomListener(o[0],"contextmenu",function(e){t.Event(e).stopPropagation(),google.maps.event.trigger(r,"rightclick",[e])})),this.draw()},this.getPosition=function(){return i},this.draw=function(){this.draw=function(){var t=this.getProjection().fromLatLngToDivPixel(i);o.css("left",t.x+n.offset.x+"px").css("top",t.y+n.offset.y+"px")}},this.onRemove=function(){for(var t=0;t<s.length;t++)google.maps.event.removeListener(s[t]);o.remove()},this.hide=function(){o.hide()},this.show=function(){o.show()},this.toggle=function(){o&&(o.is(":visible")?this.show():this.hide())},this.toggleDOM=function(){this.getMap()?this.setMap(null):this.setMap(e)},this.getDOMElement=function(){return o[0]}}function p(t){function e(){return this.onAdd=function(){},this.onRemove=function(){},this.draw=function(){},O.classes.OverlayView.apply(this,[])}e.prototype=O.classes.OverlayView.prototype;var n=new e;return n.setMap(t),n}function h(n,r,s,a){function c(){if(!(b=E.getProjection()))return void setTimeout(function(){c.apply(x,[])},25);k=!0,$.push(google.maps.event.addListener(r,"zoom_changed",function(){f()})),$.push(google.maps.event.addListener(r,"bounds_changed",function(){f()})),g()}function l(t){"object"==typeof C[t]?("function"==typeof C[t].obj.setMap&&C[t].obj.setMap(null),"function"==typeof C[t].obj.remove&&C[t].obj.remove(),"function"==typeof C[t].shadow.remove&&C[t].obj.remove(),"function"==typeof C[t].shadow.setMap&&C[t].shadow.setMap(null),delete C[t].obj,delete C[t].shadow):O[t]&&O[t].setMap(null),delete C[t]}function u(){var t,e,n,i,o,r,s,a;return arguments[0]instanceof google.maps.LatLng?(t=arguments[0].lat(),n=arguments[0].lng(),arguments[1]instanceof google.maps.LatLng?(e=arguments[1].lat(),i=arguments[1].lng()):(e=arguments[1],i=arguments[2])):(t=arguments[0],n=arguments[1],arguments[2]instanceof google.maps.LatLng?(e=arguments[2].lat(),i=arguments[2].lng()):(e=arguments[2],i=arguments[3])),o=Math.PI*t/180,r=Math.PI*n/180,s=Math.PI*e/180,a=Math.PI*i/180,6371e3*Math.acos(Math.min(Math.cos(o)*Math.cos(s)*Math.cos(r)*Math.cos(a)+Math.cos(o)*Math.sin(r)*Math.cos(s)*Math.sin(a)+Math.sin(o)*Math.sin(s),1))}function d(){var t=u(r.getCenter(),r.getBounds().getNorthEast());return new google.maps.Circle({center:r.getCenter(),radius:1.25*t}).getBounds()}function h(){var t,e={};for(t in C)e[t]=!0;return e}function f(){clearTimeout(v),v=setTimeout(function(){g()},25)}function m(t){var e=b.fromLatLngToDivPixel(t),n=b.fromDivPixelToLatLng(new google.maps.Point(e.x+s,e.y-s)),i=b.fromDivPixelToLatLng(new google.maps.Point(e.x-s,e.y+s));return new google.maps.LatLngBounds(i,n)}function g(){if(!w&&!T&&k){var n,i,o,s,c,u,p,f,g,v=[],b={},M=r.getZoom(),x=a!==e&&M>a,$=h(),S=!1;for(A=!1,M>3&&(f=d(),S=f.getSouthWest().lng()<f.getNorthEast().lng()),t.each(N,function(t,e){e&&(S&&!f.contains(e.options.position)||y&&!y(L[t])||v.push(t))});;){for(n=0;b[n]&&n<v.length;)n++;if(n==v.length)break;if(u=[],z&&!x){do{if(p=u,u=[],p.length){for(s=c=0,o=0;o<p.length;o++)s+=N[v[p[o]]].options.position.lat(),c+=N[v[p[o]]].options.position.lng();s/=p.length,c/=p.length,f=m(new google.maps.LatLng(s,c))}else f=m(N[v[n]].options.position);for(i=n;i<v.length;i++)b[i]||f.contains(N[v[i]].options.position)&&u.push(i)}while(p.length<u.length&&u.length>1)}else for(i=n;i<v.length;i++)if(!b[i]){u.push(i);break}for(g={latLng:f.getCenter(),indexes:[],ref:[]},o=0;o<u.length;o++)b[u[o]]=!0,g.indexes.push(v[u[o]]),g.ref.push(v[u[o]]);g.ref=g.ref.join("-"),g.ref in $?delete $[g.ref]:(1===u.length&&(C[g.ref]=!0),function(t){setTimeout(function(){_(t)},1)}(g))}t.each($,function(t){l(t)}),T=!1}}var v,b,y,_,M,w=!1,A=!1,T=!1,k=!1,z=!0,x=this,$=[],C={},S={},O=[],N=[],L=[],E=p(r);c(),this.getById=function(t){return t in S&&O[S[t]]},this.clearById=function(t){if(t in S){var e=S[t];O[e]&&O[e].setMap(null),delete O[e],O[e]=!1,delete N[e],N[e]=!1,delete L[e],L[e]=!1,delete S[t],A=!0}},this.add=function(t,e){t.id=i(t.id),this.clearById(t.id),S[t.id]=O.length,O.push(null),N.push(t),L.push(e),A=!0},this.addMarker=function(t,e){e=e||{},e.id=i(e.id),this.clearById(e.id),e.options||(e.options={}),e.options.position=t.getPosition(),o(n,{todo:e},t,e.id),S[e.id]=O.length,O.push(t),N.push(e),L.push(e.data||{}),A=!0},this.todo=function(t){return N[t]},this.value=function(t){return L[t]},this.marker=function(t){return O[t]},this.setMarker=function(t,e){O[t]=e},this.store=function(t,e,n){C[t.ref]={obj:e,shadow:n}},this.free=function(){for(var e=0;e<$.length;e++)google.maps.event.removeListener($[e]);$=[],t.each(C,function(t){l(t)}),C={},t.each(N,function(t){N[t]=null}),N=[],t.each(O,function(t){O[t]&&(O[t].setMap(null),delete O[t])}),O=[],t.each(L,function(t){delete L[t]}),L=[],S={}},this.filter=function(t){y=t,g()},this.enable=function(t){z!=t&&(z=t,g())},this.display=function(t){_=t},this.error=function(t){M=t},this.beginUpdate=function(){w=!0},this.endUpdate=function(){w=!1,A&&g()}}function f(t,e){this.id=function(){return t},this.filter=function(t){e.filter(t)},this.enable=function(){e.enable(!0)},this.disable=function(){e.enable(!1)},this.add=function(t,n,i){i||e.beginUpdate(),e.addMarker(t,n),i||e.endUpdate()},this.getById=function(t){return e.getById(t)},this.clearById=function(t,n){n||e.beginUpdate(),e.clearById(t),n||e.endUpdate()}}function m(){function n(n){if(n)return"function"==typeof n?n:(n=A(n),function(i){if(i===e)return!1;if("object"==typeof i){for(var o=0;o<i.length;o++)if(t.inArray(i[o],n)>=0)return!0;return!1}return t.inArray(i,n)>=0})}function o(t){return{id:t.id,name:t.name,object:t.obj,tag:t.tag,data:t.data}}function r(t){"function"==typeof t.setMap&&t.setMap(null),"function"==typeof t.remove&&t.remove(),"function"==typeof t.free&&t.free(),t=null}var s={},a={};this.add=function(t,e,n,o){var r=t.todo||{},c=i(r.id);return s[e]||(s[e]=[]),c in a&&this.clearById(c),a[c]={obj:n,sub:o,name:e,id:c,tag:r.tag,data:r.data},s[e].push(c),c},this.getById=function(t,e,n){return t in a&&(e?a[t].sub:n?o(a[t]):a[t].obj)},this.get=function(t,e,i,r){var c,l,u=n(i);if(!s[t]||!s[t].length)return null;for(c=s[t].length;c;)if(c--,(l=s[t][e?c:s[t].length-c-1])&&a[l]){if(u&&!u(a[l].tag))continue;return r?o(a[l]):a[l].obj}return null},this.all=function(t,i,r){var c=[],l=n(i),u=function(t){var e,n;for(e=0;e<s[t].length;e++)if((n=s[t][e])&&a[n]){if(l&&!l(a[n].tag))continue;c.push(r?o(a[n]):a[n].obj)}};if(t in s)u(t);else if(t===e)for(t in s)u(t);return c},this.rm=function(t,e,n){var i,o;if(!s[t])return!1;if(e)if(n)for(i=s[t].length-1;i>=0&&(o=s[t][i],!e(a[o].tag));i--);else for(i=0;i<s[t].length&&(o=s[t][i],!e(a[o].tag));i++);else i=n?s[t].length-1:0;return i in s[t]&&this.clearById(s[t][i],i)},this.clearById=function(t,n){if(t in a){var i,o=a[t].name;for(i=0;n===e&&i<s[o].length;i++)t===s[o][i]&&(n=i);return r(a[t].obj),a[t].sub&&r(a[t].sub),delete a[t],s[o].splice(n,1),!0}return!1},this.objGetById=function(t){var e;if(s.clusterer)for(var n in s.clusterer)if(!1!==(e=a[s.clusterer[n]].obj.getById(t)))return e;return!1},this.objClearById=function(t){if(s.clusterer)for(var e in s.clusterer)if(a[s.clusterer[e]].obj.clearById(t))return!0;return null},this.clear=function(t,e,i,o){var r,a,c,l=n(o);if(t&&t.length)t=A(t);else{t=[];for(r in s)t.push(r)}for(a=0;a<t.length;a++)if(t[a]){if(c=t[a],!s[c])continue;if(e)this.rm(c,l,!0);else if(i)this.rm(c,l,!1);else for(;this.rm(c,l,!1););}}}function g(){return L.geocoder||(L.geocoder=new google.maps.Geocoder),L.geocoder}function v(){return L.directionsService||(L.directionsService=new google.maps.DirectionsService),L.directionsService}function b(){return L.elevationService||(L.elevationService=new google.maps.ElevationService),L.elevationService}function y(){return L.maxZoomService||(L.maxZoomService=new google.maps.MaxZoomService),L.maxZoomService}function _(){return L.distanceMatrixService||(L.distanceMatrixService=new google.maps.DistanceMatrixService),L.distanceMatrixService}function M(){if(O.verbose){var t,e=[];if(window.console&&"function"==typeof console.error){for(t=0;t<arguments.length;t++)e.push(arguments[t]);console.error.apply(console,e)}else{for(e="",t=0;t<arguments.length;t++)e+=arguments[t].toString()+" ";alert(e)}}}function w(t){return("number"==typeof t||"string"==typeof t)&&""!==t&&!isNaN(t)}function A(t){var n,i=[];if(t!==e)if("object"==typeof t)if("number"==typeof t.length)i=t;else for(n in t)i.push(t[n]);else i.push(t);return i}function T(e,n,i){var o=n?e:null;return e&&"string"!=typeof e?e.latLng?T(e.latLng):e instanceof google.maps.LatLng?e:w(e.lat)?new google.maps.LatLng(e.lat,e.lng):!i&&t.isArray(e)&&w(e[0])&&w(e[1])?new google.maps.LatLng(e[0],e[1]):o:o}function k(e){var n,i;return!e||e instanceof google.maps.LatLngBounds?e||null:(t.isArray(e)?2==e.length?(n=T(e[0]),i=T(e[1])):4==e.length&&(n=T([e[0],e[1]]),i=T([e[2],e[3]])):"ne"in e&&"sw"in e?(n=T(e.ne),i=T(e.sw)):"n"in e&&"e"in e&&"s"in e&&"w"in e&&(n=T([e.n,e.e]),i=T([e.s,e.w])),n&&i?new google.maps.LatLngBounds(i,n):null)}function z(t,e,n,i,o){var r=!!n&&T(i.todo,!1,!0),s=r?{latLng:r}:!!i.todo.address&&("string"==typeof i.todo.address?{address:i.todo.address}:i.todo.address),a=!!s&&E.get(s),c=this;s?(o=o||0,a?(i.latLng=a.results[0].geometry.location,i.results=a.results,i.status=a.status,e.apply(t,[i])):(s.location&&(s.location=T(s.location)),s.bounds&&(s.bounds=k(s.bounds)),g().geocode(s,function(r,a){a===google.maps.GeocoderStatus.OK?(E.store(s,{results:r,status:a}),i.latLng=r[0].geometry.location,i.results=r,i.status=a,e.apply(t,[i])):a===google.maps.GeocoderStatus.OVER_QUERY_LIMIT&&o<O.queryLimit.attempt?setTimeout(function(){z.apply(c,[t,e,n,i,o+1])},O.queryLimit.delay+Math.floor(Math.random()*O.queryLimit.random)):(M("geocode failed",a,s),i.latLng=i.results=!1,i.status=a,e.apply(t,[i]))}))):(i.latLng=T(i.todo,!1,!0),e.apply(t,[i]))}function x(e,n,i,o){function r(){do{a++}while(a<e.length&&!("address"in e[a]));if(a>=e.length)return void i.apply(n,[o]);z(s,function(n){delete n.todo,t.extend(e[a],n),r.apply(s,[])},!0,{todo:e[a]})}var s=this,a=-1;r()}function $(t,e,n){var i=!1;navigator&&navigator.geolocation?navigator.geolocation.getCurrentPosition(function(o){i||(i=!0,n.latLng=new google.maps.LatLng(o.coords.latitude,o.coords.longitude),e.apply(t,[n]))},function(){i||(i=!0,n.latLng=!1,e.apply(t,[n]))},n.opts.getCurrentPosition):(n.latLng=!1,e.apply(t,[n]))}function C(n){function a(){!x&&(x=C.get())&&x.run()}function l(){x=null,C.ack(),a.call($)}function u(e){var i,o=[];for(i=1;i<arguments.length;i++)o.push(arguments[i]);"function"==typeof e.todo.callback?e.todo.callback.apply(n,o):"object"==typeof e.todo.callback&&t.each(e.todo.callback,function(t,e){"function"==typeof e&&e.apply(n,o)})}function p(t,e,i){i&&o(n,t,e,i),u(t,e),x.ack(e)}function g(e,i){if(i=i||{},N)i.todo&&i.todo.options&&N.setOptions(i.todo.options);else{var o=i.opts||t.extend(!0,{},O.map,i.todo&&i.todo.options?i.todo.options:{});o.center=e||T(o.center),N=new O.classes.Map(n.get(0),o)}}function w(e,i,r){var s=[],a="values"in e.todo;if(a||(e.todo.values=[{options:e.opts}]),!e.todo.values.length)return void p(e,!1);g(),t.each(e.todo.values,function(a,l){var u,d,p,h,f=c(e,l);if(f.options[r])if(f.options[r][0][0]&&t.isArray(f.options[r][0][0]))for(d=0;d<f.options[r].length;d++)for(p=0;p<f.options[r][d].length;p++)f.options[r][d][p]=T(f.options[r][d][p]);else for(d=0;d<f.options[r].length;d++)f.options[r][d]=T(f.options[r][d]);f.options.map=N,h=new google.maps[i](f.options),s.push(h),u=S.add({todo:f},i.toLowerCase(),h),o(n,{todo:f},h,u)}),p(e,a?s:s[0])}function z(i){var r,s,a=new h(n,N,i.radius,i.maxZoom),c={},l={},u=/^[0-9]+$/;for(s in i)u.test(s)?(l[s]=i[s],l[s].width=l[s].width||0,l[s].height=l[s].height||0):c[s]=i[s];return r=c.calculator?function(e){var i=[];return t.each(e,function(t,e){i.push(a.value(e))}),c.calculator.apply(n,[i])}:function(t){return t.length},a.error(function(){M.apply($,arguments)}),a.display(function(i){var s,u,d,p,h,f=0,m=r(i.indexes);if(m>1){for(s in l)(s*=1)>f&&s<=m&&(f=s);u=l[f]}u?(h=u.offset||[-u.width/2,-u.height/2],d=t.extend({},c),d.options=t.extend({pane:"overlayLayer",content:u.content?u.content.replace("CLUSTER_COUNT",m):"",offset:{x:("x"in h?h.x:h[0])||0,y:("y"in h?h.y:h[1])||0}},c.options||{}),p=$.overlay({todo:d,opts:d.options,latLng:T(i)},!0),d.options.pane="floatShadow",d.options.content=t(document.createElement("div")).width(u.width+"px").height(u.height+"px"),shadow=$.overlay({todo:d,opts:d.options,latLng:T(i)},!0),c.data={latLng:T(i),markers:[]},t.each(i.indexes,function(t,e){c.data.markers.push(a.value(e)),a.marker(e)&&a.marker(e).setMap(null)}),o(n,{todo:c},shadow,e,{main:p,shadow:shadow}),a.store(i,p,shadow)):t.each(i.indexes,function(t,e){if(a.marker(e))a.marker(e).setMap(N);else{var i=a.todo(e),r=new O.classes.Marker(i.options);a.setMarker(e,r),o(n,{todo:i
},r,i.id)}})}),a}var x,$=this,C=new r,S=new m,N=null;this._plan=function(t){for(var e=0;e<t.length;e++)C.add(new s($,l,t[e]));a()},this.map=function(t){g(t.latLng,t),o(n,t,N),p(t,N)},this.destroy=function(t){S.clear(),n.empty(),N&&(N=null),p(t,!0)},this.infowindow=function(i){var r=[],s="values"in i.todo;s||(i.latLng?i.opts.position=i.latLng:i.opts.position&&(i.opts.position=T(i.opts.position)),i.todo.values=[{options:i.opts}]),t.each(i.todo.values,function(t,a){var l,u,d=c(i,a);N||g(d.options.position),u=new O.classes.InfoWindow(d.options),u&&(d.open===e||d.open)&&(s?u.open(N,d.anchor?d.anchor:e):u.open(N,d.anchor?d.anchor:i.latLng?e:i.session.marker?i.session.marker:e)),r.push(u),l=S.add({todo:d},"infowindow",u),o(n,{todo:d},u,l)}),p(i,s?r:r[0])},this.circle=function(e){var i=[],r="values"in e.todo;if(r||(e.opts.center=e.latLng||T(e.opts.center),e.todo.values=[{options:e.opts}]),!e.todo.values.length)return void p(e,!1);t.each(e.todo.values,function(t,r){var s,a,l=c(e,r);l.options.center=T(l.options.center?l.options.center:r),N||g(l.options.center),l.options.map=N,a=new O.classes.Circle(l.options),i.push(a),s=S.add({todo:l},"circle",a),o(n,{todo:l},a,s)}),p(e,r?i:i[0])},this.overlay=function(e,n){var i,o,r=t(document.createElement("div")).css("border","none").css("borderWidth","0px").css("position","absolute");if(r.append(e.opts.content),d.prototype=new O.classes.OverlayView,o=new d(N,e.opts,e.latLng,r),r=null,n)return o;i=S.add(e,"overlay",o),p(e,o,i)},this.getaddress=function(t){u(t,t.results,t.status),x.ack()},this.getlatlng=function(t){u(t,t.results,t.status),x.ack()},this.getmaxzoom=function(t){y().getMaxZoomAtLatLng(t.latLng,function(e){u(t,e.status===google.maps.MaxZoomStatus.OK&&e.zoom,status),x.ack()})},this.getelevation=function(t){var e,n=[],i=function(e,n){u(t,n===google.maps.ElevationStatus.OK&&e,n),x.ack()};if(t.latLng)n.push(t.latLng);else for(n=A(t.todo.locations||[]),e=0;e<n.length;e++)n[e]=T(n[e]);if(n.length)b().getElevationForLocations({locations:n},i);else{if(t.todo.path&&t.todo.path.length)for(e=0;e<t.todo.path.length;e++)n.push(T(t.todo.path[e]));n.length?b().getElevationAlongPath({path:n,samples:t.todo.samples},i):x.ack()}},this.defaults=function(e){t.each(e.todo,function(e,n){"object"==typeof O[e]?O[e]=t.extend({},O[e],n):O[e]=n}),x.ack(!0)},this.rectangle=function(e){var i=[],r="values"in e.todo;if(r||(e.todo.values=[{options:e.opts}]),!e.todo.values.length)return void p(e,!1);t.each(e.todo.values,function(t,r){var s,a,l=c(e,r);l.options.bounds=k(l.options.bounds?l.options.bounds:r),N||g(l.options.bounds.getCenter()),l.options.map=N,a=new O.classes.Rectangle(l.options),i.push(a),s=S.add({todo:l},"rectangle",a),o(n,{todo:l},a,s)}),p(e,r?i:i[0])},this.polyline=function(t){w(t,"Polyline","path")},this.polygon=function(t){w(t,"Polygon","paths")},this.trafficlayer=function(t){g();var e=S.get("trafficlayer");e||(e=new O.classes.TrafficLayer,e.setMap(N),S.add(t,"trafficlayer",e)),p(t,e)},this.bicyclinglayer=function(t){g();var e=S.get("bicyclinglayer");e||(e=new O.classes.BicyclingLayer,e.setMap(N),S.add(t,"bicyclinglayer",e)),p(t,e)},this.groundoverlay=function(t){t.opts.bounds=k(t.opts.bounds),t.opts.bounds&&g(t.opts.bounds.getCenter());var e,n=new O.classes.GroundOverlay(t.opts.url,t.opts.bounds,t.opts.opts);n.setMap(N),e=S.add(t,"groundoverlay",n),p(t,n,e)},this.streetviewpanorama=function(e){e.opts.opts||(e.opts.opts={}),e.latLng?e.opts.opts.position=e.latLng:e.opts.opts.position&&(e.opts.opts.position=T(e.opts.opts.position)),e.todo.divId?e.opts.container=document.getElementById(e.todo.divId):e.opts.container&&(e.opts.container=t(e.opts.container).get(0));var n,i=new O.classes.StreetViewPanorama(e.opts.container,e.opts.opts);i&&N.setStreetView(i),n=S.add(e,"streetviewpanorama",i),p(e,i,n)},this.kmllayer=function(e){var i=[],r="values"in e.todo;if(r||(e.todo.values=[{options:e.opts}]),!e.todo.values.length)return void p(e,!1);t.each(e.todo.values,function(t,r){var s,a,l=c(e,r);N||g(),l.options.opts.map=N,a=new O.classes.KmlLayer(l.options.url,l.options.opts),i.push(a),s=S.add({todo:l},"kmllayer",a),o(n,{todo:l},a,s)}),p(e,r?i:i[0])},this.panel=function(i){g();var o,r,s=0,a=0,c=t(document.createElement("div"));c.css("position","absolute").css("z-index","1000"),i.opts.content&&(r=t(i.opts.content),i.opts.left!==e?s=i.opts.left:i.opts.right!==e?s=n.width()-r.width()-i.opts.right:i.opts.center&&(s=(n.width()-r.width())/2),i.opts.top!==e?a=i.opts.top:i.opts.bottom!==e?a=n.height()-r.height()-i.opts.bottom:i.opts.middle&&(a=(n.height()-r.height())/2),c.css("top",a+"px").css("left",s+"px").append(r)),n.first().prepend(c),o=S.add(i,"panel",c),p(i,c,o),c=null},this.marker=function(e){var r="values"in e.todo,s=!N;if(r||(e.opts.position=e.latLng||T(e.opts.position),e.todo.values=[{options:e.opts}]),!e.todo.values.length)return void p(e,!1);if(s&&g(),e.todo.cluster&&!N.getBounds())return void google.maps.event.addListenerOnce(N,"bounds_changed",function(){$.marker.apply($,[e])});if(e.todo.cluster){var a,l;e.todo.cluster instanceof f?(a=e.todo.cluster,l=S.getById(a.id(),!0)):(l=z(e.todo.cluster),a=new f(i(e.todo.id,!0),l),S.add(e,"clusterer",a,l)),l.beginUpdate(),t.each(e.todo.values,function(t,n){var i=c(e,n);i.options.position=T(i.options.position?i.options.position:n),i.options.map=N,s&&(N.setCenter(i.options.position),s=!1),l.add(i,n)}),l.endUpdate(),p(e,a)}else{var u=[];t.each(e.todo.values,function(t,i){var r,a,l=c(e,i);l.options.position=T(l.options.position?l.options.position:i),l.options.map=N,s&&(N.setCenter(l.options.position),s=!1),a=new O.classes.Marker(l.options),u.push(a),r=S.add({todo:l},"marker",a),o(n,{todo:l},a,r)}),p(e,r?u:u[0])}},this.getroute=function(t){t.opts.origin=T(t.opts.origin,!0),t.opts.destination=T(t.opts.destination,!0),v().route(t.opts,function(e,n){u(t,n==google.maps.DirectionsStatus.OK&&e,n),x.ack()})},this.directionsrenderer=function(e){e.opts.map=N;var n,i=new google.maps.DirectionsRenderer(e.opts);e.todo.divId?i.setPanel(document.getElementById(e.todo.divId)):e.todo.container&&i.setPanel(t(e.todo.container).get(0)),n=S.add(e,"directionrenderer",i),p(e,i,n)},this.getgeoloc=function(t){p(t,t.latLng)},this.styledmaptype=function(t){g();var e=new O.classes.StyledMapType(t.todo.styles,t.opts);N.mapTypes.set(t.todo.id,e),p(t,e)},this.imagemaptype=function(t){g();var e=new O.classes.ImageMapType(t.opts);N.mapTypes.set(t.todo.id,e),p(t,e)},this.autofit=function(e){var n=new google.maps.LatLngBounds;t.each(S.all(),function(t,e){e.getPosition?n.extend(e.getPosition()):e.getBounds?(n.extend(e.getBounds().getNorthEast()),n.extend(e.getBounds().getSouthWest())):e.getPaths?e.getPaths().forEach(function(t){t.forEach(function(t){n.extend(t)})}):e.getPath?e.getPath().forEach(function(t){n.extend(t)}):e.getCenter&&n.extend(e.getCenter())}),n.isEmpty()||N.getBounds()&&N.getBounds().equals(n)||("maxZoom"in e.todo&&google.maps.event.addListenerOnce(N,"bounds_changed",function(){this.getZoom()>e.todo.maxZoom&&this.setZoom(e.todo.maxZoom)}),N.fitBounds(n)),p(e,!0)},this.clear=function(e){if("string"==typeof e.todo){if(S.clearById(e.todo)||S.objClearById(e.todo))return void p(e,!0);e.todo={name:e.todo}}e.todo.id?t.each(A(e.todo.id),function(t,e){S.clearById(e)}):S.clear(A(e.todo.name),e.todo.last,e.todo.first,e.todo.tag),p(e,!0)},this.exec=function(e){var i=this;t.each(A(e.todo.func),function(o,r){t.each(i.get(e.todo,!0,!e.todo.hasOwnProperty("full")||e.todo.full),function(t,e){r.call(n,e)})}),p(e,!0)},this.get=function(n,i,o){var r,s,a=i?n:n.todo;if(i||(o=a.full),"string"==typeof a?!1===(s=S.getById(a,!1,o)||S.objGetById(a))&&(r=a,a={}):r=a.name,"map"===r&&(s=N),s||(s=[],a.id?(t.each(A(a.id),function(t,e){s.push(S.getById(e,!1,o)||S.objGetById(e))}),t.isArray(a.id)||(s=s[0])):(t.each(r?A(r):[e],function(e,n){var i;a.first?(i=S.get(n,!1,a.tag,o))&&s.push(i):a.all?t.each(S.all(n,a.tag,o),function(t,e){s.push(e)}):(i=S.get(n,!0,a.tag,o))&&s.push(i)}),a.all||t.isArray(r)||(s=s[0]))),s=t.isArray(s)||!a.all?s:[s],i)return s;p(n,s)},this.getdistance=function(t){var e;for(t.opts.origins=A(t.opts.origins),e=0;e<t.opts.origins.length;e++)t.opts.origins[e]=T(t.opts.origins[e],!0);for(t.opts.destinations=A(t.opts.destinations),e=0;e<t.opts.destinations.length;e++)t.opts.destinations[e]=T(t.opts.destinations[e],!0);_().getDistanceMatrix(t.opts,function(e,n){u(t,n===google.maps.DistanceMatrixStatus.OK&&e,n),x.ack()})},this.trigger=function(e){if("string"==typeof e.todo)google.maps.event.trigger(N,e.todo);else{var n=[N,e.todo.eventName];e.todo.var_args&&t.each(e.todo.var_args,function(t,e){n.push(e)}),google.maps.event.trigger.apply(google.maps.event,n)}u(e),x.ack()}}function S(t){var e;if(!t.hasOwnProperty("get"))return!1;for(e in t)if("get"!==e)return!1;return!t.get.hasOwnProperty("callback")}var O,N=0,L={},E=new u;t.fn.gmap3=function(){var e,i=[],o=!0,r=[];for(n(),e=0;e<arguments.length;e++)arguments[e]&&i.push(arguments[e]);return i.length||i.push("map"),t.each(this,function(){var e=t(this),n=e.data("gmap3");o=!1,n||(n=new C(e),e.data("gmap3",n)),1!==i.length||"get"!==i[0]&&!S(i[0])?n._plan(i):r.push(n.get("get"===i[0]?"map":i[0].get,!0))}),r.length?1===r.length?r[0]:r:this}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return En.apply(null,arguments)}function e(t){En=t}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function o(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return r(e,"toString")&&(t.toString=e.toString),r(e,"valueOf")&&(t.valueOf=e.valueOf),t}function a(t,e,n,i){return $t(t,e,n,i,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function l(t){return null==t._pf&&(t._pf=c()),t._pf}function u(t){if(null==t._isValid){var e=l(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function d(t){var e=a(NaN);return null!=t?s(l(e),t):l(e).userInvalidated=!0,e}function p(t,e){var n,i,o;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=l(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),Dn.length>0)for(n in Dn)i=Dn[n],void 0!==(o=e[i])&&(t[i]=o);return t}function h(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===qn&&(qn=!0,t.updateOffset(this),qn=!1)}function f(t){return t instanceof h||null!=t&&null!=t._isAMomentObject}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function g(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=m(e)),n}function v(t,e,n){var i,o=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),s=0;for(i=0;o>i;i++)(n&&t[i]!==e[i]||!n&&g(t[i])!==g(e[i]))&&s++;return s+r}function b(){}function y(t){return t?t.toLowerCase().replace("_","-"):t}function _(t){for(var e,n,i,o,r=0;r<t.length;){for(o=y(t[r]).split("-"),e=o.length,n=y(t[r+1]),n=n?n.split("-"):null;e>0;){if(i=M(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&v(o,n,!0)>=e-1)break;e--}r++}return null}function M(t){var e=null;if(!Pn[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=jn._abbr,require("./locale/"+t),w(e)}catch(t){}return Pn[t]}function w(t,e){var n;return t&&(n=void 0===e?T(t):A(t,e))&&(jn=n),jn._abbr}function A(t,e){return null!==e?(e.abbr=t,Pn[t]=Pn[t]||new b,Pn[t].set(e),w(t),Pn[t]):(delete Pn[t],null)}function T(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return jn;if(!n(t)){if(e=M(t))return e;t=[t]}return _(t)}function k(t,e){var n=t.toLowerCase();Bn[n]=Bn[n+"s"]=Bn[e]=t}function z(t){return"string"==typeof t?Bn[t]||Bn[t.toLowerCase()]:void 0}function x(t){var e,n,i={};for(n in t)r(t,n)&&(e=z(n))&&(i[e]=t[n]);return i}function $(e,n){return function(i){return null!=i?(S(this,e,i),t.updateOffset(this,n),this):C(this,e)}}function C(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function S(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function O(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=z(t),"function"==typeof this[t])return this[t](e);return this}function N(t,e,n){var i=""+Math.abs(t),o=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}function L(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(Xn[t]=o),e&&(Xn[e[0]]=function(){return N(o.apply(this,arguments),e[1],e[2])}),n&&(Xn[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function E(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function j(t){var e,n,i=t.match(In);for(e=0,n=i.length;n>e;e++)Xn[i[e]]?i[e]=Xn[i[e]]:i[e]=E(i[e]);return function(o){var r="";for(e=0;n>e;e++)r+=i[e]instanceof Function?i[e].call(o,t):i[e];return r}}function D(t,e){return t.isValid()?(e=q(e,t.localeData()),Rn[e]=Rn[e]||j(e),Rn[e](t)):t.localeData().invalidDate()}function q(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Wn.lastIndex=0;i>=0&&Wn.test(t);)t=t.replace(Wn,n),Wn.lastIndex=0,i-=1;return t}function P(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function B(t,e,n){oi[t]=P(e)?e:function(t){return t&&n?n:e}}function I(t,e){return r(oi,t)?oi[t](e._strict,e._locale):new RegExp(W(t))}function W(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=g(t)}),n=0;n<t.length;n++)ri[t[n]]=i}function X(t,e){R(t,function(t,n,i,o){i._w=i._w||{},e(t,i._w,i,o)})}function F(t,e,n){null!=e&&r(ri,t)&&ri[t](e,n._a,n,t)}function H(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function U(t){return this._months[t.month()]}function V(t){return this._monthsShort[t.month()]}function Y(t,e,n){var i,o,r;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(o=a([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function G(t,e){var n;return"string"==typeof e&&"number"!=typeof(e=t.localeData().monthsParse(e))?t:(n=Math.min(t.date(),H(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function K(e){return null!=e?(G(this,e),t.updateOffset(this,!0),this):C(this,"Month")}function J(){return H(this.year(),this.month())}function Q(t){var e,n=t._a;return n&&-2===l(t).overflow&&(e=n[ai]<0||n[ai]>11?ai:n[ci]<1||n[ci]>H(n[si],n[ai])?ci:n[li]<0||n[li]>24||24===n[li]&&(0!==n[ui]||0!==n[di]||0!==n[pi])?li:n[ui]<0||n[ui]>59?ui:n[di]<0||n[di]>59?di:n[pi]<0||n[pi]>999?pi:-1,l(t)._overflowDayOfYear&&(si>e||e>ci)&&(e=ci),l(t).overflow=e),t}function Z(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function tt(t,e){var n=!0;return s(function(){return n&&(Z(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)},e)}function et(t,e){mi[t]||(Z(e),mi[t]=!0)}function nt(t){var e,n,i=t._i,o=gi.exec(i);if(o){for(l(t).iso=!0,e=0,n=vi.length;n>e;e++)if(vi[e][1].exec(i)){t._f=vi[e][0];break}for(e=0,n=bi.length;n>e;e++)if(bi[e][1].exec(i)){t._f+=(o[6]||" ")+bi[e][0];break}i.match(ei)&&(t._f+="Z"),Mt(t)}else t._isValid=!1}function it(e){var n=yi.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(nt(e),void(!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e))))}function ot(t,e,n,i,o,r,s){var a=new Date(t,e,n,i,o,r,s);return 1970>t&&a.setFullYear(t),a}function rt(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function st(t){return at(t)?366:365}function at(t){return t%4==0&&t%100!=0||t%400==0}function ct(){return at(this.year())}function lt(t,e,n){var i,o=n-e,r=n-t.day();return r>o&&(r-=7),o-7>r&&(r+=7),i=Ct(t).add(r,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ut(t){return lt(t,this._week.dow,this._week.doy).week}function dt(){return this._week.dow}function pt(){return this._week.doy}function ht(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function ft(t){var e=lt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function mt(t,e,n,i,o){var r,s=6+o-i,a=rt(t,0,1+s),c=a.getUTCDay();return o>c&&(c+=7),n=null!=n?1*n:o,r=1+s+7*(e-1)-c+n,{year:r>0?t:t-1,dayOfYear:r>0?r:st(t-1)+r}}function gt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function vt(t,e,n){return null!=t?t:null!=e?e:n}function bt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function yt(t){var e,n,i,o,r=[];if(!t._d){for(i=bt(t),t._w&&null==t._a[ci]&&null==t._a[ai]&&_t(t),t._dayOfYear&&(o=vt(t._a[si],i[si]),t._dayOfYear>st(o)&&(l(t)._overflowDayOfYear=!0),n=rt(o,0,t._dayOfYear),t._a[ai]=n.getUTCMonth(),t._a[ci]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=r[e]=i[e];for(;7>e;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[li]&&0===t._a[ui]&&0===t._a[di]&&0===t._a[pi]&&(t._nextDay=!0,t._a[li]=0),t._d=(t._useUTC?rt:ot).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[li]=24)}}function _t(t){var e,n,i,o,r,s,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(r=1,s=4,n=vt(e.GG,t._a[si],lt(Ct(),1,4).year),i=vt(e.W,1),o=vt(e.E,1)):(r=t._locale._week.dow,s=t._locale._week.doy,n=vt(e.gg,t._a[si],lt(Ct(),r,s).year),i=vt(e.w,1),null!=e.d?(o=e.d,r>o&&++i):o=null!=e.e?e.e+r:r),a=mt(n,i,o,s,r),t._a[si]=a.year,t._dayOfYear=a.dayOfYear}function Mt(e){if(e._f===t.ISO_8601)return void nt(e);e._a=[],l(e).empty=!0;var n,i,o,r,s,a=""+e._i,c=a.length,u=0;for(o=q(e._f,e._locale).match(In)||[],n=0;n<o.length;n++)r=o[n],i=(a.match(I(r,e))||[])[0],i&&(s=a.substr(0,a.indexOf(i)),s.length>0&&l(e).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),u+=i.length),Xn[r]?(i?l(e).empty=!1:l(e).unusedTokens.push(r),F(r,i,e)):e._strict&&!i&&l(e).unusedTokens.push(r);l(e).charsLeftOver=c-u,a.length>0&&l(e).unusedInput.push(a),!0===l(e).bigHour&&e._a[li]<=12&&e._a[li]>0&&(l(e).bigHour=void 0),e._a[li]=wt(e._locale,e._a[li],e._meridiem),yt(e),Q(e)}function wt(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function At(t){var e,n,i,o,r;if(0===t._f.length)return l(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)r=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Mt(e),u(e)&&(r+=l(e).charsLeftOver,r+=10*l(e).unusedTokens.length,l(e).score=r,(null==i||i>r)&&(i=r,n=e));s(t,n||e)}function Tt(t){if(!t._d){var e=x(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],yt(t)}}function kt(t){var e=new h(Q(zt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function zt(t){var e=t._i,o=t._f;return t._locale=t._locale||T(t._l),null===e||void 0===o&&""===e?d({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),f(e)?new h(Q(e)):(n(o)?At(t):o?Mt(t):i(e)?t._d=e:xt(t),t))}function xt(e){var r=e._i;void 0===r?e._d=new Date:i(r)?e._d=new Date(+r):"string"==typeof r?it(e):n(r)?(e._a=o(r.slice(0),function(t){return parseInt(t,10)}),yt(e)):"object"==typeof r?Tt(e):"number"==typeof r?e._d=new Date(r):t.createFromInputFallback(e)}function $t(t,e,n,i,o){var r={};return"boolean"==typeof n&&(i=n,n=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=t,r._f=e,r._strict=i,kt(r)}function Ct(t,e,n,i){return $t(t,e,n,i,!1)}function St(t,e){var i,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Ct();for(i=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](i))&&(i=e[o]);return i}function Ot(){return St("isBefore",[].slice.call(arguments,0))}function Nt(){return St("isAfter",[].slice.call(arguments,0))}function Lt(t){var e=x(t),n=e.year||0,i=e.quarter||0,o=e.month||0,r=e.week||0,s=e.day||0,a=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._milliseconds=+u+1e3*l+6e4*c+36e5*a,this._days=+s+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=T(),this._bubble()}function Et(t){return t instanceof Lt}function jt(t,e){L(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+N(~~(t/60),2)+e+N(~~t%60,2)})}function Dt(t){var e=(t||"").match(ei)||[],n=e[e.length-1]||[],i=(n+"").match(Ti)||["-",0,0],o=60*i[1]+g(i[2]);return"+"===i[0]?o:-o}function qt(e,n){var o,r;return n._isUTC?(o=n.clone(),r=(f(e)||i(e)?+e:+Ct(e))-+o,o._d.setTime(+o._d+r),t.updateOffset(o,!1),o):Ct(e).local()}function Pt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Bt(e,n){var i,o=this._offset||0;return null!=e?("string"==typeof e&&(e=Dt(e)),Math.abs(e)<16&&(e*=60),!this._isUTC&&n&&(i=Pt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!n||this._changeInProgress?ee(this,Kt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:Pt(this)}function It(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Wt(t){return this.utcOffset(0,t)}function Rt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Pt(this),"m")),this}function Xt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Dt(this._i)),this}function Ft(t){return t=t?Ct(t).utcOffset():0,(this.utcOffset()-t)%60==0}function Ht(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ut(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var t={};if(p(t,this),t=zt(t),t._a){var e=t._isUTC?a(t._a):Ct(t._a);this._isDSTShifted=this.isValid()&&v(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Vt(){return!this._isUTC}function Yt(){return this._isUTC}function Gt(){return this._isUTC&&0===this._offset}function Kt(t,e){var n,i,o,s=t,a=null;return Et(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(s={},e?s[e]=t:s.milliseconds=t):(a=ki.exec(t))?(n="-"===a[1]?-1:1,s={y:0,d:g(a[ci])*n,h:g(a[li])*n,m:g(a[ui])*n,s:g(a[di])*n,ms:g(a[pi])*n}):(a=zi.exec(t))?(n="-"===a[1]?-1:1,s={y:Jt(a[2],n),M:Jt(a[3],n),d:Jt(a[4],n),h:Jt(a[5],n),m:Jt(a[6],n),s:Jt(a[7],n),w:Jt(a[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=Zt(Ct(s.from),Ct(s.to)),s={},s.ms=o.milliseconds,s.M=o.months),i=new Lt(s),Et(t)&&r(t,"_locale")&&(i._locale=t._locale),i}function Jt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Qt(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Zt(t,e){var n;return e=qt(e,t),t.isBefore(e)?n=Qt(t,e):(n=Qt(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function te(t,e){return function(n,i){var o,r;return null===i||isNaN(+i)||(et(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),r=n,n=i,i=r),n="string"==typeof n?+n:n,o=Kt(n,i),ee(this,o,t),this}}function ee(e,n,i,o){var r=n._milliseconds,s=n._days,a=n._months;o=null==o||o,r&&e._d.setTime(+e._d+r*i),s&&S(e,"Date",C(e,"Date")+s*i),a&&G(e,C(e,"Month")+a*i),o&&t.updateOffset(e,s||a)}function ne(t,e){var n=t||Ct(),i=qt(n,this).startOf("day"),o=this.diff(i,"days",!0),r=-6>o?"sameElse":-1>o?"lastWeek":0>o?"lastDay":1>o?"sameDay":2>o?"nextDay":7>o?"nextWeek":"sameElse";return this.format(e&&e[r]||this.localeData().calendar(r,this,Ct(n)))}function ie(){return new h(this)}function oe(t,e){return e=z(void 0!==e?e:"millisecond"),"millisecond"===e?(t=f(t)?t:Ct(t),+this>+t):(f(t)?+t:+Ct(t))<+this.clone().startOf(e)}function re(t,e){var n;return e=z(void 0!==e?e:"millisecond"),"millisecond"===e?+(t=f(t)?t:Ct(t))>+this:(n=f(t)?+t:+Ct(t),+this.clone().endOf(e)<n)}function se(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function ae(t,e){var n;return e=z(e||"millisecond"),"millisecond"===e?(t=f(t)?t:Ct(t),+this==+t):(n=+Ct(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function ce(t,e,n){var i,o,r=qt(t,this),s=6e4*(r.utcOffset()-this.utcOffset());return e=z(e),"year"===e||"month"===e||"quarter"===e?(o=le(this,r),"quarter"===e?o/=3:"year"===e&&(o/=12)):(i=this-r,o="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-s)/864e5:"week"===e?(i-s)/6048e5:i),n?o:m(o)}function le(t,e){var n,i,o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return 0>e-r?(n=t.clone().add(o-1,"months"),i=(e-r)/(r-n)):(n=t.clone().add(o+1,"months"),i=(e-r)/(n-r)),-(o+i)}function ue(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function de(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():D(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):D(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function pe(e){var n=D(this,e||t.defaultFormat);return this.localeData().postformat(n)}function he(t,e){return this.isValid()?Kt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function fe(t){return this.from(Ct(),t)}function me(t,e){return this.isValid()?Kt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ge(t){return this.to(Ct(),t)}function ve(t){var e;return void 0===t?this._locale._abbr:(e=T(t),null!=e&&(this._locale=e),this)}function be(){return this._locale}function ye(t){switch(t=z(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function _e(t){return t=z(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function Me(){return+this._d-6e4*(this._offset||0)}function we(){return Math.floor(+this/1e3)}function Ae(){return this._offset?new Date(+this):this._d}function Te(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function ke(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function ze(){return u(this)}function xe(){return s({},l(this))}function $e(){return l(this).overflow}function Ce(t,e){L(0,[t,t.length],0,e)}function Se(t,e,n){return lt(Ct([t,11,31+e-n]),e,n).week}function Oe(t){var e=lt(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function Ne(t){var e=lt(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Le(){return Se(this.year(),1,4)}function Ee(){var t=this.localeData()._week;return Se(this.year(),t.dow,t.doy)}function je(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function De(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function qe(t){return this._weekdays[t.day()]}function Pe(t){return this._weekdaysShort[t.day()]}function Be(t){return this._weekdaysMin[t.day()]}function Ie(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;7>e;e++)if(this._weekdaysParse[e]||(n=Ct([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function We(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=De(t,this.localeData()),this.add(t-e,"d")):e}function Re(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Xe(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Fe(t,e){L(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function He(t,e){return e._meridiemParse}function Ue(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ve(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Ye(t,e){e[pi]=g(1e3*("0."+t))}function Ge(){return this._isUTC?"UTC":""}function Ke(){return this._isUTC?"Coordinated Universal Time":""}function Je(t){return Ct(1e3*t)}function Qe(){return Ct.apply(null,arguments).parseZone()}function Ze(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function tn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function en(){return this._invalidDate}function nn(t){return this._ordinal.replace("%d",t)}function on(t){return t}function rn(t,e,n,i){var o=this._relativeTime[n];return"function"==typeof o?o(t,e,n,i):o.replace(/%d/i,t)}function sn(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function an(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function cn(t,e,n,i){var o=T(),r=a().set(i,e);return o[n](r,t)}function ln(t,e,n,i,o){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,o);var r,s=[];for(r=0;i>r;r++)s[r]=cn(t,r,n,o);return s}function un(t,e){return ln(t,e,"months",12,"month")}function dn(t,e){return ln(t,e,"monthsShort",12,"month")}function pn(t,e){return ln(t,e,"weekdays",7,"day")}function hn(t,e){return ln(t,e,"weekdaysShort",7,"day")}function fn(t,e){return ln(t,e,"weekdaysMin",7,"day")}function mn(){var t=this._data;return this._milliseconds=Vi(this._milliseconds),this._days=Vi(this._days),this._months=Vi(this._months),t.milliseconds=Vi(t.milliseconds),t.seconds=Vi(t.seconds),t.minutes=Vi(t.minutes),t.hours=Vi(t.hours),t.months=Vi(t.months),t.years=Vi(t.years),this}function gn(t,e,n,i){var o=Kt(e,n);return t._milliseconds+=i*o._milliseconds,t._days+=i*o._days,t._months+=i*o._months,t._bubble()}function vn(t,e){return gn(this,t,e,1)}function bn(t,e){return gn(this,t,e,-1)}function yn(t){return 0>t?Math.floor(t):Math.ceil(t)}function _n(){var t,e,n,i,o,r=this._milliseconds,s=this._days,a=this._months,c=this._data;return r>=0&&s>=0&&a>=0||0>=r&&0>=s&&0>=a||(r+=864e5*yn(wn(a)+s),s=0,a=0),c.milliseconds=r%1e3,t=m(r/1e3),c.seconds=t%60,e=m(t/60),c.minutes=e%60,n=m(e/60),c.hours=n%24,s+=m(n/24),o=m(Mn(s)),a+=o,s-=yn(wn(o)),i=m(a/12),a%=12,c.days=s,c.months=a,c.years=i,this}function Mn(t){return 4800*t/146097}function wn(t){return 146097*t/4800}function An(t){var e,n,i=this._milliseconds;if("month"===(t=z(t))||"year"===t)return e=this._days+i/864e5,n=this._months+Mn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(wn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Tn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function kn(t){return function(){return this.as(t)}}function zn(t){return t=z(t),this[t+"s"]()}function xn(t){return function(){return this._data[t]}}function $n(){return m(this.days()/7)}function Cn(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function Sn(t,e,n){
var i=Kt(t).abs(),o=lo(i.as("s")),r=lo(i.as("m")),s=lo(i.as("h")),a=lo(i.as("d")),c=lo(i.as("M")),l=lo(i.as("y")),u=o<uo.s&&["s",o]||1===r&&["m"]||r<uo.m&&["mm",r]||1===s&&["h"]||s<uo.h&&["hh",s]||1===a&&["d"]||a<uo.d&&["dd",a]||1===c&&["M"]||c<uo.M&&["MM",c]||1===l&&["y"]||["yy",l];return u[2]=e,u[3]=+t>0,u[4]=n,Cn.apply(null,u)}function On(t,e){return void 0!==uo[t]&&(void 0===e?uo[t]:(uo[t]=e,!0))}function Nn(t){var e=this.localeData(),n=Sn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ln(){var t,e,n,i=po(this._milliseconds)/1e3,o=po(this._days),r=po(this._months);t=m(i/60),e=m(t/60),i%=60,t%=60,n=m(r/12),r%=12;var s=n,a=r,c=o,l=e,u=t,d=i,p=this.asSeconds();return p?(0>p?"-":"")+"P"+(s?s+"Y":"")+(a?a+"M":"")+(c?c+"D":"")+(l||u||d?"T":"")+(l?l+"H":"")+(u?u+"M":"")+(d?d+"S":""):"P0D"}var En,jn,Dn=t.momentProperties=[],qn=!1,Pn={},Bn={},In=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Wn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rn={},Xn={},Fn=/\d/,Hn=/\d\d/,Un=/\d{3}/,Vn=/\d{4}/,Yn=/[+-]?\d{6}/,Gn=/\d\d?/,Kn=/\d{1,3}/,Jn=/\d{1,4}/,Qn=/[+-]?\d{1,6}/,Zn=/\d+/,ti=/[+-]?\d+/,ei=/Z|[+-]\d\d:?\d\d/gi,ni=/[+-]?\d+(\.\d{1,3})?/,ii=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,oi={},ri={},si=0,ai=1,ci=2,li=3,ui=4,di=5,pi=6;L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),L("MMMM",0,0,function(t){return this.localeData().months(this,t)}),k("month","M"),B("M",Gn),B("MM",Gn,Hn),B("MMM",ii),B("MMMM",ii),R(["M","MM"],function(t,e){e[ai]=g(t)-1}),R(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[ai]=o:l(n).invalidMonth=t});var hi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),mi={};t.suppressDeprecationWarnings=!1;var gi=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],bi=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],yi=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=tt("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),k("year","y"),B("Y",ti),B("YY",Gn,Hn),B("YYYY",Jn,Vn),B("YYYYY",Qn,Yn),B("YYYYYY",Qn,Yn),R(["YYYYY","YYYYYY"],si),R("YYYY",function(e,n){n[si]=2===e.length?t.parseTwoDigitYear(e):g(e)}),R("YY",function(e,n){n[si]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(t){return g(t)+(g(t)>68?1900:2e3)};var _i=$("FullYear",!1);L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),k("week","w"),k("isoWeek","W"),B("w",Gn),B("ww",Gn,Hn),B("W",Gn),B("WW",Gn,Hn),X(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=g(t)});var Mi={dow:0,doy:6};L("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),B("DDD",Kn),B("DDDD",Un),R(["DDD","DDDD"],function(t,e,n){n._dayOfYear=g(t)}),t.ISO_8601=function(){};var wi=tt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Ct.apply(null,arguments);return this>t?this:t}),Ai=tt("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Ct.apply(null,arguments);return t>this?this:t});jt("Z",":"),jt("ZZ",""),B("Z",ei),B("ZZ",ei),R(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Dt(t)});var Ti=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var ki=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,zi=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Kt.fn=Lt.prototype;var xi=te(1,"add"),$i=te(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Ci=tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ce("gggg","weekYear"),Ce("ggggg","weekYear"),Ce("GGGG","isoWeekYear"),Ce("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),B("G",ti),B("g",ti),B("GG",Gn,Hn),B("gg",Gn,Hn),B("GGGG",Jn,Vn),B("gggg",Jn,Vn),B("GGGGG",Qn,Yn),B("ggggg",Qn,Yn),X(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=g(t)}),X(["gg","GG"],function(e,n,i,o){n[o]=t.parseTwoDigitYear(e)}),L("Q",0,0,"quarter"),k("quarter","Q"),B("Q",Fn),R("Q",function(t,e){e[ai]=3*(g(t)-1)}),L("D",["DD",2],"Do","date"),k("date","D"),B("D",Gn),B("DD",Gn,Hn),B("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),R(["D","DD"],ci),R("Do",function(t,e){e[ci]=g(t.match(Gn)[0],10)});var Si=$("Date",!0);L("d",0,"do","day"),L("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),L("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),L("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),k("day","d"),k("weekday","e"),k("isoWeekday","E"),B("d",Gn),B("e",Gn),B("E",Gn),B("dd",ii),B("ddd",ii),B("dddd",ii),X(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:l(n).invalidWeekday=t}),X(["d","e","E"],function(t,e,n,i){e[i]=g(t)});var Oi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ni="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Li="Su_Mo_Tu_We_Th_Fr_Sa".split("_");L("H",["HH",2],0,"hour"),L("h",["hh",2],0,function(){return this.hours()%12||12}),Fe("a",!0),Fe("A",!1),k("hour","h"),B("a",He),B("A",He),B("H",Gn),B("h",Gn),B("HH",Gn,Hn),B("hh",Gn,Hn),R(["H","HH"],li),R(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),R(["h","hh"],function(t,e,n){e[li]=g(t),l(n).bigHour=!0});var Ei=/[ap]\.?m?\.?/i,ji=$("Hours",!0);L("m",["mm",2],0,"minute"),k("minute","m"),B("m",Gn),B("mm",Gn,Hn),R(["m","mm"],ui);var Di=$("Minutes",!1);L("s",["ss",2],0,"second"),k("second","s"),B("s",Gn),B("ss",Gn,Hn),R(["s","ss"],di);var qi=$("Seconds",!1);L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),k("millisecond","ms"),B("S",Kn,Fn),B("SS",Kn,Hn),B("SSS",Kn,Un);var Pi;for(Pi="SSSS";Pi.length<=9;Pi+="S")B(Pi,Zn);for(Pi="S";Pi.length<=9;Pi+="S")R(Pi,Ye);var Bi=$("Milliseconds",!1);L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var Ii=h.prototype;Ii.add=xi,Ii.calendar=ne,Ii.clone=ie,Ii.diff=ce,Ii.endOf=_e,Ii.format=pe,Ii.from=he,Ii.fromNow=fe,Ii.to=me,Ii.toNow=ge,Ii.get=O,Ii.invalidAt=$e,Ii.isAfter=oe,Ii.isBefore=re,Ii.isBetween=se,Ii.isSame=ae,Ii.isValid=ze,Ii.lang=Ci,Ii.locale=ve,Ii.localeData=be,Ii.max=Ai,Ii.min=wi,Ii.parsingFlags=xe,Ii.set=O,Ii.startOf=ye,Ii.subtract=$i,Ii.toArray=Te,Ii.toObject=ke,Ii.toDate=Ae,Ii.toISOString=de,Ii.toJSON=de,Ii.toString=ue,Ii.unix=we,Ii.valueOf=Me,Ii.year=_i,Ii.isLeapYear=ct,Ii.weekYear=Oe,Ii.isoWeekYear=Ne,Ii.quarter=Ii.quarters=je,Ii.month=K,Ii.daysInMonth=J,Ii.week=Ii.weeks=ht,Ii.isoWeek=Ii.isoWeeks=ft,Ii.weeksInYear=Ee,Ii.isoWeeksInYear=Le,Ii.date=Si,Ii.day=Ii.days=We,Ii.weekday=Re,Ii.isoWeekday=Xe,Ii.dayOfYear=gt,Ii.hour=Ii.hours=ji,Ii.minute=Ii.minutes=Di,Ii.second=Ii.seconds=qi,Ii.millisecond=Ii.milliseconds=Bi,Ii.utcOffset=Bt,Ii.utc=Wt,Ii.local=Rt,Ii.parseZone=Xt,Ii.hasAlignedHourOffset=Ft,Ii.isDST=Ht,Ii.isDSTShifted=Ut,Ii.isLocal=Vt,Ii.isUtcOffset=Yt,Ii.isUtc=Gt,Ii.isUTC=Gt,Ii.zoneAbbr=Ge,Ii.zoneName=Ke,Ii.dates=tt("dates accessor is deprecated. Use date instead.",Si),Ii.months=tt("months accessor is deprecated. Use month instead",K),Ii.years=tt("years accessor is deprecated. Use year instead",_i),Ii.zone=tt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",It);var Wi=Ii,Ri={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Xi={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Fi=/\d{1,2}/,Hi={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ui=b.prototype;Ui._calendar=Ri,Ui.calendar=Ze,Ui._longDateFormat=Xi,Ui.longDateFormat=tn,Ui._invalidDate="Invalid date",Ui.invalidDate=en,Ui._ordinal="%d",Ui.ordinal=nn,Ui._ordinalParse=Fi,Ui.preparse=on,Ui.postformat=on,Ui._relativeTime=Hi,Ui.relativeTime=rn,Ui.pastFuture=sn,Ui.set=an,Ui.months=U,Ui._months=hi,Ui.monthsShort=V,Ui._monthsShort=fi,Ui.monthsParse=Y,Ui.week=ut,Ui._week=Mi,Ui.firstDayOfYear=pt,Ui.firstDayOfWeek=dt,Ui.weekdays=qe,Ui._weekdays=Oi,Ui.weekdaysMin=Be,Ui._weekdaysMin=Li,Ui.weekdaysShort=Pe,Ui._weekdaysShort=Ni,Ui.weekdaysParse=Ie,Ui.isPM=Ue,Ui._meridiemParse=Ei,Ui.meridiem=Ve,w("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===g(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),t.lang=tt("moment.lang is deprecated. Use moment.locale instead.",w),t.langData=tt("moment.langData is deprecated. Use moment.localeData instead.",T);var Vi=Math.abs,Yi=kn("ms"),Gi=kn("s"),Ki=kn("m"),Ji=kn("h"),Qi=kn("d"),Zi=kn("w"),to=kn("M"),eo=kn("y"),no=xn("milliseconds"),io=xn("seconds"),oo=xn("minutes"),ro=xn("hours"),so=xn("days"),ao=xn("months"),co=xn("years"),lo=Math.round,uo={s:45,m:45,h:22,d:26,M:11},po=Math.abs,ho=Lt.prototype;return ho.abs=mn,ho.add=vn,ho.subtract=bn,ho.as=An,ho.asMilliseconds=Yi,ho.asSeconds=Gi,ho.asMinutes=Ki,ho.asHours=Ji,ho.asDays=Qi,ho.asWeeks=Zi,ho.asMonths=to,ho.asYears=eo,ho.valueOf=Tn,ho._bubble=_n,ho.get=zn,ho.milliseconds=no,ho.seconds=io,ho.minutes=oo,ho.hours=ro,ho.days=so,ho.weeks=$n,ho.months=ao,ho.years=co,ho.humanize=Nn,ho.toISOString=Ln,ho.toString=Ln,ho.toJSON=Ln,ho.locale=ve,ho.localeData=be,ho.toIsoString=tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),ho.lang=Ci,L("X",0,0,"unix"),L("x",0,0,"valueOf"),B("x",ti),B("X",ni),R("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),R("x",function(t,e,n){n._d=new Date(g(t))}),t.version="2.10.6",e(Ct),t.fn=Wi,t.min=Ot,t.max=Nt,t.utc=a,t.unix=Je,t.months=un,t.isDate=i,t.locale=w,t.invalid=d,t.duration=Kt,t.isMoment=f,t.weekdays=pn,t.parseZone=Qe,t.localeData=T,t.isDuration=Et,t.monthsShort=dn,t.weekdaysMin=fn,t.defineLocale=A,t.weekdaysShort=hn,t.normalizeUnits=z,t.relativeTimeThreshold=On,t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["moment"],e):"object"==typeof exports?module.exports=e(require("moment")):e(t.moment)}(this,function(t){"use strict";function e(t){return t>96?t-87:t>64?t-29:t-48}function n(t){var n,i=0,o=t.split("."),r=o[0],s=o[1]||"",a=1,c=0,l=1;for(45===t.charCodeAt(0)&&(i=1,l=-1),i;i<r.length;i++)n=e(r.charCodeAt(i)),c=60*c+n;for(i=0;i<s.length;i++)a/=60,n=e(s.charCodeAt(i)),c+=n*a;return c*l}function i(t){for(var e=0;e<t.length;e++)t[e]=n(t[e])}function o(t,e){for(var n=0;e>n;n++)t[n]=Math.round((t[n-1]||0)+6e4*t[n]);t[e-1]=1/0}function r(t,e){var n,i=[];for(n=0;n<e.length;n++)i[n]=t[e[n]];return i}function s(t){var e=t.split("|"),n=e[2].split(" "),s=e[3].split(""),a=e[4].split(" ");return i(n),i(s),i(a),o(a,s.length),{name:e[0],abbrs:r(e[1].split(" "),s),offsets:r(n,s),untils:a}}function a(t){t&&this._set(s(t))}function c(t){return(t||"").toLowerCase().replace(/\//g,"_")}function l(t){var e,n,i;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)n=t[e].split("|")[0],i=c(n),_[i]=t[e],w[i]=n}function u(t,e){t=c(t);var n,i=_[t];return i instanceof a?i:"string"==typeof i?(i=new a(i),_[t]=i,i):M[t]&&e!==u&&(n=u(M[t],u))?(i=_[t]=new a,i._set(n),i.name=w[t],i):null}function d(){var t,e=[];for(t in w)w.hasOwnProperty(t)&&(_[t]||_[M[t]])&&w[t]&&e.push(w[t]);return e.sort()}function p(t){var e,n,i,o;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)n=t[e].split("|"),i=c(n[0]),o=c(n[1]),M[i]=o,w[i]=n[0],M[o]=i,w[o]=n[1]}function h(t){l(t.zones),p(t.links),v.dataVersion=t.version}function f(t){return f.didShowError||(f.didShowError=!0,g("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!u(t)}function m(t){return!(!t._a||void 0!==t._tzm)}function g(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}function v(e){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],o=u(i),r=t.utc.apply(null,n);return o&&!t.isMoment(e)&&m(r)&&r.add(o.parse(r),"minutes"),r.tz(i),r}function b(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function y(t){return function(){return this._z=null,t.apply(this,arguments)}}if(void 0!==t.tz)return g("Moment Timezone "+t.tz.version+" was already loaded "+(t.tz.dataVersion?"with data from ":"without any data")+t.tz.dataVersion),t;var _={},M={},w={},A=t.version.split("."),T=+A[0],k=+A[1];(2>T||2===T&&6>k)&&g("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),a.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets},_index:function(t){var e,n=+t,i=this.untils;for(e=0;e<i.length;e++)if(n<i[e])return e},parse:function(t){var e,n,i,o,r=+t,s=this.offsets,a=this.untils,c=a.length-1;for(o=0;c>o;o++)if(e=s[o],n=s[o+1],i=s[o?o-1:o],n>e&&v.moveAmbiguousForward?e=n:e>i&&v.moveInvalidForward&&(e=i),r<a[o]-6e4*e)return s[o];return s[c]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){return this.offsets[this._index(t)]}},v.version="0.4.0",v.dataVersion="",v._zones=_,v._links=M,v._names=w,v.add=l,v.link=p,v.load=h,v.zone=u,v.zoneExists=f,v.names=d,v.Zone=a,v.unpack=s,v.unpackBase60=n,v.needsOffset=m,v.moveInvalidForward=!0,v.moveAmbiguousForward=!1;var z=t.fn;t.tz=v,t.defaultZone=null,t.updateOffset=function(e,n){var i,o=t.defaultZone;void 0===e._z&&(o&&m(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(o.parse(e),"minutes")),e._z=o),e._z&&(i=e._z.offset(e),Math.abs(i)<16&&(i/=60),void 0!==e.utcOffset?e.utcOffset(-i,n):e.zone(i,n))},z.tz=function(e){return e?(this._z=u(e),this._z?t.updateOffset(this):g("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},z.zoneName=b(z.zoneName),z.zoneAbbr=b(z.zoneAbbr),z.utc=y(z.utc),t.tz.setDefault=function(e){return(2>T||2===T&&9>k)&&g("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?u(e):null,t};var x=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(x)?(x.push("_z"),x.push("_a")):x&&(x._z=null),h({version:"2015d",
zones:["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q","Africa/Accra|LMT GMT GHST|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE","Africa/Addis_Ababa|LMT EAT BEAT BEAUT|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0","Africa/Bangui|LMT WAT|-d.A -10|01|-22y0d.A","Africa/Bissau|LMT WAT GMT|12.k 10 0|012|-2ldWV.E 2xonV.E","Africa/Blantyre|LMT CAT|-2a.k -20|01|-2GJea.k","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0","Africa/Casablanca|LMT WET WEST CET|u.k 0 -10 -10|012121212121212121312121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uo0 e00 DA0 11A0 rA0 e00 Jc0 WM0 m00 gM0 M00 WM0 jc0 e00 RA0 11A0 dA0 e00 Uo0 11A0 800 gM0 Xc0 11A0 5c0 e00 17A0 WM0 2o0 e00 1ao0 19A0 1g00 16M0 1iM0 1400 1lA0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qo0 1200 1kM0 14M0 1i00","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18o0 3I00 17c0 1fA0 1a00 1io0 1a00 1y7p0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Africa/El_Aaiun|LMT WAT WET WEST|Q.M 10 0 -10|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uo0 e00 DA0 11A0 rA0 e00 Jc0 WM0 m00 gM0 M00 WM0 jc0 e00 RA0 11A0 dA0 e00 Uo0 11A0 800 gM0 Xc0 11A0 5c0 e00 17A0 WM0 2o0 e00 1ao0 19A0 1g00 16M0 1iM0 1400 1lA0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qo0 1200 1kM0 14M0 1i00","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0","Africa/Juba|LMT CAT CAST EAT|-2a.8 -20 -30 -30|01212121212121212121212121212121213|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0","Africa/Monrovia|MMT LRT GMT|H.8 I.u 0|012|-23Lzg.Q 29s01.m","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00","Africa/Windhoek|SWAT SAST SAST CAT WAT WAST|-1u -20 -30 -20 -10 -20|012134545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2GJdu 1Ajdu 1cL0 1SqL0 9NA0 11D0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Anchorage|CAT CAWT CAPT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Anguilla|LMT AST|46.4 40|01|-2kNvR.U","America/Araguaina|LMT BRT BRST|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0","America/Argentina/Buenos_Aires|CMT ART ARST ART ARST|4g.M 40 30 30 20|0121212121212121212121212121212121212121213434343434343234343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 j3c0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343454343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343454343234343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 j3c0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|01212121212121212121212121212121212121212134343456543432343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 g0p0 10M0 j3c0 uL0","America/Argentina/La_Rioja|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434534343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|0121212121212121212121212121212121212121213434345656543235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 g0p0 10M0 agM0 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343434343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Salta|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434543432343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 j3c0 uL0","America/Argentina/San_Juan|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434534343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 g0p0 10M0 ak00 m10 8lb0 uL0","America/Argentina/San_Luis|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|01212121212121212121212121212121212121212134343456536353465653|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 kin0 10M0 ak00 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|012121212121212121212121212121212121212121343434345434323534343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 ako0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343434343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 ajA0 8p0 8zb0 uL0","America/Aruba|LMT ANT AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d","America/Asuncion|AMT PYT PYT PYST|3O.E 40 30 30|012131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0","America/Bahia|LMT BRT BRST|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0","America/Belem|LMT BRT BRST|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0","America/Belize|LMT CST CHDT CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0","America/Boa_Vista|LMT AMT AMST|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0","America/Bogota|BMT COT COST|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Cambridge_Bay|zzz MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Campo_Grande|LMT AMT AMST|3C.s 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0","America/Caracas|CMT VET VET|4r.E 4u 40|0121|-2kV7w.k 28KM2.k 1IwOu","America/Cayenne|LMT GFT GFT|3t.k 40 30|012|-2mrwu.E 2gWou.E","America/Cayman|CMT EST|5j.A 50|01|-2uduE.o","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0","America/Creston|MST PST|70 80|010|-29DR0 43B0","America/Cuiaba|LMT AMT AMST|3I.k 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0","America/Danmarkshavn|LMT WGT WGST GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|01234252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 Jy10 SL0 dnB0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Eirunepe|LMT ACT ACST AMT|4D.s 50 40 40|0121212121212121212121212121212131|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0","America/Ensenada|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOP0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT BRT BRST|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Godthab|LMT WGT WGST|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Grand_Turk|KMT EST EDT AST|57.b 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212123|-2l1uQ.N 2HHBQ.N 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0","America/Guayaquil|QMT ECT|5e 50|01|-1yVSK","America/Guyana|LMT GBGT GYT GYT GYT|3Q.E 3J 3J 30 40|01234|-2dvU7.k 24JzQ.k mlc0 Bxbf","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|zzz PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Iqaluit|zzz EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Jamaica|KMT EST EDT|57.b 50 40|0121212121212121212121|-2l1uQ.N 2uM1Q.N 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BOST BOT|4w.A 3w.A 40|012|-1x37r.o 13b0","America/Lima|LMT PET PEST|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp0 1Vb0 3dB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Maceio|LMT BRT BRST|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0","America/Manaus|LMT AMT AMST|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Metlakatla|PST PWT PPT PDT|80 70 70 70|0120303030303030303030303030303030|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Miquelon|LMT AST PMST PMDT|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Montevideo|MMT UYT UYHST UYST UYT UYHST|3I.I 3u 30 20 30 2u|012121212121212121212121213434343434345454543453434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-20UIf.g 8jzJ.g 1cLu 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1qMu WLu 1qMu 11zu 1o0u 11zu NAu 11bu 2iMu zWu Dq10 19X0 pd0 jz0 cm10 19X0 1fB0 1on0 11d0 1oL0 1nB0 1fzu 1aou 1fzu 1aou 1fzu 3nAu Jb0 3MN0 1SLu 4jzu 2PB0 Lb0 3Dd0 1pb0 ixd0 An0 1MN0 An0 1wp0 On0 1wp0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10","America/Montreal|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Noronha|LMT FNT FNST|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Pangnirtung|zzz AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Paramaribo|LMT PMT PMT NEGT SRT SRT|3E.E 3E.Q 3E.A 3u 3u 30|012345|-2nDUj.k Wqo0.c qanX.I 1dmLN.o lzc0","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0","America/Port-au-Prince|PPMT EST EDT|4N 50 40|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Porto_Acre|LMT ACT ACST AMT|4v.c 50 40 40|01212121212121212121212121212131|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0","America/Porto_Velho|LMT AMT AMST|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Rankin_Inlet|zzz CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Recife|LMT BRT BRST|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0","America/Resolute|zzz CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Santa_Isabel|LMT MST PST PDT PWT PPT|7D.s 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOP0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0","America/Santarem|LMT AMT AMST BRT|3C.M 40 30 30|0121212121212121212121212121213|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0","America/Santiago|SMT CLT CLT CLST CLST CLT|4G.K 50 40 40 30 30|01020313131313121242124242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424245|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 1wn0","America/Santo_Domingo|SDMT EST EDT EHDT AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00","America/Sao_Paulo|LMT BRT BRST|36.s 30 20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0","America/Scoresbysund|LMT CGT CGST EGST EGT|1r.Q 20 10 0 10|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Yellowknife|zzz MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Antarctica/Casey|zzz AWST CAST|0 -80 -b0|012121|-2q00 1DjS0 T90 40P0 KL0","Antarctica/Davis|zzz DAVT DAVT|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0","Antarctica/DumontDUrville|zzz PMT DDUT|0 -a0 -a0|0102|-U0o0 cfq0 bFm0","Antarctica/Macquarie|AEST AEDT zzz MIST|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0","Antarctica/Mawson|zzz MAWT MAWT|0 -60 -50|012|-CEo0 2fyk0","Antarctica/McMurdo|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00","Antarctica/Palmer|zzz ARST ART ART ARST CLT CLST CLT|0 30 40 30 20 40 30 30|012121212123435656565656565656565656565656565656565656565656565656565656565656567|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 1wn0","Antarctica/Rothera|zzz ROTT|0 30|01|gOo0","Antarctica/Syowa|zzz SYOT|0 -30|01|-vs00","Antarctica/Troll|zzz UTC CEST|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Antarctica/Vostok|zzz VOST|0 -60|01|-tjA0","Arctic/Longyearbyen|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Aden|LMT AST|-36.Q -30|01|-TvD6.Q","Asia/Almaty|LMT ALMT ALMT ALMST|-57.M -50 -60 -70|0123232323232323232323232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3Cl0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Asia/Anadyr|LMT ANAT ANAT ANAST ANAST ANAST ANAT|-bN.U -c0 -d0 -e0 -d0 -c0 -b0|01232414141414141414141561414141414141414141414141414141414141561|-1PcbN.U eUnN.U 23CL0 1db0 1cN0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0","Asia/Aqtau|LMT FORT FORT SHET SHET SHEST AQTT AQTST AQTST AQTT|-3l.4 -40 -50 -50 -60 -60 -50 -60 -50 -40|012345353535353535353536767676898989898989898989896|-1Pc3l.4 eUnl.4 1jcL0 JDc0 1cL0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2UK0 Fz0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cN0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 RW0","Asia/Aqtobe|LMT AKTT AKTT AKTST AKTT AQTT AQTST|-3M.E -40 -50 -60 -60 -50 -60|01234323232323232323232565656565656565656565656565|-1Pc3M.E eUnM.E 23CL0 1db0 1cM0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2UK0 Fz0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0","Asia/Ashgabat|LMT ASHT ASHT ASHST ASHST TMT TMT|-3R.w -40 -50 -60 -50 -40 -50|012323232323232323232324156|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 ba0 xC0","Asia/Baghdad|BMT AST ADT|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0","Asia/Bahrain|LMT GST AST|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8","Asia/Baku|LMT BAKT BAKT BAKST BAKST AZST AZT AZT AZST|-3j.o -30 -40 -50 -40 -40 -30 -40 -50|0123232323232323232323245657878787878787878787878787878787878787878787878787878787878787878787878787878787878787|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 10K0 c30 1cJ0 1cL0 8wu0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Bangkok|BMT ICT|-6G.4 -70|01|-218SG.4","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0","Asia/Bishkek|LMT FRUT FRUT FRUST FRUST KGT KGST KGT|-4W.o -50 -60 -70 -60 -50 -60 -60|01232323232323232323232456565656565656565656565656567|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 11c0 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 T8u","Asia/Brunei|LMT BNT BNT|-7D.E -7u -80|012|-1KITD.E gDc9.E","Asia/Calcutta|HMT BURT IST IST|-5R.k -6u -5u -6u|01232|-18LFR.k 1unn.k HB0 7zX0","Asia/Chita|LMT YAKT YAKT YAKST YAKST YAKT IRKT|-7x.Q -80 -90 -a0 -90 -a0 -80|012323232323232323232324123232323232323232323232323232323232323256|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Choibalsan|LMT ULAT ULAT CHOST CHOT CHOT CHOST|-7C -70 -80 -a0 -90 -80 -90|0123434343434343434343434343434343434343434343456565656565656565656565656565656565656565656565|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0","Asia/Chongqing|CST CDT|-80 -90|01010101010101010|-1c1I0 LX0 16p0 1jz0 1Myp0 Rb0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0","Asia/Colombo|MMT IST IHST IST LKT LKT|-5j.w -5u -60 -6u -6u -60|01231451|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu","Asia/Dacca|HMT BURT IST DACT BDT BDST|-5R.k -6u -5u -60 -60 -70|01213454|-18LFR.k 1unn.k HB0 m6n0 LqMu 1x6n0 1i00","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0","Asia/Dili|LMT TLT JST TLT WITA|-8m.k -80 -90 -90 -80|012343|-2le8m.k 1dnXm.k 8HA0 1ew00 Xld0","Asia/Dubai|LMT GST|-3F.c -40|01|-21JfF.c","Asia/Dushanbe|LMT DUST DUST DUSST DUSST TJT|-4z.c -50 -60 -70 -60 -50|0123232323232323232323245|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 14N0","Asia/Gaza|EET EET EEST IST IDT|-20 -30 -30 -20 -30|010101010102020202020202020202023434343434343434343434343430202020202020202020202020202020202020202020202020202020202020202020202020202020202020|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0","Asia/Hebron|EET EET EEST IST IDT|-20 -30 -30 -20 -30|01010101010202020202020202020202343434343434343434343434343020202020202020202020202020202020202020202020202020202020202020202020202020202020202020|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 1210 1nz0 14N0 1nz0 1210 1nz0 1210 1nz0 1210 1nz0","Asia/Ho_Chi_Minh|LMT PLMT ICT IDT JST|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0","Asia/Hong_Kong|LMT HKT HKST JST|-7A.G -80 -90 -90|0121312121212121212121212121212121212121212121212121212121212121212121|-2CFHA.G 1sEP6.G 1cL0 ylu 93X0 1qQu 1tX0 Rd0 1In0 NB0 1cL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1kL0 14N0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0","Asia/Hovd|LMT HOVT HOVT HOVST|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0","Asia/Irkutsk|IMT IRKT IRKT IRKST IRKST IRKT|-6V.5 -70 -80 -90 -80 -90|012323232323232323232324123232323232323232323232323232323232323252|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Istanbul|IMT EET EEST TRST TRT|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1df0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Jakarta|BMT JAVT WIB JST WIB WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu","Asia/Jayapura|LMT WIT ACST|-9m.M -90 -9u|0121|-1uu9m.M sMMm.M L4nu","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212132121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0","Asia/Kabul|AFT AFT|-40 -4u|01|-10Qs0","Asia/Kamchatka|LMT PETT PETT PETST PETST|-ay.A -b0 -c0 -d0 -c0|01232323232323232323232412323232323232323232323232323232323232412|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0","Asia/Karachi|LMT IST IST KART PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy01 1cL0 dK0X 11b0 1610 1jX0","Asia/Kashgar|LMT XJT|-5O.k -60|01|-1GgtO.k","Asia/Kathmandu|LMT IST NPT|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g","Asia/Khandyga|LMT YAKT YAKT YAKST YAKST VLAT VLAST VLAT YAKT|-92.d -80 -90 -a0 -90 -a0 -b0 -b0 -a0|01232323232323232323232412323232323232323232323232565656565656565782|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0","Asia/Krasnoyarsk|LMT KRAT KRAT KRAST KRAST KRAT|-6b.q -60 -70 -80 -70 -80|012323232323232323232324123232323232323232323232323232323232323252|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Kuala_Lumpur|SMT MALT MALST MALT MALT JST MYT|-6T.p -70 -7k -7k -7u -90 -80|01234546|-2Bg6T.p 17anT.p 7hXE dM00 17bO 8Fyu 1so1u","Asia/Kuching|LMT BORT BORT BORTST JST MYT|-7l.k -7u -80 -8k -90 -80|01232323232323232425|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0 1so10","Asia/Macao|LMT MOT MOST CST|-7y.k -80 -90 -80|0121212121212121212121212121212121212121213|-2le7y.k 1XO34.k 1wn0 Rd0 1wn0 R9u 1wqu U10 1tz0 TVu 1tz0 17gu 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cOu 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cL0 KEp0","Asia/Magadan|LMT MAGT MAGT MAGST MAGST MAGT|-a3.c -a0 -b0 -c0 -b0 -c0|012323232323232323232324123232323232323232323232323232323232323251|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Makassar|LMT MMT WITA JST|-7V.A -7V.A -80 -90|01232|-21JjV.A vfc0 myLV.A 8ML0","Asia/Manila|PHT PHST JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Novokuznetsk|LMT KRAT KRAT KRAST KRAST NOVST NOVT NOVT|-5M.M -60 -70 -80 -70 -70 -60 -70|012323232323232323232324123232323232323232323232323232323232325672|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0 8Hz0","Asia/Novosibirsk|LMT NOVT NOVT NOVST NOVST|-5v.E -60 -70 -80 -70|0123232323232323232323241232341414141414141414141414141414141414121|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Omsk|LMT OMST OMST OMSST OMSST OMST|-4R.u -50 -60 -70 -60 -70|012323232323232323232324123232323232323232323232323232323232323252|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Oral|LMT URAT URAT URAST URAT URAST ORAT ORAST ORAT|-3p.o -40 -50 -60 -60 -50 -40 -50 -50|012343232323232323251516767676767676767676767676768|-1Pc3p.o eUnp.o 23CL0 1db0 1cM0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 2UK0 Fz0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 RW0","Asia/Pontianak|LMT PMT WIB JST WIB WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu","Asia/Pyongyang|LMT KST JCST JST KST|-8n -8u -90 -90 -90|01234|-2um8n 97XR 12FXu jdA0","Asia/Qyzylorda|LMT KIZT KIZT KIZST KIZT QYZT QYZT QYZST|-4l.Q -40 -50 -60 -60 -50 -60 -70|012343232323232323232325676767676767676767676767676|-1Pc4l.Q eUol.Q 23CL0 1db0 1cM0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2UK0 dC0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0","Asia/Rangoon|RMT BURT JST MMT|-6o.E -6u -90 -6u|0123|-21Jio.E SmnS.E 7j9u","Asia/Sakhalin|LMT JCST JST SAKT SAKST SAKST SAKT|-9u.M -90 -90 -b0 -c0 -b0 -a0|0123434343434343434343435634343434343565656565656565656565656565636|-2AGVu.M 1iaMu.M je00 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o10 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Samarkand|LMT SAMT SAMT SAMST TAST UZST UZT|-4r.R -40 -50 -60 -60 -60 -50|01234323232323232323232356|-1Pc4r.R eUor.R 23CL0 1db0 1cM0 1dc0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 11x0 bf0","Asia/Seoul|LMT KST JCST JST KST KDT KDT|-8r.Q -8u -90 -90 -90 -9u -a0|01234151515151515146464|-2um8r.Q 97XV.Q 12FXu jjA0 kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0","Asia/Singapore|SMT MALT MALST MALT MALT JST SGT SGT|-6T.p -70 -7k -7k -7u -90 -7u -80|012345467|-2Bg6T.p 17anT.p 7hXE dM00 17bO 8Fyu Mspu DTA0","Asia/Srednekolymsk|LMT MAGT MAGT MAGST MAGST MAGT SRET|-ae.Q -a0 -b0 -c0 -b0 -c0 -b0|012323232323232323232324123232323232323232323232323232323232323256|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Taipei|JWST JST CST CDT|-80 -90 -80 -90|01232323232323232323232323232323232323232|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0","Asia/Tashkent|LMT TAST TAST TASST TASST UZST UZT|-4B.b -50 -60 -70 -60 -60 -50|01232323232323232323232456|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 11y0 bf0","Asia/Tbilisi|TBMT TBIT TBIT TBIST TBIST GEST GET GET GEST|-2X.b -30 -40 -50 -40 -40 -30 -40 -50|0123232323232323232323245656565787878787878787878567|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 3y0 19f0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cM0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0","Asia/Tehran|LMT TMT IRST IRST IRDT IRDT|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0","Asia/Thimbu|LMT IST BTT|-5W.A -5u -60|012|-Su5W.A 1BGMs.A","Asia/Tokyo|JCST JST JDT|-90 -90 -a0|0121212121|-1iw90 pKq0 QL0 1lB0 13X0 1zB0 NX0 1zB0 NX0","Asia/Ulaanbaatar|LMT ULAT ULAT ULAST|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0","Asia/Ust-Nera|LMT YAKT YAKT MAGST MAGT MAGST MAGT MAGT VLAT VLAT|-9w.S -80 -90 -c0 -b0 -b0 -a0 -c0 -b0 -a0|0123434343434343434343456434343434343434343434343434343434343434789|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0","Asia/Vladivostok|LMT VLAT VLAT VLAST VLAST VLAT|-8L.v -90 -a0 -b0 -a0 -b0|012323232323232323232324123232323232323232323232323232323232323252|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Yakutsk|LMT YAKT YAKT YAKST YAKST YAKT|-8C.W -80 -90 -a0 -90 -a0|012323232323232323232324123232323232323232323232323232323232323252|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Yekaterinburg|LMT PMT SVET SVET SVEST SVEST YEKT YEKST YEKT|-42.x -3J.5 -40 -50 -60 -50 -50 -60 -60|0123434343434343434343435267676767676767676767676767676767676767686|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Asia/Yerevan|LMT YERT YERT YERST YERST AMST AMT AMT AMST|-2W -30 -40 -50 -40 -40 -30 -40 -50|0123232323232323232323245656565657878787878787878787878787878787|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1am0 2r0 1cJ0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fb0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0","Atlantic/Azores|HMT AZOT AZOST AZOMT AZOT AZOST WET|1S.w 20 10 0 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545456545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldW5.s aPX5.s Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Atlantic/Canary|LMT CANT WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Atlantic/Cape_Verde|LMT CVT CVST CVT|1y.4 20 10 10|01213|-2xomp.U 1qOMp.U 7zX0 1djf0","Atlantic/Faeroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Atlantic/Madeira|FMT MADT MADST MADMT WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldWQ.o aPWQ.o Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Atlantic/Reykjavik|LMT IST ISST GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0","Atlantic/South_Georgia|GST|20|0|","Atlantic/Stanley|SMT FKT FKST FKT FKST|3P.o 40 30 30 20|0121212121212134343212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 U10 1qM0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10","Australia/ACT|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0","Australia/Eucla|ACWST ACWDT|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0","Australia/LHI|AEST LHST LHDT LHDT|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Chile/EasterIsland|EMT EAST EASST EAST EASST EAST|7h.s 70 60 60 50 50|012121212121212121212121212123434343434343434343434343434343434343434343434343434343434343434345|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 1wn0","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Eire|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g5X0 14p0 1wn0 17d0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Etc/GMT+0|GMT|0|0|","Etc/GMT+1|GMT+1|10|0|","Etc/GMT+10|GMT+10|a0|0|","Etc/GMT+11|GMT+11|b0|0|","Etc/GMT+12|GMT+12|c0|0|","Etc/GMT+2|GMT+2|20|0|","Etc/GMT+3|GMT+3|30|0|","Etc/GMT+4|GMT+4|40|0|","Etc/GMT+5|GMT+5|50|0|","Etc/GMT+6|GMT+6|60|0|","Etc/GMT+7|GMT+7|70|0|","Etc/GMT+8|GMT+8|80|0|","Etc/GMT+9|GMT+9|90|0|","Etc/GMT-1|GMT-1|-10|0|","Etc/GMT-10|GMT-10|-a0|0|","Etc/GMT-11|GMT-11|-b0|0|","Etc/GMT-12|GMT-12|-c0|0|","Etc/GMT-13|GMT-13|-d0|0|","Etc/GMT-14|GMT-14|-e0|0|","Etc/GMT-2|GMT-2|-20|0|","Etc/GMT-3|GMT-3|-30|0|","Etc/GMT-4|GMT-4|-40|0|","Etc/GMT-5|GMT-5|-50|0|","Etc/GMT-6|GMT-6|-60|0|","Etc/GMT-7|GMT-7|-70|0|","Etc/GMT-8|GMT-8|-80|0|","Etc/GMT-9|GMT-9|-90|0|","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST NEST NET CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Belfast|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Bratislava|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 16M0 1lc0 1tA0 17A0 11c0 1io0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Busingen|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|0123232323232323232345454676767676767676767623232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1ty0 2bD0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET FET|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454545454676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1cJ0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ldXn.f aPWn.f Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|01010101010101010101010121212121234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-28dd0 11A0 1go0 19A0 1co0 1dA0 b1A0 18o0 3I00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 iyo0 Rc0 18o0 1hc0 1io0 1a00 14o0 5aL0 MM0 1vc0 17A0 1i00 1bc0 1eo0 17d0 1in0 17A0 6hA0 10N0 XIL0 1a10 1in0 17d0 19X0 1cN0 1fz0 1a10 1fX0 1cp0 1cO0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2as10 M00 1cM0 1cM0 14o0 1o00 WM0 1qM0 17c0 1cM0 M3A0 5M20 WM0 1fA0 1cM0 1cM0 1cM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 Lz0 1C10 Lz0 1EN0 Lz0 1C10 Lz0 1zd0 Oo0 1C00 On0 1cp0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Minsk|MMT EET MSK CEST CET MSD EEST FET|-1O -20 -30 -20 -10 -40 -30 -30|012343432525252525252525252616161616161616161616161616161616161616172|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cK0 1cM0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hy0","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Moscow|MMT MMT MST MDST MSD MSK MSM EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c20 imv.j 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rU0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2as10 M00 1cM0 1cM0 14o0 1o00 WM0 1qM0 17c0 1cM0 M3A0 5M20 WM0 1fA0 1cM0 16K0 1iO0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 Lz0 1C10 Lz0 1EN0 Lz0 1C10 Lz0 1zd0 Oo0 1C00 On0 1C10 Lz0 1zd0 On0 1C10 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Samara|LMT SAMT SAMT KUYT KUYST MSD MSK EEST KUYT SAMST SAMST|-3k.k -30 -40 -40 -50 -40 -30 -30 -30 -50 -40|012343434343434343435656782929292929292929292929292929292929292a12|-22WNk.k qHak.k bcn0 1Qqo0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cN0 8o0 14j0 1cL0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qN0 WM0","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646464647373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Volgograd|LMT TSAT STAT STAT VOLT VOLST VOLST VOLT MSD MSK MSK|-2V.E -30 -30 -40 -40 -50 -40 -30 -40 -30 -40|0123454545454545454546767489898989898989898989898989898989898989a9|-21IqV.E cLXV.E cEM0 1gqn0 Lco0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 2pz0 1cJ0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Zaporozhye|CUT EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","HST|HST|a0|0|","Indian/Chagos|LMT IOT IOT|-4N.E -50 -60|012|-2xosN.E 3AGLN.E","Indian/Christmas|CXT|-70|0|","Indian/Cocos|CCT|-6u|0|","Indian/Kerguelen|zzz TFT|0 -50|01|-MG00","Indian/Mahe|LMT SCT|-3F.M -40|01|-2yO3F.M","Indian/Maldives|MMT MVT|-4S -50|01|-olgS","Indian/Mauritius|LMT MUT MUST|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0","Indian/Reunion|LMT RET|-3F.Q -40|01|-2mDDF.Q","Kwajalein|MHT KWAT MHT|-b0 c0 -c0|012|-AX0 W9X0","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","NZ-CHAT|CHAST CHAST CHADT|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Apia|LMT WSST SST SDT WSDT WSST|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00","Pacific/Bougainville|PGT JST BST|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0","Pacific/Chuuk|CHUT|-a0|0|","Pacific/Efate|LMT VUT VUST|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0","Pacific/Enderbury|PHOT PHOT PHOT|c0 b0 -d0|012|nIc0 B8n0","Pacific/Fakaofo|TKT TKT|b0 -d0|01|1Gfn0","Pacific/Fiji|LMT FJT FJST|-bT.I -c0 -d0|012121212121212121212121212121212121212121212121212121212121212|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 xA0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 xA0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 xA0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1SM0","Pacific/Funafuti|TVT|-c0|0|","Pacific/Galapagos|LMT ECT GALT|5W.o 50 60|012|-1yVS1.A 2dTz1.A","Pacific/Gambier|LMT GAMT|8X.M 90|01|-2jof0.c","Pacific/Guadalcanal|LMT SBT|-aD.M -b0|01|-2joyD.M","Pacific/Guam|GST ChST|-a0 -a0|01|1fpq0","Pacific/Honolulu|HST HDT HST|au 9u a0|010102|-1thLu 8x0 lef0 8Pz0 46p0","Pacific/Kiritimati|LINT LINT LINT|aE a0 -e0|012|nIaE B8nk","Pacific/Kosrae|KOST KOST|-b0 -c0|010|-AX0 1bdz0","Pacific/Majuro|MHT MHT|-b0 -c0|01|-AX0","Pacific/Marquesas|LMT MART|9i 9u|01|-2joeG","Pacific/Midway|LMT NST BST SST|bm.M b0 b0 b0|0123|-2nDMB.c 2gVzB.c EyM0","Pacific/Nauru|LMT NRT JST NRT|-b7.E -bu -90 -c0|01213|-1Xdn7.E PvzB.E 5RCu 1ouJu","Pacific/Niue|NUT NUT NUT|bk bu b0|012|-KfME 17y0a","Pacific/Norfolk|NMT NFT|-bc -bu|01|-Kgbc","Pacific/Noumea|LMT NCT NCST|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0","Pacific/Palau|PWT|-90|0|","Pacific/Pitcairn|PNT PST|8u 80|01|18Vku","Pacific/Pohnpei|PONT|-b0|0|","Pacific/Port_Moresby|PGT|-a0|0|","Pacific/Rarotonga|CKT CKHST CKT|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu","Pacific/Tahiti|LMT TAHT|9W.g a0|01|-2joe1.I","Pacific/Tarawa|GILT|-c0|0|","Pacific/Tongatapu|TOT TOT TOST|-ck -d0 -e0|01212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0","Pacific/Wake|WAKT|-c0|0|","Pacific/Wallis|WFT|-c0|0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],
links:["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Addis_Ababa|Africa/Asmara","Africa/Addis_Ababa|Africa/Asmera","Africa/Addis_Ababa|Africa/Dar_es_Salaam","Africa/Addis_Ababa|Africa/Djibouti","Africa/Addis_Ababa|Africa/Kampala","Africa/Addis_Ababa|Africa/Mogadishu","Africa/Addis_Ababa|Africa/Nairobi","Africa/Addis_Ababa|Indian/Antananarivo","Africa/Addis_Ababa|Indian/Comoro","Africa/Addis_Ababa|Indian/Mayotte","Africa/Bangui|Africa/Brazzaville","Africa/Bangui|Africa/Douala","Africa/Bangui|Africa/Kinshasa","Africa/Bangui|Africa/Lagos","Africa/Bangui|Africa/Libreville","Africa/Bangui|Africa/Luanda","Africa/Bangui|Africa/Malabo","Africa/Bangui|Africa/Niamey","Africa/Bangui|Africa/Porto-Novo","Africa/Blantyre|Africa/Bujumbura","Africa/Blantyre|Africa/Gaborone","Africa/Blantyre|Africa/Harare","Africa/Blantyre|Africa/Kigali","Africa/Blantyre|Africa/Lubumbashi","Africa/Blantyre|Africa/Lusaka","Africa/Blantyre|Africa/Maputo","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Juba|Africa/Khartoum","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Anguilla|America/Antigua","America/Anguilla|America/Dominica","America/Anguilla|America/Grenada","America/Anguilla|America/Guadeloupe","America/Anguilla|America/Marigot","America/Anguilla|America/Montserrat","America/Anguilla|America/Port_of_Spain","America/Anguilla|America/St_Barthelemy","America/Anguilla|America/St_Kitts","America/Anguilla|America/St_Lucia","America/Anguilla|America/St_Thomas","America/Anguilla|America/St_Vincent","America/Anguilla|America/Tortola","America/Anguilla|America/Virgin","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Aruba|America/Curacao","America/Aruba|America/Kralendijk","America/Aruba|America/Lower_Princes","America/Atikokan|America/Coral_Harbour","America/Cayman|America/Panama","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Ensenada|America/Tijuana","America/Ensenada|Mexico/BajaNorte","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/Montreal|America/Toronto","America/Montreal|Canada/Eastern","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Phoenix|US/Arizona","America/Porto_Acre|America/Rio_Branco","America/Porto_Acre|Brazil/Acre","America/Regina|Canada/East-Saskatchewan","America/Regina|Canada/Saskatchewan","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Antarctica/McMurdo|Antarctica/South_Pole","Antarctica/McMurdo|NZ","Antarctica/McMurdo|Pacific/Auckland","Arctic/Longyearbyen|Atlantic/Jan_Mayen","Arctic/Longyearbyen|Europe/Oslo","Asia/Aden|Asia/Kuwait","Asia/Aden|Asia/Riyadh","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bahrain|Asia/Qatar","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Calcutta|Asia/Kolkata","Asia/Chongqing|Asia/Chungking","Asia/Chongqing|Asia/Harbin","Asia/Chongqing|Asia/Shanghai","Asia/Chongqing|PRC","Asia/Dacca|Asia/Dhaka","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Istanbul|Europe/Istanbul","Asia/Istanbul|Turkey","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kashgar|Asia/Urumqi","Asia/Kathmandu|Asia/Katmandu","Asia/Macao|Asia/Macau","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Seoul|ROK","Asia/Singapore|Singapore","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimbu|Asia/Thimphu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Atlantic/Faeroe|Atlantic/Faroe","Atlantic/Reykjavik|Iceland","Australia/ACT|Australia/Canberra","Australia/ACT|Australia/NSW","Australia/ACT|Australia/Sydney","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/LHI|Australia/Lord_Howe","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Chile/EasterIsland|Pacific/Easter","Eire|Europe/Dublin","Etc/GMT+0|Etc/GMT","Etc/GMT+0|Etc/GMT-0","Etc/GMT+0|Etc/GMT0","Etc/GMT+0|Etc/Greenwich","Etc/GMT+0|GMT","Etc/GMT+0|GMT+0","Etc/GMT+0|GMT-0","Etc/GMT+0|GMT0","Etc/GMT+0|Greenwich","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belfast|Europe/Guernsey","Europe/Belfast|Europe/Isle_of_Man","Europe/Belfast|Europe/Jersey","Europe/Belfast|Europe/London","Europe/Belfast|GB","Europe/Belfast|GB-Eire","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Bratislava|Europe/Prague","Europe/Busingen|Europe/Vaduz","Europe/Busingen|Europe/Zurich","Europe/Chisinau|Europe/Tiraspol","Europe/Helsinki|Europe/Mariehamn","Europe/Lisbon|Portugal","Europe/Moscow|W-SU","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Kwajalein|Pacific/Kwajalein","NZ-CHAT|Pacific/Chatham","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Midway|Pacific/Pago_Pago","Pacific/Midway|Pacific/Samoa","Pacific/Midway|US/Samoa","Pacific/Pohnpei|Pacific/Ponape"]}),t}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var e;return function(){if(!e||!e.requirejs){e?n=e:e={};var t,n,i;!function(e){function o(t,e){return _.call(t,e)}function r(t,e){var n,i,o,r,s,a,c,l,u,d,p,h=e&&e.split("/"),f=b.map,m=f&&f["*"]||{};if(t&&"."===t.charAt(0))if(e){for(t=t.split("/"),s=t.length-1,b.nodeIdCompat&&w.test(t[s])&&(t[s]=t[s].replace(w,"")),t=h.slice(0,h.length-1).concat(t),u=0;u<t.length;u+=1)if("."===(p=t[u]))t.splice(u,1),u-=1;else if(".."===p){if(1===u&&(".."===t[2]||".."===t[0]))break;u>0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((h||m)&&f){for(n=t.split("/"),u=n.length;u>0;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;d>0;d-=1)if((o=f[h.slice(0,d).join("/")])&&(o=o[i])){r=o,a=u;break}if(r)break;!c&&m&&m[i]&&(c=m[i],l=u)}!r&&c&&(r=c,a=l),r&&(n.splice(0,a,r),t=n.join("/"))}return t}function s(t,n){return function(){var i=M.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(e,i.concat([t,n]))}}function a(t){return function(e){return r(e,t)}}function c(t){return function(e){g[t]=e}}function l(t){if(o(v,t)){var n=v[t];delete v[t],y[t]=!0,p.apply(e,n)}if(!o(g,t)&&!o(y,t))throw new Error("No "+t);return g[t]}function u(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function d(t){return function(){return b&&b.config&&b.config[t]||{}}}var p,h,f,m,g={},v={},b={},y={},_=Object.prototype.hasOwnProperty,M=[].slice,w=/\.js$/;f=function(t,e){var n,i=u(t),o=i[0];return t=i[1],o&&(o=r(o,e),n=l(o)),o?t=n&&n.normalize?n.normalize(t,a(e)):r(t,e):(t=r(t,e),i=u(t),o=i[0],t=i[1],o&&(n=l(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},m={require:function(t){return s(t)},exports:function(t){var e=g[t];return void 0!==e?e:g[t]={}},module:function(t){return{id:t,uri:"",exports:g[t],config:d(t)}}},p=function(t,n,i,r){var a,u,d,p,h,b,_=[],M=typeof i;if(r=r||t,"undefined"===M||"function"===M){for(n=!n.length&&i.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if(p=f(n[h],r),"require"===(u=p.f))_[h]=m.require(t);else if("exports"===u)_[h]=m.exports(t),b=!0;else if("module"===u)a=_[h]=m.module(t);else if(o(g,u)||o(v,u)||o(y,u))_[h]=l(u);else{if(!p.p)throw new Error(t+" missing "+u);p.p.load(p.n,s(r,!0),c(u),{}),_[h]=g[u]}d=i?i.apply(g[t],_):undefined,t&&(a&&a.exports!==e&&a.exports!==g[t]?g[t]=a.exports:d===e&&b||(g[t]=d))}else t&&(g[t]=i)},t=n=h=function(t,n,i,o,r){if("string"==typeof t)return m[t]?m[t](n):l(f(t,n).f);if(!t.splice){if(b=t,b.deps&&h(b.deps,b.callback),!n)return;n.splice?(t=n,n=i,i=null):t=e}return n=n||function(){},"function"==typeof i&&(i=o,o=r),o?p(e,t,n,i):setTimeout(function(){p(e,t,n,i)},4),h},h.config=function(t){return h(t)},t._defined=g,i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),o(g,t)||o(v,t)||(v[t]=[t,e,n])},i.amd={jQuery:!0}}(),e.requirejs=t,e.require=n,e.define=i}}(),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,n=[];for(var i in e){"function"==typeof e[i]&&("constructor"!==i&&n.push(i))}return n}var n={};n.Extend=function(t,e){function n(){this.constructor=t}var i={}.hasOwnProperty;for(var o in e)i.call(e,o)&&(t[o]=e[o]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},n.Decorate=function(t,n){function i(){var e=Array.prototype.unshift,i=n.prototype.constructor.length,o=t.prototype.constructor;i>0&&(e.call(arguments,t.prototype.constructor),o=n.prototype.constructor),o.apply(this,arguments)}function o(){this.constructor=i}var r=e(n),s=e(t);n.displayName=t.displayName,i.prototype=new o;for(var a=0;a<s.length;a++){var c=s[a];i.prototype[c]=t.prototype[c]}for(var l=(function(t){var e=function(){};t in i.prototype&&(e=i.prototype[t]);var o=n.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),o.apply(this,arguments)}}),u=0;u<r.length;u++){var d=r[u];i.prototype[d]=l(d)}return i};var i=function(){this.listeners={}};return i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},n.Observable=i,n.generateChars=function(t){for(var e="",n=0;n<t;n++){e+=Math.floor(36*Math.random()).toString(36)}return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];r=r.substring(0,1).toLowerCase()+r.substring(1),r in i||(i[r]={}),o==n.length-1&&(i[r]=t[e]),i=i[r]}delete t[e]}}return t},n.hasScroll=function(e,n){var i=t(n),o=n.style.overflowX,r=n.style.overflowY;return(o!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===o||"scroll"===r||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,function(t){i=i.add(t)}),n=i}e.append(n)},n}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(e.message);i.append(n(o(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null==t.results||0===t.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],o=this.option(i);e.push(o)}this.$results.append(e)},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var e=this;this.data.current(function(n){var i=t.map(n,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var e=t(this),n=t.data(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&t.inArray(o,i)>-1?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e=this.options.get("translations").get("searching"),n={disabled:!0,loading:!0,text:e(t)},i=this.option(n);i.className+=" loading-results",this.$results.prepend(i)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(e){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};e.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==e.id&&delete i["aria-selected"],null!=e._resultId&&(n.id=e._resultId),e.title&&(n.title=e.title),e.children&&(i.role="group",i["aria-label"]=e.text,delete i["aria-selected"]);for(var o in i){var r=i[o];n.setAttribute(o,r)}if(e.children){var s=t(n),a=document.createElement("strong");a.className="select2-results__group";t(a);this.template(e,a);for(var c=[],l=0;l<e.children.length;l++){var u=e.children[l],d=this.option(u);c.push(d)}var p=t("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});p.append(c),s.append(a),s.append(p)}else this.template(e,n);return t.data(n,"data",e),n},n.prototype.bind=function(e){var n=this,i=e.id+"-results";this.$results.attr("id",i),e.on("results:all",function(t){n.clear(),n.append(t.data),e.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),e.on("results:append",function(t){n.append(t.data),e.isOpen()&&n.setClasses()}),e.on("query",function(t){n.hideMessages(),n.showLoading(t)}),e.on("select",function(){e.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),e.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),e.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=n.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=n.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?n.trigger("close",{}):n.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=n.getHighlightedResults(),e=n.$results.find("[aria-selected]"),i=e.index(t);if(0!==i){var o=i-1;0===t.length&&(o=0);var r=e.eq(o);r.trigger("mouseenter");var s=n.$results.offset().top,a=r.offset().top,c=n.$results.scrollTop()+(a-s);0===o?n.$results.scrollTop(0):a-s<0&&n.$results.scrollTop(c)}}),e.on("results:next",function(){var t=n.getHighlightedResults(),e=n.$results.find("[aria-selected]"),i=e.index(t),o=i+1;if(!(o>=e.length)){var r=e.eq(o);r.trigger("mouseenter");var s=n.$results.offset().top+n.$results.outerHeight(!1),a=r.offset().top+r.outerHeight(!1),c=n.$results.scrollTop()+a-s;0===o?n.$results.scrollTop(0):a>s&&n.$results.scrollTop(c)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){n.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=n.$results.scrollTop(),i=n.$results.get(0).scrollHeight-e+t.deltaY,o=t.deltaY>0&&e-t.deltaY<=0,r=t.deltaY<0&&i<=n.$results.height();o?(n.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):r&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var i=t(this),o=i.data("data");if("true"===i.attr("aria-selected"))return void(n.options.get("multiple")?n.trigger("unselect",{originalEvent:e,data:o}):n.trigger("close",{}));n.trigger("select",{originalEvent:e,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var e=t(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:e,element:t(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]"),n=e.index(t),i=this.$results.offset().top,o=t.offset().top,r=this.$results.scrollTop()+(o-i),s=o-i;r-=2*t.outerHeight(!1),n<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(e,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=o(r):t(n).append(r)},n}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e,e},i.prototype.bind=function(t){var e=this,i=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){e.trigger("focus",t)}),this.$selection.on("blur",function(t){e._handleBlur(t)}),this.$selection.on("keydown",function(t){e.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){e.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){e.update(t.data)}),t.on("open",function(){e.$selection.attr("aria-expanded","true"),e.$selection.attr("aria-owns",i),e._attachCloseHandler(t)}),t.on("close",function(){e.$selection.attr("aria-expanded","false"),e.$selection.removeAttr("aria-activedescendant"),e.$selection.removeAttr("aria-owns"),e.$selection.focus(),e._detachCloseHandler(t)}),t.on("enable",function(){e.$selection.attr("tabindex",e._tabindex)}),t.on("disable",function(){e.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){var n=t(e.target),i=n.closest(".select2");t(".select2.select2-container--open").each(function(){var e=t(this);this!=i[0]&&e.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},i.prototype.bind=function(t){var e=this;i.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&e.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),t.on("focus",function(){t.isOpen()||e.$selection.focus()}),t.on("selection:update",function(t){e.update(t.data)})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t("<span></span>")},i.prototype.update=function(t){if(0===t.length)return void this.clear();var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i),n.prop("title",e.title||e.text)},i}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(){var e=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){e.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(n){if(!e.options.get("disabled")){var i=t(this),o=i.parent(),r=o.data("data");e.trigger("unselect",{originalEvent:n,data:r})}})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var o=t[i],r=this.selectionContainer(),s=this.display(o,r);r.append(s),r.prop("title",o.title||o.text),r.data("data",o),e.push(r)}var a=this.$selection.find(".select2-selection__rendered");n.appendMany(a,e)}},i}),e.define("select2/selection/placeholder",["../utils"],function(){function t(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function n(){}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},n.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();for(var i=n.data("data"),o=0;o<i.length;o++){var r={data:i[o]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},n.prototype.update=function(e,n){if(e.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=t('<span class="select2-selection__clear">&times;</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,e,i){var o=this;t.call(this,e,i),e.on("open",function(){o.$search.trigger("focus")}),e.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),e.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),e.on("disable",function(){o.$search.prop("disabled",!0)}),e.on("focus",function(){o.$search.trigger("focus")}),e.on("results:focus",function(t){o.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var e=o.$searchContainer.prev(".select2-selection__choice");if(e.length>0){var i=e.data("data");o.searchRemoveChoice(i),t.preventDefault()}}});var r=document.documentMode,s=r&&r<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(){if(s)return void o.$selection.off("input.search input.searchcheck");o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(s&&"input"===t.type)return void o.$selection.off("input.search input.searchcheck");var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)})},i.prototype._transferTabIndex=function(){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";if(""!==this.$search.attr("placeholder"))t=this.$selection.find(".select2-selection__rendered").innerWidth();else{t=.75*(this.$search.val().length+1)+"em"}this.$search.css("width",t)},i}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];e.call(this,n,i),n.on("*",function(e,n){if(-1!==t.inArray(e,r)){n=n||{};var i=t.Event("select2:"+e,{params:n});o.$element.trigger(i),-1!==t.inArray(e,s)&&(n.prevented=i.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){return{"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K",
"\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"}}),e.define("select2/data/base",["../utils"],function(t){function e(){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=n(this),o=i.item(t);e.push(o)}),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var o=[];t=[t],t.push.apply(t,i);for(var r=0;r<t.length;r++){var s=t[r].id;-1===n.inArray(s,o)&&o.push(s)}e.$element.val(o),e.$element.trigger("change")});else{var i=t.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("change");this.current(function(i){for(var o=[],r=0;r<i.length;r++){var s=i[r].id;s!==t.id&&-1===n.inArray(s,o)&&o.push(s)}e.$element.val(o),e.$element.trigger("change")})}},i.prototype.bind=function(t){var e=this;this.container=t,t.on("select",function(t){e.select(t.data)}),t.on("unselect",function(t){e.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(t,e){var i=[],o=this;this.$element.children().each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var r=o.item(e),s=o.matches(t,r);null!==s&&i.push(s)}}),e({results:i})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup"),e.label=t.text):(e=document.createElement("option"),e.textContent!==undefined?e.textContent=t.text:e.innerText=t.text),t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var i=n(e),o=this._normalizeItem(t);return o.element=e,n.data(e,"data",o),i},i.prototype.item=function(t){var e={};if(null!=(e=n.data(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),o=[],r=0;r<i.length;r++){var s=n(i[r]),a=this.item(s);o.push(a)}e.children=o}return e=this._normalizeItem(e),e.element=t[0],n.data(t[0],"data",e),e},i.prototype._normalizeItem=function(t){n.isPlainObject(t)||(t={id:t,text:t}),t=n.extend({},{text:""},t);var e={selected:!1,disabled:!1};return null!=t.id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},e,t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function i(t,e){var n=e.get("data")||[];i.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(n))}return e.Extend(i,t),i.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){function i(t){return function(){return n(this).val()==t.id}}for(var o=this,r=this.$element.find("option"),s=r.map(function(){return o.item(n(this)).id}).get(),a=[],c=0;c<t.length;c++){var l=this._normalizeItem(t[c]);if(n.inArray(l.id,s)>=0){var u=r.filter(i(l)),d=this.item(u),p=n.extend(!0,{},l,d),h=this.option(p);u.replaceWith(h)}else{var f=this.option(l);if(l.children){var m=this.convertToOptions(l.children);e.appendMany(f,m)}a.push(f)}}return a},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var o=n.ajax(t);return o.then(e),o.fail(i),o}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){function i(){var i=r.transport(r,function(i){var r=o.processResults(i,t);o.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(r)},function(){i.status&&"0"===i.status||o.trigger("results:message",{message:"errorLoading"})});o._request=i}var o=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof r.url&&(r.url=r.url.call(this.$element,t)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,i){var o=i.get("tags"),r=i.get("createTag");r!==undefined&&(this.createTag=r);var s=i.get("insertTag");if(s!==undefined&&(this.insertTag=s),e.call(this,n,i),t.isArray(o))for(var a=0;a<o.length;a++){var c=o[a],l=this._normalizeItem(c),u=this.option(l);this.$element.append(u)}}return e.prototype.query=function(t,e,n){function i(t,r){for(var s=t.results,a=0;a<s.length;a++){var c=s[a],l=null!=c.children&&!i({results:c.children},!0);if(c.text===e.term||l)return!r&&(t.data=s,void n(t))}if(r)return!0;var u=o.createTag(e);if(null!=u){var d=o.option(u);d.attr("data-select2-tag",!0),o.addOptions([d]),o.insertTag(s,u)}t.results=s,n(t)}var o=this;if(this._removeOldTags(),null==e.term||null!=e.page)return void t.call(this,e,n);t.call(this,e,i)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var i=n.get("tokenizer");i!==undefined&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){function o(e){var n=s._normalizeItem(e);if(!s.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var i=s.option(n);i.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([i])}r(n)}function r(t){s.trigger("select",{data:t})}var s=this;n.term=n.term||"";var a=this.tokenizer(n,this.options,o);a.term!==n.term&&(this.$search.length&&(this.$search.val(a.term),this.$search.focus()),n.term=a.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,o){for(var r=i.get("tokenSeparators")||[],s=n.term,a=0,c=this.createTag||function(t){return{id:t.term,text:t.term}};a<s.length;){var l=s[a];if(-1!==t.inArray(l,r)){var u=s.substr(0,a),d=t.extend({},n,{term:u}),p=c(d);null!=p?(o(p),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){if(e.term=e.term||"",e.term.length<this.minimumInputLength)return void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}});t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){if(e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength)return void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}});t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){var i=this;this.current(function(o){var r=null!=o?o.length:0;if(i.maximumSelectionLength>0&&r>=i.maximumSelectionLength)return void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}});t.call(i,e,n)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t){function e(){}return e.prototype.render=function(e){var n=e.call(this),i=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},e.prototype.bind=function(e,n,i){var o=this;e.call(this,n,i),this.$search.on("keydown",function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(){t(this).off("keyup")}),this.$search.on("keyup input",function(t){o.handleSearch(t)}),n.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),n.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),n.on("focus",function(){n.isOpen()&&o.$search.focus()}),n.on("results:all",function(t){if(null==t.query.term||""===t.query.term){o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide")}})},e.prototype.handleSearch=function(){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.showSearch=function(){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;i>=0;i--){var o=e[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,n,i){var o=this;e.call(this,n,i),n.on("query",function(t){o.lastParams=t,o.loading=!0}),n.on("query:append",function(t){o.lastParams=t,o.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,o.$loadingMore[0]);if(!o.loading&&e){o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore()}})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,i){this.$dropdownParent=i.get("dropdownParent")||t(document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this,o=!1;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),o||(o=!0,e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.select2."+i.id,s="resize.select2."+i.id,a="orientationchange.select2."+i.id,c=this.$container.parents().filter(e.hasScroll);c.each(function(){t(this).data("select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),c.on(r,function(){var e=t(this).data("select2-scroll-position");t(this).scrollTop(e.y)}),t(window).on(r+" "+s+" "+a,function(){o._positionDropdown(),o._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.select2."+i.id,r="resize.select2."+i.id,s="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(o),t(window).off(o+" "+r+" "+s)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a={height:this.$dropdown.outerHeight(!1)},c={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},l=c.top<r.top-a.height,u=c.bottom>r.bottom+a.height,d={left:r.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();d.top-=h.top,d.left-=h.left,n||i||(o="below"),u||!l||n?!l&&u&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(d.top=s.top-h.top-a.height),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(e){for(var n=0,i=0;i<e.length;i++){var o=e[i];o.children?n+=t(o.children):n++}return n}function e(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity),t.call(this,e,n,i)}return e.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e}),e.define("select2/dropdown/selectOnClose",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){var n=e.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=i.data("data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},t}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results\u2026"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching\u2026"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,i,o,r,s,a,c,l,u,d,p,h,f,m,g,v,b,y,_,M,w,A,T,k,z,x,$){function C(){this.reset()}return C.prototype.apply=function(d){if(d=t.extend(!0,{},this.defaults,d),null==d.dataAdapter){if(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=h:d.dataAdapter=p,d.minimumInputLength>0&&(d.dataAdapter=l.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=l.Decorate(d.dataAdapter,b)),d.maximumSelectionLength>0&&(d.dataAdapter=l.Decorate(d.dataAdapter,y)),d.tags&&(d.dataAdapter=l.Decorate(d.dataAdapter,m)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=l.Decorate(d.dataAdapter,g)),null!=d.query){var $=e(d.amdBase+"compat/query");d.dataAdapter=l.Decorate(d.dataAdapter,$)}if(null!=d.initSelection){var C=e(d.amdBase+"compat/initSelection");d.dataAdapter=l.Decorate(d.dataAdapter,C)}}if(null==d.resultsAdapter&&(d.resultsAdapter=n,null!=d.ajax&&(d.resultsAdapter=l.Decorate(d.resultsAdapter,A)),null!=d.placeholder&&(d.resultsAdapter=l.Decorate(d.resultsAdapter,w)),d.selectOnClose&&(d.resultsAdapter=l.Decorate(d.resultsAdapter,z))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=_;else{var S=l.Decorate(_,M);d.dropdownAdapter=S}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=l.Decorate(d.dropdownAdapter,k)),d.closeOnSelect&&(d.dropdownAdapter=l.Decorate(d.dropdownAdapter,x)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var O=e(d.amdBase+"compat/dropdownCss");d.dropdownAdapter=l.Decorate(d.dropdownAdapter,O)}d.dropdownAdapter=l.Decorate(d.dropdownAdapter,T)}if(null==d.selectionAdapter){if(d.multiple?d.selectionAdapter=o:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=l.Decorate(d.selectionAdapter,r)),d.allowClear&&(d.selectionAdapter=l.Decorate(d.selectionAdapter,s)),d.multiple&&(d.selectionAdapter=l.Decorate(d.selectionAdapter,a)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var N=e(d.amdBase+"compat/containerCss");d.selectionAdapter=l.Decorate(d.selectionAdapter,N)}d.selectionAdapter=l.Decorate(d.selectionAdapter,c)}if("string"==typeof d.language)if(d.language.indexOf("-")>0){var L=d.language.split("-"),E=L[0];d.language=[d.language,E]}else d.language=[d.language];if(t.isArray(d.language)){var j=new u;d.language.push("en");for(var D=d.language,q=0;q<D.length;q++){var P=D[q],B={};try{B=u.loadPath(P)}catch(t){try{P=this.defaults.amdLanguageBase+P,B=u.loadPath(P)}catch(t){d.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+P+'" could not be automatically loaded. A fallback will be used instead.');continue}}j.extend(B)}d.translations=j}else{var I=u.loadPath(this.defaults.amdLanguageBase+"en"),W=new u(d.language);W.extend(I),d.translations=W}return d},C.prototype.reset=function(){function e(t){function e(t){return d[t]||t}return t.replace(/[^\u0000-\u007E]/g,e)}function n(i,o){if(""===t.trim(i.term))return o;if(o.children&&o.children.length>0){for(var r=t.extend(!0,{},o),s=o.children.length-1;s>=0;s--){null==n(i,o.children[s])&&r.children.splice(s,1)}return r.children.length>0?r:n(i,r)}var a=e(o.text).toUpperCase(),c=e(i.term).toUpperCase();return a.indexOf(c)>-1?o:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:$,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},C.prototype.set=function(e,n){var i=t.camelCase(e),o={};o[i]=n;var r=l._convertData(o);t.extend(this.defaults,r)},new C}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,i){function o(e,o){if(this.options=e,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is("input")){var r=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return o.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),
t.data("ajax--url",t.data("ajaxUrl")));var o={};o=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var r=e.extend(!0,{},o);r=i._convertData(r);for(var s in r)e.inArray(s,n)>-1||(e.isPlainObject(this.options[s])?e.extend(this.options[s],r[s]):this.options[s]=r[s]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,i){var o=function(t,n){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),n=n||{},this.options=new e(n,t),o.__super__.constructor.call(this);var i=t.attr("tabindex")||0;t.data("old-tabindex",i),t.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(t,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get("selectionAdapter");this.selection=new a(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var l=this.options.get("resultsAdapter");this.results=new l(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){u.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(t){var e="";return e=null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4),e=e.replace(/(:|\.|\[|\]|,)/g,""),e="select2-"+e},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==e){var r=t.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,c=s.length;a<c;a+=1){var l=s[a].replace(/\s/g,""),u=l.match(n);if(null!==u&&u.length>=1)return u[1]}return null}return e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){t.each(n,e._syncA),t.each(n,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},o.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(i,o){-1===t.inArray(i,n)&&e.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},o.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._syncSubtree=function(t,e){var n=!1,i=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var o=0;o<e.addedNodes.length;o++){var r=e.addedNodes[o];r.selected&&(n=!0)}else e.removedNodes&&e.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})})}},o.prototype.trigger=function(t,e){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(e===undefined&&(e={}),t in i){var r=i[t],s={prevented:!1,name:t,args:e};if(n.call(this,r,s),s.prevented)return void(e.prevented=!0)}n.call(this,t,e)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),e.data("element",this.$element),e},o}),e.define("select2/compat/utils",["jquery"],function(t){function e(e,n,i){var o,r,s=[];o=t.trim(e.attr("class")),o&&(o=""+o,t(o.split(/\s+/)).each(function(){0===this.indexOf("select2-")&&s.push(this)})),o=t.trim(n.attr("class")),o&&(o=""+o,t(o.split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=i(this))&&s.push(r)})),e.attr("class",s.join(" "))}return{syncCssClasses:e}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(t,e){function n(){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("containerCssClass")||"";t.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(t){var e=a(t);return null!=e?e+" "+t:t}}var c=this.options.get("containerCss")||{};return t.isFunction(c)&&(c=c(this.$element)),e.syncCssClasses(o,this.$element,s),o.css(c),o.addClass(r),o},i}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(t,e){function n(){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("dropdownCssClass")||"";t.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(t){var e=a(t);return null!=e?e+" "+t:t}}var c=this.options.get("dropdownCss")||{};return t.isFunction(c)&&(c=c(this.$element)),e.syncCssClasses(o,this.$element,s),o.css(c),o.addClass(r),o},i}),e.define("select2/compat/initSelection",["jquery"],function(t){function e(t,e,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,t.call(this,e,n)}return e.prototype.current=function(e,n){var i=this;if(this._isInitialized)return void e.call(this,n);this.initSelection.call(null,this.$element,function(e){i._isInitialized=!0,t.isArray(e)||(e=[e]),n(e)})},e}),e.define("select2/compat/inputData",["jquery"],function(t){function e(t,e,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===e.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),t.call(this,e,n)}return e.prototype.current=function(e,n){function i(e,n){var o=[];return e.selected||-1!==t.inArray(e.id,n)?(e.selected=!0,o.push(e)):e.selected=!1,e.children&&o.push.apply(o,i(e.children,n)),o}for(var o=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];o.push.apply(o,i(s,this.$element.val().split(this._valueSeparator)))}n(o)},e.prototype.select=function(e,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(e){t.map(e,function(t){t.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},e.prototype.unselect=function(t,e){var n=this;e.selected=!1,this.current(function(t){for(var i=[],o=0;o<t.length;o++){var r=t[o];e.id!=r.id&&i.push(r.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},e.prototype.query=function(t,e,n){for(var i=[],o=0;o<this._currentData.length;o++){var r=this._currentData[o],s=this.matches(e,r);null!==s&&i.push(s)}n({results:i})},e.prototype.addOptions=function(e,n){var i=t.map(n,function(e){return t.data(e[0],"data")});this._currentData.push.apply(this._currentData,i)},e}),e.define("select2/compat/matcher",["jquery"],function(t){function e(e){function n(n,i){var o=t.extend(!0,{},i);if(null==n.term||""===t.trim(n.term))return o;if(i.children){for(var r=i.children.length-1;r>=0;r--){var s=i.children[r];e(n.term,s.text,s)||o.children.splice(r,1)}if(o.children.length>0)return o}return e(n.term,i.text,i)?o:null}return n}return e}),e.define("select2/compat/query",[],function(){function t(t,e,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.callback=n,this.options.get("query").call(null,e)},t}),e.define("select2/dropdown/attachContainer",[],function(){function t(t,e,n){t.call(this,e,n)}return t.prototype.position=function(t,e,n){n.find(".dropdown-wrapper").append(e),e.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},t}),e.define("select2/dropdown/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,n){t.call(this,e,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(i.join(" "),function(t){t.stopPropagation()})},t}),e.define("select2/selection/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,n){t.call(this,e,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(i.join(" "),function(t){t.stopPropagation()})},t}),function(n){"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(t)}(function(t){function e(e){var s=e||window.event,a=c.call(arguments,1),l=0,d=0,p=0,h=0,f=0,m=0;if(e=t.event.fix(s),e.type="mousewheel","detail"in s&&(p=-1*s.detail),"wheelDelta"in s&&(p=s.wheelDelta),"wheelDeltaY"in s&&(p=s.wheelDeltaY),"wheelDeltaX"in s&&(d=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(d=-1*p,p=0),l=0===p?d:p,"deltaY"in s&&(p=-1*s.deltaY,l=p),"deltaX"in s&&(d=s.deltaX,0===p&&(l=-1*d)),0!==p||0!==d){if(1===s.deltaMode){var g=t.data(this,"mousewheel-line-height");l*=g,p*=g,d*=g}else if(2===s.deltaMode){var v=t.data(this,"mousewheel-page-height");l*=v,p*=v,d*=v}if(h=Math.max(Math.abs(p),Math.abs(d)),(!r||h<r)&&(r=h,i(s,h)&&(r/=40)),i(s,h)&&(l/=40,d/=40,p/=40),l=Math[l>=1?"floor":"ceil"](l/r),d=Math[d>=1?"floor":"ceil"](d/r),p=Math[p>=1?"floor":"ceil"](p/r),u.settings.normalizeOffset&&this.getBoundingClientRect){var b=this.getBoundingClientRect();f=e.clientX-b.left,m=e.clientY-b.top}return e.deltaX=d,e.deltaY=p,e.deltaFactor=r,e.offsetX=f,e.offsetY=m,e.deltaMode=0,a.unshift(e,l,d,p),o&&clearTimeout(o),o=setTimeout(n,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function n(){r=null}function i(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var o,r,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],c=Array.prototype.slice;if(t.event.fixHooks)for(var l=s.length;l;)t.event.fixHooks[s[--l]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var n=t(e),i=n["offsetParent"in t.fn?"offsetParent":"parent"]();return i.length||(i=t("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(t,e,n,i){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var i=t.extend(!0,{},e);new n(t(this),i)}),this;if("string"==typeof e){var i,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this).data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=n[e].apply(n,r)}),t.inArray(e,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n}),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.pako=t()}}(function(){return function t(e,n,i){function o(s,a){if(!n[s]){if(!e[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(r)return r(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){var n=e[s][1][t];return o(n||t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var r="function"==typeof require&&require,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(t,e,n){"use strict";function i(t){if(!(this instanceof i))return new i(t);this.options=c.assign({level:v,method:y,chunkSize:16384,windowBits:15,memLevel:8,strategy:b,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var n=a.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==f)throw new Error(u[n]);if(e.header&&a.deflateSetHeader(this.strm,e.header),e.dictionary){var o;if(o="string"==typeof e.dictionary?l.string2buf(e.dictionary):"[object ArrayBuffer]"===p.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=a.deflateSetDictionary(this.strm,o))!==f)throw new Error(u[n]);this._dict_set=!0}}function o(t,e){var n=new i(e);if(n.push(t,!0),n.err)throw n.msg||u[n.err];return n.result}function r(t,e){return e=e||{},e.raw=!0,o(t,e)}function s(t,e){return e=e||{},e.gzip=!0,o(t,e)}var a=t("./zlib/deflate"),c=t("./utils/common"),l=t("./utils/strings"),u=t("./zlib/messages"),d=t("./zlib/zstream"),p=Object.prototype.toString,h=4,f=0,m=1,g=2,v=-1,b=0,y=8;i.prototype.push=function(t,e){var n,i,o=this.strm,r=this.options.chunkSize;if(this.ended)return!1;i=e===~~e?e:!0===e?h:0,"string"==typeof t?o.input=l.string2buf(t):"[object ArrayBuffer]"===p.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new c.Buf8(r),o.next_out=0,o.avail_out=r),(n=a.deflate(o,i))!==m&&n!==f)return this.onEnd(n),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||i!==h&&i!==g)||("string"===this.options.to?this.onData(l.buf2binstring(c.shrinkBuf(o.output,o.next_out))):this.onData(c.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&n!==m);return i===h?(n=a.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===f):i!==g||(this.onEnd(f),o.avail_out=0,!0)},i.prototype.onData=function(t){this.chunks.push(t)},i.prototype.onEnd=function(t){t===f&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=c.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=i,n.deflate=o,n.deflateRaw=r,n.gzip=s},{"./utils/common":3,"./utils/strings":4,"./zlib/deflate":8,"./zlib/messages":13,"./zlib/zstream":15}],2:[function(t,e,n){"use strict";function i(t){if(!(this instanceof i))return new i(t);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var n=s.inflateInit2(this.strm,e.windowBits);if(n!==l.Z_OK)throw new Error(u[n]);this.header=new p,s.inflateGetHeader(this.strm,this.header)}function o(t,e){var n=new i(e);if(n.push(t,!0),n.err)throw n.msg||u[n.err];return n.result}function r(t,e){return e=e||{},e.raw=!0,o(t,e)}var s=t("./zlib/inflate"),a=t("./utils/common"),c=t("./utils/strings"),l=t("./zlib/constants"),u=t("./zlib/messages"),d=t("./zlib/zstream"),p=t("./zlib/gzheader"),h=Object.prototype.toString;i.prototype.push=function(t,e){var n,i,o,r,u,d,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;i=e===~~e?e:!0===e?l.Z_FINISH:l.Z_NO_FLUSH,"string"==typeof t?p.input=c.binstring2buf(t):"[object ArrayBuffer]"===h.call(t)?p.input=new Uint8Array(t):p.input=t,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new a.Buf8(f),p.next_out=0,p.avail_out=f),n=s.inflate(p,l.Z_NO_FLUSH),n===l.Z_NEED_DICT&&m&&(d="string"==typeof m?c.string2buf(m):"[object ArrayBuffer]"===h.call(m)?new Uint8Array(m):m,n=s.inflateSetDictionary(this.strm,d)),n===l.Z_BUF_ERROR&&!0===g&&(n=l.Z_OK,g=!1),n!==l.Z_STREAM_END&&n!==l.Z_OK)return this.onEnd(n),this.ended=!0,!1;p.next_out&&(0!==p.avail_out&&n!==l.Z_STREAM_END&&(0!==p.avail_in||i!==l.Z_FINISH&&i!==l.Z_SYNC_FLUSH)||("string"===this.options.to?(o=c.utf8border(p.output,p.next_out),r=p.next_out-o,u=c.buf2string(p.output,o),p.next_out=r,p.avail_out=f-r,r&&a.arraySet(p.output,p.output,o,r,0),this.onData(u)):this.onData(a.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((p.avail_in>0||0===p.avail_out)&&n!==l.Z_STREAM_END);return n===l.Z_STREAM_END&&(i=l.Z_FINISH),i===l.Z_FINISH?(n=s.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l.Z_OK):i!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),p.avail_out=0,!0)},i.prototype.onData=function(t){this.chunks.push(t)},i.prototype.onEnd=function(t){t===l.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=i,n.inflate=o,n.inflateRaw=r,n.ungzip=o},{"./utils/common":3,"./utils/strings":4,"./zlib/constants":6,"./zlib/gzheader":9,"./zlib/inflate":11,"./zlib/messages":13,"./zlib/zstream":15}],3:[function(t,e,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,n,i,o){if(e.subarray&&t.subarray)return void t.set(e.subarray(n,n+i),o);for(var r=0;r<i;r++)t[o+r]=e[n+r]},flattenChunks:function(t){var e,n,i,o,r,s;for(i=0,e=0,n=t.length;e<n;e++)i+=t[e].length;for(s=new Uint8Array(i),o=0,e=0,n=t.length;e<n;e++)r=t[e],s.set(r,o),o+=r.length;return s}},r={arraySet:function(t,e,n,i,o){for(var r=0;r<i;r++)t[o+r]=e[n+r]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,r))},n.setTyped(i)},{}],4:[function(t,e,n){"use strict";function i(t,e){if(e<65537&&(t.subarray&&s||!t.subarray&&r))return String.fromCharCode.apply(null,o.shrinkBuf(t,e));for(var n="",i=0;i<e;i++)n+=String.fromCharCode(t[i]);return n}var o=t("./common"),r=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var a=new o.Buf8(256),c=0;c<256;c++)a[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;a[254]=a[254]=1,n.string2buf=function(t){var e,n,i,r,s,a=t.length,c=0;for(r=0;r<a;r++)n=t.charCodeAt(r),55296==(64512&n)&&r+1<a&&56320==(64512&(i=t.charCodeAt(r+1)))&&(n=65536+(n-55296<<10)+(i-56320),r++),c+=n<128?1:n<2048?2:n<65536?3:4;for(e=new o.Buf8(c),s=0,r=0;s<c;r++)n=t.charCodeAt(r),55296==(64512&n)&&r+1<a&&56320==(64512&(i=t.charCodeAt(r+1)))&&(n=65536+(n-55296<<10)+(i-56320),r++),n<128?e[s++]=n:n<2048?(e[s++]=192|n>>>6,e[s++]=128|63&n):n<65536?(e[s++]=224|n>>>12,e[s++]=128|n>>>6&63,e[s++]=128|63&n):(e[s++]=240|n>>>18,e[s++]=128|n>>>12&63,e[s++]=128|n>>>6&63,e[s++]=128|63&n);return e},n.buf2binstring=function(t){return i(t,t.length)},n.binstring2buf=function(t){for(var e=new o.Buf8(t.length),n=0,i=e.length;n<i;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,o,r,s,c=e||t.length,l=new Array(2*c);for(o=0,n=0;n<c;)if((r=t[n++])<128)l[o++]=r;else if((s=a[r])>4)l[o++]=65533,n+=s-1;else{for(r&=2===s?31:3===s?15:7;s>1&&n<c;)r=r<<6|63&t[n++],s--;s>1?l[o++]=65533:r<65536?l[o++]=r:(r-=65536,l[o++]=55296|r>>10&1023,l[o++]=56320|1023&r)}return i(l,o)},n.utf8border=function(t,e){var n;for(e=e||t.length,e>t.length&&(e=t.length),n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0?e:0===n?e:n+a[t[n]]>e?n:e}},{"./common":3}],5:[function(t,e){"use strict";function n(t,e,n,i){for(var o=65535&t|0,r=t>>>16&65535|0,s=0;0!==n;){s=n>2e3?2e3:n,n-=s;do{o=o+e[i++]|0,r=r+o|0}while(--s);o%=65521,r%=65521}return o|r<<16|0}e.exports=n},{}],6:[function(t,e){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],7:[function(t,e){"use strict";function n(){for(var t,e=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}function i(t,e,n,i){var r=o,s=i+n;t^=-1;for(var a=i;a<s;a++)t=t>>>8^r[255&(t^e[a])];return-1^t}var o=n();e.exports=i},{}],8:[function(t,e,n){"use strict";function i(t,e){return t.msg=E[e],e}function o(t){return(t<<1)-(t>4?9:0)}function r(t){for(var e=t.length;--e>=0;)t[e]=0}function s(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(S.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function a(t,e){O._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,s(t.strm)}function c(t,e){t.pending_buf[t.pending++]=e}function l(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function u(t,e,n,i){var o=t.avail_in;return o>i&&(o=i),0===o?0:(t.avail_in-=o,S.arraySet(e,t.input,t.next_in,o,n),1===t.state.wrap?t.adler=N(t.adler,e,o,n):2===t.state.wrap&&(t.adler=L(t.adler,e,o,n)),t.next_in+=o,t.total_in+=o,o)}function d(t,e){var n,i,o=t.max_chain_length,r=t.strstart,s=t.prev_length,a=t.nice_match,c=t.strstart>t.w_size-dt?t.strstart-(t.w_size-dt):0,l=t.window,u=t.w_mask,d=t.prev,p=t.strstart+ut,h=l[r+s-1],f=l[r+s];t.prev_length>=t.good_match&&(o>>=2),a>t.lookahead&&(a=t.lookahead);do{if(n=e,l[n+s]===f&&l[n+s-1]===h&&l[n]===l[r]&&l[++n]===l[r+1]){r+=2,n++;do{}while(l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&r<p);if(i=ut-(p-r),r=p-ut,i>s){if(t.match_start=e,s=i,i>=a)break;h=l[r+s-1],f=l[r+s]}}}while((e=d[e&u])>c&&0!=--o);return s<=t.lookahead?s:t.lookahead}function p(t){var e,n,i,o,r,s=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-dt)){S.arraySet(t.window,t.window,s,s,0),t.match_start-=s,t.strstart-=s,t.block_start-=s,n=t.hash_size,e=n;do{i=t.head[--e],t.head[e]=i>=s?i-s:0}while(--n);n=s,e=n;do{i=t.prev[--e],t.prev[e]=i>=s?i-s:0}while(--n);o+=s}if(0===t.strm.avail_in)break;if(n=u(t.strm,t.window,t.strstart+t.lookahead,o),t.lookahead+=n,t.lookahead+t.insert>=lt)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+lt-1])&t.hash_mask,t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<lt)););}while(t.lookahead<dt&&0!==t.strm.avail_in)}function h(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(p(t),0===t.lookahead&&e===j)return _t;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+n;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,a(t,!1),0===t.strm.avail_out))return _t;if(t.strstart-t.block_start>=t.w_size-dt&&(a(t,!1),0===t.strm.avail_out))return _t}return t.insert=0,e===P?(a(t,!0),0===t.strm.avail_out?wt:At):(t.strstart>t.block_start&&(a(t,!1),t.strm.avail_out),_t)}function f(t,e){for(var n,i;;){if(t.lookahead<dt){if(p(t),t.lookahead<dt&&e===j)return _t;if(0===t.lookahead)break}if(n=0,t.lookahead>=lt&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+lt-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-dt&&(t.match_length=d(t,n)),t.match_length>=lt)if(i=O._tr_tally(t,t.strstart-t.match_start,t.match_length-lt),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=lt){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+lt-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else i=O._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(a(t,!1),0===t.strm.avail_out))return _t}return t.insert=t.strstart<lt-1?t.strstart:lt-1,e===P?(a(t,!0),0===t.strm.avail_out?wt:At):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?_t:Mt}function m(t,e){for(var n,i,o;;){if(t.lookahead<dt){if(p(t),t.lookahead<dt&&e===j)return _t;if(0===t.lookahead)break}if(n=0,t.lookahead>=lt&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+lt-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=lt-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-dt&&(t.match_length=d(t,n),t.match_length<=5&&(t.strategy===U||t.match_length===lt&&t.strstart-t.match_start>4096)&&(t.match_length=lt-1)),t.prev_length>=lt&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-lt,i=O._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-lt),
t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+lt-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=lt-1,t.strstart++,i&&(a(t,!1),0===t.strm.avail_out))return _t}else if(t.match_available){if(i=O._tr_tally(t,0,t.window[t.strstart-1]),i&&a(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return _t}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=O._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<lt-1?t.strstart:lt-1,e===P?(a(t,!0),0===t.strm.avail_out?wt:At):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?_t:Mt}function g(t,e){for(var n,i,o,r,s=t.window;;){if(t.lookahead<=ut){if(p(t),t.lookahead<=ut&&e===j)return _t;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=lt&&t.strstart>0&&(o=t.strstart-1,(i=s[o])===s[++o]&&i===s[++o]&&i===s[++o])){r=t.strstart+ut;do{}while(i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&o<r);t.match_length=ut-(r-o),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=lt?(n=O._tr_tally(t,1,t.match_length-lt),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=O._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(a(t,!1),0===t.strm.avail_out))return _t}return t.insert=0,e===P?(a(t,!0),0===t.strm.avail_out?wt:At):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?_t:Mt}function v(t,e){for(var n;;){if(0===t.lookahead&&(p(t),0===t.lookahead)){if(e===j)return _t;break}if(t.match_length=0,n=O._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(a(t,!1),0===t.strm.avail_out))return _t}return t.insert=0,e===P?(a(t,!0),0===t.strm.avail_out?wt:At):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?_t:Mt}function b(t,e,n,i,o){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=o}function y(t){t.window_size=2*t.w_size,r(t.head),t.max_lazy_match=C[t.level].max_lazy,t.good_match=C[t.level].good_length,t.nice_match=C[t.level].nice_length,t.max_chain_length=C[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=lt-1,t.match_available=0,t.ins_h=0}function _(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Q,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new S.Buf16(2*at),this.dyn_dtree=new S.Buf16(2*(2*rt+1)),this.bl_tree=new S.Buf16(2*(2*st+1)),r(this.dyn_ltree),r(this.dyn_dtree),r(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new S.Buf16(ct+1),this.heap=new S.Buf16(2*ot+1),r(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new S.Buf16(2*ot+1),r(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function M(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=J,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?ht:bt,t.adler=2===e.wrap?0:1,e.last_flush=j,O._tr_init(e),I):i(t,R)}function w(t){var e=M(t);return e===I&&y(t.state),e}function A(t,e){return t&&t.state?2!==t.state.wrap?R:(t.state.gzhead=e,I):R}function T(t,e,n,o,r,s){if(!t)return R;var a=1;if(e===H&&(e=6),o<0?(a=0,o=-o):o>15&&(a=2,o-=16),r<1||r>Z||n!==Q||o<8||o>15||e<0||e>9||s<0||s>G)return i(t,R);8===o&&(o=9);var c=new _;return t.state=c,c.strm=t,c.wrap=a,c.gzhead=null,c.w_bits=o,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=r+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+lt-1)/lt),c.window=new S.Buf8(2*c.w_size),c.head=new S.Buf16(c.hash_size),c.prev=new S.Buf16(c.w_size),c.lit_bufsize=1<<r+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new S.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=e,c.strategy=s,c.method=n,w(t)}function k(t,e){return T(t,e,Q,tt,et,K)}function z(t,e){var n,a,u,d;if(!t||!t.state||e>B||e<0)return t?i(t,R):R;if(a=t.state,!t.output||!t.input&&0!==t.avail_in||a.status===yt&&e!==P)return i(t,0===t.avail_out?F:R);if(a.strm=t,n=a.last_flush,a.last_flush=e,a.status===ht)if(2===a.wrap)t.adler=0,c(a,31),c(a,139),c(a,8),a.gzhead?(c(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),c(a,255&a.gzhead.time),c(a,a.gzhead.time>>8&255),c(a,a.gzhead.time>>16&255),c(a,a.gzhead.time>>24&255),c(a,9===a.level?2:a.strategy>=V||a.level<2?4:0),c(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(c(a,255&a.gzhead.extra.length),c(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=L(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=ft):(c(a,0),c(a,0),c(a,0),c(a,0),c(a,0),c(a,9===a.level?2:a.strategy>=V||a.level<2?4:0),c(a,Tt),a.status=bt);else{var p=Q+(a.w_bits-8<<4)<<8,h=-1;h=a.strategy>=V||a.level<2?0:a.level<6?1:6===a.level?2:3,p|=h<<6,0!==a.strstart&&(p|=pt),p+=31-p%31,a.status=bt,l(a,p),0!==a.strstart&&(l(a,t.adler>>>16),l(a,65535&t.adler)),t.adler=1}if(a.status===ft)if(a.gzhead.extra){for(u=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>u&&(t.adler=L(t.adler,a.pending_buf,a.pending-u,u)),s(t),u=a.pending,a.pending!==a.pending_buf_size));)c(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>u&&(t.adler=L(t.adler,a.pending_buf,a.pending-u,u)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=mt)}else a.status=mt;if(a.status===mt)if(a.gzhead.name){u=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>u&&(t.adler=L(t.adler,a.pending_buf,a.pending-u,u)),s(t),u=a.pending,a.pending===a.pending_buf_size)){d=1;break}d=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,c(a,d)}while(0!==d);a.gzhead.hcrc&&a.pending>u&&(t.adler=L(t.adler,a.pending_buf,a.pending-u,u)),0===d&&(a.gzindex=0,a.status=gt)}else a.status=gt;if(a.status===gt)if(a.gzhead.comment){u=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>u&&(t.adler=L(t.adler,a.pending_buf,a.pending-u,u)),s(t),u=a.pending,a.pending===a.pending_buf_size)){d=1;break}d=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,c(a,d)}while(0!==d);a.gzhead.hcrc&&a.pending>u&&(t.adler=L(t.adler,a.pending_buf,a.pending-u,u)),0===d&&(a.status=vt)}else a.status=vt;if(a.status===vt&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&s(t),a.pending+2<=a.pending_buf_size&&(c(a,255&t.adler),c(a,t.adler>>8&255),t.adler=0,a.status=bt)):a.status=bt),0!==a.pending){if(s(t),0===t.avail_out)return a.last_flush=-1,I}else if(0===t.avail_in&&o(e)<=o(n)&&e!==P)return i(t,F);if(a.status===yt&&0!==t.avail_in)return i(t,F);if(0!==t.avail_in||0!==a.lookahead||e!==j&&a.status!==yt){var f=a.strategy===V?v(a,e):a.strategy===Y?g(a,e):C[a.level].func(a,e);if(f!==wt&&f!==At||(a.status=yt),f===_t||f===wt)return 0===t.avail_out&&(a.last_flush=-1),I;if(f===Mt&&(e===D?O._tr_align(a):e!==B&&(O._tr_stored_block(a,0,0,!1),e===q&&(r(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),s(t),0===t.avail_out))return a.last_flush=-1,I}return e!==P?I:a.wrap<=0?W:(2===a.wrap?(c(a,255&t.adler),c(a,t.adler>>8&255),c(a,t.adler>>16&255),c(a,t.adler>>24&255),c(a,255&t.total_in),c(a,t.total_in>>8&255),c(a,t.total_in>>16&255),c(a,t.total_in>>24&255)):(l(a,t.adler>>>16),l(a,65535&t.adler)),s(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?I:W)}function x(t){var e;return t&&t.state?(e=t.state.status)!==ht&&e!==ft&&e!==mt&&e!==gt&&e!==vt&&e!==bt&&e!==yt?i(t,R):(t.state=null,e===bt?i(t,X):I):R}function $(t,e){var n,i,o,s,a,c,l,u,d=e.length;if(!t||!t.state)return R;if(n=t.state,2===(s=n.wrap)||1===s&&n.status!==ht||n.lookahead)return R;for(1===s&&(t.adler=N(t.adler,e,d,0)),n.wrap=0,d>=n.w_size&&(0===s&&(r(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new S.Buf8(n.w_size),S.arraySet(u,e,d-n.w_size,n.w_size,0),e=u,d=n.w_size),a=t.avail_in,c=t.next_in,l=t.input,t.avail_in=d,t.next_in=0,t.input=e,p(n);n.lookahead>=lt;){i=n.strstart,o=n.lookahead-(lt-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+lt-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++}while(--o);n.strstart=i,n.lookahead=lt-1,p(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=lt-1,n.match_available=0,t.next_in=c,t.input=l,t.avail_in=a,n.wrap=s,I}var C,S=t("../utils/common"),O=t("./trees"),N=t("./adler32"),L=t("./crc32"),E=t("./messages"),j=0,D=1,q=3,P=4,B=5,I=0,W=1,R=-2,X=-3,F=-5,H=-1,U=1,V=2,Y=3,G=4,K=0,J=2,Q=8,Z=9,tt=15,et=8,nt=29,it=256,ot=it+1+nt,rt=30,st=19,at=2*ot+1,ct=15,lt=3,ut=258,dt=ut+lt+1,pt=32,ht=42,ft=69,mt=73,gt=91,vt=103,bt=113,yt=666,_t=1,Mt=2,wt=3,At=4,Tt=3;C=[new b(0,0,0,0,h),new b(4,4,8,4,f),new b(4,5,16,8,f),new b(4,6,32,32,f),new b(4,4,16,16,m),new b(8,16,32,32,m),new b(8,16,128,128,m),new b(8,32,128,256,m),new b(32,128,258,1024,m),new b(32,258,258,4096,m)],n.deflateInit=k,n.deflateInit2=T,n.deflateReset=w,n.deflateResetKeep=M,n.deflateSetHeader=A,n.deflate=z,n.deflateEnd=x,n.deflateSetDictionary=$,n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./messages":13,"./trees":14}],9:[function(t,e){"use strict";function n(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=n},{}],10:[function(t,e){"use strict";var n=30;e.exports=function(t,e){var i,o,r,s,a,c,l,u,d,p,h,f,m,g,v,b,y,_,M,w,A,T,k,z,x;i=t.state,o=t.next_in,z=t.input,r=o+(t.avail_in-5),s=t.next_out,x=t.output,a=s-(e-t.avail_out),c=s+(t.avail_out-257),l=i.dmax,u=i.wsize,d=i.whave,p=i.wnext,h=i.window,f=i.hold,m=i.bits,g=i.lencode,v=i.distcode,b=(1<<i.lenbits)-1,y=(1<<i.distbits)-1;t:do{m<15&&(f+=z[o++]<<m,m+=8,f+=z[o++]<<m,m+=8),_=g[f&b];e:for(;;){if(M=_>>>24,f>>>=M,m-=M,0==(M=_>>>16&255))x[s++]=65535&_;else{if(!(16&M)){if(0==(64&M)){_=g[(65535&_)+(f&(1<<M)-1)];continue e}if(32&M){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=n;break t}w=65535&_,M&=15,M&&(m<M&&(f+=z[o++]<<m,m+=8),w+=f&(1<<M)-1,f>>>=M,m-=M),m<15&&(f+=z[o++]<<m,m+=8,f+=z[o++]<<m,m+=8),_=v[f&y];n:for(;;){if(M=_>>>24,f>>>=M,m-=M,!(16&(M=_>>>16&255))){if(0==(64&M)){_=v[(65535&_)+(f&(1<<M)-1)];continue n}t.msg="invalid distance code",i.mode=n;break t}if(A=65535&_,M&=15,m<M&&(f+=z[o++]<<m,(m+=8)<M&&(f+=z[o++]<<m,m+=8)),(A+=f&(1<<M)-1)>l){t.msg="invalid distance too far back",i.mode=n;break t}if(f>>>=M,m-=M,M=s-a,A>M){if((M=A-M)>d&&i.sane){t.msg="invalid distance too far back",i.mode=n;break t}if(T=0,k=h,0===p){if(T+=u-M,M<w){w-=M;do{x[s++]=h[T++]}while(--M);T=s-A,k=x}}else if(p<M){if(T+=u+p-M,(M-=p)<w){w-=M;do{x[s++]=h[T++]}while(--M);if(T=0,p<w){M=p,w-=M;do{x[s++]=h[T++]}while(--M);T=s-A,k=x}}}else if(T+=p-M,M<w){w-=M;do{x[s++]=h[T++]}while(--M);T=s-A,k=x}for(;w>2;)x[s++]=k[T++],x[s++]=k[T++],x[s++]=k[T++],w-=3;w&&(x[s++]=k[T++],w>1&&(x[s++]=k[T++]))}else{T=s-A;do{x[s++]=x[T++],x[s++]=x[T++],x[s++]=x[T++],w-=3}while(w>2);w&&(x[s++]=x[T++],w>1&&(x[s++]=x[T++]))}break}}break}}while(o<r&&s<c);w=m>>3,o-=w,m-=w<<3,f&=(1<<m)-1,t.next_in=o,t.next_out=s,t.avail_in=o<r?r-o+5:5-(o-r),t.avail_out=s<c?c-s+257:257-(s-c),i.hold=f,i.bits=m}},{}],11:[function(t,e,n){"use strict";function i(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new b.Buf16(320),this.work=new b.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function r(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=q,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new b.Buf32(mt),e.distcode=e.distdyn=new b.Buf32(gt),e.sane=1,e.back=-1,C):N}function s(t){var e;return t&&t.state?(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,r(t)):N}function a(t,e){var n,i;return t&&t.state?(i=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?N:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=n,i.wbits=e,s(t))):N}function c(t,e){var n,i;return t?(i=new o,t.state=i,i.window=null,n=a(t,e),n!==C&&(t.state=null),n):N}function l(t){return c(t,bt)}function u(t){if(yt){var e;for(g=new b.Buf32(512),v=new b.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(w(T,t.lens,0,288,g,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;w(k,t.lens,0,32,v,0,t.work,{bits:5}),yt=!1}t.lencode=g,t.lenbits=9,t.distcode=v,t.distbits=5}function d(t,e,n,i){var o,r=t.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new b.Buf8(r.wsize)),i>=r.wsize?(b.arraySet(r.window,e,n-r.wsize,r.wsize,0),r.wnext=0,r.whave=r.wsize):(o=r.wsize-r.wnext,o>i&&(o=i),b.arraySet(r.window,e,n-i,o,r.wnext),i-=o,i?(b.arraySet(r.window,e,n-i,i,0),r.wnext=i,r.whave=r.wsize):(r.wnext+=o,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=o))),0}function p(t,e){var n,o,r,s,a,c,l,p,h,f,m,g,v,mt,gt,vt,bt,yt,_t,Mt,wt,At,Tt,kt,zt=0,xt=new b.Buf8(4),$t=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return N;n=t.state,n.mode===Y&&(n.mode=G),a=t.next_out,r=t.output,l=t.avail_out,s=t.next_in,o=t.input,c=t.avail_in,p=n.hold,h=n.bits,f=c,m=l,At=C;t:for(;;)switch(n.mode){case q:if(0===n.wrap){n.mode=G;break}for(;h<16;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(2&n.wrap&&35615===p){n.check=0,xt[0]=255&p,xt[1]=p>>>8&255,n.check=_(n.check,xt,2,0),p=0,h=0,n.mode=P;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&p)<<8)+(p>>8))%31){t.msg="incorrect header check",n.mode=pt;break}if((15&p)!==D){t.msg="unknown compression method",n.mode=pt;break}if(p>>>=4,h-=4,wt=8+(15&p),0===n.wbits)n.wbits=wt;else if(wt>n.wbits){t.msg="invalid window size",n.mode=pt;break}n.dmax=1<<wt,t.adler=n.check=1,n.mode=512&p?U:Y,p=0,h=0;break;case P:for(;h<16;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(n.flags=p,(255&n.flags)!==D){t.msg="unknown compression method",n.mode=pt;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=pt;break}n.head&&(n.head.text=p>>8&1),512&n.flags&&(xt[0]=255&p,xt[1]=p>>>8&255,n.check=_(n.check,xt,2,0)),p=0,h=0,n.mode=B;case B:for(;h<32;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}n.head&&(n.head.time=p),512&n.flags&&(xt[0]=255&p,xt[1]=p>>>8&255,xt[2]=p>>>16&255,xt[3]=p>>>24&255,n.check=_(n.check,xt,4,0)),p=0,h=0,n.mode=I;case I:for(;h<16;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}n.head&&(n.head.xflags=255&p,n.head.os=p>>8),512&n.flags&&(xt[0]=255&p,xt[1]=p>>>8&255,n.check=_(n.check,xt,2,0)),p=0,h=0,n.mode=W;case W:if(1024&n.flags){for(;h<16;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}n.length=p,n.head&&(n.head.extra_len=p),512&n.flags&&(xt[0]=255&p,xt[1]=p>>>8&255,n.check=_(n.check,xt,2,0)),p=0,h=0}else n.head&&(n.head.extra=null);n.mode=R;case R:if(1024&n.flags&&(g=n.length,g>c&&(g=c),g&&(n.head&&(wt=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),b.arraySet(n.head.extra,o,s,g,wt)),512&n.flags&&(n.check=_(n.check,o,g,s)),c-=g,s+=g,n.length-=g),n.length))break t;n.length=0,n.mode=X;case X:if(2048&n.flags){if(0===c)break t;g=0;do{wt=o[s+g++],n.head&&wt&&n.length<65536&&(n.head.name+=String.fromCharCode(wt))}while(wt&&g<c);if(512&n.flags&&(n.check=_(n.check,o,g,s)),c-=g,s+=g,wt)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=F;case F:if(4096&n.flags){if(0===c)break t;g=0;do{wt=o[s+g++],n.head&&wt&&n.length<65536&&(n.head.comment+=String.fromCharCode(wt))}while(wt&&g<c);if(512&n.flags&&(n.check=_(n.check,o,g,s)),c-=g,s+=g,wt)break t}else n.head&&(n.head.comment=null);n.mode=H;case H:if(512&n.flags){for(;h<16;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(p!==(65535&n.check)){t.msg="header crc mismatch",n.mode=pt;break}p=0,h=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=Y;break;case U:for(;h<32;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}t.adler=n.check=i(p),p=0,h=0,n.mode=V;case V:if(0===n.havedict)return t.next_out=a,t.avail_out=l,t.next_in=s,t.avail_in=c,n.hold=p,n.bits=h,O;t.adler=n.check=1,n.mode=Y;case Y:if(e===x||e===$)break t;case G:if(n.last){p>>>=7&h,h-=7&h,n.mode=lt;break}for(;h<3;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}switch(n.last=1&p,p>>>=1,h-=1,3&p){case 0:n.mode=K;break;case 1:if(u(n),n.mode=nt,e===$){p>>>=2,h-=2;break t}break;case 2:n.mode=Z;break;case 3:t.msg="invalid block type",n.mode=pt}p>>>=2,h-=2;break;case K:for(p>>>=7&h,h-=7&h;h<32;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if((65535&p)!=(p>>>16^65535)){t.msg="invalid stored block lengths",n.mode=pt;break}if(n.length=65535&p,p=0,h=0,n.mode=J,e===$)break t;case J:n.mode=Q;case Q:if(g=n.length){if(g>c&&(g=c),g>l&&(g=l),0===g)break t;b.arraySet(r,o,s,g,a),c-=g,s+=g,l-=g,a+=g,n.length-=g;break}n.mode=Y;break;case Z:for(;h<14;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(n.nlen=257+(31&p),p>>>=5,h-=5,n.ndist=1+(31&p),p>>>=5,h-=5,n.ncode=4+(15&p),p>>>=4,h-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=pt;break}n.have=0,n.mode=tt;case tt:for(;n.have<n.ncode;){for(;h<3;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}n.lens[$t[n.have++]]=7&p,p>>>=3,h-=3}for(;n.have<19;)n.lens[$t[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Tt={bits:n.lenbits},At=w(A,n.lens,0,19,n.lencode,0,n.work,Tt),n.lenbits=Tt.bits,At){t.msg="invalid code lengths set",n.mode=pt;break}n.have=0,n.mode=et;case et:for(;n.have<n.nlen+n.ndist;){for(;zt=n.lencode[p&(1<<n.lenbits)-1],gt=zt>>>24,vt=zt>>>16&255,bt=65535&zt,!(gt<=h);){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(bt<16)p>>>=gt,h-=gt,n.lens[n.have++]=bt;else{if(16===bt){for(kt=gt+2;h<kt;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(p>>>=gt,h-=gt,0===n.have){t.msg="invalid bit length repeat",n.mode=pt;break}wt=n.lens[n.have-1],g=3+(3&p),p>>>=2,h-=2}else if(17===bt){for(kt=gt+3;h<kt;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}p>>>=gt,h-=gt,wt=0,g=3+(7&p),p>>>=3,h-=3}else{for(kt=gt+7;h<kt;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}p>>>=gt,h-=gt,wt=0,g=11+(127&p),p>>>=7,h-=7}if(n.have+g>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=pt;break}for(;g--;)n.lens[n.have++]=wt}}if(n.mode===pt)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=pt;break}if(n.lenbits=9,Tt={bits:n.lenbits},At=w(T,n.lens,0,n.nlen,n.lencode,0,n.work,Tt),n.lenbits=Tt.bits,At){t.msg="invalid literal/lengths set",n.mode=pt;break}if(n.distbits=6,n.distcode=n.distdyn,Tt={bits:n.distbits},At=w(k,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Tt),n.distbits=Tt.bits,At){t.msg="invalid distances set",n.mode=pt;break}if(n.mode=nt,e===$)break t;case nt:n.mode=it;case it:if(c>=6&&l>=258){t.next_out=a,t.avail_out=l,t.next_in=s,t.avail_in=c,n.hold=p,n.bits=h,M(t,m),a=t.next_out,r=t.output,l=t.avail_out,s=t.next_in,o=t.input,c=t.avail_in,p=n.hold,h=n.bits,n.mode===Y&&(n.back=-1);break}for(n.back=0;zt=n.lencode[p&(1<<n.lenbits)-1],gt=zt>>>24,vt=zt>>>16&255,bt=65535&zt,!(gt<=h);){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(vt&&0==(240&vt)){for(yt=gt,_t=vt,Mt=bt;zt=n.lencode[Mt+((p&(1<<yt+_t)-1)>>yt)],gt=zt>>>24,vt=zt>>>16&255,bt=65535&zt,!(yt+gt<=h);){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}p>>>=yt,h-=yt,n.back+=yt}if(p>>>=gt,h-=gt,n.back+=gt,n.length=bt,0===vt){n.mode=ct;break}if(32&vt){n.back=-1,n.mode=Y;break}if(64&vt){t.msg="invalid literal/length code",n.mode=pt;break}n.extra=15&vt,n.mode=ot;case ot:if(n.extra){for(kt=n.extra;h<kt;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}n.length+=p&(1<<n.extra)-1,p>>>=n.extra,h-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=rt;case rt:for(;zt=n.distcode[p&(1<<n.distbits)-1],gt=zt>>>24,vt=zt>>>16&255,bt=65535&zt,!(gt<=h);){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(0==(240&vt)){for(yt=gt,_t=vt,Mt=bt;zt=n.distcode[Mt+((p&(1<<yt+_t)-1)>>yt)],gt=zt>>>24,vt=zt>>>16&255,bt=65535&zt,!(yt+gt<=h);){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}p>>>=yt,h-=yt,n.back+=yt}if(p>>>=gt,h-=gt,n.back+=gt,64&vt){t.msg="invalid distance code",n.mode=pt;break}n.offset=bt,n.extra=15&vt,n.mode=st;case st:if(n.extra){for(kt=n.extra;h<kt;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}n.offset+=p&(1<<n.extra)-1,p>>>=n.extra,h-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=pt;break}n.mode=at;case at:if(0===l)break t;if(g=m-l,n.offset>g){if((g=n.offset-g)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=pt;break}g>n.wnext?(g-=n.wnext,v=n.wsize-g):v=n.wnext-g,g>n.length&&(g=n.length),mt=n.window}else mt=r,v=a-n.offset,g=n.length;g>l&&(g=l),l-=g,n.length-=g;do{r[a++]=mt[v++]}while(--g);0===n.length&&(n.mode=it);break;case ct:if(0===l)break t;r[a++]=n.length,l--,n.mode=it;break;case lt:if(n.wrap){for(;h<32;){if(0===c)break t;c--,p|=o[s++]<<h,h+=8}if(m-=l,t.total_out+=m,n.total+=m,m&&(t.adler=n.check=n.flags?_(n.check,r,m,a-m):y(n.check,r,m,a-m)),m=l,(n.flags?p:i(p))!==n.check){t.msg="incorrect data check",n.mode=pt;break}p=0,h=0}n.mode=ut;case ut:if(n.wrap&&n.flags){for(;h<32;){if(0===c)break t;c--,p+=o[s++]<<h,h+=8}if(p!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=pt;break}p=0,h=0}n.mode=dt;case dt:At=S;break t;case pt:At=L;break t;case ht:return E;case ft:default:return N}return t.next_out=a,t.avail_out=l,t.next_in=s,t.avail_in=c,n.hold=p,n.bits=h,(n.wsize||m!==t.avail_out&&n.mode<pt&&(n.mode<lt||e!==z))&&d(t,t.output,t.next_out,m-t.avail_out)?(n.mode=ht,E):(f-=t.avail_in,m-=t.avail_out,t.total_in+=f,t.total_out+=m,n.total+=m,n.wrap&&m&&(t.adler=n.check=n.flags?_(n.check,r,m,t.next_out-m):y(n.check,r,m,t.next_out-m)),t.data_type=n.bits+(n.last?64:0)+(n.mode===Y?128:0)+(n.mode===nt||n.mode===J?256:0),(0===f&&0===m||e===z)&&At===C&&(At=j),At)}function h(t){if(!t||!t.state)return N;var e=t.state;return e.window&&(e.window=null),t.state=null,C}function f(t,e){var n;return t&&t.state?(n=t.state,0==(2&n.wrap)?N:(n.head=e,e.done=!1,C)):N}function m(t,e){var n,i,o=e.length;return t&&t.state?(n=t.state,0!==n.wrap&&n.mode!==V?N:n.mode===V&&(i=1,(i=y(i,e,o,0))!==n.check)?L:d(t,e,o,o)?(n.mode=ht,E):(n.havedict=1,C)):N}var g,v,b=t("../utils/common"),y=t("./adler32"),_=t("./crc32"),M=t("./inffast"),w=t("./inftrees"),A=0,T=1,k=2,z=4,x=5,$=6,C=0,S=1,O=2,N=-2,L=-3,E=-4,j=-5,D=8,q=1,P=2,B=3,I=4,W=5,R=6,X=7,F=8,H=9,U=10,V=11,Y=12,G=13,K=14,J=15,Q=16,Z=17,tt=18,et=19,nt=20,it=21,ot=22,rt=23,st=24,at=25,ct=26,lt=27,ut=28,dt=29,pt=30,ht=31,ft=32,mt=852,gt=592,vt=15,bt=vt,yt=!0;n.inflateReset=s,n.inflateReset2=a,n.inflateResetKeep=r,n.inflateInit=l,n.inflateInit2=c,n.inflate=p,n.inflateEnd=h,n.inflateGetHeader=f,n.inflateSetDictionary=m,n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./inffast":10,"./inftrees":12}],12:[function(t,e){"use strict";var n=t("../utils/common"),i=15,o=852,r=592,s=0,a=1,c=2,l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],u=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],p=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,h,f,m,g,v,b){var y,_,M,w,A,T,k,z,x,$=b.bits,C=0,S=0,O=0,N=0,L=0,E=0,j=0,D=0,q=0,P=0,B=null,I=0,W=new n.Buf16(i+1),R=new n.Buf16(i+1),X=null,F=0;for(C=0;C<=i;C++)W[C]=0;for(S=0;S<f;S++)W[e[h+S]]++;for(L=$,N=i;N>=1&&0===W[N];N--);if(L>N&&(L=N),0===N)return m[g++]=20971520,m[g++]=20971520,b.bits=1,0;for(O=1;O<N&&0===W[O];O++);for(L<O&&(L=O),D=1,C=1;C<=i;C++)if(D<<=1,(D-=W[C])<0)return-1;if(D>0&&(t===s||1!==N))return-1;for(R[1]=0,C=1;C<i;C++)R[C+1]=R[C]+W[C];for(S=0;S<f;S++)0!==e[h+S]&&(v[R[e[h+S]]++]=S);if(t===s?(B=X=v,T=19):t===a?(B=l,I-=257,X=u,F-=257,T=256):(B=d,X=p,T=-1),P=0,S=0,C=O,A=g,E=L,j=0,M=-1,q=1<<L,w=q-1,t===a&&q>o||t===c&&q>r)return 1;for(;;){k=C-j,v[S]<T?(z=0,x=v[S]):v[S]>T?(z=X[F+v[S]],x=B[I+v[S]]):(z=96,x=0),y=1<<C-j,_=1<<E,O=_;do{_-=y,m[A+(P>>j)+_]=k<<24|z<<16|x|0}while(0!==_);for(y=1<<C-1;P&y;)y>>=1;if(0!==y?(P&=y-1,P+=y):P=0,S++,0==--W[C]){if(C===N)break;C=e[h+v[S]]}if(C>L&&(P&w)!==M){for(0===j&&(j=L),A+=O,E=C-j,D=1<<E;E+j<N&&!((D-=W[E+j])<=0);)E++,D<<=1;if(q+=1<<E,t===a&&q>o||t===c&&q>r)return 1;M=P&w,m[M]=L<<24|E<<16|A-g|0}}return 0!==P&&(m[A+P]=C-j<<24|64<<16|0),b.bits=L,0}},{"../utils/common":3}],13:[function(t,e){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],14:[function(t,e,n){"use strict";function i(t){for(var e=t.length;--e>=0;)t[e]=0}function o(t,e,n,i,o){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=o,this.has_stree=t&&t.length}function r(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function s(t){return t<256?ct[t]:ct[256+(t>>>7)]}function a(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function c(t,e,n){t.bi_valid>G-n?(t.bi_buf|=e<<t.bi_valid&65535,a(t,t.bi_buf),t.bi_buf=e>>G-t.bi_valid,t.bi_valid+=n-G):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function l(t,e,n){c(t,n[2*e],n[2*e+1])}function u(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function d(t){16===t.bi_valid?(a(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function p(t,e){var n,i,o,r,s,a,c=e.dyn_tree,l=e.max_code,u=e.stat_desc.static_tree,d=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,h=e.stat_desc.extra_base,f=e.stat_desc.max_length,m=0;for(r=0;r<=Y;r++)t.bl_count[r]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<V;n++)i=t.heap[n],r=c[2*c[2*i+1]+1]+1,r>f&&(r=f,m++),c[2*i+1]=r,i>l||(t.bl_count[r]++,s=0,i>=h&&(s=p[i-h]),a=c[2*i],t.opt_len+=a*(r+s),d&&(t.static_len+=a*(u[2*i+1]+s)));if(0!==m){do{for(r=f-1;0===t.bl_count[r];)r--;t.bl_count[r]--,t.bl_count[r+1]+=2,t.bl_count[f]--,m-=2}while(m>0);for(r=f;0!==r;r--)for(i=t.bl_count[r];0!==i;)(o=t.heap[--n])>l||(c[2*o+1]!==r&&(t.opt_len+=(r-c[2*o+1])*c[2*o],c[2*o+1]=r),i--)}}function h(t,e,n){var i,o,r=new Array(Y+1),s=0;for(i=1;i<=Y;i++)r[i]=s=s+n[i-1]<<1;for(o=0;o<=e;o++){var a=t[2*o+1];0!==a&&(t[2*o]=u(r[a]++,a))}}function f(){var t,e,n,i,r,s=new Array(Y+1);for(n=0,i=0;i<R-1;i++)for(ut[i]=n,t=0;t<1<<et[i];t++)lt[n++]=i;for(lt[n-1]=i,r=0,i=0;i<16;i++)for(dt[i]=r,t=0;t<1<<nt[i];t++)ct[r++]=i;for(r>>=7;i<H;i++)for(dt[i]=r<<7,t=0;t<1<<nt[i]-7;t++)ct[256+r++]=i;for(e=0;e<=Y;e++)s[e]=0;for(t=0;t<=143;)st[2*t+1]=8,t++,s[8]++;for(;t<=255;)st[2*t+1]=9,t++,s[9]++;for(;t<=279;)st[2*t+1]=7,t++,s[7]++;for(;t<=287;)st[2*t+1]=8,t++,s[8]++;for(h(st,F+1,s),t=0;t<H;t++)at[2*t+1]=5,at[2*t]=u(t,5);pt=new o(st,et,X+1,F,Y),ht=new o(at,nt,0,H,Y),ft=new o(new Array(0),it,0,U,K)}function m(t){var e;for(e=0;e<F;e++)t.dyn_ltree[2*e]=0;for(e=0;e<H;e++)t.dyn_dtree[2*e]=0;for(e=0;e<U;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*J]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function g(t){t.bi_valid>8?a(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function v(t,e,n,i){g(t),i&&(a(t,n),a(t,~n)),N.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}function b(t,e,n,i){var o=2*e,r=2*n;return t[o]<t[r]||t[o]===t[r]&&i[e]<=i[n]}function y(t,e,n){for(var i=t.heap[n],o=n<<1;o<=t.heap_len&&(o<t.heap_len&&b(e,t.heap[o+1],t.heap[o],t.depth)&&o++,!b(e,i,t.heap[o],t.depth));)t.heap[n]=t.heap[o],n=o,o<<=1;t.heap[n]=i}function _(t,e,n){var i,o,r,a,u=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*u]<<8|t.pending_buf[t.d_buf+2*u+1],o=t.pending_buf[t.l_buf+u],u++,0===i?l(t,o,e):(r=lt[o],l(t,r+X+1,e),a=et[r],0!==a&&(o-=ut[r],c(t,o,a)),i--,r=s(i),l(t,r,n),0!==(a=nt[r])&&(i-=dt[r],c(t,i,a)))}while(u<t.last_lit);l(t,J,e)}function M(t,e){var n,i,o,r=e.dyn_tree,s=e.stat_desc.static_tree,a=e.stat_desc.has_stree,c=e.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=V,n=0;n<c;n++)0!==r[2*n]?(t.heap[++t.heap_len]=l=n,t.depth[n]=0):r[2*n+1]=0;for(;t.heap_len<2;)o=t.heap[++t.heap_len]=l<2?++l:0,r[2*o]=1,t.depth[o]=0,t.opt_len--,a&&(t.static_len-=s[2*o+1]);for(e.max_code=l,n=t.heap_len>>1;n>=1;n--)y(t,r,n);o=c;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],y(t,r,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,r[2*o]=r[2*n]+r[2*i],t.depth[o]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,r[2*n+1]=r[2*i+1]=o,t.heap[1]=o++,y(t,r,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],p(t,e),h(r,l,t.bl_count)}function w(t,e,n){var i,o,r=-1,s=e[1],a=0,c=7,l=4;for(0===s&&(c=138,l=3),e[2*(n+1)+1]=65535,i=0;i<=n;i++)o=s,s=e[2*(i+1)+1],++a<c&&o===s||(a<l?t.bl_tree[2*o]+=a:0!==o?(o!==r&&t.bl_tree[2*o]++,t.bl_tree[2*Q]++):a<=10?t.bl_tree[2*Z]++:t.bl_tree[2*tt]++,a=0,r=o,0===s?(c=138,l=3):o===s?(c=6,l=3):(c=7,l=4))}function A(t,e,n){var i,o,r=-1,s=e[1],a=0,u=7,d=4;for(0===s&&(u=138,d=3),i=0;i<=n;i++)if(o=s,s=e[2*(i+1)+1],!(++a<u&&o===s)){if(a<d){do{l(t,o,t.bl_tree)}while(0!=--a)}else 0!==o?(o!==r&&(l(t,o,t.bl_tree),a--),l(t,Q,t.bl_tree),c(t,a-3,2)):a<=10?(l(t,Z,t.bl_tree),c(t,a-3,3)):(l(t,tt,t.bl_tree),c(t,a-11,7));a=0,r=o,0===s?(u=138,d=3):o===s?(u=6,d=3):(u=7,d=4)}}function T(t){var e;for(w(t,t.dyn_ltree,t.l_desc.max_code),w(t,t.dyn_dtree,t.d_desc.max_code),M(t,t.bl_desc),e=U-1;e>=3&&0===t.bl_tree[2*ot[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}function k(t,e,n,i){var o;for(c(t,e-257,5),c(t,n-1,5),c(t,i-4,4),o=0;o<i;o++)c(t,t.bl_tree[2*ot[o]+1],3);A(t,t.dyn_ltree,e-1),A(t,t.dyn_dtree,n-1)}function z(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return E;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return j;for(e=32;e<X;e++)if(0!==t.dyn_ltree[2*e])return j;return E}function x(t){mt||(f(),mt=!0),t.l_desc=new r(t.dyn_ltree,pt),t.d_desc=new r(t.dyn_dtree,ht),t.bl_desc=new r(t.bl_tree,ft),t.bi_buf=0,t.bi_valid=0,m(t)}function $(t,e,n,i){c(t,(q<<1)+(i?1:0),3),v(t,e,n,!0)}function C(t){c(t,P<<1,3),l(t,J,st),d(t)}function S(t,e,n,i){var o,r,s=0;t.level>0?(t.strm.data_type===D&&(t.strm.data_type=z(t)),M(t,t.l_desc),M(t,t.d_desc),s=T(t),o=t.opt_len+3+7>>>3,(r=t.static_len+3+7>>>3)<=o&&(o=r)):o=r=n+5,n+4<=o&&-1!==e?$(t,e,n,i):t.strategy===L||r===o?(c(t,(P<<1)+(i?1:0),3),_(t,st,at)):(c(t,(B<<1)+(i?1:0),3),k(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),_(t,t.dyn_ltree,t.dyn_dtree)),m(t),i&&g(t)}function O(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(lt[n]+X+1)]++,t.dyn_dtree[2*s(e)]++),t.last_lit===t.lit_bufsize-1}var N=t("../utils/common"),L=4,E=0,j=1,D=2,q=0,P=1,B=2,I=3,W=258,R=29,X=256,F=X+1+R,H=30,U=19,V=2*F+1,Y=15,G=16,K=7,J=256,Q=16,Z=17,tt=18,et=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],nt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],it=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ot=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rt=512,st=new Array(2*(F+2));i(st);var at=new Array(2*H);i(at);var ct=new Array(rt);i(ct);var lt=new Array(W-I+1);i(lt);var ut=new Array(R);i(ut);var dt=new Array(H);i(dt);var pt,ht,ft,mt=!1;n._tr_init=x,n._tr_stored_block=$,n._tr_flush_block=S,n._tr_tally=O,n._tr_align=C},{"../utils/common":3}],15:[function(t,e){"use strict";function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=n},{}],"/":[function(t,e){"use strict";var n=t("./lib/utils/common").assign,i=t("./lib/deflate"),o=t("./lib/inflate"),r=t("./lib/zlib/constants"),s={};n(s,i,o,r),e.exports=s},{"./lib/deflate":1,"./lib/inflate":2,"./lib/utils/common":3,"./lib/zlib/constants":6}]},{},[])("/")});var I18n=I18n||{}
;I18n.defaultLocale=window.gon&&gon.defaultLocale||"en",I18n.fallbacks=!1,I18n.defaultSeparator=".",I18n.locale=window.gon&&gon.locale||"en",I18n.PLACEHOLDER=/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,I18n.isValidNode=function(t,e,n){return null!==t[e]&&t[e]!==n},I18n.lookup=function(t,e){var n,e=e||{},i=t,o=this.prepareOptions(I18n.translations),r=o[e.locale||I18n.currentLocale()],e=this.prepareOptions(e);if(r){for("object"==typeof t&&(t=t.join(this.defaultSeparator)),e.scope&&(t=e.scope.toString()+this.defaultSeparator+t),t=t.split(this.defaultSeparator);t.length>0;)if(n=t.shift(),!(r=r[n])){I18n.fallbacks&&!e.fallback&&(r=I18n.lookup(i,this.prepareOptions({locale:I18n.defaultLocale,fallback:!0},e)));break}return!r&&this.isValidNode(e,"defaultValue")&&(r=e.defaultValue),r}},I18n.prepareOptions=function(){for(var t,e={},n=arguments.length,i=0;i<n;i++)if(t=arguments[i])for(var o in t)this.isValidNode(e,o)||(e[o]=t[o]);return e},I18n.interpolate=function(t,e){e=this.prepareOptions(e);var n,i,o,r=t.match(this.PLACEHOLDER);if(!r)return t;for(var s=0;n=r[s];s++)o=n.replace(this.PLACEHOLDER,"$1"),i=e[o],this.isValidNode(e,o)||(i="[missing "+n+" value]"),regex=new RegExp(n.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}")),t=t.replace(regex,i);return t},I18n.translate=function(t,e){e=this.prepareOptions(e);var n=this.lookup(t,e);try{return"object"==typeof n?"number"==typeof e.count?this.pluralize(e.count,t,e):n:this.interpolate(n,e)}catch(e){return this.missingTranslation(t)}},I18n.localize=function(t,e){switch(t){case"currency":return this.toCurrency(e);case"number":return t=this.lookup("number.format"),this.toNumber(e,t);case"percentage":return this.toPercentage(e);default:return t.match(/^(date|time)/)?this.toTime(t,e):e.toString()}},I18n.parseDate=function(t){var e,n;if("object"==typeof t)return t;if(e=t.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2}))?(Z|\+0000)?/)){for(var i=1;i<=6;i++)e[i]=parseInt(e[i],10)||0;e[2]-=1,n=e[7]?new Date(Date.UTC(e[1],e[2],e[3],e[4],e[5],e[6])):new Date(e[1],e[2],e[3],e[4],e[5],e[6])}else"number"==typeof t?(n=new Date,n.setTime(t)):(t.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/),n=new Date,n.setTime(Date.parse(t)));return n},I18n.toTime=function(t,e){var n=this.parseDate(e),i=this.lookup(t);return n.toString().match(/invalid/i)?n.toString():i?this.strftime(n,i):n.toString()},I18n.strftime=function(t,e){var n=this.lookup("date");if(!n)return t.toString();n.meridian=n.meridian||["AM","PM"];var i=t.getDay(),o=t.getDate(),r=t.getFullYear(),s=t.getMonth()+1,a=t.getHours(),c=a,l=a>11?1:0,u=t.getSeconds(),d=t.getMinutes(),p=t.getTimezoneOffset(),h=Math.floor(Math.abs(p/60)),f=Math.abs(p)-60*h,m=(p>0?"-":"+")+(h.toString().length<2?"0"+h:h)+(f.toString().length<2?"0"+f:f);c>12?c-=12:0===c&&(c=12);var g=function(t){var e="0"+t.toString();return e.substr(e.length-2)},v=e;return v=v.replace("%a",n.abbr_day_names[i]),v=v.replace("%A",n.day_names[i]),v=v.replace("%b",n.abbr_month_names[s]),v=v.replace("%B",n.month_names[s]),v=v.replace("%d",g(o)),v=v.replace("%e",o),v=v.replace("%-d",o),v=v.replace("%H",g(a)),v=v.replace("%-H",a),v=v.replace("%I",g(c)),v=v.replace("%-I",c),v=v.replace("%m",g(s)),v=v.replace("%-m",s),v=v.replace("%M",g(d)),v=v.replace("%-M",d),v=v.replace("%p",n.meridian[l]),v=v.replace("%S",g(u)),v=v.replace("%-S",u),v=v.replace("%w",i),v=v.replace("%y",g(r)),v=v.replace("%-y",g(r).replace(/^0+/,"")),v=v.replace("%Y",r),v=v.replace("%z",m)},I18n.toNumber=function(t,e){e=this.prepareOptions(e,this.lookup("number.format"),{precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1});var n,i=t<0,o=Math.abs(t).toFixed(e.precision).toString(),r=o.split("."),s=[];for(t=r[0],r[1];t.length>0;)s.unshift(t.substr(Math.max(0,t.length-3),3)),t=t.substr(0,t.length-3);if(n=s.join(e.delimiter),e.precision>0&&(n+=e.separator+r[1]),i&&(n="-"+n),e.strip_insignificant_zeros){var a={separator:new RegExp(e.separator.replace(/\./,"\\.")+"$"),zeros:/0+$/};n=n.replace(a.zeros,"").replace(a.separator,"")}return n},I18n.toCurrency=function(t,e){return e=this.prepareOptions(e,this.lookup("number.currency.format"),this.lookup("number.format"),{unit:"$",precision:2,format:"%u%n",delimiter:",",separator:"."}),t=this.toNumber(t,e),t=e.format.replace("%u",e.unit).replace("%n",t)},I18n.toHumanSize=function(t,e){for(var n,i,o=1024,r=t,s=0;r>=o&&s<4;)r/=o,s+=1;return 0===s?(n=this.t("number.human.storage_units.units.byte",{count:r}),i=0):(n=this.t("number.human.storage_units.units."+[null,"kb","mb","gb","tb"][s]),i=r-Math.floor(r)==0?0:1),e=this.prepareOptions(e,{precision:i,format:"%n%u",delimiter:""}),t=this.toNumber(r,e),t=e.format.replace("%u",n).replace("%n",t)},I18n.toPercentage=function(t,e){return e=this.prepareOptions(e,this.lookup("number.percentage.format"),this.lookup("number.format"),{precision:3,separator:".",delimiter:""}),(t=this.toNumber(t,e))+"%"},I18n.pluralize=function(t,e,n){var i;try{i=this.lookup(e,n)}catch(t){}if(!i)return this.missingTranslation(e);var o;switch(n=this.prepareOptions(n),n.count=t.toString(),Math.abs(t)){case 0:o=this.isValidNode(i,"zero")?i.zero:this.isValidNode(i,"none")?i.none:this.isValidNode(i,"other")?i.other:this.missingTranslation(e,"zero");break;case 1:o=this.isValidNode(i,"one")?i.one:this.missingTranslation(e,"one");break;default:o=this.isValidNode(i,"other")?i.other:this.missingTranslation(e,"other")}return this.interpolate(o,n)},I18n.missingTranslation=function(){for(var t='[missing "'+this.currentLocale(),e=arguments.length,n=0;n<e;n++)t+="."+arguments[n];return t+='" translation]'},I18n.currentLocale=function(){return I18n.locale||I18n.defaultLocale},I18n.t=I18n.translate,I18n.l=I18n.localize,I18n.p=I18n.pluralize;var I18n=I18n||{};I18n.translations={en:{common:{cancel:"Cancel",close:"Close",ok:"OK",remove:"Remove",approve:"Approve",saving:"Saving...",loading:"Loading...",generic_error:"We're sorry, something has gone wrong. Please try again later, and contact support if this error persists.",products:"Products",boards:"Boards",tags:"Tags",options:" Options",disabled:"Disabled",label_for:"For",ad_sets:"Ad Sets",ad_set:"Ad Set",search:"Search..."},board_items:{"new":{confirm_delete:"Are you sure?"},copy:"Copy",move:"Move",confirm_voting_report:"The voting report will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue.",confirm_vote_csv:"The voter list will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue."},complaints:{submit_button:"Report"},sites:{edit:{ip_not_found:"Your current IP address (%{current_ip}) does not appear to be in the whitelist, and you will probably be locked out of this site if you continue. Click 'OK' if you are sure you want to continue.",wildcard_ip_not_found:"We couldn't find an exact match for your current IP address (%{current_ip}) in the whitelist. This doesn't take wildcard entries into account, so this may not be a problem. Click 'OK' if you are sure you want to continue."}},shares:{"new":{chars_remaining:"%{chars} characters remaining"}},edit_content:{header:"Edit Content",label_type_of_content:"Type of Content",label_any:"Any",label_photos:"Photos",label_videos:"Videos",label_select_the_type_of_content:"Select the type of content you'd like to use. Narrow Down your creatives by adding a mix of Board and Tags",label_products:"Products",label_select_product:"Enter the URL of a product above. Enter the first couple of letters to see matching products.",label_boards:"Boards",label_select_board:"Enter the name of a board above. Enter the first couple of letters to see matching boards.",label_tags:"Tags",label_select_tag:"Enter a tag above. Enter the first couple of letters to see matching tags.",label_apply:"Edit",label_all:"Edit All Ads",label_selected:"Edit Selected Ads",label_cancel:"Cancel"},ad_set:{mix:"Mix",board:"Board",product:"Product",tag:"Tag",create:" Create New Ads",analytics:" Analytics",history:" History",resync:" Re-Sync Ads",resyncConfirmationLabel:"Are you sure you want to sync this ad and publish it to Facebook?",rotate:" Rotate ads",rotateConfirmationLabel:"This will delete the existing ads and create new ones. Are you sure you want to continue?",settings:" Settings",viewOnFacebook:" View Ad Set on Facebook",deactivate:" Deactivate",deactivateConfirmationLabel:"This will remove this photo from the display ad feed. It will not delete the photo itself from your Shuttlerock site.",activate:" Activate",activateConfirmationLabel:"Are you sure you want to activate this ad and publish it to Facebook?",archive:" Archive",archiveConfirmationLabel:"All ads on Facebook connected to this ad will be removed. Are you sure you want to archive this ad?",statuses:{draft:"Draft",pending:"Pending",rejected:"Rejected",active:"Active",paused:"Paused",deleted:"Deleted",rotated:"Rotated",archived:"Archived",no_access:"No Access",mix:"Mix",n_a:"N/A",adset_paused:"Paused",campaign_paused:"Paused"}},status_helper:{heading:"Sync Status Key:",draft:"Draft - Your ads are not yet synced your Ad Account. Please click on `Sync to Facebook` to create your Ads",syncing:"Syncing - Your ads are currently being synced to your Ad Account",rejected:"Rejected - We were unable to create your ads. Please click on the Reject Status to view the sync error reason.",synced:"Synced - Your ads are created on your Facebook Ad Account",archived:"Archived - Your ads are deleted from the Facebook Ad Account"},edit_rules:{header:"Edit Rotation Rules",label_current_value:"Current Value",label_new_value:"New Value",label_min_days:"Min. days displayed",label_max_frequency:"Maximum frequency",label_min_relevance:"Minimum Relevance",label_number_of_ads:"Number of Ads",label_min_ctr:"Min. Click Through Rate (%)",label_max_cost:"Max. Cost Per Conversion",label_cost_metric_code:"Conversion Type"},ads:{campaigns:{"new":{error_flash_html:"We're sorry, something went wrong. If you are using an AdBlocker Please disable it and try again. If the issue does not resolve please contact Shuttlerock support via our in-app chat or via email (<a href='mailto:%{email}'>%{email}</a>)."}}}},ja:{common:{cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb",close:"\u9589\u3058\u308b",ok:"OK",remove:"\u524a\u9664",approve:"\u8a31\u53ef\u3059\u308b",saving:"Saving...",loading:"Loading...",generic_error:"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3088\u3046\u3067\u3059\u3002\u5c11\u3057\u6642\u9593\u3092\u304a\u3044\u3066\u518d\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002\u30a8\u30e9\u30fc\u304c\u7d9a\u3044\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b5\u30a4\u30c8\u7ba1\u7406\u8005\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002",disabled:"Disabled",label_for:"For",ad_sets:"Ad Sets",ad_set:"Ad Set",search:"Search..."},board_items:{"new":{confirm_delete:"\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b?"},copy:"Copy",move:"Move",confirm_voting_report:"\u6295\u7968\u30ec\u30dd\u30fc\u30c8\u306f\u7d0410\u5206\u3067\u30e1\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3059\u3002\u3088\u308d\u3057\u3051\u308c\u3070\u300cOK\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u304f\u3060\u3055\u3044\u3002",confirm_vote_csv:"\u6295\u7968\u8005\u306e\u30ea\u30b9\u30c8\u304c\u30e1\u30fc\u30eb\u3055\u308c\u307e\u3059\uff08\u7d0410\u5206\u7a0b\u5ea6\u304b\u304b\u308a\u307e\u3059\uff09\u3002\u3088\u308d\u3057\u3051\u308c\u3070OK\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044"},complaints:{submit_button:"\u901a\u5831\u3059\u308b"},sites:{edit:{ip_not_found:"Your current IP address (%{current_ip}) does not appear to be in the whitelist, and you will probably be locked out of this site if you continue. Click 'OK' if you are sure you want to continue.",wildcard_ip_not_found:"We couldn't find an exact match for your current IP address (%{current_ip}) in the whitelist. This doesn't take wildcard entries into account, so this may not be a problem. Click 'OK' if you are sure you want to continue."}},shares:{"new":{chars_remaining:"\u6b8b\u308a%{chars}\u6587\u5b57"}},edit_content:{header:"Edit Content",label_type_of_content:"Type of Content",label_any:"Any",label_photos:"Photos",label_videos:"Videos",label_select_the_type_of_content:"Select the type of content you'd like to use. Narrow Down your creatives by adding a mix of Board and Tags",label_products:"Products",label_select_product:"Enter the URL of a product above. Enter the first couple of letters to see matching products.",label_boards:"Boards",label_select_board:"Enter the name of a board above. Enter the first couple of letters to see matching boards.",label_tags:"Tags",label_select_tag:"Enter a tag above. Enter the first couple of letters to see matching tags.",label_apply:"Edit",label_all:"Edit All Ads",label_selected:"Edit Selected Ads",label_cancel:"Cancel"},ad_set:{mix:"Mix",board:"Board",product:"Product",tag:"Tag",statuses:{draft:"Draft",pending:"Pending",rejected:"Rejected",active:"Active",paused:"Paused",deleted:"Deleted",rotated:"Rotated",archived:"Archived",no_access:"No Access",mix:"Mix",n_a:"N/A",adset_paused:"Paused",campaign_paused:"Paused"}},edit_rules:{header:"Edit Rotation Rules",label_current_value:"Current Value",label_new_value:"New Value",label_min_days:"Min. days displayed",label_max_frequency:"Maximum frequency",label_min_relevance:"Minimum Relevance",label_number_of_ads:"Number of Ads",label_min_ctr:"Min. Click Through Rate (%)",label_max_cost:"Max. Cost Per Conversion",label_cost_metric_code:"Conversion Type"},ads:{campaigns:{"new":{error_flash_html:"We're sorry, something went wrong. If you are using an AdBlocker Please disable it and try again. If the issue does not resolve please contact Shuttlerock support via our in-app chat or via email (<a href='mailto:%{email}'>%{email}</a>)."}}}},fr:{common:{cancel:"Annuler",close:"Fermer",ok:"OK",remove:"Effacer",approve:"Approve",saving:"Sauvegarde...",loading:"Loading...",generic_error:"Nous sommes d\xe9sol\xe9s, quelque chose a mal tourn\xe9. Merci de r\xe9essayer plus tard et de contacter le support besoin.",disabled:"Disabled",label_for:"For",ad_sets:"Ad Sets",ad_set:"Ad Set",search:"Search..."},board_items:{"new":{confirm_delete:"\xcates-vous s\xfbr ?"},copy:"Copier",move:"Move",confirm_voting_report:"Le rapport de vote vous sera envoy\xe9 et peut prendre jusqu'\xe0 10 minutes pour \xeatre g\xe9n\xe9r\xe9. Cliquez sur OK pour continuer.",confirm_vote_csv:"La liste des votes vous sera envoy\xe9e et peut prendre jusqu'\xe0 10 minutes pour \xeatre g\xe9n\xe9r\xe9e. Cliquez sur OK pour continuer."},complaints:{submit_button:"Signaler"},sites:{edit:{ip_not_found:"Votre adresse IP actuelle (%{current_ip}) ne semble pas \xeatre dans la liste blanche et vous serez probablement verrouill\xe9 sur ce site si vous continuez. Cliquez sur \xabOK\xbb si vous \xeates s\xfbr que vous voulez continuer.",wildcard_ip_not_found:"Nous ne pouvons pas trouver une correspondance exacte pour votre adresse IP actuelle (%{current_ip}) dans la liste blanche. Cela ne tient pas entr\xe9es g\xe9n\xe9riques en compte, donc cela peut ne pas \xeatre un probl\xe8me. Cliquez sur \xabOK\xbb si vous \xeates s\xfbr de vouloir continuer."}},shares:{"new":{chars_remaining:"Il vous reste %{chars} caract\xe8re(s)"}},edit_content:{header:"Edit Content",label_type_of_content:"Type of Content",label_any:"Any",label_photos:"Photos",label_videos:"Videos",label_select_the_type_of_content:"Select the type of content you'd like to use. Narrow Down your creatives by adding a mix of Board and Tags",label_products:"Products",label_select_product:"Enter the URL of a product above. Enter the first couple of letters to see matching products.",label_boards:"Boards",label_select_board:"Enter the name of a board above. Enter the first couple of letters to see matching boards.",label_tags:"Tags",label_select_tag:"Enter a tag above. Enter the first couple of letters to see matching tags.",label_apply:"Edit",label_all:"Edit All Ads",label_selected:"Edit Selected Ads",label_cancel:"Cancel"},ad_set:{mix:"Mix",board:"Board",product:"Product",tag:"Tag",statuses:{draft:"Draft",pending:"Pending",rejected:"Rejected",active:"Active",paused:"Paused",deleted:"Deleted",rotated:"Rotated",archived:"Archived",no_access:"No Access",mix:"Mix",n_a:"N/A",adset_paused:"Paused",campaign_paused:"Paused"}},edit_rules:{header:"Edit Rotation Rules",label_current_value:"Current Value",label_new_value:"New Value",label_min_days:"Min. days displayed",label_max_frequency:"Maximum frequency",label_min_relevance:"Minimum Relevance",label_number_of_ads:"Number of Ads",label_min_ctr:"Min. Click Through Rate (%)",label_max_cost:"Max. Cost Per Conversion",label_cost_metric_code:"Conversion Type"},ads:{campaigns:{"new":{error_flash_html:"We're sorry, something went wrong. If you are using an AdBlocker Please disable it and try again. If the issue does not resolve please contact Shuttlerock support via our in-app chat or via email (<a href='mailto:%{email}'>%{email}</a>)."}}}},de:{common:{cancel:"Cancel",close:"Close",ok:"OK",remove:"Remove",approve:"Approve",saving:"Saving...",loading:"Loading...",generic_error:"We're sorry, something has gone wrong. Please try again later, and contact support if this error persists.",disabled:"Disabled",label_for:"For",ad_sets:"Ad Sets",ad_set:"Ad Set",search:"Search..."},board_items:{"new":{confirm_delete:"Are you sure?"},copy:"Copy",move:"Move",confirm_voting_report:"The voting report will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue.",confirm_vote_csv:"The voter list will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue."},complaints:{submit_button:"Report"},sites:{edit:{ip_not_found:"Your current IP address (%{current_ip}) does not appear to be in the whitelist, and you will probably be locked out of this site if you continue. Click 'OK' if you are sure you want to continue.",wildcard_ip_not_found:"We couldn't find an exact match for your current IP address (%{current_ip}) in the whitelist. This doesn't take wildcard entries into account, so this may not be a problem. Click 'OK' if you are sure you want to continue."}},shares:{"new":{chars_remaining:"%{chars} characters remaining"}},edit_content:{header:"Edit Content",label_type_of_content:"Type of Content",label_any:"Any",label_photos:"Photos",label_videos:"Videos",label_select_the_type_of_content:"Select the type of content you'd like to use. Narrow Down your creatives by adding a mix of Board and Tags",label_products:"Products",label_select_product:"Enter the URL of a product above. Enter the first couple of letters to see matching products.",label_boards:"Boards",label_select_board:"Enter the name of a board above. Enter the first couple of letters to see matching boards.",label_tags:"Tags",label_select_tag:"Enter a tag above. Enter the first couple of letters to see matching tags.",label_apply:"Edit",label_all:"Edit All Ads",label_selected:"Edit Selected Ads",label_cancel:"Cancel"},ad_set:{mix:"Mix",board:"Board",product:"Product",tag:"Tag",statuses:{draft:"Draft",pending:"Pending",rejected:"Rejected",active:"Active",paused:"Paused",deleted:"Deleted",rotated:"Rotated",archived:"Archived",no_access:"No Access",mix:"Mix",n_a:"N/A",adset_paused:"Paused",campaign_paused:"Paused"}},edit_rules:{header:"Edit Rotation Rules",label_current_value:"Current Value",label_new_value:"New Value",label_min_days:"Min. days displayed",label_max_frequency:"Maximum frequency",label_min_relevance:"Minimum Relevance",label_number_of_ads:"Number of Ads",label_min_ctr:"Min. Click Through Rate (%)",label_max_cost:"Max. Cost Per Conversion",label_cost_metric_code:"Conversion Type"},ads:{campaigns:{"new":{error_flash_html:"We're sorry, something went wrong. If you are using an AdBlocker Please disable it and try again. If the issue does not resolve please contact Shuttlerock support via our in-app chat or via email (<a href='mailto:%{email}'>%{email}</a>)."}}}},ko:{common:{cancel:"Cancel",close:"Close",ok:"OK",remove:"Remove",approve:"Approve",saving:"Saving...",loading:"Loading...",generic_error:"We're sorry, something has gone wrong. Please try again later, and contact support if this error persists.",disabled:"Disabled",label_for:"For",ad_sets:"Ad Sets",ad_set:"Ad Set",search:"Search..."},board_items:{"new":{confirm_delete:"Are you sure?"},copy:"Copy",move:"Move",confirm_voting_report:"The voting report will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue.",confirm_vote_csv:"The voter list will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue."},complaints:{submit_button:"Report"},sites:{edit:{ip_not_found:"Your current IP address (%{current_ip}) does not appear to be in the whitelist, and you will probably be locked out of this site if you continue. Click 'OK' if you are sure you want to continue.",wildcard_ip_not_found:"We couldn't find an exact match for your current IP address (%{current_ip}) in the whitelist. This doesn't take wildcard entries into account, so this may not be a problem. Click 'OK' if you are sure you want to continue."}},shares:{"new":{chars_remaining:"%{chars} characters remaining"}},edit_content:{header:"Edit Content",label_type_of_content:"Type of Content",label_any:"Any",label_photos:"Photos",label_videos:"Videos",label_select_the_type_of_content:"Select the type of content you'd like to use. Narrow Down your creatives by adding a mix of Board and Tags",label_products:"Products",label_select_product:"Enter the URL of a product above. Enter the first couple of letters to see matching products.",label_boards:"Boards",label_select_board:"Enter the name of a board above. Enter the first couple of letters to see matching boards.",label_tags:"Tags",label_select_tag:"Enter a tag above. Enter the first couple of letters to see matching tags.",label_apply:"Edit",label_all:"Edit All Ads",label_selected:"Edit Selected Ads",label_cancel:"Cancel"},ad_set:{mix:"Mix",board:"Board",product:"Product",tag:"Tag",statuses:{draft:"Draft",pending:"Pending",rejected:"Rejected",active:"Active",paused:"Paused",deleted:"Deleted",rotated:"Rotated",archived:"Archived",no_access:"No Access",mix:"Mix",n_a:"N/A",adset_paused:"Paused",campaign_paused:"Paused"}},edit_rules:{header:"Edit Rotation Rules",label_current_value:"Current Value",label_new_value:"New Value",label_min_days:"Min. days displayed",label_max_frequency:"Maximum frequency",label_min_relevance:"Minimum Relevance",label_number_of_ads:"Number of Ads",label_min_ctr:"Min. Click Through Rate (%)",label_max_cost:"Max. Cost Per Conversion",label_cost_metric_code:"Conversion Type"},ads:{campaigns:{"new":{error_flash_html:"We're sorry, something went wrong. If you are using an AdBlocker Please disable it and try again. If the issue does not resolve please contact Shuttlerock support via our in-app chat or via email (<a href='mailto:%{email}'>%{email}</a>)."}}}},"zh-TW":{common:{cancel:"Cancel",close:"Close",ok:"OK",remove:"Remove",approve:"Approve",saving:"Saving...",loading:"Loading...",generic_error:"We're sorry, something has gone wrong. Please try again later, and contact support if this error persists.",disabled:"Disabled",label_for:"For",ad_sets:"Ad Sets",ad_set:"Ad Set",search:"Search..."},board_items:{"new":{confirm_delete:"Are you sure?"},copy:"Copy",move:"Move",confirm_voting_report:"The voting report will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue.",confirm_vote_csv:"The voter list will be emailed to you, and may take up to 10 minutes to generate. Click OK to continue."},complaints:{submit_button:"Report"},sites:{edit:{ip_not_found:"Your current IP address (%{current_ip}) does not appear to be in the whitelist, and you will probably be locked out of this site if you continue. Click 'OK' if you are sure you want to continue.",wildcard_ip_not_found:"We couldn't find an exact match for your current IP address (%{current_ip}) in the whitelist. This doesn't take wildcard entries into account, so this may not be a problem. Click 'OK' if you are sure you want to continue."}},shares:{"new":{chars_remaining:"%{chars} characters remaining"}},edit_content:{header:"Edit Content",label_type_of_content:"Type of Content",label_any:"Any",label_photos:"Photos",label_videos:"Videos",label_select_the_type_of_content:"Select the type of content you'd like to use. Narrow Down your creatives by adding a mix of Board and Tags",label_products:"Products",label_select_product:"Enter the URL of a product above. Enter the first couple of letters to see matching products.",label_boards:"Boards",label_select_board:"Enter the name of a board above. Enter the first couple of letters to see matching boards.",label_tags:"Tags",label_select_tag:"Enter a tag above. Enter the first couple of letters to see matching tags.",label_apply:"Edit",label_all:"Edit All Ads",label_selected:"Edit Selected Ads",label_cancel:"Cancel"},ad_set:{mix:"Mix",board:"Board",product:"Product",tag:"Tag",statuses:{draft:"Draft",pending:"Pending",rejected:"Rejected",active:"Active",paused:"Paused",deleted:"Deleted",rotated:"Rotated",archived:"Archived",no_access:"No Access",mix:"Mix",n_a:"N/A",adset_paused:"Paused",campaign_paused:"Paused"}},edit_rules:{header:"Edit Rotation Rules",label_current_value:"Current Value",label_new_value:"New Value",label_min_days:"Min. days displayed",label_max_frequency:"Maximum frequency",label_min_relevance:"Minimum Relevance",label_number_of_ads:"Number of Ads",label_min_ctr:"Min. Click Through Rate (%)",label_max_cost:"Max. Cost Per Conversion",label_cost_metric_code:"Conversion Type"},ads:{campaigns:{"new":{error_flash_html:"We're sorry, something went wrong. If you are using an AdBlocker Please disable it and try again. If the issue does not resolve please contact Shuttlerock support via our in-app chat or via email (<a href='mailto:%{email}'>%{email}</a>)."}}}}},Session={login_path:function(){return $("li#login_tab a").attr("href")},registration_path:function(){return $("li#registration_tab a").attr("href")},is_logged_in:function(){return 0===$("li#login_tab").length}},window.Application={init:function(){this.addBodyClasses(),this.setupAuthLinks(),this.lazyLoadImages(),this.setupAlertButtons(),this.setupMobile(),this.addDisplayErrorMethod(),this.setupAuthenticatedLinks(),this.setupPlaceholders(),this.setupDatepickers(),this.setupModalLinks(),this.processQueue(),this.setupLoadingImage(),this.setupExitLinksProcessing()},setupExitLinksProcessing:function(){currentDomain=window.location.host,selector='a[href^=http]:not([href*="'+currentDomain+'"])',$("body").on("click",selector,function(t){var e=$(t.target),n=e.attr("href"),i=e.attr("target");if(!1===_.isUndefined(n)&&!1===_.isNull(n)&&!0===_.isUndefined(i)&&!/^javascript/.test(n)){t.preventDefault();var o=document.createElement("a");o.href=n,mixpanel.track("clicked exit link",{exit_url:n,exit_domain:o.hostname,board:gon.board,board_item:gon.board_item},function(){window.location.href=n})}})},setupLoadingImage:function(){$("form").submit(function(){var t=$("img#loading");if(t.length>0){var e=$(".btn[type='submit']");e.hide(),e.addClass("loading"),t.show()}})},setupMobile:function(){!0===$("body").is(".mobile")&&_.each($("a[data-mobile-href]"),function(t){var t=$(t);t.attr("href",t.data("mobile-href")),!1===t.data("mobile-authenticated")&&t.removeClass("authenticated")}),!0===Application.isPhone()&&!0===$("body").is(".layout_board,layout_whitelabel")&&$(".btn-success").removeClass("btn-success").find(".icon-white").removeClass("icon-white")},lazyLoadImages:function(){setTimeout(function(){$(".lazy-load").unveil(200)},500)},setupPlaceholders:function(){$("input[placeholder], textarea[placeholder]").placeholder()},setupDatepickers:function(){$("input.datetime_picker").datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"hh:mm"})},setupModalLinks:function(){var t=this;$("a.help-link,a.modal-link").click(function(e){var n=function(t){$("#modal").modal("hide"),t.preventDefault()};t.ajaxModal($(this).attr("href"),I18n.t("common.close"),n,!1),e.preventDefault()})},setupAlertButtons:function(){var t=this,e=function(){$(document).on("click","div.alert a.close",function(t){$(this).parents("#flash_container").stop().slideUp(),$(this).parents("#flash_container").remove(),t.preventDefault()}),$("#flash_container:not(.important,.no-modal)").slideDown().fadeTo(5e3,1).slideUp(),$("#flash_container.no-modal").slideDown(),$("#flash_container.no-modal a.set-locale").length>0&&(new SelectLocaleView).render()},n=$("#flash_container.important");if(n.length>0){n.find(".close").remove();var i={showCancelButton:!0,cancelText:I18n.t("common.ok"),cancelButtonCallback:e};t.createModal(null,n.html(),null,null,i),n.remove()}else e()},addBodyClasses:function(){facebook_callback=function(){$("html").addClass("facebook")},non_facebook_callback=function(){$("html").addClass("non_facebook")},this.ifFacebook(facebook_callback,non_facebook_callback)},addDisplayErrorMethod:function(){$.extend($.fn,{displayError:function(t){return this.addClass("alert"),this.addClass("alert-error"),this.addClass("unexpected-error"),this.prepend('<p class="message">'+t+"</p>")}})},setupAuthenticatedLinks:function(){var t=this;!1===Session.is_logged_in()&&$("body").on("click",".authenticated",function(e){var n,i=$(this);if(n=!0===i.is("a")?i.attr("href"):t.currentWindowUrl().replace(new RegExp("^https?://[^/]+"),""),n==Session.login_path()||n==Session.registration_path()&&void 0!==n||(n=Session.login_path()+"?return_to="+n),!0===i.is(".deferred_click")){var o=i.attr("id");$.cookie("_dc",o)}t.ajaxModal(n),e.preventDefault()})},createAlert:function(t,e){(_.isNull(e)||_.isUndefined(e))&&(e="info"),alert=$('<div class="alert alert-'+e+'" id="flash_container" style="display: none;"><a class="close" href="#"><i class="icon-remove"></i></a>'+t+"</div>"),$("#body_container").prepend(alert),alert.slideDown()},ajaxModal:function(t,e,n,i){var o=this;return!0===o.isTablet()?(o.redirectFrameTo(t),!0):(i=!!_.isUndefined(i)||i,!1===_.isNull(t.match(new RegExp("^/")))&&o.createModal("&nbsp;",function(){$.ajax({type:"GET",url:t,success:function(t){var e=$("<div></div>");e.html(t);var n=e.find("h1"),i=$("#modal");0==n.length?i.find(".modal-header").remove():i.find(".modal-header").html(n.html()),n.remove(),$(".modal-body").html(e.html()),i.addClass("ajax"),$(".modal-body").css({"max-height":$(window).height()-250})},error:function(){var t=I18n.t("common.generic_error");$(".modal-header").remove(),$(".modal-body").html("").removeClass().displayError(t)}})},e,n,{keyboard:!0,showCancelButton:i}),!1)},createModal:function(t,e,n,i,o){var r=bodyHtml=buttonHtml=cancelHtml=continueHtml="",s=function(e){var s=!1===_.isNull(i)&&!1===_.isUndefined(i);if((_.isNull(o)||_.isUndefined(o))&&(o={}),!1===_.isNull(o.backdrop)&&(o.backdrop="static"),!1===_.isNull(o.show)&&(o.show=!0),!1===_.isNull(t)&&!1===_.isUndefined(t)&&(r='<div class="modal-header"><h3>'+t+"</h3></div>"),!1===_.isNull(e)&&!1===_.isUndefined(e)&&(bodyHtml='<div class="modal-body">'+e+"</div>"),s&&((_.isNull(n)||_.isUndefined(n))&&(n="OK"),continueHtml='<a href="#" class="btn primary">'+n+"</a>"),!0===o.showCancelButton){var a=I18n.t("common.cancel");!1===_.isUndefined(o.cancelText)&&(a=o.cancelText),cancelHtml='<a href="#" class="btn" id="cancel_button">'+a+"</a>"}""===continueHtml&&""===cancelHtml||(buttonHtml='<div class="modal-footer">'+continueHtml+cancelHtml+"</div>");var c=$('<div id="modal" class="modal">'+r+bodyHtml+buttonHtml+"</div>");c.find("a#cancel_button").click(function(t){c.modal("hide"),!0===_.isFunction(o.cancelButtonCallback)&&o.cancelButtonCallback(),t.preventDefault()}),c.bind("hidden",function(){c.remove()}),!0===s&&c.find("a.primary").click(i),$("body").append(c),c.modal(o),setTimeout(function(){window.Application.setupPlaceholders()},1e3)};!0===_.isFunction(e)?(s(Dynamic.largeLoadingImage),e()):s(e)},setupAuthLinks:function(){var t=this;$("body").on("click",".btn-facebook,.btn-twitter,form.edit_member button[type=submit]",function(){var e=$(this);t.ifFacebook(function(){Utility.addHrefParam(e,"href","sr_src","facebook")});var n=$("input#member_send_promo_mails").is(":checked");$.cookie("sr_opt",n,{path:"/"})}),t.ifFacebook(function(){$("body").on("submit","form#new_member",function(){Utility.addHrefParam($(this),"action","sr_src","facebook")})})},ifFacebook:function(t,e){try{this.currentWindowUrl()!==this.parentWindowUrl()?t():!0===_.isFunction(e)&&e()}catch(e){t()}},redirectTo:function(t){top.location.href=t},redirectFrameTo:function(t){location.href=t},currentWindowUrl:function(){return location.href},parentWindowUrl:function(){return top.location.href},analyticsEvent:function(t){!0!==_.isUndefined(t[2])&&!0!==_.isNull(t[2])||(t[2]={}),
!1===_.isUndefined(mixpanel)&&mixpanel.track(t[1],t[2]),!1===_.isUndefined(window.mixpanelForManager)&&window.mixpanelForManager.track(t[1],t[2])},isPhone:function(){return parseInt($("body").width(),10)<480},isTablet:function(){return parseInt($("body").width(),10)<767},isDesktop:function(){return parseInt($("body").width(),10)<980},processQueue:function(){var t=$("#queued_action");if(!1===_.isEmpty(t)){var e=t.data("scope"),n=t.data("action"),i=t.data("param");if(!0===_.isString(e)&&!0===_.isString(n)&&!0===_.isString(i))try{window[e][n](i)}catch(t){}t.remove()}if(!0===Session.is_logged_in()){var o=$.cookie("_dc");!1===_.isNull(o)&&($("#"+o).trigger("click"),$.cookie("_dc",null))}},hexCodeForColor:function(t){return{black:"#000000",white:"#ffffff",red:"#cc3333",grey:"#cccccc",blue:"#6d84b4"}[t]},setupBackgroundImages:function(){_.each($("div[data-background]"),function(t){t=$(t);var e=t.data("background");t.css("background-image","url('"+e+"')")})}},$(document).ready(function(){Application.init(),_.each(window.loadQueue,function(t){t()})}),Dynamic={loadingImage:'<img id="loading_indicator" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-6d9b7acf9fd38def4a74de32e4ea8d1a5efca4fcd328a269934ddb56b9e4e937.gif" alt="Loading" />',largeLoadingImage:'<img id="loading_indicator" class="large" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-large-f711c779749be0547ada2fcb23ad35059a6beb3f1d479f3cb69361fd54ce884e.gif" alt="Loading large" />',smallLoadingImage:'<img id="loading_indicator" class="small" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-small-17708562c23573d07e5828bb33e9311023088e1bbda12984559289c6986ade7d.gif" alt="Loading small" />',miniLoadingImage:'<img id="loading_indicator" class="mini" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-mini-3125b3571201472de0fc49bb4e27643792cf4b2a5e14ffd3e564118a6000f8c6.gif" alt="Loading mini" />',greyLoadingImage:'<img id="loading_indicator" class="grey" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-grey-27d314020ba76f023cdda8f2444a498e956ea7a915993a00b8dd1e5576fbc9e0.gif" alt="Loading grey" />',largeGreyLoadingImage:'<img id="loading_indicator" class="large" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-large-grey-f6d1b66971e49c9fdc1bbb1a2159aa337ca1296479fc410afb72d49b29274081.gif" alt="Loading large grey" />',smallGreyLoadingImage:'<img id="loading_indicator" class="small" src="https://d2dq8ht19ichak.cloudfront.net/assets/common/loading-small-grey-0095a6a053034ccfcc377344a7646a4dc92063a410b63510c1fc49ffca914c65.gif" alt="Loading small grey" />'},function(){window.Utility={addHrefParam:function(t,e,n,i){var o;if(o=t.attr(e),!(o.indexOf(n+"="+i)>=0))return o=o.replace(new RegExp("(\\?|&(amp;)?)"+n+"=[a-zA-Z0-9_-]+"),""),-1===o.indexOf("?")?o+="?":o+="&amp;",t.attr(e,""+o+n+"="+i)}}}.call(this),function(){window.Stripe={init:function(t,e,n,i){return this.key=t,this.url=e,this.data=n,this.options=i,this.initialized=!0},set_amount:function(t){return this.options.amount=t,this.data.amount_cents=t},skip_payment:function(){return this.data.amount_cents=0,$.post(this.url,{payment:this.data})},show:function(){if("undefined"!=typeof this.initialized)return StripeCheckout.configure({key:this.key,token:function(t){return Stripe.data.card_token=t.id,$.post(Stripe.url,{payment:Stripe.data})}}).open(this.options)}}}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.SelectLocaleView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#flash_container",n.prototype.events={"click a.set-locale.yes":"handleSetLocaleYesEvent","click a.set-locale.no":"handleSetLocaleNoEvent"},n.prototype.initialize=function(){return this.setupCloseAction()},n.prototype.handleSetLocaleYesEvent=function(t){var e,n;return n=$(t.currentTarget),e=_.find(["de","en","fr","ja"],function(t){return n.hasClass(t)}),e&&$.cookie("locale",e,{path:"/"}),this.localeSelected(),location.reload()},n.prototype.handleSetLocaleNoEvent=function(){var t;return t=this,$(t.el).find(".close").trigger("click")},n.prototype.setupCloseAction=function(){var t;return t=this,$(t.el).find(".close").click(function(e){return t.localeSelected(),e.preventDefault()})},n.prototype.localeSelected=function(){return $.cookie("locale_selected","1",{path:"/"})},n}(Backbone.View)}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.BoardItemView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#board_item",n.prototype.events={keyup:"handleKeyEvent","click #copy-board-item":"launchCopyModal","click #move-board-item":"launchMoveModal","click #linked-products-board-item":"launchLinkedProductsModal","click #tags":"launchTagsModal","click form.voting-report button":"launchVotingReportModal","click form.vote-csv button":"launchVoteCsvModal","click #pay-board-item":"launchStripe","click #minimal-pay-board-item":"launchStripeWithCustomAmount","keyup #optional-payment-amount":"submitOptionalPaymentAmount","click #skip-pay-board-item":"skipStripePayment"},n.prototype.initialize=function(t){var e;if(t.check_path)return e=setInterval(function(){return $.getJSON(t.check_path,function(n){if(n.ready)return clearInterval(e),location.href=t.goto_path})},1500)},n.prototype.render=function(){var t,e,n;if(n=this,$("body").keyup(function(t){return n.handleKeyEvent(t)}),$("#options.dropdown",n.el).append($("#board-item-dropdown-menu")),t=$("#member-avatar"),t.length>0)return e=$(".comment-form img.avatar"),e.hide().after(t.children()),e.remove()},n.prototype.handleKeyEvent=function(t){var e,n;if(n=this,e=null,_.include([37,39],t.keyCode)&&!$(t.target).is("textarea")&&!$(t.target).is("input")){switch(t.keyCode){case 37:e=$(n.el).data("previous");break;case 39:e=$(n.el).data("next")}return null!=e?Application.redirectFrameTo(e):void 0}},n.prototype.launchVotingReportModal=function(){return!!confirm(I18n.t("board_items.confirm_voting_report"))},n.prototype.launchVoteCsvModal=function(){return!!confirm(I18n.t("board_items.confirm_vote_csv"))},n.prototype.launchCopyModal=function(t){var e;return t.preventDefault(),this,e=$(t.currentTarget).attr("href"),Application.ajaxModal(e,I18n.t("board_items.copy"),function(t){return t.preventDefault(),$(".modal:visible form").submit()})},n.prototype.launchMoveModal=function(t){var e;return t.preventDefault(),this,e=$(t.currentTarget).attr("href"),Application.ajaxModal(e,I18n.t("board_items.move"),function(t){return t.preventDefault(),$(".modal:visible form").submit()})},n.prototype.launchLinkedProductsModal=function(t){var e;return t.preventDefault(),this,e=$(t.currentTarget).attr("href"),Application.ajaxModal(e)},n.prototype.launchTagsModal=function(t){var e;return t.preventDefault(),this,e=$(t.currentTarget).attr("href"),Application.ajaxModal(e)},n.prototype.launchStripe=function(){return Stripe.show()},n.prototype.launchStripeWithCustomAmount=function(){var t,e,n;return e=$("#optional-payment-amount"),n=parseFloat(e.data("minimal")),t=e.val().replace(",",".").replace(" ",""),t=parseFloat(t),isNaN(t)||t<n?(e.removeClass("invalid_field"),void setTimeout(function(){return e.addClass("invalid_field"),setTimeout(function(){return e.focus()},600)},10)):("JPY"!==e.data("currency")&&(t*=100),t=Math.floor(t),Stripe.set_amount(t),Stripe.show())},n.prototype.submitOptionalPaymentAmount=function(t){if(13===t.keyCode)return this.launchStripeWithCustomAmount()},n.prototype.skipStripePayment=function(){return Stripe.skip_payment()},n}(Backbone.View)}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.BoardItemCommentsView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#board_item .comment-list",n.prototype.initialize=function(t){return this.complainedCommentIds=t||[]},n.prototype.render=function(){return this.setupCommentsComplaintState()},n.prototype.setupCommentsComplaintState=function(){var t;return t=this,_.each($(".complaint-form",this.el),function(e){var n;return e=$(e),n=e.data("resource-id"),_.contains(t.complainedCommentIds,n)?e.find("form.complain").remove():e.find("form.uncomplain").remove()})},n}(Backbone.View)}.call(this),BoardView=Backbone.View.extend({el:"#page_container",events:{"click .form-actions input.btn":"generateImageSlug"},render:function(){this.setupTiling()},setupTiling:function(){$("#board_items").masonry({itemSelector:".board_item,.board_summary",isFitWidth:!0,columnWidth:240})}}),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.ComplaintView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el=".complaint-form",n.prototype.events={"submit form.complain":"launchComplaintModal"},n.prototype.launchComplaintModal=function(t){var e,n;return n=this,e=$(t.currentTarget).attr("action"),Application.ajaxModal(e,I18n.t("complaints.submit_button"),n.complaintResource),!1},n.prototype.complaintResource=function(){return $(".modal:visible form").submit()},n}(Backbone.View)}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.ShareView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#page_container",n.prototype.events={"change #publication_service_message":"toggleCounter","keyup  #publication_service_message":"toggleCounter","change #twitter_accounts input":"toggleCounter","click  .btn-share":"handleShareEvent","change #facebook_formats input":"toggleFacebookFormat","change #twitter_formats input":"toggleTwitterFormat","click  #facebook_formats img":"triggerFacebookSelect","click  #twitter_formats img":"triggerTwitterSelect"},n.prototype.initialize=function(t){return this.options=t||{}},n.prototype.render=function(){return $("#facebook_formats input:checked",this.el).parents(".radio").addClass("checked"),$("#twitter_formats input:checked",this.el).parents(".radio").addClass("checked"),this.toggleCounter(),this},n.prototype.handleShareEvent=function(t){var e,n,i;return this,n=$(t.currentTarget),n.parents(".social_actions"),!Session.is_logged_in()||(n.is("a")?(e=n.data("board-item-id"),i=_.isUndefined(this.options.shareUrl)||_.isUndefined(e)?n.attr("href"):this.options.shareUrl.replace(/__BOARD_ITEM_ID__/,e)):i=Application.currentWindowUrl().replace(new RegExp("^https?://[^/]+"),""),!1===this.options.modal?Application.redirectFrameTo(i):Application.ajaxModal(i),!1)},n.prototype.toggleFacebookFormat=function(t){return this.toggleShareFormat(t,"facebook")},n.prototype.toggleTwitterFormat=function(t){return this.toggleShareFormat(t,"twitter")},n.prototype.toggleShareFormat=function(t,e){var n,i,o;return n=$('input[name="publication['+e+'_format]"]:checked').val(),i=$(".publication_message",this.el),o=e+"_profile_picture",n===o&&i.is(":visible")?i.slideUp("fast"):i.is(":visible")?void 0:i.slideDown("fast")},n.prototype.triggerSelect=function(t,e){var n;return n=$(t.target).parents(".radio"),n.find("input").prop("checked",!0).trigger("change"),$("#"+e+"_formats",this.el).find(".radio").removeClass("checked"),n.addClass("checked"),t.preventDefault()},n.prototype.triggerFacebookSelect=function(t){return this.triggerSelect(t,"facebook")},n.prototype.triggerTwitterSelect=function(t){return this.triggerSelect(t,"twitter")},n.prototype.toggleCounter=function(){var t,e;if(t=$(".publication_service_message .tweet-counter"),$("#twitter_accounts input:checked").length){if(e=$("#publication_service_message").val().length,t.text(115-e),e>115?t.addClass("text-error"):t.removeClass("text-error"),!t.is(":visible"))return t.show()}else if(t.is(":visible"))return t.hide()},n}(Backbone.View)}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.ShareFormView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#share_form",n.prototype.events={"change #share_message":"toggleCounter","keyup  #share_message":"toggleCounter","click .action .btn-facebook":"shareToFacebook","click .action .btn-twitter":"shareToTwitter","click #linkedin-button a":"shareToLinkedIn","click #weibo-button a":"shareToWeibo"},n.prototype.render=function(){return this.toggleCounter()},n.prototype.shareToFacebook=function(){return this.updateShareType("facebook")},n.prototype.shareToTwitter=function(){return this.updateShareType("twitter")},n.prototype.updateShareType=function(t){return $("#share_share_type").val(t)},n.prototype.toggleCounter=function(){var t,e,n;return t=$(".symbol-counter"),$("#share_form .btn-twitter").length?(e=$("#share_message").val().length,n=I18n.t("shares.new.chars_remaining",{chars:115-e}),t.text(n),e>115?t.addClass("text-error"):t.removeClass("text-error")):void t.parent().hide()},n.prototype.shareToLinkedIn=function(t){var e,n;return e=$(t.currentTarget).data("params"),n="http://www.linkedin.com/shareArticle?"+e,window.open(n,"_blank","height=520,width=570"),t.preventDefault()},n.prototype.shareToWeibo=function(t){var e,n;return e=$(t.currentTarget),n="http://service.weibo.com/share/share.php?url="+e.data("url")+"&type=3&pic="+e.data("pic")+"&title="+e.data("title"),window.open(n,"_blank","height=520,width=570"),t.preventDefault()},n}(Backbone.View)}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.BoardItemProductsView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#page_container",n.prototype.events={"click #show-attach-button,.cancel":"toggleAttachForm"},n.prototype.render=function(){return this.toggleAttachForm(null,{instant:!0}),this.setupProductAutocompletion()},n.prototype.setupProductAutocompletion=function(){var t,e,n,i;return e=angular.injector(["ng","Shuttlerock"]),t=e.get("$compile"),n=e.get("$rootScope"),i=n.$new(),i.onSelect=function(t){return function(e){return $("#product_id").val(e.id),$("#product_url").val(e.id),t.enableSubmit(!0)}}(this),t(angular.element("#product-url"))(i)},n.prototype.enableSubmit=function(t){return $("#product_form button").prop("disabled",!t)},n.prototype.toggleAttachForm=function(t,e){var n;if(null==e&&(e={}),n=$("#show-attach-button",this.el).data("hide"),_.isNull(t)||($(t.currentTarget).is("#show-attach-button")&&(n=!0),$(t.currentTarget).is(".cancel")&&(n=!1)),n?($(".manage-actions",this.el)[e.instant?"hide":"slideUp"](),$("form#product_form",this.el)[e.instant?"show":"slideDown"]()):($(".manage-actions",this.el)[e.instant?"show":"slideDown"](),$("form#product_form",this.el)[e.instant?"hide":"slideUp"]()),!_.isNull(t))return t.preventDefault()},n}(Backbone.View)}.call(this),function(){var t=function(t,n){function i(){this.constructor=t}for(var o in n)e.call(n,o)&&(t[o]=n[o]);return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t},e={}.hasOwnProperty;window.BoardItemMoveView=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return t(n,e),n.prototype.el="#page_container",n.prototype.events={"click #show-attach-button,.cancel":"toggleAttachForm"},n.prototype.render=function(){return this.setupBoardAutocompletion()},n.prototype.setupBoardAutocompletion=function(){var t,e,n,i;return e=angular.injector(["ng","Shuttlerock"]),t=e.get("$compile"),n=e.get("$rootScope"),i=n.$new(),i.onSelect=function(t){return function(){return t.enableSubmit(!0)}}(this),console.log(i),t(angular.element("#board-name"))(i)},n.prototype.enableSubmit=function(t){return $("#move_board_form button").prop("disabled",!t)},n}(Backbone.View)}.call(this),document.createElement("video"),document.createElement("audio"),document.createElement("track");var vjs=function(t,e,n){var i;if("string"==typeof t){if(0===t.indexOf("#")&&(t=t.slice(1)),vjs.players[t])return e&&vjs.log.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&vjs.players[t].ready(n),vjs.players[t];i=vjs.el(t)}else i=t;if(!i||!i.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return i.player||new vjs.Player(i,e,n)},videojs=window.videojs=vjs;vjs.CDN_VERSION="4.12",vjs.ACCESS_PROTOCOL="https:"==document.location.protocol?"https://":"http://",vjs.VERSION="4.12.15",vjs.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2e3,children:{mediaLoader:{},posterImage:{},loadingSpinner:{},textTrackDisplay:{},bigPlayButton:{},controlBar:{},errorDisplay:{},textTrackSettings:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.userLanguage||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."},"GENERATED_CDN_VSN"!==vjs.CDN_VERSION&&(videojs.options.flash.swf="https://d2dq8ht19ichak.cloudfront.net/assets/video-js-2fdab6df0f3a15b2bf4c23f9a14105fd3769499f9bfdf91396711629dffa84f7.swf"),vjs.addLanguage=function(t,e){return vjs.options.languages[t]!==undefined?vjs.options.languages[t]=vjs.util.mergeOptions(vjs.options.languages[t],e):vjs.options.languages[t]=e,vjs.options.languages},vjs.players={},"function"==typeof define&&define.amd?define("videojs",[],function(){return videojs}):"object"==typeof exports&&"object"==typeof module&&(module.exports=videojs),vjs.CoreObject=vjs.CoreObject=function(){},vjs.CoreObject.extend=function(t){var e,n;t=t||{},e=t.init||t.init||this.prototype.init||this.prototype.init||function(){},n=function(){e.apply(this,arguments)},n.prototype=vjs.obj.create(this.prototype),n.prototype.constructor=n,n.extend=vjs.CoreObject.extend,n.create=vjs.CoreObject.create;for(var i in t)t.hasOwnProperty(i)&&(n.prototype[i]=t[i]);return n},vjs.CoreObject.create=function(){var t=vjs.obj.create(this.prototype);return this.apply(t,arguments),t},vjs.on=function(t,e,n){if(vjs.obj.isArray(e))return _handleMultipleEvents(vjs.on,t,e,n);var i=vjs.getData(t);i.handlers||(i.handlers={}),i.handlers[e]||(i.handlers[e]=[]),n.guid||(n.guid=vjs.guid++),i.handlers[e].push(n),i.dispatcher||(i.disabled=!1,i.dispatcher=function(e){if(!i.disabled){e=vjs.fixEvent(e);var n=i.handlers[e.type];if(n)for(var o=n.slice(0),r=0,s=o.length;r<s&&!e.isImmediatePropagationStopped();r++)o[r].call(t,e)}}),1==i.handlers[e].length&&(t.addEventListener?t.addEventListener(e,i.dispatcher,!1):t.attachEvent&&t.attachEvent("on"+e,i.dispatcher))},vjs.off=function(t,e,n){if(vjs.hasData(t)){var i=vjs.getData(t);if(i.handlers){if(vjs.obj.isArray(e))return _handleMultipleEvents(vjs.off,t,e,n);var o=function(e){i.handlers[e]=[],vjs.cleanUpEvents(t,e)};if(e){var r=i.handlers[e];if(r){if(!n)return void o(e);if(n.guid)for(var s=0;s<r.length;s++)r[s].guid===n.guid&&r.splice(s--,1);vjs.cleanUpEvents(t,e)}}else for(var a in i.handlers)o(a)}}},vjs.cleanUpEvents=function(t,e){var n=vjs.getData(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),vjs.isEmpty(n.handlers)&&(delete n.handlers,delete n.dispatcher,delete n.disabled),vjs.isEmpty(n)&&vjs.removeData(t)},vjs.fixEvent=function(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var i=t||window.event;t={};for(var o in i)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&("returnValue"==o&&i.preventDefault||(t[o]=i[o]));if(t.target||(t.target=t.srcElement||document),t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement,t.preventDefault=function(){i.preventDefault&&i.preventDefault(),t.returnValue=!1,t.isDefaultPrevented=e,t.defaultPrevented=!0},t.isDefaultPrevented=n,t.defaultPrevented=!1,t.stopPropagation=function(){i.stopPropagation&&i.stopPropagation(),t.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){i.stopImmediatePropagation&&i.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!=t.clientX){var r=document.documentElement,s=document.body;t.pageX=t.clientX+(r&&r.scrollLeft||s&&s.scrollLeft||0)-(r&&r.clientLeft||s&&s.clientLeft||0),t.pageY=t.clientY+(r&&r.scrollTop||s&&s.scrollTop||0)-(r&&r.clientTop||s&&s.clientTop||0)}t.which=t.charCode||t.keyCode,null!=t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t},vjs.trigger=function(t,e){var n=vjs.hasData(t)?vjs.getData(t):{},i=t.parentNode||t.ownerDocument;if("string"==typeof e&&(e={type:e,target:t}),e=vjs.fixEvent(e),n.dispatcher&&n.dispatcher.call(t,e),i&&!e.isPropagationStopped()&&!1!==e.bubbles)vjs.trigger(i,e);else if(!i&&!e.defaultPrevented){var o=vjs.getData(e.target);e.target[e.type]&&(o.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),o.disabled=!1)}return!e.defaultPrevented},vjs.one=function(t,e,n){if(vjs.obj.isArray(e))return _handleMultipleEvents(vjs.one,t,e,n);var i=function(){vjs.off(t,e,i),n.apply(this,arguments)};i.guid=n.guid=n.guid||vjs.guid++,vjs.on(t,e,i)};var hasOwnProp=Object.prototype.hasOwnProperty;vjs.createEl=function(t,e){var n;return t=t||"div",e=e||{},n=document.createElement(t),vjs.obj.each(e,function(t,e){-1!==t.indexOf("aria-")||"role"==t?n.setAttribute(t,e):n[t]=e}),n},vjs.capitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},vjs.obj={},vjs.obj.create=Object.create||function(t){function e(){}return e.prototype=t,new e},vjs.obj.each=function(t,e,n){for(var i in t)hasOwnProp.call(t,i)&&e.call(n||this,i,t[i])},vjs.obj.merge=function(t,e){if(!e)return t;for(var n in e)hasOwnProp.call(e,n)&&(t[n]=e[n]);return t},vjs.obj.deepMerge=function(t,e){var n,i,o;t=vjs.obj.copy(t);for(n in e)hasOwnProp.call(e,n)&&(i=t[n],o=e[n],vjs.obj.isPlain(i)&&vjs.obj.isPlain(o)?t[n]=vjs.obj.deepMerge(i,o):t[n]=e[n]);return t},vjs.obj.copy=function(t){return vjs.obj.merge({},t)},vjs.obj.isPlain=function(t){return!!t&&"object"==typeof t&&"[object Object]"===t.toString()&&t.constructor===Object},vjs.obj.isArray=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},vjs.isNaN=function(t){return t!==t},vjs.bind=function(t,e,n){e.guid||(e.guid=vjs.guid++);var i=function(){return e.apply(t,arguments)};return i.guid=n?n+"_"+e.guid:e.guid,i},vjs.cache={},vjs.guid=1,vjs.expando="vdata"+(new Date).getTime(),vjs.getData=function(t){var e=t[vjs.expando];return e||(e=t[vjs.expando]=vjs.guid++),vjs.cache[e]||(vjs.cache[e]={}),vjs.cache[e]},vjs.hasData=function(t){var e=t[vjs.expando];return!(!e||vjs.isEmpty(vjs.cache[e]))},vjs.removeData=function(t){var e=t[vjs.expando];if(e){delete vjs.cache[e];try{delete t[vjs.expando]}catch(e){t.removeAttribute?t.removeAttribute(vjs.expando):t[vjs.expando]=null}}},vjs.isEmpty=function(t){for(var e in t)if(null!==t[e])return!1;return!0},vjs.hasClass=function(t,e){return-1!==(" "+t.className+" ").indexOf(" "+e+" ")},vjs.addClass=function(t,e){vjs.hasClass(t,e)||(t.className=""===t.className?e:t.className+" "+e)},vjs.removeClass=function(t,e){var n,i;if(vjs.hasClass(t,e)){for(n=t.className.split(" "),i=n.length-1;i>=0;i--)n[i]===e&&n.splice(i,1);t.className=n.join(" ")}},vjs.TEST_VID=vjs.createEl("video"),function(){var t=document.createElement("track");t.kind="captions",t.srclang="en",t.label="English",vjs.TEST_VID.appendChild(t)}(),vjs.USER_AGENT=navigator.userAgent,vjs.IS_IPHONE=/iPhone/i.test(vjs.USER_AGENT),vjs.IS_IPAD=/iPad/i.test(vjs.USER_AGENT),vjs.IS_IPOD=/iPod/i.test(vjs.USER_AGENT),vjs.IS_IOS=vjs.IS_IPHONE||vjs.IS_IPAD||vjs.IS_IPOD,vjs.IOS_VERSION=function(){var t=vjs.USER_AGENT.match(/OS (\d+)_/i);if(t&&t[1])return t[1]}(),vjs.IS_ANDROID=/Android/i.test(vjs.USER_AGENT),vjs.ANDROID_VERSION=function(){var t,e,n=vjs.USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);return n?(t=n[1]&&parseFloat(n[1]),e=n[2]&&parseFloat(n[2]),t&&e?parseFloat(n[1]+"."+n[2]):t||null):null}(),vjs.IS_OLD_ANDROID=vjs.IS_ANDROID&&/webkit/i.test(vjs.USER_AGENT)&&vjs.ANDROID_VERSION<2.3,vjs.IS_FIREFOX=/Firefox/i.test(vjs.USER_AGENT),vjs.IS_CHROME=/Chrome/i.test(vjs.USER_AGENT),vjs.IS_IE8=/MSIE\s8\.0/.test(vjs.USER_AGENT),vjs.TOUCH_ENABLED=!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),vjs.BACKGROUND_SIZE_SUPPORTED="backgroundSize"in vjs.TEST_VID.style,vjs.setElementAttributes=function(t,e){vjs.obj.each(e,function(e,n){null===n||void 0===n||!1===n?t.removeAttribute(e):t.setAttribute(e,!0===n?"":n)})},vjs.getElementAttributes=function(t){var e,n,i,o,r;if(e={},n=",autoplay,controls,loop,muted,default,",t&&t.attributes&&t.attributes.length>0){i=t.attributes;for(var s=i.length-1;s>=0;s--)o=i[s].name,r=i[s].value,"boolean"!=typeof t[o]&&-1===n.indexOf(","+o+",")||(r=null!==r),e[o]=r}return e},vjs.getComputedDimension=function(t,e){var n="";return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,"").getPropertyValue(e):t.currentStyle&&(n=t["client"+e.substr(0,1).toUpperCase()+e.substr(1)]+"px"),n},vjs.insertFirst=function(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},vjs.browser={},vjs.el=function(t){return 0===t.indexOf("#")&&(t=t.slice(1)),document.getElementById(t)},vjs.formatTime=function(t,e){e=e||t;var n=Math.floor(t%60),i=Math.floor(t/60%60),o=Math.floor(t/3600),r=Math.floor(e/60%60),s=Math.floor(e/3600);return(isNaN(t)||t===Infinity)&&(o=i=n="-"),o=o>0||s>0?o+":":"",i=((o||r>=10)&&i<10?"0"+i:i)+":",n=n<10?"0"+n:n,o+i+n},vjs.blockTextSelection=function(){document.body.focus(),document.onselectstart=function(){return!1}},vjs.unblockTextSelection=function(){document.onselectstart=function(){return!0}},vjs.trim=function(t){return(t+"").replace(/^\s+|\s+$/g,"")},vjs.round=function(t,e){return e||(e=0),Math.round(t*Math.pow(10,e))/Math.pow(10,e)},vjs.createTimeRange=function(t,e){return t===undefined&&e===undefined?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:1,start:function(){return t},end:function(){return e}}},vjs.setLocalStorage=function(t,e){try{var n=window.localStorage||!1;if(!n)return;n[t]=e}catch(t){22==t.code||1014==t.code?vjs.log("LocalStorage Full (VideoJS)",t):18==t.code?vjs.log("LocalStorage not allowed (VideoJS)",t):vjs.log("LocalStorage Error (VideoJS)",t)}},vjs.getAbsoluteURL=function(t){return t.match(/^https?:\/\//)||(t=vjs.createEl("div",{innerHTML:'<a href="'+t+'">x</a>'}).firstChild.href),t},vjs.parseUrl=function(t){var e,n,i,o,r;o=["protocol","hostname","port","pathname","search","hash","host"],n=vjs.createEl("a",{href:t}),i=""===n.host&&"file:"!==n.protocol,i&&(e=vjs.createEl("div"),e.innerHTML='<a href="'+t+'"></a>',n=e.firstChild,e.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(e)),r={};for(var s=0;s<o.length;s++)r[o[s]]=n[o[s]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),i&&document.body.removeChild(e),r},vjs.log=function(){_logType(null,arguments)},vjs.log.history=[],vjs.log.error=function(){_logType("error",arguments)},vjs.log.warn=function(){_logType("warn",arguments)},vjs.findPosition=function(t){var e,n,i,o,r,s,a,c,l;return t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),e?(n=document.documentElement,i=document.body,o=n.clientLeft||i.clientLeft||0,r=window.pageXOffset||i.scrollLeft,s=e.left+r-o,a=n.clientTop||i.clientTop||0,c=window.pageYOffset||i.scrollTop,l=e.top+c-a,{left:vjs.round(s),top:vjs.round(l)}):{left:0,top:0}},vjs.arr={},vjs.arr.forEach=function(t,e,n){if(vjs.obj.isArray(t)&&e instanceof Function)for(var i=0,o=t.length;i<o;++i)e.call(n||vjs,t[i],i,t);return t},vjs.xhr=function(t,e){var n,i,o,r,s,a,c,l,u;"string"==typeof t&&(t={uri:t}),videojs.util.mergeOptions({method:"GET",timeout:45e3},t),e=e||function(){},l=function(){window.clearTimeout(c),e(null,i,i.response||i.responseText)},u=function(t){window.clearTimeout(c),t&&"string"!=typeof t||(t=new Error(t)),e(t,i)},n=window.XMLHttpRequest,void 0===n&&(n=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw new Error("This browser does not support XMLHttpRequest.")}),i=new n,i.uri=t.uri,o=vjs.parseUrl(t.uri),r=window.location,a=o.protocol+o.host!==r.protocol+r.host,!a||!window.XDomainRequest||"withCredentials"in i?(s="file:"==o.protocol||"file:"==r.protocol,i.onreadystatechange=function(){if(4===i.readyState){if(i.timedout)return u("timeout");200===i.status||s&&0===i.status?l():u()}},t.timeout&&(c=window.setTimeout(function(){4!==i.readyState&&(i.timedout=!0,i.abort())},t.timeout))):(i=new window.XDomainRequest,i.onload=l,i.onerror=u,i.onprogress=function(){},i.ontimeout=function(){});try{i.open(t.method||"GET",t.uri,!0)}catch(t){return u(t)}t.withCredentials&&(i.withCredentials=!0),t.responseType&&(i.responseType=t.responseType);try{i.send()}catch(t){return u(t)}return i},vjs.util={},vjs.util.mergeOptions=function(t,e){var n,i,o;t=vjs.obj.copy(t);for(n in e)e.hasOwnProperty(n)&&(i=t[n],o=e[n],vjs.obj.isPlain(i)&&vjs.obj.isPlain(o)?t[n]=vjs.util.mergeOptions(i,o):t[n]=e[n]);return t},vjs.EventEmitter=function(){},vjs.EventEmitter.prototype.allowedEvents_={},vjs.EventEmitter.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=Function.prototype,vjs.on(this,t,e),this.addEventListener=n},vjs.EventEmitter.prototype.addEventListener=vjs.EventEmitter.prototype.on,vjs.EventEmitter.prototype.off=function(t,e){vjs.off(this,t,e)},vjs.EventEmitter.prototype.removeEventListener=vjs.EventEmitter.prototype.off,vjs.EventEmitter.prototype.one=function(t,e){vjs.one(this,t,e)},vjs.EventEmitter.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=vjs.fixEvent(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),vjs.trigger(this,t)},vjs.EventEmitter.prototype.dispatchEvent=vjs.EventEmitter.prototype.trigger,vjs.Component=vjs.CoreObject.extend({init:function(t,e,n){this.player_=t,this.options_=vjs.obj.copy(this.options_),e=this.options(e),this.id_=e.id||e.el&&e.el.id,this.id_||(this.id_=(t.id&&t.id()||"no_player")+"_component_"+vjs.guid++),this.name_=e.name||null,this.el_=e.el||this.createEl(),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.initChildren(),this.ready(n),!1!==e.reportTouchActivity&&this.enableTouchActivity()}}),vjs.Component.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),vjs.removeData(this.el_),this.el_=null},vjs.Component.prototype.player_=!0,vjs.Component.prototype.player=function(){return this.player_},vjs.Component.prototype.options_,vjs.Component.prototype.options=function(t){return t===undefined?this.options_:this.options_=vjs.util.mergeOptions(this.options_,t)},vjs.Component.prototype.el_,vjs.Component.prototype.createEl=function(t,e){return vjs.createEl(t,e)},vjs.Component.prototype.localize=function(t){var e=this.player_.language(),n=this.player_.languages();return n&&n[e]&&n[e][t]?n[e][t]:t},vjs.Component.prototype.el=function(){return this.el_},vjs.Component.prototype.contentEl_,vjs.Component.prototype.contentEl=function(){return this.contentEl_||this.el_},vjs.Component.prototype.id_,vjs.Component.prototype.id=function(){return this.id_},vjs.Component.prototype.name_,vjs.Component.prototype.name=function(){return this.name_},vjs.Component.prototype.children_,vjs.Component.prototype.children=function(){
return this.children_},vjs.Component.prototype.childIndex_,vjs.Component.prototype.getChildById=function(t){return this.childIndex_[t]},vjs.Component.prototype.childNameIndex_,vjs.Component.prototype.getChild=function(t){return this.childNameIndex_[t]},vjs.Component.prototype.addChild=function(t,e){var n,i,o;return"string"==typeof t?(o=t,e=e||{},i=e.componentClass||vjs.capitalize(o),e.name=o,n=new window.videojs[i](this.player_||this,e)):n=t,this.children_.push(n),"function"==typeof n.id&&(this.childIndex_[n.id()]=n),o=o||n.name&&n.name(),o&&(this.childNameIndex_[o]=n),"function"==typeof n.el&&n.el()&&this.contentEl().appendChild(n.el()),n},vjs.Component.prototype.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var i=t.el();i&&i.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},vjs.Component.prototype.initChildren=function(){var t,e,n,i,o,r,s;if(t=this,e=t.options(),n=e.children)if(s=function(n,i){e[n]!==undefined&&(i=e[n]),!1!==i&&(t[n]=t.addChild(n,i))},vjs.obj.isArray(n))for(var a=0;a<n.length;a++)i=n[a],"string"==typeof i?(o=i,r={}):(o=i.name,r=i),s(o,r);else vjs.obj.each(n,s)},vjs.Component.prototype.buildCSSClass=function(){return""},vjs.Component.prototype.on=function(t,e,n){var i,o,r,s,a,c;return"string"==typeof t||vjs.obj.isArray(t)?vjs.on(this.el_,t,vjs.bind(this,e)):(i=t,o=e,r=vjs.bind(this,n),c=this,s=function(){c.off(i,o,r)},s.guid=r.guid,this.on("dispose",s),a=function(){c.off("dispose",s)},a.guid=r.guid,t.nodeName?(vjs.on(i,o,r),vjs.on(i,"dispose",a)):"function"==typeof t.on&&(i.on(o,r),i.on("dispose",a))),this},vjs.Component.prototype.off=function(t,e,n){var i,o,r;return!t||"string"==typeof t||vjs.obj.isArray(t)?vjs.off(this.el_,t,e):(i=t,o=e,r=vjs.bind(this,n),this.off("dispose",r),t.nodeName?(vjs.off(i,o,r),vjs.off(i,"dispose",r)):(i.off(o,r),i.off("dispose",r))),this},vjs.Component.prototype.one=function(t,e,n){var i,o,r,s,a;return"string"==typeof t||vjs.obj.isArray(t)?vjs.one(this.el_,t,vjs.bind(this,e)):(i=t,o=e,r=vjs.bind(this,n),s=this,a=function(){s.off(i,o,a),r.apply(this,arguments)},a.guid=r.guid,this.on(i,o,a)),this},vjs.Component.prototype.trigger=function(t){return vjs.trigger(this.el_,t),this},vjs.Component.prototype.isReady_,vjs.Component.prototype.isReadyOnInitFinish_=!0,vjs.Component.prototype.readyQueue_,vjs.Component.prototype.ready=function(t){return t&&(this.isReady_?t.call(this):(this.readyQueue_===undefined&&(this.readyQueue_=[]),this.readyQueue_.push(t))),this},vjs.Component.prototype.triggerReady=function(){this.isReady_=!0;var t=this.readyQueue_;if(this.readyQueue_=[],t&&t.length>0){for(var e=0,n=t.length;e<n;e++)t[e].call(this);this.trigger("ready")}},vjs.Component.prototype.hasClass=function(t){return vjs.hasClass(this.el_,t)},vjs.Component.prototype.addClass=function(t){return vjs.addClass(this.el_,t),this},vjs.Component.prototype.removeClass=function(t){return vjs.removeClass(this.el_,t),this},vjs.Component.prototype.show=function(){return this.removeClass("vjs-hidden"),this},vjs.Component.prototype.hide=function(){return this.addClass("vjs-hidden"),this},vjs.Component.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},vjs.Component.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},vjs.Component.prototype.disable=function(){this.hide(),this.show=function(){}},vjs.Component.prototype.width=function(t,e){return this.dimension("width",t,e)},vjs.Component.prototype.height=function(t,e){return this.dimension("height",t,e)},vjs.Component.prototype.dimensions=function(t,e){return this.width(t,!0).height(e)},vjs.Component.prototype.dimension=function(t,e,n){if(e!==undefined)return(null===e||vjs.isNaN(e))&&(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",n||this.trigger("resize"),this;if(!this.el_)return 0;var i=this.el_.style[t],o=i.indexOf("px");return-1!==o?parseInt(i.slice(0,o),10):parseInt(this.el_["offset"+vjs.capitalize(t)],10)},vjs.Component.prototype.onResize,vjs.Component.prototype.emitTapEvents=function(){var t,e,n,i,o,r,s,a,c,l;t=0,e=null,c=10,l=200,this.on("touchstart",function(n){1===n.touches.length&&(e=vjs.obj.copy(n.touches[0]),t=(new Date).getTime(),i=!0)}),this.on("touchmove",function(t){t.touches.length>1?i=!1:e&&(r=t.touches[0].pageX-e.pageX,s=t.touches[0].pageY-e.pageY,(a=Math.sqrt(r*r+s*s))>c&&(i=!1))}),o=function(){i=!1},this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",function(o){e=null,!0===i&&(n=(new Date).getTime()-t)<l&&(o.preventDefault(),this.trigger("tap"))})},vjs.Component.prototype.enableTouchActivity=function(){var t,e,n;this.player().reportUserActivity&&(t=vjs.bind(this.player(),this.player().reportUserActivity),this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}),n=function(){t(),this.clearInterval(e)},this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n))},vjs.Component.prototype.setTimeout=function(t,e){t=vjs.bind(this,t);var n=setTimeout(t,e),i=function(){this.clearTimeout(n)};return i.guid="vjs-timeout-"+n,this.on("dispose",i),n},vjs.Component.prototype.clearTimeout=function(t){clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},vjs.Component.prototype.setInterval=function(t,e){t=vjs.bind(this,t);var n=setInterval(t,e),i=function(){this.clearInterval(n)};return i.guid="vjs-interval-"+n,this.on("dispose",i),n},vjs.Component.prototype.clearInterval=function(t){clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},vjs.Button=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.emitTapEvents(),this.on("tap",this.onClick),this.on("click",this.onClick),this.on("focus",this.onFocus),this.on("blur",this.onBlur)}}),vjs.Button.prototype.createEl=function(t,e){var n;return e=vjs.obj.merge({className:this.buildCSSClass(),role:"button","aria-live":"polite",tabIndex:0},e),n=vjs.Component.prototype.createEl.call(this,t,e),e.innerHTML||(this.contentEl_=vjs.createEl("div",{className:"vjs-control-content"}),this.controlText_=vjs.createEl("span",{className:"vjs-control-text",innerHTML:this.localize(this.buttonText)||"Need Text"}),this.contentEl_.appendChild(this.controlText_),n.appendChild(this.contentEl_)),n},vjs.Button.prototype.buildCSSClass=function(){return"vjs-control "+vjs.Component.prototype.buildCSSClass.call(this)},vjs.Button.prototype.onClick=function(){},vjs.Button.prototype.onFocus=function(){vjs.on(document,"keydown",vjs.bind(this,this.onKeyPress))},vjs.Button.prototype.onKeyPress=function(t){32!=t.which&&13!=t.which||(t.preventDefault(),this.onClick())},vjs.Button.prototype.onBlur=function(){vjs.off(document,"keydown",vjs.bind(this,this.onKeyPress))},vjs.Slider=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.bar=this.getChild(this.options_.barName),this.handle=this.getChild(this.options_.handleName),this.on("mousedown",this.onMouseDown),this.on("touchstart",this.onMouseDown),this.on("focus",this.onFocus),this.on("blur",this.onBlur),this.on("click",this.onClick),this.on(t,"controlsvisible",this.update),this.on(t,this.playerEvent,this.update)}}),vjs.Slider.prototype.createEl=function(t,e){return e=e||{},e.className=e.className+" vjs-slider",e=vjs.obj.merge({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},e),vjs.Component.prototype.createEl.call(this,t,e)},vjs.Slider.prototype.onMouseDown=function(t){t.preventDefault(),vjs.blockTextSelection(),this.addClass("vjs-sliding"),this.on(document,"mousemove",this.onMouseMove),this.on(document,"mouseup",this.onMouseUp),this.on(document,"touchmove",this.onMouseMove),this.on(document,"touchend",this.onMouseUp),this.onMouseMove(t)},vjs.Slider.prototype.onMouseMove=function(){},vjs.Slider.prototype.onMouseUp=function(){vjs.unblockTextSelection(),this.removeClass("vjs-sliding"),this.off(document,"mousemove",this.onMouseMove),this.off(document,"mouseup",this.onMouseUp),this.off(document,"touchmove",this.onMouseMove),this.off(document,"touchend",this.onMouseUp),this.update()},vjs.Slider.prototype.update=function(){if(this.el_){var t,e=this.getPercent(),n=this.handle,i=this.bar;if(("number"!=typeof e||e!==e||e<0||e===Infinity)&&(e=0),t=e,n){var o=this.el_,r=o.offsetWidth,s=n.el().offsetWidth,a=s?s/r:0,c=1-a,l=e*c;t=l+a/2,n.el().style.left=vjs.round(100*l,2)+"%"}i&&(i.el().style.width=vjs.round(100*t,2)+"%")}},vjs.Slider.prototype.calculateDistance=function(t){var e,n,i,o,r,s,a,c,l;if(e=this.el_,n=vjs.findPosition(e),r=s=e.offsetWidth,a=this.handle,this.options().vertical){if(o=n.top,l=t.changedTouches?t.changedTouches[0].pageY:t.pageY,a){var u=a.el().offsetHeight;o+=u/2,s-=u}return Math.max(0,Math.min(1,(o-l+s)/s))}if(i=n.left,c=t.changedTouches?t.changedTouches[0].pageX:t.pageX,a){var d=a.el().offsetWidth;i+=d/2,r-=d}return Math.max(0,Math.min(1,(c-i)/r))},vjs.Slider.prototype.onFocus=function(){this.on(document,"keydown",this.onKeyPress)},vjs.Slider.prototype.onKeyPress=function(t){37==t.which||40==t.which?(t.preventDefault(),this.stepBack()):38!=t.which&&39!=t.which||(t.preventDefault(),this.stepForward())},vjs.Slider.prototype.onBlur=function(){this.off(document,"keydown",this.onKeyPress)},vjs.Slider.prototype.onClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},vjs.SliderHandle=vjs.Component.extend(),vjs.SliderHandle.prototype.defaultValue=0,vjs.SliderHandle.prototype.createEl=function(t,e){return e=e||{},e.className=e.className+" vjs-slider-handle",e=vjs.obj.merge({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},e),vjs.Component.prototype.createEl.call(this,"div",e)},vjs.Menu=vjs.Component.extend(),vjs.Menu.prototype.addItem=function(t){this.addChild(t),t.on("click",vjs.bind(this,function(){this.unlockShowing()}))},vjs.Menu.prototype.createEl=function(){var t=this.options().contentElType||"ul";this.contentEl_=vjs.createEl(t,{className:"vjs-menu-content"});var e=vjs.Component.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return e.appendChild(this.contentEl_),vjs.on(e,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),e},vjs.MenuItem=vjs.Button.extend({init:function(t,e){vjs.Button.call(this,t,e),this.selected(e.selected)}}),vjs.MenuItem.prototype.createEl=function(t,e){return vjs.Button.prototype.createEl.call(this,"li",vjs.obj.merge({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label)},e))},vjs.MenuItem.prototype.onClick=function(){this.selected(!0)},vjs.MenuItem.prototype.selected=function(t){t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-selected",!0)):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-selected",!1))},vjs.MenuButton=vjs.Button.extend({init:function(t,e){vjs.Button.call(this,t,e),this.update(),this.on("keydown",this.onKeyPress),this.el_.setAttribute("aria-haspopup",!0),this.el_.setAttribute("role","button")}}),vjs.MenuButton.prototype.update=function(){var t=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=t,this.addChild(t),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},vjs.MenuButton.prototype.buttonPressed_=!1,vjs.MenuButton.prototype.createMenu=function(){var t=new vjs.Menu(this.player_);if(this.options().title&&t.contentEl().appendChild(vjs.createEl("li",{className:"vjs-menu-title",innerHTML:vjs.capitalize(this.options().title),tabindex:-1})),this.items=this.createItems(),this.items)for(var e=0;e<this.items.length;e++)t.addItem(this.items[e]);return t},vjs.MenuButton.prototype.createItems=function(){},vjs.MenuButton.prototype.buildCSSClass=function(){return this.className+" vjs-menu-button "+vjs.Button.prototype.buildCSSClass.call(this)},vjs.MenuButton.prototype.onFocus=function(){},vjs.MenuButton.prototype.onBlur=function(){},vjs.MenuButton.prototype.onClick=function(){this.one("mouseout",vjs.bind(this,function(){this.menu.unlockShowing(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},vjs.MenuButton.prototype.onKeyPress=function(t){32==t.which||13==t.which?(this.buttonPressed_?this.unpressButton():this.pressButton(),t.preventDefault()):27==t.which&&(this.buttonPressed_&&this.unpressButton(),t.preventDefault())},vjs.MenuButton.prototype.pressButton=function(){this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-pressed",!0),this.items&&this.items.length>0&&this.items[0].el().focus()},vjs.MenuButton.prototype.unpressButton=function(){this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-pressed",!1)},vjs.MediaError=function(t){"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:"object"==typeof t&&vjs.obj.merge(this,t),this.message||(this.message=vjs.MediaError.defaultMessages[this.code]||"")},vjs.MediaError.prototype.code=0,vjs.MediaError.prototype.message="",vjs.MediaError.prototype.status=null,vjs.MediaError.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],vjs.MediaError.defaultMessages={1:"You aborted the video playback",2:"A network error caused the video download to fail part-way.",3:"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.",4:"The video could not be loaded, either because the server or network failed or because the format is not supported.",5:"The video is encrypted and we do not have the keys to decrypt it."};for(var errNum=0;errNum<vjs.MediaError.errorTypes.length;errNum++)vjs.MediaError[vjs.MediaError.errorTypes[errNum]]=errNum,vjs.MediaError.prototype[vjs.MediaError.errorTypes[errNum]]=errNum;if(function(){var t,e,n,i;for(vjs.browser.fullscreenAPI,t=[["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"]],e=t[0],i=0;i<t.length;i++)if(t[i][1]in document){n=t[i];break}if(n)for(vjs.browser.fullscreenAPI={},i=0;i<n.length;i++)vjs.browser.fullscreenAPI[e[i]]=n[i]}(),vjs.Player=vjs.Component.extend({init:function(t,e,n){this.tag=t,t.id=t.id||"vjs_video_"+vjs.guid++,this.tagAttributes=t&&vjs.getElementAttributes(t),e=vjs.obj.merge(this.getTagSettings(t),e),this.language_=e.language||vjs.options.language,this.languages_=e.languages||vjs.options.languages,this.cache_={},this.poster_=e.poster||"",this.controls_=!!e.controls,t.controls=!1,e.reportTouchActivity=!1,this.isAudio("audio"===this.tag.nodeName.toLowerCase()),vjs.Component.call(this,this,e,n),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.isAudio()&&this.addClass("vjs-audio"),vjs.players[this.id_]=this,e.plugins&&vjs.obj.each(e.plugins,function(t,e){this[t](e)},this),this.listenForUserActivity()}}),vjs.Player.prototype.language_,vjs.Player.prototype.language=function(t){return t===undefined?this.language_:(this.language_=t,this)},vjs.Player.prototype.languages_,vjs.Player.prototype.languages=function(){return this.languages_},vjs.Player.prototype.options_=vjs.options,vjs.Player.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),vjs.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech&&this.tech.dispose(),vjs.Component.prototype.dispose.call(this)},vjs.Player.prototype.getTagSettings=function(t){var e,n,i={sources:[],tracks:[]};if(e=vjs.getElementAttributes(t),n=e["data-setup"],null!==n&&vjs.obj.merge(e,vjs.JSON.parse(n||"{}")),vjs.obj.merge(i,e),t.hasChildNodes()){var o,r,s,a,c;for(o=t.childNodes,a=0,c=o.length;a<c;a++)r=o[a],s=r.nodeName.toLowerCase(),"source"===s?i.sources.push(vjs.getElementAttributes(r)):"track"===s&&i.tracks.push(vjs.getElementAttributes(r))}return i},vjs.Player.prototype.createEl=function(){var t,e=this.el_=vjs.Component.prototype.createEl.call(this,"div"),n=this.tag;return n.removeAttribute("width"),n.removeAttribute("height"),t=vjs.getElementAttributes(n),vjs.obj.each(t,function(n){"class"==n?e.className=t[n]:e.setAttribute(n,t[n])}),n.id+="_html5_api",n.className="vjs-tech",n.player=e.player=this,this.addClass("vjs-paused"),this.width(this.options_.width,!0),this.height(this.options_.height,!0),n.initNetworkState_=n.networkState,n.parentNode&&n.parentNode.insertBefore(e,n),vjs.insertFirst(n,e),this.el_=e,this.on("loadstart",this.onLoadStart),this.on("waiting",this.onWaiting),this.on(["canplay","canplaythrough","playing","ended"],this.onWaitEnd),this.on("seeking",this.onSeeking),this.on("seeked",this.onSeeked),this.on("ended",this.onEnded),this.on("play",this.onPlay),this.on("firstplay",this.onFirstPlay),this.on("pause",this.onPause),this.on("progress",this.onProgress),this.on("durationchange",this.onDurationChange),this.on("fullscreenchange",this.onFullscreenChange),e},vjs.Player.prototype.loadTech=function(t,e){this.tech&&this.unloadTech(),"Html5"!==t&&this.tag&&(vjs.Html5.disposeMediaElement(this.tag),this.tag=null),this.techName=t,this.isReady_=!1;var n=function(){this.player_.triggerReady()},i=vjs.obj.merge({source:e,parentEl:this.el_},this.options_[t.toLowerCase()]);e&&(this.currentType_=e.type,e.src==this.cache_.src&&this.cache_.currentTime>0&&(i.startTime=this.cache_.currentTime),this.cache_.src=e.src),this.tech=new window.videojs[t](this,i),this.tech.ready(n)},vjs.Player.prototype.unloadTech=function(){this.isReady_=!1,this.tech.dispose(),this.tech=!1},vjs.Player.prototype.onLoadStart=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?this.hasStarted(!1):this.trigger("firstplay")},vjs.Player.prototype.hasStarted_=!1,vjs.Player.prototype.hasStarted=function(t){return t!==undefined?(this.hasStarted_!==t&&(this.hasStarted_=t,t?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):this.hasStarted_},vjs.Player.prototype.onLoadedMetaData,vjs.Player.prototype.onLoadedData,vjs.Player.prototype.onLoadedAllData,vjs.Player.prototype.onPlay=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0)},vjs.Player.prototype.onWaiting=function(){this.addClass("vjs-waiting")},vjs.Player.prototype.onWaitEnd=function(){this.removeClass("vjs-waiting")},vjs.Player.prototype.onSeeking=function(){this.addClass("vjs-seeking")},vjs.Player.prototype.onSeeked=function(){this.removeClass("vjs-seeking")},vjs.Player.prototype.onFirstPlay=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started")},vjs.Player.prototype.onPause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused")},vjs.Player.prototype.onTimeUpdate,vjs.Player.prototype.onProgress=function(){1==this.bufferedPercent()&&this.trigger("loadedalldata")},vjs.Player.prototype.onEnded=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause()},vjs.Player.prototype.onDurationChange=function(){var t=this.techGet("duration");t&&(t<0&&(t=Infinity),this.duration(t),t===Infinity?this.addClass("vjs-live"):this.removeClass("vjs-live"))},vjs.Player.prototype.onVolumeChange,vjs.Player.prototype.onFullscreenChange=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},vjs.Player.prototype.onError,vjs.Player.prototype.cache_,vjs.Player.prototype.getCache=function(){return this.cache_},vjs.Player.prototype.techCall=function(t,e){if(this.tech&&!this.tech.isReady_)this.tech.ready(function(){this[t](e)});else try{this.tech[t](e)}catch(t){throw vjs.log(t),t}},vjs.Player.prototype.techGet=function(t){if(this.tech&&this.tech.isReady_)try{return this.tech[t]()}catch(e){throw this.tech[t]===undefined?vjs.log("Video.js: "+t+" method not defined for "+this.techName+" playback technology.",e):"TypeError"==e.name?(vjs.log("Video.js: "+t+" unavailable on "+this.techName+" playback technology element.",e),this.tech.isReady_=!1):vjs.log(e),e}},vjs.Player.prototype.play=function(){return this.techCall("play"),this},vjs.Player.prototype.pause=function(){return this.techCall("pause"),this},vjs.Player.prototype.paused=function(){return!1!==this.techGet("paused")},vjs.Player.prototype.currentTime=function(t){return t!==undefined?(this.techCall("setCurrentTime",t),this):this.cache_.currentTime=this.techGet("currentTime")||0},vjs.Player.prototype.duration=function(t){return t!==undefined?(this.cache_.duration=parseFloat(t),this):(this.cache_.duration===undefined&&this.onDurationChange(),this.cache_.duration||0)},vjs.Player.prototype.remainingTime=function(){return this.duration()-this.currentTime()},vjs.Player.prototype.buffered=function(){var t=this.techGet("buffered");return t&&t.length||(t=vjs.createTimeRange(0,0)),t},vjs.Player.prototype.bufferedPercent=function(){var t,e,n=this.duration(),i=this.buffered(),o=0;if(!n)return 0;for(var r=0;r<i.length;r++)t=i.start(r),e=i.end(r),e>n&&(e=n),o+=e-t;return o/n},vjs.Player.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),n=t.end(t.length-1);return n>e&&(n=e),n},vjs.Player.prototype.volume=function(t){var e;return t!==undefined?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall("setVolume",e),vjs.setLocalStorage("volume",e),this):(e=parseFloat(this.techGet("volume")),isNaN(e)?1:e)},vjs.Player.prototype.muted=function(t){return t!==undefined?(this.techCall("setMuted",t),this):this.techGet("muted")||!1},vjs.Player.prototype.supportsFullScreen=function(){return this.techGet("supportsFullScreen")||!1},vjs.Player.prototype.isFullscreen_=!1,vjs.Player.prototype.isFullscreen=function(t){return t!==undefined?(this.isFullscreen_=!!t,this):this.isFullscreen_},vjs.Player.prototype.isFullScreen=function(t){return vjs.log.warn('player.isFullScreen() has been deprecated, use player.isFullscreen() with a lowercase "s")'),this.isFullscreen(t)},vjs.Player.prototype.requestFullscreen=function(){var t=vjs.browser.fullscreenAPI;return this.isFullscreen(!0),t?(vjs.on(document,t.fullscreenchange,vjs.bind(this,function(){this.isFullscreen(document[t.fullscreenElement]),!1===this.isFullscreen()&&vjs.off(document,t.fullscreenchange,arguments.callee),this.trigger("fullscreenchange")})),this.el_[t.requestFullscreen]()):this.tech.supportsFullScreen()?this.techCall("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},vjs.Player.prototype.requestFullScreen=function(){return vjs.log.warn('player.requestFullScreen() has been deprecated, use player.requestFullscreen() with a lowercase "s")'),this.requestFullscreen()},vjs.Player.prototype.exitFullscreen=function(){var t=vjs.browser.fullscreenAPI;return this.isFullscreen(!1),t?document[t.exitFullscreen]():this.tech.supportsFullScreen()?this.techCall("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},vjs.Player.prototype.cancelFullScreen=function(){return vjs.log.warn("player.cancelFullScreen() has been deprecated, use player.exitFullscreen()"),this.exitFullscreen()},vjs.Player.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=document.documentElement.style.overflow,vjs.on(document,"keydown",vjs.bind(this,this.fullWindowOnEscKey)),document.documentElement.style.overflow="hidden",vjs.addClass(document.body,"vjs-full-window"),this.trigger("enterFullWindow")},vjs.Player.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},vjs.Player.prototype.exitFullWindow=function(){this.isFullWindow=!1,vjs.off(document,"keydown",this.fullWindowOnEscKey),document.documentElement.style.overflow=this.docOrigOverflow,vjs.removeClass(document.body,"vjs-full-window"),this.trigger("exitFullWindow")},vjs.Player.prototype.selectSource=function(t){for(var e=0,n=this.options_.techOrder;e<n.length;e++){var i=vjs.capitalize(n[e]),o=window.videojs[i];if(o){if(o.isSupported())for(var r=0,s=t;r<s.length;r++){var a=s[r];if(o.canPlaySource(a))return{source:a,tech:i}}}else vjs.log.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return!1},vjs.Player.prototype.src=function(t){return t===undefined?this.techGet("src"):(vjs.obj.isArray(t)?this.sourceList_(t):"string"==typeof t?this.src({src:t}):t instanceof Object&&(t.type&&!window.videojs[this.techName].canPlaySource(t)?this.sourceList_([t]):(this.cache_.src=t.src,this.currentType_=t.type||"",this.ready(function(){window.videojs[this.techName].prototype.hasOwnProperty("setSource")?this.techCall("setSource",t):this.techCall("src",t.src),"auto"==this.options_.preload&&this.load(),this.options_.autoplay&&this.play()}))),this)},vjs.Player.prototype.sourceList_=function(t){var e=this.selectSource(t);e?e.tech===this.techName?this.src(e.source):this.loadTech(e.tech,e.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options().notSupportedMessage)})},0),this.triggerReady())},vjs.Player.prototype.load=function(){return this.techCall("load"),this},vjs.Player.prototype.currentSrc=function(){return this.techGet("currentSrc")||this.cache_.src||""},vjs.Player.prototype.currentType=function(){return this.currentType_||""},vjs.Player.prototype.preload=function(t){return t!==undefined?(this.techCall("setPreload",t),this.options_.preload=t,this):this.techGet("preload")},vjs.Player.prototype.autoplay=function(t){return t!==undefined?(this.techCall("setAutoplay",t),this.options_.autoplay=t,this):this.techGet("autoplay",t)},vjs.Player.prototype.loop=function(t){return t!==undefined?(this.techCall("setLoop",t),this.options_.loop=t,this):this.techGet("loop")},vjs.Player.prototype.poster_,vjs.Player.prototype.poster=function(t){return t===undefined?this.poster_:(t||(t=""),this.poster_=t,this.techCall("setPoster",t),this.trigger("posterchange"),this)},vjs.Player.prototype.controls_,vjs.Player.prototype.controls=function(t){return t!==undefined?(t=!!t,this.controls_!==t&&(this.controls_=t,t?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled")):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"))),this):this.controls_},vjs.Player.prototype.usingNativeControls_,vjs.Player.prototype.usingNativeControls=function(t){return t!==undefined?(t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,t?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):this.usingNativeControls_},vjs.Player.prototype.error_=null,vjs.Player.prototype.error=function(t){return t===undefined?this.error_:null===t?(this.error_=t,this.removeClass("vjs-error"),this):(t instanceof vjs.MediaError?this.error_=t:this.error_=new vjs.MediaError(t),this.trigger("error"),this.addClass("vjs-error"),vjs.log.error("(CODE:"+this.error_.code+" "+vjs.MediaError.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this)},vjs.Player.prototype.ended=function(){return this.techGet("ended")},vjs.Player.prototype.seeking=function(){return this.techGet("seeking")},vjs.Player.prototype.seekable=function(){return this.techGet("seekable")},vjs.Player.prototype.userActivity_=!0,vjs.Player.prototype.reportUserActivity=function(){this.userActivity_=!0},vjs.Player.prototype.userActive_=!0,vjs.Player.prototype.userActive=function(t){return t!==undefined?(t=!!t,t!==this.userActive_&&(this.userActive_=t,t?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech&&this.tech.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},vjs.Player.prototype.listenForUserActivity=function(){var t,e,n,i,o,r,s,a;t=vjs.bind(this,this.reportUserActivity),e=function(e){e.screenX==s&&e.screenY==a||(s=e.screenX,a=e.screenY,t())},n=function(){t(),this.clearInterval(i),i=this.setInterval(t,250)},o=function(){t(),this.clearInterval(i)},this.on("mousedown",n),this.on("mousemove",e),this.on("mouseup",o),this.on("keydown",t),this.on("keyup",t),this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(r);var t=this.options().inactivityTimeout;t>0&&(r=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},vjs.Player.prototype.playbackRate=function(t){return t!==undefined?(this.techCall("setPlaybackRate",t),this):this.tech&&this.tech.featuresPlaybackRate?this.techGet("playbackRate"):1},vjs.Player.prototype.isAudio_=!1,vjs.Player.prototype.isAudio=function(t){return t!==undefined?(this.isAudio_=!!t,this):this.isAudio_},vjs.Player.prototype.networkState=function(){return this.techGet("networkState")},vjs.Player.prototype.readyState=function(){return this.techGet("readyState")},vjs.Player.prototype.textTracks=function(){return this.tech&&this.tech.textTracks()},vjs.Player.prototype.remoteTextTracks=function(){return this.tech&&this.tech.remoteTextTracks()},vjs.Player.prototype.addTextTrack=function(t,e,n){return this.tech&&this.tech.addTextTrack(t,e,n)},vjs.Player.prototype.addRemoteTextTrack=function(t){return this.tech&&this.tech.addRemoteTextTrack(t)},vjs.Player.prototype.removeRemoteTextTrack=function(t){this.tech&&this.tech.removeRemoteTextTrack(t)},vjs.ControlBar=vjs.Component.extend(),vjs.ControlBar.prototype.options_={loadEvent:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{},playbackRateMenuButton:{},subtitlesButton:{},captionsButton:{},chaptersButton:{}}},vjs.ControlBar.prototype.createEl=function(){return vjs.createEl("div",{className:"vjs-control-bar"})},vjs.LiveDisplay=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e)}}),vjs.LiveDisplay.prototype.createEl=function(){var t=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-live-controls vjs-control"});return this.contentEl_=vjs.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE"),"aria-live":"off"}),t.appendChild(this.contentEl_),t},vjs.PlayToggle=vjs.Button.extend({init:function(t,e){vjs.Button.call(this,t,e),this.on(t,"play",this.onPlay),this.on(t,"pause",this.onPause)}}),vjs.PlayToggle.prototype.buttonText="Play",vjs.PlayToggle.prototype.buildCSSClass=function(){return"vjs-play-control "+vjs.Button.prototype.buildCSSClass.call(this)},vjs.PlayToggle.prototype.onClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},vjs.PlayToggle.prototype.onPlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.el_.children[0].children[0].innerHTML=this.localize("Pause")},vjs.PlayToggle.prototype.onPause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.el_.children[0].children[0].innerHTML=this.localize("Play")},vjs.CurrentTimeDisplay=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.on(t,"timeupdate",this.updateContent)}}),vjs.CurrentTimeDisplay.prototype.createEl=function(){var t=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});return this.contentEl_=vjs.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"}),t.appendChild(this.contentEl_),t},vjs.CurrentTimeDisplay.prototype.updateContent=function(){var t=this.player_.scrubbing?this.player_.getCache().currentTime:this.player_.currentTime()
;this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.localize("Current Time")+"</span> "+vjs.formatTime(t,this.player_.duration())},vjs.DurationDisplay=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.on(t,"timeupdate",this.updateContent),this.on(t,"loadedmetadata",this.updateContent)}}),vjs.DurationDisplay.prototype.createEl=function(){var t=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});return this.contentEl_=vjs.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00","aria-live":"off"}),t.appendChild(this.contentEl_),t},vjs.DurationDisplay.prototype.updateContent=function(){var t=this.player_.duration();t&&(this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> "+vjs.formatTime(t))},vjs.TimeDivider=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e)}}),vjs.TimeDivider.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},vjs.RemainingTimeDisplay=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.on(t,"timeupdate",this.updateContent)}}),vjs.RemainingTimeDisplay.prototype.createEl=function(){var t=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});return this.contentEl_=vjs.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00","aria-live":"off"}),t.appendChild(this.contentEl_),t},vjs.RemainingTimeDisplay.prototype.updateContent=function(){this.player_.duration()&&(this.contentEl_.innerHTML='<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -"+vjs.formatTime(this.player_.remainingTime()))},vjs.FullscreenToggle=vjs.Button.extend({init:function(t,e){vjs.Button.call(this,t,e)}}),vjs.FullscreenToggle.prototype.buttonText="Fullscreen",vjs.FullscreenToggle.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+vjs.Button.prototype.buildCSSClass.call(this)},vjs.FullscreenToggle.prototype.onClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText_.innerHTML=this.localize("Fullscreen")):(this.player_.requestFullscreen(),this.controlText_.innerHTML=this.localize("Non-Fullscreen"))},vjs.ProgressControl=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e)}}),vjs.ProgressControl.prototype.options_={children:{seekBar:{}}},vjs.ProgressControl.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},vjs.SeekBar=vjs.Slider.extend({init:function(t,e){vjs.Slider.call(this,t,e),this.on(t,"timeupdate",this.updateARIAAttributes),t.ready(vjs.bind(this,this.updateARIAAttributes))}}),vjs.SeekBar.prototype.options_={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"},vjs.SeekBar.prototype.playerEvent="timeupdate",vjs.SeekBar.prototype.createEl=function(){return vjs.Slider.prototype.createEl.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})},vjs.SeekBar.prototype.updateARIAAttributes=function(){var t=this.player_.scrubbing?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("aria-valuenow",vjs.round(100*this.getPercent(),2)),this.el_.setAttribute("aria-valuetext",vjs.formatTime(t,this.player_.duration()))},vjs.SeekBar.prototype.getPercent=function(){return this.player_.currentTime()/this.player_.duration()},vjs.SeekBar.prototype.onMouseDown=function(t){vjs.Slider.prototype.onMouseDown.call(this,t),this.player_.scrubbing=!0,this.player_.addClass("vjs-scrubbing"),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},vjs.SeekBar.prototype.onMouseMove=function(t){var e=this.calculateDistance(t)*this.player_.duration();e==this.player_.duration()&&(e-=.1),this.player_.currentTime(e)},vjs.SeekBar.prototype.onMouseUp=function(t){vjs.Slider.prototype.onMouseUp.call(this,t),this.player_.scrubbing=!1,this.player_.removeClass("vjs-scrubbing"),this.videoWasPlaying&&this.player_.play()},vjs.SeekBar.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},vjs.SeekBar.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},vjs.LoadProgressBar=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.on(t,"progress",this.update)}}),vjs.LoadProgressBar.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},vjs.LoadProgressBar.prototype.update=function(){var t,e,n,i,o=this.player_.buffered(),r=this.player_.duration(),s=this.player_.bufferedEnd(),a=this.el_.children,c=function(t,e){return 100*(t/e||0)+"%"};for(this.el_.style.width=c(s,r),t=0;t<o.length;t++)e=o.start(t),n=o.end(t),i=a[t],i||(i=this.el_.appendChild(vjs.createEl())),i.style.left=c(e,s),i.style.width=c(n-e,s);for(t=a.length;t>o.length;t--)this.el_.removeChild(a[t-1])},vjs.PlayProgressBar=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e)}}),vjs.PlayProgressBar.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},vjs.SeekHandle=vjs.SliderHandle.extend({init:function(t,e){vjs.SliderHandle.call(this,t,e),this.on(t,"timeupdate",this.updateContent)}}),vjs.SeekHandle.prototype.defaultValue="00:00",vjs.SeekHandle.prototype.createEl=function(){return vjs.SliderHandle.prototype.createEl.call(this,"div",{className:"vjs-seek-handle","aria-live":"off"})},vjs.SeekHandle.prototype.updateContent=function(){var t=this.player_.scrubbing?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.innerHTML='<span class="vjs-control-text">'+vjs.formatTime(t,this.player_.duration())+"</span>"},vjs.VolumeControl=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),t.tech&&!1===t.tech.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(t,"loadstart",function(){!1===t.tech.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}}),vjs.VolumeControl.prototype.options_={children:{volumeBar:{}}},vjs.VolumeControl.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},vjs.VolumeBar=vjs.Slider.extend({init:function(t,e){vjs.Slider.call(this,t,e),this.on(t,"volumechange",this.updateARIAAttributes),t.ready(vjs.bind(this,this.updateARIAAttributes))}}),vjs.VolumeBar.prototype.updateARIAAttributes=function(){this.el_.setAttribute("aria-valuenow",vjs.round(100*this.player_.volume(),2)),this.el_.setAttribute("aria-valuetext",vjs.round(100*this.player_.volume(),2)+"%")},vjs.VolumeBar.prototype.options_={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"},vjs.VolumeBar.prototype.playerEvent="volumechange",vjs.VolumeBar.prototype.createEl=function(){return vjs.Slider.prototype.createEl.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})},vjs.VolumeBar.prototype.onMouseMove=function(t){this.player_.muted()&&this.player_.muted(!1),this.player_.volume(this.calculateDistance(t))},vjs.VolumeBar.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},vjs.VolumeBar.prototype.stepForward=function(){this.player_.volume(this.player_.volume()+.1)},vjs.VolumeBar.prototype.stepBack=function(){this.player_.volume(this.player_.volume()-.1)},vjs.VolumeLevel=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e)}}),vjs.VolumeLevel.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},vjs.VolumeHandle=vjs.SliderHandle.extend(),vjs.VolumeHandle.prototype.defaultValue="00:00",vjs.VolumeHandle.prototype.createEl=function(){return vjs.SliderHandle.prototype.createEl.call(this,"div",{className:"vjs-volume-handle"})},vjs.MuteToggle=vjs.Button.extend({init:function(t,e){vjs.Button.call(this,t,e),this.on(t,"volumechange",this.update),t.tech&&!1===t.tech.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(t,"loadstart",function(){!1===t.tech.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}}),vjs.MuteToggle.prototype.createEl=function(){return vjs.Button.prototype.createEl.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.localize("Mute")+"</span></div>"})},vjs.MuteToggle.prototype.onClick=function(){this.player_.muted(!this.player_.muted())},vjs.MuteToggle.prototype.update=function(){var t=this.player_.volume(),e=3;0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2),this.player_.muted()?this.el_.children[0].children[0].innerHTML!=this.localize("Unmute")&&(this.el_.children[0].children[0].innerHTML=this.localize("Unmute")):this.el_.children[0].children[0].innerHTML!=this.localize("Mute")&&(this.el_.children[0].children[0].innerHTML=this.localize("Mute"));for(var n=0;n<4;n++)vjs.removeClass(this.el_,"vjs-vol-"+n);vjs.addClass(this.el_,"vjs-vol-"+e)},vjs.VolumeMenuButton=vjs.MenuButton.extend({init:function(t,e){vjs.MenuButton.call(this,t,e),this.on(t,"volumechange",this.volumeUpdate),t.tech&&!1===t.tech.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(t,"loadstart",function(){!1===t.tech.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),this.addClass("vjs-menu-button")}}),vjs.VolumeMenuButton.prototype.createMenu=function(){var t=new vjs.Menu(this.player_,{contentElType:"div"}),e=new vjs.VolumeBar(this.player_,this.options_.volumeBar);return e.on("focus",function(){t.lockShowing()}),e.on("blur",function(){t.unlockShowing()}),t.addChild(e),t},vjs.VolumeMenuButton.prototype.onClick=function(){vjs.MuteToggle.prototype.onClick.call(this),vjs.MenuButton.prototype.onClick.call(this)},vjs.VolumeMenuButton.prototype.createEl=function(){return vjs.Button.prototype.createEl.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.localize("Mute")+"</span></div>"})},vjs.VolumeMenuButton.prototype.volumeUpdate=vjs.MuteToggle.prototype.update,vjs.PlaybackRateMenuButton=vjs.MenuButton.extend({init:function(t,e){vjs.MenuButton.call(this,t,e),this.updateVisibility(),this.updateLabel(),this.on(t,"loadstart",this.updateVisibility),this.on(t,"ratechange",this.updateLabel)}}),vjs.PlaybackRateMenuButton.prototype.buttonText="Playback Rate",vjs.PlaybackRateMenuButton.prototype.className="vjs-playback-rate",vjs.PlaybackRateMenuButton.prototype.createEl=function(){var t=vjs.MenuButton.prototype.createEl.call(this);return this.labelEl_=vjs.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},vjs.PlaybackRateMenuButton.prototype.createMenu=function(){var t=new vjs.Menu(this.player()),e=this.player().options().playbackRates;if(e)for(var n=e.length-1;n>=0;n--)t.addChild(new vjs.PlaybackRateMenuItem(this.player(),{rate:e[n]+"x"}));return t},vjs.PlaybackRateMenuButton.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},vjs.PlaybackRateMenuButton.prototype.onClick=function(){for(var t=this.player().playbackRate(),e=this.player().options().playbackRates,n=e[0],i=0;i<e.length;i++)if(e[i]>t){n=e[i];break}this.player().playbackRate(n)},vjs.PlaybackRateMenuButton.prototype.playbackRateSupported=function(){return this.player().tech&&this.player().tech.featuresPlaybackRate&&this.player().options().playbackRates&&this.player().options().playbackRates.length>0},vjs.PlaybackRateMenuButton.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},vjs.PlaybackRateMenuButton.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},vjs.PlaybackRateMenuItem=vjs.MenuItem.extend({contentElType:"button",init:function(t,e){var n=this.label=e.rate,i=this.rate=parseFloat(n,10);e.label=n,e.selected=1===i,vjs.MenuItem.call(this,t,e),this.on(t,"ratechange",this.update)}}),vjs.PlaybackRateMenuItem.prototype.onClick=function(){vjs.MenuItem.prototype.onClick.call(this),this.player().playbackRate(this.rate)},vjs.PlaybackRateMenuItem.prototype.update=function(){this.selected(this.player().playbackRate()==this.rate)},vjs.PosterImage=vjs.Button.extend({init:function(t,e){vjs.Button.call(this,t,e),this.update(),t.on("posterchange",vjs.bind(this,this.update))}}),vjs.PosterImage.prototype.dispose=function(){this.player().off("posterchange",this.update),vjs.Button.prototype.dispose.call(this)},vjs.PosterImage.prototype.createEl=function(){var t=vjs.createEl("div",{className:"vjs-poster",tabIndex:-1});return vjs.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=vjs.createEl("img"),t.appendChild(this.fallbackImg_)),t},vjs.PosterImage.prototype.update=function(){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},vjs.PosterImage.prototype.setSrc=function(t){var e;this.fallbackImg_?this.fallbackImg_.src=t:(e="",t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e)},vjs.PosterImage.prototype.onClick=function(){this.player_.play()},vjs.LoadingSpinner=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e)}}),vjs.LoadingSpinner.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner"})},vjs.BigPlayButton=vjs.Button.extend(),vjs.BigPlayButton.prototype.createEl=function(){return vjs.Button.prototype.createEl.call(this,"div",{className:"vjs-big-play-button",innerHTML:'<span aria-hidden="true"></span>',"aria-label":"play video"})},vjs.BigPlayButton.prototype.onClick=function(){this.player_.play()},vjs.ErrorDisplay=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.update(),this.on(t,"error",this.update)}}),vjs.ErrorDisplay.prototype.createEl=function(){var t=vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-error-display"});return this.contentEl_=vjs.createEl("div"),t.appendChild(this.contentEl_),t},vjs.ErrorDisplay.prototype.update=function(){this.player().error()&&(this.contentEl_.innerHTML=this.localize(this.player().error().message))},function(){var t;vjs.MediaTechController=vjs.Component.extend({init:function(t,e,n){e=e||{},e.reportTouchActivity=!1,vjs.Component.call(this,t,e,n),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),this.initControlsListeners(),this.featuresNativeTextTracks||this.emulateTextTracks(),this.initTextTrackListeners()}}),vjs.MediaTechController.prototype.initControlsListeners=function(){var t,e;t=this.player(),e=function(){t.controls()&&!t.usingNativeControls()&&this.addControlsListeners()},this.ready(e),this.on(t,"controlsenabled",e),this.on(t,"controlsdisabled",this.removeControlsListeners),this.ready(function(){this.networkState&&this.networkState()>0&&this.player().trigger("loadstart")})},vjs.MediaTechController.prototype.addControlsListeners=function(){var t;this.on("mousedown",this.onClick),this.on("touchstart",function(){t=this.player_.userActive()}),this.on("touchmove",function(){t&&this.player().reportUserActivity()}),this.on("touchend",function(t){t.preventDefault()}),this.emitTapEvents(),this.on("tap",this.onTap)},vjs.MediaTechController.prototype.removeControlsListeners=function(){this.off("tap"),this.off("touchstart"),this.off("touchmove"),this.off("touchleave"),this.off("touchcancel"),this.off("touchend"),this.off("click"),this.off("mousedown")},vjs.MediaTechController.prototype.onClick=function(t){0===t.button&&this.player().controls()&&(this.player().paused()?this.player().play():this.player().pause())},vjs.MediaTechController.prototype.onTap=function(){this.player().userActive(!this.player().userActive())},vjs.MediaTechController.prototype.manualProgressOn=function(){this.manualProgress=!0,this.trackProgress()},vjs.MediaTechController.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress()},vjs.MediaTechController.prototype.trackProgress=function(){this.progressInterval=this.setInterval(function(){var t=this.player().bufferedPercent();this.bufferedPercent_!=t&&this.player().trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()},500)},vjs.MediaTechController.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},vjs.MediaTechController.prototype.manualTimeUpdatesOn=function(){var t=this.player_;this.manualTimeUpdates=!0,this.on(t,"play",this.trackCurrentTime),this.on(t,"pause",this.stopTrackingCurrentTime),this.one("timeupdate",function(){this.featuresTimeupdateEvents=!0,this.manualTimeUpdatesOff()})},vjs.MediaTechController.prototype.manualTimeUpdatesOff=function(){var t=this.player_;this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off(t,"play",this.trackCurrentTime),this.off(t,"pause",this.stopTrackingCurrentTime)},vjs.MediaTechController.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.player().trigger("timeupdate")},250)},vjs.MediaTechController.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.player().trigger("timeupdate")},vjs.MediaTechController.prototype.dispose=function(){this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),vjs.Component.prototype.dispose.call(this)},vjs.MediaTechController.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.player().trigger("timeupdate")},vjs.MediaTechController.prototype.initTextTrackListeners=function(){var t,e=this.player_,n=function(){var t=e.getChild("textTrackDisplay");t&&t.updateDisplay()};(t=this.textTracks())&&(t.addEventListener("removetrack",n),t.addEventListener("addtrack",n),this.on("dispose",vjs.bind(this,function(){t.removeEventListener("removetrack",n),t.removeEventListener("addtrack",n)})))},vjs.MediaTechController.prototype.emulateTextTracks=function(){var t,e,n,i=this.player_;window.WebVTT||(n=document.createElement("script"),n.src=i.options()["vtt.js"]||"../node_modules/vtt.js/dist/vtt.js",i.el().appendChild(n),window.WebVTT=!0),(e=this.textTracks())&&(t=function(){var t,e,n;for(n=i.getChild("textTrackDisplay"),n.updateDisplay(),t=0;t<this.length;t++)e=this[t],e.removeEventListener("cuechange",vjs.bind(n,n.updateDisplay)),"showing"===e.mode&&e.addEventListener("cuechange",vjs.bind(n,n.updateDisplay))},e.addEventListener("change",t),this.on("dispose",vjs.bind(this,function(){e.removeEventListener("change",t)})))},vjs.MediaTechController.prototype.textTracks_,vjs.MediaTechController.prototype.textTracks=function(){return this.player_.textTracks_=this.player_.textTracks_||new vjs.TextTrackList,this.player_.textTracks_},vjs.MediaTechController.prototype.remoteTextTracks=function(){return this.player_.remoteTextTracks_=this.player_.remoteTextTracks_||new vjs.TextTrackList,this.player_.remoteTextTracks_},t=function(t,e,n,i,o){var r,s=t.textTracks();return o=o||{},o.kind=e,n&&(o.label=n),i&&(o.language=i),o.player=t.player_,r=new vjs.TextTrack(o),s.addTrack_(r),r},vjs.MediaTechController.prototype.addTextTrack=function(e,n,i){if(!e)throw new Error("TextTrack kind is required but was not provided");return t(this,e,n,i)},vjs.MediaTechController.prototype.addRemoteTextTrack=function(e){var n=t(this,e.kind,e.label,e.language,e);return this.remoteTextTracks().addTrack_(n),{track:n}},vjs.MediaTechController.prototype.removeRemoteTextTrack=function(t){this.textTracks().removeTrack_(t),this.remoteTextTracks().removeTrack_(t)},vjs.MediaTechController.prototype.setPoster=function(){},vjs.MediaTechController.prototype.featuresVolumeControl=!0,vjs.MediaTechController.prototype.featuresFullscreenResize=!1,vjs.MediaTechController.prototype.featuresPlaybackRate=!1,vjs.MediaTechController.prototype.featuresProgressEvents=!1,vjs.MediaTechController.prototype.featuresTimeupdateEvents=!1,vjs.MediaTechController.prototype.featuresNativeTextTracks=!1,vjs.MediaTechController.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var i=t.sourceHandlers;i||(i=t.sourceHandlers=[]),n===undefined&&(n=i.length),i.splice(n,0,e)},t.selectSourceHandler=function(e){for(var n=t.sourceHandlers||[],i=0;i<n.length;i++)if(n[i].canHandleSource(e))return n[i];return null},t.canPlaySource=function(e){var n=t.selectSourceHandler(e);return n?n.canHandleSource(e):""},t.prototype.setSource=function(e){var n=t.selectSourceHandler(e);return n||(t.nativeSourceHandler?n=t.nativeSourceHandler:vjs.log.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_=e,this.sourceHandler_=n.handleSource(e,this),this.on("dispose",this.disposeSourceHandler),this},t.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&this.sourceHandler_.dispose()}},vjs.media={}}(),vjs.Html5=vjs.MediaTechController.extend({init:function(t,e,n){var i,o,r,s,a;!1!==e.nativeCaptions&&!1!==e.nativeTextTracks||(this.featuresNativeTextTracks=!1),vjs.MediaTechController.call(this,t,e,n),this.setupTriggers();var c=e.source;if(c&&(this.el_.currentSrc!==c.src||t.tag&&3===t.tag.initNetworkState_)&&this.setSource(c),this.el_.hasChildNodes()){for(i=this.el_.childNodes,o=i.length,a=[];o--;)s=i[o],"track"===s.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?this.remoteTextTracks().addTrack_(s.track):a.push(s));for(r=0;r<a.length;r++)this.el_.removeChild(a[r])}vjs.TOUCH_ENABLED&&!0===t.options().nativeControlsForTouch&&this.useNativeControls(),t.ready(function(){this.src()&&this.tag&&this.options_.autoplay&&this.paused()&&(delete this.tag.poster,this.play())}),this.triggerReady()}}),vjs.Html5.prototype.dispose=function(){vjs.Html5.disposeMediaElement(this.el_),vjs.MediaTechController.prototype.dispose.call(this)},vjs.Html5.prototype.createEl=function(){var t,e,n,i,o,r=this.player_,s=r.tag;if(!s||!1===this.movingMediaElementInDOM){if(s?(o=s.cloneNode(!1),vjs.Html5.disposeMediaElement(s),s=o,r.tag=null):(s=vjs.createEl("video"),i=videojs.util.mergeOptions({},r.tagAttributes),vjs.TOUCH_ENABLED&&!0===r.options().nativeControlsForTouch||delete i.controls,vjs.setElementAttributes(s,vjs.obj.merge(i,{id:r.id()+"_html5_api","class":"vjs-tech"}))),s.player=r,r.options_.tracks)for(n=0;n<r.options_.tracks.length;n++)t=r.options_.tracks[n],e=document.createElement("track"),e.kind=t.kind,e.label=t.label,e.srclang=t.srclang,e.src=t.src,"default"in t&&e.setAttribute("default","default"),s.appendChild(e);vjs.insertFirst(s,r.el())}var a=["autoplay","preload","loop","muted"];for(n=a.length-1;n>=0;n--){var c=a[n],l={};"undefined"!=typeof r.options_[c]&&(l[c]=r.options_[c]),vjs.setElementAttributes(s,l)}return s},vjs.Html5.prototype.setupTriggers=function(){for(var t=vjs.Html5.Events.length-1;t>=0;t--)this.on(vjs.Html5.Events[t],this.eventHandler)},vjs.Html5.prototype.eventHandler=function(t){"error"==t.type&&this.error()?this.player().error(this.error().code):(t.bubbles=!1,this.player().trigger(t))},vjs.Html5.prototype.useNativeControls=function(){var t,e,n,i,o;t=this,e=this.player(),t.setControls(e.controls()),n=function(){t.setControls(!0)},i=function(){t.setControls(!1)},e.on("controlsenabled",n),e.on("controlsdisabled",i),o=function(){e.off("controlsenabled",n),e.off("controlsdisabled",i)},t.on("dispose",o),e.on("usingcustomcontrols",o),e.usingNativeControls(!0)},vjs.Html5.prototype.play=function(){this.el_.play()},vjs.Html5.prototype.pause=function(){this.el_.pause()},vjs.Html5.prototype.paused=function(){return this.el_.paused},vjs.Html5.prototype.currentTime=function(){return this.el_.currentTime},vjs.Html5.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){vjs.log(t,"Video is not ready. (Video.js)")}},vjs.Html5.prototype.duration=function(){return this.el_.duration||0},vjs.Html5.prototype.buffered=function(){return this.el_.buffered},vjs.Html5.prototype.volume=function(){return this.el_.volume},vjs.Html5.prototype.setVolume=function(t){this.el_.volume=t},vjs.Html5.prototype.muted=function(){return this.el_.muted},vjs.Html5.prototype.setMuted=function(t){this.el_.muted=t},vjs.Html5.prototype.width=function(){return this.el_.offsetWidth},vjs.Html5.prototype.height=function(){return this.el_.offsetHeight},vjs.Html5.prototype.supportsFullScreen=function(){return!("function"!=typeof this.el_.webkitEnterFullScreen||!/Android/.test(vjs.USER_AGENT)&&/Chrome|Mac OS X 10.5/.test(vjs.USER_AGENT))},vjs.Html5.prototype.enterFullScreen=function(){var t=this.el_;"webkitDisplayingFullscreen"in t&&this.one("webkitbeginfullscreen",function(){this.player_.isFullscreen(!0),this.one("webkitendfullscreen",function(){this.player_.isFullscreen(!1),this.player_.trigger("fullscreenchange")}),this.player_.trigger("fullscreenchange")}),t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},vjs.Html5.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},vjs.Html5.prototype.returnOriginalIfBlobURI_=function(t,e){var n=/^blob\:/i;return e&&t&&n.test(t)?e:t},vjs.Html5.prototype.src=function(t){var e=this.el_.src;if(t===undefined)return this.returnOriginalIfBlobURI_(e,this.source_);this.setSrc(t)},vjs.Html5.prototype.setSrc=function(t){this.el_.src=t},vjs.Html5.prototype.load=function(){this.el_.load()},vjs.Html5.prototype.currentSrc=function(){var t=this.el_.currentSrc;return this.currentSource_?this.returnOriginalIfBlobURI_(t,this.currentSource_.src):t},vjs.Html5.prototype.poster=function(){return this.el_.poster},vjs.Html5.prototype.setPoster=function(t){this.el_.poster=t},vjs.Html5.prototype.preload=function(){return this.el_.preload},vjs.Html5.prototype.setPreload=function(t){this.el_.preload=t},vjs.Html5.prototype.autoplay=function(){return this.el_.autoplay},vjs.Html5.prototype.setAutoplay=function(t){this.el_.autoplay=t},vjs.Html5.prototype.controls=function(){return this.el_.controls},vjs.Html5.prototype.setControls=function(t){this.el_.controls=!!t},vjs.Html5.prototype.loop=function(){return this.el_.loop},vjs.Html5.prototype.setLoop=function(t){this.el_.loop=t},vjs.Html5.prototype.error=function(){return this.el_.error},vjs.Html5.prototype.seeking=function(){return this.el_.seeking},vjs.Html5.prototype.seekable=function(){return this.el_.seekable},vjs.Html5.prototype.ended=function(){return this.el_.ended},vjs.Html5.prototype.defaultMuted=function(){return this.el_.defaultMuted},vjs.Html5.prototype.playbackRate=function(){return this.el_.playbackRate},vjs.Html5.prototype.setPlaybackRate=function(t){this.el_.playbackRate=t},vjs.Html5.prototype.networkState=function(){return this.el_.networkState},vjs.Html5.prototype.readyState=function(){return this.el_.readyState},vjs.Html5.prototype.textTracks=function(){return this.featuresNativeTextTracks?this.el_.textTracks:vjs.MediaTechController.prototype.textTracks.call(this)},vjs.Html5.prototype.addTextTrack=function(t,e,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,e,n):vjs.MediaTechController.prototype.addTextTrack.call(this,t,e,n)},vjs.Html5.prototype.addRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return vjs.MediaTechController.prototype.addRemoteTextTrack.call(this,t);var e=document.createElement("track");return t=t||{},t.kind&&(e.kind=t.kind),t.label&&(e.label=t.label),(t.language||t.srclang)&&(e.srclang=t.language||t.srclang),t["default"]&&(e["default"]=t["default"]),t.id&&(e.id=t.id),t.src&&(e.src=t.src),this.el().appendChild(e),this.remoteTextTracks().addTrack_(e.track),e},vjs.Html5.prototype.removeRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return vjs.MediaTechController.prototype.removeRemoteTextTrack.call(this,t);var e,n;for(this.remoteTextTracks().removeTrack_(t),e=this.el().querySelectorAll("track"),n=0;n<e.length;n++)if(e[n]===t||e[n].track===t){e[n].parentNode.removeChild(e[n]);break}},vjs.Html5.isSupported=function(){try{vjs.TEST_VID.volume=.5}catch(t){return!1}return!!vjs.TEST_VID.canPlayType},vjs.MediaTechController.withSourceHandlers(vjs.Html5),function(){var t=vjs.Html5.prototype.setSource,e=vjs.Html5.prototype.disposeSourceHandler;vjs.Html5.prototype.setSource=function(e){var n=t.call(this,e);return this.source_=e.src,n},vjs.Html5.prototype.disposeSourceHandler=function(){return this.source_=undefined,e.call(this)}}(),vjs.Html5.nativeSourceHandler={},vjs.Html5.nativeSourceHandler.canHandleSource=function(t){function e(t){try{return vjs.TEST_VID.canPlayType(t)}catch(t){return""}}var n,i;return t.type?e(t.type):t.src?(n=t.src.match(/\.([^.\/\?]+)(\?[^\/]+)?$/i),i=n&&n[1],e("video/"+i)):""},vjs.Html5.nativeSourceHandler.handleSource=function(t,e){e.setSrc(t.src)},vjs.Html5.nativeSourceHandler.dispose=function(){},vjs.Html5.registerSourceHandler(vjs.Html5.nativeSourceHandler),vjs.Html5.canControlVolume=function(){var t=vjs.TEST_VID.volume;return vjs.TEST_VID.volume=t/2+.1,t!==vjs.TEST_VID.volume},vjs.Html5.canControlPlaybackRate=function(){var t=vjs.TEST_VID.playbackRate;return vjs.TEST_VID.playbackRate=t/2+.1,t!==vjs.TEST_VID.playbackRate},vjs.Html5.supportsNativeTextTracks=function(){var t;return t=!!vjs.TEST_VID.textTracks,t&&vjs.TEST_VID.textTracks.length>0&&(t="number"!=typeof vjs.TEST_VID.textTracks[0].mode),t&&vjs.IS_FIREFOX&&(t=!1),t},vjs.Html5.prototype.featuresVolumeControl=vjs.Html5.canControlVolume(),vjs.Html5.prototype.featuresPlaybackRate=vjs.Html5.canControlPlaybackRate(),vjs.Html5.prototype.movingMediaElementInDOM=!vjs.IS_IOS,vjs.Html5.prototype.featuresFullscreenResize=!0,vjs.Html5.prototype.featuresProgressEvents=!0,vjs.Html5.prototype.featuresNativeTextTracks=vjs.Html5.supportsNativeTextTracks(),function(){var t,e=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,n=/^video\/mp4/i;vjs.Html5.patchCanPlayType=function(){vjs.ANDROID_VERSION>=4&&(t||(t=vjs.TEST_VID.constructor.prototype.canPlayType),vjs.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&e.test(n)?"maybe":t.call(this,n)}),vjs.IS_OLD_ANDROID&&(t||(t=vjs.TEST_VID.constructor.prototype.canPlayType),vjs.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&n.test(e)?"maybe":t.call(this,e)})},vjs.Html5.unpatchCanPlayType=function(){var e=vjs.TEST_VID.constructor.prototype.canPlayType;return vjs.TEST_VID.constructor.prototype.canPlayType=t,t=null,e},vjs.Html5.patchCanPlayType()}(),vjs.Html5.Events="loadstart,suspend,abort,error,emptied,stalled,loadedmetadata,loadeddata,canplay,canplaythrough,playing,waiting,seeking,seeked,ended,durationchange,timeupdate,progress,play,pause,ratechange,volumechange".split(","),vjs.Html5.disposeMediaElement=function(t){if(t){for(t.player=null,t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},vjs.Flash=vjs.MediaTechController.extend({init:function(t,e,n){vjs.MediaTechController.call(this,t,e,n);var i=e.source,o=t.id()+"_flash_api",r=t.options_,s=vjs.obj.merge({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:r.autoplay,preload:r.preload,loop:r.loop,muted:r.muted},e.flashVars),a=vjs.obj.merge({wmode:"opaque",bgcolor:"#000000"},e.params),c=vjs.obj.merge({id:o,name:o,"class":"vjs-tech"},e.attributes);i&&this.ready(function(){this.setSource(i)}),vjs.insertFirst(this.el_,e.parentEl),e.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(e.startTime)}),vjs.IS_FIREFOX&&this.ready(function(){this.on("mousemove",function(){this.player().trigger({type:"mousemove",bubbles:!1})})}),t.on("stageclick",t.reportUserActivity),this.el_=vjs.Flash.embed(e.swf,this.el_,s,a,c)}}),vjs.Flash.prototype.dispose=function(){vjs.MediaTechController.prototype.dispose.call(this)},vjs.Flash.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},vjs.Flash.prototype.pause=function(){this.el_.vjs_pause()},vjs.Flash.prototype.src=function(t){return t===undefined?this.currentSrc():this.setSrc(t)},
vjs.Flash.prototype.setSrc=function(t){if(t=vjs.getAbsoluteURL(t),this.el_.vjs_src(t),this.player_.autoplay()){var e=this;this.setTimeout(function(){e.play()},0)}},vjs.Flash.prototype.setCurrentTime=function(t){this.lastSeekTarget_=t,this.el_.vjs_setProperty("currentTime",t),vjs.MediaTechController.prototype.setCurrentTime.call(this)},vjs.Flash.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},vjs.Flash.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},vjs.Flash.prototype.load=function(){this.el_.vjs_load()},vjs.Flash.prototype.poster=function(){this.el_.vjs_getProperty("poster")},vjs.Flash.prototype.setPoster=function(){},vjs.Flash.prototype.seekable=function(){return 0===this.duration()?vjs.createTimeRange():vjs.createTimeRange(0,this.duration())},vjs.Flash.prototype.buffered=function(){return this.el_.vjs_getProperty?vjs.createTimeRange(0,this.el_.vjs_getProperty("buffered")):vjs.createTimeRange()},vjs.Flash.prototype.duration=function(){return this.el_.vjs_getProperty?this.el_.vjs_getProperty("duration"):0},vjs.Flash.prototype.supportsFullScreen=function(){return!1},vjs.Flash.prototype.enterFullScreen=function(){return!1},function(){function t(t){var e=t.charAt(0).toUpperCase()+t.slice(1);i["set"+e]=function(e){return this.el_.vjs_setProperty(t,e)}}function e(t){i[t]=function(){return this.el_.vjs_getProperty(t)}}var n,i=vjs.Flash.prototype,o="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),r="error,networkState,readyState,seeking,initialTime,startOffsetTime,paused,played,ended,videoTracks,audioTracks,videoWidth,videoHeight".split(",");for(n=0;n<o.length;n++)e(o[n]),t(o[n]);for(n=0;n<r.length;n++)e(r[n])}(),vjs.Flash.isSupported=function(){return vjs.Flash.version()[0]>=10},vjs.MediaTechController.withSourceHandlers(vjs.Flash),vjs.Flash.nativeSourceHandler={},vjs.Flash.nativeSourceHandler.canHandleSource=function(t){var e;return t.type?(e=t.type.replace(/;.*/,"").toLowerCase(),e in vjs.Flash.formats?"maybe":""):""},vjs.Flash.nativeSourceHandler.handleSource=function(t,e){e.setSrc(t.src)},vjs.Flash.nativeSourceHandler.dispose=function(){},vjs.Flash.registerSourceHandler(vjs.Flash.nativeSourceHandler),vjs.Flash.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},vjs.Flash.onReady=function(t){var e,n;e=vjs.el(t),(n=e&&e.parentNode&&e.parentNode.player)&&(e.player=n,vjs.Flash.checkReady(n.tech))},vjs.Flash.checkReady=function(t){t.el()&&(t.el().vjs_getProperty?t.triggerReady():this.setTimeout(function(){vjs.Flash.checkReady(t)},50))},vjs.Flash.onEvent=function(t,e){vjs.el(t).player.trigger(e)},vjs.Flash.onError=function(t,e){var n=vjs.el(t).player,i="FLASH: "+e;"srcnotfound"==e?n.error({code:4,message:i}):n.error(i)},vjs.Flash.version=function(){var t="0,0,0";try{t=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(e){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(t=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(t){}}return t.split(",")},vjs.Flash.embed=function(t,e,n,i,o){var r=vjs.Flash.getEmbedCode(t,n,i,o),s=vjs.createEl("div",{innerHTML:r}).childNodes[0],a=e.parentNode;e.parentNode.replaceChild(s,e),s[vjs.expando]=e[vjs.expando];var c=a.childNodes[0];return setTimeout(function(){c.style.display="block"},1e3),s},vjs.Flash.getEmbedCode=function(t,e,n,i){var o="",r="",s="";return e&&vjs.obj.each(e,function(t,e){o+=t+"="+e+"&amp;"}),n=vjs.obj.merge({movie:t,flashvars:o,allowScriptAccess:"always",allowNetworking:"all"},n),vjs.obj.each(n,function(t,e){r+='<param name="'+t+'" value="'+e+'" />'}),i=vjs.obj.merge({data:t,width:"100%",height:"100%"},i),vjs.obj.each(i,function(t,e){s+=t+'="'+e+'" '}),'<object type="application/x-shockwave-flash" '+s+">"+r+"</object>"},vjs.Flash.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},vjs.Flash.streamFromParts=function(t,e){return t+"&"+e},vjs.Flash.streamToParts=function(t){var e={connection:"",stream:""};if(!t)return e;var n,i=t.indexOf("&");return-1!==i?n=i+1:0===(i=n=t.lastIndexOf("/")+1)&&(i=n=t.length),e.connection=t.substring(0,i),e.stream=t.substring(n,t.length),e},vjs.Flash.isStreamingType=function(t){return t in vjs.Flash.streamingFormats},vjs.Flash.RTMP_RE=/^rtmp[set]?:\/\//i,vjs.Flash.isStreamingSrc=function(t){return vjs.Flash.RTMP_RE.test(t)},vjs.Flash.rtmpSourceHandler={},vjs.Flash.rtmpSourceHandler.canHandleSource=function(t){return vjs.Flash.isStreamingType(t.type)||vjs.Flash.isStreamingSrc(t.src)?"maybe":""},vjs.Flash.rtmpSourceHandler.handleSource=function(t,e){var n=vjs.Flash.streamToParts(t.src);e.setRtmpConnection(n.connection),e.setRtmpStream(n.stream)},vjs.Flash.registerSourceHandler(vjs.Flash.rtmpSourceHandler),vjs.MediaLoader=vjs.Component.extend({init:function(t,e,n){if(vjs.Component.call(this,t,e,n),t.options_.sources&&0!==t.options_.sources.length)t.src(t.options_.sources);else for(var i=0,o=t.options_.techOrder;i<o.length;i++){var r=vjs.capitalize(o[i]),s=window.videojs[r];if(s&&s.isSupported()){t.loadTech(r);break}}}}),vjs.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"},vjs.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},function(){vjs.TextTrack=function(e){var i,o,r,s,a,c,l,u,d,p,h;if(e=e||{},!e.player)throw new Error("A player was not provided.");if(i=this,vjs.IS_IE8){i=document.createElement("custom");for(h in vjs.TextTrack.prototype)i[h]=vjs.TextTrack.prototype[h]}if(i.player_=e.player,r=vjs.TextTrackMode[e.mode]||"disabled",s=vjs.TextTrackKind[e.kind]||"subtitles",a=e.label||"",c=e.language||e.srclang||"",o=e.id||"vjs_text_track_"+vjs.guid++,"metadata"!==s&&"chapters"!==s||(r="hidden"),i.cues_=[],i.activeCues_=[],l=new vjs.TextTrackCueList(i.cues_),u=new vjs.TextTrackCueList(i.activeCues_),p=!1,d=vjs.bind(i,function(){this.activeCues,p&&(this.trigger("cuechange"),p=!1)}),"disabled"!==r&&i.player_.on("timeupdate",d),Object.defineProperty(i,"kind",{get:function(){return s},set:Function.prototype}),Object.defineProperty(i,"label",{get:function(){return a},set:Function.prototype}),Object.defineProperty(i,"language",{get:function(){return c},set:Function.prototype}),Object.defineProperty(i,"id",{get:function(){return o},set:Function.prototype}),Object.defineProperty(i,"mode",{get:function(){return r},set:function(t){vjs.TextTrackMode[t]&&(r=t,"showing"===r&&this.player_.on("timeupdate",d),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?l:null},set:Function.prototype}),Object.defineProperty(i,"activeCues",{get:function(){var t,e,i,o,r;if(!this.loaded_)return null;if(0===this.cues.length)return u;for(o=this.player_.currentTime(),t=0,e=this.cues.length,i=[];t<e;t++)r=this.cues[t],r.startTime<=o&&r.endTime>=o?i.push(r):r.startTime===r.endTime&&r.startTime<=o&&r.startTime+.5>=o&&i.push(r);if(p=!1,i.length!==this.activeCues_.length)p=!0;else for(t=0;t<i.length;t++)-1===n.call(this.activeCues_,i[t])&&(p=!0);return this.activeCues_=i,u.setCues_(this.activeCues_),u},set:Function.prototype}),e.src?t(e.src,i):i.loaded_=!0,vjs.IS_IE8)return i},vjs.TextTrack.prototype=vjs.obj.create(vjs.EventEmitter.prototype),vjs.TextTrack.prototype.constructor=vjs.TextTrack,vjs.TextTrack.prototype.allowedEvents_={cuechange:"cuechange"},vjs.TextTrack.prototype.addCue=function(t){var e=this.player_.textTracks(),n=0;if(e)for(;n<e.length;n++)e[n]!==this&&e[n].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},vjs.TextTrack.prototype.removeCue=function(t){for(var e=0,n=this.cues_.length,i=!1;e<n;e++)this.cues_[e]===t&&(this.cues_.splice(e,1),i=!0);i&&this.cues.setCues_(this.cues_)};var t,e,n;t=function(t,n){vjs.xhr(t,vjs.bind(this,function(t,i,o){if(t)return vjs.log.error(t);n.loaded_=!0,e(o,n)}))},e=function(t,n){if("function"!=typeof window.WebVTT)return window.setTimeout(function(){e(t,n)},25);var i=new window.WebVTT.Parser(window,window.vttjs,window.WebVTT.StringDecoder());i.oncue=function(t){n.addCue(t)},i.onparsingerror=function(t){vjs.log.error(t)},i.parse(t),i.flush()},n=function(t,e){var n;if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),o=i.length>>>0;if(0===o)return-1;var r=+e||0;if(Math.abs(r)===Infinity&&(r=0),r>=o)return-1;for(n=Math.max(r>=0?r:o-Math.abs(r),0);n<o;){if(n in i&&i[n]===t)return n;n++}return-1}}(),vjs.TextTrackList=function(t){var e,n=this,i=0;if(vjs.IS_IE8){n=document.createElement("custom");for(e in vjs.TextTrackList.prototype)n[e]=vjs.TextTrackList.prototype[e]}for(t=t||[],n.tracks_=[],Object.defineProperty(n,"length",{get:function(){return this.tracks_.length}});i<t.length;i++)n.addTrack_(t[i]);if(vjs.IS_IE8)return n},vjs.TextTrackList.prototype=vjs.obj.create(vjs.EventEmitter.prototype),vjs.TextTrackList.prototype.constructor=vjs.TextTrackList,vjs.TextTrackList.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},function(){var t;for(t in vjs.TextTrackList.prototype.allowedEvents_)vjs.TextTrackList.prototype["on"+t]=null}(),vjs.TextTrackList.prototype.addTrack_=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),t.addEventListener("modechange",vjs.bind(this,function(){this.trigger("change")})),this.tracks_.push(t),this.trigger({type:"addtrack",track:t})},vjs.TextTrackList.prototype.removeTrack_=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t){this.tracks_.splice(e,1);break}this.trigger({type:"removetrack",track:t})},vjs.TextTrackList.prototype.getTrackById=function(t){for(var e,n=0,i=this.length,o=null;n<i;n++)if(e=this[n],e.id===t){o=e;break}return o},vjs.TextTrackCueList=function(t){var e,n=this;if(vjs.IS_IE8){n=document.createElement("custom");for(e in vjs.TextTrackCueList.prototype)n[e]=vjs.TextTrackCueList.prototype[e]}if(vjs.TextTrackCueList.prototype.setCues_.call(n,t),Object.defineProperty(n,"length",{get:function(){return this.length_}}),vjs.IS_IE8)return n},vjs.TextTrackCueList.prototype.setCues_=function(t){var e,n=this.length||0,i=0,o=t.length;if(this.cues_=t,this.length_=t.length,e=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})},n<o)for(i=n;i<o;i++)e.call(this,i)},vjs.TextTrackCueList.prototype.getCueById=function(t){for(var e,n=0,i=this.length,o=null;n<i;n++)if(e=this[n],e.id===t){o=e;break}return o},function(){"use strict";vjs.TextTrackDisplay=vjs.Component.extend({init:function(t,e,n){vjs.Component.call(this,t,e,n),t.on("loadstart",vjs.bind(this,this.toggleDisplay)),t.ready(vjs.bind(this,function(){if(t.tech&&t.tech.featuresNativeTextTracks)return void this.hide();var e,n,i;for(t.on("fullscreenchange",vjs.bind(this,this.updateDisplay)),n=t.options_.tracks||[],e=0;e<n.length;e++)i=n[e],this.player_.addRemoteTextTrack(i)}))}}),vjs.TextTrackDisplay.prototype.toggleDisplay=function(){this.player_.tech&&this.player_.tech.featuresNativeTextTracks?this.hide():this.show()},vjs.TextTrackDisplay.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"})},vjs.TextTrackDisplay.prototype.clearDisplay=function(){"function"==typeof window.WebVTT&&window.WebVTT.processCues(window,[],this.el_)};var t=function(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"},e="#222",n="#ccc",i={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},o=function(t,e,n){try{t.style[e]=n}catch(t){}};vjs.TextTrackDisplay.prototype.updateDisplay=function(){var t,e=this.player_.textTracks(),n=0;if(this.clearDisplay(),e)for(;n<e.length;n++)t=e[n],"showing"===t.mode&&this.updateForTrack(t)},vjs.TextTrackDisplay.prototype.updateForTrack=function(r){if("function"==typeof window.WebVTT&&r.activeCues){for(var s,a,c=0,l=this.player_.textTrackSettings.getValues(),u=[];c<r.activeCues.length;c++)u.push(r.activeCues[c]);for(window.WebVTT.processCues(window,r.activeCues,this.el_),c=u.length;c--;)s=u[c].displayState,l.color&&(s.firstChild.style.color=l.color),l.textOpacity&&o(s.firstChild,"color",t(l.color||"#fff",l.textOpacity)),l.backgroundColor&&(s.firstChild.style.backgroundColor=l.backgroundColor),l.backgroundOpacity&&o(s.firstChild,"backgroundColor",t(l.backgroundColor||"#000",l.backgroundOpacity)),l.windowColor&&(l.windowOpacity?o(s,"backgroundColor",t(l.windowColor,l.windowOpacity)):s.style.backgroundColor=l.windowColor),l.edgeStyle&&("dropshadow"===l.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px "+e+", 2px 2px 4px "+e+", 2px 2px 5px "+e:"raised"===l.edgeStyle?s.firstChild.style.textShadow="1px 1px "+e+", 2px 2px "+e+", 3px 3px "+e:"depressed"===l.edgeStyle?s.firstChild.style.textShadow="1px 1px "+n+", 0 1px "+n+", -1px -1px "+e+", 0 -1px "+e:"uniform"===l.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px "+e+", 0 0 4px "+e+", 0 0 4px "+e+", 0 0 4px "+e)),l.fontPercent&&1!==l.fontPercent&&(a=window.parseFloat(s.style.fontSize),s.style.fontSize=a*l.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"),l.fontFamily&&"default"!==l.fontFamily&&("small-caps"===l.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=i[l.fontFamily])}},vjs.TextTrackMenuItem=vjs.MenuItem.extend({init:function(t,e){var n,i,o=this.track=e.track,r=t.textTracks();r&&(n=vjs.bind(this,function(){var t,e,n,i="showing"===this.track.mode;if(this instanceof vjs.OffTextTrackMenuItem)for(i=!0,e=0,n=r.length;e<n;e++)if(t=r[e],t.kind===this.track.kind&&"showing"===t.mode){i=!1;break}this.selected(i)}),r.addEventListener("change",n),t.on("dispose",function(){r.removeEventListener("change",n)})),e.label=o.label||o.language||"Unknown",e.selected=o["default"]||"showing"===o.mode,vjs.MenuItem.call(this,t,e),r&&r.onchange===undefined&&this.on(["tap","click"],function(){if("object"!=typeof window.Event)try{i=new window.Event("change")}catch(t){}i||(i=document.createEvent("Event"),i.initEvent("change",!0,!0)),r.dispatchEvent(i)})}}),vjs.TextTrackMenuItem.prototype.onClick=function(){var t,e=this.track.kind,n=this.player_.textTracks(),i=0;if(vjs.MenuItem.prototype.onClick.call(this),n)for(;i<n.length;i++)t=n[i],t.kind===e&&(t===this.track?t.mode="showing":t.mode="disabled")},vjs.OffTextTrackMenuItem=vjs.TextTrackMenuItem.extend({init:function(t,e){e.track={kind:e.kind,player:t,label:e.kind+" off","default":!1,mode:"disabled"},vjs.TextTrackMenuItem.call(this,t,e),this.selected(!0)}}),vjs.CaptionSettingsMenuItem=vjs.TextTrackMenuItem.extend({init:function(t,e){e.track={kind:e.kind,player:t,label:e.kind+" settings","default":!1,mode:"disabled"},vjs.TextTrackMenuItem.call(this,t,e),this.addClass("vjs-texttrack-settings")}}),vjs.CaptionSettingsMenuItem.prototype.onClick=function(){this.player().getChild("textTrackSettings").show()},vjs.TextTrackButton=vjs.MenuButton.extend({init:function(t,e){var n,i;vjs.MenuButton.call(this,t,e),n=this.player_.textTracks(),this.items.length<=1&&this.hide(),n&&(i=vjs.bind(this,this.update),n.addEventListener("removetrack",i),n.addEventListener("addtrack",i),this.player_.on("dispose",function(){n.removeEventListener("removetrack",i),n.removeEventListener("addtrack",i)}))}}),vjs.TextTrackButton.prototype.createItems=function(){var t,e,n=[];if(!(this instanceof vjs.CaptionsButton)||this.player().tech&&this.player().tech.featuresNativeTextTracks||n.push(new vjs.CaptionSettingsMenuItem(this.player_,{kind:this.kind_})),n.push(new vjs.OffTextTrackMenuItem(this.player_,{kind:this.kind_})),!(e=this.player_.textTracks()))return n;for(var i=0;i<e.length;i++)t=e[i],t.kind===this.kind_&&n.push(new vjs.TextTrackMenuItem(this.player_,{track:t}));return n},vjs.CaptionsButton=vjs.TextTrackButton.extend({init:function(t,e,n){vjs.TextTrackButton.call(this,t,e,n),this.el_.setAttribute("aria-label","Captions Menu")}}),vjs.CaptionsButton.prototype.kind_="captions",vjs.CaptionsButton.prototype.buttonText="Captions",vjs.CaptionsButton.prototype.className="vjs-captions-button",vjs.CaptionsButton.prototype.update=function(){var t=2;vjs.TextTrackButton.prototype.update.call(this),this.player().tech&&this.player().tech.featuresNativeTextTracks&&(t=1),this.items&&this.items.length>t?this.show():this.hide()},vjs.SubtitlesButton=vjs.TextTrackButton.extend({init:function(t,e,n){vjs.TextTrackButton.call(this,t,e,n),this.el_.setAttribute("aria-label","Subtitles Menu")}}),vjs.SubtitlesButton.prototype.kind_="subtitles",vjs.SubtitlesButton.prototype.buttonText="Subtitles",vjs.SubtitlesButton.prototype.className="vjs-subtitles-button",vjs.ChaptersButton=vjs.TextTrackButton.extend({init:function(t,e,n){vjs.TextTrackButton.call(this,t,e,n),this.el_.setAttribute("aria-label","Chapters Menu")}}),vjs.ChaptersButton.prototype.kind_="chapters",vjs.ChaptersButton.prototype.buttonText="Chapters",vjs.ChaptersButton.prototype.className="vjs-chapters-button",vjs.ChaptersButton.prototype.createItems=function(){var t,e,n=[];if(!(e=this.player_.textTracks()))return n;for(var i=0;i<e.length;i++)t=e[i],t.kind===this.kind_&&n.push(new vjs.TextTrackMenuItem(this.player_,{track:t}));return n},vjs.ChaptersButton.prototype.createMenu=function(){for(var t,e,n=this.player_.textTracks()||[],i=0,o=n.length,r=this.items=[];i<o;i++)if(t=n[i],t.kind==this.kind_){if(t.cues){e=t;break}t.mode="hidden",window.setTimeout(vjs.bind(this,function(){this.createMenu()}),100)}var s=this.menu;if(s===undefined&&(s=new vjs.Menu(this.player_),s.contentEl().appendChild(vjs.createEl("li",{className:"vjs-menu-title",innerHTML:vjs.capitalize(this.kind_),tabindex:-1}))),e){var a,c,l=e.cues;for(i=0,o=l.length;i<o;i++)a=l[i],c=new vjs.ChaptersTrackMenuItem(this.player_,{track:e,cue:a}),r.push(c),s.addChild(c);this.addChild(s)}return this.items.length>0&&this.show(),s},vjs.ChaptersTrackMenuItem=vjs.MenuItem.extend({init:function(t,e){var n=this.track=e.track,i=this.cue=e.cue,o=t.currentTime();e.label=i.text,e.selected=i.startTime<=o&&o<i.endTime,vjs.MenuItem.call(this,t,e),n.addEventListener("cuechange",vjs.bind(this,this.update))}}),vjs.ChaptersTrackMenuItem.prototype.onClick=function(){vjs.MenuItem.prototype.onClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},vjs.ChaptersTrackMenuItem.prototype.update=function(){var t=this.cue,e=this.player_.currentTime();this.selected(t.startTime<=e&&e<t.endTime)}}(),function(){"use strict";function t(t){var e;return t.selectedOptions?e=t.selectedOptions[0]:t.options&&(e=t.options[t.options.selectedIndex]),e.value}function e(t,e){var n,i;if(e){for(n=0;n<t.options.length&&(i=t.options[n],i.value!==e);n++);t.selectedIndex=n}}function n(){return'<div class="vjs-tracksettings"><div class="vjs-tracksettings-colors"><div class="vjs-fg-color vjs-tracksetting"><label class="vjs-label">Foreground</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-text-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Opaque</option></select></span></div><div class="vjs-bg-color vjs-tracksetting"><label class="vjs-label">Background</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-bg-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Transparent</option><option value="0">Transparent</option></select></span></div><div class="window-color vjs-tracksetting"><label class="vjs-label">Window</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-window-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Transparent</option><option value="0">Transparent</option></select></span></div></div><div class="vjs-tracksettings-font"><div class="vjs-font-percent vjs-tracksetting"><label class="vjs-label">Font Size</label><select><option value="0.50">50%</option><option value="0.75">75%</option><option value="1.00" selected>100%</option><option value="1.25">125%</option><option value="1.50">150%</option><option value="1.75">175%</option><option value="2.00">200%</option><option value="3.00">300%</option><option value="4.00">400%</option></select></div><div class="vjs-edge-style vjs-tracksetting"><label class="vjs-label">Text Edge Style</label><select><option value="none">None</option><option value="raised">Raised</option><option value="depressed">Depressed</option><option value="uniform">Uniform</option><option value="dropshadow">Dropshadow</option></select></div><div class="vjs-font-family vjs-tracksetting"><label class="vjs-label">Font Family</label><select><option value="">Default</option><option value="monospaceSerif">Monospace Serif</option><option value="proportionalSerif">Proportional Serif</option><option value="monospaceSansSerif">Monospace Sans-Serif</option><option value="proportionalSansSerif">Proportional Sans-Serif</option><option value="casual">Casual</option><option value="script">Script</option><option value="small-caps">Small Caps</option></select></div></div></div><div class="vjs-tracksettings-controls"><button class="vjs-default-button">Defaults</button><button class="vjs-done-button">Done</button></div>'}vjs.TextTrackSettings=vjs.Component.extend({init:function(t,e){vjs.Component.call(this,t,e),this.hide(),vjs.on(this.el().querySelector(".vjs-done-button"),"click",vjs.bind(this,function(){this.saveSettings(),this.hide()})),vjs.on(this.el().querySelector(".vjs-default-button"),"click",vjs.bind(this,function(){this.el().querySelector(".vjs-fg-color > select").selectedIndex=0,this.el().querySelector(".vjs-bg-color > select").selectedIndex=0,this.el().querySelector(".window-color > select").selectedIndex=0,this.el().querySelector(".vjs-text-opacity > select").selectedIndex=0,this.el().querySelector(".vjs-bg-opacity > select").selectedIndex=0,this.el().querySelector(".vjs-window-opacity > select").selectedIndex=0,this.el().querySelector(".vjs-edge-style select").selectedIndex=0,this.el().querySelector(".vjs-font-family select").selectedIndex=0,this.el().querySelector(".vjs-font-percent select").selectedIndex=2,this.updateDisplay()})),vjs.on(this.el().querySelector(".vjs-fg-color > select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-bg-color > select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".window-color > select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-text-opacity > select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-bg-opacity > select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-window-opacity > select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-font-percent select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-edge-style select"),"change",vjs.bind(this,this.updateDisplay)),vjs.on(this.el().querySelector(".vjs-font-family select"),"change",vjs.bind(this,this.updateDisplay)),t.options().persistTextTrackSettings&&this.restoreSettings()}}),vjs.TextTrackSettings.prototype.createEl=function(){return vjs.Component.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:n()})},vjs.TextTrackSettings.prototype.getValues=function(){var e,n,i,o,r,s,a,c,l,u,d,p;e=this.el(),r=t(e.querySelector(".vjs-edge-style select")),s=t(e.querySelector(".vjs-font-family select")),a=t(e.querySelector(".vjs-fg-color > select")),i=t(e.querySelector(".vjs-text-opacity > select")),c=t(e.querySelector(".vjs-bg-color > select")),n=t(e.querySelector(".vjs-bg-opacity > select")),l=t(e.querySelector(".window-color > select")),o=t(e.querySelector(".vjs-window-opacity > select")),p=window.parseFloat(t(e.querySelector(".vjs-font-percent > select"))),u={backgroundOpacity:n,textOpacity:i,windowOpacity:o,edgeStyle:r,fontFamily:s,color:a,backgroundColor:c,windowColor:l,fontPercent:p};for(d in u)(""===u[d]||"none"===u[d]||"fontPercent"===d&&1===u[d])&&delete u[d];return u},vjs.TextTrackSettings.prototype.setValues=function(t){var n,i=this.el();e(i.querySelector(".vjs-edge-style select"),t.edgeStyle),e(i.querySelector(".vjs-font-family select"),t.fontFamily),e(i.querySelector(".vjs-fg-color > select"),t.color),e(i.querySelector(".vjs-text-opacity > select"),t.textOpacity),e(i.querySelector(".vjs-bg-color > select"),t.backgroundColor),e(i.querySelector(".vjs-bg-opacity > select"),t.backgroundOpacity),e(i.querySelector(".window-color > select"),t.windowColor),e(i.querySelector(".vjs-window-opacity > select"),t.windowOpacity),n=t.fontPercent,n&&(n=n.toFixed(2)),e(i.querySelector(".vjs-font-percent > select"),n)},vjs.TextTrackSettings.prototype.restoreSettings=function(){var t;try{t=JSON.parse(window.localStorage.getItem("vjs-text-track-settings"))}catch(t){}t&&this.setValues(t)},vjs.TextTrackSettings.prototype.saveSettings=function(){var t;if(this.player_.options().persistTextTrackSettings){t=this.getValues();try{vjs.isEmpty(t)?window.localStorage.removeItem("vjs-text-track-settings"):window.localStorage.setItem("vjs-text-track-settings",JSON.stringify(t))}catch(t){}}},vjs.TextTrackSettings.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()}}(),vjs.JSON,"undefined"!=typeof window.JSON&&"function"==typeof window.JSON.parse)vjs.JSON=window.JSON;else{vjs.JSON={};var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;vjs.JSON.parse=function(text,reviver){function walk(t,e){var n,i,o=t[e];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i=walk(o,n),i!==undefined?o[n]=i:delete o[n]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data")}}vjs.autoSetup=function(){var t,e,n,i=document.getElementsByTagName("video"),o=document.getElementsByTagName("audio"),r=[];if(i&&i.length>0)for(e=0,n=i.length;e<n;e++)r.push(i[e]);if(o&&o.length>0)for(e=0,n=o.length;e<n;e++)r.push(o[e]);if(r&&r.length>0)for(e=0,n=r.length;e<n;e++){if(!(t=r[e])||!t.getAttribute){vjs.autoSetupTimeout(1);break}t.player===undefined&&null!==t.getAttribute("data-setup")&&videojs(t)}else vjs.windowLoaded||vjs.autoSetupTimeout(1)},vjs.autoSetupTimeout=function(t){setTimeout(vjs.autoSetup,t)},"complete"===document.readyState?vjs.windowLoaded=!0:vjs.one(window,"load",function(){vjs.windowLoaded=!0}),vjs.autoSetupTimeout(1),vjs.plugin=function(t,e){vjs.Player.prototype[t]=e},function(t){var e=t.vttjs={},n=e.VTTCue,i=e.VTTRegion,o=t.VTTCue,r=t.VTTRegion;e.shim=function(){e.VTTCue=n,e.VTTRegion=i},e.restore=function(){e.VTTCue=o,e.VTTRegion=r}}(this),function(t,e){function n(t){return"string"==typeof t&&(!!a[t.toLowerCase()]&&t.toLowerCase())}function i(t){return"string"==typeof t&&(!!c[t.toLowerCase()]&&t.toLowerCase())}function o(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function r(t,e,r){var a=this,c=/MSIE\s8\.0/.test(navigator.userAgent),l={};c?a=document.createElement("custom"):l.enumerable=!0,a.hasBeenReset=!1;var u="",d=!1,p=t,h=e,f=r,m=null,g="",v=!0,b="auto",y="start",_=50,M="middle",w=50,A="middle";if(Object.defineProperty(a,"id",o({},l,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(a,"pauseOnExit",o({},l,{get:function(){return d},set:function(t){d=!!t}})),Object.defineProperty(a,"startTime",o({},l,{get:function(){return p},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");p=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"endTime",o({},l,{get:function(){return h},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"text",o({},l,{get:function(){return f},set:function(t){f=""+t,this.hasBeenReset=!0}})),Object.defineProperty(a,"region",o({},l,{get:function(){return m},set:function(t){m=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"vertical",o({},l,{get:function(){return g},set:function(t){var e=n(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");g=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"snapToLines",o({},l,{get:function(){return v},set:function(t){v=!!t,this.hasBeenReset=!0}})),Object.defineProperty(a,"line",o({},l,{get:function(){return b},set:function(t){if("number"!=typeof t&&t!==s)throw new SyntaxError("An invalid number or illegal string was specified.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"lineAlign",o({},l,{get:function(){return y},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"position",o({},l,{get:function(){return _},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"positionAlign",o({},l,{get:function(){return M},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");M=e,this.hasBeenReset=!0}})),Object.defineProperty(a,"size",o({},l,{get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"align",o({},l,{get:function(){return A},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");A=e,this.hasBeenReset=!0}})),a.displayState=undefined,c)return a}var s="auto",a={"":!0,lr:!0,rl:!0},c={start:!0,middle:!0,end:!0,left:!0,right:!0};r.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.VTTCue=t.VTTCue||r,e.VTTCue=r}(this,this.vttjs||{}),function(t,e){function n(t){return"string"==typeof t&&(!!r[t.toLowerCase()]&&t.toLowerCase())}function i(t){return"number"==typeof t&&t>=0&&t<=100}function o(){var t=100,e=3,o=0,r=100,s=0,a=100,c="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!i(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return r},set:function(t){if(!i(t))throw new Error("RegionAnchorX must be between 0 and 100.");r=t}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!i(t))throw new Error("RegionAnchorY must be between 0 and 100.");o=t}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!i(t))throw new Error("ViewportAnchorY must be between 0 and 100.");a=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!i(t))throw new Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,
get:function(){return c},set:function(t){var e=n(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");c=e}}})}var r={"":!0,up:!0};t.VTTRegion=t.VTTRegion||o,e.VTTRegion=o}(this,this.vttjs||{}),function(t){function e(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function n(t){function e(t,e,n,i){return 3600*(0|t)+60*(0|e)+(0|n)+(0|i)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function i(){this.values=f(null)}function o(t,e,n,i){var o=i?t.split(i):[t];for(var r in o)if("string"==typeof o[r]){var s=o[r].split(n);if(2===s.length){var a=s[0],c=s[1];e(a,c)}}}function r(t,r,s){function a(){var i=n(t);if(null===i)throw new e(e.Errors.BadTimeStamp,"Malformed timestamp: "+u);return t=t.replace(/^[^\sa-zA-Z-]+/,""),i}function c(t,e){var n=new i;o(t,function(t,e){switch(t){case"region":for(var i=s.length-1;i>=0;i--)if(s[i].id===e){n.set(t,s[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),r=o[0];n.integer(t,r),n.percent(t,r)&&n.set("snapToLines",!1),n.alt(t,r,["auto"]),2===o.length&&n.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),n.percent(t,o[0]),2===o.length&&n.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical",""),e.line=n.get("line","auto"),e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100),e.align=n.get("align","middle"),e.position=n.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=n.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function l(){t=t.replace(/^\s+/,"")}var u=t;if(l(),r.startTime=a(),l(),"-->"!==t.substr(0,3))throw new e(e.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+u);t=t.substr(3),l(),r.endTime=a(),l(),c(t,r)}function s(t,e){function i(){function t(t){return e=e.substr(t.length),t}if(!e)return null;var n=e.match(/^([^<]*)(<[^>]+>?)?/);return t(n[1]?n[1]:n[2])}function o(t){return m[t]}function r(t){for(;f=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(f[0],o);return t}function s(t,e){return!b[e.localName]||b[e.localName]===t.localName}function a(e,n){var i=g[e];if(!i)return null;var o=t.document.createElement(i);o.localName=i;var r=v[e];return r&&n&&(o[r]=n.trim()),o}for(var c,l=t.document.createElement("div"),u=l,d=[];null!==(c=i());)if("<"!==c[0])u.appendChild(t.document.createTextNode(r(c)));else{if("/"===c[1]){d.length&&d[d.length-1]===c.substr(2).replace(">","")&&(d.pop(),u=u.parentNode);continue}var p,h=n(c.substr(1,c.length-2));if(h){p=t.document.createProcessingInstruction("timestamp",h),u.appendChild(p);continue}var f=c.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!f)continue;if(!(p=a(f[1],f[3])))continue;if(!s(u,p))continue;f[2]&&(p.className=f[2].substr(1).replace("."," ")),d.push(f[1]),u.appendChild(p),u=p}return l}function a(t){function e(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function n(t){if(!t||!t.length)return null;var i=t.pop(),o=i.textContent||i.innerText;if(o){var r=o.match(/^.*(\n|\r)/);return r?(t.length=0,r[0]):o}return"ruby"===i.tagName?n(t):i.childNodes?(e(t,i),n(t)):void 0}var i,o=[],r="";if(!t||!t.childNodes)return"ltr";for(e(o,t);r=n(o);)for(var s=0;s<r.length;s++){i=r.charCodeAt(s);for(var a=0;a<y.length;a++)if(y[a]===i)return"rtl"}return"ltr"}function c(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,i=0,o=0;o<n.length&&n[o]!==e;o++)"showing"===n[o].mode&&i++;return-1*++i}function l(){}function u(t,e,n){var i=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",r="rgba(0, 0, 0, 0.8)";i&&(o="rgb(255, 255, 255)",r="rgb(0, 0, 0)"),l.call(this),this.cue=e,this.cueDiv=s(t,e.text);var c={color:o,backgroundColor:r,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};i||(c.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",c.unicodeBidi="plaintext"),this.applyStyles(c,this.cueDiv),this.div=t.document.createElement("div"),c={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},i||(c.direction=a(this.cueDiv),c.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(c),this.div.appendChild(this.cueDiv);var u=0;switch(e.positionAlign){case"start":u=e.position;break;case"middle":u=e.position-e.size/2;break;case"end":u=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(u,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(u,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function d(t){var e,n,i,o,r=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,i=t.div.offsetWidth,o=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||o,this.height=t.height||n,this.bottom=t.bottom||o+(t.height||n),this.width=t.width||i,this.lineHeight=e!==undefined?e:t.lineHeight,r&&!this.lineHeight&&(this.lineHeight=13)}function p(t,e,n,i){function o(t,e){for(var o,r=new d(t),s=1,a=0;a<e.length;a++){for(;t.overlapsOppositeAxis(n,e[a])||t.within(n)&&t.overlapsAny(i);)t.move(e[a]);if(t.within(n))return t;var c=t.intersectPercentage(n);s>c&&(o=new d(t),s=c),t=new d(r)}return o||r}var r=new d(e),s=e.cue,a=c(s),l=[];if(s.snapToLines){var u;switch(s.vertical){case"":l=["+y","-y"],u="height";break;case"rl":l=["+x","-x"],u="width";break;case"lr":l=["-x","+x"],u="width"}var p=r.lineHeight,h=p*Math.round(a),f=n[u]+p,m=l[0];Math.abs(h)>f&&(h=h<0?-1:1,h*=Math.ceil(f/p)*p),a<0&&(h+=""===s.vertical?n.height:n.width,l=l.reverse()),r.move(m,h)}else{var g=r.lineHeight/n.height*100;switch(s.lineAlign){case"middle":a-=g/2;break;case"end":a-=g}switch(s.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")})}l=["+y","-x","+x","-y"],r=new d(e)}var v=o(r,l);e.move(v.toCSSCompatValues(n))}function h(){}var f=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();e.prototype=f(Error.prototype),e.prototype.constructor=e,e.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},i.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var i=0;i<n.length;++i)if(e===n[i]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0&&e<=100)&&(this.set(t,e),!0)}};var m={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"\u200e","&rlm;":"\u200f","&nbsp;":"\xa0"},g={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},v={v:"title",lang:"lang"},b={rt:"ruby"},y=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];l.prototype.applyStyles=function(t,e){e=e||this.div;for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},l.prototype.formatStyle=function(t,e){return 0===t?0:t+e},u.prototype=f(l.prototype),u.prototype.constructor=u,d.prototype.move=function(t,e){switch(e=e!==undefined?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},d.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},d.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},d.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},d.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},d.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},d.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},d.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,i=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t,{left:t.left,right:t.right,top:t.top||i,height:t.height||e,bottom:t.bottom||i+(t.height||e),width:t.width||n}},h.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},h.convertCueToDOMTree=function(t,e){return t&&e?s(t,e):null},h.processCues=function(t,e,n){function i(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var o=t.document.createElement("div");if(o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin="1.5%",n.appendChild(o),i(e)){var r=[],s=d.getSimpleBoxPosition(o),a=Math.round(.05*s.height*100)/100,c={font:a+"px sans-serif"};!function(){for(var n,i,a=0;a<e.length;a++)i=e[a],n=new u(t,i,c),o.appendChild(n.div),p(t,n,s,r),i.displayState=n.div,r.push(d.getSimpleBoxPosition(n))}()}else for(var l=0;l<e.length;l++)o.appendChild(e[l].displayState)},h.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},h.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof e))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){function n(){for(var t=c.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var n=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,c.buffer=t.substr(e),n}function s(t){var e=new i;if(o(t,function(t,n){switch(t){case"id":e.set(t,n);break;case"width":e.percent(t,n);break;case"lines":e.integer(t,n);break;case"regionanchor":case"viewportanchor":var o=n.split(",");if(2!==o.length)break;var r=new i;if(r.percent("x",o[0]),r.percent("y",o[1]),!r.has("x")||!r.has("y"))break;e.set(t+"X",r.get("x")),e.set(t+"Y",r.get("y"));break;case"scroll":e.alt(t,n,["up"])}},/=/,/\s/),e.has("id")){var n=new(c.vttjs.VTTRegion||c.window.VTTRegion);n.width=e.get("width",100),n.lines=e.get("lines",3),n.regionAnchorX=e.get("regionanchorX",0),n.regionAnchorY=e.get("regionanchorY",100),n.viewportAnchorX=e.get("viewportanchorX",0),n.viewportAnchorY=e.get("viewportanchorY",100),n.scroll=e.get("scroll",""),c.onregion&&c.onregion(n),c.regionList.push({id:e.get("id"),region:n})}}function a(t){o(t,function(t,e){switch(t){case"Region":s(e)}},/:/)}var c=this;t&&(c.buffer+=c.decoder.decode(t,{stream:!0}));try{var l;if("INITIAL"===c.state){if(!/\r\n|\n/.test(c.buffer))return this;l=n();var u=l.match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new e(e.Errors.BadSignature);c.state="HEADER"}for(var d=!1;c.buffer;){if(!/\r\n|\n/.test(c.buffer))return this;switch(d?d=!1:l=n(),c.state){case"HEADER":/:/.test(l)?a(l):l||(c.state="ID");continue;case"NOTE":l||(c.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(l)){c.state="NOTE";break}if(!l)continue;if(c.cue=new(c.vttjs.VTTCue||c.window.VTTCue)(0,0,""),c.state="CUE",-1===l.indexOf("-->")){c.cue.id=l;continue}case"CUE":try{r(l,c.cue,c.regionList)}catch(t){c.reportOrThrowError(t),c.cue=null,c.state="BADCUE";continue}c.state="CUETEXT";continue;case"CUETEXT":var p=-1!==l.indexOf("-->");if(!l||p&&(d=!0)){c.oncue&&c.oncue(c.cue),c.cue=null,c.state="ID";continue}c.cue.text&&(c.cue.text+="\n"),c.cue.text+=l;continue;case"BADCUE":l||(c.state="ID");continue}}}catch(t){c.reportOrThrowError(t),"CUETEXT"===c.state&&c.cue&&c.oncue&&c.oncue(c.cue),c.cue=null,c.state="INITIAL"===c.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new e(e.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.WebVTT=h}(this,this.vttjs),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Pusher=e():t.Pusher=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";var i=n(1);t.exports=i["default"]},function(t,e,n){"use strict";function i(t){if(null===t||t===undefined)throw"You must pass your app key when you instantiate Pusher."}var o=n(2),r=n(9),s=n(23),a=n(38),c=n(39),l=n(40),u=n(12),d=n(5),p=n(62),h=n(8),f=n(42),m=function(){function t(e,n){var u=this;i(e),n=n||{},this.key=e,this.config=r.extend(p.getGlobalConfig(),n.cluster?p.getClusterConfig(n.cluster):{},n),this.channels=f["default"].createChannels(),this.global_emitter=new s["default"],this.sessionID=Math.floor(1e9*Math.random()),this.timeline=new a["default"](this.key,this.sessionID,{cluster:this.config.cluster,features:t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:c["default"].INFO,version:d["default"].VERSION}),this.config.disableStats||(this.timelineSender=f["default"].createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+o["default"].TimelineTransport.name}));var m=function(t){var e=r.extend({},u.config,t);return l.build(o["default"].getDefaultStrategy(e),e)};this.connection=f["default"].createConnectionManager(this.key,r.extend({getStrategy:m,timeline:this.timeline,activityTimeout:this.config.activity_timeout,pongTimeout:this.config.pong_timeout,unavailableTimeout:this.config.unavailable_timeout},this.config,{encrypted:this.isEncrypted()})),this.connection.bind("connected",function(){u.subscribeAll(),u.timelineSender&&u.timelineSender.send(u.connection.isEncrypted())}),this.connection.bind("message",function(t){var e=0===t.event.indexOf("pusher_internal:");if(t.channel){var n=u.channel(t.channel);n&&n.handleEvent(t.event,t.data)}e||u.global_emitter.emit(t.event,t.data)}),this.connection.bind("connecting",function(){u.channels.disconnect()}),this.connection.bind("disconnected",function(){u.channels.disconnect()}),this.connection.bind("error",function(t){h["default"].warn("Error",t)}),t.instances.push(this),this.timeline.info({instances:t.instances.length}),t.isReady&&this.connect()}return t.ready=function(){t.isReady=!0;for(var e=0,n=t.instances.length;e<n;e++)t.instances[e].connect()},t.log=function(e){t.logToConsole&&window.console&&window.console.log&&window.console.log(e)},t.getClientFeatures=function(){return r.keys(r.filterObject({ws:o["default"].Transports.ws},function(t){return t.isSupported({})}))},t.prototype.channel=function(t){return this.channels.find(t)},t.prototype.allChannels=function(){return this.channels.all()},t.prototype.connect=function(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var t=this.connection.isEncrypted(),e=this.timelineSender;this.timelineSenderTimer=new u.PeriodicTimer(6e4,function(){e.send(t)})}},t.prototype.disconnect=function(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)},t.prototype.bind=function(t,e,n){return this.global_emitter.bind(t,e,n),this},t.prototype.unbind=function(t,e,n){return this.global_emitter.unbind(t,e,n),this},t.prototype.bind_global=function(t){return this.global_emitter.bind_global(t),this},t.prototype.unbind_global=function(t){return this.global_emitter.unbind_global(t),this},t.prototype.unbind_all=function(){return this.global_emitter.unbind_all(),this},t.prototype.subscribeAll=function(){var t;for(t in this.channels.channels)this.channels.channels.hasOwnProperty(t)&&this.subscribe(t)},t.prototype.subscribe=function(t){var e=this.channels.add(t,this);return e.subscriptionPending&&e.subscriptionCancelled?e.reinstateSubscription():e.subscriptionPending||"connected"!==this.connection.state||e.subscribe(),e},t.prototype.unsubscribe=function(t){var e=this.channels.find(t);e&&e.subscriptionPending?e.cancelSubscription():(e=this.channels.remove(t))&&"connected"===this.connection.state&&e.unsubscribe()},t.prototype.send_event=function(t,e,n){return this.connection.send_event(t,e,n)},t.prototype.isEncrypted=function(){return"https:"===o["default"].getProtocol()||Boolean(this.config.encrypted)},t.instances=[],t.isReady=!1,t.logToConsole=!1,t.Runtime=o["default"],t.ScriptReceivers=o["default"].ScriptReceivers,t.DependenciesReceivers=o["default"].DependenciesReceivers,t.auth_callbacks=o["default"].auth_callbacks,t}();e.__esModule=!0,e["default"]=m,o["default"].setup(m)},function(t,e,n){"use strict";var i=n(3),o=n(7),r=n(14),s=n(15),a=n(16),c=n(4),l=n(17),u=n(18),d=n(25),p=n(26),h=n(27),f=n(28),m={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:c.ScriptReceivers,DependenciesReceivers:i.DependenciesReceivers,getDefaultStrategy:p["default"],Transports:u["default"],transportConnectionInitializer:h["default"],HTTPFactory:f["default"],TimelineTransport:l["default"],getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(t){var e=this;window.Pusher=t;var n=function(){e.onDocumentBody(t.ready)};window.JSON?n():i.Dependencies.load("json2",{},n)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:o["default"],jsonp:r["default"]}},onDocumentBody:function(t){var e=this;document.body?t():setTimeout(function(){e.onDocumentBody(t)},0)},createJSONPRequest:function(t,e){return new a["default"](t,e)},createScriptRequest:function(t){return new s["default"](t)},getLocalStorage:function(){try{return window.localStorage}catch(t){return undefined}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){return new(this.getXHRAPI())},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return d.Network},createWebSocket:function(t){return new(this.getWebSocketAPI())(t)},createSocketRequest:function(t,e){if(this.isXHRSupported())return this.HTTPFactory.createXHR(t,e);if(this.isXDRSupported(0===e.indexOf("https:")))return this.HTTPFactory.createXDR(t,e);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var t=this.getXHRAPI();return Boolean(t)&&(new t).withCredentials!==undefined},isXDRSupported:function(t){var e=t?"https:":"http:",n=this.getProtocol();return Boolean(window.XDomainRequest)&&n===e},addUnloadListener:function(t){window.addEventListener!==undefined?window.addEventListener("unload",t,!1):window.attachEvent!==undefined&&window.attachEvent("onunload",t)},removeUnloadListener:function(t){window.addEventListener!==undefined?window.removeEventListener("unload",t,!1):window.detachEvent!==undefined&&window.detachEvent("onunload",t)}};e.__esModule=!0,e["default"]=m},function(t,e,n){"use strict";var i=n(4),o=n(5),r=n(6);e.DependenciesReceivers=new i.ScriptReceiverFactory("_pusher_dependencies","Pusher.DependenciesReceivers"),e.Dependencies=new r["default"]({cdn_http:o["default"].cdn_http,cdn_https:o["default"].cdn_https,version:o["default"].VERSION,suffix:o["default"].dependency_suffix,receivers:e.DependenciesReceivers})},function(t,e){"use strict";var n=function(){function t(t,e){this.lastId=0,this.prefix=t,this.name=e}return t.prototype.create=function(t){this.lastId++;var e=this.lastId,n=this.prefix+e,i=this.name+"["+e+"]",o=!1,r=function(){o||(t.apply(null,arguments),o=!0)};return this[e]=r,{number:e,id:n,name:i,callback:r}},t.prototype.remove=function(t){delete this[t.number]},t}();e.ScriptReceiverFactory=n,e.ScriptReceivers=new n("_pusher_script_","Pusher.ScriptReceivers")},function(t,e){"use strict";var n={VERSION:"4.1.0",PROTOCOL:7,host:"ws.pusherapp.com",ws_port:80,wss_port:443,sockjs_host:"sockjs.pusher.com",sockjs_http_port:80,sockjs_https_port:443,sockjs_path:"/pusher",stats_host:"stats.pusher.com",channel_auth_endpoint:"/pusher/auth",channel_auth_transport:"ajax",activity_timeout:12e4,pong_timeout:3e4,unavailable_timeout:1e4,cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""};e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";var i=n(4),o=n(2),r=function(){function t(t){this.options=t,
this.receivers=t.receivers||i.ScriptReceivers,this.loading={}}return t.prototype.load=function(t,e,n){var i=this;if(i.loading[t]&&i.loading[t].length>0)i.loading[t].push(n);else{i.loading[t]=[n];var r=o["default"].createScriptRequest(i.getPath(t,e)),s=i.receivers.create(function(e){if(i.receivers.remove(s),i.loading[t]){var n=i.loading[t];delete i.loading[t];for(var o=function(t){t||r.cleanup()},a=0;a<n.length;a++)n[a](e,o)}});r.send(s)}},t.prototype.getRoot=function(t){var e,n=o["default"].getDocument().location.protocol;return e=t&&t.encrypted||"https:"===n?this.options.cdn_https:this.options.cdn_http,e.replace(/\/*$/,"")+"/"+this.options.version},t.prototype.getPath=function(t,e){return this.getRoot(e)+"/"+t+this.options.suffix+".js"},t}();e.__esModule=!0,e["default"]=r},function(t,e,n){"use strict";var i=n(8),o=n(2),r=function(t,e,n){var r,s=this;r=o["default"].createXHR(),r.open("POST",s.options.authEndpoint,!0),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(var a in this.authOptions.headers)r.setRequestHeader(a,this.authOptions.headers[a]);return r.onreadystatechange=function(){if(4===r.readyState)if(200===r.status){var t,e=!1;try{t=JSON.parse(r.responseText),e=!0}catch(t){n(!0,"JSON returned from webapp was invalid, yet status code was 200. Data was: "+r.responseText)}e&&n(!1,t)}else i["default"].warn("Couldn't get auth info from your webapp",r.status),n(!0,r.status)},r.send(this.composeQuery(e)),r};e.__esModule=!0,e["default"]=r},function(t,e,n){"use strict";var i=n(9),o=n(1),r={debug:function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];o["default"].log&&o["default"].log(i.stringify.apply(this,arguments))},warn:function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=i.stringify.apply(this,arguments);window.console&&(window.console.warn?window.console.warn(n):window.console.log&&window.console.log(n)),o["default"].log&&o["default"].log(n)}};e.__esModule=!0,e["default"]=r},function(t,e,n){"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var o=0;o<e.length;o++){var r=e[o];for(var s in r)r[s]&&r[s].constructor&&r[s].constructor===Object?t[s]=i(t[s]||{},r[s]):t[s]=r[s]}return t}function o(){for(var t=["Pusher"],e=0;e<arguments.length;e++)"string"==typeof arguments[e]?t.push(arguments[e]):t.push(_(arguments[e]));return t.join(" : ")}function r(t,e){var n=Array.prototype.indexOf;if(null===t)return-1;if(n&&t.indexOf===n)return t.indexOf(e);for(var i=0,o=t.length;i<o;i++)if(t[i]===e)return i;return-1}function s(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(t[n],n,t)}function a(t){var e=[];return s(t,function(t,n){e.push(n)}),e}function c(t){var e=[];return s(t,function(t){e.push(t)}),e}function l(t,e,n){for(var i=0;i<t.length;i++)e.call(n||window,t[i],i,t)}function u(t,e){for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i,t,n));return n}function d(t,e){var n={};return s(t,function(t,i){n[i]=e(t)}),n}function p(t,e){e=e||function(t){return!!t};for(var n=[],i=0;i<t.length;i++)e(t[i],i,t,n)&&n.push(t[i]);return n}function h(t,e){var n={};return s(t,function(i,o){(e&&e(i,o,t,n)||Boolean(i))&&(n[o]=i)}),n}function f(t){var e=[];return s(t,function(t,n){e.push([n,t])}),e}function m(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return!0;return!1}function g(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n,t))return!1;return!0}function v(t){return d(t,function(t){return"object"==typeof t&&(t=_(t)),encodeURIComponent(M["default"](t.toString()))})}function b(t){return u(f(v(h(t,function(t){return t!==undefined}))),w["default"].method("join","=")).join("&")}function y(t){var e=[],n=[];return function t(i,o){var r,s,a;switch(typeof i){case"object":if(!i)return null;for(r=0;r<e.length;r+=1)if(e[r]===i)return{$ref:n[r]};if(e.push(i),n.push(o),"[object Array]"===Object.prototype.toString.apply(i))for(a=[],r=0;r<i.length;r+=1)a[r]=t(i[r],o+"["+r+"]");else{a={};for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(a[s]=t(i[s],o+"["+JSON.stringify(s)+"]"))}return a;case"number":case"string":case"boolean":return i}}(t,"$")}function _(t){try{return JSON.stringify(t)}catch(e){return JSON.stringify(y(t))}}var M=n(10),w=n(11);e.extend=i,e.stringify=o,e.arrayIndexOf=r,e.objectApply=s,e.keys=a,e.values=c,e.apply=l,e.map=u,e.mapObject=d,e.filter=p,e.filterObject=h,e.flatten=f,e.any=m,e.all=g,e.encodeParamsObject=v,e.buildQueryString=b,e.decycleObject=y,e.safeJSONStringify=_},function(t,e){"use strict";function n(t){return d(l(t))}e.__esModule=!0,e["default"]=n;for(var i=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={},s=0,a=o.length;s<a;s++)r[o.charAt(s)]=s;var c=function(t){var e=t.charCodeAt(0);return e<128?t:e<2048?i(192|e>>>6)+i(128|63&e):i(224|e>>>12&15)+i(128|e>>>6&63)+i(128|63&e)},l=function(t){return t.replace(/[^\x00-\x7F]/g,c)},u=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[o.charAt(n>>>18),o.charAt(n>>>12&63),e>=2?"=":o.charAt(n>>>6&63),e>=1?"=":o.charAt(63&n)].join("")},d=window.btoa||function(t){return t.replace(/[\s\S]{1,3}/g,u)}},function(t,e,n){"use strict";var i=n(12),o={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(t){return new i.OneOffTimer(0,t)},method:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=Array.prototype.slice.call(arguments,1);return function(e){return e[t].apply(e,i.concat(arguments))}}};e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";function i(t){window.clearTimeout(t)}function o(t){window.clearInterval(t)}var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(13),a=function(t){function e(e,n){t.call(this,setTimeout,i,e,function(){return n(),null})}return r(e,t),e}(s["default"]);e.OneOffTimer=a;var c=function(t){function e(e,n){t.call(this,setInterval,o,e,function(t){return n(),t})}return r(e,t),e}(s["default"]);e.PeriodicTimer=c},function(t,e){"use strict";var n=function(){function t(t,e,n,i){var o=this;this.clear=e,this.timer=t(function(){o.timer&&(o.timer=i(o.timer))},n)}return t.prototype.isRunning=function(){return null!==this.timer},t.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},t}();e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";var i=n(8),o=function(t,e,n){this.authOptions.headers!==undefined&&i["default"].warn("Warn","To send headers with the auth request, you must use AJAX, rather than JSONP.");var o=t.nextAuthCallbackID.toString();t.nextAuthCallbackID++;var r=t.getDocument(),s=r.createElement("script");t.auth_callbacks[o]=function(t){n(!1,t)};var a="Pusher.auth_callbacks['"+o+"']";s.src=this.options.authEndpoint+"?callback="+encodeURIComponent(a)+"&"+this.composeQuery(e);var c=r.getElementsByTagName("head")[0]||r.documentElement;c.insertBefore(s,c.firstChild)};e.__esModule=!0,e["default"]=o},function(t,e){"use strict";var n=function(){function t(t){this.src=t}return t.prototype.send=function(t){var e=this,n="Error loading "+e.src;e.script=document.createElement("script"),e.script.id=t.id,e.script.src=e.src,e.script.type="text/javascript",e.script.charset="UTF-8",e.script.addEventListener?(e.script.onerror=function(){t.callback(n)},e.script.onload=function(){t.callback(null)}):e.script.onreadystatechange=function(){"loaded"!==e.script.readyState&&"complete"!==e.script.readyState||t.callback(null)},e.script.async===undefined&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(e.errorScript=document.createElement("script"),e.errorScript.id=t.id+"_error",e.errorScript.text=t.name+"('"+n+"');",e.script.async=e.errorScript.async=!1):e.script.async=!0;var i=document.getElementsByTagName("head")[0];i.insertBefore(e.script,i.firstChild),e.errorScript&&i.insertBefore(e.errorScript,e.script.nextSibling)},t.prototype.cleanup=function(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null},t}();e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";var i=n(9),o=n(2),r=function(){function t(t,e){this.url=t,this.data=e}return t.prototype.send=function(t){if(!this.request){var e=i.buildQueryString(this.data),n=this.url+"/"+t.number+"?"+e;this.request=o["default"].createScriptRequest(n),this.request.send(t)}},t.prototype.cleanup=function(){this.request&&this.request.cleanup()},t}();e.__esModule=!0,e["default"]=r},function(t,e,n){"use strict";var i=n(2),o=n(4),r=function(t,e){return function(n,r){var s="http"+(e?"s":"")+"://",a=s+(t.host||t.options.host)+t.options.path,c=i["default"].createJSONPRequest(a,n),l=i["default"].ScriptReceivers.create(function(e,n){o.ScriptReceivers.remove(l),c.cleanup(),n&&n.host&&(t.host=n.host),r&&r(e,n)});c.send(l)}},s={name:"jsonp",getAgent:r};e.__esModule=!0,e["default"]=s},function(t,e,n){"use strict";var i=n(19),o=n(21),r=n(20),s=n(2),a=n(3),c=n(9),l=new o["default"]({file:"sockjs",urls:r.sockjs,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return window.SockJS!==undefined},getSocket:function(t,e){return new window.SockJS(t,null,{js_path:a.Dependencies.getPath("sockjs",{encrypted:e.encrypted}),ignore_null_origin:e.ignoreNullOrigin})},beforeOpen:function(t,e){t.send(JSON.stringify({path:e}))}}),u={isSupported:function(t){return s["default"].isXDRSupported(t.encrypted)}},d=new o["default"](c.extend({},i.streamingConfiguration,u)),p=new o["default"](c.extend({},i.pollingConfiguration,u));i["default"].xdr_streaming=d,i["default"].xdr_polling=p,i["default"].sockjs=l,e.__esModule=!0,e["default"]=i["default"]},function(t,e,n){"use strict";var i=n(20),o=n(21),r=n(9),s=n(2),a=new o["default"]({urls:i.ws,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return Boolean(s["default"].getWebSocketAPI())},isSupported:function(){return Boolean(s["default"].getWebSocketAPI())},getSocket:function(t){return s["default"].createWebSocket(t)}}),c={urls:i.http,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}};e.streamingConfiguration=r.extend({getSocket:function(t){return s["default"].HTTPFactory.createStreamingSocket(t)}},c),e.pollingConfiguration=r.extend({getSocket:function(t){return s["default"].HTTPFactory.createPollingSocket(t)}},c);var l={isSupported:function(){return s["default"].isXHRSupported()}},u=new o["default"](r.extend({},e.streamingConfiguration,l)),d=new o["default"](r.extend({},e.pollingConfiguration,l)),p={ws:a,xhr_streaming:u,xhr_polling:d};e.__esModule=!0,e["default"]=p},function(t,e,n){"use strict";function i(t,e,n){return t+(e.encrypted?"s":"")+"://"+(e.encrypted?e.hostEncrypted:e.hostUnencrypted)+n}function o(t,e){return"/app/"+t+"?protocol="+r["default"].PROTOCOL+"&client=js&version="+r["default"].VERSION+(e?"&"+e:"")}var r=n(5);e.ws={getInitial:function(t,e){return i("ws",e,o(t,"flash=false"))}},e.http={getInitial:function(t,e){return i("http",e,(e.httpPath||"/pusher")+o(t))}},e.sockjs={getInitial:function(t,e){return i("http",e,e.httpPath||"/pusher")},getPath:function(t){return o(t)}}},function(t,e,n){"use strict";var i=n(22),o=function(){function t(t){this.hooks=t}return t.prototype.isSupported=function(t){return this.hooks.isSupported(t)},t.prototype.createConnection=function(t,e,n,o){return new i["default"](this.hooks,t,e,n,o)},t}();e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(11),r=n(9),s=n(23),a=n(8),c=n(2),l=function(t){function e(e,n,i,o,r){t.call(this),this.initialize=c["default"].transportConnectionInitializer,this.hooks=e,this.name=n,this.priority=i,this.key=o,this.options=r,this.state="new",this.timeline=r.timeline,this.activityTimeout=r.activityTimeout,this.id=this.timeline.generateUniqueID()}return i(e,t),e.prototype.handlesActivityChecks=function(){return Boolean(this.hooks.handlesActivityChecks)},e.prototype.supportsPing=function(){return Boolean(this.hooks.supportsPing)},e.prototype.connect=function(){var t=this;if(this.socket||"initialized"!==this.state)return!1;var e=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(e,this.options)}catch(e){return o["default"].defer(function(){t.onError(e),t.changeState("closed")}),!1}return this.bindListeners(),a["default"].debug("Connecting",{transport:this.name,url:e}),this.changeState("connecting"),!0},e.prototype.close=function(){return!!this.socket&&(this.socket.close(),!0)},e.prototype.send=function(t){var e=this;return"open"===this.state&&(o["default"].defer(function(){e.socket&&e.socket.send(t)}),!0)},e.prototype.ping=function(){"open"===this.state&&this.supportsPing()&&this.socket.ping()},e.prototype.onOpen=function(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=undefined},e.prototype.onError=function(t){this.emit("error",{type:"WebSocketError",error:t}),this.timeline.error(this.buildTimelineMessage({error:t.toString()}))},e.prototype.onClose=function(t){t?this.changeState("closed",{code:t.code,reason:t.reason,wasClean:t.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=undefined},e.prototype.onMessage=function(t){this.emit("message",t)},e.prototype.onActivity=function(){this.emit("activity")},e.prototype.bindListeners=function(){var t=this;this.socket.onopen=function(){t.onOpen()},this.socket.onerror=function(e){t.onError(e)},this.socket.onclose=function(e){t.onClose(e)},this.socket.onmessage=function(e){t.onMessage(e)},this.supportsPing()&&(this.socket.onactivity=function(){t.onActivity()})},e.prototype.unbindListeners=function(){this.socket&&(this.socket.onopen=undefined,this.socket.onerror=undefined,this.socket.onclose=undefined,this.socket.onmessage=undefined,this.supportsPing()&&(this.socket.onactivity=undefined))},e.prototype.changeState=function(t,e){this.state=t,this.timeline.info(this.buildTimelineMessage({state:t,params:e})),this.emit(t,e)},e.prototype.buildTimelineMessage=function(t){return r.extend({cid:this.id},t)},e}(s["default"]);e.__esModule=!0,e["default"]=l},function(t,e,n){"use strict";var i=n(9),o=n(24),r=function(){function t(t){this.callbacks=new o["default"],this.global_callbacks=[],this.failThrough=t}return t.prototype.bind=function(t,e,n){return this.callbacks.add(t,e,n),this},t.prototype.bind_global=function(t){return this.global_callbacks.push(t),this},t.prototype.unbind=function(t,e,n){return this.callbacks.remove(t,e,n),this},t.prototype.unbind_global=function(t){return t?(this.global_callbacks=i.filter(this.global_callbacks||[],function(e){return e!==t}),this):(this.global_callbacks=[],this)},t.prototype.unbind_all=function(){return this.unbind(),this.unbind_global(),this},t.prototype.emit=function(t,e){var n;for(n=0;n<this.global_callbacks.length;n++)this.global_callbacks[n](t,e);var i=this.callbacks.get(t);if(i&&i.length>0)for(n=0;n<i.length;n++)i[n].fn.call(i[n].context||window,e);else this.failThrough&&this.failThrough(t,e);return this},t}();e.__esModule=!0,e["default"]=r},function(t,e,n){"use strict";function i(t){return"_"+t}var o=n(9),r=function(){function t(){this._callbacks={}}return t.prototype.get=function(t){return this._callbacks[i(t)]},t.prototype.add=function(t,e,n){var o=i(t);this._callbacks[o]=this._callbacks[o]||[],this._callbacks[o].push({fn:e,context:n})},t.prototype.remove=function(t,e,n){if(!t&&!e&&!n)return void(this._callbacks={});var r=t?[i(t)]:o.keys(this._callbacks);e||n?this.removeCallback(r,e,n):this.removeAllCallbacks(r)},t.prototype.removeCallback=function(t,e,n){o.apply(t,function(t){this._callbacks[t]=o.filter(this._callbacks[t]||[],function(t){return e&&e!==t.fn||n&&n!==t.context}),0===this._callbacks[t].length&&delete this._callbacks[t]},this)},t.prototype.removeAllCallbacks=function(t){o.apply(t,function(t){delete this._callbacks[t]},this)},t}();e.__esModule=!0,e["default"]=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(23),r=function(t){function e(){t.call(this);var e=this;window.addEventListener!==undefined&&(window.addEventListener("online",function(){e.emit("online")},!1),window.addEventListener("offline",function(){e.emit("offline")},!1))}return i(e,t),e.prototype.isOnline=function(){return window.navigator.onLine===undefined||window.navigator.onLine},e}(o["default"]);e.NetInfo=r,e.Network=new r},function(t,e){"use strict";var n=function(t){var e;return e=t.encrypted?[":best_connected_ever",":ws_loop",[":delayed",2e3,[":http_fallback_loop"]]]:[":best_connected_ever",":ws_loop",[":delayed",2e3,[":wss_loop"]],[":delayed",5e3,[":http_fallback_loop"]]],[[":def","ws_options",{hostUnencrypted:t.wsHost+":"+t.wsPort,hostEncrypted:t.wsHost+":"+t.wssPort}],[":def","wss_options",[":extend",":ws_options",{encrypted:!0}]],[":def","sockjs_options",{hostUnencrypted:t.httpHost+":"+t.httpPort,hostEncrypted:t.httpHost+":"+t.httpsPort,httpPath:t.httpPath}],[":def","timeouts",{loop:!0,timeout:15e3,timeoutLimit:6e4}],[":def","ws_manager",[":transport_manager",{lives:2,minPingDelay:1e4,maxPingDelay:t.activity_timeout}]],[":def","streaming_manager",[":transport_manager",{lives:2,minPingDelay:1e4,maxPingDelay:t.activity_timeout}]],[":def_transport","ws","ws",3,":ws_options",":ws_manager"],[":def_transport","wss","ws",3,":wss_options",":ws_manager"],[":def_transport","sockjs","sockjs",1,":sockjs_options"],[":def_transport","xhr_streaming","xhr_streaming",1,":sockjs_options",":streaming_manager"],[":def_transport","xdr_streaming","xdr_streaming",1,":sockjs_options",":streaming_manager"],[":def_transport","xhr_polling","xhr_polling",1,":sockjs_options"],[":def_transport","xdr_polling","xdr_polling",1,":sockjs_options"],[":def","ws_loop",[":sequential",":timeouts",":ws"]],[":def","wss_loop",[":sequential",":timeouts",":wss"]],[":def","sockjs_loop",[":sequential",":timeouts",":sockjs"]],[":def","streaming_loop",[":sequential",":timeouts",[":if",[":is_supported",":xhr_streaming"],":xhr_streaming",":xdr_streaming"]]],[":def","polling_loop",[":sequential",":timeouts",[":if",[":is_supported",":xhr_polling"],":xhr_polling",":xdr_polling"]]],[":def","http_loop",[":if",[":is_supported",":streaming_loop"],[":best_connected_ever",":streaming_loop",[":delayed",4e3,[":polling_loop"]]],[":polling_loop"]]],[":def","http_fallback_loop",[":if",[":is_supported",":http_loop"],[":http_loop"],[":sockjs_loop"]]],[":def","strategy",[":cached",18e5,[":first_connected",[":if",[":is_supported",":ws"],e,":http_fallback_loop"]]]]]};e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";function i(){var t=this;t.timeline.info(t.buildTimelineMessage({transport:t.name+(t.options.encrypted?"s":"")})),t.hooks.isInitialized()?t.changeState("initialized"):t.hooks.file?(t.changeState("initializing"),o.Dependencies.load(t.hooks.file,{encrypted:t.options.encrypted},function(e,n){t.hooks.isInitialized()?(t.changeState("initialized"),n(!0)):(e&&t.onError(e),t.onClose(),n(!1))})):t.onClose()}var o=n(3);e.__esModule=!0,e["default"]=i},function(t,e,n){"use strict";var i=n(29),o=n(31);o["default"].createXDR=function(t,e){return this.createRequest(i["default"],t,e)},e.__esModule=!0,e["default"]=o["default"]},function(t,e,n){"use strict";var i=n(30),o={getRequest:function(t){var e=new window.XDomainRequest;return e.ontimeout=function(){t.emit("error",new i.RequestTimedOut),t.close()},e.onerror=function(e){t.emit("error",e),t.close()},e.onprogress=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText)},e.onload=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText),t.emit("finished",200),t.close()},e},abortRequest:function(t){t.ontimeout=t.onerror=t.onprogress=t.onload=null,t.abort()}};e.__esModule=!0,e["default"]=o},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.BadEventName=i;var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.RequestTimedOut=o;var r=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportPriorityTooLow=r;var s=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportClosed=s;var a=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedTransport=a;var c=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedStrategy=c},function(t,e,n){"use strict";var i=n(32),o=n(33),r=n(35),s=n(36),a=n(37),c={createStreamingSocket:function(t){return this.createSocket(r["default"],t)},createPollingSocket:function(t){return this.createSocket(s["default"],t)},createSocket:function(t,e){return new o["default"](t,e)},createXHR:function(t,e){return this.createRequest(a["default"],t,e)},createRequest:function(t,e,n){return new i["default"](t,e,n)}};e.__esModule=!0,e["default"]=c},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(2),r=n(23),s=262144,a=function(t){function e(e,n,i){t.call(this),this.hooks=e,this.method=n,this.url=i}return i(e,t),e.prototype.start=function(t){var e=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){e.close()},o["default"].addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(t)},e.prototype.close=function(){this.unloader&&(o["default"].removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},e.prototype.onChunk=function(t,e){for(;;){var n=this.advanceBuffer(e);if(!n)break;this.emit("chunk",{status:t,data:n})}this.isBufferTooLong(e)&&this.emit("buffer_too_long")},e.prototype.advanceBuffer=function(t){var e=t.slice(this.position),n=e.indexOf("\n");return-1!==n?(this.position+=n+1,e.slice(0,n)):null},e.prototype.isBufferTooLong=function(t){return this.position===t.length&&t.length>s},e}(r["default"]);e.__esModule=!0,e["default"]=a},function(t,e,n){"use strict";function i(t){var e=/([^\?]*)\/*(\??.*)/.exec(t);return{base:e[1],queryString:e[2]}}function o(t,e){return t.base+"/"+e+"/xhr_send"}function r(t){return t+(-1===t.indexOf("?")?"?":"&")+"t="+ +new Date+"&n="+p++}function s(t,e){var n=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(t);return n[1]+e+n[3]}function a(t){return Math.floor(Math.random()*t)}function c(t){for(var e=[],n=0;n<t;n++)e.push(a(32).toString(32));return e.join("")}var l=n(34),u=n(11),d=n(2),p=1,h=function(){function t(t,e){this.hooks=t,this.session=a(1e3)+"/"+c(8),this.location=i(e),this.readyState=l["default"].CONNECTING,this.openStream()}return t.prototype.send=function(t){return this.sendRaw(JSON.stringify([t]))},t.prototype.ping=function(){this.hooks.sendHeartbeat(this)},t.prototype.close=function(t,e){this.onClose(t,e,!0)},t.prototype.sendRaw=function(t){if(this.readyState!==l["default"].OPEN)return!1;try{return d["default"].createSocketRequest("POST",r(o(this.location,this.session))).start(t),!0}catch(t){return!1}},t.prototype.reconnect=function(){this.closeStream(),this.openStream()},t.prototype.onClose=function(t,e,n){this.closeStream(),this.readyState=l["default"].CLOSED,this.onclose&&this.onclose({code:t,reason:e,wasClean:n})},t.prototype.onChunk=function(t){if(200===t.status){this.readyState===l["default"].OPEN&&this.onActivity();var e;switch(t.data.slice(0,1)){case"o":e=JSON.parse(t.data.slice(1)||"{}"),this.onOpen(e);break;case"a":e=JSON.parse(t.data.slice(1)||"[]");for(var n=0;n<e.length;n++)this.onEvent(e[n]);break;case"m":e=JSON.parse(t.data.slice(1)||"null"),this.onEvent(e);break;case"h":this.hooks.onHeartbeat(this);break;case"c":e=JSON.parse(t.data.slice(1)||"[]"),this.onClose(e[0],e[1],!0)}}},t.prototype.onOpen=function(t){this.readyState===l["default"].CONNECTING?(t&&t.hostname&&(this.location.base=s(this.location.base,t.hostname)),this.readyState=l["default"].OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},t.prototype.onEvent=function(t){this.readyState===l["default"].OPEN&&this.onmessage&&this.onmessage({data:t})},t.prototype.onActivity=function(){this.onactivity&&this.onactivity()},t.prototype.onError=function(t){this.onerror&&this.onerror(t)},t.prototype.openStream=function(){var t=this;this.stream=d["default"].createSocketRequest("POST",r(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(e){t.onChunk(e)}),this.stream.bind("finished",function(e){t.hooks.onFinished(t,e)}),this.stream.bind("buffer_too_long",function(){t.reconnect()});try{this.stream.start()}catch(e){u["default"].defer(function(){t.onError(e),t.onClose(1006,"Could not start streaming",!1)})}},t.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},t}();e.__esModule=!0,e["default"]=h},function(t,e){"use strict";var n;!function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSED=3]="CLOSED"}(n||(n={})),e.__esModule=!0,e["default"]=n},function(t,e){"use strict";var n={getReceiveURL:function(t,e){return t.base+"/"+e+"/xhr_streaming"+t.queryString},onHeartbeat:function(t){t.sendRaw("[]")},sendHeartbeat:function(t){t.sendRaw("[]")},onFinished:function(t,e){t.onClose(1006,"Connection interrupted ("+e+")",!1)}};e.__esModule=!0,e["default"]=n},function(t,e){"use strict";var n={getReceiveURL:function(t,e){return t.base+"/"+e+"/xhr"+t.queryString},onHeartbeat:function(){},sendHeartbeat:function(t){t.sendRaw("[]")},onFinished:function(t,e){200===e?t.reconnect():t.onClose(1006,"Connection interrupted ("+e+")",!1)}};e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";var i=n(2),o={getRequest:function(t){var e=i["default"].getXHRAPI(),n=new e;return n.onreadystatechange=n.onprogress=function(){switch(n.readyState){case 3:n.responseText&&n.responseText.length>0&&t.onChunk(n.status,n.responseText);break;case 4:n.responseText&&n.responseText.length>0&&t.onChunk(n.status,n.responseText),t.emit("finished",n.status),t.close()}},n},abortRequest:function(t){t.onreadystatechange=null,t.abort()}};e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";var i=n(9),o=n(11),r=n(39),s=function(){function t(t,e,n){this.key=t,this.session=e,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return t.prototype.log=function(t,e){t<=this.options.level&&(this.events.push(i.extend({},e,{timestamp:o["default"].now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},t.prototype.error=function(t){this.log(r["default"].ERROR,t)},t.prototype.info=function(t){this.log(r["default"].INFO,t)},t.prototype.debug=function(t){this.log(r["default"].DEBUG,t)},t.prototype.isEmpty=function(){return 0===this.events.length},t.prototype.send=function(t,e){var n=this,o=i.extend({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],t(o,function(t,i){t||n.sent++,e&&e(t,i)}),!0},t.prototype.generateUniqueID=function(){return++this.uniqueID},t}();e.__esModule=!0,e["default"]=s},function(t,e){"use strict";var n;!function(t){t[t.ERROR=3]="ERROR",t[t.INFO=6]="INFO",t[t.DEBUG=7]="DEBUG"}(n||(n={})),e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";function i(t){return function(e){return[t.apply(this,arguments),e]}}function o(t){return"string"==typeof t&&":"===t.charAt(0)}function r(t,e){return e[t.slice(1)]}function s(t,e){if(0===t.length)return[[],e];var n=l(t[0],e),i=s(t.slice(1),n[1]);return[[n[0]].concat(i[0]),i[1]]}function a(t,e){if(!o(t))return[t,e];var n=r(t,e);if(n===undefined)throw"Undefined symbol "+t;return[n,e]}function c(t,e){if(o(t[0])){var n=r(t[0],e);if(t.length>1){if("function"!=typeof n)throw"Calling non-function "+t[0];var i=[u.extend({},e)].concat(u.map(t.slice(1),function(t){return l(t,u.extend({},e))[0]}));return n.apply(this,i)}return[n,e]}return s(t,e)}function l(t,e){return"string"==typeof t?a(t,e):"object"==typeof t&&t instanceof Array&&t.length>0?c(t,e):[t,e]}var u=n(9),d=n(11),p=n(41),h=n(30),f=n(55),m=n(56),g=n(57),v=n(58),b=n(59),y=n(60),_=n(61),M=n(2),w=M["default"].Transports;e.build=function(t,e){return l(t,u.extend({},T,e))[1].strategy};var A={isSupported:function(){return!1},connect:function(t,e){var n=d["default"].defer(function(){e(new h.UnsupportedStrategy)});return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}},T={extend:function(t,e,n){return[u.extend({},e,n),t]},def:function(t,e,n){if(t[e]!==undefined)throw"Redefining symbol "+e;return t[e]=n,[undefined,t]},def_transport:function(t,e,n,i,o,r){var s=w[n];if(!s)throw new h.UnsupportedTransport(n);var a,c=!(t.enabledTransports&&-1===u.arrayIndexOf(t.enabledTransports,e)||t.disabledTransports&&-1!==u.arrayIndexOf(t.disabledTransports,e));a=c?new f["default"](e,i,r?r.getAssistant(s):s,u.extend({key:t.key,encrypted:t.encrypted,timeline:t.timeline,ignoreNullOrigin:t.ignoreNullOrigin},o)):A;var l=t.def(t,e,a)[1];return l.Transports=t.Transports||{},l.Transports[e]=a,[undefined,l]},transport_manager:i(function(t,e){return new p["default"](e)}),sequential:i(function(t,e){var n=Array.prototype.slice.call(arguments,2);return new m["default"](n,e)}),cached:i(function(t,e,n){return new v["default"](n,t.Transports,{ttl:e,timeline:t.timeline,encrypted:t.encrypted})}),first_connected:i(function(t,e){return new _["default"](e)}),best_connected_ever:i(function(){var t=Array.prototype.slice.call(arguments,1);return new g["default"](t)}),delayed:i(function(t,e,n){return new b["default"](n,{delay:e})}),"if":i(function(t,e,n,i){return new y["default"](e,n,i)}),is_supported:i(function(t,e){return function(){return e.isSupported()}})}},function(t,e,n){"use strict";var i=n(42),o=function(){function t(t){this.options=t||{},this.livesLeft=this.options.lives||Infinity}return t.prototype.getAssistant=function(t){return i["default"].createAssistantToTheTransportManager(this,t,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},t.prototype.isAlive=function(){return this.livesLeft>0},t.prototype.reportDeath=function(){this.livesLeft-=1},t}();e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";var i=n(43),o=n(44),r=n(47),s=n(48),a=n(49),c=n(50),l=n(51),u=n(53),d=n(54),p={createChannels:function(){return new d["default"]},createConnectionManager:function(t,e){return new u["default"](t,e)},createChannel:function(t,e){return new l["default"](t,e)},createPrivateChannel:function(t,e){return new c["default"](t,e)},createPresenceChannel:function(t,e){return new a["default"](t,e)},createTimelineSender:function(t,e){return new s["default"](t,e)},createAuthorizer:function(t,e){return e.authorizer?e.authorizer(t,e):new r["default"](t,e)},createHandshake:function(t,e){return new o["default"](t,e)},createAssistantToTheTransportManager:function(t,e,n){return new i["default"](t,e,n)}};e.__esModule=!0,e["default"]=p},function(t,e,n){"use strict";var i=n(11),o=n(9),r=function(){function t(t,e,n){this.manager=t,this.transport=e,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=undefined}return t.prototype.createConnection=function(t,e,n,r){var s=this;r=o.extend({},r,{activityTimeout:this.pingDelay});var a=this.transport.createConnection(t,e,n,r),c=null,l=function(){a.unbind("open",l),a.bind("closed",u),c=i["default"].now()},u=function(t){if(a.unbind("closed",u),1002===t.code||1003===t.code)s.manager.reportDeath();else if(!t.wasClean&&c){var e=i["default"].now()-c;e<2*s.maxPingDelay&&(s.manager.reportDeath(),s.pingDelay=Math.max(e/2,s.minPingDelay))}};return a.bind("open",l),a},t.prototype.isSupported=function(t){return this.manager.isAlive()&&this.transport.isSupported(t)},t}();e.__esModule=!0,
e["default"]=r},function(t,e,n){"use strict";var i=n(9),o=n(45),r=n(46),s=function(){function t(t,e){this.transport=t,this.callback=e,this.bindListeners()}return t.prototype.close=function(){this.unbindListeners(),this.transport.close()},t.prototype.bindListeners=function(){var t=this;this.onMessage=function(e){t.unbindListeners();var n;try{n=o.processHandshake(e)}catch(e){return t.finish("error",{error:e}),void t.transport.close()}"connected"===n.action?t.finish("connected",{connection:new r["default"](n.id,t.transport),activityTimeout:n.activityTimeout}):(t.finish(n.action,{error:n.error}),t.transport.close())},this.onClosed=function(e){t.unbindListeners();var n=o.getCloseAction(e)||"backoff",i=o.getCloseError(e);t.finish(n,{error:i})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},t.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},t.prototype.finish=function(t,e){this.callback(i.extend({transport:this.transport,action:t},e))},t}();e.__esModule=!0,e["default"]=s},function(t,e){"use strict";e.decodeMessage=function(t){try{var e=JSON.parse(t.data);if("string"==typeof e.data)try{e.data=JSON.parse(e.data)}catch(t){if(!(t instanceof SyntaxError))throw t}return e}catch(e){throw{type:"MessageParseError",error:e,data:t.data}}},e.encodeMessage=function(t){return JSON.stringify(t)},e.processHandshake=function(t){if(t=e.decodeMessage(t),"pusher:connection_established"===t.event){if(!t.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:t.data.socket_id,activityTimeout:1e3*t.data.activity_timeout}}if("pusher:error"===t.event)return{action:this.getCloseAction(t.data),error:this.getCloseError(t.data)};throw"Invalid handshake"},e.getCloseAction=function(t){return t.code<4e3?t.code>=1002&&t.code<=1004?"backoff":null:4e3===t.code?"ssl_only":t.code<4100?"refused":t.code<4200?"backoff":t.code<4300?"retry":"refused"},e.getCloseError=function(t){return 1e3!==t.code&&1001!==t.code?{type:"PusherError",data:{code:t.code,message:t.reason||t.message}}:null}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(9),r=n(23),s=n(45),a=n(8),c=function(t){function e(e,n){t.call(this),this.id=e,this.transport=n,this.activityTimeout=n.activityTimeout,this.bindListeners()}return i(e,t),e.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},e.prototype.send=function(t){return this.transport.send(t)},e.prototype.send_event=function(t,e,n){var i={event:t,data:e};return n&&(i.channel=n),a["default"].debug("Event sent",i),this.send(s.encodeMessage(i))},e.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},e.prototype.close=function(){this.transport.close()},e.prototype.bindListeners=function(){var t=this,e={message:function(e){var n;try{n=s.decodeMessage(e)}catch(n){t.emit("error",{type:"MessageParseError",error:n,data:e.data})}if(n!==undefined){switch(a["default"].debug("Event recd",n),n.event){case"pusher:error":t.emit("error",{type:"PusherError",data:n.data});break;case"pusher:ping":t.emit("ping");break;case"pusher:pong":t.emit("pong")}t.emit("message",n)}},activity:function(){t.emit("activity")},error:function(e){t.emit("error",{type:"WebSocketError",error:e})},closed:function(e){n(),e&&e.code&&t.handleCloseEvent(e),t.transport=null,t.emit("closed")}},n=function(){o.objectApply(e,function(e,n){t.transport.unbind(n,e)})};o.objectApply(e,function(e,n){t.transport.bind(n,e)})},e.prototype.handleCloseEvent=function(t){var e=s.getCloseAction(t),n=s.getCloseError(t);n&&this.emit("error",n),e&&this.emit(e)},e}(r["default"]);e.__esModule=!0,e["default"]=c},function(t,e,n){"use strict";var i=n(2),o=function(){function t(t,e){this.channel=t;var n=e.authTransport;if("undefined"==typeof i["default"].getAuthorizers()[n])throw"'"+n+"' is not a recognized auth transport";this.type=n,this.options=e,this.authOptions=(e||{}).auth||{}}return t.prototype.composeQuery=function(t){var e="socket_id="+encodeURIComponent(t)+"&channel_name="+encodeURIComponent(this.channel.name);for(var n in this.authOptions.params)e+="&"+encodeURIComponent(n)+"="+encodeURIComponent(this.authOptions.params[n]);return e},t.prototype.authorize=function(e,n){return t.authorizers=t.authorizers||i["default"].getAuthorizers(),t.authorizers[this.type].call(this,i["default"],e,n)},t}();e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";var i=n(2),o=function(){function t(t,e){this.timeline=t,this.options=e||{}}return t.prototype.send=function(t,e){this.timeline.isEmpty()||this.timeline.send(i["default"].TimelineTransport.getAgent(this,t),e)},t}();e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(50),r=n(8),s=n(52),a=function(t){function e(e,n){t.call(this,e,n),this.members=new s["default"]}return i(e,t),e.prototype.authorize=function(e,n){var i=this;t.prototype.authorize.call(this,e,function(t,e){if(!t){if(e.channel_data===undefined)return r["default"].warn("Invalid auth response for channel '"+i.name+"', expected 'channel_data' field"),void n("Invalid auth response");var o=JSON.parse(e.channel_data);i.members.setMyID(o.user_id)}n(t,e)})},e.prototype.handleEvent=function(t,e){switch(t){case"pusher_internal:subscription_succeeded":this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(e),this.emit("pusher:subscription_succeeded",this.members));break;case"pusher_internal:member_added":var n=this.members.addMember(e);this.emit("pusher:member_added",n);break;case"pusher_internal:member_removed":var i=this.members.removeMember(e);i&&this.emit("pusher:member_removed",i);break;default:o["default"].prototype.handleEvent.call(this,t,e)}},e.prototype.disconnect=function(){this.members.reset(),t.prototype.disconnect.call(this)},e}(o["default"]);e.__esModule=!0,e["default"]=a},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(42),r=n(51),s=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.authorize=function(t,e){return o["default"].createAuthorizer(this,this.pusher.config).authorize(t,e)},e}(r["default"]);e.__esModule=!0,e["default"]=s},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(23),r=n(30),s=n(8),a=function(t){function e(e,n){t.call(this,function(t){s["default"].debug("No callbacks on "+e+" for "+t)}),this.name=e,this.pusher=n,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}return i(e,t),e.prototype.authorize=function(t,e){return e(!1,{})},e.prototype.trigger=function(t,e){if(0!==t.indexOf("client-"))throw new r.BadEventName("Event '"+t+"' does not start with 'client-'");return this.pusher.send_event(t,e,this.name)},e.prototype.disconnect=function(){this.subscribed=!1},e.prototype.handleEvent=function(t,e){0===t.indexOf("pusher_internal:")?"pusher_internal:subscription_succeeded"===t&&(this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",e)):this.emit(t,e)},e.prototype.subscribe=function(){var t=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(e,n){e?t.handleEvent("pusher:subscription_error",n):t.pusher.send_event("pusher:subscribe",{auth:n.auth,channel_data:n.channel_data,channel:t.name})}))},e.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},e.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},e.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},e}(o["default"]);e.__esModule=!0,e["default"]=a},function(t,e,n){"use strict";var i=n(9),o=function(){function t(){this.reset()}return t.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.members,t)?{id:t,info:this.members[t]}:null},t.prototype.each=function(t){var e=this;i.objectApply(this.members,function(n,i){t(e.get(i))})},t.prototype.setMyID=function(t){this.myID=t},t.prototype.onSubscription=function(t){this.members=t.presence.hash,this.count=t.presence.count,this.me=this.get(this.myID)},t.prototype.addMember=function(t){return null===this.get(t.user_id)&&this.count++,this.members[t.user_id]=t.user_info,this.get(t.user_id)},t.prototype.removeMember=function(t){var e=this.get(t.user_id);return e&&(delete this.members[t.user_id],this.count--),e},t.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},t}();e.__esModule=!0,e["default"]=o},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(23),r=n(12),s=n(8),a=n(9),c=n(2),l=function(t){function e(e,n){var i=this;t.call(this),this.key=e,this.options=n||{},this.state="initialized",this.connection=null,this.encrypted=!!n.encrypted,this.timeline=this.options.timeline,this.connectionCallbacks=this.buildConnectionCallbacks(),this.errorCallbacks=this.buildErrorCallbacks(),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var o=c["default"].getNetwork();o.bind("online",function(){i.timeline.info({netinfo:"online"}),"connecting"!==i.state&&"unavailable"!==i.state||i.retryIn(0)}),o.bind("offline",function(){i.timeline.info({netinfo:"offline"}),i.connection&&i.sendActivityCheck()}),this.updateStrategy()}return i(e,t),e.prototype.connect=function(){if(!this.connection&&!this.runner){if(!this.strategy.isSupported())return void this.updateState("failed");this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()}},e.prototype.send=function(t){return!!this.connection&&this.connection.send(t)},e.prototype.send_event=function(t,e,n){return!!this.connection&&this.connection.send_event(t,e,n)},e.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},e.prototype.isEncrypted=function(){return this.encrypted},e.prototype.startConnecting=function(){var t=this,e=function(n,i){n?t.runner=t.strategy.connect(0,e):"error"===i.action?(t.emit("error",{type:"HandshakeError",error:i.error}),t.timeline.error({handshakeError:i.error})):(t.abortConnecting(),t.handshakeCallbacks[i.action](i))};this.runner=this.strategy.connect(0,e)},e.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},e.prototype.disconnectInternally=function(){if(this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection){this.abandonConnection().close()}},e.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,encrypted:this.encrypted})},e.prototype.retryIn=function(t){var e=this;this.timeline.info({action:"retry",delay:t}),t>0&&this.emit("connecting_in",Math.round(t/1e3)),this.retryTimer=new r.OneOffTimer(t||0,function(){e.disconnectInternally(),e.connect()})},e.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},e.prototype.setUnavailableTimer=function(){var t=this;this.unavailableTimer=new r.OneOffTimer(this.options.unavailableTimeout,function(){t.updateState("unavailable")})},e.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},e.prototype.sendActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new r.OneOffTimer(this.options.pongTimeout,function(){t.timeline.error({pong_timed_out:t.options.pongTimeout}),t.retryIn(0)})},e.prototype.resetActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.handlesActivityChecks()||(this.activityTimer=new r.OneOffTimer(this.activityTimeout,function(){t.sendActivityCheck()}))},e.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},e.prototype.buildConnectionCallbacks=function(){var t=this;return{message:function(e){t.resetActivityCheck(),t.emit("message",e)},ping:function(){t.send_event("pusher:pong",{})},activity:function(){t.resetActivityCheck()},error:function(e){t.emit("error",{type:"WebSocketError",error:e})},closed:function(){t.abandonConnection(),t.shouldRetry()&&t.retryIn(1e3)}}},e.prototype.buildHandshakeCallbacks=function(t){var e=this;return a.extend({},t,{connected:function(t){e.activityTimeout=Math.min(e.options.activityTimeout,t.activityTimeout,t.connection.activityTimeout||Infinity),e.clearUnavailableTimer(),e.setConnection(t.connection),e.socket_id=e.connection.id,e.updateState("connected",{socket_id:e.socket_id})}})},e.prototype.buildErrorCallbacks=function(){var t=this,e=function(e){return function(n){n.error&&t.emit("error",{type:"WebSocketError",error:n.error}),e(n)}};return{ssl_only:e(function(){t.encrypted=!0,t.updateStrategy(),t.retryIn(0)}),refused:e(function(){t.disconnect()}),backoff:e(function(){t.retryIn(1e3)}),retry:e(function(){t.retryIn(0)})}},e.prototype.setConnection=function(t){this.connection=t;for(var e in this.connectionCallbacks)this.connection.bind(e,this.connectionCallbacks[e]);this.resetActivityCheck()},e.prototype.abandonConnection=function(){if(this.connection){this.stopActivityCheck();for(var t in this.connectionCallbacks)this.connection.unbind(t,this.connectionCallbacks[t]);var e=this.connection;return this.connection=null,e}},e.prototype.updateState=function(t,e){var n=this.state;if(this.state=t,n!==t){var i=t;"connected"===i&&(i+=" with new socket ID "+e.socket_id),s["default"].debug("State changed",n+" -> "+i),this.timeline.info({state:t,params:e}),this.emit("state_change",{previous:n,current:t}),this.emit(t,e)}},e.prototype.shouldRetry=function(){return"connecting"===this.state||"connected"===this.state},e}(o["default"]);e.__esModule=!0,e["default"]=l},function(t,e,n){"use strict";function i(t,e){return 0===t.indexOf("private-")?r["default"].createPrivateChannel(t,e):0===t.indexOf("presence-")?r["default"].createPresenceChannel(t,e):r["default"].createChannel(t,e)}var o=n(9),r=n(42),s=function(){function t(){this.channels={}}return t.prototype.add=function(t,e){return this.channels[t]||(this.channels[t]=i(t,e)),this.channels[t]},t.prototype.all=function(){return o.values(this.channels)},t.prototype.find=function(t){return this.channels[t]},t.prototype.remove=function(t){var e=this.channels[t];return delete this.channels[t],e},t.prototype.disconnect=function(){o.objectApply(this.channels,function(t){t.disconnect()})},t}();e.__esModule=!0,e["default"]=s},function(t,e,n){"use strict";function i(t,e){return r["default"].defer(function(){e(t)}),{abort:function(){},forceMinPriority:function(){}}}var o=n(42),r=n(11),s=n(30),a=n(9),c=function(){function t(t,e,n,i){this.name=t,this.priority=e,this.transport=n,this.options=i||{}}return t.prototype.isSupported=function(){return this.transport.isSupported({encrypted:this.options.encrypted})},t.prototype.connect=function(t,e){var n=this;if(!this.isSupported())return i(new s.UnsupportedStrategy,e);if(this.priority<t)return i(new s.TransportPriorityTooLow,e);var r=!1,c=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),l=null,u=function(){c.unbind("initialized",u),c.connect()},d=function(){l=o["default"].createHandshake(c,function(t){r=!0,f(),e(null,t)})},p=function(t){f(),e(t)},h=function(){f();var t;t=a.safeJSONStringify(c),e(new s.TransportClosed(t))},f=function(){c.unbind("initialized",u),c.unbind("open",d),c.unbind("error",p),c.unbind("closed",h)};return c.bind("initialized",u),c.bind("open",d),c.bind("error",p),c.bind("closed",h),c.initialize(),{abort:function(){r||(f(),l?l.close():c.close())},forceMinPriority:function(t){r||n.priority<t&&(l?l.close():c.close())}}},t}();e.__esModule=!0,e["default"]=c},function(t,e,n){"use strict";var i=n(9),o=n(11),r=n(12),s=function(){function t(t,e){this.strategies=t,this.loop=Boolean(e.loop),this.failFast=Boolean(e.failFast),this.timeout=e.timeout,this.timeoutLimit=e.timeoutLimit}return t.prototype.isSupported=function(){return i.any(this.strategies,o["default"].method("isSupported"))},t.prototype.connect=function(t,e){var n=this,i=this.strategies,o=0,r=this.timeout,s=null,a=function(c,l){l?e(null,l):(o+=1,n.loop&&(o%=i.length),o<i.length?(r&&(r*=2,n.timeoutLimit&&(r=Math.min(r,n.timeoutLimit))),s=n.tryStrategy(i[o],t,{timeout:r,failFast:n.failFast},a)):e(!0))};return s=this.tryStrategy(i[o],t,{timeout:r,failFast:this.failFast},a),{abort:function(){s.abort()},forceMinPriority:function(e){t=e,s&&s.forceMinPriority(e)}}},t.prototype.tryStrategy=function(t,e,n,i){var o=null,s=null;return n.timeout>0&&(o=new r.OneOffTimer(n.timeout,function(){s.abort(),i(!0)})),s=t.connect(e,function(t,e){t&&o&&o.isRunning()&&!n.failFast||(o&&o.ensureAborted(),i(t,e))}),{abort:function(){o&&o.ensureAborted(),s.abort()},forceMinPriority:function(t){s.forceMinPriority(t)}}},t}();e.__esModule=!0,e["default"]=s},function(t,e,n){"use strict";function i(t,e,n){var i=s.map(t,function(t,i,o,r){return t.connect(e,n(i,r))});return{abort:function(){s.apply(i,r)},forceMinPriority:function(t){s.apply(i,function(e){e.forceMinPriority(t)})}}}function o(t){return s.all(t,function(t){return Boolean(t.error)})}function r(t){t.error||t.aborted||(t.abort(),t.aborted=!0)}var s=n(9),a=n(11),c=function(){function t(t){this.strategies=t}return t.prototype.isSupported=function(){return s.any(this.strategies,a["default"].method("isSupported"))},t.prototype.connect=function(t,e){return i(this.strategies,t,function(t,n){return function(i,r){if(n[t].error=i,i)return void(o(n)&&e(!0));s.apply(n,function(t){t.forceMinPriority(r.transport.priority)}),e(null,r)}})},t}();e.__esModule=!0,e["default"]=c},function(t,e,n){"use strict";function i(t){return"pusherTransport"+(t?"Encrypted":"Unencrypted")}function o(t){var e=c["default"].getLocalStorage();if(e)try{var n=e[i(t)];if(n)return JSON.parse(n)}catch(e){s(t)}return null}function r(t,e,n){var o=c["default"].getLocalStorage();if(o)try{o[i(t)]=u.safeJSONStringify({timestamp:a["default"].now(),transport:e,latency:n})}catch(t){}}function s(t){var e=c["default"].getLocalStorage();if(e)try{delete e[i(t)]}catch(t){}}var a=n(11),c=n(2),l=n(56),u=n(9),d=function(){function t(t,e,n){this.strategy=t,this.transports=e,this.ttl=n.ttl||18e5,this.encrypted=n.encrypted,this.timeline=n.timeline}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.encrypted,i=o(n),c=[this.strategy];if(i&&i.timestamp+this.ttl>=a["default"].now()){var u=this.transports[i.transport];u&&(this.timeline.info({cached:!0,transport:i.transport,latency:i.latency}),c.push(new l["default"]([u],{timeout:2*i.latency+1e3,failFast:!0})))}var d=a["default"].now(),p=c.pop().connect(t,function i(o,l){o?(s(n),c.length>0?(d=a["default"].now(),p=c.pop().connect(t,i)):e(o)):(r(n,l.transport.name,a["default"].now()-d),e(null,l))});return{abort:function(){p.abort()},forceMinPriority:function(e){t=e,p&&p.forceMinPriority(e)}}},t}();e.__esModule=!0,e["default"]=d},function(t,e,n){"use strict";var i=n(12),o=function(){function t(t,e){var n=e.delay;this.strategy=t,this.options={delay:n}}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n,o=this.strategy,r=new i.OneOffTimer(this.options.delay,function(){n=o.connect(t,e)});return{abort:function(){r.ensureAborted(),n&&n.abort()},forceMinPriority:function(e){t=e,n&&n.forceMinPriority(e)}}},t}();e.__esModule=!0,e["default"]=o},function(t,e){"use strict";var n=function(){function t(t,e,n){this.test=t,this.trueBranch=e,this.falseBranch=n}return t.prototype.isSupported=function(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()},t.prototype.connect=function(t,e){return(this.test()?this.trueBranch:this.falseBranch).connect(t,e)},t}();e.__esModule=!0,e["default"]=n},function(t,e){"use strict";var n=function(){function t(t){this.strategy=t}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.strategy.connect(t,function(t,i){i&&n.abort(),e(t,i)});return n},t}();e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";var i=n(5);e.getGlobalConfig=function(){return{wsHost:i["default"].host,wsPort:i["default"].ws_port,wssPort:i["default"].wss_port,httpHost:i["default"].sockjs_host,httpPort:i["default"].sockjs_http_port,httpsPort:i["default"].sockjs_https_port,httpPath:i["default"].sockjs_path,statsHost:i["default"].stats_host,authEndpoint:i["default"].channel_auth_endpoint,authTransport:i["default"].channel_auth_transport,activity_timeout:i["default"].activity_timeout,pong_timeout:i["default"].pong_timeout,unavailable_timeout:i["default"].unavailable_timeout}},e.getClusterConfig=function(t){return{wsHost:"ws-"+t+".pusher.com",httpHost:"sockjs-"+t+".pusher.com"}}}])}),function(t){"use strict";function e(t,e){return e=e||Error,function(){var n,i,o=2,r=arguments,s=r[0],a="["+(t?t+":":"")+s+"] ",c=r[1];for(a+=c.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1),n=e+o;return n<r.length?Mt(r[n]):t}),a+="\nhttp://errors.angularjs.org/1.6.2/"+(t?t+"/":"")+s,i=o,n="?";i<r.length;i++,n="&")a+=n+"p"+(i-o)+"="+encodeURIComponent(Mt(r[i]));return new e(a)}}function n(t){if(null==t||z(t))return!1;if(lo(t)||M(t)||Ji&&t instanceof Ji)return!0;var e="length"in Object(t)&&t.length;return w(e)&&(e>=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function i(t,e,o){var r,s;if(t)if(T(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&t.hasOwnProperty(r)&&e.call(o,t[r],r,t);else if(lo(t)||n(t)){var a="object"!=typeof t;for(r=0,s=t.length;r<s;r++)(a||r in t)&&e.call(o,t[r],r,t)}else if(t.forEach&&t.forEach!==i)t.forEach(e,o,t);else if(_(t))for(r in t)e.call(o,t[r],r,t);else if("function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&e.call(o,t[r],r,t);else for(r in t)Hi.call(t,r)&&e.call(o,t[r],r,t);return t}function o(t,e,n){for(var i=Object.keys(t).sort(),o=0;o<i.length;o++)e.call(n,t[i[o]],i[o]);return i}function r(t){return function(e,n){t(n,e)}}function s(){return++ao}function a(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function c(t,e,n){for(var i=t.$$hashKey,o=0,r=e.length;o<r;++o){var s=e[o];if(y(s)||T(s))for(var l=Object.keys(s),u=0,d=l.length;u<d;u++){var p=l[u],h=s[p];n&&y(h)?A(h)?t[p]=new Date(h.valueOf()):k(h)?t[p]=new RegExp(h):h.nodeName?t[p]=h.cloneNode(!0):j(h)?t[p]=h.clone():(y(t[p])||(t[p]=lo(h)?[]:{}),c(t[p],[h],!0)):t[p]=h}}return a(t,i),t}function l(t){return c(t,to.call(arguments,1),!1)}function u(t){return c(t,to.call(arguments,1),!0)}function d(t){return parseInt(t,10)}function p(t,e){return l(Object.create(t),e)}function h(){}function f(t){return t}function m(t){return function(){return t}}function g(t){return T(t.toString)&&t.toString!==io}function v(t){return void 0===t}function b(t){return void 0!==t}function y(t){return null!==t&&"object"==typeof t}function _(t){return null!==t&&"object"==typeof t&&!oo(t)}function M(t){return"string"==typeof t}function w(t){return"number"==typeof t}function A(t){return"[object Date]"===io.call(t)}function T(t){return"function"==typeof t}function k(t){return"[object RegExp]"===io.call(t)}function z(t){return t&&t.window===t}function x(t){return t&&t.$evalAsync&&t.$watch}function $(t){return"[object File]"===io.call(t)}function C(t){return"[object FormData]"===io.call(t)}function S(t){return"[object Blob]"===io.call(t)}function O(t){return"boolean"==typeof t}function N(t){return t&&T(t.then)}function L(t){return t&&w(t.length)&&uo.test(io.call(t))}function E(t){return"[object ArrayBuffer]"===io.call(t)}function j(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function D(t){var e,n={},i=t.split(",");for(e=0;e<i.length;e++)n[i[e]]=!0;return n}function q(t){return Ui(t.nodeName||t[0]&&t[0].nodeName)}function P(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function B(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function I(t,e){function n(t,e){var n,i=e.$$hashKey;if(lo(t))for(var r=0,s=t.length;r<s;r++)e.push(o(t[r]));else if(_(t))for(n in t)e[n]=o(t[n]);else if(t&&"function"==typeof t.hasOwnProperty)for(n in t)t.hasOwnProperty(n)&&(e[n]=o(t[n]));else for(n in t)Hi.call(t,n)&&(e[n]=o(t[n]));return a(e,i),e}function o(t){if(!y(t))return t;var e=s.indexOf(t);if(-1!==e)return c[e];if(z(t)||x(t))throw ro("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,o=r(t);return o===undefined&&(o=lo(t)?[]:Object.create(oo(t)),i=!0),s.push(t),c.push(o),i?n(t,o):o}function r(t){switch(io.call(t)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new t.constructor(o(t.buffer),t.byteOffset,t.length);case"[object ArrayBuffer]":if(!t.slice){var e=new ArrayBuffer(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}return t.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new t.constructor(t.valueOf());case"[object RegExp]":var n=new RegExp(t.source,t.toString().match(/[^\/]*$/)[0]);return n.lastIndex=t.lastIndex,n;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(T(t.cloneNode))return t.cloneNode(!0)}var s=[],c=[];if(e){if(L(e)||E(e))throw ro("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw ro("cpi","Can't copy! Source and destination are identical.");return lo(e)?e.length=0:i(e,function(t,n){"$$hashKey"!==n&&delete e[n]}),s.push(t),c.push(e),n(t,e)}return o(t)}function W(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,i,o,r=typeof t,s=typeof e;if(r===s&&"object"===r){if(!lo(t)){if(A(t))return!!A(e)&&W(t.getTime(),e.getTime());if(k(t))return!!k(e)&&t.toString()===e.toString();if(x(t)||x(e)||z(t)||z(e)||lo(e)||A(e)||k(e))return!1;o=gt();for(i in t)if("$"!==i.charAt(0)&&!T(t[i])){if(!W(t[i],e[i]))return!1;o[i]=!0}for(i in e)if(!(i in o)&&"$"!==i.charAt(0)&&b(e[i])&&!T(e[i]))return!1;return!0}if(!lo(e))return!1;if((n=t.length)===e.length){for(i=0;i<n;i++)if(!W(t[i],e[i]))return!1;return!0}}return!1}function R(t,e,n){return t.concat(to.call(e,n))}function X(t,e){return to.call(t,e||0)}function F(t,e){var n=arguments.length>2?X(arguments,2):[];return!T(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,R(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function H(e,n){var i=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=undefined:z(n)?i="$WINDOW":n&&t.document===n?i="$DOCUMENT":x(n)&&(i="$SCOPE"),i}function U(t,e){return v(t)?undefined:(w(e)||(e=e?2:null),JSON.stringify(t,H,e))}function V(t){return M(t)?JSON.parse(t):t}function Y(t,e){t=t.replace(go,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return co(n)?e:n}function G(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function K(t,e,n){n=n?-1:1;var i=t.getTimezoneOffset();return G(t,n*(Y(e,i)-i))}function J(t){t=Ji(t).clone();try{t.empty()}catch(t){}var e=Ji("<div>").append(t).html();try{return t[0].nodeType===Ao?Ui(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(t,e){return"<"+Ui(e)})}catch(t){return Ui(e)}}function Q(t){try{return decodeURIComponent(t)}catch(t){}}function Z(t){var e={};return i((t||"").split("&"),function(t){var n,i,o;t&&(i=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),-1!==n&&(i=t.substring(0,n),o=t.substring(n+1)),i=Q(i),b(i)&&(o=!b(o)||Q(o),Hi.call(e,i)?lo(e[i])?e[i].push(o):e[i]=[e[i],o]:e[i]=o))}),e}function tt(t){var e=[];return i(t,function(t,n){lo(t)?i(t,function(t){e.push(nt(n,!0)+(!0===t?"":"="+nt(t,!0)))}):e.push(nt(n,!0)+(!0===t?"":"="+nt(t,!0)))}),e.length?e.join("&"):""}function et(t){return nt(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function nt(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function it(t,e){var n,i,o=vo.length;for(i=0;i<o;++i)if(n=vo[i]+e,M(n=t.getAttribute(n)))return n;return null}function ot(t){var e=t.currentScript,n=e&&e.getAttribute("src");if(!n)return!0;var i=t.createElement("a");if(i.href=n,t.location.origin===i.origin)return!0;switch(i.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}function rt(e,n){var o,r,s={};if(i(vo,function(t){var n=t+"app";!o&&e.hasAttribute&&e.hasAttribute(n)&&(o=e,r=e.getAttribute(n))}),i(vo,function(t){var n,i=t+"app";!o&&(n=e.querySelector("["+i.replace(":","\\:")+"]"))&&(o=n,r=n.getAttribute(i))}),o){if(!bo)return void t.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");s.strictDi=null!==it(o,"strict-di"),n(o,r?[r]:[],s)}}function st(e,n,o){y(o)||(o={}),o=l({strictDi:!1},o);var r=function(){if(e=Ji(e),e.injector()){var i=e[0]===t.document?"document":J(e);throw ro("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),o.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var r=le(n,o.strictDi);return r.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,i){t.$apply(function(){e.data("$injector",i),n(e)(t)})}]),r},s=/^NG_ENABLE_DEBUG_INFO!/,a=/^NG_DEFER_BOOTSTRAP!/;if(t&&s.test(t.name)&&(o.debugInfoEnabled=!0,t.name=t.name.replace(s,"")),t&&!a.test(t.name))return r();t.name=t.name.replace(a,""),so.resumeBootstrap=function(t){return i(t,function(t){n.push(t)}),r()},T(so.resumeDeferredBootstrap)&&so.resumeDeferredBootstrap()}function at(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function ct(t){var e=so.element(t).injector();if(!e)throw ro("test","no injector found for element argument to getTestability");return e.get("$$testability")}function lt(t,e){return e=e||"_",t.replace(yo,function(t,n){return(n?e:"")+t.toLowerCase()})}function ut(){var e;if(!_o){var n=mo();Qi=v(n)?t.jQuery:n?t[n]:undefined,Qi&&Qi.fn.on?(Ji=Qi,l(Qi.fn,{scope:Io.scope,isolateScope:Io.isolateScope,controller:Io.controller,injector:Io.injector,inheritedData:Io.inheritedData}),e=Qi.cleanData,Qi.cleanData=function(t){for(var n,i,o=0;null!=(i=t[o]);o++)(n=Qi._data(i,"events"))&&n.$destroy&&Qi(i).triggerHandler("$destroy");e(t)}):Ji=Et,so.element=Ji,_o=!0}}function dt(t,e,n){if(!t)throw ro("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function pt(t,e,n){return n&&lo(t)&&(t=t[t.length-1]),dt(T(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function ht(t,e){if("hasOwnProperty"===t)throw ro("badname","hasOwnProperty is not a valid {0} name",e)}function ft(t,e,n){if(!e)return t;for(var i,o=e.split("."),r=t,s=o.length,a=0;a<s;a++)i=o[a],t&&(t=(r=t)[i]);return!n&&T(t)?F(r,t):t}function mt(t){for(var e,n=t[0],i=t[t.length-1],o=1;n!==i&&(n=n.nextSibling);o++)(e||t[o]!==n)&&(e||(e=Ji(to.call(t,0,o))),e.push(n));return e||t}function gt(){return Object.create(null)}function vt(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!g(t)||lo(t)||A(t)?U(t):t.toString()}return t}function bt(t){function n(t,e,n){return t[e]||(t[e]=n())}var i=e("$injector"),o=e("ng"),r=n(t,"angular",Object);return r.$$minErr=r.$$minErr||e,n(r,"module",function(){var t={};return function(e,r,s){return function(t,e){if("hasOwnProperty"===t)throw o("badname","hasOwnProperty is not a valid {0} name",e)}(e,"module"),r&&t.hasOwnProperty(e)&&(t[e]=null),n(t,e,function(){function t(t,e,n,i){return i||(i=o),function(){return i[n||"push"]([t,e,arguments]),u}}function n(t,n,i){return i||(i=o),
function(o,r){return r&&T(r)&&(r.$$moduleName=e),i.push([t,n,arguments]),u}}if(!r)throw i("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",e);var o=[],a=[],c=[],l=t("$injector","invoke","push",a),u={_invokeQueue:o,_configBlocks:a,_runBlocks:c,requires:r,name:e,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:n("$provide","decorator",a),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(t){return c.push(t),this}};return s&&l(s),u})}})}function yt(t,e){if(lo(t)){e=e||[];for(var n=0,i=t.length;n<i;n++)e[n]=t[n]}else if(y(t)){e=e||{};for(var o in t)"$"===o.charAt(0)&&"$"===o.charAt(1)||(e[o]=t[o])}return e||t}function _t(t){var e=[];return JSON.stringify(t,function(t,n){if(n=H(t,n),y(n)){if(e.indexOf(n)>=0)return"...";e.push(n)}return n})}function Mt(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):v(t)?"undefined":"string"!=typeof t?_t(t):t}function wt(n){l(n,{bootstrap:st,copy:I,extend:l,merge:u,equals:W,element:Ji,forEach:i,injector:le,noop:h,bind:F,toJson:U,fromJson:V,identity:f,isUndefined:v,isDefined:b,isString:M,isFunction:T,isObject:y,isNumber:w,isElement:j,isArray:lo,version:xo,isDate:A,lowercase:Ui,uppercase:Vi,callbacks:{$$counter:0},getTestability:ct,reloadWithDebugInfo:at,$$minErr:e,$$csp:fo,$$encodeUriSegment:et,$$encodeUriQuery:nt,$$stringify:vt}),(Zi=bt(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:xn}),t.provider("$compile",_e).directive({a:Gr,input:ms,textarea:ms,form:es,script:la,select:pa,option:ha,ngBind:bs,ngBindHtml:_s,ngBindTemplate:ys,ngClass:ws,ngClassEven:Ts,ngClassOdd:As,ngCloak:ks,ngController:zs,ngForm:ns,ngHide:na,ngIf:Cs,ngInclude:Ss,ngInit:Ns,ngNonBindable:Vs,ngPluralize:Js,ngRepeat:Qs,ngShow:ea,ngStyle:ia,ngSwitch:oa,ngSwitchWhen:ra,ngSwitchDefault:sa,ngOptions:Ks,ngTransclude:ca,ngModel:Fs,ngList:Ls,ngChange:Ms,pattern:ma,ngPattern:ma,required:fa,ngRequired:fa,minlength:va,ngMinlength:va,maxlength:ga,ngMaxlength:ga,ngValue:vs,ngModelOptions:Us}).directive({ngInclude:Os}).directive(Kr).directive(xs),t.provider({$anchorScroll:ue,$animate:or,$animateCss:ar,$$animateJs:nr,$$animateQueue:ir,$$AnimateRunner:sr,$$animateAsyncRun:rr,$browser:ge,$cacheFactory:ve,$controller:ze,$document:xe,$$isDocumentHidden:$e,$exceptionHandler:Ce,$filter:Rn,$$forceReflow:fr,$interpolate:Xe,$interval:Fe,$http:Be,$httpParamSerializer:Oe,$httpParamSerializerJQLike:Ne,$httpBackend:We,$xhrFactory:Ie,$jsonpCallbacks:wr,$location:sn,$log:an,$parse:Mn,$rootScope:zn,$q:wn,$$q:An,$sce:Nn,$sceDelegate:On,$sniffer:Ln,$templateCache:be,$templateRequest:En,$$testability:jn,$timeout:Dn,$window:Bn,$$rAF:kn,$$jqLite:ne,$$Map:Uo,$$cookieReader:Wn})}])}function At(){return++Co}function Tt(t){return zt(t.replace(Oo,"ms-"))}function kt(t,e){return e.toUpperCase()}function zt(t){return t.replace(So,kt)}function xt(t){return!jo.test(t)}function $t(t){var e=t.nodeType;return e===Mo||!e||e===ko}function Ct(t){for(var e in $o[t.ng339])return!0;return!1}function St(t){for(var e=0,n=t.length;e<n;e++)Pt(t[e])}function Ot(t,e){var n,o,r,s,a=e.createDocumentFragment(),c=[];if(xt(t))c.push(e.createTextNode(t));else{for(n=a.appendChild(e.createElement("div")),o=(Do.exec(t)||["",""])[1].toLowerCase(),r=Po[o]||Po._default,n.innerHTML=r[1]+t.replace(qo,"<$1></$2>")+r[2],s=r[0];s--;)n=n.lastChild;c=R(c,n.childNodes),n=a.firstChild,n.textContent=""}return a.textContent="",a.innerHTML="",i(c,function(t){a.appendChild(t)}),a}function Nt(e,n){n=n||t.document;var i;return(i=Eo.exec(e))?[n.createElement(i[1])]:(i=Ot(e,n))?i.childNodes:[]}function Lt(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function Et(t){if(t instanceof Et)return t;var e;if(M(t)&&(t=po(t),e=!0),!(this instanceof Et)){if(e&&"<"!==t.charAt(0))throw Lo("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Et(t)}e?Ft(this,Nt(t)):T(t)?Kt(t):Ft(this,t)}function jt(t){return t.cloneNode(!0)}function Dt(t,e){if(e||Pt(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),i=0,o=n.length;i<o;i++)Pt(n[i])}function qt(t,e,n,o){if(b(o))throw Lo("offargs","jqLite#off() does not support the `selector` argument");var r=Bt(t),s=r&&r.events,a=r&&r.handle;if(a)if(e){var c=function(e){var i=s[e];b(n)&&B(i||[],n),b(n)&&i&&i.length>0||(t.removeEventListener(e,a),delete s[e])};i(e.split(" "),function(t){c(t),No[t]&&c(No[t])})}else for(e in s)"$destroy"!==e&&t.removeEventListener(e,a),delete s[e]}function Pt(t,e){var n=t.ng339,i=n&&$o[n];if(i){if(e)return void delete i.data[e];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),qt(t)),delete $o[n],t.ng339=undefined}}function Bt(t,e){var n=t.ng339,i=n&&$o[n];return e&&!i&&(t.ng339=n=At(),i=$o[n]={events:{},data:{},handle:undefined}),i}function It(t,e,n){if($t(t)){var i,o=b(n),r=!o&&e&&!y(e),s=!e,a=Bt(t,!r),c=a&&a.data;if(o)c[zt(e)]=n;else{if(s)return c;if(r)return c&&c[zt(e)];for(i in e)c[zt(i)]=e[i]}}}function Wt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Rt(t,e){e&&t.setAttribute&&i(e.split(" "),function(e){t.setAttribute("class",po((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+po(e)+" "," ")))})}function Xt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");i(e.split(" "),function(t){t=po(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",po(n))}}function Ft(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var i=0;i<n;i++)t[t.length++]=e[i]}else t[t.length++]=e}}function Ht(t,e){return Ut(t,"$"+(e||"ngController")+"Controller")}function Ut(t,e,n){t.nodeType===ko&&(t=t.documentElement);for(var i=lo(e)?e:[e];t;){for(var o=0,r=i.length;o<r;o++)if(b(n=Ji.data(t,i[o])))return n;t=t.parentNode||t.nodeType===zo&&t.host}}function Vt(t){for(Dt(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Yt(t,e){e||Dt(t);var n=t.parentNode;n&&n.removeChild(t)}function Gt(e,n){n=n||t,"complete"===n.document.readyState?n.setTimeout(e):Ji(n).on("load",e)}function Kt(e){function n(){t.document.removeEventListener("DOMContentLoaded",n),t.removeEventListener("load",n),e()}"complete"===t.document.readyState?t.setTimeout(e):(t.document.addEventListener("DOMContentLoaded",n),t.addEventListener("load",n))}function Jt(t,e){var n=Wo[e.toLowerCase()];return n&&Ro[q(t)]&&n}function Qt(t){return Xo[t]}function Zt(t,e){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var o=e[i||n.type],r=o?o.length:0;if(r){if(v(n.immediatePropagationStopped)){var s=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),s&&s.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var a=o.specialHandlerWrapper||te;r>1&&(o=yt(o));for(var c=0;c<r;c++)n.isImmediatePropagationStopped()||a(t,n,o[c])}};return n.elem=t,n}function te(t,e,n){n.call(t,e)}function ee(t,e,n){var i=e.relatedTarget;i&&(i===t||Bo.call(t,i))||n.call(t,e)}function ne(){this.$get=function(){return l(Et,{hasClass:function(t,e){return t.attr&&(t=t[0]),Wt(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),Xt(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),Rt(t,e)}})}}function ie(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var i=typeof t;return n="function"===i||"object"===i&&null!==t?t.$$hashKey=i+":"+(e||s)():i+":"+t}function oe(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function re(t){return Function.prototype.toString.call(t)}function se(t){var e=re(t).replace(Jo,"");return e.match(Vo)||e.match(Yo)}function ae(t){var e=se(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ce(t,e,n){var o,r,s;if("function"==typeof t){if(!(o=t.$inject)){if(o=[],t.length){if(e)throw M(n)&&n||(n=t.name||ae(t)),Qo("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);r=se(t),i(r[1].split(Go),function(t){t.replace(Ko,function(t,e,n){o.push(n)})})}t.$inject=o}}else lo(t)?(s=t.length-1,pt(t[s],"fn"),o=t.slice(0,s)):pt(t,"fn",!0);return o}function le(t,e){function n(t){return function(e,n){if(!y(e))return t(e,n);i(e,r(t))}}function o(t,e){if(ht(t,"service"),(T(e)||lo(e))&&(e=A.instantiate(e)),!e.$get)throw Qo("pget","Provider '{0}' must define $get factory method.",t);return w[t+g]=e}function s(t,e){return function(){var n=x.invoke(e,this);if(v(n))throw Qo("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function a(t,e,n){return o(t,{$get:!1!==n?s(t,e):e})}function c(t,e){return a(t,["$injector",function(t){return t.instantiate(e)}])}function l(t,e){return a(t,m(e),!1)}function u(t,e){ht(t,"constant"),w[t]=e,k[t]=e}function d(t,e){var n=A.get(t+g),i=n.$get;n.$get=function(){var t=x.invoke(i,n);return x.invoke(e,null,{$delegate:t})}}function p(t){dt(v(t)||lo(t),"modulesToLoad","not an array");var e,n=[];return i(t,function(t){function i(t){var e,n;for(e=0,n=t.length;e<n;e++){var i=t[e],o=A.get(i[0]);o[i[1]].apply(o,i[2])}}if(!_.get(t)){_.set(t,!0);try{M(t)?(e=Zi(t),n=n.concat(p(e.requires)).concat(e._runBlocks),i(e._invokeQueue),i(e._configBlocks)):T(t)?n.push(A.invoke(t)):lo(t)?n.push(A.invoke(t)):pt(t,"module")}catch(e){throw lo(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Qo("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}}),n}function h(t,n){function i(e,i){if(t.hasOwnProperty(e)){if(t[e]===f)throw Qo("cdep","Circular dependency found: {0}",e+" <- "+b.join(" <- "));return t[e]}try{return b.unshift(e),t[e]=f,t[e]=n(e,i),t[e]}catch(n){throw t[e]===f&&delete t[e],n}finally{b.shift()}}function o(t,n,o){for(var r=[],s=le.$$annotate(t,e,o),a=0,c=s.length;a<c;a++){var l=s[a];if("string"!=typeof l)throw Qo("itkn","Incorrect injection token! Expected service name as string, got {0}",l);r.push(n&&n.hasOwnProperty(l)?n[l]:i(l,o))}return r}function r(t){if(Ki||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return O(e)||(e=t.$$ngIsClass=/^(?:class\b|constructor\()/.test(re(t))),e}function s(t,e,n,i){"string"==typeof n&&(i=n,n=null);var s=o(t,n,i);return lo(t)&&(t=t[t.length-1]),r(t)?(s.unshift(null),new(Function.prototype.bind.apply(t,s))):t.apply(e,s)}function a(t,e,n){var i=lo(t)?t[t.length-1]:t,r=o(t,e,n);return r.unshift(null),new(Function.prototype.bind.apply(i,r))}return{invoke:s,instantiate:a,get:i,annotate:le.$$annotate,has:function(e){return w.hasOwnProperty(e+g)||t.hasOwnProperty(e)}}}e=!0===e;var f={},g="Provider",b=[],_=new Ho,w={$provide:{provider:n(o),factory:n(a),service:n(c),value:n(l),constant:n(u),decorator:d}},A=w.$injector=h(w,function(t,e){throw so.isString(e)&&b.push(e),Qo("unpr","Unknown provider: {0}",b.join(" <- "))}),k={},z=h(k,function(t,e){var n=A.get(t+g,e);return x.invoke(n.$get,n,undefined,t)}),x=z;w["$injector"+g]={$get:m(z)};var $=p(t);return x=z.get("$injector"),x.strictDi=e,i($,function(t){t&&x.invoke(t)}),x}function ue(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,i){function o(t){var e=null;return Array.prototype.some.call(t,function(t){if("a"===q(t))return e=t,!0}),e}function r(){var t=a.yOffset;if(T(t))t=t();else if(j(t)){var n=t[0],i=e.getComputedStyle(n);t="fixed"!==i.position?0:n.getBoundingClientRect().bottom}else w(t)||(t=0);return t}function s(t){if(t){t.scrollIntoView();var n=r();if(n){var i=t.getBoundingClientRect().top;e.scrollBy(0,i-n)}}else e.scrollTo(0,0)}function a(t){t=M(t)?t:w(t)?t.toString():n.hash();var e;t?(e=c.getElementById(t))?s(e):(e=o(c.getElementsByName(t)))?s(e):"top"===t&&s(null):s(null)}var c=e.document;return t&&i.$watch(function(){return n.hash()},function(t,e){t===e&&""===t||Gt(function(){i.$evalAsync(a)})}),a}]}function de(t,e){return t||e?t?e?(lo(t)&&(t=t.join(" ")),lo(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function pe(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.nodeType===tr)return n}}function he(t){M(t)&&(t=t.split(" "));var e=gt();return i(t,function(t){t.length&&(e[t]=!0)}),e}function fe(t){return y(t)?t:{}}function me(t,e,n,o){function r(t){try{t.apply(null,X(arguments,1))}finally{if(0===--b)for(;y.length;)try{y.pop()()}catch(t){n.error(t)}}}function s(t){var e=t.indexOf("#");return-1===e?"":t.substr(e)}function a(){T=null,l()}function c(){_=k(),_=v(_)?null:_,W(_,$)&&(_=$),$=_,M=_}function l(){var t=M;c(),w===u.url()&&t===_||(w=u.url(),M=_,i(z,function(t){t(u.url(),_)}))}var u=this,d=t.location,p=t.history,f=t.setTimeout,m=t.clearTimeout,g={};u.isMock=!1;var b=0,y=[];u.$$completeOutstandingRequest=r,u.$$incOutstandingRequestCount=function(){b++},u.notifyWhenNoOutstandingRequests=function(t){0===b?t():y.push(t)};var _,M,w=d.href,A=e.find("base"),T=null,k=o.history?function(){try{return p.state}catch(t){}}:h;c(),u.url=function(e,n,i){if(v(i)&&(i=null),d!==t.location&&(d=t.location),p!==t.history&&(p=t.history),e){var r=M===i;if(w===e&&(!o.history||r))return u;var a=w&&Ke(w)===Ke(e);return w=e,M=i,!o.history||a&&r?(a||(T=e),n?d.replace(e):a?d.hash=s(e):d.href=e,d.href!==e&&(T=e)):(p[n?"replaceState":"pushState"](i,"",e),c()),T&&(T=e),u}return T||d.href.replace(/%27/g,"'")},u.state=function(){return _};var z=[],x=!1,$=null;u.onUrlChange=function(e){return x||(o.history&&Ji(t).on("popstate",a),Ji(t).on("hashchange",a),x=!0),z.push(e),e},u.$$applicationDestroyed=function(){Ji(t).off("hashchange popstate",a)},u.$$checkUrlChange=l,u.baseHref=function(){var t=A.attr("href");return t?t.replace(/^(https?:)?\/\/[^\/]*/,""):""},u.defer=function(t,e){var n;return b++,n=f(function(){delete g[n],r(t)},e||0),g[n]=!0,n},u.defer.cancel=function(t){return!!g[t]&&(delete g[t],m(t),r(h),!0)}}function ge(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,i){return new me(t,i,e,n)}]}function ve(){this.$get=function(){function t(t,i){function o(t){t!==p&&(h?h===t&&(h=t.n):h=t,r(t.n,t.p),r(t,p),p=t,p.n=null)}function r(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}if(t in n)throw e("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var s=0,a=l({},i,{id:t}),c=gt(),u=i&&i.capacity||Number.MAX_VALUE,d=gt(),p=null,h=null;return n[t]={put:function(t,e){if(!v(e)){if(u<Number.MAX_VALUE){o(d[t]||(d[t]={key:t}))}return t in c||s++,c[t]=e,s>u&&this.remove(h.key),e}},get:function(t){if(u<Number.MAX_VALUE){var e=d[t];if(!e)return;o(e)}return c[t]},remove:function(t){if(u<Number.MAX_VALUE){var e=d[t];if(!e)return;e===p&&(p=e.p),e===h&&(h=e.n),r(e.n,e.p),delete d[t]}t in c&&(delete c[t],s--)},removeAll:function(){c=gt(),s=0,d=gt(),p=h=null},destroy:function(){c=null,a=null,d=null,delete n[t]},info:function(){return l({},a,{size:s})}}}var n={};return t.info=function(){var t={};return i(n,function(e,n){t[n]=e.info()}),t},t.get=function(t){return n[t]},t}}function be(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function ye(){}function _e(e,n){function o(t,e,n){var o=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,r=gt();return i(t,function(t,i){if(t in $)return void(r[i]=$[t]);var s=t.match(o);if(!s)throw cr("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,i,t,n?"controller bindings definition":"isolate scope definition");r[i]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||i},s[4]&&($[t]=r[i])}),r}function s(t,e){var n={isolateScope:null,bindToController:null};if(y(t.scope)&&(!0===t.bindToController?(n.bindToController=o(t.scope,e,!0),n.isolateScope={}):n.isolateScope=o(t.scope,e,!1)),y(t.bindToController)&&(n.bindToController=o(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw cr("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}function a(t){var e=t.charAt(0);if(!e||e!==Ui(e))throw cr("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw cr("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}function c(t){var e=t.require||t.controller&&t.name;return!lo(e)&&y(e)&&i(e,function(t,n){var i=t.match(k);t.substring(i[0].length)||(e[n]=i[0]+n)}),e}function u(t,e){if(t&&(!M(t)||!/[EACM]/.test(t)))throw cr("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}var d={},g="Directive",_=/^\s*directive:\s*([\w-]+)\s+(.*)$/,w=/(([\w-]+)(?::([^;]+))?;?)/,A=D("ngSrc,ngSrcset,src,srcset"),k=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,z=/^(on[a-z]+|formaction)$/,$=gt();this.directive=function t(n,o){return dt(n,"name"),ht(n,"directive"),M(n)?(a(n),dt(o,"directiveFactory"),d.hasOwnProperty(n)||(d[n]=[],e.factory(n+g,["$injector","$exceptionHandler",function(t,e){var o=[];return i(d[n],function(i,r){try{var s=t.invoke(i);T(s)?s={compile:m(s)}:!s.compile&&s.link&&(s.compile=m(s.link)),s.priority=s.priority||0,s.index=r,s.name=s.name||n,s.require=c(s),s.restrict=u(s.restrict,n),s.$$moduleName=i.$$moduleName,o.push(s)}catch(t){e(t)}}),o}])),d[n].push(o)):i(n,r(t)),this},this.component=function(t,e){function n(t){function n(e){return T(e)||lo(e)?function(n,i){return t.invoke(e,this,{$element:n,$attrs:i})}:e}var r=e.template||e.templateUrl?e.template:"",s={controller:o,controllerAs:ke(e.controller)||e.controllerAs||"$ctrl",template:n(r),templateUrl:n(e.templateUrl),transclude:e.transclude,scope:{},bindToController:e.bindings||{},restrict:"E",require:e.require};return i(e,function(t,e){"$"===e.charAt(0)&&(s[e]=t)}),s}var o=e.controller||function(){};return i(e,function(t,e){"$"===e.charAt(0)&&(n[e]=t,T(o)&&(o[e]=t))}),n.$inject=["$injector"],this.directive(t,n)},this.aHrefSanitizationWhitelist=function(t){return b(t)?(n.aHrefSanitizationWhitelist(t),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return b(t)?(n.imgSrcSanitizationWhitelist(t),this):n.imgSrcSanitizationWhitelist()};var C=!0;this.debugInfoEnabled=function(t){return b(t)?(C=t,this):C};var S=!1;this.preAssignBindingsEnabled=function(t){return b(t)?(S=t,this):S};var N=10;this.onChangesTtl=function(t){return arguments.length?(N=t,this):N};var L=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(L=t,this):L};var E=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(E=t,this):E},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,n,o,r,a,c,u,m,$,j){function D(){try{if(!--Ct)throw At=undefined,cr("infchng","{0} $onChanges() iterations reached. Aborting!\n",N);u.$apply(function(){for(var t=[],e=0,n=At.length;e<n;++e)try{At[e]()}catch(e){t.push(e)}if(At=undefined,t.length)throw t})}finally{Ct++}}function P(t,e){if(e){var n,i,o,r=Object.keys(e);for(n=0,i=r.length;n<i;n++)o=r[n],this[o]=e[o]}else this.$attr={};this.$$element=t}function I(t,e,n){kt.innerHTML="<span "+e+">";var i=kt.firstChild.attributes,o=i[0];i.removeNamedItem(o.name),o.value=n,t.attributes.setNamedItem(o)}function R(t,e){try{t.addClass(e)}catch(t){}}function H(t,e,n,i,o){t instanceof Ji||(t=Ji(t));var r=V(t,e,t,n,i,o);H.$$addScopeClass(t);var s=null;return function(e,n,i){if(!t)throw cr("multilink","This element has already been linked.");dt(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),i=i||{};var a=i.parentBoundTranscludeFn,c=i.transcludeControllers,l=i.futureParentElement;a&&a.$$boundTransclude&&(a=a.$$boundTransclude),s||(s=U(l));var u;if(u="html"!==s?Ji(mt(s,Ji("<div>").append(t).html())):n?Io.clone.call(t):t,c)for(var d in c)u.data("$"+d+"Controller",c[d].instance);return H.$$addScopeInfo(u,e),n&&n(u,e),r&&r(e,u,u,a),n||(t=r=null),u}}function U(t){var e=t&&t[0];return e&&"foreignobject"!==q(e)&&io.call(e).match(/SVG/)?"svg":"html"}function V(t,e,n,i,o,r){function s(t,n,i,o){var r,s,a,c,l,u,d,p,m;if(h){var g=n.length;for(m=new Array(g),l=0;l<f.length;l+=3)d=f[l],m[d]=n[d]}else m=n;for(l=0,u=f.length;l<u;)a=m[f[l++]],r=f[l++],s=f[l++],r?(r.scope?(c=t.$new(),H.$$addScopeInfo(Ji(a),c)):c=t,p=r.transcludeOnThisElement?G(t,r.transclude,o):!r.templateOnThisElement&&o?o:!o&&e?G(t,e):null,r(s,c,a,i,p)):s&&s(t,a.childNodes,undefined,o)}for(var a,c,l,u,d,p,h,f=[],m=lo(t)||t instanceof Ji,g=0;g<t.length;g++)a=new P,11===Ki&&Y(t,g,m),c=K(t[g],[],a,0===g?i:undefined,o),l=c.length?nt(c,t[g],a,e,n,null,[],[],r):null,l&&l.scope&&H.$$addScopeClass(a.$$element),d=l&&l.terminal||!(u=t[g].childNodes)||!u.length?null:V(u,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:e),(l||d)&&(f.push(g,l,d),p=!0,h=h||l),r=null;return p?s:null}function Y(t,e,n){var i,o=t[e],r=o.parentNode;if(o.nodeType===Ao)for(;;){if(!(i=r?o.nextSibling:t[e+1])||i.nodeType!==Ao)break;o.nodeValue=o.nodeValue+i.nodeValue,i.parentNode&&i.parentNode.removeChild(i),n&&i===t[e+1]&&t.splice(e+1,1)}}function G(t,e,n){function i(i,o,r,s,a){return i||(i=t.$new(!1,a),i.$$transcluded=!0),e(i,o,{parentBoundTranscludeFn:n,transcludeControllers:r,futureParentElement:s})}var o=i.$$slots=gt();for(var r in e.$$slots)e.$$slots[r]?o[r]=G(t,e.$$slots[r],n):o[r]=null;return i}function K(t,e,n,i,o){var r,s,a,c=t.nodeType,l=n.$attr;switch(c){case Mo:s=q(t),st(e,we(s),"E",i,o);for(var u,d,p,h,f,m,g=t.attributes,v=0,b=g&&g.length;v<b;v++){var _=!1,A=!1;u=g[v],d=u.name,f=u.value,h=we(d),m=Lt.test(h),m&&(d=d.replace(ur,"").substr(8).replace(/_(.)/g,function(t,e){return e.toUpperCase()}));var T=h.match(Et);T&&at(T[1])&&(_=d,A=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),p=we(d.toLowerCase()),l[p]=d,!m&&n.hasOwnProperty(p)||(n[p]=f,Jt(t,p)&&(n[p]=!0)),bt(t,e,f,p,m),st(e,p,"A",i,o,_,A)}if("input"===s&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!$t)break;if(a=t.className,y(a)&&(a=a.animVal),M(a)&&""!==a)for(;r=w.exec(a);)p=we(r[2]),st(e,p,"C",i,o)&&(n[p]=po(r[3])),a=a.substr(r.index+r[0].length);break;case Ao:ft(e,t.nodeValue);break;case To:if(!zt)break;Q(t,e,n,i,o)}return e.sort(pt),e}function Q(t,e,n,i,o){try{var r=_.exec(t.nodeValue);if(r){var s=we(r[1]);st(e,s,"M",i,o)&&(n[s]=po(r[2]))}}catch(t){}}function Z(t,e,n){var i=[],o=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw cr("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===Mo&&(t.hasAttribute(e)&&o++,t.hasAttribute(n)&&o--),i.push(t),t=t.nextSibling}while(o>0)}else i.push(t);return Ji(i)}function tt(t,e,n){return function(i,o,r,s,a){return o=Z(o[0],e,n),t(i,o,r,s,a)}}function et(t,e,n,i,o,r){var s;return t?H(e,n,i,o,r):function(){return s||(s=H(e,n,i,o,r),e=n=r=null),s.apply(this,arguments)}}function nt(t,e,n,r,s,a,c,u,d){function p(t,e,n,i){t&&(n&&(t=tt(t,n,i)),t.require=f.require,t.directiveName=m,(k===f||f.$$isolateScope)&&(t=_t(t,{isolateScope:!0})),c.push(t)),e&&(n&&(e=tt(e,n,i)),e.require=f.require,e.directiveName=m,(k===f||f.$$isolateScope)&&(e=_t(e,{isolateScope:!0})),u.push(e))}function h(t,r,s,a,d){function p(t,e,n,i){var o;if(x(t)||(i=n,n=e,e=t,t=undefined),N&&(o=_),n||(n=N?$.parent():$),!i)return d(t,e,o,n,B);var r=d.$$slots[i];if(r)return r(t,e,o,n,B);if(v(r))throw cr("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,J($))}var h,f,m,g,b,_,M,$,C,O;e===s?(C=n,$=n.$$element):($=Ji(s),C=new P($,n)),b=r,k?g=r.$new(!0):w&&(b=r.$parent),d&&(M=p,M.$$boundTransclude=d,M.isSlotFilled=function(t){return!!d.$$slots[t]}),A&&(_=ot($,C,M,A,g,r,k)),k&&(H.$$addScopeInfo($,g,!0,!(z&&(z===k||z===k.$$originalDirective))),H.$$addScopeClass($,!0),g.$$isolateBindings=k.$$isolateBindings,O=wt(r,C,g,g.$$isolateBindings,k),O.removeWatches&&g.$on("$destroy",O.removeWatches));for(var L in _){var E=A[L],j=_[L],D=E.$$bindings.bindToController;if(S){j.bindingInfo=D?wt(b,C,j.instance,D,E):{};var q=j();q!==j.instance&&(j.instance=q,$.data("$"+E.name+"Controller",q),j.bindingInfo.removeWatches&&j.bindingInfo.removeWatches(),j.bindingInfo=wt(b,C,j.instance,D,E))}else j.instance=j(),$.data("$"+E.name+"Controller",j.instance),j.bindingInfo=wt(b,C,j.instance,D,E)}for(i(A,function(t,e){var n=t.require;t.bindToController&&!lo(n)&&y(n)&&l(_[e].instance,it(e,n,$,_))}),i(_,function(t){var e=t.instance;if(T(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){o(t)}if(T(e.$onInit))try{e.$onInit()}catch(t){o(t)}T(e.$doCheck)&&(b.$watch(function(){e.$doCheck()}),e.$doCheck()),T(e.$onDestroy)&&b.$on("$destroy",function(){e.$onDestroy()})}),h=0,f=c.length;h<f;h++)m=c[h],Mt(m,m.isolateScope?g:r,$,C,m.require&&it(m.directiveName,m.require,$,_),M);var B=r;for(k&&(k.template||null===k.templateUrl)&&(B=g),t&&t(B,s.childNodes,undefined,d),h=u.length-1;h>=0;h--)m=u[h],Mt(m,m.isolateScope?g:r,$,C,m.require&&it(m.directiveName,m.require,$,_),M);i(_,function(t){var e=t.instance;T(e.$postLink)&&e.$postLink()})}d=d||{};for(var f,m,g,b,_,M=-Number.MAX_VALUE,w=d.newScopeDirective,A=d.controllerDirectives,k=d.newIsolateScopeDirective,z=d.templateDirective,$=d.nonTlbTranscludeDirective,C=!1,O=!1,N=d.hasElementTranscludeDirective,L=n.$$element=Ji(e),E=a,j=r,D=!1,B=!1,I=0,W=t.length;I<W;I++){f=t[I];var R=f.$$start,U=f.$$end;if(R&&(L=Z(e,R,U)),g=undefined,M>f.priority)break;if(_=f.scope,_&&(f.templateUrl||(y(_)?(ht("new/isolated scope",k||w,f,L),k=f):ht("new/isolated scope",k,f,L)),w=w||f),m=f.name,!D&&(f.replace&&(f.templateUrl||f.template)||f.transclude&&!f.$$tlb)){for(var V,Y=I+1;V=t[Y++];)if(V.transclude&&!V.$$tlb||V.replace&&(V.templateUrl||V.template)){B=!0;break}D=!0}if(!f.templateUrl&&f.controller&&(A=A||gt(),ht("'"+m+"' controller",A[m],f,L),A[m]=f),_=f.transclude)if(C=!0,f.$$tlb||(ht("transclusion",$,f,L),$=f),"element"===_)N=!0,M=f.priority,g=L,L=n.$$element=Ji(H.$$createComment(m,n[m])),e=L[0],yt(s,X(g),e),g[0].$$parentNode=g[0].parentNode,j=et(B,g,r,M,E&&E.name,{nonTlbTranscludeDirective:$});else{var G=gt();if(y(_)){g=[];var Q=gt(),nt=gt();i(_,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,Q[t]=e,G[e]=null,nt[e]=n}),i(L.contents(),function(t){var e=Q[we(q(t))];e?(nt[e]=!0,G[e]=G[e]||[],G[e].push(t)):g.push(t)}),i(nt,function(t,e){if(!t)throw cr("reqslot","Required transclusion slot `{0}` was not filled.",e)});for(var st in G)G[st]&&(G[st]=et(B,G[st],r))}else g=Ji(jt(e)).contents();L.empty(),j=et(B,g,r,undefined,undefined,{needsNewScope:f.$$isolateScope||f.$$newScope}),j.$$slots=G}if(f.template)if(O=!0,ht("template",z,f,L),z=f,_=T(f.template)?f.template(L,n):f.template,_=Nt(_),f.replace){if(E=f,g=xt(_)?[]:Te(mt(f.templateNamespace,po(_))),e=g[0],1!==g.length||e.nodeType!==Mo)throw cr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");yt(s,L,e);var at={$attr:{}},lt=K(e,[],at),dt=t.splice(I+1,t.length-(I+1));(k||w)&&rt(lt,k,w),t=t.concat(lt).concat(dt),ct(n,at),W=t.length}else L.html(_);if(f.templateUrl)O=!0,ht("template",z,f,L),z=f,f.replace&&(E=f),h=ut(t.splice(I,t.length-I),L,n,s,C&&j,c,u,{controllerDirectives:A,newScopeDirective:w!==f&&w,newIsolateScopeDirective:k,templateDirective:z,nonTlbTranscludeDirective:$}),W=t.length;else if(f.compile)try{b=f.compile(L,n,j);var pt=f.$$originalDirective||f;T(b)?p(null,F(pt,b),R,U):b&&p(F(pt,b.pre),F(pt,b.post),R,U)}catch(t){o(t,J(L))}f.terminal&&(h.terminal=!0,M=Math.max(M,f.priority))}return h.scope=w&&!0===w.scope,h.transcludeOnThisElement=C,h.templateOnThisElement=O,h.transclude=j,d.hasElementTranscludeDirective=N,h}function it(t,e,n,o){var r;if(M(e)){var s=e.match(k),a=e.substring(s[0].length),c=s[1]||s[3],l="?"===s[2];if("^^"===c?n=n.parent():(r=o&&o[a],r=r&&r.instance),!r){var u="$"+a+"Controller";r=c?n.inheritedData(u):n.data(u)}if(!r&&!l)throw cr("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,t)}else if(lo(e)){r=[];for(var d=0,p=e.length;d<p;d++)r[d]=it(t,e[d],n,o)}else y(e)&&(r={},i(e,function(e,i){r[i]=it(t,e,n,o)}));return r||null}function ot(t,e,n,i,o,r,s){var a=gt();for(var l in i){var u=i[l],d={$scope:u===s||u.$$isolateScope?o:r,$element:t,$attrs:e,$transclude:n},p=u.controller;"@"===p&&(p=e[u.name]);var h=c(p,d,!0,u.controllerAs);a[u.name]=h,t.data("$"+u.name+"Controller",h.instance)}return a}function rt(t,e,n){for(var i=0,o=t.length;i<o;i++)t[i]=p(t[i],{$$isolateScope:e,$$newScope:n})}function st(t,n,i,o,r,a,c){if(n===r)return null;var l=null;if(d.hasOwnProperty(n))for(var u,h=e.get(n+g),f=0,m=h.length;f<m;f++)if(u=h[f],(v(o)||o>u.priority)&&-1!==u.restrict.indexOf(i)){if(a&&(u=p(u,{$$start:a,$$end:c})),!u.$$bindings){var b=u.$$bindings=s(u,u.name);y(b.isolateScope)&&(u.$$isolateBindings=b.isolateScope)}t.push(u),l=u}return l}function at(t){if(d.hasOwnProperty(t))for(var n,i=e.get(t+g),o=0,r=i.length;o<r;o++)if(n=i[o],n.multiElement)return!0;return!1}function ct(t,e){var n=e.$attr,o=t.$attr;i(t,function(i,o){"$"!==o.charAt(0)&&(e[o]&&e[o]!==i&&(i.length?i+=("style"===o?";":" ")+e[o]:i=e[o]),t.$set(o,i,!0,n[o]))}),i(e,function(e,i){t.hasOwnProperty(i)||"$"===i.charAt(0)||(t[i]=e,"class"!==i&&"style"!==i&&(o[i]=n[i]))})}function ut(t,e,n,s,a,c,l,u){var d,h,f=[],m=e[0],g=t.shift(),v=p(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),b=T(g.templateUrl)?g.templateUrl(e,n):g.templateUrl,_=g.templateNamespace;return e.empty(),r(b).then(function(o){var r,p,M,w;if(o=Nt(o),g.replace){if(M=xt(o)?[]:Te(mt(_,po(o))),r=M[0],1!==M.length||r.nodeType!==Mo)throw cr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,b);p={$attr:{}},yt(s,e,r);var A=K(r,[],p);y(g.scope)&&rt(A,!0),t=A.concat(t),ct(n,p)}else r=m,e.html(o);for(t.unshift(v),d=nt(t,r,n,a,e,g,c,l,u),i(s,function(t,n){t===r&&(s[n]=e[0])}),h=V(e[0].childNodes,a);f.length;){var T=f.shift(),k=f.shift(),z=f.shift(),x=f.shift(),$=e[0];if(!T.$$destroyed){if(k!==m){var C=k.className;u.hasElementTranscludeDirective&&g.replace||($=jt(r)),yt(z,Ji(k),$),R(Ji($),C)}w=d.transcludeOnThisElement?G(T,d.transclude,x):x,d(h,T,$,s,w)}}f=null})["catch"](function(t){t instanceof Error&&o(t)}),function(t,e,n,i,o){var r=o;e.$$destroyed||(f?f.push(e,n,i,r):(d.transcludeOnThisElement&&(r=G(e,d.transclude,o)),d(h,e,n,i,r)))}}function pt(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function ht(t,e,n,i){function o(t){return t?" (module: "+t+")":""}if(e)throw cr("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,o(e.$$moduleName),n.name,o(n.$$moduleName),t,J(i))}function ft(t,e){var i=n(e,!0);i&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&H.$$addBindingClass(e),function(t,e){var o=e.parent();n||H.$$addBindingClass(o),H.$$addBindingInfo(o,i.expressions),t.$watch(i,function(t){e[0].nodeValue=t})}}})}function mt(e,n){switch(e=Ui(e||"html")){case"svg":case"math":var i=t.document.createElement("div");return i.innerHTML="<"+e+">"+n+"</"+e+">",i.childNodes[0].childNodes;default:return n}}function vt(t,e){if("srcdoc"===e)return m.HTML;var n=q(t);if("src"===e||"ngSrc"===e){if(-1===["img","video","audio","source","track"].indexOf(n))return m.RESOURCE_URL}else if("xlinkHref"===e||"form"===n&&"action"===e||"link"===n&&"href"===e)return m.RESOURCE_URL}function bt(t,e,i,o,r){var s=vt(t,o),a=!r,c=A[o]||r,l=n(i,a,s,c);if(l){if("multiple"===o&&"select"===q(t))throw cr("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(t));if(z.test(o))throw cr("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");e.push({priority:100,compile:function(){return{pre:function(t,e,r){var a=r.$$observers||(r.$$observers=gt()),u=r[o];u!==i&&(l=u&&n(u,!0,s,c),i=u),l&&(r[o]=l(t),(a[o]||(a[o]=[])).$$inter=!0,(r.$$observers&&r.$$observers[o].$$scope||t).$watch(l,function(t,e){"class"===o&&t!==e?r.$updateClass(t,e):r.$set(o,t)}))}}}})}}function yt(e,n,i){var o,r,s=n[0],a=n.length,c=s.parentNode;if(e)for(o=0,r=e.length;o<r;o++)if(e[o]===s){e[o++]=i;for(var l=o,u=l+a-1,d=e.length;l<d;l++,u++)u<d?e[l]=e[u]:delete e[l];e.length-=a-1,e.context===s&&(e.context=i);break}c&&c.replaceChild(i,s);var p=t.document.createDocumentFragment();for(o=0;o<a;o++)p.appendChild(n[o]);for(Ji.hasData(s)&&(Ji.data(i,Ji.data(s)),Ji(s).off("$destroy")),Ji.cleanData(p.querySelectorAll("*")),o=1;o<a;o++)delete n[o];n[0]=i,n.length=1}function _t(t,e){return l(function(){return t.apply(null,arguments)},t,e)}
function Mt(t,e,n,i,r,s){try{t(e,n,i,r,s)}catch(t){o(t,J(n))}}function wt(t,e,o,r,s){function c(e,n,i){!T(o.$onChanges)||n===i||n!==n&&i!==i||(At||(t.$$postDigest(D),At=[]),u||(u={},At.push(l)),u[e]&&(i=u[e].previousValue),u[e]=new Me(i,n))}function l(){o.$onChanges(u),u=undefined}var u,d=[],p={};return i(r,function(i,r){var l,u,f,m,g,v=i.attrName,b=i.optional,y=i.mode;switch(y){case"@":b||Hi.call(e,v)||(o[r]=e[v]=undefined),g=e.$observe(v,function(t){if(M(t)||O(t)){var e=o[r];c(r,t,e),o[r]=t}}),e.$$observers[v].$$scope=t,l=e[v],M(l)?o[r]=n(l)(t):O(l)&&(o[r]=l),p[r]=new Me(lr,o[r]),d.push(g);break;case"=":if(!Hi.call(e,v)){if(b)break;e[v]=undefined}if(b&&!e[v])break;u=a(e[v]),m=u.literal?W:function(t,e){return t===e||t!==t&&e!==e},f=u.assign||function(){throw l=o[r]=u(t),cr("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",e[v],v,s.name)},l=o[r]=u(t);var _=function(e){return m(e,o[r])||(m(e,l)?f(t,e=o[r]):o[r]=e),l=e};_.$stateful=!0,g=i.collection?t.$watchCollection(e[v],_):t.$watch(a(e[v],_),null,u.literal),d.push(g);break;case"<":if(!Hi.call(e,v)){if(b)break;e[v]=undefined}if(b&&!e[v])break;u=a(e[v]);var w=u.literal,A=o[r]=u(t);p[r]=new Me(lr,o[r]),g=t.$watch(u,function(t,e){if(e===t){if(e===A||w&&W(e,A))return;e=A}c(r,t,e),o[r]=t},w),d.push(g);break;case"&":if((u=e.hasOwnProperty(v)?a(e[v]):h)===h&&b)break;o[r]=function(e){return u(t,e)}}}),{initialChanges:p,removeWatches:d.length&&function(){for(var t=0,e=d.length;t<e;++t)d[t]()}}}var At,Tt=/^\w/,kt=t.document.createElement("div"),zt=L,$t=E,Ct=N;P.prototype={$normalize:we,$addClass:function(t){t&&t.length>0&&$.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&$.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=Ae(t,e);n&&n.length&&$.addClass(this.$$element,n);var i=Ae(e,t);i&&i.length&&$.removeClass(this.$$element,i)},$set:function(t,e,n,r){var s,a=this.$$element[0],c=Jt(a,t),l=Qt(t),u=t;if(c?(this.$$element.prop(t,e),r=c):l&&(this[l]=e,u=l),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=lt(t,"-")),"a"===(s=q(this.$$element))&&("href"===t||"xlinkHref"===t)||"img"===s&&"src"===t)this[t]=e=j(e,"src"===t);else if("img"===s&&"srcset"===t&&b(e)){for(var d="",p=po(e),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,f=/\s/.test(p)?h:/(,)/,m=p.split(f),g=Math.floor(m.length/2),y=0;y<g;y++){var _=2*y;d+=j(po(m[_]),!0),d+=" "+po(m[_+1])}var M=po(m[2*y]).split(/\s/);d+=j(po(M[0]),!0),2===M.length&&(d+=" "+po(M[1])),this[t]=e=d}!1!==n&&(null===e||v(e)?this.$$element.removeAttr(r):Tt.test(r)?this.$$element.attr(r,e):I(this.$$element[0],r,e));var w=this.$$observers;w&&i(w[u],function(t){try{t(e)}catch(t){o(t)}})},$observe:function(t,e){var n=this,i=n.$$observers||(n.$$observers=gt()),o=i[t]||(i[t]=[]);return o.push(e),u.$evalAsync(function(){o.$$inter||!n.hasOwnProperty(t)||v(n[t])||e(n[t])}),function(){B(o,e)}}};var St=n.startSymbol(),Ot=n.endSymbol(),Nt="{{"===St&&"}}"===Ot?f:function(t){return t.replace(/\{\{/g,St).replace(/}}/g,Ot)},Lt=/^ngAttr[A-Z]/,Et=/^(.+)Start$/;return H.$$addBindingInfo=C?function(t,e){var n=t.data("$binding")||[];lo(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:h,H.$$addBindingClass=C?function(t){R(t,"ng-binding")}:h,H.$$addScopeInfo=C?function(t,e,n,i){var o=n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(o,e)}:h,H.$$addScopeClass=C?function(t,e){R(t,e?"ng-isolate-scope":"ng-scope")}:h,H.$$createComment=function(e,n){var i="";return C&&(i=" "+(e||"")+": ",n&&(i+=n+" ")),t.document.createComment(i)},H}]}function Me(t,e){this.previousValue=t,this.currentValue=e}function we(t){return t.replace(ur,"").replace(dr,kt)}function Ae(t,e){var n="",i=t.split(/\s+/),o=e.split(/\s+/);t:for(var r=0;r<i.length;r++){for(var s=i[r],a=0;a<o.length;a++)if(s===o[a])continue t;n+=(n.length>0?" ":"")+s}return n}function Te(t){t=Ji(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];(n.nodeType===To||n.nodeType===Ao&&""===n.nodeValue.trim())&&eo.call(t,e,1)}return t}function ke(t,e){if(e&&M(e))return e;if(M(t)){var n=hr.exec(t);if(n)return n[3]}}function ze(){var t={},n=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){ht(e,"controller"),y(e)?l(t,e):t[e]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(i,o){function r(t,n,i,o){if(!t||!y(t.$scope))throw e("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",o,n);t.$scope[n]=i}return function(e,s,a,c){var u,d,p,h;if(a=!0===a,c&&M(c)&&(h=c),M(e)){if(!(d=e.match(hr)))throw pr("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",e);if(p=d[1],h=h||d[3],!(e=t.hasOwnProperty(p)?t[p]:ft(s.$scope,p,!0)||(n?ft(o,p,!0):undefined)))throw pr("ctrlreg","The controller with the name '{0}' is not registered.",p);pt(e,p,!0)}if(a){var f=(lo(e)?e[e.length-1]:e).prototype;return u=Object.create(f||null),h&&r(s,h,u,p||e.name),l(function(){var t=i.invoke(e,u,s,p);return t!==u&&(y(t)||T(t))&&(u=t,h&&r(s,h,u,p||e.name)),u},{instance:u,identifier:h})}return u=i.instantiate(e,s,p),h&&r(s,h,u,p||e.name),u}}]}function xe(){this.$get=["$window",function(t){return Ji(t.document)}]}function $e(){this.$get=["$document","$rootScope",function(t,e){function n(){o=i.hidden}var i=t[0],o=i&&i.hidden;return t.on("visibilitychange",n),e.$on("$destroy",function(){t.off("visibilitychange",n)}),function(){return o}}]}function Ce(){this.$get=["$log",function(t){return function(){t.error.apply(t,arguments)}}]}function Se(t){return y(t)?A(t)?t.toISOString():U(t):t}function Oe(){this.$get=function(){return function(t){if(!t)return"";var e=[];return o(t,function(t,n){null===t||v(t)||(lo(t)?i(t,function(t){e.push(nt(n)+"="+nt(Se(t)))}):e.push(nt(n)+"="+nt(Se(t))))}),e.join("&")}}}function Ne(){this.$get=function(){return function(t){function e(t,r,s){null===t||v(t)||(lo(t)?i(t,function(t,n){e(t,r+"["+(y(t)?n:"")+"]")}):y(t)&&!A(t)?o(t,function(t,n){e(t,r+(s?"":"[")+n+(s?"":"]"))}):n.push(nt(r)+"="+nt(Se(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function Le(t,e){if(M(t)){var n=t.replace(yr,"").trim();if(n){var i=e("Content-Type");(i&&0===i.indexOf(mr)||Ee(n))&&(t=V(n))}}return t}function Ee(t){var e=t.match(vr);return e&&br[e[0]].test(t)}function je(t){function e(t,e){t&&(o[t]=o[t]?o[t]+", "+e:e)}var n,o=gt();return M(t)?i(t.split("\n"),function(t){n=t.indexOf(":"),e(Ui(po(t.substr(0,n))),po(t.substr(n+1)))}):y(t)&&i(t,function(t,n){e(Ui(n),po(t))}),o}function De(t){var e;return function(n){if(e||(e=je(t)),n){var i=e[Ui(n)];return i===undefined&&(i=null),i}return e}}function qe(t,e,n,o){return T(o)?o(t,e,n):(i(o,function(i){t=i(t,e,n)}),t)}function Pe(t){return 200<=t&&t<300}function Be(){var t=this.defaults={transformResponse:[Le],transformRequest:[function(t){return!y(t)||$(t)||S(t)||C(t)?t:U(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:yt(gr),put:yt(gr),patch:yt(gr)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(t){return b(t)?(n=!!t,this):n};var o=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(r,s,a,c,u,d,p,f){function m(n){function o(t,e){for(var n=0,i=e.length;n<i;){var o=e[n++],r=e[n++];t=t.then(o,r)}return e.length=0,t}function s(){r.$$completeOutstandingRequest(h)}function a(t,e){var n,o={};return i(t,function(t,i){T(t)?null!=(n=t(e))&&(o[i]=n):o[i]=t}),o}function c(e){var n,i,o,r=t.headers,s=l({},e.headers);r=l({},r.common,r[Ui(e.method)]);t:for(n in r){i=Ui(n);for(o in s)if(Ui(o)===i)continue t;s[n]=r[n]}return a(s,yt(e))}function u(e){var n=e.headers,o=qe(e.data,De(n),undefined,e.transformRequest);return v(o)&&i(n,function(t,e){"content-type"===Ui(e)&&delete n[e]}),v(e.withCredentials)&&!v(t.withCredentials)&&(e.withCredentials=t.withCredentials),w(e,o).then(m,m)}function m(t){var e=l({},t);return e.data=qe(t.data,t.headers,t.status,g.transformResponse),Pe(t.status)?e:d.reject(e)}if(!y(n))throw e("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!M(f.valueOf(n.url)))throw e("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var g=l({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},n);g.headers=c(n),g.method=Vi(g.method),g.paramSerializer=M(g.paramSerializer)?p.get(g.paramSerializer):g.paramSerializer,r.$$incOutstandingRequestCount();var b=[],_=[],A=d.resolve(g);return i(x,function(t){(t.request||t.requestError)&&b.unshift(t.request,t.requestError),(t.response||t.responseError)&&_.push(t.response,t.responseError)}),A=o(A,b),A=A.then(u),A=o(A,_),A=A["finally"](s)}function g(){i(arguments,function(t){m[t]=function(e,n){return m(l({},n||{},{method:t,url:e}))}})}function _(){i(arguments,function(t){m[t]=function(e,n,i){return m(l({},i||{},{method:t,url:e,data:n}))}})}function w(e,o){function r(t){if(t){var e={};return i(t,function(t,i){e[i]=function(e){function i(){t(e)}n?u.$applyAsync(i):u.$$phase?i():u.$apply(i)}}),e}}function c(t,e,i,o){function r(){l(e,t,i,o)}g&&(Pe(t)?g.put(C,[t,e,je(i),o]):g.remove(C)),n?u.$applyAsync(r):(r(),u.$$phase||u.$apply())}function l(t,n,i,o){n=n>=-1?n:0,(Pe(n)?w.resolve:w.reject)({data:t,status:n,headers:De(i),config:e,statusText:o})}function p(t){l(t.data,t.status,yt(t.headers()),t.statusText)}function h(){var t=m.pendingRequests.indexOf(e);-1!==t&&m.pendingRequests.splice(t,1)}var g,_,w=d.defer(),T=w.promise,x=e.headers,$="jsonp"===Ui(e.method),C=e.url;if($?C=f.getTrustedResourceUrl(C):M(C)||(C=f.valueOf(C)),C=A(C,e.paramSerializer(e.params)),$&&(C=k(C,e.jsonpCallbackParam)),m.pendingRequests.push(e),T.then(h,h),!e.cache&&!t.cache||!1===e.cache||"GET"!==e.method&&"JSONP"!==e.method||(g=y(e.cache)?e.cache:y(t.cache)?t.cache:z),g&&(_=g.get(C),b(_)?N(_)?_.then(p,p):lo(_)?l(_[1],_[0],yt(_[2]),_[3]):l(_,200,{},"OK"):g.put(C,T)),v(_)){var S=Pn(e.url)?a()[e.xsrfCookieName||t.xsrfCookieName]:undefined;S&&(x[e.xsrfHeaderName||t.xsrfHeaderName]=S),s(e.method,C,o,c,x,e.timeout,e.withCredentials,e.responseType,r(e.eventHandlers),r(e.uploadEventHandlers))}return T}function A(t,e){return e.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+e),t}function k(t,e){if(/[&?][^=]+=JSON_CALLBACK/.test(t))throw _r("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',t);if(new RegExp("[&?]"+e+"=").test(t))throw _r("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',e,t);return t+=(-1===t.indexOf("?")?"?":"&")+e+"=JSON_CALLBACK"}var z=c("$http");t.paramSerializer=M(t.paramSerializer)?p.get(t.paramSerializer):t.paramSerializer;var x=[];return i(o,function(t){x.unshift(M(t)?p.get(t):p.invoke(t))}),m.pendingRequests=[],g("get","delete","head","jsonp"),_("post","put","patch"),m.defaults=t,m}]}function Ie(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function We(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,i){return Re(t,i,t.defer,e,n[0])}]}function Re(t,e,n,o,r){function s(t,e,n){t=t.replace("JSON_CALLBACK",e);var i=r.createElement("script"),s=null;return i.type="text/javascript",i.src=t,i.async=!0,s=function(t){i.removeEventListener("load",s),i.removeEventListener("error",s),r.body.removeChild(i),i=null;var a=-1,c="unknown";t&&("load"!==t.type||o.wasCalled(e)||(t={type:"error"}),c=t.type,a="error"===t.type?404:200),n&&n(a,c)},i.addEventListener("load",s),i.addEventListener("error",s),r.body.appendChild(i),s}return function(r,a,c,l,u,d,p,h,f,m){function g(){M&&M(),w&&w.abort()}function y(t,e,i,o,r){b(T)&&n.cancel(T),M=w=null,t(e,i,o,r)}if(a=a||t.url(),"jsonp"===Ui(r))var _=o.createCallback(a),M=s(a,_,function(t,e){var n=200===t&&o.getResponse(_);y(l,t,n,"",e),o.removeCallback(_)});else{var w=e(r,a);w.open(r,a,!0),i(u,function(t,e){b(t)&&w.setRequestHeader(e,t)}),w.onload=function(){var t=w.statusText||"",e="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=e?200:"file"===qn(a).protocol?404:0),y(l,n,e,w.getAllResponseHeaders(),t)};var A=function(){y(l,-1,null,null,"")};if(w.onerror=A,w.onabort=A,w.ontimeout=A,i(f,function(t,e){w.addEventListener(e,t)}),i(m,function(t,e){w.upload.addEventListener(e,t)}),p&&(w.withCredentials=!0),h)try{w.responseType=h}catch(t){if("json"!==h)throw t}w.send(v(c)?null:c)}if(d>0)var T=n(g,d);else N(d)&&d.then(g)}}function Xe(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,i,o){function r(t){return"\\\\\\"+t}function s(n){return n.replace(p,t).replace(h,e)}function a(t,e,n,i){var o=t.$watch(function(t){return o(),i(t)},e,n);return o}function c(r,c,p,h){function f(t){try{return t=S(t),h&&!b(t)?t:vt(t)}catch(t){i(Mr.interr(r,t))}}if(!r.length||-1===r.indexOf(t)){var g;if(!c){g=m(s(r)),g.exp=r,g.expressions=[],g.$$watchDelegate=a}return g}h=!!h;for(var y,_,M,w=0,A=[],k=[],z=r.length,x=[],$=[];w<z;){if(-1===(y=r.indexOf(t,w))||-1===(_=r.indexOf(e,y+u))){w!==z&&x.push(s(r.substring(w)));break}w!==y&&x.push(s(r.substring(w,y))),M=r.substring(y+u,_),A.push(M),k.push(n(M,f)),w=_+d,$.push(x.length),x.push("")}if(p&&x.length>1&&Mr.throwNoconcat(r),!c||A.length){var C=function(t){for(var e=0,n=A.length;e<n;e++){if(h&&v(t[e]))return;x[$[e]]=t[e]}return x.join("")},S=function(t){return p?o.getTrusted(p,t):o.valueOf(t)};return l(function(t){var e=0,n=A.length,o=new Array(n);try{for(;e<n;e++)o[e]=k[e](t);return C(o)}catch(t){i(Mr.interr(r,t))}},{exp:r,expressions:A,$$watchDelegate:function(t,e){var n;return t.$watchGroup(k,function(i,o){var r=C(i);T(e)&&e.call(this,r,i!==o?n:r,t),n=r})}})}}var u=t.length,d=e.length,p=new RegExp(t.replace(/./g,r),"g"),h=new RegExp(e.replace(/./g,r),"g");return c.startSymbol=function(){return t},c.endSymbol=function(){return e},c}]}function Fe(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(t,e,n,i,o){function r(r,a,c,l){function u(){d?r.apply(null,p):r(m)}var d=arguments.length>4,p=d?X(arguments,4):[],h=e.setInterval,f=e.clearInterval,m=0,g=b(l)&&!l,v=(g?i:n).defer(),y=v.promise;return c=b(c)?c:0,y.$$intervalId=h(function(){g?o.defer(u):t.$evalAsync(u),v.notify(m++),c>0&&m>=c&&(v.resolve(m),f(y.$$intervalId),delete s[y.$$intervalId]),g||t.$apply()},a),s[y.$$intervalId]=v,y}var s={};return r.cancel=function(t){return!!(t&&t.$$intervalId in s)&&(s[t.$$intervalId].promise["catch"](h),s[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete s[t.$$intervalId],!0)},r}]}function He(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=et(e[n]);return e.join("/")}function Ue(t,e){var n=qn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=d(n.port)||Tr[n.protocol]||null}function Ve(t,e){if(zr.test(t))throw kr("badpath",'Invalid url "{0}".',t);var n="/"!==t.charAt(0);n&&(t="/"+t);var i=qn(t);e.$$path=decodeURIComponent(n&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=Z(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Ye(t,e){return t.slice(0,e.length)===e}function Ge(t,e){if(Ye(e,t))return e.substr(t.length)}function Ke(t){var e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function Je(t){return t.replace(/(#.+)|#$/,"$1")}function Qe(t){return t.substr(0,Ke(t).lastIndexOf("/")+1)}function Ze(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function tn(t,e,n){this.$$html5=!0,n=n||"",Ue(t,this),this.$$parse=function(t){var n=Ge(e,t);if(!M(n))throw kr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Ve(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=tt(this.$$search),n=this.$$hash?"#"+et(this.$$hash):"";this.$$url=He(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(i,o){if(o&&"#"===o[0])return this.hash(o.slice(1)),!0;var r,s,a;return b(r=Ge(t,i))?(s=r,a=n&&b(r=Ge(n,r))?e+(Ge("/",r)||r):t+s):b(r=Ge(e,i))?a=e+r:e===i+"/"&&(a=e),a&&this.$$parse(a),!!a}}function en(t,e,n){Ue(t,this),this.$$parse=function(i){function o(t,e,n){var i,o=/^\/[A-Z]:(\/.*)/;return Ye(e,n)&&(e=e.replace(n,"")),o.exec(e)?t:(i=o.exec(t),i?i[1]:t)}var r,s=Ge(t,i)||Ge(e,i);v(s)||"#"!==s.charAt(0)?this.$$html5?r=s:(r="",v(s)&&(t=i,this.replace())):(r=Ge(n,s),v(r)&&(r=s)),Ve(r,this),this.$$path=o(this.$$path,r,t),this.$$compose()},this.$$compose=function(){var e=tt(this.$$search),i=this.$$hash?"#"+et(this.$$hash):"";this.$$url=He(this.$$path)+(e?"?"+e:"")+i,this.$$absUrl=t+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(e){return Ke(t)===Ke(e)&&(this.$$parse(e),!0)}}function nn(t,e,n){this.$$html5=!0,en.apply(this,arguments),this.$$parseLinkUrl=function(i,o){if(o&&"#"===o[0])return this.hash(o.slice(1)),!0;var r,s;return t===Ke(i)?r=i:(s=Ge(e,i))?r=t+n+s:e===i+"/"&&(r=e),r&&this.$$parse(r),!!r},this.$$compose=function(){var e=tt(this.$$search),i=this.$$hash?"#"+et(this.$$hash):"";this.$$url=He(this.$$path)+(e?"?"+e:"")+i,this.$$absUrl=t+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function on(t){return function(){return this[t]}}function rn(t,e){return function(n){return v(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function sn(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return b(e)?(t=e,this):t},this.html5Mode=function(t){return O(t)?(e.enabled=t,this):y(t)?(O(t.enabled)&&(e.enabled=t.enabled),O(t.requireBase)&&(e.requireBase=t.requireBase),(O(t.rewriteLinks)||M(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,o,r,s){function a(t,e,n){var o=l.url(),r=l.$$state;try{i.url(t,e,n),l.$$state=i.state()}catch(t){throw l.url(o),l.$$state=r,t}}function c(t,e){n.$broadcast("$locationChangeSuccess",l.absUrl(),t,l.$$state,e)}var l,u,d,p=i.baseHref(),h=i.url();if(e.enabled){if(!p&&e.requireBase)throw kr("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=Ze(h)+(p||"/"),u=o.history?tn:nn}else d=Ke(h),u=en;var f=Qe(d);l=new u(d,f,"#"+t),l.$$parseLinkUrl(h,h),l.$$state=i.state();var m=/^\s*(javascript|mailto):/i;r.on("click",function(t){var o=e.rewriteLinks;if(o&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!==t.which&&2!==t.button){for(var a=Ji(t.target);"a"!==q(a[0]);)if(a[0]===r[0]||!(a=a.parent())[0])return;if(!M(o)||!v(a.attr(o))){var c=a.prop("href"),u=a.attr("href")||a.attr("xlink:href");y(c)&&"[object SVGAnimatedString]"===c.toString()&&(c=qn(c.animVal).href),m.test(c)||!c||a.attr("target")||t.isDefaultPrevented()||l.$$parseLinkUrl(c,u)&&(t.preventDefault(),l.absUrl()!==i.url()&&(n.$apply(),s.angular["ff-684208-preventDefault"]=!0))}}}),Je(l.absUrl())!==Je(h)&&i.url(l.absUrl(),!0);var g=!0;return i.onUrlChange(function(t,e){if(!Ye(t,f))return void(s.location.href=t);n.$evalAsync(function(){var i,o=l.absUrl(),r=l.$$state;t=Je(t),l.$$parse(t),l.$$state=e,i=n.$broadcast("$locationChangeStart",t,o,e,r).defaultPrevented,l.absUrl()===t&&(i?(l.$$parse(o),l.$$state=r,a(o,!1,r)):(g=!1,c(o,r)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(g||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var t=Je(i.url()),e=Je(l.absUrl()),r=i.state(),s=l.$$replace,u=t!==e||l.$$html5&&o.history&&r!==l.$$state;(g||u)&&(g=!1,n.$evalAsync(function(){var e=l.absUrl(),i=n.$broadcast("$locationChangeStart",e,t,l.$$state,r).defaultPrevented;l.absUrl()===e&&(i?(l.$$parse(t),l.$$state=r):(u&&a(e,s,r===l.$$state?null:l.$$state),c(t,r)))}))}l.$$replace=!1}),l}]}function an(){var t=!0,e=this;this.debugEnabled=function(e){return b(e)?(t=e,this):t},this.$get=["$window",function(n){function o(t){return t instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function r(t){var e=n.console||{},r=e[t]||e.log||h,s=!1;try{s=!!r.apply}catch(t){}return s?function(){var t=[];return i(arguments,function(e){t.push(o(e))}),r.apply(e,t)}:function(t,e){r(t,null==e?"":e)}}return{log:r("log"),info:r("info"),warn:r("warn"),error:r("error"),debug:function(){var n=r("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function cn(t){return t+""}function ln(t,e){return void 0!==t?t:e}function un(t,e){return void 0===t?e:void 0===e?t:t+e}function dn(t,e){return!t(e).$stateful}function pn(t,e){var n,o,r;switch(t.type){case Lr.Program:n=!0,i(t.body,function(t){pn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case Lr.Literal:t.constant=!0,t.toWatch=[];break;case Lr.UnaryExpression:pn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case Lr.BinaryExpression:pn(t.left,e),pn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case Lr.LogicalExpression:pn(t.left,e),pn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case Lr.ConditionalExpression:pn(t.test,e),pn(t.alternate,e),pn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case Lr.Identifier:t.constant=!1,t.toWatch=[t];break;case Lr.MemberExpression:pn(t.object,e),t.computed&&pn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case Lr.CallExpression:r=!!t.filter&&dn(e,t.callee.name),n=r,o=[],i(t.arguments,function(t){pn(t,e),n=n&&t.constant,t.constant||o.push.apply(o,t.toWatch)}),t.constant=n,t.toWatch=r?o:[t];break;case Lr.AssignmentExpression:pn(t.left,e),pn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case Lr.ArrayExpression:n=!0,o=[],i(t.elements,function(t){pn(t,e),n=n&&t.constant,t.constant||o.push.apply(o,t.toWatch)}),t.constant=n,t.toWatch=o;break;case Lr.ObjectExpression:n=!0,o=[],i(t.properties,function(t){pn(t.value,e),n=n&&t.value.constant&&!t.computed,t.value.constant||o.push.apply(o,t.value.toWatch),t.computed&&(pn(t.key,e),t.key.constant||o.push.apply(o,t.key.toWatch))}),t.constant=n,t.toWatch=o;break;case Lr.ThisExpression:case Lr.LocalsExpression:t.constant=!1,t.toWatch=[]}}function hn(t){if(1===t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length?n:n[0]!==e?n:undefined}}function fn(t){return t.type===Lr.Identifier||t.type===Lr.MemberExpression}function mn(t){if(1===t.body.length&&fn(t.body[0].expression))return{type:Lr.AssignmentExpression,left:t.body[0].expression,right:{type:Lr.NGValueParameter},operator:"="}}function gn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===Lr.Literal||t.body[0].expression.type===Lr.ArrayExpression||t.body[0].expression.type===Lr.ObjectExpression)}function vn(t){return t.constant}function bn(t,e){this.astBuilder=t,this.$filter=e}function yn(t,e){this.astBuilder=t,this.$filter=e}function _n(t){return T(t.valueOf)?t.valueOf():Cr.call(t)}function Mn(){var t,e,n=gt(),o={"true":!0,"false":!1,"null":null,undefined:undefined};this.addLiteral=function(t,e){o[t]=e},this.setIdentifierFns=function(n,i){return t=n,e=i,this},this.$get=["$filter",function(r){function s(t,e){var i,o,s;switch(typeof t){case"string":if(t=t.trim(),s=t,!(i=n[s])){":"===t.charAt(0)&&":"===t.charAt(1)&&(o=!0,t=t.substring(2));var a=new Nr(m);i=new Er(a,r,m).parse(t),i.constant?i.$$watchDelegate=d:o?i.$$watchDelegate=i.literal?u:l:i.inputs&&(i.$$watchDelegate=c),n[s]=i}return p(i,e);case"function":return p(t,e);default:return p(h,e)}}function a(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&!n&&"object"==typeof(t=_n(t)))&&(t===e||t!==t&&e!==e)}function c(t,e,n,i,o){var r,s=i.inputs;if(1===s.length){var c=a;return s=s[0],t.$watch(function(t){var e=s(t);return a(e,c,i.literal)||(r=i(t,undefined,undefined,[e]),c=e&&_n(e)),r},e,n,o)}for(var l=[],u=[],d=0,p=s.length;d<p;d++)l[d]=a,u[d]=null;return t.$watch(function(t){for(var e=!1,n=0,o=s.length;n<o;n++){var c=s[n](t);(e||(e=!a(c,l[n],i.literal)))&&(u[n]=c,l[n]=c&&_n(c))}return e&&(r=i(t,undefined,undefined,u)),r},e,n,o)}function l(t,e,n,i,o){function r(t){return i(t)}function s(t,n,i){l=t,T(e)&&e(t,n,i),b(t)&&i.$$postDigest(function(){b(l)&&a()})}var a,l;return a=i.inputs?c(t,s,n,i,o):t.$watch(r,s,n)}function u(t,e,n,o){function r(t){var e=!0;return i(t,function(t){b(t)||(e=!1)}),e}var s,a;return s=t.$watch(function(t){return o(t)},function(t,n,i){a=t,T(e)&&e(t,n,i),r(t)&&i.$$postDigest(function(){r(a)&&s()})},n)}function d(t,e,n,i){var o=t.$watch(function(t){return o(),i(t)},e,n);return o}function p(t,e){if(!e)return t;var n=t.$$watchDelegate,i=!1,o=n!==u&&n!==l,r=o?function(n,o,r,s){var a=i&&s?s[0]:t(n,o,r,s);return e(a,n,o)}:function(n,i,o,r){var s=t(n,i,o,r),a=e(s,n,i);return b(s)?a:s};return i=!t.inputs,t.$$watchDelegate&&t.$$watchDelegate!==c?(r.$$watchDelegate=t.$$watchDelegate,r.inputs=t.inputs):e.$stateful||(r.$$watchDelegate=c,r.inputs=t.inputs?t.inputs:[t]),r}var f=fo().noUnsafeEval,m={csp:f,literals:I(o),isIdentifierStart:T(t)&&t,isIdentifierContinue:T(e)&&e};return s}]}function wn(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return Tn(function(t){e.$evalAsync(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return b(e)?(t=e,this):t}}function An(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return Tn(function(t){e.defer(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return b(e)?(t=e,this):t}}function Tn(t,n,o){function r(){return new s}function s(){var t=this.promise=new a;this.resolve=function(e){p(t,e)},this.reject=function(e){f(t,e)},this.notify=function(e){g(t,e)}}function a(){this.$$state={status:0}}function c(e){var n,i,r;r=e.pending,e.processScheduled=!1,e.pending=undefined;try{for(var s=0,a=r.length;s<a;++s){e.pur=!0,i=r[s][0],n=r[s][e.status];try{T(n)?p(i,n(e.value)):1===e.status?p(i,e.value):f(i,e.value)}catch(t){f(i,t)}}}finally{--x,o&&0===x&&t(u)}}function u(){for(;!x&&$.length;){var t=$.shift();if(!t.pur){t.pur=!0;var e="Possibly unhandled rejection: "+Mt(t.value);t.value instanceof Error?n(t.value,e):n(e)}}}function d(e){!o||e.pending||2!==e.status||e.pur||(0===x&&0===$.length&&t(u),$.push(e)),!e.processScheduled&&e.pending&&(e.processScheduled=!0,++x,t(function(){c(e)}))}function p(t,e){t.$$state.status||(e===t?m(t,z("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):h(t,e))}function h(t,e){function n(e){s||(s=!0,h(t,e))}function i(e){s||(s=!0,m(t,e))}function o(e){g(t,e)}var r,s=!1;try{(y(e)||T(e))&&(r=e.then),T(r)?(t.$$state.status=-1,r.call(e,n,i,o)):(t.$$state.value=e,t.$$state.status=1,d(t.$$state))}catch(t){i(t)}}function f(t,e){t.$$state.status||m(t,e)}function m(t,e){t.$$state.value=e,t.$$state.status=2,d(t.$$state)}function g(e,i){var o=e.$$state.pending;e.$$state.status<=0&&o&&o.length&&t(function(){for(var t,e,r=0,s=o.length;r<s;r++){e=o[r][0],t=o[r][3];try{g(e,T(t)?t(i):i)}catch(t){n(t)}}})}function b(t){var e=new a;return f(e,t),e}function _(t,e,n){var i=null;try{T(n)&&(i=n())}catch(t){return b(t)}return N(i)?i.then(function(){return e(t)},b):e(t)}function M(t,e,n,i){var o=new a;return p(o,t),o.then(e,n,i)}function w(t){var e=new a,n=0,o=lo(t)?[]:{};return i(t,function(t,i){n++,M(t).then(function(t){o[i]=t,--n||p(e,o)},function(t){f(e,t)})}),0===n&&p(e,o),e}function A(t){var e=r();return i(t,function(t){M(t).then(e.resolve,e.reject)}),e.promise}function k(t){function e(t){p(i,t)}function n(t){f(i,t)}if(!T(t))throw z("norslvr","Expected resolverFn, got '{0}'",t);var i=new a;return t(e,n),i}var z=e("$q",TypeError),x=0,$=[];l(a.prototype,{then:function(t,e,n){if(v(t)&&v(e)&&v(n))return this;var i=new a;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,t,e,n]),this.$$state.status>0&&d(this.$$state),i},"catch":function(t){return this.then(null,t)},"finally":function(t,e){return this.then(function(e){return _(e,C,t)},function(e){return _(e,b,t)},e)}});var C=M;return k.prototype=a.prototype,k.defer=r,k.reject=b,k.when=M,k.resolve=C,k.all=w,k.race=A,k}function kn(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame,i=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,o=!!n,r=o?function(t){var e=n(t);return function(){i(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return r.supported=o,r}]}function zn(){function t(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=s(),this.$$ChildScope=null}return e.prototype=t,e}var o=10,r=e("$rootScope"),a=null,c=null;this.digestTtl=function(t){return arguments.length&&(o=t),o},this.$get=["$exceptionHandler","$parse","$browser",function(e,l,u){function d(t){t.currentScope.$$destroyed=!0}function p(t){9===Ki&&(t.$$childHead&&p(t.$$childHead),t.$$nextSibling&&p(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function f(){this.$id=s(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(t){if(k.$$phase)throw r("inprog","{0} already in progress",k.$$phase);k.$$phase=t}function g(){k.$$phase=null}function b(t,e){do{t.$$watchersCount+=e}while(t=t.$parent)}function _(t,e,n){do{t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n]}while(t=t.$parent)}function M(){}function w(){for(;$.length;)try{$.shift()()}catch(t){e(t)}c=null}function A(){null===c&&(c=u.defer(function(){k.$apply(w)}))}f.prototype={constructor:f,$new:function(e,n){var i;return n=n||this,e?(i=new f,i.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=t(this)),i=new this.$$ChildScope),i.$parent=n,i.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=i,n.$$childTail=i):n.$$childHead=n.$$childTail=i,(e||n!==this)&&i.$on("$destroy",d),i},$watch:function(t,e,n,i){var o=l(t);if(o.$$watchDelegate)return o.$$watchDelegate(this,e,n,o,t);var r=this,s=r.$$watchers,c={fn:e,last:M,get:o,exp:i||t,eq:!!n};return a=null,T(e)||(c.fn=h),s||(s=r.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(c),s.$$digestWatchIndex++,b(this,1),function(){var t=B(s,c);t>=0&&(b(r,-1),t<s.$$digestWatchIndex&&s.$$digestWatchIndex--),a=null}},$watchGroup:function(t,e){function n(){c=!1,l?(l=!1,e(r,r,a)):e(r,o,a)}var o=new Array(t.length),r=new Array(t.length),s=[],a=this,c=!1,l=!0;if(!t.length){var u=!0;return a.$evalAsync(function(){u&&e(r,r,a)}),function(){u=!1}}return 1===t.length?this.$watch(t[0],function(t,n,i){r[0]=t,o[0]=n,e(r,t===n?r:o,i)}):(i(t,function(t,e){var i=a.$watch(t,function(t,i){r[e]=t,o[e]=i,c||(c=!0,a.$evalAsync(n))});s.push(i)}),function(){for(;s.length;)s.shift()()})},$watchCollection:function(t,e){function i(t){r=t;var e,i,o,a;if(!v(r)){if(y(r))if(n(r)){s!==h&&(s=h,g=s.length=0,d++),e=r.length,g!==e&&(d++,s.length=g=e);for(var c=0;c<e;c++)a=s[c],o=r[c],a!==a&&o!==o||a===o||(d++,s[c]=o)}else{s!==f&&(s=f={},g=0,d++),e=0;for(i in r)Hi.call(r,i)&&(e++,o=r[i],a=s[i],i in s?a!==a&&o!==o||a===o||(d++,s[i]=o):(g++,s[i]=o,d++));if(g>e){d++;for(i in s)Hi.call(r,i)||(g--,delete s[i])}}else s!==r&&(s=r,d++);return d}}function o(){if(m?(m=!1,e(r,r,c)):e(r,a,c),u)if(y(r))if(n(r)){a=new Array(r.length);for(var t=0;t<r.length;t++)a[t]=r[t]}else{a={};for(var i in r)Hi.call(r,i)&&(a[i]=r[i])}else a=r}i.$stateful=!0;var r,s,a,c=this,u=e.length>1,d=0,p=l(t,i),h=[],f={},m=!0,g=0;return this.$watch(p,o)},$digest:function(){var t,n,i,s,l,d,p,h,f,v,b,y=o,_=this,A=[];m("$digest"),u.$$checkUrlChange(),this===k&&null!==c&&(u.defer.cancel(c),w()),a=null;do{p=!1,f=_;for(var $=0;$<z.length;$++){try{b=z[$],b.scope.$eval(b.expression,b.locals)}catch(t){e(t)}a=null}z.length=0;t:do{if(d=f.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(t=d[d.$$digestWatchIndex])if(l=t.get,(n=l(f))===(i=t.last)||(t.eq?W(n,i):co(n)&&co(i))){if(t===a){p=!1;break t}}else p=!0,a=t,t.last=t.eq?I(n,null):n,s=t.fn,s(n,i===M?n:i,f),y<5&&(v=4-y,A[v]||(A[v]=[]),A[v].push({msg:T(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:n,oldVal:i}))}catch(t){e(t)}if(!(h=f.$$watchersCount&&f.$$childHead||f!==_&&f.$$nextSibling))for(;f!==_&&!(h=f.$$nextSibling);)f=f.$parent}while(f=h);if((p||z.length)&&!y--)throw g(),
r("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",o,A)}while(p||z.length);for(g();C<x.length;)try{x[C++]()}catch(t){e(t)}x.length=C=0,u.$$checkUrlChange()},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===k&&u.$$applicationDestroyed(),b(this,-this.$$watchersCount);for(var e in this.$$listenerCount)_(this,this.$$listenerCount[e],e);t&&t.$$childHead===this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail===this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,p(this)}},$eval:function(t,e){return l(t)(this,e)},$evalAsync:function(t,e){k.$$phase||z.length||u.defer(function(){z.length&&k.$digest()}),z.push({scope:this,expression:l(t),locals:e})},$$postDigest:function(t){x.push(t)},$apply:function(t){try{m("$apply");try{return this.$eval(t)}finally{g()}}catch(t){e(t)}finally{try{k.$digest()}catch(t){throw e(t),t}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&$.push(e),t=l(t),A()},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var i=this;do{i.$$listenerCount[t]||(i.$$listenerCount[t]=0),i.$$listenerCount[t]++}while(i=i.$parent);var o=this;return function(){var i=n.indexOf(e);-1!==i&&(n[i]=null,_(o,1,t))}},$emit:function(t){var n,i,o,r=[],s=this,a=!1,c={name:t,targetScope:s,stopPropagation:function(){a=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=R([c],arguments,1);do{for(n=s.$$listeners[t]||r,c.currentScope=s,i=0,o=n.length;i<o;i++)if(n[i])try{n[i].apply(null,l)}catch(t){e(t)}else n.splice(i,1),i--,o--;if(a)return c.currentScope=null,c;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(t){var n=this,i=n,o=n,r={name:t,targetScope:n,preventDefault:function(){r.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[t])return r;for(var s,a,c,l=R([r],arguments,1);i=o;){for(r.currentScope=i,s=i.$$listeners[t]||[],a=0,c=s.length;a<c;a++)if(s[a])try{s[a].apply(null,l)}catch(t){e(t)}else s.splice(a,1),a--,c--;if(!(o=i.$$listenerCount[t]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(o=i.$$nextSibling);)i=i.$parent}return r.currentScope=null,r}};var k=new f,z=k.$$asyncQueue=[],x=k.$$postDigestQueue=[],$=k.$$applyAsyncQueue=[],C=0;return k}]}function xn(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.$get=function(){return function(n,i){var o,r=i?e:t;return o=qn(n).href,""===o||o.match(r)?n:"unsafe:"+o}}}function $n(t){return t.replace(qr,kt)}function Cn(t){if("self"===t)return t;if(M(t)){if(t.indexOf("***")>-1)throw jr("iwcard","Illegal sequence *** in string matcher.  String: {0}",t);return t=ho(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(k(t))return new RegExp("^"+t.source+"$");throw jr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(t){var e=[];return b(t)&&i(t,function(t){e.push(Cn(t))}),e}function On(){this.SCE_CONTEXTS=Dr;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Sn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=Sn(t)),e},this.$get=["$injector",function(n){function i(t,e){return"self"===t?Pn(e):!!t.exec(e.href)}function o(n){var o,r,s=qn(n.toString()),a=!1;for(o=0,r=t.length;o<r;o++)if(i(t[o],s)){a=!0;break}if(a)for(o=0,r=e.length;o<r;o++)if(i(e[o],s)){a=!1;break}return a}function r(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function s(t,e){var n=d.hasOwnProperty(t)?d[t]:null;if(!n)throw jr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||v(e)||""===e)return e;if("string"!=typeof e)throw jr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)}function a(t){return t instanceof u?t.$$unwrapTrustedValue():t}function c(t,e){if(null===e||v(e)||""===e)return e;var n=d.hasOwnProperty(t)?d[t]:null;if(n&&e instanceof n)return e.$$unwrapTrustedValue();if(t===Dr.RESOURCE_URL){if(o(e))return e;throw jr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",e.toString())}if(t===Dr.HTML)return l(e);throw jr("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw jr("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var u=r(),d={};return d[Dr.HTML]=r(u),d[Dr.CSS]=r(u),d[Dr.URL]=r(u),d[Dr.JS]=r(u),d[Dr.RESOURCE_URL]=r(d[Dr.URL]),{trustAs:s,getTrusted:c,valueOf:a}}]}function Nn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&Ki<8)throw jr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var o=yt(Dr);o.isEnabled=function(){return t},o.trustAs=n.trustAs,o.getTrusted=n.getTrusted,o.valueOf=n.valueOf,t||(o.trustAs=o.getTrusted=function(t,e){return e},o.valueOf=f),o.parseAs=function(t,n){var i=e(n);return i.literal&&i.constant?i:e(n,function(e){return o.getTrusted(t,e)})};var r=o.parseAs,s=o.getTrusted,a=o.trustAs;return i(Dr,function(t,e){var n=Ui(e);o[$n("parse_as_"+n)]=function(e){return r(t,e)},o[$n("get_trusted_"+n)]=function(e){return s(t,e)},o[$n("trust_as_"+n)]=function(e){return a(t,e)}}),o}]}function Ln(){this.$get=["$window","$document",function(t,e){var n={},i=t.nw&&t.nw.process,o=!i&&t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id),r=!o&&t.history&&t.history.pushState,s=d((/android (\d+)/.exec(Ui((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),c=e[0]||{},l=c.body&&c.body.style,u=!1,p=!1;return l&&(u=!!("transition"in l||"webkitTransition"in l),p=!!("animation"in l||"webkitAnimation"in l)),{history:!(!r||s<4||a),hasEvent:function(t){if("input"===t&&Ki)return!1;if(v(n[t])){var e=c.createElement("div");n[t]="on"+t in e}return n[t]},csp:fo(),transitions:u,animations:p,android:s}}]}function En(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,i,o,r){function s(a,c){function u(t){return c||(t=Pr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,t.status,t.statusText),e(t)),o.reject(t)}s.totalPendingRequests++,M(a)&&!v(n.get(a))||(a=r.getTrustedResourceUrl(a));var d=i.defaults&&i.defaults.transformResponse;return lo(d)?d=d.filter(function(t){return t!==Le}):d===Le&&(d=null),i.get(a,l({cache:n,transformResponse:d},t))["finally"](function(){s.totalPendingRequests--}).then(function(t){return n.put(a,t.data),t.data},u)}return s.totalPendingRequests=0,s}]}function jn(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var o={};return o.findBindings=function(t,e,n){var o=t.getElementsByClassName("ng-binding"),r=[];return i(o,function(t){var o=so.element(t).data("$binding");o&&i(o,function(i){if(n){new RegExp("(^|\\s)"+ho(e)+"(\\s|\\||$)").test(i)&&r.push(t)}else-1!==i.indexOf(e)&&r.push(t)})}),r},o.findModels=function(t,e,n){for(var i=["ng-","data-ng-","ng\\:"],o=0;o<i.length;++o){var r=n?"=":"*=",s="["+i[o]+"model"+r+'"'+e+'"]',a=t.querySelectorAll(s);if(a.length)return a}},o.getLocation=function(){return n.url()},o.setLocation=function(e){e!==n.url()&&(n.url(e),t.$digest())},o.whenStable=function(t){e.notifyWhenNoOutstandingRequests(t)},o}]}function Dn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,i,o){function r(r,a,c){T(r)||(c=a,a=r,r=h);var l,u=X(arguments,3),d=b(c)&&!c,p=(d?i:n).defer(),f=p.promise;return l=e.defer(function(){try{p.resolve(r.apply(null,u))}catch(t){p.reject(t),o(t)}finally{delete s[f.$$timeoutId]}d||t.$apply()},a),f.$$timeoutId=l,s[l]=p,f}var s={};return r.cancel=function(t){return!!(t&&t.$$timeoutId in s)&&(s[t.$$timeoutId].promise["catch"](h),s[t.$$timeoutId].reject("canceled"),delete s[t.$$timeoutId],e.defer.cancel(t.$$timeoutId))},r}]}function qn(t){var e=t;return Ki&&(Br.setAttribute("href",e),e=Br.href),Br.setAttribute("href",e),{href:Br.href,protocol:Br.protocol?Br.protocol.replace(/:$/,""):"",host:Br.host,search:Br.search?Br.search.replace(/^\?/,""):"",hash:Br.hash?Br.hash.replace(/^#/,""):"",hostname:Br.hostname,port:Br.port,pathname:"/"===Br.pathname.charAt(0)?Br.pathname:"/"+Br.pathname}}function Pn(t){var e=M(t)?qn(t):t;return e.protocol===Ir.protocol&&e.host===Ir.host}function Bn(){this.$get=m(t)}function In(t){function e(t){try{return t.cookie||""}catch(t){return""}}function n(t){try{return decodeURIComponent(t)}catch(e){return t}}var i=t[0]||{},o={},r="";return function(){var t,s,a,c,l,u=e(i);if(u!==r)for(r=u,t=r.split("; "),o={},a=0;a<t.length;a++)s=t[a],(c=s.indexOf("="))>0&&(l=n(s.substring(0,c)),v(o[l])&&(o[l]=n(s.substring(c+1))));return o}}function Wn(){this.$get=In}function Rn(t){function e(o,r){if(y(o)){var s={};return i(o,function(t,n){s[n]=e(n,t)}),s}return t.factory(o+n,r)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Vn),e("date",ci),e("filter",Xn),e("json",li),e("limitTo",ui),e("lowercase",Vr),e("number",Yn),e("orderBy",pi),e("uppercase",Yr)}function Xn(){return function(t,i,o,r){if(!n(t)){if(null==t)return t;throw e("filter")("notarray","Expected array but received: {0}",t)}r=r||"$";var s,a,c=Un(i);switch(c){case"function":s=i;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":s=Fn(i,o,r,a);break;default:return t}return Array.prototype.filter.call(t,s)}}function Fn(t,e,n,i){var o=y(t)&&n in t;return!0===e?e=W:T(e)||(e=function(t,e){return!v(t)&&(null===t||null===e?t===e:!(y(e)||y(t)&&!g(t))&&(t=Ui(""+t),e=Ui(""+e),-1!==t.indexOf(e)))}),function(r){return o&&!y(r)?Hn(r,t[n],e,n,!1):Hn(r,t,e,n,i)}}function Hn(t,e,n,i,o,r){var s=Un(t),a=Un(e);if("string"===a&&"!"===e.charAt(0))return!Hn(t,e.substring(1),n,i,o);if(lo(t))return t.some(function(t){return Hn(t,e,n,i,o)});switch(s){case"object":var c;if(o){for(c in t)if("$"!==c.charAt(0)&&Hn(t[c],e,n,i,!0))return!0;return!r&&Hn(t,e,n,i,!1)}if("object"===a){for(c in e){var l=e[c];if(!T(l)&&!v(l)){var u=c===i;if(!Hn(u?t:t[c],l,n,i,u,u))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Un(t){return null===t?"null":typeof t}function Vn(t){var e=t.NUMBER_FORMATS;return function(t,n,i){return v(n)&&(n=e.CURRENCY_SYM),v(i)&&(i=e.PATTERNS[1].maxFrac),null==t?t:Jn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,i).replace(/\u00A4/g,n)}}function Yn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Jn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Gn(t){var e,n,i,o,r,s=0;for((n=t.indexOf(Rr))>-1&&(t=t.replace(Rr,"")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charAt(i)===Xr;i++);if(i===(r=t.length))e=[0],n=1;else{for(r--;t.charAt(r)===Xr;)r--;for(n-=i,e=[],o=0;i<=r;i++,o++)e[o]=+t.charAt(i)}return n>Wr&&(e=e.splice(0,Wr-1),s=n-1,n=1),{d:e,e:s,i:n}}function Kn(t,e,n,i){var o=t.d,r=o.length-t.i;e=v(e)?Math.min(Math.max(n,r),i):+e;var s=e+t.i,a=o[s];if(s>0){o.splice(Math.max(t.i,s));for(var c=s;c<o.length;c++)o[c]=0}else{r=Math.max(0,r),t.i=1,o.length=Math.max(1,s=e+1),o[0]=0;for(var l=1;l<s;l++)o[l]=0}if(a>=5)if(s-1<0){for(var u=0;u>s;u--)o.unshift(0),t.i++;o.unshift(1),t.i++}else o[s-1]++;for(;r<Math.max(0,e);r++)o.push(0);var d=o.reduceRight(function(t,e,n,i){return e+=t,i[n]=e%10,Math.floor(e/10)},0);d&&(o.unshift(d),t.i++)}function Jn(t,e,n,i,o){if(!M(t)&&!w(t)||isNaN(t))return"";var r,s=!isFinite(t),a=!1,c=Math.abs(t)+"",l="";if(s)l="\u221e";else{r=Gn(c),Kn(r,o,e.minFrac,e.maxFrac);var u=r.d,d=r.i,p=r.e,h=[];for(a=u.reduce(function(t,e){return t&&!e},!0);d<0;)u.unshift(0),d++;d>0?h=u.splice(d,u.length):(h=u,u=[0]);var f=[];for(u.length>=e.lgSize&&f.unshift(u.splice(-e.lgSize,u.length).join(""));u.length>e.gSize;)f.unshift(u.splice(-e.gSize,u.length).join(""));u.length&&f.unshift(u.join("")),l=f.join(n),h.length&&(l+=i+h.join("")),p&&(l+="e+"+p)}return t<0&&!a?e.negPre+l+e.negSuf:e.posPre+l+e.posSuf}function Qn(t,e,n,i){var o="";for((t<0||i&&t<=0)&&(i?t=1-t:(t=-t,o="-")),t=""+t;t.length<e;)t=Xr+t;return n&&(t=t.substr(t.length-e)),o+t}function Zn(t,e,n,i,o){return n=n||0,function(r){var s=r["get"+t]();return(n>0||s>-n)&&(s+=n),0===s&&-12===n&&(s=12),Qn(s,e,i,o)}}function ti(t,e,n){return function(i,o){var r=i["get"+t]();return o[Vi((n?"STANDALONE":"")+(e?"SHORT":"")+t)][r]}}function ei(t,e,n){var i=-1*n,o=i>=0?"+":"";return o+=Qn(Math[i>0?"floor":"ceil"](i/60),2)+Qn(Math.abs(i%60),2)}function ni(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function ii(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function oi(t){return function(e){var n=ni(e.getFullYear()),i=ii(e),o=+i-+n;return Qn(1+Math.round(o/6048e5),t)}}function ri(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function si(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function ai(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function ci(t){function e(t){var e;if(e=t.match(n)){var i=new Date(0),o=0,r=0,s=e[8]?i.setUTCFullYear:i.setFullYear,a=e[8]?i.setUTCHours:i.setHours;e[9]&&(o=d(e[9]+e[10]),r=d(e[9]+e[11])),s.call(i,d(e[1]),d(e[2])-1,d(e[3]));var c=d(e[4]||0)-o,l=d(e[5]||0)-r,u=d(e[6]||0),p=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(i,c,l,u,p),i}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,o,r){var s,a,c="",l=[];if(o=o||"mediumDate",o=t.DATETIME_FORMATS[o]||o,M(n)&&(n=Ur.test(n)?d(n):e(n)),w(n)&&(n=new Date(n)),!A(n)||!isFinite(n.getTime()))return n;for(;o;)a=Hr.exec(o),a?(l=R(l,a,1),o=l.pop()):(l.push(o),o=null);var u=n.getTimezoneOffset();return r&&(u=Y(r,u),n=K(n,r,!0)),i(l,function(e){s=Fr[e],c+=s?s(n,t.DATETIME_FORMATS,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}}function li(){return function(t,e){return v(e)&&(e=2),U(t,e)}}function ui(){return function(t,e,i){return e=Math.abs(Number(e))===Infinity?Number(e):d(e),co(e)?t:(w(t)&&(t=t.toString()),n(t)?(i=!i||isNaN(i)?0:d(i),i=i<0?Math.max(0,t.length+i):i,e>=0?di(t,i,i+e):0===i?di(t,e,t.length):di(t,Math.max(0,i+e),i)):t)}}function di(t,e,n){return M(t)?t.slice(e,n):to.call(t,e,n)}function pi(t){function i(e){return e.map(function(e){var n=1,i=f;if(T(e))i=e;else if(M(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(i=t(e),i.constant))){var o=i();i=function(t){return t[o]}}return{get:i,descending:n}})}function o(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function r(t){return T(t.valueOf)&&(t=t.valueOf(),o(t))?t:(g(t)&&(t=t.toString(),o(t)),t)}function s(t,e){var n=typeof t;return null===t?(n="string",t="null"):"object"===n&&(t=r(t)),{value:t,type:n,index:e}}function a(t,e){var n=0,i=t.type,o=e.type;if(i===o){var r=t.value,s=e.value;"string"===i?(r=r.toLowerCase(),s=s.toLowerCase()):"object"===i&&(y(r)&&(r=t.index),y(s)&&(s=e.index)),r!==s&&(n=r<s?-1:1)}else n=i<o?-1:1;return n}return function(t,o,r,c){function l(t,e){return{value:t,tieBreaker:{value:e,type:"number",index:e},predicateValues:d.map(function(n){return s(n.get(t),e)})}}function u(t,e){for(var n=0,i=d.length;n<i;n++){var o=h(t.predicateValues[n],e.predicateValues[n]);if(o)return o*d[n].descending*p}return h(t.tieBreaker,e.tieBreaker)*p}if(null==t)return t;if(!n(t))throw e("orderBy")("notarray","Expected array but received: {0}",t);lo(o)||(o=[o]),0===o.length&&(o=["+"]);var d=i(o),p=r?-1:1,h=T(c)?c:a,f=Array.prototype.map.call(t,l);return f.sort(u),t=f.map(function(t){return t.value})}}function hi(t){return T(t)&&(t={link:t}),t.restrict=t.restrict||"AC",m(t)}function fi(t,e){t.$name=e}function mi(t,e,n,i,o){this.$$controls=[],this.$error={},this.$$success={},this.$pending=undefined,this.$name=o(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Jr,this.$$element=t,this.$$animate=i,gi(this)}function gi(t){t.$$classCache={},t.$$classCache[js]=!(t.$$classCache[Es]=t.$$element.hasClass(Es))}function vi(t){function e(t,e,n,i){t[e]||(t[e]={}),s(t[e],n,i)}function n(t,e,n,i){t[e]&&a(t[e],n,i),bi(t[e])&&(t[e]=undefined)}function i(t,e,n){n&&!t.$$classCache[e]?(t.$$animate.addClass(t.$$element,e),t.$$classCache[e]=!0):!n&&t.$$classCache[e]&&(t.$$animate.removeClass(t.$$element,e),t.$$classCache[e]=!1)}function o(t,e,n){e=e?"-"+lt(e,"-"):"",i(t,Es+e,!0===n),i(t,js+e,!1===n)}var r=t.clazz,s=t.set,a=t.unset;r.prototype.$setValidity=function(t,r,c){v(r)?e(this,"$pending",t,c):n(this,"$pending",t,c),O(r)?r?(a(this.$error,t,c),s(this.$$success,t,c)):(s(this.$error,t,c),a(this.$$success,t,c)):(a(this.$error,t,c),a(this.$$success,t,c)),this.$pending?(i(this,Qr,!0),this.$valid=this.$invalid=undefined,o(this,"",null)):(i(this,Qr,!1),this.$valid=bi(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid));var l;l=this.$pending&&this.$pending[t]?undefined:!this.$error[t]&&(!!this.$$success[t]||null),o(this,t,l),this.$$parentForm.$setValidity(t,l,this)}}function bi(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function yi(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function _i(t,e,n,i,o,r){Mi(t,e,n,i,o,r),yi(i)}function Mi(t,e,n,i,o,r){var s=Ui(e[0].type);if(!o.android){var a=!1;e.on("compositionstart",function(){a=!0}),e.on("compositionend",function(){a=!1,l()})}var c,l=function(t){if(c&&(r.defer.cancel(c),c=null),!a){var o=e.val(),l=t&&t.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(o=po(o)),(i.$viewValue!==o||""===o&&i.$$hasNativeValidators)&&i.$setViewValue(o,l)}};if(o.hasEvent("input"))e.on("input",l);else{var u=function(t,e,n){c||(c=r.defer(function(){c=null,e&&e.value===n||l(t)}))};e.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&e<19||37<=e&&e<=40||u(t,this,this.value)}),o.hasEvent("paste")&&e.on("paste cut",u)}e.on("change",l),hs[s]&&i.$$hasNativeValidators&&s===n.type&&e.on(ps,function(t){if(!c){var e=this[Fi],n=e.badInput,i=e.typeMismatch;c=r.defer(function(){c=null,e.badInput===n&&e.typeMismatch===i||l(t)})}}),i.$render=function(){var t=i.$isEmpty(i.$viewValue)?"":i.$viewValue;e.val()!==t&&e.val(t)}}function wi(t,e){if(A(t))return t;if(M(t)){ls.lastIndex=0;var n=ls.exec(t);if(n){var i=+n[1],o=+n[2],r=0,s=0,a=0,c=0,l=ni(i),u=7*(o-1);return e&&(r=e.getHours(),s=e.getMinutes(),a=e.getSeconds(),c=e.getMilliseconds()),new Date(i,0,l.getDate()+u,r,s,a,c)}}return NaN}function Ai(t,e){return function(n,o){var r,s;if(A(n))return n;if(M(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),is.test(n))return new Date(n);if(t.lastIndex=0,r=t.exec(n))return r.shift(),s=o?{yyyy:o.getFullYear(),MM:o.getMonth()+1,dd:o.getDate(),HH:o.getHours(),mm:o.getMinutes(),ss:o.getSeconds(),sss:o.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},i(r,function(t,n){n<e.length&&(s[e[n]]=+t)}),new Date(s.yyyy,s.MM-1,s.dd,s.HH,s.mm,s.ss||0,1e3*s.sss||0)}return NaN}}function Ti(t,e,n,i){return function(o,r,s,a,c,l,u){function d(t){return t&&!(t.getTime&&t.getTime()!==t.getTime())}function p(t){return b(t)&&!A(t)?n(t)||undefined:t}ki(o,r,s,a),Mi(o,r,s,a,c,l);var h,f=a&&a.$options.getOption("timezone");if(a.$$parserName=t,a.$parsers.push(function(t){if(a.$isEmpty(t))return null;if(e.test(t)){var i=n(t,h);return f&&(i=K(i,f)),i}return undefined}),a.$formatters.push(function(t){if(t&&!A(t))throw Rs("datefmt","Expected `{0}` to be a date",t);return d(t)?(h=t,h&&f&&(h=K(h,f,!0)),u("date")(t,i,f)):(h=null,"")}),b(s.min)||s.ngMin){var m;a.$validators.min=function(t){return!d(t)||v(m)||n(t)>=m},s.$observe("min",function(t){m=p(t),a.$validate()})}if(b(s.max)||s.ngMax){var g;a.$validators.max=function(t){return!d(t)||v(g)||n(t)<=g},s.$observe("max",function(t){g=p(t),a.$validate()})}}}function ki(t,e,n,i){var o=e[0];(i.$$hasNativeValidators=y(o.validity))&&i.$parsers.push(function(t){var n=e.prop(Fi)||{};return n.badInput||n.typeMismatch?undefined:t})}function zi(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:ss.test(e)?parseFloat(e):undefined}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!w(e))throw Rs("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function xi(t){return b(t)&&!w(t)&&(t=parseFloat(t)),co(t)?undefined:t}function $i(t){return(0|t)===t}function Ci(t){var e=t.toString(),n=e.indexOf(".");if(-1===n){if(-1<t&&t<1){var i=/e-(\d+)$/.exec(e);if(i)return Number(i[1])}return 0}return e.length-n-1}function Si(t,e,n){var i=Number(t),o=!$i(i),r=!$i(e),s=!$i(n);if(o||r||s){var a=o?Ci(i):0,c=r?Ci(e):0,l=s?Ci(n):0,u=Math.max(a,c,l),d=Math.pow(10,u);i*=d,e*=d,n*=d,o&&(i=Math.round(i)),r&&(e=Math.round(e)),s&&(n=Math.round(n))}return(i-e)%n==0}function Oi(t,e,n,i,o,r){ki(t,e,n,i),zi(i),Mi(t,e,n,i,o,r);var s,a;if((b(n.min)||n.ngMin)&&(i.$validators.min=function(t){return i.$isEmpty(t)||v(s)||t>=s},n.$observe("min",function(t){s=xi(t),i.$validate()})),(b(n.max)||n.ngMax)&&(i.$validators.max=function(t){return i.$isEmpty(t)||v(a)||t<=a},n.$observe("max",function(t){a=xi(t),i.$validate()})),b(n.step)||n.ngStep){var c;i.$validators.step=function(t,e){return i.$isEmpty(e)||v(c)||Si(e,s||0,c)},n.$observe("step",function(t){c=xi(t),i.$validate()})}}function Ni(t,e,n,i,o,r){function s(t,i){e.attr(t,n[t]),n.$observe(t,i)}function a(t){if(d=xi(t),!co(i.$modelValue))if(u){var n=e.val();d>n&&(n=d,e.val(n)),i.$setViewValue(n)}else i.$validate()}function c(t){if(p=xi(t),!co(i.$modelValue))if(u){var n=e.val();p<n&&(e.val(p),n=p<d?d:p),i.$setViewValue(n)}else i.$validate()}function l(t){h=xi(t),co(i.$modelValue)||(u&&i.$viewValue!==e.val()?i.$setViewValue(e.val()):i.$validate())}ki(t,e,n,i),zi(i),Mi(t,e,n,i,o,r);var u=i.$$hasNativeValidators&&"range"===e[0].type,d=u?0:undefined,p=u?100:undefined,h=u?1:undefined,f=e[0].validity,m=b(n.min),g=b(n.max),y=b(n.step),_=i.$render;i.$render=u&&b(f.rangeUnderflow)&&b(f.rangeOverflow)?function(){_(),i.$setViewValue(e.val())}:_,m&&(i.$validators.min=u?function(){return!0}:function(t,e){return i.$isEmpty(e)||v(d)||e>=d},s("min",a)),g&&(i.$validators.max=u?function(){return!0}:function(t,e){return i.$isEmpty(e)||v(p)||e<=p},s("max",c)),y&&(i.$validators.step=u?function(){return!f.stepMismatch}:function(t,e){return i.$isEmpty(e)||v(h)||Si(e,d||0,h)},s("step",l))}function Li(t,e,n,i,o,r){Mi(t,e,n,i,o,r),yi(i),i.$$parserName="url",i.$validators.url=function(t,e){var n=t||e;return i.$isEmpty(n)||os.test(n)}}function Ei(t,e,n,i,o,r){Mi(t,e,n,i,o,r),yi(i),i.$$parserName="email",i.$validators.email=function(t,e){var n=t||e;return i.$isEmpty(n)||rs.test(n)}}function ji(t,e,n,i){var o=!n.ngTrim||"false"!==po(n.ngTrim);v(n.name)&&e.attr("name",s());var r=function(t){var r;e[0].checked&&(r=n.value,o&&(r=po(r)),i.$setViewValue(r,t&&t.type))};e.on("click",r),i.$render=function(){var t=n.value;o&&(t=po(t)),e[0].checked=t===i.$viewValue},n.$observe("value",i.$render)}function Di(t,e,n,i,o){var r;if(b(i)){if(r=t(i),!r.constant)throw Rs("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return r(e)}return o}function qi(t,e,n,i,o,r,s,a){var c=Di(a,t,"ngTrueValue",n.ngTrueValue,!0),l=Di(a,t,"ngFalseValue",n.ngFalseValue,!1),u=function(t){i.$setViewValue(e[0].checked,t&&t.type)};e.on("click",u),i.$render=function(){e[0].checked=i.$viewValue},i.$isEmpty=function(t){return!1===t},i.$formatters.push(function(t){return W(t,c)}),i.$parsers.push(function(t){return t?c:l})}function Pi(t,e){function n(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;var n=[];t:for(var i=0;i<t.length;i++){for(var o=t[i],r=0;r<e.length;r++)if(o===e[r])continue t;n.push(o)}return n}function o(t){return t&&t.split(" ")}function r(t){var e=t;return lo(t)?e=t.map(r).join(" "):y(t)&&(e=Object.keys(t).filter(function(e){return t[e]}).join(" ")),e}function s(t){var e=t;if(lo(t))e=t.map(s);else if(y(t)){var n=!1;e=Object.keys(t).filter(function(e){var i=t[e];return!n&&v(i)&&(n=!0),i}),n&&e.push(undefined)}return e}t="ngClass"+t;var a;return["$parse",function(c){return{restrict:"AC",link:function(l,u,d){function p(t){t=m(o(t),1),d.$addClass(t)}function h(t){t=m(o(t),-1),d.$removeClass(t)}function f(t,e){var i=o(t),r=o(e),s=n(i,r),a=n(r,i),c=m(s,-1),l=m(a,1);d.$addClass(l),d.$removeClass(c)}function m(t,e){var n=[];return i(t,function(t){(e>0||k[t])&&(k[t]=(k[t]||0)+e,k[t]===+(e>0)&&n.push(t))}),n.join(" ")}function g(t){t===e?p(y):h(y),z=t}function v(t){var e=r(t);e!==y&&b(e)}function b(t){z===e&&f(y,t),y=t}var y,_=d[t].trim(),M=":"===_.charAt(0)&&":"===_.charAt(1),w=M?s:r,A=c(_,w),T=M?v:b,k=u.data("$classCounts"),z=!0;k||(k=gt(),u.data("$classCounts",k)),"ngClass"!==t&&(a||(a=c("$index",function(t){return 1&t})),l.$watch(a,g)),l.$watch(A,T,M)}}}]}function Bi(t,e,n,i,o,r,s,a,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=undefined,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=undefined,this.$name=c(n.name||"",!1)(t),this.$$parentForm=Jr,this.$options=Xs,this.$$parsedNgModel=o(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=undefined,this.$$currentValidationRunId=0,this.$$scope=t,this.$$attr=n,this.$$element=i,this.$$animate=r,this.$$timeout=s,this.$$parse=o,this.$$q=a,this.$$exceptionHandler=e,gi(this),Ii(this)}function Ii(t){t.$$scope.$watch(function(){var e=t.$$ngModelGet(t.$$scope);if(e!==t.$modelValue&&(t.$modelValue===t.$modelValue||e===e)){t.$modelValue=t.$$rawModelValue=e,t.$$parserValid=undefined;for(var n=t.$formatters,i=n.length,o=e;i--;)o=n[i](o);t.$viewValue!==o&&(t.$$updateEmptyClasses(o),t.$viewValue=t.$$lastCommittedViewValue=o,t.$render(),t.$$runValidators(t.$modelValue,t.$viewValue,h))}return e})}function Wi(t){this.$$options=t}function Ri(t,e){i(e,function(e,n){b(t[n])||(t[n]=e)})}var Xi=/^\/(.+)\/([a-z]*)$/,Fi="validity",Hi=Object.prototype.hasOwnProperty,Ui=function(t){return M(t)?t.toLowerCase():t},Vi=function(t){return M(t)?t.toUpperCase():t},Yi=function(t){return M(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Gi=function(t){return M(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(-33&t.charCodeAt(0))}):t};"i"!=="I".toLowerCase()&&(Ui=Yi,Vi=Gi);var Ki,Ji,Qi,Zi,to=[].slice,eo=[].splice,no=[].push,io=Object.prototype.toString,oo=Object.getPrototypeOf,ro=e("ng"),so=t.angular||(t.angular={}),ao=0;Ki=t.document.documentMode;var co=Number.isNaN||function(t){return t!==t};h.$inject=[],f.$inject=[];var lo=Array.isArray,uo=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,po=function(t){return M(t)?t.trim():t},ho=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},fo=function(){function e(){try{return new Function(""),!1}catch(t){return!0}}if(!b(fo.rules)){var n=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(n){var i=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");fo.rules={noUnsafeEval:!i||-1!==i.indexOf("no-unsafe-eval"),noInlineStyle:!i||-1!==i.indexOf("no-inline-style")}}else fo.rules={noUnsafeEval:e(),noInlineStyle:!1}}return fo.rules},mo=function(){if(b(mo.name_))return mo.name_;var e,n,i,o,r=vo.length;for(n=0;n<r;++n)if(i=vo[n],e=t.document.querySelector("["+i.replace(":","\\:")+"jq]")){o=e.getAttribute(i+"jq");break}return mo.name_=o},go=/:/g,vo=["ng-","data-ng-","ng:","x-ng-"],bo=ot(t.document),yo=/[A-Z]/g,_o=!1,Mo=1,wo=2,Ao=3,To=8,ko=9,zo=11,xo={full:"1.6.2",major:1,minor:6,dot:2,codeName:"llamacorn-lovehug"};Et.expando="ng339";var $o=Et.cache={},Co=1;Et._data=function(t){return this.cache[t[this.expando]]||{}};var So=/-([a-z])/g,Oo=/^-ms-/,No={mouseleave:"mouseout",mouseenter:"mouseover"},Lo=e("jqLite"),Eo=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,jo=/<|&#?\w+;/,Do=/<([\w:-]+)/,qo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Po={option:[1,'<select multiple="multiple">',"</select>"],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,"",""]};Po.optgroup=Po.option,Po.tbody=Po.tfoot=Po.colgroup=Po.caption=Po.thead,Po.th=Po.td;var Bo=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},Io=Et.prototype={ready:Kt,toString:function(){var t=[];return i(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return Ji(t>=0?this[t]:this[this.length+t])},length:0,push:no,sort:[].sort,splice:[].splice},Wo={};i("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Wo[Ui(t)]=t});var Ro={};i("input,select,option,textarea,button,form,details".split(","),function(t){Ro[t]=!0});var Xo={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};i({data:It,removeData:Pt,hasData:Ct,cleanData:St},function(t,e){Et[e]=t}),i({data:It,inheritedData:Ut,scope:function(t){return Ji.data(t,"$scope")||Ut(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return Ji.data(t,"$isolateScope")||Ji.data(t,"$isolateScopeNoTemplate")},controller:Ht,injector:function(t){return Ut(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Wt,css:function(t,e,n){if(e=Tt(e),!b(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var i,o=t.nodeType;if(o!==Ao&&o!==wo&&o!==To&&t.getAttribute){var r=Ui(e),s=Wo[r];if(!b(n))return i=t.getAttribute(e),s&&null!==i&&(i=r),null===i?undefined:i;null===n||!1===n&&s?t.removeAttribute(e):t.setAttribute(e,s?r:n)}},prop:function(t,e,n){if(!b(n))return t[e];t[e]=n},text:function(){function t(t,e){if(v(e)){var n=t.nodeType;return n===Mo||n===Ao?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(v(e)){if(t.multiple&&"select"===q(t)){var n=[];return i(t.options,function(t){t.selected&&n.push(t.value||t.text)}),n}return t.value}t.value=e},html:function(t,e){if(v(e))return t.innerHTML;Dt(t,!0),t.innerHTML=e},empty:Vt},function(t,e){Et.prototype[e]=function(e,n){var i,o,r=this.length;if(t!==Vt&&v(2===t.length&&t!==Wt&&t!==Ht?e:n)){if(y(e)){for(i=0;i<r;i++)if(t===It)t(this[i],e);else for(o in e)t(this[i],o,e[o]);return this}for(var s=t.$dv,a=v(s)?Math.min(r,1):r,c=0;c<a;c++){var l=t(this[c],e,n);s=s?s+l:l}return s}for(i=0;i<r;i++)t(this[i],e,n);return this}}),i({removeData:Pt,on:function(t,e,n,i){if(b(i))throw Lo("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if($t(t)){var o=Bt(t,!0),r=o.events,s=o.handle;s||(s=o.handle=Zt(t,r));for(var a=e.indexOf(" ")>=0?e.split(" "):[e],c=a.length,l=function(e,i,o){var a=r[e];a||(a=r[e]=[],a.specialHandlerWrapper=i,"$destroy"===e||o||t.addEventListener(e,s)),a.push(n)};c--;)e=a[c],No[e]?(l(No[e],ee),l(e,undefined,!0)):l(e)}},off:qt,one:function(t,e,n){t=Ji(t),t.on(e,function i(){t.off(e,n),t.off(e,i)}),t.on(e,n)},replaceWith:function(t,e){var n,o=t.parentNode;Dt(t),i(new Et(e),function(e){n?o.insertBefore(e,n.nextSibling):o.replaceChild(e,t),n=e})},children:function(t){var e=[];return i(t.childNodes,function(t){t.nodeType===Mo&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===Mo||n===zo){e=new Et(e);for(var i=0,o=e.length;i<o;i++){var r=e[i];t.appendChild(r)}}},prepend:function(t,e){if(t.nodeType===Mo){var n=t.firstChild;i(new Et(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){Lt(t,Ji(e).eq(0).clone()[0])},remove:Yt,detach:function(t){Yt(t,!0)},
after:function(t,e){var n=t,i=t.parentNode;if(i){e=new Et(e);for(var o=0,r=e.length;o<r;o++){var s=e[o];i.insertBefore(s,n.nextSibling),n=s}}},addClass:Xt,removeClass:Rt,toggleClass:function(t,e,n){e&&i(e.split(" "),function(e){var i=n;v(i)&&(i=!Wt(t,e)),(i?Xt:Rt)(t,e)})},parent:function(t){var e=t.parentNode;return e&&e.nodeType!==zo?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:jt,triggerHandler:function(t,e,n){var o,r,s,a=e.type||e,c=Bt(t),u=c&&c.events,d=u&&u[a];d&&(o={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:h,type:a,target:t},e.type&&(o=l(o,e)),r=yt(d),s=n?[o].concat(n):[o],i(r,function(e){o.isImmediatePropagationStopped()||e.apply(t,s)}))}},function(t,e){Et.prototype[e]=function(e,n,i){for(var o,r=0,s=this.length;r<s;r++)v(o)?(o=t(this[r],e,n,i),b(o)&&(o=Ji(o))):Ft(o,t(this[r],e,n,i));return b(o)?o:this}}),Et.prototype.bind=Et.prototype.on,Et.prototype.unbind=Et.prototype.off;var Fo=Object.create(null);oe.prototype={_idx:function(t){return t===this._lastKey?this._lastIndex:(this._lastKey=t,this._lastIndex=this._keys.indexOf(t),this._lastIndex)},_transformKey:function(t){return co(t)?Fo:t},get:function(t){t=this._transformKey(t);var e=this._idx(t);if(-1!==e)return this._values[e]},set:function(t,e){t=this._transformKey(t);var n=this._idx(t);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=t,this._values[n]=e},"delete":function(t){t=this._transformKey(t);var e=this._idx(t);return-1!==e&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Ho=oe,Uo=[function(){this.$get=[function(){return Ho}]}],Vo=/^([^(]+?)=>/,Yo=/^[^(]*\(\s*([^)]*)\)/m,Go=/,/,Ko=/^\s*(_?)(\S+?)\1\s*$/,Jo=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Qo=e("$injector");le.$$annotate=ce;var Zo=e("$animate"),tr=1,er="ng-animate",nr=function(){this.$get=h},ir=function(){var t=new Ho,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,o){function r(t,e,n){var o=!1;return e&&(e=M(e)?e.split(" "):lo(e)?e:[],i(e,function(e){e&&(o=!0,t[e]=n)})),o}function s(){i(e,function(e){var n=t.get(e);if(n){var o=he(e.attr("class")),r="",s="";i(n,function(t,e){t!==!!o[e]&&(t?r+=(r.length?" ":"")+e:s+=(s.length?" ":"")+e)}),i(e,function(t){r&&Xt(t,r),s&&Rt(t,s)}),t["delete"](e)}}),e.length=0}function a(n,i,a){var c=t.get(n)||{},l=r(c,i,!0),u=r(c,a,!1);(l||u)&&(t.set(n,c),e.push(n),1===e.length&&o.$$postDigest(s))}return{enabled:h,on:h,off:h,pin:h,push:function(t,e,i,o){o&&o(),i=i||{},i.from&&t.css(i.from),i.to&&t.css(i.to),(i.addClass||i.removeClass)&&a(t,i.addClass,i.removeClass);var r=new n;return r.complete(),r}}}]},or=["$provide",function(t){var e=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw Zo("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var o=n+"-animation";e.$$registeredAnimations[n.substr(1)]=o,t.factory(o,i)},this.classNameFilter=function(t){if(1===arguments.length&&(this.$$classNameFilter=t instanceof RegExp?t:null,this.$$classNameFilter)){if(new RegExp("(\\s+|\\/)"+er+"(\\s+|\\/)").test(this.$$classNameFilter.toString()))throw Zo("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',er)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var i=pe(n);!i||i.parentNode||i.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,i,o,r){return i=i&&Ji(i),o=o&&Ji(o),i=i||o.parent(),e(n,i,o),t.push(n,"enter",fe(r))},move:function(n,i,o,r){return i=i&&Ji(i),o=o&&Ji(o),i=i||o.parent(),e(n,i,o),t.push(n,"move",fe(r))},leave:function(e,n){return t.push(e,"leave",fe(n),function(){e.remove()})},addClass:function(e,n,i){return i=fe(i),i.addClass=de(i.addclass,n),t.push(e,"addClass",i)},removeClass:function(e,n,i){return i=fe(i),i.removeClass=de(i.removeClass,n),t.push(e,"removeClass",i)},setClass:function(e,n,i,o){return o=fe(o),o.addClass=de(o.addClass,n),o.removeClass=de(o.removeClass,i),t.push(e,"setClass",o)},animate:function(e,n,i,o,r){return r=fe(r),r.from=r.from?l(r.from,n):n,r.to=r.to?l(r.to,i):i,o=o||"ng-inline-animate",r.tempClasses=de(r.tempClasses,o),t.push(e,"animate",r)}}}]}],rr=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),n.length>1||t(function(){for(var t=0;t<n.length;t++)n[t]();n=[]})}var n=[];return function(){var t=!1;return e(function(){t=!0}),function(n){t?n():e(n)}}}]},sr=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,o,r){function s(t){this.setHost(t);var e=n(),i=function(t){r(t,0,!1)};this._doneCallbacks=[],this._tick=function(t){o()?i(t):e(t)},this._state=0}var a=2;return s.chain=function(t,e){function n(){if(i===t.length)return void e(!0);t[i](function(t){if(!1===t)return void e(!1);i++,n()})}var i=0;n()},s.all=function(t,e){function n(n){r=r&&n,++o===t.length&&e(r)}var o=0,r=!0;i(t,function(t){t.done(n)})},s.prototype={setHost:function(t){this.host=t||{}},done:function(t){this._state===a?t():this._doneCallbacks.push(t)},progress:h,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},"catch":function(t){return this.getPromise()["catch"](t)},"finally":function(t){return this.getPromise()["finally"](t)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(t){var e=this;0===e._state&&(e._state=1,e._tick(function(){e._resolve(t)}))},_resolve:function(t){this._state!==a&&(i(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=a)}},s}]},ar=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,i){function o(){return t(function(){r(),a||c.complete(),a=!0}),c}function r(){s.addClass&&(e.addClass(s.addClass),s.addClass=null),s.removeClass&&(e.removeClass(s.removeClass),s.removeClass=null),s.to&&(e.css(s.to),s.to=null)}var s=i||{};s.$$prepared||(s=I(s)),s.cleanupStyles&&(s.from=s.to=null),s.from&&(e.css(s.from),s.from=null);var a,c=new n;return{start:o,end:o}}}]},cr=e("$compile"),lr=new ye;_e.$inject=["$provide","$$sanitizeUriProvider"],Me.prototype.isFirstChange=function(){return this.previousValue===lr};var ur=/^((?:x|data)[:\-_])/i,dr=/[:\-_]+(.)/g,pr=e("$controller"),hr=/^(\S+)(\s+as\s+([\w$]+))?$/,fr=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof Ji&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},mr="application/json",gr={"Content-Type":mr+";charset=utf-8"},vr=/^\[|^\{(?!\{)/,br={"[":/]$/,"{":/}$/},yr=/^\)]\}',?\n/,_r=e("$http"),Mr=so.$interpolateMinErr=e("$interpolate");Mr.throwNoconcat=function(t){throw Mr("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",t)},Mr.interr=function(t,e){return Mr("interr","Can't interpolate: {0}\n{1}",t,e.toString())};var wr=function(){this.$get=["$window",function(t){function e(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}var n=t.angular.callbacks,i={};return{createCallback:function(){var t="_"+(n.$$counter++).toString(36),o="angular.callbacks."+t,r=e(t);return i[o]=n[t]=r,o},wasCalled:function(t){return i[t].called},getResponse:function(t){return i[t].data},removeCallback:function(t){var e=i[t];delete n[e.id],delete i[t]}}}]},Ar=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Tr={http:80,https:443,ftp:21},kr=e("$location"),zr=/^\s*[\\/]{2,}/,xr={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:on("$$absUrl"),url:function(t){if(v(t))return this.$$url;var e=Ar.exec(t);return(e[1]||""===t)&&this.path(decodeURIComponent(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this},protocol:on("$$protocol"),host:on("$$host"),port:on("$$port"),path:rn("$$path",function(t){return t=null!==t?t.toString():"","/"===t.charAt(0)?t:"/"+t}),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(M(t)||w(t))t=t.toString(),this.$$search=Z(t);else{if(!y(t))throw kr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");t=I(t,{}),i(t,function(e,n){null==e&&delete t[n]}),this.$$search=t}break;default:v(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:rn("$$hash",function(t){return null!==t?t.toString():""}),replace:function(){return this.$$replace=!0,this}};i([nn,en,tn],function(t){t.prototype=Object.create(xr),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==tn||!this.$$html5)throw kr("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=v(e)?null:e,this.$$urlUpdatedByLocation=!0,this}});var $r=e("$parse"),Cr={}.constructor.prototype.valueOf,Sr=gt();i("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(t){Sr[t]=!0});var Or={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},Nr=function(t){this.options=t};Nr.prototype={constructor:Nr,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){var e=this.text.charAt(this.index);if('"'===e||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var n=e+this.peek(),i=n+this.peek(2),o=Sr[e],r=Sr[n],s=Sr[i];if(o||r||s){var a=s?i:r?n:e;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(t,e){return-1!==e.indexOf(t)},peek:function(t){var e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(t){return"0"<=t&&t<="9"&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\x0B"===t||"\xa0"===t},isIdentifierStart:function(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:function(t){return"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"_"===t||"$"===t},isIdentifierContinue:function(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue:function(t,e){return this.isValidIdentifierStart(t,e)||this.isNumber(t)},codePointAt:function(t){return 1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888},peekMultichar:function(){var t=this.text.charAt(this.index),e=this.peek();if(!e)return t;var n=t.charCodeAt(0),i=e.charCodeAt(0);return n>=55296&&n<=56319&&i>=56320&&i<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var i=b(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw $r("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,i,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=Ui(this.text.charAt(this.index));if("."===n||this.isNumber(n))t+=n;else{var i=this.peek();if("e"===n&&this.isExpOperator(i))t+=n;else if(this.isExpOperator(n)&&i&&this.isNumber(i)&&"e"===t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||i&&this.isNumber(i)||"e"!==t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:e,text:t,constant:!0,value:Number(t)})},readIdent:function(){var t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var e=this.peekMultichar();if(!this.isIdentifierContinue(e))break;this.index+=e.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(t){var e=this.index;this.index++;for(var n="",i=t,o=!1;this.index<this.text.length;){var r=this.text.charAt(this.index);if(i+=r,o){if("u"===r){var s=this.text.substring(this.index+1,this.index+5);s.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,n+=String.fromCharCode(parseInt(s,16))}else{n+=Or[r]||r}o=!1}else if("\\"===r)o=!0;else{if(r===t)return this.index++,void this.tokens.push({index:e,text:i,constant:!0,value:n});n+=r}this.index++}this.throwError("Unterminated quote",e)}};var Lr=function(t,e){this.lexer=t,this.options=e};Lr.Program="Program",Lr.ExpressionStatement="ExpressionStatement",Lr.AssignmentExpression="AssignmentExpression",Lr.ConditionalExpression="ConditionalExpression",Lr.LogicalExpression="LogicalExpression",Lr.BinaryExpression="BinaryExpression",Lr.UnaryExpression="UnaryExpression",Lr.CallExpression="CallExpression",Lr.MemberExpression="MemberExpression",Lr.Identifier="Identifier",Lr.Literal="Literal",Lr.ArrayExpression="ArrayExpression",Lr.Property="Property",Lr.ObjectExpression="ObjectExpression",Lr.ThisExpression="ThisExpression",Lr.LocalsExpression="LocalsExpression",Lr.NGValueParameter="NGValueParameter",Lr.prototype={ast:function(t){this.text=t,this.tokens=this.lexer.lex(t);var e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:Lr.Program,body:t}},expressionStatement:function(){return{type:Lr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t=this.expression();this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();if(this.expect("=")){if(!fn(t))throw $r("lval","Trying to assign a value to a non l-value");t={type:Lr.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:Lr.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:Lr.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:Lr.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:Lr.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:Lr.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:Lr.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:Lr.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:Lr.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=I(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:Lr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:Lr.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:Lr.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:Lr.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:Lr.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do{t.push(this.filterChain())}while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:Lr.Identifier,name:t.text}},constant:function(){return{type:Lr.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Lr.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:Lr.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:Lr.ObjectExpression,properties:e}},throwError:function(t,e){throw $r("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw $r("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw $r("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,i){return this.peekAhead(0,t,e,n,i)},peekAhead:function(t,e,n,i,o){if(this.tokens.length>t){var r=this.tokens[t],s=r.text;if(s===e||s===n||s===i||s===o||!e&&!n&&!i&&!o)return r}return!1},expect:function(t,e,n,i){var o=this.peek(t,e,n,i);return!!o&&(this.tokens.shift(),o)},selfReferential:{"this":{type:Lr.ThisExpression},$locals:{type:Lr.LocalsExpression}}},bn.prototype={compile:function(t){var e=this,n=this.astBuilder.ast(t);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},pn(n,e.$filter);var o,r="";if(this.stage="assign",o=mn(n)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),r="fn.assign="+this.generateFunction("assign","s,v,l")}var a=hn(n.body);e.stage="inputs",i(a,function(t,n){var i="fn"+n;e.state[i]={vars:[],body:[],own:{}},e.state.computing=i;var o=e.nextId();e.recurse(t,o),e.return_(o),e.state.inputs.push(i),t.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",c)(this.$filter,cn,ln,un);return this.state=this.stage=undefined,l.literal=gn(n),l.constant=vn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return i(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return i(this.state.filters,function(n,i){t.push(n+"=$filter("+e.escape(i)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,o,r,s){var a,c,l,u,d,p=this;if(o=o||h,!s&&b(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,o,r,!0));switch(t.type){case Lr.Program:i(t.body,function(e,n){p.recurse(e.expression,undefined,undefined,function(t){c=t}),n!==t.body.length-1?p.current().body.push(c,";"):p.return_(c)});break;case Lr.Literal:u=this.escape(t.value),this.assign(e,u),o(e||u);break;case Lr.UnaryExpression:this.recurse(t.argument,undefined,undefined,function(t){c=t}),u=t.operator+"("+this.ifDefined(c,0)+")",this.assign(e,u),o(u);break;case Lr.BinaryExpression:this.recurse(t.left,undefined,undefined,function(t){a=t}),this.recurse(t.right,undefined,undefined,function(t){c=t}),u="+"===t.operator?this.plus(a,c):"-"===t.operator?this.ifDefined(a,0)+t.operator+this.ifDefined(c,0):"("+a+")"+t.operator+"("+c+")",this.assign(e,u),o(u);break;case Lr.LogicalExpression:e=e||this.nextId(),p.recurse(t.left,e),p.if_("&&"===t.operator?e:p.not(e),p.lazyRecurse(t.right,e)),o(e);break;case Lr.ConditionalExpression:e=e||this.nextId(),p.recurse(t.test,e),p.if_(e,p.lazyRecurse(t.alternate,e),p.lazyRecurse(t.consequent,e)),o(e);break;case Lr.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===p.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),p.if_("inputs"===p.stage||p.not(p.getHasOwnProperty("l",t.name)),function(){p.if_("inputs"===p.stage||"s",function(){r&&1!==r&&p.if_(p.isNull(p.nonComputedMember("s",t.name)),p.lazyAssign(p.nonComputedMember("s",t.name),"{}")),p.assign(e,p.nonComputedMember("s",t.name))})},e&&p.lazyAssign(e,p.nonComputedMember("l",t.name))),o(e);break;case Lr.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),p.recurse(t.object,a,undefined,function(){p.if_(p.notNull(a),function(){t.computed?(c=p.nextId(),p.recurse(t.property,c),p.getStringValue(c),r&&1!==r&&p.if_(p.not(p.computedMember(a,c)),p.lazyAssign(p.computedMember(a,c),"{}")),u=p.computedMember(a,c),p.assign(e,u),n&&(n.computed=!0,n.name=c)):(r&&1!==r&&p.if_(p.isNull(p.nonComputedMember(a,t.property.name)),p.lazyAssign(p.nonComputedMember(a,t.property.name),"{}")),u=p.nonComputedMember(a,t.property.name),p.assign(e,u),n&&(n.computed=!1,n.name=t.property.name))},function(){p.assign(e,"undefined")}),o(e)},!!r);break;case Lr.CallExpression:e=e||this.nextId(),t.filter?(c=p.filter(t.callee.name),l=[],i(t.arguments,function(t){var e=p.nextId();p.recurse(t,e),l.push(e)}),u=c+"("+l.join(",")+")",p.assign(e,u),o(e)):(c=p.nextId(),a={},l=[],p.recurse(t.callee,c,a,function(){p.if_(p.notNull(c),function(){i(t.arguments,function(e){p.recurse(e,t.constant?undefined:p.nextId(),undefined,function(t){l.push(t)})}),u=a.name?p.member(a.context,a.name,a.computed)+"("+l.join(",")+")":c+"("+l.join(",")+")",p.assign(e,u)},function(){p.assign(e,"undefined")}),o(e)}));break;case Lr.AssignmentExpression:c=this.nextId(),a={},this.recurse(t.left,undefined,a,function(){p.if_(p.notNull(a.context),function(){p.recurse(t.right,c),u=p.member(a.context,a.name,a.computed)+t.operator+c,p.assign(e,u),o(e||u)})},1);break;case Lr.ArrayExpression:l=[],i(t.elements,function(e){p.recurse(e,t.constant?undefined:p.nextId(),undefined,function(t){l.push(t)})}),u="["+l.join(",")+"]",this.assign(e,u),o(e||u);break;case Lr.ObjectExpression:l=[],d=!1,i(t.properties,function(t){t.computed&&(d=!0)}),d?(e=e||this.nextId(),this.assign(e,"{}"),i(t.properties,function(t){t.computed?(a=p.nextId(),p.recurse(t.key,a)):a=t.key.type===Lr.Identifier?t.key.name:""+t.key.value,c=p.nextId(),p.recurse(t.value,c),p.assign(p.member(e,a,t.computed),c)})):(i(t.properties,function(e){p.recurse(e.value,t.constant?undefined:p.nextId(),undefined,function(t){l.push(p.escape(e.key.type===Lr.Identifier?e.key.name:""+e.key.value)+":"+t)})}),u="{"+l.join(",")+"}",this.assign(e,u)),o(e||u);break;case Lr.ThisExpression:this.assign(e,"s"),o(e||"s");break;case Lr.LocalsExpression:this.assign(e,"l"),o(e||"l");break;case Lr.NGValueParameter:this.assign(e,"v"),o(e||"v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,i=this.current().own;return i.hasOwnProperty(n)||(i[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),i[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(!0===t)e();else{var i=this.current().body;i.push("if(",t,"){"),e(),i.push("}"),n&&(i.push("else{"),n(),i.push("}"))}},not:function(t){return"!("+t+")"},isNull:function(t){return t+"==null"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,i=/[^$_a-zA-Z0-9]/g;return n.test(e)?t+"."+e:t+'["'+e.replace(i,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},lazyRecurse:function(t,e,n,i,o,r){var s=this;return function(){s.recurse(t,e,n,i,o,r)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(M(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(w(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw $r("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},yn.prototype={compile:function(t){var e=this,n=this.astBuilder.ast(t);pn(n,e.$filter);var o,r;(o=mn(n))&&(r=this.recurse(o));var s,a=hn(n.body);a&&(s=[],i(a,function(t,n){var i=e.recurse(t);t.input=i,s.push(i),t.watchId=n}));var c=[];i(n.body,function(t){c.push(e.recurse(t.expression))});var l=0===n.body.length?h:1===n.body.length?c[0]:function(t,e){var n;return i(c,function(i){n=i(t,e)}),n};return r&&(l.assign=function(t,e,n){return r(t,n,e)}),s&&(l.inputs=s),l.literal=gn(n),l.constant=vn(n),l},recurse:function(t,e,n){var o,r,s,a=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case Lr.Literal:return this.value(t.value,e);case Lr.UnaryExpression:return r=this.recurse(t.argument),this["unary"+t.operator](r,e);case Lr.BinaryExpression:case Lr.LogicalExpression:return o=this.recurse(t.left),r=this.recurse(t.right),this["binary"+t.operator](o,r,e);case Lr.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case Lr.Identifier:return a.identifier(t.name,e,n);case Lr.MemberExpression:return o=this.recurse(t.object,!1,!!n),t.computed||(r=t.property.name),t.computed&&(r=this.recurse(t.property)),t.computed?this.computedMember(o,r,e,n):this.nonComputedMember(o,r,e,n);case Lr.CallExpression:return s=[],i(t.arguments,function(t){s.push(a.recurse(t))}),t.filter&&(r=this.$filter(t.callee.name)),t.filter||(r=this.recurse(t.callee,!0)),t.filter?function(t,n,i,o){for(var a=[],c=0;c<s.length;++c)a.push(s[c](t,n,i,o));var l=r.apply(undefined,a,o);return e?{context:undefined,name:undefined,value:l}:l}:function(t,n,i,o){var a,c=r(t,n,i,o);if(null!=c.value){for(var l=[],u=0;u<s.length;++u)l.push(s[u](t,n,i,o));a=c.value.apply(c.context,l)}return e?{value:a}:a};case Lr.AssignmentExpression:return o=this.recurse(t.left,!0,1),r=this.recurse(t.right),function(t,n,i,s){var a=o(t,n,i,s),c=r(t,n,i,s);return a.context[a.name]=c,e?{value:c}:c};case Lr.ArrayExpression:return s=[],i(t.elements,function(t){s.push(a.recurse(t))}),function(t,n,i,o){for(var r=[],a=0;a<s.length;++a)r.push(s[a](t,n,i,o));return e?{value:r}:r};case Lr.ObjectExpression:return s=[],i(t.properties,function(t){t.computed?s.push({key:a.recurse(t.key),computed:!0,value:a.recurse(t.value)}):s.push({key:t.key.type===Lr.Identifier?t.key.name:""+t.key.value,computed:!1,value:a.recurse(t.value)})}),function(t,n,i,o){for(var r={},a=0;a<s.length;++a)s[a].computed?r[s[a].key(t,n,i,o)]=s[a].value(t,n,i,o):r[s[a].key]=s[a].value(t,n,i,o);return e?{value:r}:r};case Lr.ThisExpression:return function(t){return e?{value:t}:t};case Lr.LocalsExpression:return function(t,n){return e?{value:n}:n};case Lr.NGValueParameter:return function(t,n,i){return e?{value:i}:i}}},"unary+":function(t,e){return function(n,i,o,r){var s=t(n,i,o,r);return s=b(s)?+s:0,e?{value:s}:s}},"unary-":function(t,e){return function(n,i,o,r){var s=t(n,i,o,r);return s=b(s)?-s:-0,e?{value:s}:s}},"unary!":function(t,e){return function(n,i,o,r){var s=!t(n,i,o,r);return e?{value:s}:s}},"binary+":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s),c=e(i,o,r,s),l=un(a,c);return n?{value:l}:l}},"binary-":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s),c=e(i,o,r,s),l=(b(a)?a:0)-(b(c)?c:0);return n?{value:l}:l}},"binary*":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)*e(i,o,r,s);return n?{value:a}:a}},"binary/":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)/e(i,o,r,s);return n?{value:a}:a}},"binary%":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)%e(i,o,r,s);return n?{value:a}:a}},"binary===":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)===e(i,o,r,s);return n?{value:a}:a}},"binary!==":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)!==e(i,o,r,s);return n?{value:a}:a}},"binary==":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)==e(i,o,r,s);return n?{value:a}:a}},"binary!=":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)!=e(i,o,r,s);return n?{value:a}:a}},"binary<":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)<e(i,o,r,s);return n?{value:a}:a}},"binary>":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)>e(i,o,r,s);return n?{value:a}:a}},"binary<=":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)<=e(i,o,r,s);return n?{value:a}:a}},"binary>=":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)>=e(i,o,r,s);return n?{value:a}:a}},"binary&&":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)&&e(i,o,r,s);return n?{value:a}:a}},"binary||":function(t,e,n){return function(i,o,r,s){var a=t(i,o,r,s)||e(i,o,r,s);return n?{value:a}:a}},"ternary?:":function(t,e,n,i){return function(o,r,s,a){var c=t(o,r,s,a)?e(o,r,s,a):n(o,r,s,a);return i?{value:c}:c}},value:function(t,e){return function(){return e?{context:undefined,name:undefined,value:t}:t}},identifier:function(t,e,n){return function(i,o){var r=o&&t in o?o:i;n&&1!==n&&r&&null==r[t]&&(r[t]={});var s=r?r[t]:undefined;return e?{context:r,name:t,value:s}:s}},computedMember:function(t,e,n,i){return function(o,r,s,a){var c,l,u=t(o,r,s,a);return null!=u&&(c=e(o,r,s,a),c=cn(c),i&&1!==i&&u&&!u[c]&&(u[c]={}),l=u[c]),n?{context:u,name:c,value:l}:l}},nonComputedMember:function(t,e,n,i){return function(o,r,s,a){var c=t(o,r,s,a);i&&1!==i&&c&&null==c[e]&&(c[e]={});var l=null!=c?c[e]:undefined;return n?{context:c,name:e,value:l}:l}},inputs:function(t,e){return function(n,i,o,r){return r?r[e]:t(n,i,o)}}};var Er=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new Lr(t,n),this.astCompiler=n.csp?new yn(this.ast,e):new bn(this.ast,e)};Er.prototype={constructor:Er,parse:function(t){return this.astCompiler.compile(t)}};var jr=e("$sce"),Dr={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},qr=/_([a-z])/g,Pr=e("$compile"),Br=t.document.createElement("a"),Ir=qn(t.location.href);In.$inject=["$document"],Rn.$inject=["$provide"];var Wr=22,Rr=".",Xr="0";Vn.$inject=["$locale"],Yn.$inject=["$locale"];var Fr={yyyy:Zn("FullYear",4,0,!1,!0),yy:Zn("FullYear",2,0,!0,!0),y:Zn("FullYear",1,0,!1,!0),MMMM:ti("Month"),MMM:ti("Month",!0),MM:Zn("Month",2,1),M:Zn("Month",1,1),LLLL:ti("Month",!1,!0),dd:Zn("Date",2),
d:Zn("Date",1),HH:Zn("Hours",2),H:Zn("Hours",1),hh:Zn("Hours",2,-12),h:Zn("Hours",1,-12),mm:Zn("Minutes",2),m:Zn("Minutes",1),ss:Zn("Seconds",2),s:Zn("Seconds",1),sss:Zn("Milliseconds",3),EEEE:ti("Day"),EEE:ti("Day",!0),a:ri,Z:ei,ww:oi(2),w:oi(1),G:si,GG:si,GGG:si,GGGG:ai},Hr=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Ur=/^-?\d+$/;ci.$inject=["$locale"];var Vr=m(Ui),Yr=m(Vi);pi.$inject=["$parse"];var Gr=m({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===io.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),Kr={};i(Wo,function(t,e){function n(t,n,o){t.$watch(o[i],function(t){o.$set(e,!!t)})}if("multiple"!==t){var i=we("ng-"+e),o=n;"checked"===t&&(o=function(t,e,o){o.ngModel!==o[i]&&n(t,e,o)}),Kr[i]=function(){return{restrict:"A",priority:100,link:o}}}}),i(Xo,function(t,e){Kr[e]=function(){return{priority:100,link:function(t,n,i){if("ngPattern"===e&&"/"===i.ngPattern.charAt(0)){var o=i.ngPattern.match(Xi);if(o)return void i.$set("ngPattern",new RegExp(o[1],o[2]))}t.$watch(i[e],function(t){i.$set(e,t)})}}}}),i(["src","srcset","href"],function(t){var e=we("ng-"+t);Kr[e]=function(){return{priority:99,link:function(n,i,o){var r=t,s=t;"href"===t&&"[object SVGAnimatedString]"===io.call(i.prop("href"))&&(s="xlinkHref",o.$attr[s]="xlink:href",r=null),o.$observe(e,function(e){if(!e)return void("href"===t&&o.$set(s,null));o.$set(s,e),Ki&&r&&i.prop(r,o[s])})}}}});var Jr={$addControl:h,$$renameControl:fi,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Qr="ng-pending",Zr="ng-submitted";mi.$inject=["$element","$attrs","$scope","$animate","$interpolate"],mi.prototype={$rollbackViewValue:function(){i(this.$$controls,function(t){t.$rollbackViewValue()})},$commitViewValue:function(){i(this.$$controls,function(t){t.$commitViewValue()})},$addControl:function(t){ht(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$$renameControl:function(t,e){var n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl:function(t){t.$name&&this[t.$name]===t&&delete this[t.$name],i(this.$pending,function(e,n){this.$setValidity(n,null,t)},this),i(this.$error,function(e,n){this.$setValidity(n,null,t)},this),i(this.$$success,function(e,n){this.$setValidity(n,null,t)},this),B(this.$$controls,t),t.$$parentForm=Jr},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ds),this.$$animate.addClass(this.$$element,qs),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ds,qs+" "+Zr),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,i(this.$$controls,function(t){t.$setPristine()})},$setUntouched:function(){i(this.$$controls,function(t){t.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,Zr),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},vi({clazz:mi,set:function(t,e,n){var i=t[e];if(i){-1===i.indexOf(n)&&i.push(n)}else t[e]=[n]},unset:function(t,e,n){var i=t[e];i&&(B(i,n),0===i.length&&delete t[e])}});var ts=function(t){return["$timeout","$parse",function(e,n){function i(t){return""===t?n('this[""]').assign:n(t).assign||h}return{name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:mi,compile:function(n,o){n.addClass(Ds).addClass(Es);var r=o.name?"name":!(!t||!o.ngForm)&&"ngForm";return{pre:function(t,n,o,s){var a=s[0];if(!("action"in o)){var c=function(e){t.$apply(function(){a.$commitViewValue(),a.$setSubmitted()}),e.preventDefault()};n[0].addEventListener("submit",c),n.on("$destroy",function(){e(function(){n[0].removeEventListener("submit",c)},0,!1)})}(s[1]||a.$$parentForm).$addControl(a);var u=r?i(a.$name):h;r&&(u(t,a),o.$observe(r,function(e){a.$name!==e&&(u(t,undefined),a.$$parentForm.$$renameControl(a,e),(u=i(a.$name))(t,a))})),n.on("$destroy",function(){a.$$parentForm.$removeControl(a),u(t,undefined),l(a,Jr)})}}}}}]},es=ts(),ns=ts(!0),is=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,os=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,rs=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ss=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,as=/^(\d{4,})-(\d{2})-(\d{2})$/,cs=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ls=/^(\d{4,})-W(\d\d)$/,us=/^(\d{4,})-(\d\d)$/,ds=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ps="keydown wheel mousedown",hs=gt();i("date,datetime-local,month,time,week".split(","),function(t){hs[t]=!0});var fs={text:_i,date:Ti("date",as,Ai(as,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ti("datetimelocal",cs,Ai(cs,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ti("time",ds,Ai(ds,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ti("week",ls,wi,"yyyy-Www"),month:Ti("month",us,Ai(us,["yyyy","MM"]),"yyyy-MM"),number:Oi,url:Li,email:Ei,radio:ji,range:Ni,checkbox:qi,hidden:h,button:h,submit:h,reset:h,file:h},ms=["$browser","$sniffer","$filter","$parse",function(t,e,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(o,r,s,a){a[0]&&(fs[Ui(s.type)]||fs.text)(o,r,s,a[0],e,t,n,i)}}}}],gs=/^(true|false|\d+)$/,vs=function(){function t(t,e,n){var i=b(n)?n:9===Ki?"":null;t.prop("value",i),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return gs.test(n.ngValue)?function(e,n,i){t(n,i,e.$eval(i.ngValue))}:function(e,n,i){e.$watch(i.ngValue,function(e){t(n,i,e)})}}}},bs=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,i){t.$$addBindingInfo(n,i.ngBind),n=n[0],e.$watch(i.ngBind,function(t){n.textContent=vt(t)})}}}}],ys=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,i,o){var r=t(i.attr(o.$attr.ngBindTemplate));e.$$addBindingInfo(i,r.expressions),i=i[0],o.$observe("ngBindTemplate",function(t){i.textContent=v(t)?"":t})}}}}],_s=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(i,o){var r=e(o.ngBindHtml),s=e(o.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(i),function(e,i,o){n.$$addBindingInfo(i,o.ngBindHtml),e.$watch(s,function(){var n=r(e);i.html(t.getTrustedHtml(n)||"")})}}}}],Ms=m({restrict:"A",require:"ngModel",link:function(t,e,n,i){i.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),ws=Pi("",!0),As=Pi("Odd",0),Ts=Pi("Even",1),ks=hi({compile:function(t,e){e.$set("ngCloak",undefined),t.removeClass("ng-cloak")}}),zs=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],xs={},$s={blur:!0,focus:!0};i("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=we("ng-"+t);xs[e]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(o,r){var s=n(r[e]);return function(e,n){n.on(t,function(n){var o=function(){s(e,{$event:n})};$s[t]&&i.$$phase?e.$evalAsync(o):e.$apply(o)})}}}}]});var Cs=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,o,r,s){var a,c,l;n.$watch(o.ngIf,function(n){n?c||s(function(n,r){c=r,n[n.length++]=e.$$createComment("end ngIf",o.ngIf),a={clone:n},t.enter(n,i.parent(),i)}):(l&&(l.remove(),l=null),c&&(c.$destroy(),c=null),a&&(l=mt(a.clone),t.leave(l).done(function(t){!1!==t&&(l=null)}),a=null))})}}}],Ss=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:so.noop,compile:function(i,o){var r=o.ngInclude||o.src,s=o.onload||"",a=o.autoscroll;return function(i,o,c,l,u){var d,p,h,f=0,m=function(){p&&(p.remove(),p=null),d&&(d.$destroy(),d=null),h&&(n.leave(h).done(function(t){!1!==t&&(p=null)}),p=h,h=null)};i.$watch(r,function(r){var c=function(t){!1===t||!b(a)||a&&!i.$eval(a)||e()},p=++f;r?(t(r,!0).then(function(t){if(!i.$$destroyed&&p===f){var e=i.$new();l.template=t;var a=u(e,function(t){m(),n.enter(t,null,o).done(c)});d=e,h=a,d.$emit("$includeContentLoaded",r),i.$eval(s)}},function(){i.$$destroyed||p===f&&(m(),i.$emit("$includeContentError",r))}),i.$emit("$includeContentRequested",r)):(m(),l.template=null)})}}}}],Os=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,o,r){if(io.call(i[0]).match(/SVG/))return i.empty(),void e(Ot(r.template,t.document).childNodes)(n,function(t){i.append(t)},{futureParentElement:i});i.html(r.template),e(i.contents())(n)}}}],Ns=hi({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Ls=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,o){var r=n.ngList||", ",s="false"!==n.ngTrim,a=s?po(r):r,c=function(t){if(!v(t)){var e=[];return t&&i(t.split(a),function(t){t&&e.push(s?po(t):t)}),e}};o.$parsers.push(c),o.$formatters.push(function(t){return lo(t)?t.join(r):undefined}),o.$isEmpty=function(t){return!t||!t.length}}}},Es="ng-valid",js="ng-invalid",Ds="ng-pristine",qs="ng-dirty",Ps="ng-untouched",Bs="ng-touched",Is="ng-empty",Ws="ng-not-empty",Rs=e("ngModel");Bi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Bi.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var t=this.$$parse(this.$$attr.ngModel+"()"),e=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(e){var n=this.$$parsedNgModel(e);return T(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){T(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw Rs("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,J(this.$$element))},$render:h,$isEmpty:function(t){return v(t)||""===t||null===t||t!==t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,Ws),this.$$animate.addClass(this.$$element,Is)):(this.$$animate.removeClass(this.$$element,Is),this.$$animate.addClass(this.$$element,Ws))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,qs),this.$$animate.addClass(this.$$element,Ds)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ds),this.$$animate.addClass(this.$$element,qs),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Ps,Bs)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Bs,Ps)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!co(this.$modelValue)){var t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,i=this.$modelValue,o=this.$options.getOption("allowInvalid"),r=this;this.$$runValidators(e,t,function(t){o||n===t||(r.$modelValue=t?e:undefined,r.$modelValue!==i&&r.$$writeModelToScope())})}},$$runValidators:function(t,e,n){function o(){var t=u.$$parserName||"parse";return v(u.$$parserValid)?(a(t,null),!0):(u.$$parserValid||(i(u.$validators,function(t,e){a(e,null)}),i(u.$asyncValidators,function(t,e){a(e,null)})),a(t,u.$$parserValid),u.$$parserValid)}function r(){var n=!0;return i(u.$validators,function(i,o){var r=Boolean(i(t,e));n=n&&r,a(o,r)}),!!n||(i(u.$asyncValidators,function(t,e){a(e,null)}),!1)}function s(){var n=[],o=!0;i(u.$asyncValidators,function(i,r){var s=i(t,e);if(!N(s))throw Rs("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);a(r,undefined),n.push(s.then(function(){a(r,!0)},function(){o=!1,a(r,!1)}))}),n.length?u.$$q.all(n).then(function(){c(o)},h):c(!0)}function a(t,e){l===u.$$currentValidationRunId&&u.$setValidity(t,e)}function c(t){l===u.$$currentValidationRunId&&n(t)}this.$$currentValidationRunId++;var l=this.$$currentValidationRunId,u=this;return o()&&r()?void s():void c(!1)},$commitViewValue:function(){var t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function t(){i.$modelValue!==r&&i.$$writeModelToScope()}var e=this.$$lastCommittedViewValue,n=e,i=this;if(this.$$parserValid=!v(n)||undefined,this.$$parserValid)for(var o=0;o<this.$parsers.length;o++)if(n=this.$parsers[o](n),v(n)){this.$$parserValid=!1;break}co(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,s=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,s&&(this.$modelValue=n,t()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(e){s||(i.$modelValue=e?n:undefined,t())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),i(this.$viewChangeListeners,function(t){try{t()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit:function(t){var e=this.$options.getOption("debounce");w(e[t])?e=e[t]:w(e["default"])&&(e=e["default"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;e>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},e):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(t){this.$options=this.$options.createChild(t)}},vi({clazz:Bi,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var Xs,Fs=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Bi,priority:1,compile:function(e){return e.addClass(Ds).addClass(Ps).addClass(Es),{pre:function(t,e,n,i){var o=i[0],r=i[1]||o.$$parentForm,s=i[2];s&&(o.$options=s.$options),o.$$initGetterSetters(),r.$addControl(o),n.$observe("name",function(t){o.$name!==t&&o.$$parentForm.$$renameControl(o,t)}),t.$on("$destroy",function(){o.$$parentForm.$removeControl(o)})},post:function(e,n,i,o){function r(){s.$setTouched()}var s=o[0];s.$options.getOption("updateOn")&&n.on(s.$options.getOption("updateOn"),function(t){s.$$debounceViewValueCommit(t&&t.type)}),n.on("blur",function(){s.$touched||(t.$$phase?e.$evalAsync(r):e.$apply(r))})}}}}}],Hs=/(\s+|^)default(\s+|$)/;Wi.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return t=l({},t),i(t,function(n,i){"$inherit"===n?"*"===i?e=!0:(t[i]=this.$$options[i],"updateOn"===i&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===i&&(t.updateOnDefault=!1,t[i]=po(n.replace(Hs,function(){return t.updateOnDefault=!0," "})))},this),e&&(delete t["*"],Ri(t,this.$$options)),Ri(t,Xs.$$options),new Wi(t)}},Xs=new Wi({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Us=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:Xs,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}},Vs=hi({terminal:!0,priority:1e3}),Ys=e("ngOptions"),Gs=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Ks=["$compile","$document","$parse",function(e,o,r){function s(t,e,i){function o(t,e,n,i,o){this.selectValue=t,this.viewValue=e,this.label=n,this.group=i,this.disabled=o}function s(t){var e;if(!l&&n(t))e=t;else{e=[];for(var i in t)t.hasOwnProperty(i)&&"$"!==i.charAt(0)&&e.push(i)}return e}var a=t.match(Gs);if(!a)throw Ys("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,J(e));var c=a[5]||a[7],l=a[6],u=/ as /.test(a[0])&&a[1],d=a[9],p=r(a[2]?a[1]:c),h=u&&r(u),f=h||p,m=d&&r(d),g=d?function(t,e){return m(i,e)}:function(t){return ie(t)},v=function(t,e){return g(t,A(t,e))},b=r(a[2]||a[1]),y=r(a[3]||""),_=r(a[4]||""),M=r(a[8]),w={},A=l?function(t,e){return w[l]=e,w[c]=t,w}:function(t){return w[c]=t,w};return{trackBy:d,getTrackByValue:v,getWatchables:r(M,function(t){var e=[];t=t||[];for(var n=s(t),o=n.length,r=0;r<o;r++){var c=t===n?r:n[r],l=t[c],u=A(l,c),d=g(l,u);if(e.push(d),a[2]||a[1]){var p=b(i,u);e.push(p)}if(a[4]){var h=_(i,u);e.push(h)}}return e}),getOptions:function(){for(var t=[],e={},n=M(i)||[],r=s(n),a=r.length,c=0;c<a;c++){var l=n===r?c:r[c],u=n[l],p=A(u,l),h=f(i,p),m=g(h,p),w=b(i,p),T=y(i,p),k=_(i,p),z=new o(m,h,w,T,k);t.push(z),e[m]=z}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[v(t)]},getViewValueFromOption:function(t){return d?I(t.viewValue):t.viewValue}}}}}function a(t,n,r,a){function u(t,e){var n=c.cloneNode(!1);e.appendChild(n),p(t,n)}function d(t){var e=w.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}function p(t,e){t.element=e,e.disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),e.value=t.selectValue}function h(){var t=w&&f.readValue();if(w)for(var e=w.items.length-1;e>=0;e--){var i=w.items[e];Yt(b(i.group)?i.element.parentNode:i.element)}w=A.getOptions();var o={};if(M&&n.prepend(f.emptyOption),w.items.forEach(function(t){var e;b(t.group)?(e=o[t.group],e||(e=l.cloneNode(!1),T.appendChild(e),e.label=null===t.group?"null":t.group,o[t.group]=e),u(t,e)):u(t,T)}),n[0].appendChild(T),m.$render(),!m.$isEmpty(t)){var r=f.readValue();(A.trackBy||g?W(t,r):t===r)||(m.$setViewValue(r),m.$render())}}for(var f=a[0],m=a[1],g=r.multiple,v=0,y=n.children(),_=y.length;v<_;v++)if(""===y[v].value){f.hasEmptyOption=!0,f.emptyOption=y.eq(v);break}var M=!!f.emptyOption;Ji(c.cloneNode(!1)).val("?");var w,A=s(r.ngOptions,n,t),T=o[0].createDocumentFragment();f.generateUnknownOptionValue=function(){return"?"},g?(f.writeValue=function(t){var e=t&&t.map(d)||[];w.items.forEach(function(t){t.element.selected&&!P(e,t)&&(t.element.selected=!1)})},f.readValue=function(){var t=n.val()||[],e=[];return i(t,function(t){var n=w.selectValueMap[t];n&&!n.disabled&&e.push(w.getViewValueFromOption(n))}),e},A.trackBy&&t.$watchCollection(function(){if(lo(m.$viewValue))return m.$viewValue.map(function(t){return A.getTrackByValue(t)})},function(){m.$render()})):(f.writeValue=function(t){var e=w.selectValueMap[n.val()],i=w.getOptionFromViewValue(t);e&&e.element.removeAttribute("selected"),i?(n[0].value!==i.selectValue&&(f.removeUnknownOption(),f.unselectEmptyOption(),n[0].value=i.selectValue,i.element.selected=!0),i.element.setAttribute("selected","selected")):M?f.selectEmptyOption():f.unknownOption.parent().length?f.updateUnknownOption(t):f.renderUnknownOption(t)},f.readValue=function(){var t=w.selectValueMap[n.val()];return t&&!t.disabled?(f.unselectEmptyOption(),f.removeUnknownOption(),w.getViewValueFromOption(t)):null},A.trackBy&&t.$watch(function(){return A.getTrackByValue(m.$viewValue)},function(){m.$render()})),M&&(f.emptyOption.remove(),e(f.emptyOption)(t),f.emptyOption[0].nodeType===To?(f.hasEmptyOption=!1,f.registerOption=function(t,e){""===e.val()&&(f.hasEmptyOption=!0,f.emptyOption=e,f.emptyOption.removeClass("ng-scope"),m.$render(),e.on("$destroy",function(){f.hasEmptyOption=!1,f.emptyOption=undefined}))}):f.emptyOption.removeClass("ng-scope")),n.empty(),h(),t.$watchCollection(A.getWatchables,h)}var c=t.document.createElement("option"),l=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,i){i[0].registerOption=h},post:a}}}],Js=["$locale","$interpolate","$log",function(t,e,n){var o=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(s,a,c){function l(t){a.text(t||"")}var u,d=c.count,p=c.$attr.when&&a.attr(c.$attr.when),f=c.offset||0,m=s.$eval(p)||{},g={},b=e.startSymbol(),y=e.endSymbol(),_=b+d+"-"+f+y,M=so.noop;i(c,function(t,e){var n=r.exec(e);if(n){var i=(n[1]?"-":"")+Ui(n[2]);m[i]=a.attr(c.$attr[e])}}),i(m,function(t,n){g[n]=e(t.replace(o,_))}),s.$watch(d,function(e){var i=parseFloat(e),o=co(i);if(o||i in m||(i=t.pluralCat(i-f)),!(i===u||o&&co(u))){M();var r=g[i];v(r)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+p),M=h,l()):M=s.$watch(r,l),u=i}})}}}],Qs=["$parse","$animate","$compile",function(t,o,r){var s="$$NG_REMOVED",a=e("ngRepeat"),c=function(t,e,n,i,o,r,s){t[n]=i,o&&(t[o]=r),t.$index=e,t.$first=0===e,t.$last=e===s-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0==(1&e))},l=function(t){return t.clone[0]},u=function(t){return t.clone[t.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,d){var p=d.ngRepeat,h=r.$$createComment("end ngRepeat",p),f=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!f)throw a("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var m=f[1],g=f[2],v=f[3],b=f[4];if(!(f=m.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw a("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=f[3]||f[1],_=f[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw a("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var M,w,A,T,k={$id:ie};return b?M=t(b):(A=function(t,e){return ie(e)},T=function(t){return t}),function(t,e,r,d,f){M&&(w=function(e,n,i){return _&&(k[_]=e),k[y]=n,k.$index=i,M(t,k)});var m=gt();t.$watchCollection(g,function(r){var d,g,b,M,k,z,x,$,C,S,O,N,L=e[0],E=gt();if(v&&(t[v]=r),n(r))C=r,$=w||A;else{$=w||T,C=[];for(var j in r)Hi.call(r,j)&&"$"!==j.charAt(0)&&C.push(j)}for(M=C.length,O=new Array(M),d=0;d<M;d++)if(k=r===C?d:C[d],z=r[k],x=$(k,z,d),m[x])S=m[x],delete m[x],E[x]=S,O[d]=S;else{if(E[x])throw i(O,function(t){t&&t.scope&&(m[t.id]=t)}),a("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,x,z);O[d]={id:x,scope:undefined,clone:undefined},E[x]=!0}for(var D in m){if(S=m[D],N=mt(S.clone),o.leave(N),N[0].parentNode)for(d=0,g=N.length;d<g;d++)N[d][s]=!0;S.scope.$destroy()}for(d=0;d<M;d++)if(k=r===C?d:C[d],z=r[k],S=O[d],S.scope){b=L;do{b=b.nextSibling}while(b&&b[s]);l(S)!==b&&o.move(mt(S.clone),null,L),L=u(S),c(S.scope,d,y,z,_,k,M)}else f(function(t,e){S.scope=e;var n=h.cloneNode(!1);t[t.length++]=n,o.enter(t,null,L),L=n,S.clone=t,E[S.id]=S,c(S.scope,d,y,z,_,k,M)});m=E})}}}}],Zs="ng-hide",ta="ng-hide-animate",ea=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngShow,function(e){t[e?"removeClass":"addClass"](n,Zs,{tempClasses:ta})})}}}],na=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngHide,function(e){t[e?"addClass":"removeClass"](n,Zs,{tempClasses:ta})})}}}],ia=hi(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&i(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),oa=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,o,r,s){var a=r.ngSwitch||r.on,c=[],l=[],u=[],d=[],p=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};n.$watch(a,function(n){for(var o,r;u.length;)t.cancel(u.pop());for(o=0,r=d.length;o<r;++o){var a=mt(l[o].clone);d[o].$destroy();(u[o]=t.leave(a)).done(p(u,o))}l.length=0,d.length=0,(c=s.cases["!"+n]||s.cases["?"])&&i(c,function(n){n.transclude(function(i,o){d.push(o);var r=n.element;i[i.length++]=e.$$createComment("end ngSwitchWhen");var s={clone:i};l.push(s),t.enter(i,r.parent(),r)})})})}}}],ra=hi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,o,r){i(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(t,e,n){return n[e-1]!==t}),function(t){o.cases["!"+t]=o.cases["!"+t]||[],o.cases["!"+t].push({transclude:r,element:e})})}}),sa=hi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,o){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:o,element:e})}}),aa=e("ngTransclude"),ca=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var n=t(e.contents());return e.empty(),function(t,e,i,o,r){function s(t,n){t.length&&c(t)?e.append(t):(a(),n.$destroy())}function a(){n(t,function(t){e.append(t)})}function c(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];if(i.nodeType!==Ao||i.nodeValue.trim())return!0}}if(!r)throw aa("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(e));i.ngTransclude===i.$attr.ngTransclude&&(i.ngTransclude="");var l=i.ngTransclude||i.ngTranscludeSlot;r(s,null,l),l&&!r.isSlotFilled(l)&&a()}}}}],la=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"===n.type){var i=n.id,o=e[0].text;t.put(i,o)}}}}],ua={$setViewValue:h,$render:h},da=["$element","$scope",function(e,n){function i(){c||(c=!0,n.$$postDigest(function(){c=!1,s.ngModelCtrl.$render()}))}function o(t){l||(l=!0,n.$$postDigest(function(){n.$$destroyed||(l=!1,s.ngModelCtrl.$setViewValue(s.readValue()),t&&s.ngModelCtrl.$render())}))}function r(t){t.prop("selected",!0),t.attr("selected",!0)}var s=this,a=new Ho;s.selectValueMap={},s.ngModelCtrl=ua,s.multiple=!1,s.unknownOption=Ji(t.document.createElement("option")),s.hasEmptyOption=!1,s.emptyOption=undefined,s.renderUnknownOption=function(t){var n=s.generateUnknownOptionValue(t);s.unknownOption.val(n),e.prepend(s.unknownOption),r(s.unknownOption),e.val(n)},s.updateUnknownOption=function(t){var n=s.generateUnknownOptionValue(t);s.unknownOption.val(n),r(s.unknownOption),e.val(n)},s.generateUnknownOptionValue=function(t){return"? "+ie(t)+" ?"},s.removeUnknownOption=function(){s.unknownOption.parent()&&s.unknownOption.remove()},s.selectEmptyOption=function(){s.emptyOption&&(e.val(""),r(s.emptyOption))},s.unselectEmptyOption=function(){s.hasEmptyOption&&s.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){s.renderUnknownOption=h}),s.readValue=function(){var t=e.val(),n=t in s.selectValueMap?s.selectValueMap[t]:t;return s.hasOption(n)?n:null},s.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];if(n&&n.removeAttribute("selected"),s.hasOption(t)){s.removeUnknownOption();var i=ie(t);e.val(i in s.selectValueMap?i:t);var o=e[0].options[e[0].selectedIndex];r(Ji(o))}else null==t&&s.emptyOption?(s.removeUnknownOption(),s.selectEmptyOption()):s.unknownOption.parent().length?s.updateUnknownOption(t):s.renderUnknownOption(t)},s.addOption=function(t,e){if(e[0].nodeType!==To){ht(t,'"option value"'),""===t&&(s.hasEmptyOption=!0,s.emptyOption=e);var n=a.get(t)||0;a.set(t,n+1),i()}},s.removeOption=function(t){var e=a.get(t);e&&(1===e?(a["delete"](t),""===t&&(s.hasEmptyOption=!1,s.emptyOption=undefined)):a.set(t,e-1))},s.hasOption=function(t){return!!a.get(t)};var c=!1,l=!1;s.registerOption=function(t,e,n,r,a){if(n.$attr.ngValue){var c,l=NaN;n.$observe("value",function(t){var n,i=e.prop("selected");b(l)&&(s.removeOption(c),delete s.selectValueMap[l],n=!0),l=ie(t),c=t,s.selectValueMap[l]=t,s.addOption(t,e),e.attr("value",l),n&&i&&o()})}else r?n.$observe("value",function(t){s.readValue();var n,i=e.prop("selected");b(c)&&(s.removeOption(c),n=!0),c=t,s.addOption(t,e),n&&i&&o()}):a?t.$watch(a,function(t,i){n.$set("value",t);var r=e.prop("selected");i!==t&&s.removeOption(i),s.addOption(t,e),i&&r&&o()}):s.addOption(n.value,e);n.$observe("disabled",function(t){("true"===t||t&&e.prop("selected"))&&(s.multiple?o(!0):(s.ngModelCtrl.$setViewValue(null),s.ngModelCtrl.$render()))}),e.on("$destroy",function(){var t=s.readValue(),e=n.value;s.removeOption(e),i(),(s.multiple&&t&&-1!==t.indexOf(e)||t===e)&&o(!0)})}}],pa=function(){function t(t,e,n,o){var r=o[0],s=o[1];if(!s)return void(r.registerOption=h);if(r.ngModelCtrl=s,e.on("change",function(){r.removeUnknownOption(),t.$apply(function(){s.$setViewValue(r.readValue())})}),n.multiple){r.multiple=!0,r.readValue=function(){var t=[];return i(e.find("option"),function(e){if(e.selected&&!e.disabled){var n=e.value;t.push(n in r.selectValueMap?r.selectValueMap[n]:n)}}),t},r.writeValue=function(t){i(e.find("option"),function(e){e.selected=!!t&&(P(t,e.value)||P(t,r.selectValueMap[e.value]))})};var a,c=NaN;t.$watch(function(){c!==s.$viewValue||W(a,s.$viewValue)||(a=yt(s.$viewValue),s.$render()),c=s.$viewValue}),s.$isEmpty=function(t){return!t||0===t.length}}}function e(t,e,n,i){var o=i[1];if(o){var r=i[0];o.$render=function(){r.writeValue(o.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:da,priority:1,link:{pre:t,post:e}}},ha=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var i,o;return b(n.ngValue)||(b(n.value)?i=t(n.value,!0):(o=t(e.text(),!0))||n.$set("value",e.text())),function(t,e,n){var r="$selectController",s=e.parent(),a=s.data(r)||s.parent().data(r);a&&a.registerOption(t,e,n,i,o)}}}}],fa=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){i&&(n.required=!0,i.$validators.required=function(t,e){return!n.required||!i.$isEmpty(e)},n.$observe("required",function(){i.$validate()}))}}},ma=function(){return{restrict:"A",require:"?ngModel",link:function(t,n,i,o){if(o){var r,s=i.ngPattern||i.pattern;i.$observe("pattern",function(t){if(M(t)&&t.length>0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw e("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,t,J(n));r=t||undefined,o.$validate()}),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||v(r)||r.test(e)}}}}},ga=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var o=-1;n.$observe("maxlength",function(t){var e=d(t);o=co(e)?-1:e,i.$validate()}),i.$validators.maxlength=function(t,e){return o<0||i.$isEmpty(e)||e.length<=o}}}}},va=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var o=0;n.$observe("minlength",function(t){o=d(t)||0,i.$validate()}),i.$validators.minlength=function(t,e){return i.$isEmpty(e)||e.length>=o}}}}};if(t.angular.bootstrap)return void(t.console&&console.log("WARNING: Tried to load angular more than once."));ut(),wt(so),so.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return-1==e?0:t.length-e-1}function n(t,n){var i=n;undefined===i&&(i=Math.min(e(t),3));var o=Math.pow(10,i);return{v:i,f:(t*o|0)%o}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\xa4",negSuf:"",posPre:"\xa4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var o=0|t,r=n(t,e);return 1==o&&0==r.v?i.ONE:i.OTHER}})}]),Ji(function(){rt(t.document,st)})}(window),
!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(t,e){"use strict";function n(t){return null!=t&&""!==t&&"hasOwnProperty"!==t&&s.test("."+t)}function i(t,i){if(!n(i))throw r("badmember",'Dotted member path "@{0}" is invalid.',i);for(var o=i.split("."),s=0,a=o.length;s<a&&e.isDefined(t);s++){var c=o[s];t=null!==t?t[c]:undefined}return t}function o(t,n){n=n||{},e.forEach(n,function(t,e){delete n[e]});for(var i in t)!t.hasOwnProperty(i)||"$"===i.charAt(0)&&"$"===i.charAt(1)||(n[i]=t[i]);return n}var r=e.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;e.module("ngResource",["ng"]).provider("$resource",function(){var t=/^https?:\/\/\[[^\]]*][^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(s,a,c,l){function u(t,e){this.template=t,this.defaults=f({},n.defaults,e),this.urlParams={}}function d(t,e,_,M){function w(t,n){var o={};return n=f({},e,n),h(n,function(e,n){b(e)&&(e=e(t)),o[n]=e&&e.charAt&&"@"===e.charAt(0)?i(t,e.substr(1)):e}),o}function A(t){return t.resource}function T(t){o(t||{},this)}var k=new u(t,M);return _=f({},n.defaults.actions,_),T.prototype.toJSON=function(){var t=f({},this);return delete t.$promise,delete t.$resolved,delete t.$cancelRequest,t},h(_,function(t,e){var n=/^(POST|PUT|PATCH)$/i.test(t.method),i=t.timeout,u=v(t.cancellable)?t.cancellable:k.defaults.cancellable;i&&!y(i)&&(a.debug("ngResource:\n  Only numeric values are allowed as `timeout`.\n  Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete t.timeout,i=null),T[e]=function(a,d,v,y){function _(t){P["catch"](p),C.resolve(t)}var M,z,x,$={};switch(arguments.length){case 4:x=y,z=v;case 3:case 2:if(!b(d)){$=a,M=d,z=v;break}if(b(a)){z=a,x=d;break}z=d,x=v;case 1:b(a)?z=a:n?M=a:$=a;break;case 0:break;default:throw r("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var C,S,O=this instanceof T,N=O?M:t.isArray?[]:new T(M),L={},E=t.interceptor&&t.interceptor.response||A,j=t.interceptor&&t.interceptor.responseError||undefined,D=!!x,q=!!j;h(t,function(t,e){switch(e){default:L[e]=m(t);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!O&&u&&(C=c.defer(),L.timeout=C.promise,i&&(S=l(C.resolve,i))),n&&(L.data=M),k.setUrlParams(L,f({},w(M,t.params||{}),$),t.url);var P=s(L).then(function(n){var i=n.data;if(i){if(g(i)!==!!t.isArray)throw r("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",e,t.isArray?"array":"object",g(i)?"array":"object",L.method,L.url);if(t.isArray)N.length=0,h(i,function(t){"object"==typeof t?N.push(new T(t)):N.push(t)});else{var s=N.$promise;o(i,N),N.$promise=s}}return n.resource=N,n});return P=P["finally"](function(){N.$resolved=!0,!O&&u&&(N.$cancelRequest=p,l.cancel(S),C=S=L.timeout=null)}),P=P.then(function(t){var e=E(t);return(z||p)(e,t.headers,t.status,t.statusText),e},D||q?function(t){return D&&!q&&P["catch"](p),D&&x(t),q?j(t):c.reject(t)}:undefined),O?P:(N.$promise=P,N.$resolved=!1,u&&(N.$cancelRequest=_),N)},T.prototype["$"+e]=function(t,n,i){b(t)&&(i=n,n=t,t={});var o=T[e].call(this,t,this,n,i);return o.$promise||o}}),T.bind=function(n){var i=f({},e,n);return d(t,i,_,M)},T}var p=e.noop,h=e.forEach,f=e.extend,m=e.copy,g=e.isArray,v=e.isDefined,b=e.isFunction,y=e.isNumber,_=e.$$encodeUriQuery,M=e.$$encodeUriSegment;return u.prototype={setUrlParams:function(e,n,i){var o,s,a=this,c=i||a.template,l="",u=a.urlParams=Object.create(null);h(c.split(/\W/),function(t){if("hasOwnProperty"===t)throw r("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(t)&&t&&new RegExp("(^|[^\\\\]):"+t+"(\\W|$)").test(c)&&(u[t]={isQueryParamValue:new RegExp("\\?.*=:"+t+"(?:\\W|$)").test(c)})}),c=c.replace(/\\:/g,":"),c=c.replace(t,function(t){return l=t,""}),n=n||{},h(a.urlParams,function(t,e){o=n.hasOwnProperty(e)?n[e]:a.defaults[e],v(o)&&null!==o?(s=t.isQueryParamValue?_(o,!0):M(o),c=c.replace(new RegExp(":"+e+"(\\W|$)","g"),function(t,e){return s+e})):c=c.replace(new RegExp("(/?):"+e+"(\\W|$)","g"),function(t,e,n){return"/"===n.charAt(0)?n:e+n})}),a.defaults.stripTrailingSlashes&&(c=c.replace(/\/+$/,"")||"/"),c=c.replace(/\/\.(?=\w+($|\?))/,"."),e.url=l+c.replace(/\/(\\|%5C)\./,"/."),h(n,function(t,n){a.urlParams[n]||(e.params=e.params||{},e.params[n]=t)})}},d}]})}(window,window.angular),angular.module("templates",[]),angular.module("ng-rails-csrf",[]).config(["$httpProvider",function(t){var e=function(){var t=document.querySelector('meta[name="csrf-token"]');return t?t=t.getAttribute("content"):(t=document.querySelector('input[name="authenticity_token"]'))&&(t=t.value),t},n=function(){var n=t.defaults.headers.common;e()&&(n["X-CSRF-TOKEN"]=e(),n["X-Requested-With"]="XMLHttpRequest")};n(),window.Turbolinks&&$(document).bind("page:change",n)}]),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(t,e,n,i){var o=i.has("$animateCss")?i.get("$animateCss"):null;return{link:function(i,r,s){function a(){v=!!("horizontal"in s),v?(b={width:""},y={width:"0"}):(b={height:""},y={height:"0"}),i.$eval(s.uibCollapse)||r.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css(b)}function c(t){return v?{width:t.scrollWidth+"px"}:{height:t.scrollHeight+"px"}}function l(){r.hasClass("collapse")&&r.hasClass("in")||e.resolve(h(i)).then(function(){r.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),o?o(r,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:c(r[0])}).start()["finally"](u):t.addClass(r,"in",{css:{overflow:"hidden"},to:c(r[0])}).then(u)})}function u(){r.removeClass("collapsing").addClass("collapse").css(b),f(i)}function d(){if(!r.hasClass("collapse")&&!r.hasClass("in"))return p();e.resolve(m(i)).then(function(){r.css(c(r[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),o?o(r,{removeClass:"in",to:y}).start()["finally"](p):t.removeClass(r,"in",{to:y}).then(p)})}function p(){r.css(y),r.removeClass("collapsing").addClass("collapse"),g(i)}var h=n(s.expanding),f=n(s.expanded),m=n(s.collapsing),g=n(s.collapsed),v=!1,b={},y={};a(),i.$watch(s.uibCollapse,function(t){t?d():l()})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(t,e,n){n.$observe("disabled",function(t){n.$set("tabindex",t?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(t,e,n){this.groups=[],this.closeOthers=function(i){(angular.isDefined(e.closeOthers)?t.$eval(e.closeOthers):n.closeOthers)&&angular.forEach(this.groups,function(t){t!==i&&(t.isOpen=!1)})},this.addGroup=function(t){var e=this;this.groups.push(t),t.$on("$destroy",function(){e.removeGroup(t)})},this.removeGroup=function(t){var e=this.groups.indexOf(t);-1!==e&&this.groups.splice(e,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(t,e){return e.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(t){this.heading=t}},link:function(t,e,n,i){e.addClass("panel"),i.addGroup(t),t.openClass=n.openClass||"panel-open",t.panelClass=n.panelClass||"panel-default",t.$watch("isOpen",function(n){e.toggleClass(t.openClass,!!n),n&&i.closeOthers(t)}),t.toggleOpen=function(e){t.isDisabled||e&&32!==e.which||(t.isOpen=!t.isOpen)};var o="accordiongroup-"+t.$id+"-"+Math.floor(1e4*Math.random());t.headingId=o+"-tab",t.panelId=o+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(t,e,n,i,o){i.setHeading(o(t,angular.noop))}}}).directive("uibAccordionTransclude",function(){function t(){return"uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"}return{require:"^uibAccordionGroup",link:function(e,n,i,o){e.$watch(function(){return o[i.uibAccordionTransclude]},function(e){if(e){var i=angular.element(n[0].querySelector(t()));i.html(""),i.append(e)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(t,e,n,i,o){t.closeable=!!n.close,e.addClass("alert"),n.$set("role","alert"),t.closeable&&e.addClass("alert-dismissible");var r=angular.isDefined(n.dismissOnTimeout)?i(n.dismissOnTimeout)(t.$parent):null;r&&o(function(){t.close()},parseInt(r,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(t,e){return e.templateUrl||"uib/template/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(t){this.activeClass=t.activeClass||"active",this.toggleEvent=t.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(t){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(e,n,i,o){var r=o[0],s=o[1],a=t(i.uibUncheckable);n.find("input").css({display:"none"}),s.$render=function(){n.toggleClass(r.activeClass,angular.equals(s.$modelValue,e.$eval(i.uibBtnRadio)))},n.on(r.toggleEvent,function(){if(!i.disabled){var t=n.hasClass(r.activeClass);t&&!angular.isDefined(i.uncheckable)||e.$apply(function(){s.$setViewValue(t?null:e.$eval(i.uibBtnRadio)),s.$render()})}}),i.uibUncheckable&&e.$watch(a,function(t){i.$set("uncheckable",t?"":undefined)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(t,e,n,i){function o(){return s(n.btnCheckboxTrue,!0)}function r(){return s(n.btnCheckboxFalse,!1)}function s(e,n){return angular.isDefined(e)?t.$eval(e):n}var a=i[0],c=i[1];e.find("input").css({display:"none"}),c.$render=function(){e.toggleClass(a.activeClass,angular.equals(c.$modelValue,o()))},e.on(a.toggleEvent,function(){n.disabled||t.$apply(function(){c.$setViewValue(e.hasClass(a.activeClass)?r():o()),c.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(t,e,n,i,o){function r(){for(;y.length;)y.shift()}function s(t){for(var e=0;e<g.length;e++)g[e].slide.active=e===t}function a(n,i,c){if(!_){if(angular.extend(n,{direction:c}),angular.extend(g[b].slide||{},{direction:c}),o.enabled(e)&&!t.$currentTransition&&g[i].element&&m.slides.length>1){g[i].element.data(v,n.direction);var l=m.getCurrentIndex();angular.isNumber(l)&&g[l].element&&g[l].element.data(v,n.direction),t.$currentTransition=!0,o.on("addClass",g[i].element,function(e,n){if("close"===n&&(t.$currentTransition=null,o.off("addClass",e),y.length)){var i=y.pop().slide,s=i.index,c=s>m.getCurrentIndex()?"next":"prev";r(),a(i,s,c)}})}t.active=n.index,b=n.index,s(i),d()}}function c(t){for(var e=0;e<g.length;e++)if(g[e].slide===t)return e}function l(){h&&(n.cancel(h),h=null)}function u(e){e.length||(t.$currentTransition=null,r())}function d(){l();var e=+t.interval;!isNaN(e)&&e>0&&(h=n(p,e))}function p(){var e=+t.interval;f&&!isNaN(e)&&e>0&&g.length?t.next():t.pause()}var h,f,m=this,g=m.slides=t.slides=[],v="uib-slideDirection",b=t.active,y=[],_=!1;e.addClass("carousel"),m.addSlide=function(e,n){g.push({slide:e,element:n}),g.sort(function(t,e){return+t.slide.index-+e.slide.index}),(e.index===t.active||1===g.length&&!angular.isNumber(t.active))&&(t.$currentTransition&&(t.$currentTransition=null),b=e.index,t.active=e.index,s(b),m.select(g[c(e)]),1===g.length&&t.play())},m.getCurrentIndex=function(){for(var t=0;t<g.length;t++)if(g[t].slide.index===b)return t},m.next=t.next=function(){var e=(m.getCurrentIndex()+1)%g.length;return 0===e&&t.noWrap()?void t.pause():m.select(g[e],"next")},m.prev=t.prev=function(){var e=m.getCurrentIndex()-1<0?g.length-1:m.getCurrentIndex()-1;return t.noWrap()&&e===g.length-1?void t.pause():m.select(g[e],"prev")},m.removeSlide=function(e){var n=c(e),i=y.indexOf(g[n]);-1!==i&&y.splice(i,1),g.splice(n,1),g.length>0&&b===n?n>=g.length?(b=g.length-1,t.active=b,s(b),m.select(g[g.length-1])):(b=n,t.active=b,s(b),m.select(g[n])):b>n&&(b--,t.active=b),0===g.length&&(b=null,t.active=null,r())},m.select=t.select=function(e,n){var i=c(e.slide);n===undefined&&(n=i>m.getCurrentIndex()?"next":"prev"),e.slide.index===b||t.$currentTransition?e&&e.slide.index!==b&&t.$currentTransition&&y.push(g[i]):a(e.slide,i,n)},t.indexOfSlide=function(t){return+t.slide.index},t.isActive=function(e){return t.active===e.slide.index},t.isPrevDisabled=function(){return 0===t.active&&t.noWrap()},t.isNextDisabled=function(){return t.active===g.length-1&&t.noWrap()},t.pause=function(){t.noPause||(f=!1,l())},t.play=function(){f||(f=!0,d())},e.on("mouseenter",t.pause),e.on("mouseleave",t.play),t.$on("$destroy",function(){_=!0,l()}),t.$watch("noTransition",function(t){o.enabled(e,!t)}),t.$watch("interval",d),t.$watchCollection("slides",u),t.$watch("active",function(t){if(angular.isNumber(t)&&b!==t){for(var e=0;e<g.length;e++)if(g[e].slide.index===t){t=e;break}g[t]&&(s(t),m.select(g[t]),b=t)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(t,e){return e.templateUrl||"uib/template/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(t){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"uib/template/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(e,n,i,o){n.addClass("item"),o.addSlide(e,n),e.$on("$destroy",function(){o.removeSlide(e)}),e.$watch("active",function(e){t[e?"addClass":"removeClass"](n,"active")})}}}]).animation(".item",["$animateCss",function(t){function e(t,e,n){t.removeClass(e),n&&n()}var n="uib-slideDirection";return{beforeAddClass:function(i,o,r){if("active"===o){var s=!1,a=i.data(n),c="next"===a?"left":"right",l=e.bind(this,i,c+" "+a,r);return i.addClass(a),t(i,{addClass:c}).start().done(l),function(){s=!0}}r()},beforeRemoveClass:function(i,o,r){if("active"===o){var s=!1,a=i.data(n),c="next"===a?"left":"right",l=e.bind(this,i,c,r);return t(i,{addClass:c}).start().done(l),function(){s=!0}}r()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(t,e,n,i,o){function r(t){return o(b,{key:t},!0)[0]}function s(t){var e=[],n=t.split(""),o=t.indexOf("'");if(o>-1){var r=!1;t=t.split("");for(var s=o;s<t.length;s++)r?("'"===t[s]&&(s+1<t.length&&"'"===t[s+1]?(t[s+1]="$",n[s+1]=""):(n[s]="",r=!1)),t[s]="$"):"'"===t[s]&&(t[s]="$",n[s]="",r=!0);t=t.join("")}return angular.forEach(b,function(i){var o=t.indexOf(i.key);if(o>-1){t=t.split(""),n[o]="("+i.regex+")",t[o]="$";for(var r=o+1,s=o+i.key.length;r<s;r++)n[r]="",t[r]="$";t=t.join(""),e.push({index:o,key:i.key,apply:i.apply,matcher:i.regex})}}),{regex:new RegExp("^"+n.join("")+"$"),map:i(e,"index")}}function a(t){for(var e,n,i=[],o=0;o<t.length;)if(angular.isNumber(n)){if("'"===t.charAt(o))(o+1>=t.length||"'"!==t.charAt(o+1))&&(i.push(c(t,n,o)),n=null);else if(o===t.length)for(;n<t.length;)e=l(t,n),i.push(e),n=e.endIdx;o++}else"'"!==t.charAt(o)?(e=l(t,o),i.push(e.parser),o=e.endIdx):(n=o,o++);return i}function c(t,e,n){return function(){return t.substr(e+1,n-e-1)}}function l(t,e){for(var n=t.substr(e),i=0;i<b.length;i++)if(new RegExp("^"+b[i].key).test(n)){var o=b[i];return{endIdx:e+o.key.length,parser:o.formatter}}return{endIdx:e+1,parser:function(){return n.charAt(0)}}}function u(t,e,n){return!(n<1)&&(1===e&&n>28?29===n&&(t%4==0&&t%100!=0||t%400==0):3!==e&&5!==e&&8!==e&&10!==e||n<31)}function d(t){return parseInt(t,10)}function p(t,e){return t&&e?g(t,e):t}function h(t,e){return t&&e?g(t,e,!0):t}function f(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function m(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function g(t,e,n){n=n?-1:1;var i=t.getTimezoneOffset();return m(t,n*(f(e,i)-i))}var v,b,y=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){v=e.id,this.parsers={},this.formatters={},b=[{key:"yyyy",regex:"\\d{4}",apply:function(t){this.year=+t},formatter:function(t){var e=new Date;return e.setFullYear(Math.abs(t.getFullYear())),n(e,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(t){t=+t,this.year=t<69?t+2e3:t+1900},formatter:function(t){var e=new Date;return e.setFullYear(Math.abs(t.getFullYear())),n(e,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(t){this.year=+t},formatter:function(t){var e=new Date;return e.setFullYear(Math.abs(t.getFullYear())),n(e,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(t){this.month=t-1},formatter:function(t){var e=t.getMonth();return/^[0-9]$/.test(e)?n(t,"MM"):n(t,"M")}},{key:"MMMM",regex:e.DATETIME_FORMATS.MONTH.join("|"),apply:function(t){this.month=e.DATETIME_FORMATS.MONTH.indexOf(t)},formatter:function(t){return n(t,"MMMM")}},{key:"MMM",regex:e.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(t){this.month=e.DATETIME_FORMATS.SHORTMONTH.indexOf(t)},formatter:function(t){return n(t,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(t){this.month=t-1},formatter:function(t){return n(t,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(t){this.month=t-1},formatter:function(t){return n(t,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(t){this.date=+t},formatter:function(t){var e=t.getDate();return/^[1-9]$/.test(e)?n(t,"dd"):n(t,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(t){this.date=+t},formatter:function(t){return n(t,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(t){this.date=+t},formatter:function(t){return n(t,"d")}},{key:"EEEE",regex:e.DATETIME_FORMATS.DAY.join("|"),formatter:function(t){return n(t,"EEEE")}},{key:"EEE",regex:e.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(t){return n(t,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(t){this.minutes=+t},formatter:function(t){return n(t,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(t){this.minutes=+t},formatter:function(t){return n(t,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(t){this.milliseconds=+t},formatter:function(t){return n(t,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(t){this.seconds=+t},formatter:function(t){return n(t,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(t){this.seconds=+t},formatter:function(t){return n(t,"s")}},{key:"a",regex:e.DATETIME_FORMATS.AMPMS.join("|"),apply:function(t){12===this.hours&&(this.hours=0),"PM"===t&&(this.hours+=12)},formatter:function(t){return n(t,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(t){var e=t.match(/([+-])(\d{2})(\d{2})/),n=e[1],i=e[2],o=e[3];this.hours+=d(n+i),this.minutes+=d(n+o)},formatter:function(t){return n(t,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(t){return n(t,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(t){return n(t,"w")}},{key:"GGGG",regex:e.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(t){return n(t,"GGGG")}},{key:"GGG",regex:e.DATETIME_FORMATS.ERAS.join("|"),formatter:function(t){return n(t,"GGG")}},{key:"GG",regex:e.DATETIME_FORMATS.ERAS.join("|"),formatter:function(t){return n(t,"GG")}},{key:"G",regex:e.DATETIME_FORMATS.ERAS.join("|"),formatter:function(t){return n(t,"G")}}],angular.version.major>=1&&angular.version.minor>4&&b.push({key:"LLLL",regex:e.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(t){this.month=e.DATETIME_FORMATS.STANDALONEMONTH.indexOf(t)},formatter:function(t){return n(t,"LLLL")}})},this.init(),this.getParser=function(t){var e=r(t);return e&&e.apply||null},this.overrideParser=function(t,e){var n=r(t);n&&angular.isFunction(e)&&(this.parsers={},n.apply=e)}.bind(this),this.filter=function(t,n){return angular.isDate(t)&&!isNaN(t)&&n?(n=e.DATETIME_FORMATS[n]||n,e.id!==v&&this.init(),this.formatters[n]||(this.formatters[n]=a(n)),this.formatters[n].reduce(function(e,n){return e+n(t)},"")):""},this.parse=function(n,i,o){if(!angular.isString(n)||!i)return n;i=e.DATETIME_FORMATS[i]||i,i=i.replace(y,"\\$&"),e.id!==v&&this.init(),this.parsers[i]||(this.parsers[i]=s(i,"apply"));var r=this.parsers[i],a=r.regex,c=r.map,l=n.match(a),d=!1;if(l&&l.length){var p,h;angular.isDate(o)&&!isNaN(o.getTime())?p={year:o.getFullYear(),month:o.getMonth(),date:o.getDate(),hours:o.getHours(),minutes:o.getMinutes(),seconds:o.getSeconds(),milliseconds:o.getMilliseconds()}:(o&&t.warn("dateparser:","baseDate is not a valid date"),p={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var f=1,m=l.length;f<m;f++){var g=c[f-1];"Z"===g.matcher&&(d=!0),g.apply&&g.apply.call(p,l[f])}var b=d?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,_=d?Date.prototype.setUTCHours:Date.prototype.setHours;return u(p.year,p.month,p.date)&&(!angular.isDate(o)||isNaN(o.getTime())||d?(h=new Date(0),b.call(h,p.year,p.month,p.date),_.call(h,p.hours||0,p.minutes||0,p.seconds||0,p.milliseconds||0)):(h=new Date(o),b.call(h,p.year,p.month,p.date),_.call(h,p.hours,p.minutes,p.seconds,p.milliseconds))),h}},this.toTimezone=p,this.fromTimezone=h,this.timezoneToOffset=f,this.addDateMinutes=m,this.convertTimezoneToLocal=g}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(t){var e=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,n=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(i,o){function r(t,e){c.push(t),l.push({scope:t,element:e}),f.forEach(function(e){s(e,t)}),t.$on("$destroy",a)}function s(e,i){var o=e.match(n),r=i.$eval(o[1]),s=o[2],a=u[e];if(!a){var c=function(e){var n=null;l.some(function(t){if(t.scope.$eval(p)===e)return n=t,!0}),a.lastActivated!==n&&(a.lastActivated&&t.removeClass(a.lastActivated.element,r),n&&t.addClass(n.element,r),a.lastActivated=n)};u[e]=a={lastActivated:null,scope:i,watchFn:c,compareWithExp:s,watcher:i.$watch(s,c)}}a.watchFn(i.$eval(s))}function a(t){var e=t.targetScope,n=c.indexOf(e);if(c.splice(n,1),l.splice(n,1),c.length){var i=c[0];angular.forEach(u,function(t){t.scope===e&&(t.watcher=i.$watch(t.compareWithExp,t.watchFn),t.scope=i)})}else u={}}var c=[],l=[],u={},d=o.uibIsClass.match(e),p=d[2],h=d[1],f=h.split(",");return r}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(t,e,n,i,o,r,s,a,c,l,u,d){function p(e){t.datepickerMode=e,t.datepickerOptions.datepickerMode=e}var h=this,f={$setViewValue:angular.noop},m={},g=[];e.addClass("uib-datepicker"),n.$set("role","application"),t.datepickerOptions||(t.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(e){switch(e){case"customClass":case"dateDisabled":t[e]=t.datepickerOptions[e]||angular.noop;break;case"datepickerMode":t.datepickerMode=angular.isDefined(t.datepickerOptions.datepickerMode)?t.datepickerOptions.datepickerMode:c.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":h[e]=angular.isDefined(t.datepickerOptions[e])?o(t.datepickerOptions[e])(t.$parent):c[e];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":h[e]=angular.isDefined(t.datepickerOptions[e])?t.datepickerOptions[e]:c[e];break;case"startingDay":angular.isDefined(t.datepickerOptions.startingDay)?h.startingDay=t.datepickerOptions.startingDay:angular.isNumber(c.startingDay)?h.startingDay=c.startingDay:h.startingDay=(r.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":t.$watch("datepickerOptions."+e,function(t){t?angular.isDate(t)?h[e]=d.fromTimezone(new Date(t),m.timezone):(l&&s.warn("Literal date support has been deprecated, please switch to date object usage"),h[e]=new Date(a(t,"medium"))):h[e]=c[e]?d.fromTimezone(new Date(c[e]),m.timezone):null,h.refreshView()});break;case"maxMode":case"minMode":t.datepickerOptions[e]?t.$watch(function(){return t.datepickerOptions[e]},function(n){h[e]=t[e]=angular.isDefined(n)?n:t.datepickerOptions[e],("minMode"===e&&h.modes.indexOf(t.datepickerOptions.datepickerMode)<h.modes.indexOf(h[e])||"maxMode"===e&&h.modes.indexOf(t.datepickerOptions.datepickerMode)>h.modes.indexOf(h[e]))&&(t.datepickerMode=h[e],t.datepickerOptions.datepickerMode=h[e])}):h[e]=t[e]=c[e]||null}}),t.uniqueId="datepicker-"+t.$id+"-"+Math.floor(1e4*Math.random()),t.disabled=angular.isDefined(n.disabled)||!1,angular.isDefined(n.ngDisabled)&&g.push(t.$parent.$watch(n.ngDisabled,function(e){t.disabled=e,h.refreshView()})),t.isActive=function(e){return 0===h.compare(e.date,h.activeDate)&&(t.activeDateId=e.uid,!0)},this.init=function(e){f=e,m=e.$options||t.datepickerOptions.ngModelOptions||c.ngModelOptions,t.datepickerOptions.initDate?(h.activeDate=d.fromTimezone(t.datepickerOptions.initDate,m.timezone)||new Date,t.$watch("datepickerOptions.initDate",function(t){t&&(f.$isEmpty(f.$modelValue)||f.$invalid)&&(h.activeDate=d.fromTimezone(t,m.timezone),h.refreshView())})):h.activeDate=new Date;var n=f.$modelValue?new Date(f.$modelValue):new Date;this.activeDate=isNaN(n)?d.fromTimezone(new Date,m.timezone):d.fromTimezone(n,m.timezone),f.$render=function(){h.render()}},this.render=function(){if(f.$viewValue){var t=new Date(f.$viewValue);!isNaN(t)?this.activeDate=d.fromTimezone(t,m.timezone):u||s.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){t.selectedDt=null,this._refreshView(),t.activeDt&&(t.activeDateId=t.activeDt.uid);var e=f.$viewValue?new Date(f.$viewValue):null;e=d.fromTimezone(e,m.timezone),f.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,n){var i=f.$viewValue?new Date(f.$viewValue):null;i=d.fromTimezone(i,m.timezone);var o=new Date;o=d.fromTimezone(o,m.timezone);var r=this.compare(e,o),s={date:e,label:d.filter(e,n),selected:i&&0===this.compare(e,i),disabled:this.isDisabled(e),past:r<0,current:0===r,future:r>0,customClass:this.customClass(e)||null};return i&&0===this.compare(e,i)&&(t.selectedDt=s),h.activeDate&&0===this.compare(s.date,h.activeDate)&&(t.activeDt=s),s},this.isDisabled=function(e){return t.disabled||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&this.compare(e,this.maxDate)>0||t.dateDisabled&&t.dateDisabled({date:e,mode:t.datepickerMode})},this.customClass=function(e){return t.customClass({date:e,mode:t.datepickerMode})},this.split=function(t,e){for(var n=[];t.length>0;)n.push(t.splice(0,e));return n},t.select=function(e){if(t.datepickerMode===h.minMode){var n=f.$viewValue?d.fromTimezone(new Date(f.$viewValue),m.timezone):new Date(0,0,0,0,0,0,0);n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n=d.toTimezone(n,m.timezone),f.$setViewValue(n),f.$render()}else h.activeDate=e,p(h.modes[h.modes.indexOf(t.datepickerMode)-1]),t.$emit("uib:datepicker.mode");t.$broadcast("uib:datepicker.focus")},t.move=function(t){var e=h.activeDate.getFullYear()+t*(h.step.years||0),n=h.activeDate.getMonth()+t*(h.step.months||0);h.activeDate.setFullYear(e,n,1),h.refreshView()},t.toggleMode=function(e){e=e||1,t.datepickerMode===h.maxMode&&1===e||t.datepickerMode===h.minMode&&-1===e||(p(h.modes[h.modes.indexOf(t.datepickerMode)+e]),t.$emit("uib:datepicker.mode"))},t.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var v=function(){h.element[0].focus()};t.$on("uib:datepicker.focus",v),t.keydown=function(e){var n=t.keys[e.which];if(n&&!e.shiftKey&&!e.altKey&&!t.disabled)if(e.preventDefault(),h.shortcutPropagation||e.stopPropagation(),"enter"===n||"space"===n){if(h.isDisabled(h.activeDate))return;t.select(h.activeDate)}else!e.ctrlKey||"up"!==n&&"down"!==n?(h.handleKeyDown(n,e),h.refreshView()):t.toggleMode("up"===n?1:-1)},e.on("keydown",function(e){t.$apply(function(){t.keydown(e)})}),t.$on("$destroy",function(){for(;g.length;)g.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(t,e,n){function i(t,e){return 1!==e||t%4!=0||t%100==0&&t%400!=0?r[e]:29}function o(t){var e=new Date(t);e.setDate(e.getDate()+4-(e.getDay()||7));var n=e.getTime();return e.setMonth(0),e.setDate(1),
Math.floor(Math.round((n-e)/864e5)/7)+1}var r=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=e,this.init=function(e){angular.extend(e,this),t.showWeeks=e.showWeeks,e.refreshView()},this.getDates=function(t,e){for(var n,i=new Array(e),o=new Date(t),r=0;r<e;)n=new Date(o),i[r++]=n,o.setDate(o.getDate()+1);return i},this._refreshView=function(){var e=this.activeDate.getFullYear(),i=this.activeDate.getMonth(),r=new Date(this.activeDate);r.setFullYear(e,i,1);var s=this.startingDay-r.getDay(),a=s>0?7-s:-s,c=new Date(r);a>0&&c.setDate(1-a);for(var l=this.getDates(c,42),u=0;u<42;u++)l[u]=angular.extend(this.createDateObject(l[u],this.formatDay),{secondary:l[u].getMonth()!==i,uid:t.uniqueId+"-"+u});t.labels=new Array(7);for(var d=0;d<7;d++)t.labels[d]={abbr:n(l[d].date,this.formatDayHeader),full:n(l[d].date,"EEEE")};if(t.title=n(this.activeDate,this.formatDayTitle),t.rows=this.split(l,7),t.showWeeks){t.weekNumbers=[];for(var p=(11-this.startingDay)%7,h=t.rows.length,f=0;f<h;f++)t.weekNumbers.push(o(t.rows[f][p].date))}},this.compare=function(t,e){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate()),i=new Date(e.getFullYear(),e.getMonth(),e.getDate());return n.setFullYear(t.getFullYear()),i.setFullYear(e.getFullYear()),n-i},this.handleKeyDown=function(t){var e=this.activeDate.getDate();if("left"===t)e-=1;else if("up"===t)e-=7;else if("right"===t)e+=1;else if("down"===t)e+=7;else if("pageup"===t||"pagedown"===t){var n=this.activeDate.getMonth()+("pageup"===t?-1:1);this.activeDate.setMonth(n,1),e=Math.min(i(this.activeDate.getFullYear(),this.activeDate.getMonth()),e)}else"home"===t?e=1:"end"===t&&(e=i(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(e)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(t,e,n){this.step={years:1},this.element=e,this.init=function(t){angular.extend(t,this),t.refreshView()},this._refreshView=function(){for(var e,i=new Array(12),o=this.activeDate.getFullYear(),r=0;r<12;r++)e=new Date(this.activeDate),e.setFullYear(o,r,1),i[r]=angular.extend(this.createDateObject(e,this.formatMonth),{uid:t.uniqueId+"-"+r});t.title=n(this.activeDate,this.formatMonthTitle),t.rows=this.split(i,this.monthColumns),t.yearHeaderColspan=this.monthColumns>3?this.monthColumns-2:1},this.compare=function(t,e){var n=new Date(t.getFullYear(),t.getMonth()),i=new Date(e.getFullYear(),e.getMonth());return n.setFullYear(t.getFullYear()),i.setFullYear(e.getFullYear()),n-i},this.handleKeyDown=function(t){var e=this.activeDate.getMonth();if("left"===t)e-=1;else if("up"===t)e-=this.monthColumns;else if("right"===t)e+=1;else if("down"===t)e+=this.monthColumns;else if("pageup"===t||"pagedown"===t){var n=this.activeDate.getFullYear()+("pageup"===t?-1:1);this.activeDate.setFullYear(n)}else"home"===t?e=0:"end"===t&&(e=11);this.activeDate.setMonth(e)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(t,e){function n(t){return parseInt((t-1)/o,10)*o+1}var i,o;this.element=e,this.yearpickerInit=function(){i=this.yearColumns,o=this.yearRows*i,this.step={years:o}},this._refreshView=function(){for(var e,r=new Array(o),s=0,a=n(this.activeDate.getFullYear());s<o;s++)e=new Date(this.activeDate),e.setFullYear(a+s,0,1),r[s]=angular.extend(this.createDateObject(e,this.formatYear),{uid:t.uniqueId+"-"+s});t.title=[r[0].label,r[o-1].label].join(" - "),t.rows=this.split(r,i),t.columns=i},this.compare=function(t,e){return t.getFullYear()-e.getFullYear()},this.handleKeyDown=function(t){var e=this.activeDate.getFullYear();"left"===t?e-=1:"up"===t?e-=i:"right"===t?e+=1:"down"===t?e+=i:"pageup"===t||"pagedown"===t?e+=("pageup"===t?-1:1)*o:"home"===t?e=n(this.activeDate.getFullYear()):"end"===t&&(e=n(this.activeDate.getFullYear())+o-1),this.activeDate.setFullYear(e)}}]).directive("uibDatepicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(t,e,n,i){var o=i[0],r=i[1];o.init(r)}}}).directive("uibDaypicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(t,e,n,i){var o=i[0];i[1].init(o)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(t,e,n,i){var o=i[0];i[1].init(o)}}}).directive("uibYearpicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(t,e,n,i){var o=i[0];angular.extend(o,i[1]),o.yearpickerInit(),o.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(t,e){var n,i,o={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},r={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},s=/(HTML|BODY)/;return{getRawNode:function(t){return t.nodeName?t:t[0]||t},parseStyle:function(t){return t=parseFloat(t),isFinite(t)?t:0},offsetParent:function(n){function i(t){return"static"===(e.getComputedStyle(t).position||"static")}n=this.getRawNode(n);for(var o=n.offsetParent||t[0].documentElement;o&&o!==t[0].documentElement&&i(o);)o=o.offsetParent;return o||t[0].documentElement},scrollbarWidth:function(o){if(o){if(angular.isUndefined(i)){var r=t.find("body");r.addClass("uib-position-body-scrollbar-measure"),i=e.innerWidth-r[0].clientWidth,i=isFinite(i)?i:0,r.removeClass("uib-position-body-scrollbar-measure")}return i}if(angular.isUndefined(n)){var s=angular.element('<div class="uib-position-scrollbar-measure"></div>');t.find("body").append(s),n=s[0].offsetWidth-s[0].clientWidth,n=isFinite(n)?n:0,s.remove()}return n},scrollbarPadding:function(t){t=this.getRawNode(t);var n=e.getComputedStyle(t),i=this.parseStyle(n.paddingRight),o=this.parseStyle(n.paddingBottom),r=this.scrollParent(t,!1,!0),a=this.scrollbarWidth(s.test(r.tagName));return{scrollbarWidth:a,widthOverflow:r.scrollWidth>r.clientWidth,right:i+a,originalRight:i,heightOverflow:r.scrollHeight>r.clientHeight,bottom:o+a,originalBottom:o}},isScrollable:function(t,n){t=this.getRawNode(t);var i=n?o.hidden:o.normal,r=e.getComputedStyle(t);return i.test(r.overflow+r.overflowY+r.overflowX)},scrollParent:function(n,i,r){n=this.getRawNode(n);var s=i?o.hidden:o.normal,a=t[0].documentElement,c=e.getComputedStyle(n);if(r&&s.test(c.overflow+c.overflowY+c.overflowX))return n;var l="absolute"===c.position,u=n.parentElement||a;if(u===a||"fixed"===c.position)return a;for(;u.parentElement&&u!==a;){var d=e.getComputedStyle(u);if(l&&"static"!==d.position&&(l=!1),!l&&s.test(d.overflow+d.overflowY+d.overflowX))break;u=u.parentElement}return u},position:function(n,i){n=this.getRawNode(n);var o=this.offset(n);if(i){var r=e.getComputedStyle(n);o.top-=this.parseStyle(r.marginTop),o.left-=this.parseStyle(r.marginLeft)}var s=this.offsetParent(n),a={top:0,left:0};return s!==t[0].documentElement&&(a=this.offset(s),a.top+=s.clientTop-s.scrollTop,a.left+=s.clientLeft-s.scrollLeft),{width:Math.round(angular.isNumber(o.width)?o.width:n.offsetWidth),height:Math.round(angular.isNumber(o.height)?o.height:n.offsetHeight),top:Math.round(o.top-a.top),left:Math.round(o.left-a.left)}},offset:function(n){n=this.getRawNode(n);var i=n.getBoundingClientRect();return{width:Math.round(angular.isNumber(i.width)?i.width:n.offsetWidth),height:Math.round(angular.isNumber(i.height)?i.height:n.offsetHeight),top:Math.round(i.top+(e.pageYOffset||t[0].documentElement.scrollTop)),left:Math.round(i.left+(e.pageXOffset||t[0].documentElement.scrollLeft))}},viewportOffset:function(n,i,o){n=this.getRawNode(n),o=!1!==o;var r=n.getBoundingClientRect(),s={top:0,left:0,bottom:0,right:0},a=i?t[0].documentElement:this.scrollParent(n),c=a.getBoundingClientRect();if(s.top=c.top+a.clientTop,s.left=c.left+a.clientLeft,a===t[0].documentElement&&(s.top+=e.pageYOffset,s.left+=e.pageXOffset),s.bottom=s.top+a.clientHeight,s.right=s.left+a.clientWidth,o){var l=e.getComputedStyle(a);s.top+=this.parseStyle(l.paddingTop),s.bottom-=this.parseStyle(l.paddingBottom),s.left+=this.parseStyle(l.paddingLeft),s.right-=this.parseStyle(l.paddingRight)}return{top:Math.round(r.top-s.top),bottom:Math.round(s.bottom-r.bottom),left:Math.round(r.left-s.left),right:Math.round(s.right-r.right)}},parsePlacement:function(t){var e=r.auto.test(t);return e&&(t=t.replace(r.auto,"")),t=t.split("-"),t[0]=t[0]||"top",r.primary.test(t[0])||(t[0]="top"),t[1]=t[1]||"center",r.secondary.test(t[1])||(t[1]="center"),t[2]=!!e,t},positionElements:function(t,n,i,o){t=this.getRawNode(t),n=this.getRawNode(n);var s=angular.isDefined(n.offsetWidth)?n.offsetWidth:n.prop("offsetWidth"),a=angular.isDefined(n.offsetHeight)?n.offsetHeight:n.prop("offsetHeight");i=this.parsePlacement(i);var c=o?this.offset(t):this.position(t),l={top:0,left:0,placement:""};if(i[2]){var u=this.viewportOffset(t,o),d=e.getComputedStyle(n),p={width:s+Math.round(Math.abs(this.parseStyle(d.marginLeft)+this.parseStyle(d.marginRight))),height:a+Math.round(Math.abs(this.parseStyle(d.marginTop)+this.parseStyle(d.marginBottom)))};if(i[0]="top"===i[0]&&p.height>u.top&&p.height<=u.bottom?"bottom":"bottom"===i[0]&&p.height>u.bottom&&p.height<=u.top?"top":"left"===i[0]&&p.width>u.left&&p.width<=u.right?"right":"right"===i[0]&&p.width>u.right&&p.width<=u.left?"left":i[0],i[1]="top"===i[1]&&p.height-c.height>u.bottom&&p.height-c.height<=u.top?"bottom":"bottom"===i[1]&&p.height-c.height>u.top&&p.height-c.height<=u.bottom?"top":"left"===i[1]&&p.width-c.width>u.right&&p.width-c.width<=u.left?"right":"right"===i[1]&&p.width-c.width>u.left&&p.width-c.width<=u.right?"left":i[1],"center"===i[1])if(r.vertical.test(i[0])){var h=c.width/2-s/2;u.left+h<0&&p.width-c.width<=u.right?i[1]="left":u.right+h<0&&p.width-c.width<=u.left&&(i[1]="right")}else{var f=c.height/2-p.height/2;u.top+f<0&&p.height-c.height<=u.bottom?i[1]="top":u.bottom+f<0&&p.height-c.height<=u.top&&(i[1]="bottom")}}switch(i[0]){case"top":l.top=c.top-a;break;case"bottom":l.top=c.top+c.height;break;case"left":l.left=c.left-s;break;case"right":l.left=c.left+c.width}switch(i[1]){case"top":l.top=c.top;break;case"bottom":l.top=c.top+c.height-a;break;case"left":l.left=c.left;break;case"right":l.left=c.left+c.width-s;break;case"center":r.vertical.test(i[0])?l.left=c.left+c.width/2-s/2:l.top=c.top+c.height/2-a/2}return l.top=Math.round(l.top),l.left=Math.round(l.left),l.placement="center"===i[1]?i[0]:i[0]+"-"+i[1],l},adjustTop:function(t,e,n,i){if(-1!==t.indexOf("top")&&n!==i)return{top:e.top-i+"px"}},positionArrow:function(t,n){t=this.getRawNode(t);var i=t.querySelector(".tooltip-inner, .popover-inner");if(i){var o=angular.element(i).hasClass("tooltip-inner"),s=o?t.querySelector(".tooltip-arrow"):t.querySelector(".arrow");if(s){var a={top:"",bottom:"",left:"",right:""};if(n=this.parsePlacement(n),"center"===n[1])return void angular.element(s).css(a);var c="border-"+n[0]+"-width",l=e.getComputedStyle(s)[c],u="border-";r.vertical.test(n[0])?u+=n[0]+"-"+n[1]:u+=n[1]+"-"+n[0],u+="-radius";var d=e.getComputedStyle(o?i:t)[u];switch(n[0]){case"top":a.bottom=o?"0":"-"+l;break;case"bottom":a.top=o?"0":"-"+l;break;case"left":a.right=o?"0":"-"+l;break;case"right":a.left=o?"0":"-"+l}a[n[1]]=d,angular.element(s).css(a)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(t,e,n,i,o,r,s,a,c,l,u,d,p,h,f,m){function g(e){var n=d.parse(e,w,t.date);if(isNaN(n))for(var i=0;i<E.length;i++)if(n=d.parse(e,E[i],t.date),!isNaN(n))return n;return n}function v(t){if(angular.isNumber(t)&&(t=new Date(t)),!t)return null;if(angular.isDate(t)&&!isNaN(t))return t;if(angular.isString(t)){var e=g(t);if(!isNaN(e))return d.toTimezone(e,N.timezone)}return O.$options&&O.$options.allowInvalid?t:undefined}function b(t,e){var i=t||e;return!n.ngRequired&&!i||(angular.isNumber(i)&&(i=new Date(i)),!i||(!(!angular.isDate(i)||isNaN(i))||!!angular.isString(i)&&!isNaN(g(i))))}function y(n){if(t.isOpen||!t.disabled){var i=L[0],o=e[0].contains(n.target),r=i.contains!==undefined&&i.contains(n.target);!t.isOpen||o||r||t.$apply(function(){t.isOpen=!1})}}function _(n){27===n.which&&t.isOpen?(n.preventDefault(),n.stopPropagation(),t.$apply(function(){t.isOpen=!1}),e[0].focus()):40!==n.which||t.isOpen||(n.preventDefault(),n.stopPropagation(),t.$apply(function(){t.isOpen=!0}))}function M(){if(t.isOpen){var i=angular.element(L[0].querySelector(".uib-datepicker-popup")),o=n.popupPlacement?n.popupPlacement:p.placement,r=l.positionElements(e,i,o,T);i.css({top:r.top+"px",left:r.left+"px"}),i.hasClass("uib-position-measure")&&i.removeClass("uib-position-measure")}}var w,A,T,k,z,x,$,C,S,O,N,L,E,j=!1,D=[];this.init=function(o){if(O=o,N=angular.isObject(o.$options)?o.$options:{timezone:null},A=angular.isDefined(n.closeOnDateSelection)?t.$parent.$eval(n.closeOnDateSelection):p.closeOnDateSelection,T=angular.isDefined(n.datepickerAppendToBody)?t.$parent.$eval(n.datepickerAppendToBody):p.appendToBody,k=angular.isDefined(n.onOpenFocus)?t.$parent.$eval(n.onOpenFocus):p.onOpenFocus,z=angular.isDefined(n.datepickerPopupTemplateUrl)?n.datepickerPopupTemplateUrl:p.datepickerPopupTemplateUrl,x=angular.isDefined(n.datepickerTemplateUrl)?n.datepickerTemplateUrl:p.datepickerTemplateUrl,E=angular.isDefined(n.altInputFormats)?t.$parent.$eval(n.altInputFormats):p.altInputFormats,t.showButtonBar=angular.isDefined(n.showButtonBar)?t.$parent.$eval(n.showButtonBar):p.showButtonBar,p.html5Types[n.type]?(w=p.html5Types[n.type],j=!0):(w=n.uibDatepickerPopup||p.datepickerPopup,n.$observe("uibDatepickerPopup",function(t){var e=t||p.datepickerPopup;if(e!==w&&(w=e,O.$modelValue=null,!w))throw new Error("uibDatepickerPopup must have a date format specified.")})),!w)throw new Error("uibDatepickerPopup must have a date format specified.");if(j&&n.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");$=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>"),$.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":z}),C=angular.element($.children()[0]),C.attr("template-url",x),t.datepickerOptions||(t.datepickerOptions={}),j&&"month"===n.type&&(t.datepickerOptions.datepickerMode="month",t.datepickerOptions.minMode="month"),C.attr("datepicker-options","datepickerOptions"),j?O.$formatters.push(function(e){return t.date=d.fromTimezone(e,N.timezone),e}):(O.$$parserName="date",O.$validators.date=b,O.$parsers.unshift(v),O.$formatters.push(function(e){return O.$isEmpty(e)?(t.date=e,e):(angular.isNumber(e)&&(e=new Date(e)),t.date=d.fromTimezone(e,N.timezone),d.filter(t.date,w))})),O.$viewChangeListeners.push(function(){t.date=g(O.$viewValue)}),e.on("keydown",_),L=i($)(t),$.remove(),T?a.find("body").append(L):e.after(L),t.$on("$destroy",function(){for(!0===t.isOpen&&(c.$$phase||t.$apply(function(){t.isOpen=!1})),L.remove(),e.off("keydown",_),a.off("click",y),S&&S.off("scroll",M),angular.element(s).off("resize",M);D.length;)D.shift()()})},t.getText=function(e){return t[e+"Text"]||p[e+"Text"]},t.isDisabled=function(e){"today"===e&&(e=d.fromTimezone(new Date,N.timezone));var n={};return angular.forEach(["minDate","maxDate"],function(e){t.datepickerOptions[e]?angular.isDate(t.datepickerOptions[e])?n[e]=new Date(t.datepickerOptions[e]):(m&&o.warn("Literal date support has been deprecated, please switch to date object usage"),n[e]=new Date(u(t.datepickerOptions[e],"medium"))):n[e]=null}),t.datepickerOptions&&n.minDate&&t.compare(e,n.minDate)<0||n.maxDate&&t.compare(e,n.maxDate)>0},t.compare=function(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate())-new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.dateSelection=function(n){t.date=n;var i=t.date?d.filter(t.date,w):null;e.val(i),O.$setViewValue(i),A&&(t.isOpen=!1,e[0].focus())},t.keydown=function(n){27===n.which&&(n.stopPropagation(),t.isOpen=!1,e[0].focus())},t.select=function(e,n){if(n.stopPropagation(),"today"===e){var i=new Date;angular.isDate(t.date)?(e=new Date(t.date),e.setFullYear(i.getFullYear(),i.getMonth(),i.getDate())):(e=d.fromTimezone(i,N.timezone),e.setHours(0,0,0,0))}t.dateSelection(e)},t.close=function(n){n.stopPropagation(),t.isOpen=!1,e[0].focus()},t.disabled=angular.isDefined(n.disabled)||!1,n.ngDisabled&&D.push(t.$parent.$watch(r(n.ngDisabled),function(e){t.disabled=e})),t.$watch("isOpen",function(i){i?t.disabled?t.isOpen=!1:h(function(){M(),k&&t.$broadcast("uib:datepicker.focus"),a.on("click",y);var i=n.popupPlacement?n.popupPlacement:p.placement;T||l.parsePlacement(i)[2]?(S=S||angular.element(l.scrollParent(e)))&&S.on("scroll",M):S=null,angular.element(s).on("resize",M)},0,!1):(a.off("click",y),S&&S.off("scroll",M),angular.element(s).off("resize",M))}),t.$on("uib:datepicker.mode",function(){h(M,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(t,e,n,i){var o=i[0];i[1].init(o)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(t){return function(e,n){var i;return function(){var o=this,r=Array.prototype.slice.call(arguments);i&&t.cancel(i),i=t(function(){e.apply(o,r)},n)}}}]),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var t={};return{entries:function(){return Object.keys(t).map(function(e){return{key:e,value:t[e]}})},get:function(e){return t[e]},hasKey:function(e){return!!t[e]},keys:function(){return Object.keys(t)},put:function(e,n){t[e]||(t[e]=[]),t[e].push(n)},remove:function(e,n){var i=t[e];if(i){var o=i.indexOf(n);-1!==o&&i.splice(o,1),i.length||delete t[e]}}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(t,e,n){var i=null,o=n.createNew();this.isOnlyOpen=function(t,e){var n=o.get(e);if(n){if(n.reduce(function(e,n){return n.scope===t?n:e},{}))return 1===n.length}return!1},this.open=function(e,n,s){if(i||t.on("click",r),i&&i!==e&&(i.isOpen=!1),i=e,s){var a=o.get(s);if(a){-1===a.map(function(t){return t.scope}).indexOf(e)&&o.put(s,{scope:e})}else o.put(s,{scope:e})}},this.close=function(e,n,s){if(i===e&&(t.off("click",r),t.off("keydown",this.keybindFilter),i=null),s){var a=o.get(s);if(a){var c=a.reduce(function(t,n){return n.scope===e?n:t},{});c&&o.remove(s,c)}}};var r=function(t){if(i&&!(t&&"disabled"===i.getAutoClose()||t&&3===t.which)){var n=i.getToggleElement();if(!(t&&n&&n[0].contains(t.target))){var o=i.getDropdownElement();t&&"outsideClick"===i.getAutoClose()&&o&&o[0].contains(t.target)||(i.focusToggleElement(),i.isOpen=!1,e.$$phase||i.$apply())}}};this.keybindFilter=function(t){if(i){var e=i.getDropdownElement(),n=i.getToggleElement(),o=e&&e[0].contains(t.target),s=n&&n[0].contains(t.target);27===t.which?(t.stopPropagation(),i.focusToggleElement(),r()):i.isKeynavEnabled()&&-1!==[38,40].indexOf(t.which)&&i.isOpen&&(o||s)&&(t.preventDefault(),t.stopPropagation(),i.focusDropdownEntry(t.which))}}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(t,e,n,i,o,r,s,a,c,l,u){var d,p,h=this,f=t.$new(),m=o.appendToOpenClass,g=o.openClass,v=angular.noop,b=n.onToggle?i(n.onToggle):angular.noop,y=!1,_=null,M=!1,w=c.find("body");e.addClass("dropdown"),this.init=function(){if(n.isOpen&&(p=i(n.isOpen),v=p.assign,t.$watch(p,function(t){f.isOpen=!!t})),angular.isDefined(n.dropdownAppendTo)){var o=i(n.dropdownAppendTo)(f);o&&(_=angular.element(o))}y=angular.isDefined(n.dropdownAppendToBody),M=angular.isDefined(n.keyboardNav),y&&!_&&(_=w),_&&h.dropdownMenu&&(_.append(h.dropdownMenu),e.on("$destroy",function(){h.dropdownMenu.remove()}))},this.toggle=function(t){return f.isOpen=arguments.length?!!t:!f.isOpen,angular.isFunction(v)&&v(f,f.isOpen),f.isOpen},this.isOpen=function(){return f.isOpen},f.getToggleElement=function(){return h.toggleElement},f.getAutoClose=function(){return n.autoClose||"always"},f.getElement=function(){return e},f.isKeynavEnabled=function(){return M},f.focusDropdownEntry=function(t){var n=h.dropdownMenu?angular.element(h.dropdownMenu).find("a"):e.find("ul").eq(0).find("a");switch(t){case 40:angular.isNumber(h.selectedOption)?h.selectedOption=h.selectedOption===n.length-1?h.selectedOption:h.selectedOption+1:h.selectedOption=0;break;case 38:angular.isNumber(h.selectedOption)?h.selectedOption=0===h.selectedOption?0:h.selectedOption-1:h.selectedOption=n.length-1}n[h.selectedOption].focus()},f.getDropdownElement=function(){return h.dropdownMenu},f.focusToggleElement=function(){h.toggleElement&&h.toggleElement[0].focus()},f.$watch("isOpen",function(n,i){if(_&&h.dropdownMenu){var o,p,M,w=a.positionElements(e,h.dropdownMenu,"bottom-left",!0),A=0;if(o={top:w.top+"px",display:n?"block":"none"},p=h.dropdownMenu.hasClass("dropdown-menu-right"),p?(o.left="auto",M=a.scrollbarPadding(_),M.heightOverflow&&M.scrollbarWidth&&(A=M.scrollbarWidth),o.right=window.innerWidth-A-(w.left+e.prop("offsetWidth"))+"px"):(o.left=w.left+"px",o.right="auto"),!y){var T=a.offset(_);o.top=w.top-T.top+"px",p?o.right=window.innerWidth-(w.left-T.left+e.prop("offsetWidth"))+"px":o.left=w.left-T.left+"px"}h.dropdownMenu.css(o)}var k=_||e,z=_?m:g,x=k.hasClass(z),$=r.isOnlyOpen(t,_);if(x===!n){var C;C=_?$?"removeClass":"addClass":n?"addClass":"removeClass",s[C](k,z).then(function(){angular.isDefined(n)&&n!==i&&b(t,{open:!!n})})}if(n)h.dropdownMenuTemplateUrl?u(h.dropdownMenuTemplateUrl).then(function(t){d=f.$new(),l(t.trim())(d,function(t){var e=t;h.dropdownMenu.replaceWith(e),h.dropdownMenu=e,c.on("keydown",r.keybindFilter)})}):c.on("keydown",r.keybindFilter),f.focusToggleElement(),r.open(f,e,_);else{if(r.close(f,e,_),h.dropdownMenuTemplateUrl){d&&d.$destroy();var S=angular.element('<ul class="dropdown-menu"></ul>');h.dropdownMenu.replaceWith(S),h.dropdownMenu=S}h.selectedOption=null}angular.isFunction(v)&&v(t,n)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(t,e,n,i){i.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(t,e,n,i){if(i&&!angular.isDefined(n.dropdownNested)){e.addClass("dropdown-menu");var o=n.templateUrl;o&&(i.dropdownMenuTemplateUrl=o),i.dropdownMenu||(i.dropdownMenu=e)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(t,e,n,i){if(i){e.addClass("dropdown-toggle"),i.toggleElement=e;var o=function(o){o.preventDefault(),e.hasClass("disabled")||n.disabled||t.$apply(function(){i.toggle()})};e.on("click",o),e.attr({"aria-haspopup":!0,"aria-expanded":!1}),t.$watch(i.isOpen,function(t){e.attr("aria-expanded",!!t)}),t.$on("$destroy",function(){e.off("click",o)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var t=[];return{add:function(e,n){t.push({key:e,value:n})},get:function(e){for(var n=0;n<t.length;n++)if(e===t[n].key)return t[n]},keys:function(){for(var e=[],n=0;n<t.length;n++)e.push(t[n].key);return e},top:function(){return t[t.length-1]},remove:function(e){for(var n=-1,i=0;i<t.length;i++)if(e===t[i].key){n=i;break}return t.splice(n,1)[0]},removeTop:function(){return t.pop()},length:function(){return t.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var t=this;this.resolver=null,this.setResolver=function(t){this.resolver=t},this.$get=["$injector","$q",function(e,n){var i=t.resolver?e.get(t.resolver):null;return{resolve:function(t,o,r,s){if(i)return i.resolve(t,o,r,s);var a=[];return angular.forEach(t,function(t){angular.isFunction(t)||angular.isArray(t)?a.push(n.resolve(e.invoke(t))):angular.isString(t)?a.push(n.resolve(e.get(t))):a.push(n.resolve(t))}),n.all(a).then(function(e){var n={},i=0;return angular.forEach(t,function(t,o){n[o]=e[i++]}),n})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(t,e,n){function i(e,i,o){o.modalInClass&&(t.addClass(i,o.modalInClass),e.$on(n.NOW_CLOSING_EVENT,function(n,r){var s=r();e.modalOptions.animation?t.removeClass(i,o.modalInClass).then(s):s()}))}return{restrict:"A",compile:function(t,e){return t.addClass(e.backdropClass),i}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(t,e,n,i){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"uib/template/modal/window.html"},link:function(o,r,s){r.addClass(s.windowTopClass||""),o.size=s.size,o.close=function(e){var n=t.getTop();n&&n.value.backdrop&&"static"!==n.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),t.dismiss(n.key,"backdrop click"))},r.on("click",o.close),o.$isRendered=!0;var a=e.defer();o.$$postDigest(function(){a.resolve()}),a.promise.then(function(){var a=null;s.modalInClass&&(a=n(r,{addClass:s.modalInClass}).start(),o.$on(t.NOW_CLOSING_EVENT,function(t,e){var i=e();n(r,{removeClass:s.modalInClass}).start().then(i)})),e.when(a).then(function(){var e=t.getTop();if(e&&t.modalRendered(e.key),!i[0].activeElement||!r[0].contains(i[0].activeElement)){var n=r[0].querySelector("[autofocus]");n?n.focus():r[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(t,e){e.modalAnimation&&t.addClass(e.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(t){return{link:function(e,n,i,o,r){r(e.$parent,function(e){n.empty(),t.enter(e,n)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(t,e,n,i,o,r,s,a,c){function l(t){return t.replace(S,function(t,e){return(e?"-":"")+t.toLowerCase()})}function u(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function d(){for(var t=-1,e=A.keys(),n=0;n<e.length;n++)A.get(e[n]).value.backdrop&&(t=n);return t>-1&&t<z&&(t=z),t}function p(t,e){var n=A.get(t).value,i=n.appendTo;A.remove(t),x=A.top(),x&&(z=parseInt(x.value.modalDomEl.attr("index"),10)),m(n.modalDomEl,n.modalScope,function(){var e=n.openedClass||w;T.remove(e,t);var o=T.hasKey(e);i.toggleClass(e,o),!o&&M&&M.heightOverflow&&M.scrollbarWidth&&(M.originalRight?i.css({paddingRight:M.originalRight+"px"}):i.css({paddingRight:""}),M=null),h(!0)},n.closedDeferred),f(),e&&e.focus?e.focus():i.focus&&i.focus()}function h(t){var e;A.length()>0&&(e=A.top().value,e.modalDomEl.toggleClass(e.windowTopClass||"",t))}function f(){if(y&&-1===d()){var t=_;m(y,_,function(){t=null}),y=undefined,_=undefined}}function m(e,n,i,o){function s(){s.done||(s.done=!0,t.leave(e).then(function(){i&&i(),e.remove(),o&&o.resolve()}),n.$destroy())}var a,c=null,l=function(){return a||(a=r.defer(),c=a.promise),function(){a.resolve()}};return n.$broadcast(k.NOW_CLOSING_EVENT,l),r.when(c).then(s)}function g(t){if(t.isDefaultPrevented())return t;var e=A.top();if(e)switch(t.which){case 27:e.value.keyboard&&(t.preventDefault(),o.$apply(function(){k.dismiss(e.key,"escape key press")}));break;case 9:var n=k.loadFocusElementList(e),i=!1;t.shiftKey?(k.isFocusInFirstItem(t,n)||k.isModalFocused(t,e))&&(i=k.focusLastFocusableElement(n)):k.isFocusInLastItem(t,n)&&(i=k.focusFirstFocusableElement(n)),i&&(t.preventDefault(),t.stopPropagation())}}function v(t,e,n){return!t.value.modalScope.$broadcast("modal.closing",e,n).defaultPrevented}function b(){Array.prototype.forEach.call(document.querySelectorAll("["+$+"]"),function(t){var e=parseInt(t.getAttribute($),10),n=e-1;t.setAttribute($,n),n||(t.removeAttribute($),t.removeAttribute("aria-hidden"))})}var y,_,M,w="modal-open",A=a.createNew(),T=s.createNew(),k={NOW_CLOSING_EVENT:"modal.stack.now-closing"},z=0,x=null,$="data-bootstrap-modal-aria-hidden-count",C="a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]",S=/[A-Z]/g;return o.$watch(d,function(t){_&&(_.index=t)}),n.on("keydown",g),o.$on("$destroy",function(){n.off("keydown",g)}),k.open=function(e,r){function s(t){function e(t){var e=t.parent()?t.parent().children():[];return Array.prototype.filter.call(e,function(e){return e!==t[0]})}if(t&&"BODY"!==t[0].tagName)return e(t).forEach(function(t){var e="true"===t.getAttribute("aria-hidden"),n=parseInt(t.getAttribute($),10);n||(n=e?1:0),t.setAttribute($,n+1),t.setAttribute("aria-hidden","true")}),s(t.parent())}var a=n[0].activeElement,u=r.openedClass||w;h(!1),x=A.top(),A.add(e,{deferred:r.deferred,renderDeferred:r.renderDeferred,closedDeferred:r.closedDeferred,modalScope:r.scope,backdrop:r.backdrop,keyboard:r.keyboard,openedClass:r.openedClass,windowTopClass:r.windowTopClass,animation:r.animation,appendTo:r.appendTo}),T.put(u,e);var p=r.appendTo,f=d();if(!p.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");f>=0&&!y&&(_=o.$new(!0),_.modalOptions=r,_.index=f,y=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>'),y.attr({"class":"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),r.backdropClass&&y.addClass(r.backdropClass),r.animation&&y.attr("modal-animation","true"),i(y)(_),t.enter(y,p),c.isScrollable(p)&&(M=c.scrollbarPadding(p),M.heightOverflow&&M.scrollbarWidth&&p.css({paddingRight:M.right+"px"})));var m;r.component?(m=document.createElement(l(r.component.name)),m=angular.element(m),m.attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):m=r.content,z=x?parseInt(x.value.modalDomEl.attr("index"),10)+1:0;var g=angular.element('<div uib-modal-window="modal-window"></div>');g.attr({"class":"modal","template-url":r.windowTemplateUrl,"window-top-class":r.windowTopClass,role:"dialog","aria-labelledby":r.ariaLabelledBy,"aria-describedby":r.ariaDescribedBy,size:r.size,index:z,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(m),r.windowClass&&g.addClass(r.windowClass),r.animation&&g.attr("modal-animation","true"),p.addClass(u),r.scope&&(r.scope.$$topModalIndex=z),t.enter(i(g)(r.scope),p),A.top().value.modalDomEl=g,A.top().value.modalOpener=a,s(g)},k.close=function(t,e){var n=A.get(t);return b(),n&&v(n,e,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(e),p(t,n.value.modalOpener),!0):!n},k.dismiss=function(t,e){var n=A.get(t);return b(),n&&v(n,e,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(e),p(t,n.value.modalOpener),!0):!n},k.dismissAll=function(t){for(var e=this.getTop();e&&this.dismiss(e.key,t);)e=this.getTop()},k.getTop=function(){return A.top()},k.modalRendered=function(t){var e=A.get(t);e&&e.value.renderDeferred.resolve()},k.focusFirstFocusableElement=function(t){
return t.length>0&&(t[0].focus(),!0)},k.focusLastFocusableElement=function(t){return t.length>0&&(t[t.length-1].focus(),!0)},k.isModalFocused=function(t,e){if(t&&e){var n=e.value.modalDomEl;if(n&&n.length)return(t.target||t.srcElement)===n[0]}return!1},k.isFocusInFirstItem=function(t,e){return e.length>0&&(t.target||t.srcElement)===e[0]},k.isFocusInLastItem=function(t,e){return e.length>0&&(t.target||t.srcElement)===e[e.length-1]},k.loadFocusElementList=function(t){if(t){var e=t.value.modalDomEl;if(e&&e.length){var n=e[0].querySelectorAll(C);return n?Array.prototype.filter.call(n,function(t){return u(t)}):n}}},k}]).provider("$uibModal",function(){var t={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(e,n,i,o,r,s,a){function c(t){return t.template?n.when(t.template):o(angular.isFunction(t.templateUrl)?t.templateUrl():t.templateUrl)}var l={},u=null;return l.getPromiseChain=function(){return u},l.open=function(o){function l(){return g}var d=n.defer(),p=n.defer(),h=n.defer(),f=n.defer(),m={result:d.promise,opened:p.promise,closed:h.promise,rendered:f.promise,close:function(t){return a.close(m,t)},dismiss:function(t){return a.dismiss(m,t)}};if(o=angular.extend({},t.options,o),o.resolve=o.resolve||{},o.appendTo=o.appendTo||i.find("body").eq(0),!o.component&&!o.template&&!o.templateUrl)throw new Error("One of component or template or templateUrl options is required.");var g;g=o.component?n.when(s.resolve(o.resolve,{},null,null)):n.all([c(o),s.resolve(o.resolve,{},null,null)]);var v;return v=u=n.all([u]).then(l,l).then(function(t){function n(e,n,i,o){e.$scope=s,e.$scope.$resolve={},i?e.$scope.$uibModalInstance=m:e.$uibModalInstance=m;var r=n?t[1]:t;angular.forEach(r,function(t,n){o&&(e[n]=t),e.$scope.$resolve[n]=t})}var i=o.scope||e,s=i.$new();s.$close=m.close,s.$dismiss=m.dismiss,s.$on("$destroy",function(){s.$$uibDestructionScheduled||s.$dismiss("$uibUnscheduledDestruction")});var c,l,u={scope:s,deferred:d,renderDeferred:f,closedDeferred:h,animation:o.animation,backdrop:o.backdrop,keyboard:o.keyboard,backdropClass:o.backdropClass,windowTopClass:o.windowTopClass,windowClass:o.windowClass,windowTemplateUrl:o.windowTemplateUrl,ariaLabelledBy:o.ariaLabelledBy,ariaDescribedBy:o.ariaDescribedBy,size:o.size,openedClass:o.openedClass,appendTo:o.appendTo},g={},v={};o.component?(n(g,!1,!0,!1),g.name=o.component,u.component=g):o.controller&&(n(v,!0,!1,!0),l=r(o.controller,v,!0,o.controllerAs),o.controllerAs&&o.bindToController&&(c=l.instance,c.$close=s.$close,c.$dismiss=s.$dismiss,angular.extend(c,{$resolve:v.$scope.$resolve},i)),c=l(),angular.isFunction(c.$onInit)&&c.$onInit()),o.component||(u.content=t[0]),a.open(m,u),p.resolve(!0)},function(t){p.reject(t),d.reject(t)})["finally"](function(){u===v&&(u=null)}),m},l}]};return t}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(t){return{create:function(e,n,i){e.setNumPages=i.numPages?t(i.numPages).assign:angular.noop,e.ngModelCtrl={$setViewValue:angular.noop},e._watchers=[],e.init=function(t,o){e.ngModelCtrl=t,e.config=o,t.$render=function(){e.render()},i.itemsPerPage?e._watchers.push(n.$parent.$watch(i.itemsPerPage,function(t){e.itemsPerPage=parseInt(t,10),n.totalPages=e.calculateTotalPages(),e.updatePage()})):e.itemsPerPage=o.itemsPerPage,n.$watch("totalItems",function(t,i){(angular.isDefined(t)||t!==i)&&(n.totalPages=e.calculateTotalPages(),e.updatePage())})},e.calculateTotalPages=function(){var t=e.itemsPerPage<1?1:Math.ceil(n.totalItems/e.itemsPerPage);return Math.max(t||0,1)},e.render=function(){n.page=parseInt(e.ngModelCtrl.$viewValue,10)||1},n.selectPage=function(t,i){i&&i.preventDefault(),(!n.ngDisabled||!i)&&n.page!==t&&t>0&&t<=n.totalPages&&(i&&i.target&&i.target.blur(),e.ngModelCtrl.$setViewValue(t),e.ngModelCtrl.$render())},n.getText=function(t){return n[t+"Text"]||e.config[t+"Text"]},n.noPrevious=function(){return 1===n.page},n.noNext=function(){return n.page===n.totalPages},e.updatePage=function(){e.setNumPages(n.$parent,n.totalPages),n.page>n.totalPages?n.selectPage(n.totalPages):e.ngModelCtrl.$render()},n.$on("$destroy",function(){for(;e._watchers.length;)e._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(t,e,n,i){t.align=angular.isDefined(e.align)?t.$parent.$eval(e.align):i.align,n.create(this,t,e)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"\xab Previous",nextText:"Next \xbb",align:!0}).directive("uibPager",["uibPagerConfig",function(t){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(t,e){return e.templateUrl||"uib/template/pager/pager.html"},link:function(e,n,i,o){n.addClass("pager");var r=o[0],s=o[1];s&&r.init(s,t)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(t,e,n,i,o){function r(t,e,n){return{number:t,text:e,active:n}}function s(t,e){var n=[],i=1,o=e,s=angular.isDefined(c)&&c<e;s&&(l?(i=Math.max(t-Math.floor(c/2),1),(o=i+c-1)>e&&(o=e,i=o-c+1)):(i=(Math.ceil(t/c)-1)*c+1,o=Math.min(i+c-1,e)));for(var a=i;a<=o;a++){var h=r(a,p(a),a===t);n.push(h)}if(s&&c>0&&(!l||u||d)){if(i>1){if(!d||i>3){var f=r(i-1,"...",!1);n.unshift(f)}if(d){if(3===i){var m=r(2,"2",!1);n.unshift(m)}var g=r(1,"1",!1);n.unshift(g)}}if(o<e){if(!d||o<e-2){var v=r(o+1,"...",!1);n.push(v)}if(d){if(o===e-2){var b=r(e-1,e-1,!1);n.push(b)}var y=r(e,e,!1);n.push(y)}}}return n}var a=this,c=angular.isDefined(e.maxSize)?t.$parent.$eval(e.maxSize):o.maxSize,l=angular.isDefined(e.rotate)?t.$parent.$eval(e.rotate):o.rotate,u=angular.isDefined(e.forceEllipses)?t.$parent.$eval(e.forceEllipses):o.forceEllipses,d=angular.isDefined(e.boundaryLinkNumbers)?t.$parent.$eval(e.boundaryLinkNumbers):o.boundaryLinkNumbers,p=angular.isDefined(e.pageLabel)?function(n){return t.$parent.$eval(e.pageLabel,{$page:n})}:angular.identity;t.boundaryLinks=angular.isDefined(e.boundaryLinks)?t.$parent.$eval(e.boundaryLinks):o.boundaryLinks,t.directionLinks=angular.isDefined(e.directionLinks)?t.$parent.$eval(e.directionLinks):o.directionLinks,i.create(this,t,e),e.maxSize&&a._watchers.push(t.$parent.$watch(n(e.maxSize),function(t){c=parseInt(t,10),a.render()}));var h=this.render;this.render=function(){h(),t.page>0&&t.page<=t.totalPages&&(t.pages=s(t.page,t.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(t,e){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],restrict:"A",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(t,e){return e.templateUrl||"uib/template/pagination/pagination.html"},link:function(t,n,i,o){n.addClass("pagination");var r=o[0],s=o[1];s&&r.init(s,e)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function t(t){var e=/[A-Z]/g;return t.replace(e,function(t,e){return(e?"-":"")+t.toLowerCase()})}var e={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},i={};this.options=function(t){angular.extend(i,t)},this.setTriggers=function(t){angular.extend(n,t)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(o,r,s,a,c,l,u,d,p){function h(t){if(27===t.which){var e=f.top();e&&(e.value.close(),e=null)}}var f=p.createNew();return a.on("keyup",h),u.$on("$destroy",function(){a.off("keyup",h)}),function(o,u,p,h){function m(t){var e=(t||h.trigger||p).split(" ");return{show:e,hide:e.map(function(t){return n[t]||t})}}h=angular.extend({},e,i,h);var g=t(o),v=l.startSymbol(),b=l.endSymbol(),y="<div "+g+'-popup uib-title="'+v+"title"+b+'" '+(h.useContentExp?'content-exp="contentExp()" ':'content="'+v+"content"+b+'" ')+'origin-scope="origScope" class="uib-position-measure '+u+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(){var t=r(y);return function(e,n,i){function r(){B.isOpen?p():l()}function l(){P&&!e.$eval(i[u+"Enable"])||(y(),w(),B.popupDelay?O||(O=s(g,B.popupDelay,!1)):g())}function p(){v(),B.popupCloseDelay?N||(N=s(b,B.popupCloseDelay,!1)):b()}function g(){if(v(),y(),!B.content)return angular.noop;_(),B.$evalAsync(function(){B.isOpen=!0,A(!0),F()})}function v(){O&&(s.cancel(O),O=null),L&&(s.cancel(L),L=null)}function b(){B&&B.$evalAsync(function(){B&&(B.isOpen=!1,A(!1),B.animation?S||(S=s(M,150,!1)):M())})}function y(){N&&(s.cancel(N),N=null),S&&(s.cancel(S),S=null)}function _(){$||(C=B.$new(),$=t(C,function(t){D?a.find("body").append(t):n.after(t)}),f.add(B,{close:b}),T())}function M(){v(),y(),k(),$&&($.remove(),$=null,E&&s.cancel(E)),f.remove(B),C&&(C.$destroy(),C=null)}function w(){B.title=i[u+"Title"],B.content=R?R(e):i[o],B.popupClass=i[u+"Class"],B.placement=angular.isDefined(i[u+"Placement"])?i[u+"Placement"]:h.placement;var t=c.parsePlacement(B.placement);j=t[1]?t[0]+"-"+t[1]:t[0];var n=parseInt(i[u+"PopupDelay"],10),r=parseInt(i[u+"PopupCloseDelay"],10);B.popupDelay=isNaN(n)?h.popupDelay:n,B.popupCloseDelay=isNaN(r)?h.popupCloseDelay:r}function A(t){W&&angular.isFunction(W.assign)&&W.assign(e,t)}function T(){X.length=0,R?(X.push(e.$watch(R,function(t){B.content=t,!t&&B.isOpen&&b()})),X.push(C.$watch(function(){I||(I=!0,C.$$postDigest(function(){I=!1,B&&B.isOpen&&F()}))}))):X.push(i.$observe(o,function(t){B.content=t,!t&&B.isOpen?b():F()})),X.push(i.$observe(u+"Title",function(t){B.title=t,B.isOpen&&F()})),X.push(i.$observe(u+"Placement",function(t){B.placement=t||h.placement,B.isOpen&&F()}))}function k(){X.length&&(angular.forEach(X,function(t){t()}),X.length=0)}function z(t){B&&B.isOpen&&$&&(n[0].contains(t.target)||$[0].contains(t.target)||p())}function x(){var t=[],o=[],s=e.$eval(i[u+"Trigger"]);H(),angular.isObject(s)?(Object.keys(s).forEach(function(e){t.push(e),o.push(s[e])}),q={show:t,hide:o}):q=m(s),"none"!==q.show&&q.show.forEach(function(t,e){"outsideClick"===t?(n.on("click",r),a.on("click",z)):t===q.hide[e]?n.on(t,r):t&&(n.on(t,l),n.on(q.hide[e],p)),n.on("keypress",function(t){27===t.which&&p()})})}var $,C,S,O,N,L,E,j,D=!!angular.isDefined(h.appendToBody)&&h.appendToBody,q=m(undefined),P=angular.isDefined(i[u+"Enable"]),B=e.$new(!0),I=!1,W=!!angular.isDefined(i[u+"IsOpen"])&&d(i[u+"IsOpen"]),R=!!h.useContentExp&&d(i[o]),X=[],F=function(){$&&$.html()&&(L||(L=s(function(){var t=c.positionElements(n,$,B.placement,D),e=angular.isDefined($.offsetHeight)?$.offsetHeight:$.prop("offsetHeight"),i=D?c.offset(n):c.position(n);$.css({top:t.top+"px",left:t.left+"px"});var o=t.placement.split("-");$.hasClass(o[0])||($.removeClass(j.split("-")[0]),$.addClass(o[0])),$.hasClass(h.placementClassPrefix+t.placement)||($.removeClass(h.placementClassPrefix+j),$.addClass(h.placementClassPrefix+t.placement)),E=s(function(){var t=angular.isDefined($.offsetHeight)?$.offsetHeight:$.prop("offsetHeight"),n=c.adjustTop(o,i,e,t);n&&$.css(n),E=null},0,!1),$.hasClass("uib-position-measure")?(c.positionArrow($,t.placement),$.removeClass("uib-position-measure")):j!==t.placement&&c.positionArrow($,t.placement),j=t.placement,L=null},0,!1)))};B.origScope=e,B.isOpen=!1,B.contentExp=function(){return B.content},i.$observe("disabled",function(t){t&&v(),t&&B.isOpen&&b()}),W&&e.$watch(W,function(t){B&&!t===B.isOpen&&r()});var H=function(){q.show.forEach(function(t){"outsideClick"===t?n.off("click",r):(n.off(t,l),n.off(t,r))}),q.hide.forEach(function(t){"outsideClick"===t?a.off("click",z):n.off(t,p)})};x();var U=e.$eval(i[u+"Animation"]);B.animation=angular.isDefined(U)?!!U:h.animation;var V,Y=u+"AppendToBody";V=Y in i&&i[Y]===undefined||e.$eval(i[Y]),D=angular.isDefined(V)?V:D,e.$on("$destroy",function(){H(),M(),B=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(t,e,n,i){return{link:function(o,r,s){var a,c,l,u=o.$eval(s.tooltipTemplateTranscludeScope),d=0,p=function(){c&&(c.remove(),c=null),a&&(a.$destroy(),a=null),l&&(t.leave(l).then(function(){c=null}),c=l,l=null)};o.$watch(e.parseAsResourceUrl(s.uibTooltipTemplateTransclude),function(e){var s=++d;e?(i(e,!0).then(function(i){if(s===d){var o=u.$new(),c=i,h=n(c)(o,function(e){p(),t.enter(e,r)});a=o,l=h,a.$emit("$includeContentLoaded",e)}},function(){s===d&&(p(),o.$emit("$includeContentError",e))}),o.$emit("$includeContentRequested",e)):p()}),o.$on("$destroy",p)}}}]).directive("uibTooltipClasses",["$uibPosition",function(t){return{restrict:"A",link:function(e,n,i){if(e.placement){var o=t.parsePlacement(e.placement);n.addClass(o[0])}e.popupClass&&n.addClass(e.popupClass),e.animation&&n.addClass(i.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(t){return t("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(t){return t("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(t){return t("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(t){return t("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(t){return t("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(t){return t("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(t,e,n){function i(){return angular.isDefined(t.maxParam)?t.maxParam:n.max}var o=this,r=angular.isDefined(e.animate)?t.$parent.$eval(e.animate):n.animate;this.bars=[],t.max=i(),this.addBar=function(t,e,n){r||e.css({transition:"none"}),this.bars.push(t),t.max=i(),t.title=n&&angular.isDefined(n.title)?n.title:"progressbar",t.$watch("value",function(){t.recalculatePercentage()}),t.recalculatePercentage=function(){var e=o.bars.reduce(function(t,e){return e.percent=+(100*e.value/e.max).toFixed(2),t+e.percent},0);e>100&&(t.percent-=e-100)},t.$on("$destroy",function(){e=null,o.removeBar(t)})},this.removeBar=function(t){this.bars.splice(this.bars.indexOf(t),1),this.bars.forEach(function(t){t.recalculatePercentage()})},t.$watch("maxParam",function(){o.bars.forEach(function(t){t.max=i(),t.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(t,e,n,i){i.addBar(t,e,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(t,e,n,i){i.addBar(t,angular.element(e.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(t,e,n){var i={$setViewValue:angular.noop},o=this;this.init=function(o){i=o,i.$render=this.render,i.$formatters.push(function(t){return angular.isNumber(t)&&t<<0!==t&&(t=Math.round(t)),t}),this.stateOn=angular.isDefined(e.stateOn)?t.$parent.$eval(e.stateOn):n.stateOn,this.stateOff=angular.isDefined(e.stateOff)?t.$parent.$eval(e.stateOff):n.stateOff,this.enableReset=angular.isDefined(e.enableReset)?t.$parent.$eval(e.enableReset):n.enableReset;var r=angular.isDefined(e.titles)?t.$parent.$eval(e.titles):n.titles;this.titles=angular.isArray(r)&&r.length>0?r:n.titles;var s=angular.isDefined(e.ratingStates)?t.$parent.$eval(e.ratingStates):new Array(angular.isDefined(e.max)?t.$parent.$eval(e.max):n.max);t.range=this.buildTemplateObjects(s)},this.buildTemplateObjects=function(t){for(var e=0,n=t.length;e<n;e++)t[e]=angular.extend({index:e},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(e)},t[e]);return t},this.getTitle=function(t){return t>=this.titles.length?t+1:this.titles[t]},t.rate=function(e){if(!t.readonly&&e>=0&&e<=t.range.length){var n=o.enableReset&&i.$viewValue===e?0:e;i.$setViewValue(n),i.$render()}},t.enter=function(e){t.readonly||(t.value=e),t.onHover({value:e})},t.reset=function(){t.value=i.$viewValue,t.onLeave()},t.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),t.rate(t.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){t.value=i.$viewValue,t.title=o.getTitle(t.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",link:function(t,e,n,i){var o=i[0],r=i[1];o.init(r)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(t){function e(t){for(var e=0;e<i.tabs.length;e++)if(i.tabs[e].index===t)return e}var n,i=this;i.tabs=[],i.select=function(t,r){if(!o){var s=e(n),a=i.tabs[s];if(a){if(a.tab.onDeselect({$event:r,$selectedIndex:t}),r&&r.isDefaultPrevented())return;a.tab.active=!1}var c=i.tabs[t];c?(c.tab.onSelect({$event:r}),c.tab.active=!0,i.active=c.index,n=c.index):!c&&angular.isDefined(n)&&(i.active=null,n=null)}},i.addTab=function(t){if(i.tabs.push({tab:t,index:t.index}),i.tabs.sort(function(t,e){return t.index>e.index?1:t.index<e.index?-1:0}),t.index===i.active||!angular.isDefined(i.active)&&1===i.tabs.length){var n=e(t.index);i.select(n)}},i.removeTab=function(t){for(var e,n=0;n<i.tabs.length;n++)if(i.tabs[n].tab===t){e=n;break}if(i.tabs[e].index===i.active){var o=e===i.tabs.length-1?e-1:e+1%i.tabs.length;i.select(o)}i.tabs.splice(e,1)},t.$watch("tabset.active",function(t){angular.isDefined(t)&&t!==n&&i.select(e(t))});var o;t.$on("$destroy",function(){o=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(t,e){return e.templateUrl||"uib/template/tabs/tabset.html"},link:function(t,e,n){t.vertical=!!angular.isDefined(n.vertical)&&t.$parent.$eval(n.vertical),t.justified=!!angular.isDefined(n.justified)&&t.$parent.$eval(n.justified)}}}).directive("uibTab",["$parse",function(t){return{require:"^uibTabset",replace:!0,templateUrl:function(t,e){return e.templateUrl||"uib/template/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(e,n,i,o,r){e.disabled=!1,i.disable&&e.$parent.$watch(t(i.disable),function(t){e.disabled=!!t}),angular.isUndefined(i.index)&&(o.tabs&&o.tabs.length?e.index=Math.max.apply(null,o.tabs.map(function(t){return t.index}))+1:e.index=0),angular.isUndefined(i.classes)&&(e.classes=""),e.select=function(t){if(!e.disabled){for(var n,i=0;i<o.tabs.length;i++)if(o.tabs[i].tab===e){n=i;break}o.select(n,t)}},o.addTab(e),e.$on("$destroy",function(){o.removeTab(e)}),e.$transcludeFn=r}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(t,e){t.$watch("headingElement",function(t){t&&(e.html(""),e.append(t))})}}}).directive("uibTabContentTransclude",function(){function t(t){return t.tagName&&(t.hasAttribute("uib-tab-heading")||t.hasAttribute("data-uib-tab-heading")||t.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===t.tagName.toLowerCase()||"data-uib-tab-heading"===t.tagName.toLowerCase()||"x-uib-tab-heading"===t.tagName.toLowerCase()||"uib:tab-heading"===t.tagName.toLowerCase())}return{restrict:"A",require:"^uibTabset",link:function(e,n,i){var o=e.$eval(i.uibTabContentTransclude).tab;o.$transcludeFn(o.$parent,function(e){angular.forEach(e,function(e){t(e)?o.headingElement=e:n.append(e)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(t,e,n,i,o,r,s){function a(){var e=+t.hours;return(t.showMeridian?e>0&&e<13:e>=0&&e<24)&&""!==t.hours?(t.showMeridian&&(12===e&&(e=0),t.meridian===T[1]&&(e+=12)),e):undefined}function c(){var e=+t.minutes;return e>=0&&e<60&&""!==t.minutes?e:undefined}function l(){var e=+t.seconds;return e>=0&&e<60?e:undefined}function u(t,e){return null===t?"":angular.isDefined(t)&&t.toString().length<2&&!e?"0"+t:t.toString()}function d(t){p(),A.$setViewValue(new Date(M)),h(t)}function p(){b&&b.$setValidity("hours",!0),y&&y.$setValidity("minutes",!0),_&&_.$setValidity("seconds",!0),A.$setValidity("time",!0),t.invalidHours=!1,t.invalidMinutes=!1,t.invalidSeconds=!1}function h(e){if(A.$modelValue){var n=M.getHours(),i=M.getMinutes(),o=M.getSeconds();t.showMeridian&&(n=0===n||12===n?12:n%12),t.hours="h"===e?n:u(n,!k),"m"!==e&&(t.minutes=u(i)),t.meridian=M.getHours()<12?T[0]:T[1],"s"!==e&&(t.seconds=u(o)),t.meridian=M.getHours()<12?T[0]:T[1]}else t.hours=null,t.minutes=null,t.seconds=null,t.meridian=T[0]}function f(t){M=g(M,t),d()}function m(t,e){return g(t,60*e)}function g(t,e){var n=new Date(t.getTime()+1e3*e),i=new Date(t);return i.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),i}function v(){return(null===t.hours||""===t.hours)&&(null===t.minutes||""===t.minutes)&&(!t.showSeconds||t.showSeconds&&(null===t.seconds||""===t.seconds))}var b,y,_,M=new Date,w=[],A={$setViewValue:angular.noop},T=angular.isDefined(n.meridians)?t.$parent.$eval(n.meridians):s.meridians||r.DATETIME_FORMATS.AMPMS,k=!angular.isDefined(n.padHours)||t.$parent.$eval(n.padHours);t.tabindex=angular.isDefined(n.tabindex)?n.tabindex:0,e.removeAttr("tabindex"),this.init=function(e,i){A=e,A.$render=this.render,A.$formatters.unshift(function(t){return t?new Date(t):null});var o=i.eq(0),r=i.eq(1),a=i.eq(2);b=o.controller("ngModel"),y=r.controller("ngModel"),_=a.controller("ngModel"),(angular.isDefined(n.mousewheel)?t.$parent.$eval(n.mousewheel):s.mousewheel)&&this.setupMousewheelEvents(o,r,a),(angular.isDefined(n.arrowkeys)?t.$parent.$eval(n.arrowkeys):s.arrowkeys)&&this.setupArrowkeyEvents(o,r,a),t.readonlyInput=angular.isDefined(n.readonlyInput)?t.$parent.$eval(n.readonlyInput):s.readonlyInput,this.setupInputEvents(o,r,a)};var z=s.hourStep;n.hourStep&&w.push(t.$parent.$watch(i(n.hourStep),function(t){z=+t}));var x=s.minuteStep;n.minuteStep&&w.push(t.$parent.$watch(i(n.minuteStep),function(t){x=+t}));var $;w.push(t.$parent.$watch(i(n.min),function(t){var e=new Date(t);$=isNaN(e)?undefined:e}));var C;w.push(t.$parent.$watch(i(n.max),function(t){var e=new Date(t);C=isNaN(e)?undefined:e}));var S=!1;n.ngDisabled&&w.push(t.$parent.$watch(i(n.ngDisabled),function(t){S=t})),t.noIncrementHours=function(){var t=m(M,60*z);return S||t>C||t<M&&t<$},t.noDecrementHours=function(){var t=m(M,60*-z);return S||t<$||t>M&&t>C},t.noIncrementMinutes=function(){var t=m(M,x);return S||t>C||t<M&&t<$},t.noDecrementMinutes=function(){var t=m(M,-x);return S||t<$||t>M&&t>C},t.noIncrementSeconds=function(){var t=g(M,O);return S||t>C||t<M&&t<$},t.noDecrementSeconds=function(){var t=g(M,-O);return S||t<$||t>M&&t>C},t.noToggleMeridian=function(){return M.getHours()<12?S||m(M,720)>C:S||m(M,-720)<$};var O=s.secondStep;n.secondStep&&w.push(t.$parent.$watch(i(n.secondStep),function(t){O=+t})),t.showSeconds=s.showSeconds,n.showSeconds&&w.push(t.$parent.$watch(i(n.showSeconds),function(e){t.showSeconds=!!e})),t.showMeridian=s.showMeridian,n.showMeridian&&w.push(t.$parent.$watch(i(n.showMeridian),function(e){if(t.showMeridian=!!e,A.$error.time){var n=a(),i=c();angular.isDefined(n)&&angular.isDefined(i)&&(M.setHours(n),d())}else h()})),this.setupMousewheelEvents=function(e,n,i){var o=function(t){t.originalEvent&&(t=t.originalEvent);var e=t.wheelDelta?t.wheelDelta:-t.deltaY;return t.detail||e>0};e.on("mousewheel wheel",function(e){S||t.$apply(o(e)?t.incrementHours():t.decrementHours()),e.preventDefault()}),n.on("mousewheel wheel",function(e){S||t.$apply(o(e)?t.incrementMinutes():t.decrementMinutes()),e.preventDefault()}),i.on("mousewheel wheel",function(e){S||t.$apply(o(e)?t.incrementSeconds():t.decrementSeconds()),e.preventDefault()})},this.setupArrowkeyEvents=function(e,n,i){e.on("keydown",function(e){S||(38===e.which?(e.preventDefault(),t.incrementHours(),t.$apply()):40===e.which&&(e.preventDefault(),t.decrementHours(),t.$apply()))}),n.on("keydown",function(e){S||(38===e.which?(e.preventDefault(),t.incrementMinutes(),t.$apply()):40===e.which&&(e.preventDefault(),t.decrementMinutes(),t.$apply()))}),i.on("keydown",function(e){S||(38===e.which?(e.preventDefault(),t.incrementSeconds(),t.$apply()):40===e.which&&(e.preventDefault(),t.decrementSeconds(),t.$apply()))})},this.setupInputEvents=function(e,n,i){if(t.readonlyInput)return t.updateHours=angular.noop,t.updateMinutes=angular.noop,void(t.updateSeconds=angular.noop);var o=function(e,n,i){A.$setViewValue(null),A.$setValidity("time",!1),angular.isDefined(e)&&(t.invalidHours=e,b&&b.$setValidity("hours",!1)),angular.isDefined(n)&&(t.invalidMinutes=n,y&&y.$setValidity("minutes",!1)),angular.isDefined(i)&&(t.invalidSeconds=i,_&&_.$setValidity("seconds",!1))};t.updateHours=function(){var t=a(),e=c();A.$setDirty(),angular.isDefined(t)&&angular.isDefined(e)?(M.setHours(t),M.setMinutes(e),M<$||M>C?o(!0):d("h")):o(!0)},e.on("blur",function(){A.$setTouched(),v()?p():null===t.hours||""===t.hours?o(!0):!t.invalidHours&&t.hours<10&&t.$apply(function(){t.hours=u(t.hours,!k)})}),t.updateMinutes=function(){var t=c(),e=a();A.$setDirty(),angular.isDefined(t)&&angular.isDefined(e)?(M.setHours(e),M.setMinutes(t),M<$||M>C?o(undefined,!0):d("m")):o(undefined,!0)},n.on("blur",function(){A.$setTouched(),v()?p():null===t.minutes?o(undefined,!0):!t.invalidMinutes&&t.minutes<10&&t.$apply(function(){t.minutes=u(t.minutes)})}),t.updateSeconds=function(){var t=l();A.$setDirty(),angular.isDefined(t)?(M.setSeconds(t),d("s")):o(undefined,undefined,!0)},i.on("blur",function(){v()?p():!t.invalidSeconds&&t.seconds<10&&t.$apply(function(){t.seconds=u(t.seconds)})})},this.render=function(){var e=A.$viewValue;isNaN(e)?(A.$setValidity("time",!1),o.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(e&&(M=e),M<$||M>C?(A.$setValidity("time",!1),t.invalidHours=!0,t.invalidMinutes=!0):p(),h())},t.showSpinners=angular.isDefined(n.showSpinners)?t.$parent.$eval(n.showSpinners):s.showSpinners,t.incrementHours=function(){t.noIncrementHours()||f(60*z*60)},t.decrementHours=function(){t.noDecrementHours()||f(60*-z*60)},t.incrementMinutes=function(){t.noIncrementMinutes()||f(60*x)},t.decrementMinutes=function(){t.noDecrementMinutes()||f(60*-x)},t.incrementSeconds=function(){t.noIncrementSeconds()||f(O)},t.decrementSeconds=function(){t.noDecrementSeconds()||f(-O)},t.toggleMeridian=function(){var e=c(),n=a();t.noToggleMeridian()||(angular.isDefined(e)&&angular.isDefined(n)?f(720*(M.getHours()<12?60:-60)):t.meridian=t.meridian===T[0]?T[1]:T[0])},t.blur=function(){A.$setTouched()},t.$on("$destroy",function(){for(;w.length;)w.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(t){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(e,n){return n.templateUrl||t.templateUrl},link:function(t,e,n,i){var o=i[0],r=i[1];r&&o.init(r,e.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(t){var e=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var i=n.match(e);if(!i)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:i[3],source:t(i[4]),viewMapper:t(i[2]||i[1]),modelMapper:t(i[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(t,e,n,i,o,r,s,a,c,l,u,d,p){function h(){I.moveInProgress||(I.moveInProgress=!0,I.$digest()),J()}function f(){I.position=S?d.offset(e):d.position(e),I.position.top+=e.prop("offsetHeight")}var m,g,v=[9,13,27,38,40],b=200,y=t.$eval(n.typeaheadMinLength);y||0===y||(y=1),t.$watch(n.typeaheadMinLength,function(t){y=t||0===t?t:1});var _=t.$eval(n.typeaheadWaitMs)||0,M=!1!==t.$eval(n.typeaheadEditable);t.$watch(n.typeaheadEditable,function(t){M=!1!==t});var w,A,T=o(n.typeaheadLoading).assign||angular.noop,k=n.typeaheadShouldSelect?o(n.typeaheadShouldSelect):function(t,e){var n=e.$event;return 13===n.which||9===n.which},z=o(n.typeaheadOnSelect),x=!!angular.isDefined(n.typeaheadSelectOnBlur)&&t.$eval(n.typeaheadSelectOnBlur),$=o(n.typeaheadNoResults).assign||angular.noop,C=n.typeaheadInputFormatter?o(n.typeaheadInputFormatter):undefined,S=!!n.typeaheadAppendToBody&&t.$eval(n.typeaheadAppendToBody),O=n.typeaheadAppendTo?t.$eval(n.typeaheadAppendTo):null,N=!1!==t.$eval(n.typeaheadFocusFirst),L=!!n.typeaheadSelectOnExact&&t.$eval(n.typeaheadSelectOnExact),E=o(n.typeaheadIsOpen).assign||angular.noop,j=t.$eval(n.typeaheadShowHint)||!1,D=o(n.ngModel),q=o(n.ngModel+"($$$p)"),P=function(e,n){return angular.isFunction(D(t))&&g&&g.$options&&g.$options.getterSetter?q(e,{$$$p:n}):D.assign(e,n)},B=p.parse(n.uibTypeahead),I=t.$new(),W=t.$on("$destroy",function(){I.$destroy()});I.$on("$destroy",W);var R="typeahead-"+I.$id+"-"+Math.floor(1e4*Math.random());e.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":R});var X,F;j&&(X=angular.element("<div></div>"),X.css("position","relative"),e.after(X),F=e.clone(),F.attr("placeholder",""),F.attr("tabindex","-1"),F.val(""),F.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),e.css({position:"relative","vertical-align":"top","background-color":"transparent"}),F.attr("id")&&F.removeAttr("id"),X.append(F),F.after(e));var H=angular.element("<div uib-typeahead-popup></div>");H.attr({id:R,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(n.typeaheadTemplateUrl)&&H.attr("template-url",n.typeaheadTemplateUrl),
angular.isDefined(n.typeaheadPopupTemplateUrl)&&H.attr("popup-template-url",n.typeaheadPopupTemplateUrl);var U=function(){j&&F.val("")},V=function(){I.matches=[],I.activeIdx=-1,e.attr("aria-expanded",!1),U()},Y=function(t){return R+"-option-"+t};I.$watch("activeIdx",function(t){t<0?e.removeAttr("aria-activedescendant"):e.attr("aria-activedescendant",Y(t))});var G=function(t,e){return!!(I.matches.length>e&&t)&&t.toUpperCase()===I.matches[e].label.toUpperCase()},K=function(n,i){var o={$viewValue:n};T(t,!0),$(t,!1),r.when(B.source(t,o)).then(function(r){var s=n===m.$viewValue;if(s&&w)if(r&&r.length>0){I.activeIdx=N?0:-1,$(t,!1),I.matches.length=0;for(var a=0;a<r.length;a++)o[B.itemName]=r[a],I.matches.push({id:Y(a),label:B.viewMapper(I,o),model:r[a]});if(I.query=n,f(),e.attr("aria-expanded",!0),L&&1===I.matches.length&&G(n,0)&&(angular.isNumber(I.debounceUpdate)||angular.isObject(I.debounceUpdate)?u(function(){I.select(0,i)},angular.isNumber(I.debounceUpdate)?I.debounceUpdate:I.debounceUpdate["default"]):I.select(0,i)),j){var c=I.matches[0].label;angular.isString(n)&&n.length>0&&c.slice(0,n.length).toUpperCase()===n.toUpperCase()?F.val(n+c.slice(n.length)):F.val("")}}else V(),$(t,!0);s&&T(t,!1)},function(){V(),T(t,!1),$(t,!0)})};S&&(angular.element(c).on("resize",h),a.find("body").on("scroll",h));var J=u(function(){I.matches.length&&f(),I.moveInProgress=!1},b);I.moveInProgress=!1,I.query=undefined;var Q,Z=function(t){Q=s(function(){K(t)},_)},tt=function(){Q&&s.cancel(Q)};V(),I.assignIsOpen=function(e){E(t,e)},I.select=function(i,o){var r,a,c={};A=!0,c[B.itemName]=a=I.matches[i].model,r=B.modelMapper(t,c),P(t,r),m.$setValidity("editable",!0),m.$setValidity("parse",!0),z(t,{$item:a,$model:r,$label:B.viewMapper(t,c),$event:o}),V(),!1!==I.$eval(n.typeaheadFocusOnSelect)&&s(function(){e[0].focus()},0,!1)},e.on("keydown",function(e){if(0!==I.matches.length&&-1!==v.indexOf(e.which)){var n=k(t,{$event:e});if(-1===I.activeIdx&&n||9===e.which&&e.shiftKey)return V(),void I.$digest();e.preventDefault();var i;switch(e.which){case 27:e.stopPropagation(),V(),t.$digest();break;case 38:I.activeIdx=(I.activeIdx>0?I.activeIdx:I.matches.length)-1,I.$digest(),i=H[0].querySelectorAll(".uib-typeahead-match")[I.activeIdx],i.parentNode.scrollTop=i.offsetTop;break;case 40:I.activeIdx=(I.activeIdx+1)%I.matches.length,I.$digest(),i=H[0].querySelectorAll(".uib-typeahead-match")[I.activeIdx],i.parentNode.scrollTop=i.offsetTop;break;default:n&&I.$apply(function(){angular.isNumber(I.debounceUpdate)||angular.isObject(I.debounceUpdate)?u(function(){I.select(I.activeIdx,e)},angular.isNumber(I.debounceUpdate)?I.debounceUpdate:I.debounceUpdate["default"]):I.select(I.activeIdx,e)})}}}),e.on("focus",function(t){w=!0,0!==y||m.$viewValue||s(function(){K(m.$viewValue,t)},0)}),e.on("blur",function(t){x&&I.matches.length&&-1!==I.activeIdx&&!A&&(A=!0,I.$apply(function(){angular.isObject(I.debounceUpdate)&&angular.isNumber(I.debounceUpdate.blur)?u(function(){I.select(I.activeIdx,t)},I.debounceUpdate.blur):I.select(I.activeIdx,t)})),!M&&m.$error.editable&&(m.$setViewValue(),I.$apply(function(){m.$setValidity("editable",!0),m.$setValidity("parse",!0)}),e.val("")),w=!1,A=!1});var et=function(n){e[0]!==n.target&&3!==n.which&&0!==I.matches.length&&(V(),l.$$phase||t.$digest())};a.on("click",et),t.$on("$destroy",function(){a.off("click",et),(S||O)&&nt.remove(),S&&(angular.element(c).off("resize",h),a.find("body").off("scroll",h)),H.remove(),j&&X.remove()});var nt=i(H)(I);S?a.find("body").append(nt):O?angular.element(O).eq(0).append(nt):e.after(nt),this.init=function(e,n){m=e,g=n,I.debounceUpdate=m.$options&&o(m.$options.debounce)(t),m.$parsers.unshift(function(e){return w=!0,0===y||e&&e.length>=y?_>0?(tt(),Z(e)):K(e):(T(t,!1),tt(),V()),M?e:e?(m.$setValidity("editable",!1),undefined):(m.$setValidity("editable",!0),null)}),m.$formatters.push(function(e){var n,i,o={};return M||m.$setValidity("editable",!0),C?(o.$model=e,C(t,o)):(o[B.itemName]=e,n=B.viewMapper(t,o),o[B.itemName]=undefined,i=B.viewMapper(t,o),n!==i?n:e)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","^?ngModelOptions","uibTypeahead"],link:function(t,e,n,i){i[2].init(i[0],i[1])}}}).directive("uibTypeaheadPopup",["$$debounce",function(t){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(t,e){return e.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(e,n,i){e.templateUrl=i.templateUrl,e.isOpen=function(){var t=e.matches.length>0;return e.assignIsOpen({isOpen:t}),t},e.isActive=function(t){return e.active===t},e.selectActive=function(t){e.active=t},e.selectMatch=function(n,i){var o=e.debounce();angular.isNumber(o)||angular.isObject(o)?t(function(){e.select({activeIdx:n,evt:i})},angular.isNumber(o)?o:o["default"]):e.select({activeIdx:n,evt:i})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(t,e,n){return{scope:{index:"=",match:"=",query:"="},link:function(i,o,r){var s=n(r.templateUrl)(i.$parent)||"uib/template/typeahead/typeahead-match.html";t(s).then(function(t){var n=angular.element(t.trim());o.replaceWith(n),e(n)(i)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(t,e,n){function i(t){return t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function o(t){return/<.*>/g.test(t)}var r;return r=e.has("$sanitize"),function(e,s){return!r&&o(e)&&n.warn("Unsafe use of typeahead please use ngSanitize"),e=s?(""+e).replace(new RegExp(i(s),"gi"),"<strong>$&</strong>"):e,r||(e=t.trustAsHtml(e)),e}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(t){t.put("uib/template/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n  <h4 class="panel-title">\n    <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n  </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n  <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(t){t.put("uib/template/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(t){t.put("uib/template/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n  <span aria-hidden="true">&times;</span>\n  <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(t){t.put("uib/template/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n  <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n  <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n  <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n  <span class="sr-only">next</span>\n</a>\n<ol class="carousel-indicators" ng-show="slides.length > 1">\n  <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n    <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n  </li>\n</ol>\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(t){t.put("uib/template/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(t){t.put("uib/template/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n  <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n  <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n  <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(t){t.put("uib/template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n    </tr>\n    <tr>\n      <th ng-if="showWeeks" class="text-center"></th>\n      <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n      <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n      <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default btn-sm"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(t){t.put("uib/template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n      <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(t){t.put("uib/template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n      <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(t){t.put("uib/template/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n  <li ng-transclude></li>\n  <li ng-if="showButtonBar" class="uib-button-bar">\n    <span class="btn-group pull-left">\n      <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n      <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n    </span>\n    <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n  </li>\n</ul>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(t){t.put("uib/template/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(t){t.put("uib/template/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(t){t.put("uib/template/pagination/pagination.html",'<li ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(t){t.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(t){t.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(t){t.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n  uib-tooltip-template-transclude="contentExp()"\n  tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(t){t.put("uib/template/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(t){t.put("uib/template/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content"\n      uib-tooltip-template-transclude="contentExp()"\n      tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(t){t.put("uib/template/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(t){t.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(t){t.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(t){t.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(t){t.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}" aria-valuetext="{{title}}">\n    <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n    <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(t){t.put("uib/template/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n  <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(t){t.put("uib/template/tabs/tabset.html",'<div>\n  <ul class="nav nav-{{tabset.type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane"\n         ng-repeat="tab in tabset.tabs"\n         ng-class="{active: tabset.active === tab.index}"\n         uib-tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(t){t.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n  <tbody>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n    <tr>\n      <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n        <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n      </td>\n      <td class="uib-separator">:</td>\n      <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n        <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n      </td>\n      <td ng-show="showSeconds" class="uib-separator">:</td>\n      <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n        <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n      </td>\n      <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n    </tr>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(t){t.put("uib/template/typeahead/typeahead-match.html",'<a href\n   tabindex="-1"\n   ng-bind-html="match.label | uibTypeaheadHighlight:query"\n   ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(t){t.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n        <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}),function(){var t,e,n,i,o,r,s={}.hasOwnProperty,a=[].slice;r="undefined"!=typeof exports&&null!==exports?exports:this,n=function(t){this.message=t},n.prototype=new Error,e={GROUP:1,CAT:2,SYMBOL:3,OR:4,STAR:5,LITERAL:6,SLASH:7,DOT:8},t=!1,i=["anchor","trailing_slash","host","port","protocol"],o={configuration:{prefix:"",default_url_options:{},special_options_key:"_options",serializer:null},default_serializer:function(t,e){var n,i,o,r,a,c,l;if(null==e&&(e=null),null==t)return"";if(!e&&"object"!==this.get_object_type(t))throw new Error("Url parameters should be a javascript hash");switch(l=[],this.get_object_type(t)){case"array":for(i=o=0,a=t.length;o<a;i=++o)n=t[i],l.push(this.default_serializer(n,e+"[]"));break;case"object":for(r in t)s.call(t,r)&&(c=t[r],null==c&&null!=e&&(c=""),null!=c&&(null!=e&&(r=e+"["+r+"]"),l.push(this.default_serializer(c,r))));break;default:
null!=t&&l.push(encodeURIComponent(e.toString())+"="+encodeURIComponent(t.toString()))}return l.length?l.join("&"):""},serialize:function(t){var e;return e=this.configuration.serializer,null!=e&&"function"===this.get_object_type(e)?e(t):this.default_serializer(t)},clean_path:function(t){var e;return t=t.split("://"),e=t.length-1,t[e]=t[e].replace(/\/+/g,"/"),t.join("://")},extract_options:function(t,e){var n,i;return n=e[e.length-1],e.length>t&&void 0===n||null!=n&&"object"===this.get_object_type(n)&&!this.looks_like_serialized_model(n)?(i=e.pop()||{},delete i[this.configuration.special_options_key],i):{}},looks_like_serialized_model:function(t){return!t[this.configuration.special_options_key]&&("id"in t||"to_param"in t)},path_identifier:function(t){var e;if(0===t)return"0";if(!t)return"";if(e=t,"object"===this.get_object_type(t)){if("to_param"in t){if(null==t.to_param)throw new n("Route parameter missing: to_param");e=t.to_param}else if("id"in t){if(null==t.id)throw new n("Route parameter missing: id");e=t.id}else e=t;"function"===this.get_object_type(e)&&(e=e.call(t))}return e.toString()},clone:function(t){var e,n,i;if(null==t||"object"!==this.get_object_type(t))return t;n=t.constructor();for(i in t)s.call(t,i)&&(e=t[i],n[i]=e);return n},merge:function(){var t,e;if(e=1<=arguments.length?a.call(arguments,0):[],t=function(t,e){return e(t),t},(null!=e?e.length:void 0)>0)return t({},function(t){var n,i,o,r,s,a;for(r=[],n=0,o=e.length;n<o;n++)a=e[n],r.push(function(){var e;e=[];for(i in a)s=a[i],e.push(t[i]=s);return e}());return r})},normalize_options:function(e,n,o,r){var a,c,l,u,d,p,h,f,m,g,v,b;if(d=this.extract_options(e.length,r),r.length>e.length)throw new Error("Too many parameters provided for path");v=t||r.length>n.length,h={};for(l in d)s.call(d,l)&&(v=!0,this.indexOf(e,l)>=0&&(h[l]=b));d=this.merge(this.configuration.default_url_options,o,d),f={},g={},f.url_parameters=g;for(l in d)s.call(d,l)&&(b=d[l],this.indexOf(i,l)>=0?f[l]=b:g[l]=b);for(m=v?e:n,a=0,c=0,u=m.length;c<u;c++)p=m[c],a<r.length&&(h.hasOwnProperty(p)||(g[p]=r[a],++a));return f},build_route:function(t,e,n,i,r,s){var a,c,l,u,d;return s=Array.prototype.slice.call(s),a=this.normalize_options(t,e,n,s),c=a.url_parameters,l=""+this.get_prefix()+this.visit(i,c),u=o.clean_path(l),!0===a.trailing_slash&&(u=u.replace(/(.*?)[\/]?$/,"$1/")),(d=this.serialize(c)).length&&(u+="?"+d),u+=a.anchor?"#"+a.anchor:"",r&&(u=this.route_url(a)+u),u},visit:function(t,i,o){var r,s,a,c,l,u;switch(null==o&&(o=!1),l=t[0],r=t[1],a=t[2],l){case e.GROUP:return this.visit(r,i,!0);case e.STAR:return this.visit_globbing(r,i,!0);case e.LITERAL:case e.SLASH:case e.DOT:return r;case e.CAT:return s=this.visit(r,i,o),c=this.visit(a,i,o),o&&(this.is_optional_node(r[0])&&!s||this.is_optional_node(a[0])&&!c)?"":""+s+c;case e.SYMBOL:if(null!=(u=i[r]))return delete i[r],this.path_identifier(u);if(o)return"";throw new n("Route parameter missing: "+r);default:throw new Error("Unknown Rails node type")}},is_optional_node:function(t){return this.indexOf([e.STAR,e.SYMBOL,e.CAT],t)>=0},build_path_spec:function(t,n){var i,o,r;switch(null==n&&(n=!1),r=t[0],i=t[1],o=t[2],r){case e.GROUP:return"("+this.build_path_spec(i)+")";case e.CAT:return""+this.build_path_spec(i)+this.build_path_spec(o);case e.STAR:return this.build_path_spec(i,!0);case e.SYMBOL:return!0===n?("*"===i[0]?"":"*")+i:":"+i;case e.SLASH:case e.DOT:case e.LITERAL:return i;default:throw new Error("Unknown Rails node type")}},visit_globbing:function(t,e,n){var i,o;return t[0],i=t[1],t[2],i.replace(/^\*/i,"")!==i&&(t[1]=i=i.replace(/^\*/i,"")),null==(o=e[i])?this.visit(t,e,n):(e[i]=function(){switch(this.get_object_type(o)){case"array":return o.join("/");default:return o}}.call(this),this.visit(t,e,n))},get_prefix:function(){var t;return t=this.configuration.prefix,""!==t&&(t=t.match("/$")?t:t+"/"),t},route:function(t,e,n,i){var r,s,a,c,l,u,d,p;for(p=[],c=[],r=0,s=t.length;r<s;r++)u=t[r],a=u[0],d=u[1],c.push(a),d&&p.push(a);return l=function(){return o.build_route(c,p,e,n,i,arguments)},l.required_params=p,l.toString=function(){return o.build_path_spec(n)},l},route_url:function(t){var e,n,i;return"string"==typeof t?t:(e=t.host||o.current_host())?(i=t.protocol||o.current_protocol(),n=t.port||(t.host?void 0:o.current_port()),n=n?":"+n:"",i+"://"+e+n):""},has_location:function(){return null!=("undefined"!=typeof window&&null!==window?window.location:void 0)},current_host:function(){return this.has_location()?window.location.hostname:null},current_protocol:function(){return this.has_location()&&""!==window.location.protocol?window.location.protocol.replace(/:$/,""):"http"},current_port:function(){return this.has_location()&&""!==window.location.port?window.location.port:""},_classToTypeCache:null,_classToType:function(){var t,e,n,i;if(null!=this._classToTypeCache)return this._classToTypeCache;for(this._classToTypeCache={},i="Boolean Number String Function Array Date RegExp Object Error".split(" "),t=0,e=i.length;t<e;t++)n=i[t],this._classToTypeCache["[object "+n+"]"]=n.toLowerCase();return this._classToTypeCache},get_object_type:function(t){return r.jQuery&&null!=r.jQuery.type?r.jQuery.type(t):null==t?""+t:"object"==typeof t||"function"==typeof t?this._classToType()[Object.prototype.toString.call(t)]||"object":typeof t},indexOf:function(t,e){return Array.prototype.indexOf?t.indexOf(e):this.indexOfImplementation(t,e)},indexOfImplementation:function(t,e){var n,i,o,r;for(r=-1,n=i=0,o=t.length;i<o;n=++i)t[n]===e&&(r=n);return r},namespace:function(t,e,n){var i,o,r,s,a;if(a=e.split("."),0===a.length)return n;for(i=o=0,r=a.length;o<r;i=++o){if(s=a[i],!(i<a.length-1))return t[s]=n;t=t[s]||(t[s]={})}},configure:function(t){return this.configuration=this.merge(this.configuration,t)},config:function(){return this.clone(this.configuration)},make:function(){var t;return t={activate_manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"activate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),activate_v2_ads_facebook_adset_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"activate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),archive_manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"archive",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),archive_v2_ads_facebook_adset_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"archive",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),autocomplete_boards_path:o.route([["format",!1]],{},[2,[7,"/",!1],[2,[6,"content",!1],[2,[7,"/",!1],[2,[6,"autocomplete",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]),autocomplete_manage_ads_campaign_facebook_ad_sets_path:o.route([["campaign_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"autocomplete",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]),autocomplete_products_path:o.route([["format",!1]],{},[2,[7,"/",!1],[2,[6,"products",!1],[2,[7,"/",!1],[2,[6,"autocomplete",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]),autocomplete_tags_board_items_path:o.route([["format",!1]],{},[2,[7,"/",!1],[2,[6,"items",!1],[2,[7,"/",!1],[2,[6,"autocomplete_tags",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]),copy_v2_entry_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"copy",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),deactivate_manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"deactivate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),deactivate_v2_ads_facebook_adset_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"deactivate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),edit_manage_ads_campaign_path:o.route([["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"edit",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]),edit_manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"edit",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),ig_locations_v2_site_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"site",!1],[2,[7,"/",!1],[2,[6,"ig_locations",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]),manage_ads_campaign_facebook_ad_set_ads_path:o.route([["campaign_id",!0],["ad_set_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"ad_set_id",!1],[2,[7,"/",!1],[2,[6,"history",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),manage_ads_campaign_facebook_ad_set_statistics_path:o.route([["campaign_id",!0],["ad_set_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"ad_set_id",!1],[2,[7,"/",!1],[2,[6,"dashboard",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),manage_board_edit_path:o.route([["board_id",!0],["pane",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"boards",!1],[2,[7,"/",!1],[2,[3,"board_id",!1],[2,[7,"/",!1],[2,[3,"pane",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]),manage_integrations_path:o.route([["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"integrations",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]),providers_manage_integrations_path:o.route([["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"integrations",!1],[2,[7,"/",!1],[2,[6,"providers",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]),rotate_manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"rotate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),rotate_v2_ads_facebook_adset_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"rotate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),sync_manage_ads_campaign_facebook_ad_set_path:o.route([["campaign_id",!0],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"adverts",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"sync",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]]),sync_v2_ads_facebook_adset_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"sync",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),tag_v2_entry_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"tag",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),tokens_manage_integrations_path:o.route([["format",!1]],{},[2,[7,"/",!1],[2,[6,"manage",!1],[2,[7,"/",!1],[2,[6,"integrations",!1],[2,[7,"/",!1],[2,[6,"tokens",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]),unarchive_v2_ads_campaign_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"id",!1],[2,[7,"/",!1],[2,[6,"unarchive",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]),v2_active_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"active-boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_ads_path:o.route([["customer_id",!1],["campaign_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"campaign_id",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),v2_ads_campaign_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_ads_campaigns_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"campaigns",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_ads_facebook_ad_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]),v2_ads_facebook_ads_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"ads",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_ads_facebook_adset_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]),v2_ads_facebook_adsets_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"ads",!1],[2,[7,"/",!1],[2,[6,"facebook",!1],[2,[7,"/",!1],[2,[6,"adsets",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_all_entries_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"all-entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_app_invites_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"app-invites",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_autocomplete_index_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"autocomplete",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_balanced_entries_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"balanced-entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_balanced_entries_unseen_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"balanced-entries",!1],[2,[7,"/",!1],[2,[6,"unseen",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_board_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"boards",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_board_entries_path:o.route([["customer_id",!1],["board_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"boards",!1],[2,[7,"/",!1],[2,[3,"board_id",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_board_tags_path:o.route([["customer_id",!1],["board_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"boards",!1],[2,[7,"/",!1],[2,[3,"board_id",!1],[2,[7,"/",!1],[2,[6,"tags",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_board_unseen_path:o.route([["customer_id",!1],["board_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"boards",!1],[2,[7,"/",!1],[2,[3,"board_id",!1],[2,[7,"/",!1],[2,[6,"unseen",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_comment_complaints_path:o.route([["customer_id",!1],["comment_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"comments",!1],[2,[7,"/",!1],[2,[3,"comment_id",!1],[2,[7,"/",!1],[2,[6,"complaints",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_comment_translate_path:o.route([["customer_id",!1],["comment_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"comments",!1],[2,[7,"/",!1],[2,[3,"comment_id",!1],[2,[7,"/",!1],[2,[6,"translate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_complaint_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"complaints",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_contest_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"contest-boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_coupon_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"coupons",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_coupon_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"coupon-token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_entries_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_entry_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_entry_comments_path:o.route([["customer_id",!1],["entry_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"entry_id",!1],[2,[7,"/",!1],[2,[6,"comments",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_entry_complaints_path:o.route([["customer_id",!1],["entry_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"entry_id",!1],[2,[7,"/",!1],[2,[6,"complaints",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_entry_translate_path:o.route([["customer_id",!1],["entry_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"entry_id",!1],[2,[7,"/",!1],[2,[6,"translate",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_entry_vote_path:o.route([["customer_id",!1],["entry_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"entries",!1],[2,[7,"/",!1],[2,[3,"entry_id",!1],[2,[7,"/",!1],[2,[6,"vote",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_facebook_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"facebook-token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_init_content_hub_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"init-content-hub",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_init_social_hub_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"init-social-hub",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_instagram_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"instagram-token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_invite_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"invite-token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_managers_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"managers",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_me_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"me",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_me_votes_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"me",!1],[2,[7,"/",!1],[2,[6,"votes",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_moderation_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"moderations",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_moderations_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"moderations",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_moderations_count_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"moderations-count",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_non_contest_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"non-contest-boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_pending_tasks_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"pending-tasks",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_photo_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"photo-boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_product_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"products",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_product_entries_path:o.route([["customer_id",!1],["product_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"products",!1],[2,[7,"/",!1],[2,[3,"product_id",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_product_unseen_path:o.route([["customer_id",!1],["product_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"products",!1],[2,[7,"/",!1],[2,[3,"product_id",!1],[2,[7,"/",!1],[2,[6,"unseen",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_products_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"products",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_search_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"search",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_site_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"site",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_squad_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_squad_entries_path:o.route([["customer_id",!1],["squad_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"squad_id",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_squad_invites_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squad-invites",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_squad_my_entries_path:o.route([["customer_id",!1],["squad_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"squad_id",!1],[2,[7,"/",!1],[2,[6,"my-entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_squad_non_pending_tasks_path:o.route([["customer_id",!1],["squad_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"squad_id",!1],[2,[7,"/",!1],[2,[6,"non-pending-tasks",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_squad_pending_tasks_path:o.route([["customer_id",!1],["squad_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"squad_id",!1],[2,[7,"/",!1],[2,[6,"pending-tasks",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_squad_tasks_path:o.route([["customer_id",!1],["squad_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"squad_id",!1],[2,[7,"/",!1],[2,[6,"tasks",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_squad_user_entries_path:o.route([["customer_id",!1],["squad_id",!0],["user_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[2,[7,"/",!1],[2,[3,"squad_id",!1],[2,[7,"/",!1],[2,[6,"users",!1],[2,[7,"/",!1],[2,[3,"user_id",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]]]]]),v2_squads_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"squads",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_staff_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"staff",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_submitted_tasks_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"submitted-tasks",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_tag_entries_path:o.route([["customer_id",!1],["tag",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"tags",!1],[2,[7,"/",!1],[2,[3,"tag",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_tags_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"tags",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_task_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"tasks",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_task_entries_path:o.route([["customer_id",!1],["task_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"tasks",!1],[2,[7,"/",!1],[2,[3,"task_id",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_tasks_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"tasks",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_text_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"text-boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_third_party_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"third-party-token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),
v2_twitter_token_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"twitter-token",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_uploadable_boards_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"uploadable-boards",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_user_path:o.route([["customer_id",!1],["id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"users",!1],[2,[7,"/",!1],[2,[3,"id",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_user_entries_path:o.route([["customer_id",!1],["user_id",!0],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"users",!1],[2,[7,"/",!1],[2,[3,"user_id",!1],[2,[7,"/",!1],[2,[6,"entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]]]),v2_users_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"users",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]),v2_users_change_password_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"users",!1],[2,[7,"/",!1],[2,[6,"change-password",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_users_confirmation_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"users",!1],[2,[7,"/",!1],[2,[6,"confirmation",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_users_reset_password_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"users",!1],[2,[7,"/",!1],[2,[6,"reset-password",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]]]]),v2_voted_entries_path:o.route([["customer_id",!1],["format",!1]],{},[2,[7,"/",!1],[2,[6,"v2",!1],[2,[1,[2,[7,"/",!1],[3,"customer_id",!1]],!1],[2,[7,"/",!1],[2,[6,"voted-entries",!1],[1,[2,[8,".",!1],[3,"format",!1]],!1]]]]]])},t.configure=function(t){return o.configure(t)},t.config=function(){return o.config()},Object.defineProperty(t,"defaults",{get:function(){throw new Error("Routes.defaults is removed. Use Routes.configure() instead.")},set:function(){}}),t.default_serializer=function(t,e){return o.default_serializer(t,e)},o.namespace(r,"Routes",t)}},"function"==typeof define&&define.amd?define([],function(){return o.make()}):o.make()}.call(this);var Shuttlerock=angular.module("Shuttlerock",["ngResource","ng-rails-csrf","templates","ui.bootstrap"]);(function(){Shuttlerock.forceCompile=function(t){var e,n,i,o;return n=angular.element($(t)[0]),o=n.scope(),e=n.injector().get("$compile"),i=e(n),i(o),o.$digest()}}).call(this),function(){Shuttlerock.controller("FacebookUserPhotosController",["$scope","$http","$timeout","$window",function(t,e,n,i){return t.selected=[],t.photos=[],t.loading=!0,t.timeout_promise=null,t.init=function(e){return t.board_id=e,t.update()},t.update=function(){var i;return n.cancel(t.timeout_promise),t.loading=!0,t.photos=[],$(".doughnut-legend").remove(),i={page:t.page,format:"json"},e.get("/api/v1/member_social_photos",{params:i}).then(function(e){return e.data.processing?void(t.timeout_promise=n(t.update,1e3)):(t.photos=e.data.photos,t.loading=!1)},function(){return t.loading=!1})},t.toggleSelection=function(e){if(!t.loading)return e.selected=!e.selected,e.selected?(t.selected.push(e),t.selected=_.uniq(t.selected)):t.selected=_.without(t.selected,e)},t.addPhotos=function(){var n;if(!t.loading&&0!==t.selected.length)return t.loading=!0,n={provider_ids:_.pluck(t.selected,"provider_id"),board_id:t.board_id},e.post("/api/v1/member_social_photos",n).then(function(e){return t.loading=!1,t.showModal(e.data.message,e.data.path)},function(){return t.loading=!1})},t.showModal=function(t,e){return Application.createModal(null,t,null,function(){return i.location.href=e})}}])}.call(this),function(){var t;t=function(){function t(t,e,n){this.scope=t,this.window=e,this.element=n,this.products=this.window.products,this.product_url=null}return t.prototype.resetAutocompletion=function(){return this.product_url=null,angular.element(this.element).find(".select2-hidden-accessible").val(null).trigger("change")},t.prototype.addProduct=function(t){var e;return e={url:t.text||t.url,slug:t.id||t.slug,element:t.element},this.products.push(e),this.products=_.uniq(this.products,function(t){return t.slug||t.value}),this.resetAutocompletion(),this.scope.$apply()},t.prototype.removeProduct=function(t){return this.products=_.without(this.products,t)},t}(),t.$inject=["$scope","$window","$element"],Shuttlerock.controller("ProductsController",t)}.call(this),function(){Shuttlerock.controller("SocialActionsController",["$scope","$http","$window","MemberRole",function(t,e,n,i){return t.likes=n.like_keys_cached,t.like_limit_reached=n.like_limit_reached,t.loading=!1,t.resource=null,t.is_manager=(new i).isManager(),t.available=t.is_manager||$(".social_actions a").length>0,t.$watch(function(){return n.like_limit_reached},function(e,n){if(e!==n)return t.like_limit_reached=e}),t.init=function(e){return t.resource=e,t.resource.is_liked=!_.contains(t.likes,t.resource.slug),!0},t.addLike=function(){if(t.prepareRequest())return e.post(t.resource.paths.add_like).then(function(e){return t.resource.is_liked=!1,t.loading=!1,n.like_limit_reached="per_board_per_day"===t.resource.board.vote_frequency,Application.ajaxModal(e.data.share_path)},function(e){return Application.createAlert(e.data.message,"error"),t.resource.is_liked=!0,t.loading=!1})},t.removeLike=function(){if(t.prepareRequest())return e["delete"](t.resource.paths.remove_like).then(function(){return t.resource.is_liked=!0,t.loading=!1,n.like_limit_reached=!1},function(){return t.resource.is_liked=!1,t.loading=!1})},t.updateStarStatus=function(n){var i;if(t.prepareRequest())return i={},i[t.resource.namespace]={is_starred:n},e.put(t.resource.paths.update,i).then(function(){return t.resource.is_starred=n,t.loading=!1},function(e){return Application.createAlert(e.data.message,"error"),t.loading=!1})},t.disapproveAd=function(){var n;if(t.prepareRequest())return n={},n[t.resource.namespace]={approved_for_advertising:!1,approved_for_all_ads:!1},e.put(t.resource.paths.update,n).then(function(){return t.resource.is_ad_approved=!1,t.loading=!1},function(e){return Application.createAlert(e.data.message,"error"),t.loading=!1})},t.approveAd=function(){var n;if(t.prepareRequest())return n={},n[t.resource.namespace]={approved_for_advertising:!0,approved_for_all_ads:!0},e.put(t.resource.paths.update,n).then(function(){return t.resource.is_ad_approved=!0,t.loading=!1,!0},function(e){return Application.createAlert(e.data.message,"error"),t.loading=!1})},t.prepareRequest=function(){if(!t.loading&&Session.is_logged_in())return t.loading=!0}}])}.call(this),function(){Shuttlerock.controller("BoardsController",["$scope","$http",function(t){return t.protected_boards=[],t.init=function(){var e,n;if(t.setCellHeights(),$(".container").is(".orderable"))return e={revert:!1,zIndex:100},$(".summary_wrapper").draggable(e),n={accept:".summary_wrapper",hoverClass:"target",drop:function(t,e){var n,i,o,r,s,a;return i=$(this),o=i.data("slug"),a=e.draggable,r=a.parent(),s=r.data("slug"),Application.createAlert(I18n.t("common.saving")),n={url:"/boards/swap/"+o+"/"+s,type:"PUT"},$.ajax(n).done(function(){return location.reload()})}},$(".board_summary").droppable(n),!0},t.setCellHeights=function(){return _.each($("#page_container .container .row"),function(t){var e,n;return e=$(t).find(".board_summary .summary_wrapper"),n=0,_.each(e,function(t){var e;if((e=$(t).height())>n)return n=e}),_.each(e,function(t){return $(t).height(n)})})},t.loadBoard=function(e){var n;return e.preventDefault(),n=$(e.target),n.is(".board_summary")||(n=n.closest(".board_summary")),_.contains(t.protected_boards,n.data("slug"))?Application.ajaxModal(n.data("path")+"/login",I18n.t("common.close"),t.closeModal,!1):Application.redirectFrameTo(n.data("path")),!1},t.closeModal=function(){return $("#modal").modal("hide")}}])}.call(this),function(){var t,e=function(t,e){return function(){return t.apply(e,arguments)}};t=function(){function t(t,n){this.scope=t,this.Campaign=n,this.onSelect=e(this.onSelect,this),this.searchTerm="",this.sort_method="created_desc",this.scope.$watch("isArchive",function(t){return function(){return t.getCampaigns()}}(this))}return t.prototype.getCampaigns=function(){return this.loading=!0,this.scope.isArchive?this.getArchivedCampaigns():this.getActiveCampaigns()},t.prototype.getActiveCampaigns=function(){return this.campaigns=this.Campaign.query({states:"active",per_page:50,sort_method:this.sort_method},function(t){return function(){return t.loading=!1}}(this),function(t){return function(e){return console.error(e),t.loading=!1}}(this))},t.prototype.getArchivedCampaigns=function(){return this.campaigns=this.Campaign.query({states:"archived",per_page:50,sort_method:this.sort_method},function(t){return function(){return t.loading=!1}}(this),function(t){return function(e){return console.error(e),t.loading=!1}}(this))},t.prototype.onSelect=function(t){var e;return(null!=(e=this.selectedCampaign)?e.id:void 0)===t.id?this.selectedCampaign=void 0:this.selectedCampaign=t},t.prototype.toggleSortBy=function(t){var e;return e=t+"_asc",this.sort_method===e&&(e=t+"_desc"),this.sort_method=e,this.getCampaigns()},t.prototype.openNewCampaignPopup=function(t){return Application.ajaxModal(t,void 0,void 0,!1,{dialogClass:"modal-lg"},I18n.t("ads.campaigns.new.error_flash_html",{email:window.gon.contact_email}))},t.prototype.editCampaign=function(){var t;if(null!=(t=this.selectedCampaign)?t.id:void 0)return location.href=this.selectedCampaign.paths.edit},t.prototype.removeSelectedCampaign=function(){return this.campaigns.splice(this.campaigns.indexOf(this.selectedCampaign),1)},t.prototype.showArchiveConfirmation=function(t,e,n){var i;if(this.selectedCampaign)return i=function(t){return function(){return $("#modal").modal("hide"),t.Campaign.archive({id:t.selectedCampaign.id},function(){return t.removeSelectedCampaign()})}}(this),Application.createModal(t,e,n,i,{showCancelButton:!0})},t.prototype.unarchive=function(){return this.Campaign.unarchive({id:this.selectedCampaign.id},function(t){return function(){return t.removeSelectedCampaign()}}(this))},t.prototype.showTooltip=function(){return!this.selectedCampaign},t}(),t.$inject=["$scope","Ads::Campaign"],Shuttlerock.controller("Manage::Ads::CampaignsController",t)}.call(this),function(){var t;t=function(){function t(){}return t.prototype.launchModal=function(t){return Application.ajaxModal(t,I18n.t("common.ok"),this.complaintResource),!1},t.prototype.complaintResource=function(){return $(".modal:visible form").submit()},t}(),Shuttlerock.controller("Manage::Ads::Facebook::AdCreativeController",t)}.call(this),function(){var t;String.prototype.hashCode=function(){var t,e,n;if(e=0,n=void 0,t=void 0,0===this.length)return e;for(n=0;n<this.length;)t=this.charCodeAt(n),e=(e<<5)-e+t,e|=0,n++;return e},t=function(){function t(t,e,n,i){this.scope=t,this.$http=e,this.$timeout=n,this.$sce=i,this.boardIds=[],this.board_ids=gon.facebook.board_ids,this.productIds=[],this.product_ids=gon.facebook.product_ids,this.tags=[],this.tag_ids=gon.facebook.tag_ids,this.filter_condition=gon.facebook.filter_condition,this.ad_campaign=gon.facebook.ad_campaign,this.ad_campaign_slug=gon.facebook.campaign,this.ads=[{ad_set:gon.facebook.ad_set,ad_template:gon.facebook.ad_template,ad_name:gon.facebook.ad_name,ad_name_suffix:gon.facebook.ad_name_suffix,url_tags:gon.facebook.url_tags,original_url_tags:gon.facebook.url_tags,track_with_google_analytics:gon.facebook.track_with_google_analytics,content_type:gon.facebook.content_type||"any",carousel:gon.facebook.carousel,advanced_visible:!1}],this.ad_set=gon.facebook.ad_set,this.ad_template=gon.facebook.ad_template,this.ad_name=gon.facebook.ad_name,this.url_tags=gon.facebook.url_tags,this.original_url_tags=gon.facebook.url_tags,this.content_type=gon.facebook.content_type||"any",this.carousel=gon.facebook.carousel,this.cost_metric_name=gon.facebook.cost_metric_name,this.advanced_visible=!!this.url_tags,this.ad_account_id=gon.facebook.ad_account_id,this.max_frequency_enabled=gon.facebook.max_frequency_enabled,this.min_relevance_enabled=gon.facebook.min_relevance_enabled,this.min_ctr_enabled=gon.facebook.min_ctr_enabled,this.max_cost_enabled=gon.facebook.max_cost_enabled,this.rotate_ads_by_editing_post=gon.facebook.rotate_ads_by_editing_post,this.max_cost=gon.facebook.max_cost,this.max_spend=gon.facebook.max_spend,this.show_max_spend=!!this.max_spend,this.re_use_old_ads=gon.facebook.re_use_old_ads,this.ad_campaign_select2=$("#ads_facebook_ad_set_ad_campaign_id"),this.ad_set_select2=$(".ad-set"),this.ad_template_select2=$(".ad-template"),this.ad_status=gon.ad_status||"ACTIVE",this.selectedPreviewIndex=this.ad_template.id,this.makeAdPreviewOptions()}return t.prototype.PREVIEW_MODAL="#preview-modal",t.prototype.setProductFilter=function(t){return this.productIds||(this.productIds=[]),_.contains(this.productIds,t.id)||this.productIds.push(t.id),this.scope.$apply(function(t){return function(){return t.product_ids=t.productIds.filter(function(t){return""!==t}).join(",")}}(this))},t.prototype.degradeProductFilter=function(t){return this.productIds||(this.productIds=[]),_.contains(this.productIds,t.id)&&this.productIds.splice(this.productIds.indexOf(t.id),1),this.scope.$apply(function(t){return function(){return t.product_ids=t.productIds.filter(function(t){return""!==t}).join(",")}}(this))},t.prototype.setBoardFilter=function(t){return this.boardIds||(this.boardIds=[]),_.contains(this.boardIds,t.id)||this.boardIds.push(t.id),this.scope.$apply(function(t){return function(){return t.board_ids=t.boardIds.filter(function(t){return""!==t}).join(",")}}(this))},t.prototype.degradeBoardFilter=function(t){return this.boardIds||(this.boardIds=[]),_.contains(this.boardIds,t.id)&&this.boardIds.splice(this.boardIds.indexOf(t.id),1),this.scope.$apply(function(t){return function(){return t.board_ids=t.boardIds.filter(function(t){return""!==t}).join(",")}}(this))},t.prototype.setTagFilter=function(t){return this.tags||(this.tags=[]),_.contains(this.tags,t.id)||this.tags.push(t.id),this.scope.$apply(function(t){return function(){return t.tag_ids=t.tags.filter(function(t){return""!==t}).join(",")}}(this))},t.prototype.degradeTagFilter=function(t){return this.tags||(this.tags=[]),_.contains(this.tags,t.id)&&this.tags.splice(this.tags.indexOf(t.id),1),this.scope.$apply(function(t){return function(){return t.tag_ids=t.tags.filter(function(t){return""!==t}).join(",")}}(this))},t.prototype.changeAdAccount=function(){return this.ad_campaign={},this.ad_set={},this.ad_campaign_select2.val("").trigger("change"),this.ad_campaign_select2.trigger("sr-select2.reinit"),this.clearAdSetAndAd(),!0},t.prototype.preDisplayAd=function(t){return t.filter(function(t){return function(e){return!t.ads.some(function(t){var n;return(null!=(n=t.ad_template)?n.id:void 0)===(null!=e?e.id:void 0)})}}(this))},t.prototype.preDisplayConversions=function(t){return t.filter(function(t){return function(e){switch(t.ad_campaign.objective){case"APP_INSTALLS":return"leadgen.other"!==e.id&&-1!==e.text.indexOf("Mobile App Event");case"LEAD_GENERATION":return-1===e.text.indexOf("Mobile App Event");default:return"leadgen.other"!==e.id&&-1===e.text.indexOf("Mobile App Event")}}}(this))},t.prototype.clearAdSetAndAd=function(){var t,e,n,i;for(i=this.ads,e=0,n=i.length;e<n;e++)t=i[e],t.ad_set=void 0,t.ad_template=void 0,t.ad_name=void 0,t.url_tags=void 0,t.original_url_tags=void 0,t.track_with_google_analytics=!1,t.content_type="any",t.carousel=void 0;return this.cost_metric_name=void 0,this.cost_metric_code=void 0,this.max_cost=void 0,this.max_spend=void 0,this.makeAdPreviewOptions(),this.$timeout(function(){return $(".ad-set").val("").trigger("change"),$(".ad-set").trigger("sr-select2.reinit"),$(".ad-template").val("").trigger("change"),$(".ad-template").trigger("sr-select2.reinit"),$(".cost_metric_code").val("").trigger("change"),$(".cost_metric_code").trigger("sr-select2.reinit")})},t.prototype.setAdCampaignFilter=function(t){return this.scope.$apply(function(e){return function(){return e.ad_campaign={id:t.id,name:t.text,objective:t.objective},e.ad_set={},e.clearAdSetAndAd()}}(this))},t.prototype.degradeAdCampaignFilter=function(){return this.scope.$apply(function(t){return function(){return t.ad_campaign={},t.ad_set={},t.ad_set_select2.val("").trigger("change"),t.ad_template_select2.val("").trigger("change")}}(this))},t.prototype.setAdTemplateFilter=function(t){return this.scope.$apply(function(e){return function(){var n,i,o,r;return null!=(n=e.ads[t.index])&&(n.ad_template={id:t.id,name:t.text}),e.ad_template={id:t.id,name:t.text},null!=(i=e.ads[t.index])&&(i.carousel=t.carousel),null!=(o=e.ads[t.index])&&(o.url_tags=t.url_tags),null!=(r=e.ads[t.index])&&(r.original_url_tags=t.url_tags),e.carousel=t.carousel,e.url_tags=t.url_tags,e.original_url_tags=t.url_tags,e.selectedPreviewIndex||(e.selectedPreviewIndex=t.id),e.makeAdPreviewOptions(),e.setAdName(t.index)}}(this))},t.prototype.degradeAdTemplateFilter=function(t){return this.scope.$apply(function(e){return function(){var n,i,o,r;return null!=(n=e.ads[t.index])&&(n.ad_template={}),e.ad_template={},null!=(i=e.ads[t.index])&&(i.carousel=void 0),null!=(o=e.ads[t.index])&&(o.url_tags=void 0),null!=(r=e.ads[t.index])&&(r.original_url_tags=void 0),e.carousel=void 0,e.url_tags=void 0,e.original_url_tags=void 0,e.ad_name=void 0,e.makeAdPreviewOptions()}}(this))},t.prototype.setAdName=function(t){var e;return _.isNull(t)||_.isUndefined(t)||null!=(e=this.ads[t])&&(e.ad_name=this.ads[t].ad_template.name.replace(/\[(?=[^\[]*$).*/,"").trim()),this.ad_name=this.ad_template.name.replace(/\[(?=[^\[]*$).*/,"").trim()},t.prototype.addNewAd=function(){return this.ads.push({ad_set:void 0,ad_template:void 0,ad_name:void 0,ad_name_suffix:"_Shuttlerock",url_tags:void 0,original_url_tags:void 0,track_with_google_analytics:!1,content_type:"any",carousel:void 0})},t.prototype.removeAd=function(t){return this.ads.splice(t,1),this.makeAdPreviewOptions()},t.prototype.setAdSetFilter=function(t){return this.scope.$apply(function(e){return function(){var n;return n=e.ads[t.index],null!=n&&(n.ad_set={id:t.id,name:t.text}),e.ad_set={id:t.id,name:t.text},e.$timeout(function(){return e.adBlock(t.index).find(".ad-template").val("").trigger("change"),e.ad_template_select2.val("").trigger("change"),e.degradeAdTemplateFilter(t)})}}(this))},t.prototype.degradeAdSetFilter=function(t){return this.scope.$apply(function(e){return function(){var n;return null!=(n=e.ads[t.index])&&(n.ad_set={}),e.ad_set={},e.ad_template_select2.val("").trigger("change")}}(this))},t.prototype.autocompleteUrl=function(t,e){var n,i,o,r;return t+"&ad_account_id="+this.ad_account_id+"&ad_campaign_id="+(null!=(n=this.ad_campaign)?n.id:void 0)+"&ad_set_id="+((null!=(i=this.ads[e])&&null!=(o=i.ad_set)?o.id:void 0)||(null!=(r=this.ad_set)?r.id:void 0))},t.prototype.toUrlParams=function(t){return Object.keys(t.ads_facebook_ad_set).map(function(e){return"ads_facebook_ad_set["+e+"]="+encodeURIComponent(t.ads_facebook_ad_set[e]||"")}).join("&")},t.prototype.setCustomConversion=function(t){return this.scope.$apply(function(e){return function(){return e.cost_metric_name=t.text,e.cost_metric_code=t.id}}(this))},t.prototype.resetCustomConversion=function(){return this.scope.$apply(function(t){return function(){return t.cost_metric_name=void 0,t.cost_metric_code=void 0}}(this))},t.prototype.showPreview=function(){return $(this.PREVIEW_MODAL).modal(),$(this.PREVIEW_MODAL).on("hide.bs.modal",function(t){return function(){return t.scope.$apply(function(){return t.ad_format=""})}}(this)),this.updatePreview()},t.prototype.updatePreview=function(){var t,e;if(!_.isEmpty(this.ad_format))return this.preview="",e=this.ads.find(function(t){return function(e){return e.ad_template.id===t.selectedPreviewIndex}}(this)),t=this.toUrlParams(this.buildPostData(e)),this.$http.get(gon.facebook.preview.url+"?ad_set_id="+gon.facebook.preview.ad_set+"&"+t+"&ad_format="+this.ad_format,{transformResponse:function(t){return function(e){return t.$sce.trustAsHtml(e)}}(this)}).then(function(t){return function(e){return t.preview=e.data}}(this),function(t){return function(){return t.preview=""}}(this))},t.prototype.selectedAdIndex=function(){return _.findIndex(this.ads,function(t){return function(e){var n;return(null!=(n=e.ad_template)?n.id:void 0)===t.selectedPreviewIndex}}(this))},t.prototype.prevPreviewAd=function(){var t,e;if(!((t=this.selectedAdIndex()-1)<0))return this.selectedPreviewIndex=null!=(e=this.ads[t].ad_template)?e.id:void 0,this.updatePreview()},t.prototype.nextPreviewAd=function(){var t,e;if(!((t=this.selectedAdIndex()+1)>=this.ads.length))return this.selectedPreviewIndex=null!=(e=this.ads[t].ad_template)?e.id:void 0,this.updatePreview()},t.prototype.adBlock=function(t){return $("[data-index="+t+"]")},t.prototype.drawErrors=function(t,e){var n,i,o,r,s,a,c,l;for(s in e)for(l=e[s],c="[name^='ads_facebook_ad_set["+s+"]']",i=this.adBlock(t).find(c),i.length||(i=$(c)),n=i.closest(".control-group"),n.addClass("error has-danger"),r=0,a=l.length;r<a;r++)o=l[r],n.find(".error-"+o.hashCode()).remove(),n.find(".help-block").before("<span class='help-inline form-control-feedback error-text error-"+o.hashCode()+"'>"+o+"</span>");return $(window).scrollTo($(".error-text"))},t.prototype.removeSection=function(t){return this.ads.splice(t,1)},t.prototype.trySubmit=function(t,e){var n;return t.preventDefault(),this.hasErrors=!1,$(".error-text").remove(),$(".control-group").removeClass("error"),$(".control-group").removeClass("has-danger"),n=this.ads.map(function(t){return function(n,i){var o;return o=t.buildPostData(n,e),t.$http.post("/manage/adverts/campaigns/"+t.ad_campaign_slug+"/facebook/validate",o).then(function(e){return t.createdSlug=e.data.slug},function(e){return t.hasErrors=!0,t.drawErrors(i,e.data.errors)})}}(this)),Promise.all(n).then(function(t){return function(){if(!t.hasErrors)return n=t.ads.map(function(n,i){var o;return o=t.buildPostData(n,e),t.$http.post("/manage/adverts/campaigns/"+t.ad_campaign_slug+"/facebook",o).then(function(e){return t.createdSlug=e.data.slug,t.removeSection(i)},function(e){return t.hasErrors=!0,t.drawErrors(i,e.data.errors)})}),Promise.all(n).then(function(){if(!t.hasErrors)return 1===n.length?location.href="/manage/adverts/campaigns/"+t.ad_campaign_slug+"/facebook/"+t.createdSlug+"/edit":location.href=e?"/manage/adverts/campaigns/"+t.ad_campaign_slug+"/facebook":"/manage/adverts/campaigns/"+t.ad_campaign_slug+"/facebook?status=inactive"})}}(this))},t.prototype.buildPostData=function(t,e){var n,i,o,r;return{ads_facebook_ad_set:{ad_account_id:this.ad_account_id,ad_campaign_id:this.ad_campaign.id,ad_campaign_name:this.ad_campaign.name,ad_campaign_objective:this.ad_campaign.objective,ad_set_id:null!=(n=t.ad_set)?n.id:void 0,ad_set_name:null!=(i=t.ad_set)?i.name:void 0,ad_template_id:null!=(o=t.ad_template)?o.id:void 0,ad_template_name:null!=(r=t.ad_template)?r.name:void 0,ad_name:t.ad_name,ad_name_suffix:t.ad_name_suffix,url_tags:t.advanced_visible?t.url_tags:t.original_url_tags,track_with_google_analytics:t.track_with_google_analytics,content_type:t.content_type,ad_status:this.ad_status,product_ids:[this.product_ids]||[],filter_condition:this.filter_condition,board_ids:[this.board_ids]||[],tag_ids:[this.tag_ids]||[],rotate_ads_by_editing_post:this.rotate_ads_by_editing_post,max_number_of_ads:this.max_number_of_ads,min_live_days:this.min_live_days,max_frequency:this.max_frequency,min_relevance:this.min_relevance,min_ctr:this.min_ctr,max_cost:this.max_cost,max_frequency_enabled:this.max_frequency_enabled,min_relevance_enabled:this.min_relevance_enabled,min_ctr_enabled:this.min_ctr_enabled,max_cost_enabled:this.max_cost_enabled,cost_metric_code:this.cost_metric_code,cost_metric_name:this.cost_metric_name,max_spend:this.max_spend,re_use_old_ads:this.re_use_old_ads,activate:e}}},t.prototype.insertAutofillMacro=function(t,e,n){var i,o,r,s;return null==e&&(e=""),null==n&&(n=-1),e=n>-1?e+n:e,r=angular.element(e),s=r.val(),i=n>-1?this.ads[n]:this,r.focus(),o=r.prop("selectionStart"),i.url_tags=s.slice(0,o)+"{"+t+"}"+s.slice(o)},t.prototype.showRemoveButton=function(){return this.ads.length>1},t.prototype.makeAdPreviewOptions=function(){var t;if(this.adPreviewOptions=this.ads.filter(function(t){var e;return null!=(null!=(e=t.ad_template)?e.id:void 0)}).map(function(t){return{id:t.ad_template.id,label:t.ad_template.name}}),this.selectedPreviewIndex=_.find(this.adPreviewOptions,function(t){return t.id===this.selectedPreviewIndex}),!this.selectedPreviewIndex)return this.selectedPreviewIndex=null!=(t=this.adPreviewOptions[0])?t.id:void 0},t.prototype.showMaxSpend=function(){return this.max_spend=this.max_cost,this.show_max_spend=!0},t.prototype.hideMaxSpend=function(){return this.max_spend=void 0,this.show_max_spend=!1},t}(),t.$inject=["$scope","$http","$timeout","$sce"],Shuttlerock.controller("Manage::Ads::Facebook::AdSetController",t)}.call(this),function(){var t,e=function(t,e){return function(){return t.apply(e,arguments)}};t=function(){function t(t,n,i,o,r,s,a,c){this.scope=t,this.$http=n,this.$timeout=i,this.AdSet=o,this.$uibModal=r,this.PusherService=s,this.$location=a,this.QueryParser=c,this.openEditRulesDialog=e(this.openEditRulesDialog,this),this.openEditContentDialog=e(this.openEditContentDialog,this),this.pushToSelected=e(this.pushToSelected,this),this.openModal=e(this.openModal,this),this.unselect=e(this.unselect,this),this.select=e(this.select,this),this.isSelected=e(this.isSelected,this),this.toggleAdSetSelection=e(this.toggleAdSetSelection,this),this.loading=!0,this.campaign=gon.facebook.campaign,this.sortOrder="ad_set.id",this.selectedAdSets=[],this.pusher=this.PusherService.client,this.loadAdSets()}return t.prototype.loadAdSets=function(){var t;return t={campaigns:this.campaign,cacheBust:new Date},_.assign(t,{query:this.QueryParser.parse().status||"live"}),this.ad_sets=this.AdSet.query(t,function(t){return function(){return t.loading=!1,t.ad_sets.forEach(function(e){var n;return e.campaignId=t.campaign,e.waiting_details=!0,n=t.pusher.subscribe("private-ads-facebook-ad-set@"+e.id),n.bind("details",function(n){return t.scope.$apply(function(){return e.waiting_details=!1,e.effectiveStatus=n.effective_status,e.effectiveStatusTooltip=n.tooltip_info,t.$timeout(function(){return $("td.with-tooltip span").tooltip({html:!0})})})})}),t.$timeout(function(){return $("td.with-tooltip span").tooltip({html:!0})})}}(this)),this.sortOrder="ad_set.id",this.selectedAdSets=[]},t.prototype.isMix=function(t){var e,n;return e=_.union(t.content.products,t.content.boards,t.content.tags),n=_.max([t.content.products,t.content.boards,t.content.tags],function(t){return(null!=t?t.length:void 0)||0}),e.length>n.length},t.prototype.isBoardsOnly=function(t){var e;return!this.isMix(t)&&(null!=(e=t.content.boards)?e.length:void 0)},t.prototype.toggleSort=function(){return"ad_set.id"===this.sortOrder?this.sortOrder="ad_set.name":"ad_set.name"===this.sortOrder?this.sortOrder="-ad_set.name":"-ad_set.name"===this.sortOrder?this.sortOrder="ad_set.name":void 0},t.prototype.toggleAdSetSelection=function(t){return this.isSelected(t)?this.unselect(t):this.select(t)},t.prototype.isSelected=function(t){return _.some(this.selectedAdSets,function(e){return e.id===t.id})},t.prototype.select=function(t){if("archived"!==t.details.status)return this.selectedAdSets.push(t)},t.prototype.unselect=function(t){return this.selectedAdSets=_.reject(this.selectedAdSets,function(e){return e.id===t.id})},t.prototype.notArchivedAdSets=function(){return _.filter(this.ad_sets,function(t){return"archived"!==t.details.status})},t.prototype.isAllSelected=function(){return this.selectedAdSets.length===this.notArchivedAdSets().length},t.prototype.toggleSelectAll=function(){return this.isAllSelected()?this.selectedAdSets=[]:this.selectedAdSets=this.notArchivedAdSets()},t.prototype.openModal=function(t,e){return this.$uibModal.open({animation:!1,backdrop:!0,bindToController:!0,controller:t,controllerAs:"ctrl",resolve:{ads:{selectedAdSets:this.selectedAdSets,allAdSets:this.ad_sets,adCampaignId:this.campaign}},size:"lg",templateUrl:e}).result.then(function(t){return function(e){var n,i,o,r;if(e){for(r=[],n=0,i=e.length;n<i;n++)o=e[n],r.push(t.replaceAdSet(o));return r}}}(this))},t.prototype.pushToSelected=function(t){if(!this.isSelected(t))return this.selectedAdSets.push(t)},t.prototype.openEditContentDialog=function(t){return this.pushToSelected(t),this.openModal("EditContentDialogController","/manage/ad_sets/edit-content-modal.html")},t.prototype.openEditRulesDialog=function(t){return this.pushToSelected(t),this.openModal("EditRulesDialogController","/manage/ad_sets/edit-rules-modal.html")},t.prototype.replaceAdSet=function(t){var e;return e=_.findIndex(this.ad_sets,function(e){return e.id===t.id}),_.assign(this.ad_sets[e],t),this.$timeout(function(){return $("td.with-tooltip span").tooltip({html:!0})})},t.prototype.conversionTypeTooltip=function(t){return t.rotation.cost_metric.code?t.rotation.cost_metric.name:null},t}(),t.$inject=["$scope","$http","$timeout","Ads::Facebook::AdSet","$uibModal","PusherService","$location","QueryParser"],Shuttlerock.controller("Manage::Ads::Facebook::AdSetsController",t)}.call(this),function(){var t;t=function(){function t(t,e,n,i,o){this.scope=t,this.window=e,this.PusherService=n,this.PaginationService=i,this.Ad=o,this.search=!1,this.pusher=this.PusherService.client,this.status="",this.sort_method="updated_desc",this.ads=[],this.pagination=null,this.getAds()}return t.prototype.getAds=function(){var t;return this.loading=!0,this.ads.forEach(function(t){return function(e){return t.pusher.unsubscribe("private-ads-facebook-ad@"+e.id)}}(this)),this.ads=this.Ad.query({per_page:20,page:(null!=(t=this.pagination)?t.currentPage:void 0)||1,sort_method:this.sort_method,adsets:this.adsets(),statuses:this.statuses()},function(t){return function(e,n){return t.pagination=t.PaginationService.create(n),t.loading=!1,e.forEach(function(e){return e.waiting_details=!0,t.subscribeToAdUpdates(e)})}}(this),function(t){return function(e){return console.error(e),t.pagination=null,t.loading=!1}}(this))},t.prototype.subscribeToAdUpdates=function(t){var e;return e=this.pusher.subscribe("private-ads-facebook-ad@"+t.id),e.bind("details",function(e){return function(n){return e.scope.$apply(function(){return t.waiting_details=!1,t.details=n.details,t.facebook=n.facebook})}}(this))},t.prototype.toggleSortBy=function(t){var e;return e=t+"_asc",this.sort_method===e&&(e=t+"_desc"),this.sort_method=e,this.getAds()},t.prototype.statuses=function(){return _.isEmpty(this.status)?null:this.status},t.prototype.adsets=function(){return this.window.location.pathname.match(/\/facebook\/(.*)\/history/)[1]},t}(),t.$inject=["$scope","$window","PusherService","PaginationService","Ads::Facebook::Ad"],Shuttlerock.controller("Manage::Ads::Facebook::AdsController",t)}.call(this),function(){var t;window.shuttlerock||(window.shuttlerock={}),(t=window.shuttlerock).App||(t.App={}),shuttlerock.App.AdSetModalBase=function(){function t(){}return t.prototype.close=function(){return this._hideTooltips(),this.$instance.close(!1)},t.prototype._hideTooltips=function(){return this.$timeout(function(){return $('[data-toggle="tooltip"]').tooltip("hide"),$('[data-toggle="tooltip"] a').blur()})},t.prototype._adSetEditedLabelAdSets=function(){return this.ads.selectedAdSets.length<2?I18n.t("common.ad_set"):I18n.t("common.ad_sets")},t.prototype.adSetEditedLabel=function(){var t;return t=this.ads.selectedAdSets.length>0?this.ads.selectedAdSets.length:1,I18n.t("common.label_for")+" "+t+" "+this._adSetEditedLabelAdSets()},t.prototype.adSetEditedHint=function(){var t;return t=this.ads.selectedAdSets.length>0?this.ads.selectedAdSets:[this.ads.adSet],_.map(t,function(t){return t.ad_set.name}).join("<br />")},t.prototype.submit=function(t){var e;return e=[],_.each(t,function(t){return function(n){return e.push(t.$http.put(Routes.manage_ads_campaign_facebook_ad_set_path(t.ads.adCampaignId,n.id),t.buildPostData(n)))}}(this)),Promise.all(e)},t.prototype.validateAndSubmit=function(t,e){return t.preventDefault(),t.stopPropagation(),this.submit(e).then(function(t){return function(e){return t._hideTooltips(),
t.$instance.close(_.map(e,function(t){return t.data}))}}(this),function(t){return function(e){return t.errors=[],t.scope.$apply(function(){var n,i,o,r,s,a;for(s=Object.keys(e.data.errors),a=[],i=0,r=s.length;i<r;i++)o=s[i],n=e.data.errors[o][0],-1===t.errors.indexOf(n)?a.push(t.errors.push(n)):a.push(void 0);return a})}}(this))},t.prototype.all=function(t){return this.validateAndSubmit(t,this.ads.allAdSets)},t.prototype.selected=function(t){return this.validateAndSubmit(t,this.ads.selectedAdSets)},t}()}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(t,e,n,i,o){this.scope=t,this.$http=e,this.$instance=n,this.ads=i,this.$timeout=o,this.ad=this.ads.adSet=angular.copy(this.ads.selectedAdSets[0]),this.products=this.ad.content.products||[],this.productIds=this._productIds(),this.boards=this.ad.content.boards||[],this.boardIds=this._boardIds(),this.tags=_.map(this.ad.content.tags,function(t){return{id:t,text:t}||[]}),this.tagIds=this._tagIds(),this.contentType=this.ad.content.type,this.$timeout(function(){return function(){return $(".with-tooltip").tooltip({html:!0})}}())}return e(n,t),n.prototype.degradeProductFilter=function(t){return this.productIds.splice(this.productIds.indexOf(t.id),1)},n.prototype.degradeBoardFilter=function(t){return this.boardIds.splice(this.boardIds.indexOf(t.id),1)},n.prototype.degradeTagFilter=function(t){return this.tagIds.splice(this.tagIds.indexOf(t.id),1)},n.prototype._productIds=function(){return _.pluck(this.products,"id")},n.prototype._boardIds=function(){return _.pluck(this.boards,"id")},n.prototype._tagIds=function(){return _.pluck(this.tags,"id")},n.prototype.buildPostData=function(){return{ads_facebook_ad_set:{content_type:this.contentType,product_ids:this.productIds||[],board_ids:this.boardIds||[],tag_ids:this.tagIds||[]}}},n.prototype.onlyCarousel=function(){return _.every(this.ads.selectedAdSets,function(t){return t.template.carousel})},n}(shuttlerock.App.AdSetModalBase),t.$inject=["$scope","$http","$uibModalInstance","ads","$timeout"],Shuttlerock.controller("EditContentDialogController",t)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(t,e,n,i,o){this.scope=t,this.$http=e,this.$timeout=n,this.$instance=i,this.ads=o,this.errors=[],this.ads.adSet=angular.copy(this.ads.selectedAdSets[0]),this.$timeout(function(){return function(){return $(".with-tooltip").tooltip({html:!0})}}())}return e(n,t),n.prototype.handleCostMetricCodeSelected=function(t){return this.costMetricCode=t.id,this.costMetricName=t.text},n.prototype.handleCostMetricCodeUnselected=function(){return this.costMetricCode=void 0,this.costMetricName=void 0},n.prototype.allAdsWillRotateAdsByEditingPost=function(){return _.every(this.ads.selectedAdSets,function(t){return t.rotation.rotate_ads_by_editing_post})},n.prototype.buildPostData=function(){var t,e,n,i,o;return o=this.ads.adSet.rotation,{ads_facebook_ad_set:{min_live_days:this.minLiveDays||gon.facebook.defaults.min_live_days,max_frequency:this.maxFrequency||gon.facebook.defaults.max_frequency,max_frequency_enabled:null!=(t=o.max_frequency)?t.enabled:void 0,min_relevance:this.minRelevance||0,min_relevance_enabled:null!=(e=o.min_relevance)?e.enabled:void 0,max_number_of_ads:this.numberOfAds||gon.facebook.defaults.max_number_of_ads,min_ctr:this.minCtr||0,min_ctr_enabled:null!=(n=o.min_ctr)?n.enabled:void 0,max_cost:this.maxCost||0,max_cost_enabled:null!=(i=o.max_cost)?i.enabled:void 0,cost_metric_code:this.costMetricCode,cost_metric_name:this.costMetricName}}},n.prototype.conversionTypeUrl=function(){return Routes.autocomplete_manage_ads_campaign_facebook_ad_sets_path(this.ads.adCampaignId,{type:"ad_custom_conversions",ad_account_id:this.ads.adSet.account.id})},n}(shuttlerock.App.AdSetModalBase),t.$inject=["$scope","$http","$timeout","$uibModalInstance","ads"],Shuttlerock.controller("EditRulesDialogController",t)}.call(this),function(){var t;t=function(){function t(t,e,n){this.scope=t,this.window=e,this.Entry=n,this.boardItems=$(".content-bank input#board_item_"),this.searchForm=$("form#board_item_search"),this.quickFilters=null===$.cookie("sr_quick_filters")||"true"===$.cookie("sr_quick_filters"),this.use_v2_views=this.window.gon.use_v2_views,this.showSelectAll=!0,this.loading=!1,this.approvalStatus=this.window.gon.entries.approval_status,this.approvedForAdvertising=this.window.gon.entries.approved_for_advertising,this.creatorName=this.window.gon.entries.creator_name,this.providerName=this.window.gon.entries.provider_name,this.lifetime=this.window.gon.entries.lifetime,this.rangeStart=this.window.gon.entries.range_start,this.rangeEnd=this.window.gon.entries.range_end,this.location=this.window.gon.entries.location,this.orientation=this.window.gon.entries.orientation,this.resultStyle=this.window.gon.entries.result_style,this.tags=this.window.gon.entries.tags,this.type=this.window.gon.entries.type,this.boards=this.window.gon.entries.boards,this.tags=this.window.gon.entries.tags,this.moveToBoard=null,this.copyToBoard=null,this.liveAdsCreatives=this.window.gon.entries.live_ads_creatives,this.createdBetweenFilter=this.searchForm.find("input.datetime_picker"),this.createdBetweenFilter.on("change",function(t){return function(){return t.scope.$apply(function(){return t.lifetime=null})}}(this)),this.initPopovers()}return t.prototype.TAG_FORM="#tag-form",t.prototype.toggleResultStyle=function(t){return this.resultStyle=t,this.searchForm.find("input#result_style").val(t),this.performSearch(),this.loading=!0},t.prototype.toggleQuickFilters=function(t,e){return this.quickFilters=t,$.cookie("sr_quick_filters",t,{path:"/"}),e.preventDefault()},t.prototype.selectAll=function(){return this.boardItems.prop("checked",!0),$(".content-bank div.board_item").addClass("selected"),this.showSelectAll=!1},t.prototype.selectNone=function(){return this.boardItems.prop("checked",!1),$(".content-bank div.board_item").removeClass("selected"),this.showSelectAll=!0},t.prototype.toggleRowSelection=function(t){var e,n;return n=$(t.target),n.is("td")&&(e=n.parents("tr").find("input.row_selector"),e.prop("checked",!e.prop("checked"))),!0},t.prototype.toggleGridItemSelection=function(t){var e,n;return n=$(t.target),n.is("div.checkbox-wrapper")&&(e=n.find("input.item_selector"),e.prop("checked",!e.prop("checked")),e.prop("checked")?n.parents("div.board_item").addClass("selected"):n.parents("div.board_item").removeClass("selected")),!0},t.prototype.toggleBoardItem=function(){return this.showSelectAll=this.checkedBoardItems().length!==this.boardItems.length},t.prototype.checkedBoardItems=function(){return _.filter(this.boardItems,{checked:!0})},t.prototype.setBoardFilter=function(t){return this.scope.$apply(function(e){return function(){return t.selected?e.boards.push({id:t.id,label:t.text}):e.boards.splice(e.boards.findIndex(function(e){return e.id===t.id}),1)}}(this))},t.prototype.setTagFilter=function(t){return this.scope.$apply(function(e){return function(){return t.selected?e.tags.push({id:t.id,label:t.text}):e.tags.splice(e.tags.findIndex(function(e){return e.id===t.id}),1)}}(this))},t.prototype.resetModeratedBetweenFilter=function(){return this.createdBetweenFilter.val(""),!0},t.prototype.performSearch=function(){if(!this.loading)return this.loading=!0,this.searchForm.submit(),!0},t.prototype.approveForAds=function(t){var e;if(!this.loading&&!_.isEmpty(this.checkedBoardItems())&&confirm(t))return e={approved_for_advertising:!0,approved_for_all_ads:!0},this.updateSelectedBoardItems(e)},t.prototype.unapproveForAds=function(t){var e;if(!this.loading&&!_.isEmpty(this.checkedBoardItems())&&confirm(t))return e={approved_for_advertising:!1,approved_for_all_ads:!1},this.updateSelectedBoardItems(e)},t.prototype.showTagForm=function(){return this.showModalForm(this.TAG_FORM)},t.prototype.performTag=function(){var t,e;if(!this.loading)return t=$(this.TAG_FORM),e={products:t.find("#products").val()||"",tags:t.find("#tags").val()||""},this.updateSelectedBoardItems(e,"tag")},t.prototype.showMoveToBoardForm=function(){return this.showModalForm("#move-to-board")},t.prototype.onSelectedMoveTo=function(t){return this.moveToBoard=t.id},t.prototype.onSelectedCopyTo=function(t){return this.copyToBoard=t.id},t.prototype.performMoveToBoard=function(){var t;if(!this.loading)return t={board_id:this.moveToBoard},this.updateSelectedBoardItems(t)},t.prototype.showCopyToBoardForm=function(){return this.showModalForm("#copy-to-board")},t.prototype.performCopyToBoard=function(){var t;if(!this.loading)return t={board_id:this.copyToBoard},this.updateSelectedBoardItems(t,"copy")},t.prototype.showModalForm=function(t){if(!this.loading&&!_.isEmpty(this.checkedBoardItems()))return $(t).modal().on("shown",function(){return $(t).find("select[sr_select2_autocomplete_from]").trigger("change")}),!0},t.prototype.updateSelectedBoardItems=function(t,e){return null==e&&(e="update"),this.loading=!0,$(".modal").modal("hide"),_.each(this.checkedBoardItems(),function(n){return function(i){return n.Entry[e]({id:$(i).val()},t,function(){return n.uncheckAndReloadPage(i)},function(){return n.uncheckAndReloadPage(i)})}}(this))},t.prototype.uncheckAndReloadPage=function(t){if($(t).prop("checked",!1),_.isEmpty(this.checkedBoardItems()))return this.window.location.reload()},t.prototype.initPopovers=function(){return $("tbody td.thumbnail-column-lg img, tbody td.thumbnail-column img").popover({animation:!1,placement:"right",html:!0,trigger:"hover",delay:500,content:function(){return"<img src='"+$(this).data("medium-square")+"' height='240' width='240' style='min-height: 240px'></img>"}})},t}(),t.$inject=["$scope","$window","Entry"],Shuttlerock.controller("Manage::BoardItemsController",t)}.call(this),function(){Shuttlerock.controller("BoardMixController",["$scope",function(t){return t.boardIds=$("#site_balanced_board_ids").val(),t.site={board_ids:""},t.setBoardFilter=function(e){return t.boardIds||(t.boardIds=[]),_.contains(t.boardIds,e.id)||t.boardIds.push(e.id),t.$apply(function(){return t.site.board_ids=t.boardIds.filter(function(t){return""!==t}).join(",")})},t.degradeBoardFilter=function(e){return t.boardIds||(t.boardIds=[]),_.contains(t.boardIds,e.id)&&t.boardIds.splice(t.boardIds.indexOf(e.id),1),t.$apply(function(){return t.site.board_ids=t.boardIds.filter(function(t){return""!==t}).join(",")})}}])}.call(this),function(){var t;t=function(){function t(t,e){this.scope=t,this.window=e}return t.prototype.setBoardFilter=function(t){return this.window.location.href=Routes.manage_board_edit_path(t.id,{pane:"settings"})},t}(),t.$inject=["$scope","$window"],Shuttlerock.controller("Manage::BoardsFilterController",t)}.call(this),function(){var t;t=function(){function t(t){this.scope=t,this.selected=!0,this.pages=gon.facebook.pages,this.pages.forEach(function(t){return t.checked=!0}),this.hasNewPages=_.some(this.pages,function(t){return!t.existed})}return t.prototype.selectAll=function(){return this.selected=!this.selected,this.pages.forEach(function(t){return function(e){return e.checked=t.selected}}(this))},t}(),t.$inject=["$scope"],Shuttlerock.controller("Manage::FacebookTokensController",t)}.call(this),function(){var t;t=function(){function t(t,e){this.scope=t,this.Integration=e,this.integration=this.UNSELECTED,this.tokens_loading=!0,this.providers_loading=!0,this.integrations={tokens:[],providers:[]},this.integrations.tokens=this.Integration.tokens({},function(t){return function(){return t.tokens_loading=!1}}(this),function(t){return function(e){return console.error(e),t.tokens_loading=!1}}(this)),this.integrations.providers=this.Integration.providers({},function(t){return function(){return t.providers_loading=!1}}(this),function(t){return function(e){return console.error(e),t.providers_loading=!1}}(this)),this.sortOptions()}return t.prototype.UNSELECTED="unselected",t.prototype.sortOptions=function(){var t,e;return e=angular.element("#select-integration option").toArray(),t=e.shift(),e.sort(function(t,e){return t.innerText.toLowerCase()>e.innerText.toLowerCase()?1:-1}),e.unshift(t),angular.element("#select-integration").html(e)},t.prototype.refreshToken=function(t,e){if(!t.actions.refresh)return e.preventDefault(),Application.createModal($(".no-access-modal .heading").html(),$(".no-access-modal .body").html(),null,null,{showCancelButton:!0})},t}(),t.$inject=["$scope","Manage::Integration"],Shuttlerock.controller("Manage::IntegrationsController",t)}.call(this),function(){var t;t=function(){function t(t){this.window=t}return t.prototype.selectCampaign=function(t){return this.window.location.href=Routes.edit_manage_ads_campaign_path(t.id)},t}(),t.$inject=["$window"],Shuttlerock.controller("Manage::NavbarCampaignsController",t)}.call(this),function(){var t;t=function(){function t(t){this.scope=t,this.member=gon.app_invite.member}return t.prototype.setMemberFilter=function(t){return this.scope.$apply(function(e){return function(){return e.member.id=t.id!==t.text?t.id:"",e.member.name=t.text}}(this))},t}(),t.$inject=["$scope"],Shuttlerock.controller("NewAppInviteController",t)}.call(this),function(){var t;t=function(){function t(t){this.scope=t,this.item=JSON.parse(gon.item),this.approval_response=JSON.parse(this.item.approval_response)}return t}(),t.$inject=["$scope"],Shuttlerock.controller("SocialConsentsController",t)}.call(this),function(){Shuttlerock.controller("SocialWidgetsController",["$scope","SocialWidget","$timeout",function(t,e,n){var i;return t.embed_code={html:null,rows:1},t.preview_url=null,t.widget=e,t.init=function(){var n,i,o,r;return t.widget=e.create(gon.social_widgets_controller_options),(n=t.widget.options).list_type||(n.list_type="board"),t.productIds=(t.widget.options.product_id||"").split(","),(i=t.widget.options).product_ids||(i.product_ids=t.widget.options.product_id),t.boardIds=(t.widget.options.board_id||"").split(","),(o=t.widget.options).board_ids||(o.board_ids=t.widget.options.board_id),t.tagIds=(t.widget.options.tag_id||"").split(","),(r=t.widget.options).tag_ids||(r.tag_ids=t.widget.options.tag_id||""),t.useLatestBundle="latest"===t.widget.options.bundle_version,t.updateIframe()},t.changeFilter=function(){return t.resetAutocompletions(),t.updateIframe()},i=function(t){return Array.apply(null,{length:t}).map(Number.call,Number)},t.entryWidthChanged=function(){var e;return e=parseInt(t.widget.options.entry_width,10),t.boardInfoWidths=i(100/e).map(function(t){return{id:t+1,label:t+1+" columns"}}),t.widget.options.board_info_width=1,n(function(){return $("#social_widget_bolt_board_info_width").val(1).trigger("change.select2"),t.updateIframe()})},t.updateIframe=function(){var e,n,i,o;return n=t.widget.renderHead(),e=t.widget.renderCode(),i=n+"\n\n"+e,o=i.split("\n").length+2,t.raw_html={html:i,rows:o},t.widget.options.stateful?t.embed_code={html:'<script src="https://scripts.shuttlerock.com/'+t.widget.options.customer+"/content-hub/"+t.widget.options.slug+'.js"></script><div id="content-hub-'+t.widget.options.slug+'" class="sr-wrap-'+t.widget.options.human_type+'"></div>',rows:3}:t.embed_code=t.raw_html,t.preview_url=t.encodedUrl(e)},t.encodedUrl=function(e){var n;return n=encodeURIComponent($.base64.encode(pako.deflate(e,{to:"string"}))),t.widget.options.base_url+"?preview=true&q="+n},t.resetAutocompletions=function(){return t.resetProductFilter(),t.resetBoardFilter(),t.resetTagFilter()},t.setProductFilter=function(e){return t.resetAutocompletions(),t.productIds||(t.productIds=[]),_.contains(t.productIds,e.id)||t.productIds.push(e.id),t.$apply(function(){return t.widget.options.product_ids=t.productIds.filter(function(t){return""!==t}).join(","),t.widget.options.product.url=e.text,t.updateIframe()})},t.setBundleVersion=function(e){return t.$apply(function(){return t.widget.options.bundle_version=e.text,t.updateIframe()})},t.degradeProductFilter=function(e){return t.resetAutocompletions(),t.productIds||(t.productIds=[]),_.contains(t.productIds,e.id)&&t.productIds.splice(t.productIds.indexOf(e.id),1),t.$apply(function(){return t.widget.options.product_ids=t.productIds.filter(function(t){return""!==t}).join(","),t.widget.options.product.url=e.text,t.updateIframe()})},t.resetProductFilter=function(){return t.productIds||(t.productIds=(t.widget.options.product_id||"").split(",")),t.widget.options.product.id=null,t.widget.options.product.url=null},t.setUploadProductFilter=function(e){return"CURRENT_PAGE"===e.value?t.widget.options.upload_product=e.value:t.widget.options.upload_product=e.label,t.updateIframe()},t.setBoardFilter=function(e){return t.resetAutocompletions(),t.boardIds||(t.boardIds=[]),_.contains(t.boardIds,e.id)||t.boardIds.push(e.id),t.$apply(function(){return t.widget.options.board_ids=t.boardIds.filter(function(t){return""!==t}).join(","),t.widget.options.board_name=e.label,t.updateIframe()})},t.degradeBoardFilter=function(e){return t.resetAutocompletions(),t.boardIds||(t.boardIds=[]),_.contains(t.boardIds,e.id)&&t.boardIds.splice(t.boardIds.indexOf(e.id),1),t.$apply(function(){return t.widget.options.board_ids=t.boardIds.filter(function(t){return""!==t}).join(","),t.widget.options.board_name=e.label,t.updateIframe()})},t.setUploadBoardFilter=function(e){return t.resetBoardFilter(),t.resetTagFilter(),t.widget.options.upload_board_id=e.value,t.widget.options.upload_board_name=e.label,t.updateIframe()},t.setDefaultUploadBoardFilter=function(e){return t.widget.options.default_upload_board_id=e.value,t.widget.options.default_upload_board_name=e.label,t.updateIframe()},t.resetBoardFilter=function(){return t.boardIds||(t.boardIds=(t.widget.options.board_id||"").split(",")),t.widget.options.board_id=null,t.widget.options.board_name=null},t.setTagFilter=function(e){return t.resetAutocompletions(),t.tagIds||(t.tagIds=[]),_.contains(t.tagIds,e.id)||t.tagIds.push(e.id),t.$apply(function(){return t.widget.options.tag_ids=t.tagIds.filter(function(t){return""!==t}).join(","),t.updateIframe()})},t.degradeTagFilter=function(e){return t.resetAutocompletions(),t.tagIds||(t.tagIds=[]),_.contains(t.tagIds,e.id)&&t.tagIds.splice(t.tagIds.indexOf(e.id),1),t.$apply(function(){return t.widget.options.tag_ids=t.tagIds.filter(function(t){return""!==t}).join(","),t.updateIframe()})},t.resetTagFilter=function(){return t.widget.options.tag_id=null,t.tagIds||(t.tagIds=(t.widget.options.tag_id||"").split(","))},t.toggleUploadFilterHub=function(){return t.widget.options.file_upload||(t.widget.options.upload_tags=null,t.widget.options.upload_product=null,t.widget.options.select_upload_board=null),t.toggleBoardInfo()},t.toggleUploadFilterStream=function(){if(!t.widget.options.file_upload)return t.widget.options.upload_tags=null,t.widget.options.upload_product=null,t.resetDefaultBoardFilter()},t.toggleBoardInfo=function(){return t.widget.options.file_upload||t.widget.options.board_info||t.resetDefaultBoardFilter(),t.updateIframe()},t.toggleAdverts=function(){return t.widget.options.include_adverts||(t.widget.options.advert_frequency=void 0),t.updateIframe()},t.toggleCarouselInterval=function(){return t.widget.options.interval_toggle||(t.widget.options.interval="force_false"),!t.widget.options.interval_toggle||t.widget.options.interval&&"force_false"!==t.widget.options.interval||(t.widget.options.interval=5e3),t.updateIframe()},t.toggleLatestBundle=function(){return t.useLatestBundle?(t.widget.options.bundle_version="latest",$("#social_widget_bolt_bundle_version").val("latest"),$("#social_widget_horizontal_bundle_version").val("latest")):(t.widget.options.bundle_version=gon.latest_bolt,$("#social_widget_bolt_bundle_version").val(gon.latest_bolt),$("#social_widget_horizontal_bundle_version").val(gon.latest_bolt)),t.updateIframe()},t.init()}])}.call(this),function(){var t;t=function(){function t(t){this.scope=t,this.default_upload_board=gon.squad.default_upload_board}return t.prototype.setDefaultUploadBoardFilter=function(t){return this.scope.$apply(function(e){return function(){return e.default_upload_board.id=t.id,e.default_upload_board.name=t.text}}(this))},t}(),t.$inject=["$scope"],Shuttlerock.controller("SquadController",t)}.call(this),function(){var t;t=function(){function t(t){this.scope=t,this.board=gon.squad_task.board,this.product=gon.squad_task.product,this.squad_task={id:null,name:null}}return t.prototype.setSquadTaskFilter=function(t){return this.scope.$apply(function(e){return function(){return t.id!==t.text?e.squad_task.id=t.id:e.squad_task.id=null,e.squad_task.name=t.text}}(this))},t.prototype.setBoardFilter=function(t){return this.scope.$apply(function(e){return function(){return e.board.id=t.id,e.board.name=t.text}}(this))},t.prototype.setProductFilter=function(t){return this.scope.$apply(function(e){return function(){return e.product.id=t.id,e.product.name=t.text}}(this))},t}(),t.$inject=["$scope"],Shuttlerock.controller("SquadTaskController",t)}.call(this),function(){var t=function(t,e){return(+t%(e=+e)+e)%e};Shuttlerock.controller("StatisticsController",["$scope","$http","$timeout","$filter","$location",function(e,n,i,o,r){return e.board=gon.statistics.board||"",e.board_item=gon.statistics.board_item,e.squad=gon.statistics.squad||"",e.campaign=gon.statistics.campaign||"",e.ad_set=gon.statistics.ad_set||"",e.ad=gon.statistics.ad||"",e.range=$("#range_select").val(),e.range_start=$("#range_start").prop("value"),e.range_end=$("#range_end").prop("value"),e.loading=!1,e.statistics={},e.statistics_path=$("#manage-statistics").data("path"),e.colors=["56, 132, 158","77, 169, 68","241, 128, 73","174, 199, 232","255, 187, 120","152, 223, 138","214, 39, 40","31, 119, 180"],e.charts={},e.timeout_promise=null,e.init=function(){var t;return $("#range-form .date_picker").datepicker({dateFormat:"yy-mm-dd",maxDate:0,minDate:-366,showButtonPanel:!0}),t=r.search(),_.isEmpty(t)||(t.range&&(e.range=t.range),t.range_start&&(e.range_start=t.range_start),t.range_end&&(e.range_end=t.range_end),t.board&&(e.board=t.board),t.board_item&&(e.board_item=t.board_item),t.squad&&(e.squad=t.squad),t.campaign&&(e.campaign=t.campaign),t.ad_set&&(e.ad_set=t.ad_set),t.ad&&(e.ad=t.ad),t.show_inactive_ads&&(e.show_inactive_ads=t.show_inactive_ads)),e.refresh(),!0},e.prepareRange=function(){var t,n,i;return n=new Date(e.range_start),t=new Date(e.range_end),n>t&&(i=e.range_start,e.range_start=e.range_end,e.range_end=i,e.refresh(),!0)},e.refresh=function(){var t;if(!e.loading)return t={range:e.range,range_start:e.range_start,range_end:e.range_end,board_item:e.board_item},e.board&&(t.board=e.board),e.squad&&(t.squad=e.squad),e.campaign&&(t.campaign=e.campaign),e.ad_set&&(t.ad_set=e.ad_set),e.ad&&(t.ad=e.ad),e.show_inactive_ads&&(t.show_inactive_ads=e.show_inactive_ads),r.search(t)},e.$on("$locationChangeSuccess",function(){return e.update()}),e.update=function(){var t;if(i.cancel(e.timeout_promise),e.loading=!0,e.statistics={},!e.prepareRange())return $(".doughnut-legend").remove(),t=r.search(),t.format="json",n.get(e.statistics_path,{params:t}).then(function(t){return t.data.processing?void(e.timeout_promise=i(e.update,1e3)):(e.statistics=t.data,e.loading=!1,e.statistics.activity&&e.initVisitorsChart(),e.statistics.fb_app_analytics&&e.initFbAppAnalyticsChart(),e.statistics.content&&(e.initUploadsChart(),e.initContentNetworkChart(),e.initContentTypeChart()),e.statistics.social&&e.initTrendingHashtagsChart(),e.statistics.visitors&&(e.initUsersChart(),e.initGenderChart(),e.initLocationChart(),e.initNetworkChart()),e.statistics.payments&&e.initPaymentsChart(),e.statistics.payouts&&e.initPayoutsChart(),e.statistics.missions&&e.initMissionsChart(),e.statistics.invitations&&e.initInvitationsChart(),e.statistics.popularity&&(e.initPopularTasksChart(),e.initActiveSquadsChart()),e.statistics.ads_facebook?(e.initAdsFacebookCpcChart(),e.initAdsFacebookCtrChart(),e.initAdsFacebookFrequencyChart(),e.initAdsFacebookImpressionsChart(),e.initAdsFacebookRelevanceScoreChart(),e.initAdsFacebookSpendChart()):void 0)},function(){return e.loading=!1})},e.dateChart=function(n,i){var r,s,a,c,l,u,d,p,h;if(u=$.grep(i,function(t){return t}),i.length===u.length)return e.charts[n]&&e.charts[n].destroy(),p=i[0],c=Math.floor(p.length/45)+1,h=[],l=_.map(p,function(n,i){var r,s;return s=n.x,r="hour"===e.statistics.unit?(s=moment.tz(s,"Pacific/Auckland").format("HH:mm"),"HH:mm"):"MMM dd",s=o("date")(s,r),h.push(n.label||s),0===t(i,c)?s:""}),a=_.map(i,function(t,n){var i;return i=_.map(t,function(t){return t.y}),{backgroundColor:"rgba("+e.colors[n]+", 0.5)",borderColor:"rgba("+e.colors[n]+", 1)",pointBackgroundColor:"rgba("+e.colors[n]+", 1)",pointBorderStrokeColor:"#fff",data:i,tooltipLabels:_.map(t,function(t){return t.label})}}),s={datasets:a,labels:l},d={responsive:!0,legend:{display:!1},tooltips:{enabled:!0,mode:"nearest",callbacks:{title:function(t,e){return _.map(t,function(t){return e.datasets[t.datasetIndex].data[t.index]})},label:function(t,e){return e.datasets[t.datasetIndex].tooltipLabels[t.index]}}}},r=$(n)[0].getContext("2d"),e.charts[n]=new Chart(r,{type:"line",data:s,options:d})},e.pieChart=function(t,n){var i,o,r,s,a,c,l;if(n)return e.charts[t]&&e.charts[t].destroy(),l=n.map(function(t){return t.y}),i=n.map(function(t,n){return"rgba("+e.colors[n]+", 1)"}),s=n.map(function(t,n){return"rgba("+e.colors[n]+", 0.5)"}),a=n.map(function(t){return t.x}),c={responsive:!0},r={datasets:[{data:l,backgroundColor:i,hoverBackgroundColor:s}],labels:a},o=$(t)[0].getContext("2d"),e.charts[t]=new Chart(o,{type:"doughnut",data:r,options:c})},e.initVisitorsChart=function(){return e.dateChart("#visitors_chart",[e.statistics.activity.page_views,e.statistics.activity.unique_visitors])},e.initFbAppAnalyticsChart=function(){return e.dateChart("#fb_app_analytics_chart",[e.statistics.fb_app_analytics.active_users])},e.initUploadsChart=function(){return e.dateChart("#uploads_chart",[e.statistics.content.pulled,e.statistics.content.uploads,e.statistics.content.email_uploads])},e.initContentNetworkChart=function(){return e.pieChart("#content_network_chart",e.statistics.content.social_networks)},e.initContentTypeChart=function(){return e.pieChart("#content_type_chart",e.statistics.content.types)},e.initTrendingHashtagsChart=function(){return e.pieChart("#trending_hashtags_chart",e.statistics.social.trending_hashtags)},e.initUsersChart=function(){return e.dateChart("#users_chart",[e.statistics.visitors.new_users])},e.initGenderChart=function(){return e.pieChart("#gender_chart",e.statistics.visitors.gender_counts)},e.initLocationChart=function(){return e.pieChart("#location_chart",e.statistics.visitors.location_counts)},e.initNetworkChart=function(){return e.pieChart("#network_chart",e.statistics.visitors.network_counts)},e.initPaymentsChart=function(){return e.dateChart("#payments_chart",[e.statistics.payments.payments])},e.initPayoutsChart=function(){return e.dateChart("#payouts_chart",[e.statistics.payouts.payouts])},e.initMissionsChart=function(){return e.dateChart("#missions_chart",[e.statistics.missions.sent,e.statistics.missions.completed,e.statistics.missions.uploads])},e.initInvitationsChart=function(){return e.dateChart("#invitations_chart",[e.statistics.invitations.sent,e.statistics.invitations.accepted])},e.initActiveSquadsChart=function(){return e.pieChart("#active_squads_chart",e.statistics.popularity.squads)},e.initPopularTasksChart=function(){return e.pieChart("#popular_tasks_chart",e.statistics.popularity.tasks)},e.initAdsFacebookCpcChart=function(){var t;if(null!=(t=e.statistics.ads_facebook.cpc))return Array.isArray(t[0])||(t=[t]),e.dateChart("#cpc_chart",t)},e.initAdsFacebookCtrChart=function(){var t;if(null!=(t=e.statistics.ads_facebook.ctr))return Array.isArray(t[0])||(t=[t]),e.dateChart("#ctr_chart",t)},e.initAdsFacebookFrequencyChart=function(){var t;if(null!=(t=e.statistics.ads_facebook.frequency))return Array.isArray(t[0])||(t=[t]),e.dateChart("#frequency_chart",t)},e.initAdsFacebookImpressionsChart=function(){var t;if(null!=(t=e.statistics.ads_facebook.impressions))return Array.isArray(t[0])||(t=[t]),e.dateChart("#impressions_chart",t)},e.initAdsFacebookRelevanceScoreChart=function(){var t;if(null!=(t=e.statistics.ads_facebook.relevance_score))return Array.isArray(t[0])||(t=[t]),e.dateChart("#relevance_score_chart",t)},e.initAdsFacebookSpendChart=function(){var t;if(null!=(t=e.statistics.ads_facebook.spend))return Array.isArray(t[0])||(t=[t]),e.dateChart("#spend_chart",t)}}])}.call(this),function(){Shuttlerock.controller("Manage::TagsController",["$scope","$http","MemberRole",function(t,e,n){return t.loading=!1,t.edit=!1,t.tags=[],t.tag_string="",t.suggested_tags=[],t.all_suggested_tags=[],t.init=function(){var e;return e=new n,t.can_show=e.isStaff(),t.can_edit=e.isModerator()},t.init(),t.initPath=function(e){return t.path=e},t.initTags=function(e){return t.tags=e,t.tag_string=e.join(", "),t.updateSuggestedTags()},t.initSuggestedTags=function(e){return t.all_suggested_tags=e,t.updateSuggestedTags()},t.updateSuggestedTags=function(){return t.suggested_tags=_.difference(t.all_suggested_tags,t.tags)},t.addSuggestedTag=function(e){return t.tags.push(e),t.tag_string=t.tags.join(", "),t.update()},t.update=function(){var n;if(!t.loading)return t.loading=!0,n={tags:t.tag_string,format:"json"},e.put(t.path,n).then(function(e){return t.initTags(e.data.tags),t.loading=!1,t.edit=!1},function(){return t.loading=!1,t.edit=!1})}}])}.call(this),function(){Shuttlerock.controller("WidgetsController",["$scope","$http",function(t){return t.loading=!1,t.base_url=$("#manage-widget").data("url"),t.preview=$("#widget_form .preview"),t.code=$("#widget_form .html_code"),t.filter="all",t.sort_order="popular",t.num_columns=6,t.num_rows=4,t.product_id=$("#manage-widget").data("product-id"),t.board_id=$("#manage-widget").data("board-id"),t.tag=null,t.max_num_columns=10,t.max_num_rows=10,t.sizes={small:{size:50,margin:6,h_wrapper:10,v_wrapper:75},medium:{size:100,margin:9,h_wrapper:10,v_wrapper:70},large:{size:200,margin:10,h_wrapper:10,v_wrapper:70}},t.init=function(){return t.setupSlider("columns",t.num_columns,t.max_num_columns),t.setupSlider("rows",t.num_rows,t.max_num_rows),t.product_id&&(t.filter="product"),t.board_id&&(t.filter="board"),t.setupAutocompletions(),$("#thumbnail-sizes img").on("click",t.triggerSelect),$("#thumbnail-sizes img").on("click",t.updateIframe),t.updateIframe(),!0},t.changeFilter=function(){return t.resetAutocompletions(),t.updateIframe()},t.updateIframe=function(){var e;return e=$("<iframe/>"),e.prop("width",t.width()).prop("height",t.height()).prop("src",t.encodedUrl()).prop("frameborder",0),t.preview.empty().append(e),t.code.val(t.preview.html()),$("#thumbnail-sizes input:checked",this.el).parents(".radio").addClass("checked"),!0},t.encodedUrl=function(){var e;return e=$.base64.encode($.param(t.params())),""+t.base_url+e},t.setupSlider=function(t,e,n){var i,o,r;return r="#widget-"+t+"-slider",i="#widget_num_"+t,o={range:"min",min:1,max:n,value:e,slide:function(t,e){return $(i).val(e.value).trigger("change")}},$(r).slider(o)},t.triggerSelect=function(t){var e;return e=$(t.target).parents(".radio"),e.find("input").prop("checked",!0).trigger("change"),$("#thumbnail-sizes",this.el).find(".radio").removeClass("checked"),e.addClass("checked"),t.preventDefault()},t.params=function(){return{width:t.width(),height:t.height(),num_photos:t.numPhotos(),thumbnail_size:t.thumbnailSize(),board_id:t.board_id,product_id:t.product_id,tag:t.tag,sort_order:t.sort_order}},t.width=function(){var e;return e=t.sizes[t.thumbnailSize()],t.num_columns*(e.size+2*e.margin)+e.h_wrapper},t.height=function(){var e;return e=t.sizes[t.thumbnailSize()],t.num_rows*(e.size+2*e.margin)+e.v_wrapper},t.numPhotos=function(){return t.num_columns*t.num_rows},t.thumbnailSize=function(){return $("#thumbnail-sizes input:checked").val()},t.setupAutocompletions=function(){return t.setupAutocompletion($("#widget_product"),t.resetProductFilter,function(e){return t.resetAutocompletions(),t.product_id=e}),t.setupAutocompletion($("#widget_board"),t.resetBoardFilter,function(e){return t.resetAutocompletions(),t.board_id=e}),t.setupAutocompletion($("#widget_tag"),t.resetTagFilter,function(e){return t.resetAutocompletions(),t.tag=e})},t.resetAutocompletions=function(){return t.resetProductFilter(),t.resetTagFilter()},t.resetProductFilter=function(){return t.product_id=null,$("#widget_product").val("")},t.resetBoardFilter=function(){return t.board_id=null,$("#widget_board").val("")},t.resetTagFilter=function(){return t.tag=null,$("#widget_tag").val("")},t.setupAutocompletion=function(e,n,i){var o;return o={},
e.autocomplete({source:function(t,n){var i;return i={type:"get",url:e.data("autocomplete-url"),data:{term:t.term},success:function(t){var e;return o={},e=_.map(t.items,function(t){return o[t.label]=t.value,t.label}),n(e)},error:function(){return n([])}},$.ajax(i),!1},change:function(){return function(t,i){if(!i.item)return n(),e.focus()}}()}),e.on("autocompleteselect",function(){return function(n,r){return i(o[r.item.label]),e.val(r.item.label),t.updateIframe(),!1}}())}}])}.call(this),function(){var t;t=function(){function t(t,e){this.scope=t,this.window=e}return t.prototype.setSessionFilter=function(t){var e;return e=0===t.id.indexOf("http")||0===t.id.indexOf("//")?t.id:"//"+t.id,this.window.location.href=e},t}(),t.$inject=["$scope","$window"],Shuttlerock.controller("Members::SessionsController",t)}.call(this),function(){Shuttlerock.directive("i18n",function(){return{priority:-1,restrict:"A",link:function(t,e,n){return e.text(I18n.t(n.i18n))}}})}.call(this),function(){Shuttlerock.directive("helperSyncStatus",[function(){return{restrict:"E",templateUrl:"/manage/ad_sets/helper-sync-status.html",link:function(t,e){return $(e).find(".wrapper, .overlay").on("click",function(){return $(".help-body, .overlay").toggle()})}}}])}.call(this),function(){var t;t=20,Shuttlerock.directive("adSet",[function(){var e;return e={restrict:"A",templateUrl:"/manage/adverts/ad-set.html",replace:!0,scope:{adSet:"=",onSelect:"=",onContentEdit:"=",onRulesEdit:"=",selectedAdSets:"="},link:function(n){var i,o,r,s,a;return n.handleSelectCheckboxClick=function(){return n.onSelect(n.adSet)},n.isMix=function(){var t,i;return t=n.adSet.content,e=_.union(t.products,t.boards,t.tags),i=_.max([t.products,t.boards,t.tags],function(t){return(null!=t?t.length:void 0)||0}),e.length>i.length},n.isSelected=function(){return _.some(n.selectedAdSets,function(t){return t.id===n.adSet.id})},n.isBoardsOnly=function(){var t;return!n.isMix()&&(null!=(t=n.adSet.content.boards)?t.length:void 0)},n.isProductsOnly=function(){var t;return!n.isMix()&&(null!=(t=n.adSet.content.products)?t.length:void 0)},n.isTagsOnly=function(){var t;return!n.isMix()&&(null!=(t=n.adSet.content.tags)?t.length:void 0)},a=function(e){return e=_.filter(e,function(t){return t}),_.map(e,function(e){return e.substr(0,t)+(e.length>=t?"...":"")})},r=function(){var t;return(null!=(t=n.adSet.content.products)?t.length:void 0)?I18n.t("common.products")+" - "+a(_.pluck(n.adSet.content.products,"name")).join(", "):null},o=function(){var t;return(null!=(t=n.adSet.content.boards)?t.length:void 0)?I18n.t("common.boards")+" - "+a(_.pluck(n.adSet.content.boards,"name")).join(", "):null},s=function(){var t;return(null!=(t=n.adSet.content.tags)?t.length:void 0)?I18n.t("common.tags")+" - "+a(n.adSet.content.tags).join(", "):null},n.contentTooltip=function(){var t;return t=_.filter([r(n.adSet),o(n.adSet),s(n.adSet)],function(t){return t}).join("<br/>"),[I18n.t("edit_content.label_type_of_content")," - ",n.adSet.content.type,"<br />",t].join("")},n.handleContentClick=function(){if("archived"!==n.adSet.details.status)return n.onContentEdit(n.adSet)},n.handleRulesClick=function(){if("archived"!==n.adSet.details.status)return n.onRulesEdit(n.adSet)},n.facebookAdSetUrl=function(){return"https://business.facebook.com/ads/manager/account/adsets/?act="+n.adSet.account.id.replace(/act_/,"")+"&selected_campaign_ids="+n.adSet.campaign.id},i=function(t){switch(t){case"active":return"label label-success badge badge-success";case"rejected":case"deleted":case"rotated":case"no_access":return"label label-important badge badge-danger";case"archived":return"label label-warning badge badge-warning";case"draft":return"label label-dark badge badge-dark";case"syncing":return"label label-rose badge badge-rose";case"synced":return"label label-success badge badge-success";default:return"label label-info badge badge-info"}},n.classForSyncStatus=function(){return i(n.adSet.details.sync_status)},n.syncStatus=function(){return I18n.t("ad_set.statuses."+n.adSet.details.sync_status)},n.classForEffectiveStatus=function(){return i(n.adSet.effectiveStatus)},n.effectiveStatus=function(){return I18n.t("ad_set.statuses."+n.adSet.effectiveStatus)},n.effectiveStatusTooltip=function(){return n.adSet.effectiveStatusTooltip},n.syncStatusTooltip=function(){return n.adSet.details.sync_tooltip},n.settingsUrl=Routes.edit_manage_ads_campaign_facebook_ad_set_path(n.adSet.campaignId,n.adSet.id),n.analyticsUrl=Routes.manage_ads_campaign_facebook_ad_set_statistics_path(n.adSet.campaignId,n.adSet.id),n.historyUrl=Routes.manage_ads_campaign_facebook_ad_set_ads_path(n.adSet.campaignId,n.adSet.id),n.resyncUrl=Routes.sync_manage_ads_campaign_facebook_ad_set_path(n.adSet.campaignId,n.adSet.id),n.resyncConfirmationLabel=I18n.t("ad_set.resyncConfirmationLabel"),n.rotateUrl=Routes.rotate_manage_ads_campaign_facebook_ad_set_path(n.adSet.campaignId,n.adSet.id),n.rotateConfirmationLabel=I18n.t("ad_set.rotateConfirmationLabel"),n.facebookUrl=n.adSet.ad_set.facebook_url,n.deactivateUrl=Routes.deactivate_manage_ads_campaign_facebook_ad_set_path(n.adSet.campaignId,n.adSet.id),n.deactivateConfirmationLabel=I18n.t("ad_set.deactivateConfirmationLabel"),n.activateUrl=Routes.activate_manage_ads_campaign_facebook_ad_set_path(n.adSet.campaignId,n.adSet.id),n.activateConfirmationLabel=I18n.t("ad_set.activateConfirmationLabel"),n.archiveUrl=Routes.archive_manage_ads_campaign_facebook_ad_set_path(n.adSet.campaignId,n.adSet.id),n.archiveConfirmationLabel=I18n.t("ad_set.archiveConfirmationLabel"),n.defaults=gon.facebook.defaults}}}])}.call(this),function(){Shuttlerock.directive("advertCampaign",["$window",function(t){return{restrict:"A",templateUrl:"/manage/adverts/advert-campaign.html",replace:!0,scope:{campaign:"=",selected:"@",onSelect:"="},link:function(e){return e.url=function(){return"/manage/adverts/campaigns/"+e.campaign.id+"/facebook"},e.name=function(){return e.campaign.details.name},e.currency=function(){return e.campaign.ad_account.currency},e.timeZone=function(){return e.campaign.ad_account.timezone},e.createdAtFormatted=function(){return moment(e.campaign.details.created_at).format("YYYY-MM-DD")},e.facebookUrl=function(){return"/manage/adverts/campaigns/"+e.campaign.id+"/facebook"},e.editUrl=function(){return"/manage/adverts/campaigns/"+e.campaign.id+"/edit"},e.use_v2_views=t.gon.use_v2_views,e.onSelectClick=function(t){if(angular.element(t.target).is('td,input[type="checkbox"]'))return e.onSelect(e.campaign)}}}}])}.call(this),function(){Shuttlerock.directive("bs4Tooltip",[function(){return{restrict:"A",scope:{tooltipEnabled:"="},link:function(t,e){return $(e).on("mouseenter",function(){if(t.tooltipEnabled)return $(e).tooltip("show")}),$(e).on("mouseleave",function(){return $(e).tooltip("hide")})}}}])}.call(this),function(){Shuttlerock.directive("ngAutocompletion",["$http",function(t){return{priority:-1,restrict:"A",link:function(e,n,i){var o,r,s,a,c;return o={},c=i.ngAutocompletionUrl,a=e.$eval(i.ngAutocompletionSet),s=e.$eval(i.ngAutocompletionReset),n.autocomplete({source:function(e,n){var i;return i={term:e.term},t.get(c,{params:i}).then(function(t){var e;return o={},e=t.data.items.map(function(t){return o[t.label]=t,t.label}),n(e)},function(){return n([])}),!1},change:function(t,i){if(!i.item)return s?s():a({value:n.val(),label:n.val()}),e.$apply(),n.focus()}}),r=function(t,n){return a&&a(o[n.item.label]),e.$apply(),!1},n.on("autocompleteselect",r)}}}])}.call(this),function(){Shuttlerock.directive("ngConfirmClick",[function(){return{priority:-1,restrict:"A",link:function(t,e,n){return e.bind("click",function(t){var e;if((e=n.ngConfirmClick||"Are you sure?")&&!confirm(e))return t.stopImmediatePropagation(),t.preventDefault()})}}}])}.call(this),function(){Shuttlerock.directive("ngEnter",[function(){return{priority:-1,restrict:"A",link:function(t,e,n){return e.bind("keydown keypress",function(e){if(13===e.which)return t.$apply(function(){return t.$eval(n.ngEnter)}),e.preventDefault()})}}}])}.call(this),function(){Shuttlerock.directive("ngMixpanel",["$window",function(t){return{priority:-1,restrict:"A",link:function(e,n,i){if(i.ngMixpanelEvent&&i.ngMixpanelOn)return n.on(i.ngMixpanelOn,function(){var e;if(t.mixpanel)return i.ngMixpanelParams&&(e=JSON.parse(i.ngMixpanelParams)),e||(e={}),t.mixpanel.track(i.ngMixpanelEvent,e),t.mixpanelForManager?t.mixpanelForManager.track(i.ngMixpanelEvent,e):void 0})}}}])}.call(this),function(){Shuttlerock.directive("onHover",["$timeout",function(t){return{priority:-1,restrict:"A",link:function(e,n,i){return n.bind("mouseenter",function(){return this.tm=t(function(){return e.$eval(i.onHover)},parseInt(i.onHoverDelay||1e3))}),n.bind("mouseleave",function(){return t.cancel(this.tm)})}}}])}.call(this),function(){Shuttlerock.directive("piechart",[function(){return{priority:-1,restrict:"A",link:function(t,e){var n;return n=function(t){var n,i,o,r;if($(e).find("canvas").remove(),n=$("<canvas></canvas>").appendTo($(e)),n.prop("width",$(e).width()),n.prop("height",$(e).height()),null!=t)return i=n.get(0).getContext("2d"),r={legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>',animationSteps:5,segmentShowStroke:!0},o=new Chart(i).Pie(t,r),$("#legend").html(o.generateLegend())},n(t.data()),t.$watch("data()",function(t){return n(t)},!0)}}}])}.call(this),function(){Shuttlerock.directive("slider",[function(){var data;return data={priority:-1,restrict:"A",link:function(scope,element,attr){return $(element).slider({value:attr.sliderValue||eval("scope."+attr.ngModel),min:attr.sliderMin||0,max:attr.sliderMax||100,step:attr.sliderStep||10,slide:function(event,ui){return scope.$apply(function(){return eval("scope."+attr.ngModel+" = "+ui.value)})}}),scope.$watch(attr.ngModel,function(t){return $(element).slider("value",t)})}}}])}.call(this),function(){var t;t=function(){function t(t,e,n){var i,o;this.scope=t,this.element=e,this.attrs=n,i=$("<div>",{position:"absolute",width:this.element.width(),"class":this.element.prop("class")}).insertBefore(this.element),this.element.hide(),o=ace.edit(i[0]),o.renderer.setShowGutter(!1),o.getSession().setValue(this.element.val()),o.getSession().setMode("ace/mode/"+this.attrs.srAceEditor),this.element.closest("form").submit(function(t){return function(){return t.element.val(o.getSession().getValue())}}(this))}return t.options=function(){return{restrict:"A",link:t.link}},t.link=function(e,n,i){return new t(e,n,i)},t}(),t.options.$inject=[],Shuttlerock.directive("srAceEditor",t.options)}.call(this),function(){var t;t=function(){function t(){}return t.options=function(e,n){return t.PusherService=e,t.window=n,{restrict:"A",replace:!0,scope:{srInboxCounterField:"@",srInboxCounter:"="},link:t.link}},t.link=function(e,n){var i,o;return t.initElement(e.srInboxCounter,n),o=t.PusherService.client,i=o.subscribe("private-inbox_counter@"+t.window.gon.subdomain),i.bind("details",function(i){switch(e.srInboxCounterField){case"inbox":return t.initElement(i.inbox_count,n);case"notifications":return t.initElement(i.notifications_count,n)}})},t.initElement=function(t,e){return t>0?e.show():e.hide(),this.window.gon.use_v2_views&&(t="("+t+")"),e.html(t)},t}(),t.options.$inject=["PusherService","$window"],Shuttlerock.directive("srInboxCounter",t.options)}.call(this),function(){Shuttlerock.directive("srPagination",[function(){return{restrict:"A",templateUrl:"/manage/sr-pagination.html",replace:!0,scope:{pagination:"=",onChange:"&"},link:function(t){return t.firstPage=function(){if(t.pagination)return 1===t.pagination.currentPage},t.lastPage=function(){if(t.pagination)return t.pagination.currentPage===t.pagination.numPages},t.showMore=function(){if(t.pagination)return t.pagination.currentPage+2<t.pagination.numPages},t.currentPage=function(){if(t.pagination)return t.pagination.currentPage},t.pages=function(){var e;if(t.pagination)return e=t.pagination.currentPage,[e-2,e-1,e,e+1,2+e].filter(function(e){return e>0&&e<=t.pagination.numPages})},t.onChangeClick=function(e){return t.pagination.currentPage=e,t.onChange()}}}}])}.call(this),function(){var t;t=function(){function t(t,e,n){this.scope=t,this.element=e,this.attrs=n,this.time=(new Date).getTime(),this.updatePaths()}return t.options=function(){return{restrict:"A",link:t.link}},t.link=function(e,n,i){return new t(e,n,i)},t.prototype.updatePaths=function(){if("true"===this.attrs.srPreventGuestCacher)return _.each(this.element.find("a[href]"),function(t){return function(e){if(t.needUpdate(e))return e.setAttribute("href",t.newPath(e))}}(this)),_.each(this.element.find("[data-path]"),function(t){return function(e){var n;if(t.needUpdate(e))return n=t.newPath(e),e.setAttribute("data-path",n),$(e).data("path",n)}}(this))},t.prototype.needUpdate=function(t){var e;return"#"!==(e=this.getPath(t))&&(!this.isManage(e)&&!this.isAlreadyModified(e))},t.prototype.isManage=function(t){return t.match(/\/manage\//)},t.prototype.isAlreadyModified=function(t){return t.match(/[\?\&]+t\=\d+/)},t.prototype.newPath=function(t){var e;return e=this.getPath(t),e.match(/\?/)?e.replace("?","?t="+this.time+"&"):e.match(/\#$/)?e.slice(0,-1)+"?t="+this.time+"#":e+"?t="+this.time},t.prototype.getPath=function(t){return null!=t.href?$(t).attr("href"):$(t).data("path")},t}(),Shuttlerock.directive("srPreventGuestCacher",t.options)}.call(this),function(){var SrSelect2AutocompleteFrom;SrSelect2AutocompleteFrom=function(){function SrSelect2AutocompleteFrom(t,e,n){this.scope=t,this.element=e,this.attrs=n,this.init(),this.constructSelect2(),this.mountSelectedHandler(),this.mountDeselectedHandler(),this.mountWatcher(),this.mountDisabled(),this.bindReinitListener()}return SrSelect2AutocompleteFrom.options=function(){return{restrict:"A",link:SrSelect2AutocompleteFrom.link}},SrSelect2AutocompleteFrom.link=function(t,e,n){return new SrSelect2AutocompleteFrom(t,e,n)},SrSelect2AutocompleteFrom.prototype.init=function(){var entry,initVal,j,len,results1;if(this.attrs.srSelect2InitWith){try{initVal=this.scope.$eval(this.attrs.srSelect2InitWith)||eval(this.attrs.srSelect2InitWith)}catch(t){}if(null!=(null!=initVal?initVal.id:void 0)&&initVal.id&&this.element.append("<option value='"+initVal.id+"' selected>"+initVal.name+"</option>"),Array.isArray(initVal)){for(results1=[],j=0,len=initVal.length;j<len;j++)entry=initVal[j],results1.push(this.element.append("<option value='"+entry.id+"' selected>"+entry.name+"</option>"));return results1}}},SrSelect2AutocompleteFrom.prototype.getUrl=function(){var _;try{return eval(this.attrs.srSelect2AutocompleteUrl)||this.scope.$eval(this.attrs.srSelect2AutocompleteUrl)||this.attrs.srSelect2AutocompleteFrom}catch(t){return _=t,this.scope.$eval(this.attrs.srSelect2AutocompleteUrl)||this.attrs.srSelect2AutocompleteFrom}},SrSelect2AutocompleteFrom.prototype.constructSelect2=function(){return this.element.select2({theme:"bootstrap",width:"resolve",tags:!!this.attrs.srSelect2Tags,placeholder:this.attrs.srSelect2Placeholder,dropdownCssClass:this.attrs.srSelect2DropdownCssClass,templateResult:this.templateResult(),ajax:{delay:250,url:function(t){return function(){return t.getUrl()}}(this),processResults:function(t){return function(e,n){var i,o,r;return t.addFixedRecord(),i="true"!==t.attrs.srSelect2NoFreeInput,r=(e.items||e).map(function(e){return t.element.parent().find("li").filter(function(){return $(this).attr("title")===e.label||$(this).attr("title")===e.value}).length>0?null:(e.label===n.term&&(i=!1),_.extend(_.omit(e,"value","label"),{id:e.value,text:e.label,element:e.element}))}),i&&null!=n.term&&r.unshift({id:n.term,text:n.term,newRecord:!0}),r=function(){var t,e,n;for(n=[],t=0,e=r.length;t<e;t++)null!=(o=r[t])&&n.push(o);return n}(),t.preDisplay()&&(r=t.preDisplay().call(t.context(),r)),{results:r,pagination:{more:e.more}}}}(this),data:function(t){return{term:t.term,page:t.page||1}},cache:!1}}).on("select2:opening",function(){return $(this).data("select2").$dropdown.find(":input.select2-search__field").attr("placeholder",I18n.t("common.search"))})},SrSelect2AutocompleteFrom.prototype.data=function(){return this.scope.$eval(this.attrs.srSelect2Data)},SrSelect2AutocompleteFrom.prototype.preDisplay=function(){return this.scope.$eval(this.attrs.srSelect2PreDisplay)},SrSelect2AutocompleteFrom.prototype.fixedRecordPath=function(){return this.attrs.srSelect2FixedRecordPath},SrSelect2AutocompleteFrom.prototype.fixedRecordText=function(){return this.attrs.srSelect2FixedRecordText},SrSelect2AutocompleteFrom.prototype.addFixedRecord=function(){var t;if(this.fixedRecordPath()&&this.fixedRecordText()&&!($(".select2-search .fixed-record").length>0))return $(document).on("mouseover",".select2-search .fixed-record",function(){return $(".select2-results li").removeClass("select2-results__option--highlighted")}),t=jQuery('<a href="'+this.fixedRecordPath()+'" class="fixed-record">\n  '+this.fixedRecordText()+'\n</a>\n<hr class="hr-line"/>'),jQuery(".select2-search").append(t)},SrSelect2AutocompleteFrom.prototype.mountSelectedHandler=function(){if(this.handlerSpec())return this.element.on("select2:select",function(t){return function(e){if(!e.params.data.newRecord||!t.attrs.srSelect2NoFreeInput)return t.handler().call(t.context(),angular.merge({},e.params.data,t.data()))}}(this))},SrSelect2AutocompleteFrom.prototype.mountDeselectedHandler=function(){if(this.unselectHandlerGiven())return this.element.on("select2:unselect",function(t){return function(e){return t.unselectHandler().call(t.context(),e.params.data)}}(this))},SrSelect2AutocompleteFrom.prototype.mountWatcher=function(){var t;if(this.attrs.watchFor){try{this.scope.$eval(this.attrs.watchFor)}catch(e){t=e}return this.scope.$watch(function(e){return function(){try{return e.scope.$eval(e.attrs.watchFor)}catch(e){t=e}}}(this),function(t){return function(e){return t.setValues(e)}}(this),!0)}},SrSelect2AutocompleteFrom.prototype.mountDisabled=function(){if(this.attrs.srSelect2Disabled)return this.scope.$watch(function(t){return function(){return t.scope.$eval(t.attrs.srSelect2Disabled)}}(this),function(t){return function(e){return e?t.element.prop("disabled",!0):t.element.prop("disabled",!1)}}(this),!0)},SrSelect2AutocompleteFrom.prototype.setValues=function(t){var e,n,i;if(t){for(this.element.find("option").remove(),e=0,n=t.length;e<n;e++)i=t[e],this.element.append("<option value="+i.id+" selected>"+(i.label||i.name)+"</option>");return this.element.val(t.map(function(t){return t.id})).trigger("change")}},SrSelect2AutocompleteFrom.prototype.handlerSpec=function(){return this.attrs.srSelect2OnSelected},SrSelect2AutocompleteFrom.prototype.handler=function(){return this.scope.$eval(this.handlerSpec())},SrSelect2AutocompleteFrom.prototype.unselectHandlerGiven=function(){return this.attrs.srSelect2OnUnselected},SrSelect2AutocompleteFrom.prototype.unselectHandler=function(){return this.scope.$eval(this.unselectHandlerGiven())},SrSelect2AutocompleteFrom.prototype.templateResult=function(){switch(this.attrs.srSelect2TemplateResult){case"products":return function(t){return t.element?jQuery('<div class="product-pane">\n  <img src=\''+t.element.thumbnail+"' width='50' alt=\""+t.element.name+'"/>\n  <div class="product-description">\n    <span class="product-name">'+(t.element.name||"")+"</span>\n    <p>\n      "+(t.element.description||""|{limitTo:400})+"\n    </p>\n  </div>\n</div>"):t.text};default:return function(t){return t.text}}},SrSelect2AutocompleteFrom.prototype.context=function(){var t;return this.scope.$eval(null!=(t=this.handlerSpec())?t.replace(/\.[^\.]+$/,""):void 0)},SrSelect2AutocompleteFrom.prototype.bindReinitListener=function(){return this.element.on("sr-select2.reinit",function(t){return function(){return t.reinit()}}(this))},SrSelect2AutocompleteFrom.prototype.reinit=function(){return this.element.select2("destroy"),this.constructSelect2()},SrSelect2AutocompleteFrom}(),SrSelect2AutocompleteFrom.options.$inject=[],Shuttlerock.directive("srSelect2AutocompleteFrom",SrSelect2AutocompleteFrom.options)}.call(this),function(){var t;t=function(){function t(){}return t.options=function(e){return t.$sce=e,{restrict:"A",replace:!0,scope:{srSortIndicatorField:"@",srSortIndicator:"="},template:"<span ng-bind-html='indicator()' />",link:t.link}},t.link=function(e){return e.indicator=function(){switch(e.srSortIndicator){case e.srSortIndicatorField+"_asc":return t.$sce.trustAsHtml('<i class="fa fa-angle-up"></i>');case e.srSortIndicatorField+"_desc":return t.$sce.trustAsHtml('<i class="fa fa-angle-down"></i>');default:return""}}},t}(),t.options.$inject=["$sce"],Shuttlerock.directive("srSortIndicator",t.options)}.call(this),function(){var t;t=function(){function t(t,e,n,i){var o;this.scope=t,this.element=e,this.attrs=n,this.MemberRole=i,o=new this.MemberRole,o.isAgency()||o.isMultiManager()||this.element.remove()}return t.options=function(e){return t.MemberRole=e,{restrict:"A",link:t.link}},t.link=function(e,n,i){return new t(e,n,i,t.MemberRole)},t}(),t.options.$inject=["MemberRole"],Shuttlerock.directive("srStaff",t.options)}.call(this),function(){var t;t=function(){function t(t,e,n,i,o){this.scope=t,this.element=e,this.attrs=n,this.Entry=i,this.$timeout=o,this.element.transloaditUploader({onSuccess:function(t){return function(){return t.prepareUpload()}}(this),onRemoveAll:function(t){return function(){return t.onRemoveAll()}}(this)}),this.element.on("submit.transloaditUploader",function(t){return function(e){return t.tryMultiPost(e)}}(this))}return t.options=function(e,n){return t.Entry=e,t.$timeout=n,{restrict:"A",link:t.link}},t.link=function(e,n,i){return new t(e,n,i,t.Entry,t.$timeout)},t.prototype.submitForm=function(t){if(!this.isSubmitting)return this.isSubmitting=!0,this.generateImageSlug(),this.tryMultiPost()?void 0:(t.preventDefault(),!1)},t.prototype.tryMultiPost=function(t){var e;return this.isSubmitting?(t.preventDefault(),!1):(this.isSubmitting=!0,this.element.find(".uploader-file-input").remove(),e=this.element.find(".uploader-preview .thumbnail"),e.length<=1||(this.element.find(".help-inline").remove(),this.element.find(".error").removeClass("error"),this.element.find(".options-wrapper, .submit-wrapper hr, .submit-wrapper .form-explanation").slideUp(),this.remainingImages=$.makeArray(e),this.postFirstImage(t),!1))},t.prototype.postFirstImage=function(t){var e,n,i,o,r,s,a,c,l;for(this.currentImage=$(this.remainingImages.shift()),c=this.currentImage.data("transloadit"),this.element.find(".transloadit-params").val(c),l=this.currentImage.closest(".thumbnail-wrapper"),a=$("#multi-fields-master"),o=$(".controls input,.controls textarea",l),n=0,r=o.length;n<r;n++)i=o[n],i=$(i),$("#"+i.prop("id").replace(/_[0-9]+$/,""),a).val(i.val());return $("input,select,textarea",".uploader-preview").prop("disabled",!0),$(".uploader-preview").addClass("posting"),e=this.element.serializeArray(),s=_.object(_.pluck(e,"name"),_.pluck(e,"value")),_.each(s,function(t,e){var n;if(e.match(/board_item_/))return n=e.replace(/board_item_[a-z_]+/g,"").replace(/[\[\]]+/g,""),s[n]=t}),_.each(e,function(t){var e,n;if(t.name.match(/\[\]$/))return n=t.name.replace(/\[\]$/,""),e=s[n],$.isArray(e)||(e=[]),e.push(t.value),s[n]=e}),this.Entry.create({board_id:s.board_id},s,function(t){return function(e){return t.completePost(e)}}(this),function(e){return function(n){return e.failPost(n,t)}}(this))},t.prototype.completePost=function(){var t,e;return e=this.currentImage.closest(".thumbnail-wrapper"),e.slideUp("slow",function(){return e.remove()}),0===this.remainingImages.length?Application.redirectFrameTo($("#destination_path").val()):this.postFirstImage(),t=this.element.offset(),setTimeout(function(){try{return $("html, body").scrollTop(t.top)}catch(t){}},1e3)},t.prototype.failPost=function(t,e){var n,i,o,r,s,a,c,l,u,d,p;p=this.currentImage.closest(".thumbnail-wrapper"),r=t.data.errors,$("input,select,textarea",".uploader-preview").prop("disabled",!1),$(".uploader-preview").removeClass("posting");for(u in r)for(l=r[u],i=$("."+u+"_field",p),0===i.length&&(i=$(".options-wrapper [name='board_item["+u+"]']")),0===i.length&&(i=$(".options-wrapper [name='board_item_photo["+u+"]']")),0===i.length&&(i=$(".options-wrapper [name='board_item_photo["+u+"_id]']")),i.closest(".control-group").addClass("error"),this.element.find(".options-wrapper, .submit-wrapper hr, .submit-wrapper .form-explanation").slideDown(),s=0,a=l.length;s<a;s++)c=l[s],o=$("<span class='help-inline'>"+c+"</span>"),i.after(o);return $("img#loading").hide(),$(".btn[type='submit']").removeClass("loading").show(),n=i.closest("form"),d=n.data("submit-handler"),n.bind("submit.transloadit",d),e.preventDefault(),this.isSubmitting=!1,this.$timeout(function(){try{return $("html, body").scrollTop($(".error").first().offset().top),this.element.find(".options-wrapper, .submit-wrapper hr, .submit-wrapper .form-explanation").slideDown()}catch(t){}},1e3)},t.prototype.onRemoveAll=function(){return this.element.find(".control-group.transloadit_image").removeClass("multi-upload"),this.element.find(".multi-fields").prop("id","").slideDown().css({display:"inline-block"})},t.prototype.prepareUpload=function(){var t,e,n,i,o,r,s,a,c,l,u,d,p;if(p=this.element.find(".uploader-preview .thumbnail-wrapper"),!(p.length<=1)){for(u=$(".multi-fields"),this.element.find(".control-group.transloadit_image").addClass("multi-upload"),o=n=0,c=p.length;n<c;o=++n)for(d=p[o],d=$(d),e=u.clone(),d.append(e),s=$("input, textarea",e),a=0,l=s.length;a<l;a++)r=s[a],r=$(r),t=r.prop("name").replace(/[^\[]+\[([^\]]+)\]/,"$1"),r.addClass(t+"_field"),r.prop("name",""),i=r.prop("id"),$("label[for='"+i+"']",e).prop("for",i+"_"+o),r.prop("id",i+"_"+o),"name"===t&&r.val($("img",d).data("name"));return u.prop("id","multi-fields-master"),u.hide()}},t.prototype.generateImageSlug=function(){var t,e;if(e=$("#transloadit_slug"),e.length>0)return t=$("input.string"),_.each(t,function(t){var n;if(!1===_.isNull($(t).prop("name").match(/\[name\]/))&&""!==(n=$(t).val().toLowerCase().replace(/[ ]+/g,"-").replace(/[^a-z0-9-]/g,"")))return e.prop("value",e.prop("value")+"-"+n),!0})},t}(),t.options.$inject=["Entry","$timeout"],Shuttlerock.directive("transloaditUploader",t.options)}.call(this),function(){Shuttlerock.filter("campaignSearch",function(){return function(t,e){var n;return t?(n=function(t){return-1!==(t||"").toLowerCase().indexOf(e.toLowerCase())},t.filter(function(t){return n(t.details.name)||n(t.ad_account.currency)||n(t.ad_account.timezone)||n(t.details.created_at)})):t}})}.call(this),function(){Shuttlerock.filter("noHttpPrefix",function(){return function(t){if(t)return t.replace(/^https?\:\/\//,"")}})}.call(this),function(){Shuttlerock.filter("noJavascriptVoid",function(){return function(t){return null==t?t:t.filter(function(t){return!/^javascript/.test(t.name)})}})}.call(this),function(){Shuttlerock.filter("toHMS",function(){return function(t){var e,n;if(t)return e=Math.floor(t/3600),t-=3600*e,n=Math.floor(t/60),t-=60*n,n<10&&(n="0"+n),t<10&&(t="0"+t),e+":"+n+":"+t}})}.call(this),function(){Shuttlerock.filter("toISOString",function(){return function(t){return new Date(t).toISOString()}})}.call(this),function(){Shuttlerock.filter("trustUrl",["$sce",function(t){return function(e){return t.trustAsResourceUrl(e)}}])}.call(this),function(){angular.module("Shuttlerock").factory("Ads::Campaign",["$resource",function(t){return t(""+gon.apiPrefix+Routes.v2_ads_campaign_path(":id"),{id:"@id"},{query:{method:"GET",isArray:!0,headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},create:{method:"POST",headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},update:{method:"PUT",headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},archive:{method:"DELETE",headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},unarchive:{method:"POST",url:""+gon.apiPrefix+Routes.unarchive_v2_ads_campaign_path(":id"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}}})}])}.call(this),function(){angular.module("Shuttlerock").factory("Ads::Facebook::Ad",["$resource",function(t){return t(""+gon.apiPrefix+Routes.v2_ads_facebook_ad_path(":id"),{id:"@id"},{query:{method:"GET",isArray:!0,headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}}})}])}.call(this),function(){angular.module("Shuttlerock").factory("Ads::Facebook::AdSet",["$resource",function(t){return t(""+gon.apiPrefix+Routes.v2_ads_facebook_adset_path(":id"),{id:"@id"},{query:{method:"GET",isArray:!0,headers:{Authorization:gon.apiV2Token}},create:{method:"POST",url:""+gon.apiPrefix+Routes.v2_ads_path(":campaign_id"),headers:{Authorization:gon.apiV2Token}},update:{method:"PUT",headers:{Authorization:gon.apiV2Token}},activate:{method:"PUT",url:""+gon.apiPrefix+Routes.activate_v2_ads_facebook_adset_path(":id"),headers:{Authorization:gon.apiV2Token}},deactivate:{method:"PUT",url:""+gon.apiPrefix+Routes.deactivate_v2_ads_facebook_adset_path(":id"),headers:{Authorization:gon.apiV2Token}},sync:{method:"PUT",url:""+gon.apiPrefix+Routes.sync_v2_ads_facebook_adset_path(":id"),headers:{Authorization:gon.apiV2Token}},rotate:{method:"PUT",url:""+gon.apiPrefix+Routes.rotate_v2_ads_facebook_adset_path(":id"),headers:{Authorization:gon.apiV2Token}},archive:{method:"PUT",url:""+gon.apiPrefix+Routes.archive_v2_ads_facebook_adset_path(":id"),headers:{Authorization:gon.apiV2Token}}})}])}.call(this),function(){angular.module("Shuttlerock").factory("Board",["$resource",function(t){return t(""+gon.apiPrefix+Routes.v2_board_path(":id"),{id:"@id"},{update:{method:"PUT"},active_boards:{method:"GET",isArray:!0,url:""+gon.apiPrefix+Routes.v2_active_boards_path(),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},query:{method:"GET",isArray:!0,headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}}})}])}.call(this),function(){angular.module("Shuttlerock").factory("Entry",["$resource",function(t){return t(""+gon.apiPrefix+Routes.v2_entry_path(":id"),{id:"@id"},{create:{method:"POST",url:""+gon.apiPrefix+Routes.v2_board_entries_path(":board_id"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},update:{method:"PUT",headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},copy:{method:"PUT",url:""+gon.apiPrefix+Routes.copy_v2_entry_path(":id"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},tag:{method:"PUT",url:""+gon.apiPrefix+Routes.tag_v2_entry_path(":id"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},by_board:{method:"GET",isArray:!0,url:""+gon.apiPrefix+Routes.v2_board_entries_path(":board_id"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},by_product:{method:"GET",isArray:!0,url:""+gon.apiPrefix+Routes.v2_product_entries_path(":product_id"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},by_tag:{method:"GET",isArray:!0,url:""+gon.apiPrefix+Routes.v2_tag_entries_path(":tag"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}}})}])}.call(this),function(){angular.module("Shuttlerock").factory("Manage::Integration",["$resource",function(t){return t(Routes.manage_integrations_path("json"),{},{tokens:{method:"GET",isArray:!0,url:Routes.tokens_manage_integrations_path("json"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}},providers:{method:"GET",isArray:!0,url:Routes.providers_manage_integrations_path("json"),headers:{Authorization:gon.apiV2Token,"Site-Password-Token":gon.sitePasswordToken}}})}])}.call(this),function(){Shuttlerock.Boards=function(){function t(t){this.Board=t,this.loading=this.Board.active_boards({per_page:50},function(t){return function(e){var n,i,o,r;for(t.boards={},r=[],i=0,o=e.length;i<o;i++)n=e[i],r.push(t.boards[n.id]=n);return r}}(this))}return t.prototype.mixVectorData=function(){var t,e,n,i,o,r;n=0,o=0,i=[],r=this.boards;for(e in r)t=r[e],null!=t.weight&&(n+=t.weight,o+=1,i.push(angular.copy(t)));return[n,o,i]},t}(),Shuttlerock.Boards.$inject=["Board"],angular.module("Shuttlerock").service("Boards",Shuttlerock.Boards)}.call(this),function(){Shuttlerock.factory("MemberRole",[function(){return function(){function t(){}return t.prototype.isStaff=function(){return this.hasRole("role_staff")||this.isModerator()},t.prototype.isModerator=function(){return this.hasRole("role_moderator")||this.isManager()},t.prototype.isManager=function(){return this.hasRole("role_manager")||this.isAgency()||this.isMultiManager()},
t.prototype.isAgency=function(){return this.hasRole("role_agency")},t.prototype.isMultiManager=function(){return this.hasRole("role_multi_manager")||this.isSuperuser()},t.prototype.isSuperuser=function(){return this.hasRole("role_superuser")},t.prototype.hasRole=function(t){return $("body").hasClass(t)},t}()}])}.call(this),function(){var t;t=function(){function t(){}return t.prototype.create=function(t){return{totalItems:parseInt(t("X-Pagination-Num-Results"),10),currentPage:parseInt(t("X-Pagination-Current-Page"),10),numPages:parseInt(t("X-Pagination-Num-Pages"),10)}},t}(),t.$inject=[],angular.module("Shuttlerock").service("PaginationService",t)}.call(this),function(){var t;t=function(){function t(){this.client=new Pusher("92ba4c4cac2cdd9e7375",{encrypted:!0,authEndpoint:"/pusher/auth",auth:{headers:{"X-CSRF-Token":document.querySelector('meta[name="csrf-token"]').getAttribute("content")}}})}return t}(),t.$inject=[],angular.module("Shuttlerock").service("PusherService",t)}.call(this),function(){var t;t=function(){function t(){}return t.prototype.parse=function(){var t,e,n;return e={},n=window.location.search,t=("?"===n[0]?n.substr(1):n).split("&"),_.each(t,function(t){var n;return n=t.split("="),e[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||"")}),e},t}(),t.$inject=[],angular.module("Shuttlerock").service("QueryParser",t)}.call(this),function(){var t;t=function(){function t(t,e,n,i,o,r){this.BigScreen=t,this.Carousel=e,this.Hub=n,this.Stream=i,this.Bolt=o,this.Horizontal=r}return t.prototype.create=function(t){switch(t.human_type){case"hub":return this.Hub.init(t);case"carousel":return this.Carousel.init(t);case"stream":return this.Stream.init(t);case"big_screen":return this.BigScreen.init(t);case"bolt":return this.Bolt.init(t);case"horizontal":return this.Horizontal.init(t);default:Application.createAlert(I18n.t("common.generic_error"),"error")}},t}(),t.$inject=["SocialWidgetBigScreen","SocialWidgetCarousel","SocialWidgetHub","SocialWidgetStream","SocialWidgetBolt","SocialWidgetHorizontal"],angular.module("Shuttlerock").service("SocialWidget",t)}.call(this),function(){Shuttlerock.SocialWidgetBase=function(){function t(){}return t.prototype.init=function(t){return this.options=t,t.infinity_limit>0&&(this.options.infinity_limit=parseFloat(t.infinity_limit)),this.options.jquery=this.parseBoolean(t.jquery),this.options.use_gzip=this.parseBoolean(t.use_gzip),this.options.include_adverts=this.parseBoolean(t.include_adverts),this.options.file_upload=this.parseBoolean(t.file_upload),this.options.facebook=this.parseBoolean(t.facebook),this.options.angular=this.parseBoolean(t.angular),this.options.board_info=this.parseBoolean(t.board_info),this.options.dialog_enabled=this.parseBoolean(t.dialog_enabled),this.options.random_page=this.parseBoolean(t.random_page),this.options.show_details_on_hover=this.parseBoolean(t.show_details_on_hover),this.options.board_list_enabled=this.parseBoolean(t.board_list_enabled),this.options.enable_search=this.parseBoolean(t.enable_search),this.options.auto_refresh=this.parseBoolean(t.auto_refresh),this.options.client_side_sorting=this.parseBoolean(t.client_side_sorting),this.options.disable_url_changes=this.parseBoolean(t.disable_url_changes),this.options.allow_complaints=this.parseBoolean(t.allow_complaints),this.options.include_adverts=this.parseBoolean(t.include_adverts),this.options.select_upload_board=this.parseBoolean(t.select_upload_board),this.options.default_upload_board_name=t.default_upload_board,t.include_adverts&&t.advert_frequency>0?this.options.advert_frequency=parseFloat(t.advert_frequency):this.options.advert_frequency=void 0,this},t.prototype.parseBoolean=function(t){return-1!==$.inArray(t,[!0,"true",1,"1","t"])},t.prototype.escapeString=function(t){if(null!=t)return(""+t).replace(/[\u00A0-\u9999<>\&\'\"]/gim,function(t){return"&#"+t.charCodeAt(0)+";"})},t.prototype.scriptModifiers=function(){var t;return t="",this.options.angular||(t+="-no-angular"),this.options.facebook||(t+="-no-fb"),t},t.prototype.socialHubAttributes=function(){var t;return t={customer:this.options.customer,locale:this.options.locale},this.options.include_adverts&&(t["advert-frequency"]=this.options.advert_frequency),t},t.prototype.cssSuffix=function(){return this.options.use_gzip?".css.gz":".css"},t.prototype.jsSuffix=function(){return this.options.use_gzip?".js.gz":".js"},t.prototype.contentHubRoot=function(){return gon.content_hub_root},t.prototype.boltRoot=function(){return gon.bolt_root},t.prototype.renderAttributes=function(t){var e;return t||(t="  "),e="",$.each(this.socialHubAttributes(),function(n,i){return e+="\n"+t,e+="ng-social-hub-"+n+'="'+i+'"'}),e.replace(/.*="(false|undefined|null)"/g,"").replace(/(.*=)"force_false"/g,'$1"false"').replace(/.*list-type="none"/,"").replace(/.*=""/g,"").replace(/^\s*[\r\n]/gm,"")},t}(),angular.module("Shuttlerock").service("SocialWidgetBase",Shuttlerock.SocialWidgetBase)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.init=function(t){return n.__super__.init.apply(this,arguments),this.options.auto_refresh=this.parseBoolean(t.auto_refresh),this.options.fixed_center_image=this.parseBoolean(t.fixed_center_image),this},n.prototype.socialHubAttributes=function(){var t;return t=$.extend({},n.__super__.socialHubAttributes.apply(this,arguments),{"backface-color":this.options.backface_color,"animation-type":this.options.animation_type,"fixed-center-image":this.options.fixed_center_image,"auto-refresh":"force_false"}),(this.options.board_id||this.options.board_ids)&&(t["board-id"]=this.options.board_id||this.options.board_ids),this.options.auto_refresh&&(t["auto-refresh"]=this.options.auto_refresh,t.interval=this.options.interval),t},n.prototype.scriptModifiers=function(){var t;return t="",this.options.angular||(t+="-no-angular"),t},n.prototype.renderHead=function(){var t;return t='<link href="'+this.contentHubRoot()+"/styles/sr-socialhub.big-screen-display.default"+this.cssSuffix()+'" rel="stylesheet" />',this.options.jquery&&(t+='\n<!-- Note - you may not need to include jQuery if you already have it -->\n<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>'),t+='\n<script src="'+this.contentHubRoot()+"/scripts/app-big-screen-display"+this.scriptModifiers()+".min"+this.jsSuffix()+'"></script>'},n.prototype.renderCode=function(){var t;return t="<!-- Note - the height of the container around the <div> needs to be specified explicitly. -->\n<!--MODS: "+this.scriptModifiers()+' -->\n<div ng-app="ngSocialHub" class="sr-sh sr-sh-theme" ui-view\n  ng-social-hub-big-screen-display',t+="\n"+this.renderAttributes()+"></div>"},n}(Shuttlerock.SocialWidgetBase),angular.module("Shuttlerock").service("SocialWidgetBigScreen",t)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.renderHead=function(){return""},n.prototype.renderCode=function(){return'<script src="'+this.boltRoot()+"/bundle-stateful-"+(this.options.bundle_version||"stable")+".js\"></script>\n<div bolt></div>\n<script type='text/javascript'>\n    var container = document.querySelectorAll('[bolt]')[0]\n    if (container)\n      sr_widget_init(container, "+JSON.stringify(this.options)+")\n</script>"},n}(Shuttlerock.SocialWidgetBase),angular.module("Shuttlerock").service("SocialWidgetBolt",t)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.init=function(t){return n.__super__.init.apply(this,arguments),this.options.infinite_scroll=this.parseBoolean(t.infinite_scroll),this.options.dialog_enabled=this.parseBoolean(t.dialog_enabled),this.options.disable_user_actions=this.parseBoolean(t.disable_user_actions),this.options.enable_carousel_indicator=this.parseBoolean(t.enable_carousel_indicator),this.options.display_text_outside_photo=this.parseBoolean(t.display_text_outside_photo),this.options.interval&&(this.options.interval=parseInt(this.options.interval,10)),this.options.interval_toggle=this.options.interval>0,this.options.interval||(this.options.interval="force_false"),this},n.prototype.socialHubAttributes=function(){var t;return t=$.extend({},n.__super__.socialHubAttributes.apply(this,arguments),{"infinite-scroll":this.options.infinite_scroll,"facebook-appid":this.options.facebook_appid,interval:this.options.interval,"dialog-enabled":this.options.dialog_enabled,"disable-user-actions":this.options.disable_user_actions,"enable-carousel-indicator":this.options.enable_carousel_indicator,"container-height":this.options.container_height,"display-text-outside-photo":this.options.display_text_outside_photo}),(this.options.board_id||this.options.board_ids)&&(t["board-id"]=this.options.board_id||this.options.board_ids),t},n.prototype.renderHead=function(){var t;return t='<link href="'+this.contentHubRoot()+"/styles/sr-socialhub.carousel.default"+this.cssSuffix()+'" rel="stylesheet" />',this.options.jquery&&(t+='\n<!-- Note - you may not need to include jQuery if you already have it -->\n<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>'),t+='\n<script src="'+this.contentHubRoot()+"/scripts/app-carousel"+this.scriptModifiers()+".min"+this.jsSuffix()+'"></script>'},n.prototype.renderCode=function(){var t;return t="<!-- Note - the height of the container around the <div> needs to be specified explicitly. -->\n<!--MODS: "+this.scriptModifiers()+' -->\n<div ng-app="ngSocialHub" class="sr-sh sr-sh-theme"\n  ng-social-hub-carousel',t+="\n"+this.renderAttributes()+"></div>"},n}(Shuttlerock.SocialWidgetBase),angular.module("Shuttlerock").service("SocialWidgetCarousel",t)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.init=function(){return n.__super__.init.apply(this,arguments),this.options.flavor="horizontal",this},n.prototype.renderHead=function(){return""},n.prototype.renderCode=function(){return'<script src="'+this.boltRoot()+"/bundle-stateful-"+(this.options.bundle_version||"stable")+".js\"></script>\n<div class=\"sr-wrap-bolt\" horizontal></div>\n<script type='text/javascript'>\n    var container = document.querySelectorAll('[horizontal]')[0]\n    if (container)\n      sr_widget_init(container, "+JSON.stringify(this.options)+")\n</script>"},n}(Shuttlerock.SocialWidgetBase),angular.module("Shuttlerock").service("SocialWidgetHorizontal",t)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.init=function(t){var e,i;return n.__super__.init.apply(this,arguments),(e=this.options).board_info_width||(e.board_info_width=""),(i=this.options).entry_width||(i.entry_width=""),this.options.allow_complaints=this.parseBoolean(t.allow_complaints),this.options.board_info=this.parseBoolean(t.board_info),this.options.dialog_enabled=this.parseBoolean(t.dialog_enabled),this.options.show_details_on_hover=this.parseBoolean(t.show_details_on_hover),this.options.file_upload=this.parseBoolean(t.file_upload),this.options.board_list_enabled=this.parseBoolean(t.board_list_enabled),this.options.filters=this.parseBoolean(t.filters),this.options.enable_search=this.parseBoolean(t.enable_search),this.options.mosaic=this.parseBoolean(t.mosaic),this.options.auto_refresh=this.parseBoolean(t.auto_refresh),this.options.client_side_sorting=this.parseBoolean(t.client_side_sorting),this.options.select_upload_board=this.parseBoolean(t.select_upload_board),this.options.autoplay_video=this.parseBoolean(t.autoplay_video),this.options.disable_url_changes=this.parseBoolean(t.disable_url_changes),this.options.random_page=this.parseBoolean(t.random_page),this.options.transition_duration>0&&(this.options.transition_duration=parseFloat(this.options.transition_duration)),this.options.auto_refresh_interval>0&&(this.options.auto_refresh_interval=parseFloat(this.options.auto_refresh_interval)),this},n.prototype.getTransitionTime=function(){return this.options.transition_duration>0?this.options.transition_duration+"s":null},n.prototype.getAccessibilityClass=function(){return this.options.accessibility?" sr-accessible":""},n.prototype.getHoverType=function(){return"none"===this.options.hover_text_type?null:this.options.hover_text_type||null},n.prototype.socialHubAttributes=function(){var t;switch(t=$.extend({},n.__super__.socialHubAttributes.apply(this,arguments),{"allow-complaints":this.options.allow_complaints,filters:this.options.filters,"file-upload":this.options.file_upload,"board-info":this.options.board_info,"dialog-enabled":this.options.dialog_enabled,"board-list-enabled":this.options.board_list_enabled,"api-options-page":1,"api-options-per_page":20,"show-description":"description"===this.options.entry_details,"sort-method":this.options.sort_method,"show-name":"name"===this.options.entry_details,"entry-width":this.options.entry_width,"board-info-width":this.options.board_info_width,"enable-search":this.options.enable_search,mosaic:this.options.mosaic,"show-details-on-hover":this.options.show_details_on_hover,"hover-text-type":this.getHoverType(),"list-type":this.options.list_type,"facebook-appid":this.options.facebook_appid,"enable-client-side-sorting":this.options.client_side_sorting,"select-board-during-upload":this.options.select_upload_board,"autoplay-video":this.options.autoplay_video,"product-button-text":this.escapeString(this.options.product_button_text),"transition-duration":this.getTransitionTime(),"assign-tags-on-upload":this.escapeString(this.options.upload_tags),"default-upload-board-id":this.options.default_upload_board_id,"disable-url-changes":this.options.disable_url_changes,"random-page":this.options.random_page}),"board"===this.options.list_type&&(t["board-id"]=this.options.board_id||this.options.board_ids),"tag"===this.options.list_type&&(t["tag-id"]=this.options.tag_id||this.options.tag_ids),"product"===this.options.list_type&&(t["product-id"]=this.options.product_id||this.options.product_ids),this.options.product.id&&(this.options.product.id.match(/^https?:\/\//)?t["product-url"]=encodeURIComponent(this.options.product.id):t["product-id"]=this.options.product.id),this.options.loading_more_content){case"infinite_scroll":t["infinite-scroll"]=!0,t["infinity-limit"]=this.options.infinity_limit;break;case"load_more_button":t["load-more-button"]=!0;break;case"load_next_page":t["load-more-button"]=!0,t["append-results"]="force_false"}return"none"!==this.options.entry_details&&(t["text-position"]=this.options.text_position),parseInt(this.options.auto_refresh_interval)>0&&(t["auto-refresh"]=this.options.auto_refresh,t["auto-refresh-interval"]=this.options.auto_refresh_interval),"CURRENT_PAGE"===this.options.upload_product?t["assign-product-on-upload"]="CURRENT_PAGE":null!=this.options.upload_product&&(t["assign-product-on-upload"]=encodeURIComponent(this.options.upload_product||"")),t},n.prototype.renderHead=function(){var t;return t='<link href="'+this.contentHubRoot()+"/styles/sr-socialhub.theme.default"+this.cssSuffix()+'" rel="stylesheet" />',this.options.jquery&&(t+='\n<!-- Note - you may not need to include jQuery if you already have it -->\n<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>'),t+='\n<script src="'+this.contentHubRoot()+"/scripts/app"+this.scriptModifiers()+".min"+this.jsSuffix()+'"></script>'},n.prototype.renderCode=function(){var t;return t="<!--MODS: "+this.scriptModifiers()+' -->\n<div ng-app="ngSocialHub" class="sr-sh sr-sh-theme'+this.getAccessibilityClass()+'" ng-cloak\n  ng-controller="SocialHubController"\n  ng-social-hub',t+="\n"+this.renderAttributes()+"></div>"},n}(Shuttlerock.SocialWidgetBase),angular.module("Shuttlerock").service("SocialWidgetHub",t)}.call(this),function(){var t,e=function(t,e){function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},n={}.hasOwnProperty;t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.init=function(t){return n.__super__.init.apply(this,arguments),this.options.board_info=this.parseBoolean(t.board_info),this.options.dialog_enabled=this.parseBoolean(t.dialog_enabled),this.options.show_details_on_hover=this.parseBoolean(t.show_details_on_hover),this.options.file_upload=this.parseBoolean(t.file_upload),this.options.upload_stream=this.parseBoolean(t.upload_stream),this.options.select_upload_board=this.parseBoolean(t.select_upload_board),this.options.disable_url_changes=this.parseBoolean(t.disable_url_changes),this},n.prototype.socialHubAttributes=function(){var t;return t=$.extend({},n.__super__.socialHubAttributes.apply(this,arguments),{"file-upload":this.options.file_upload,"upload-stream":this.options.upload_stream,"board-info":this.options.board_info,"dialog-enabled":this.options.dialog_enabled,"sort-method":this.options.sort_method,"show-description":"description"===this.options.entry_details,"show-name":"name"===this.options.entry_details,"show-details-on-hover":this.options.show_details_on_hover,"list-type":this.options.list_type,"assign-tags-on-upload":this.escapeString(this.options.upload_tags),"default-upload-board-id":this.options.default_upload_board_id,"facebook-appid":this.options.facebook_appid,"select-board-during-upload":this.options.select_upload_board,"disable-url-changes":this.options.disable_url_changes,"product-button-text":this.escapeString(this.options.product_button_text)}),"board"===this.options.list_type&&(t["board-id"]=this.options.board_id||this.options.board_ids),"tag"===this.options.list_type&&(t["tag-id"]=this.options.tag_id||this.options.tag_ids),"product"===this.options.list_type&&(t["product-id"]=this.options.product_id||this.options.product_ids),"CURRENT_PAGE"===this.options.upload_product?t["assign-product-on-upload"]="CURRENT_PAGE":null!=this.options.upload_product&&(t["assign-product-on-upload"]=encodeURIComponent(this.options.upload_product||"")),this.options.product.id&&(this.options.product.id.match(/^https?:\/\//)?t["product-url"]=encodeURIComponent(this.options.product.id):t["product-id"]=this.options.product.id),t},n.prototype.renderHead=function(){var t;return t='<link href="'+this.contentHubRoot()+"/styles/sr-socialhub.widget.default"+this.cssSuffix()+'" rel="stylesheet" />',this.options.jquery&&(t+='\n<!-- Note - you may not need to include jQuery if you already have it -->\n<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>'),t+='\n<script src="'+this.contentHubRoot()+"/scripts/widget"+this.scriptModifiers()+".min"+this.jsSuffix()+'"></script>'},n.prototype.renderCode=function(){var t;return t="<!-- Note - the height of the container around the <div> needs to be specified explicitly. -->\n<!--MODS: "+this.scriptModifiers()+' -->\n<div id="sr-social-hub-wrapper" style="height: 300px">\n  <div ng-app="ngSocialHub" class="sr-sh sr-sh-theme" ng-cloak ng-social-hub-widget',t+="\n"+this.renderAttributes("    ")+"\n",t+="  ></div>\n</div>"},n}(Shuttlerock.SocialWidgetBase),angular.module("Shuttlerock").service("SocialWidgetStream",t)}.call(this),angular.module("templates").run(["$templateCache",function(t){t.put("/manage/ad_sets/edit-content-modal.html",'<div class="container modal-container"><div class="row heading"><h2><span i18n="edit_content.header"></span>&nbsp;<a class="with-tooltip header-tooltip" data-original-title="{{ ctrl.adSetEditedHint() }}" data-placement="bottom" data-toggle="tooltip" ng-bind="ctrl.adSetEditedLabel()"></a></h2><span class="close" ng-click="ctrl.close()">&times;</span></div><form><div class="col-sm-12 text-danger" ng-bind="error" ng-repeat="error in ctrl.errors"></div><div class="form-group row" ng-if="ctrl.onlyCarousel()"><label class="col-form-label col-sm-3" i18n="edit_content.label_type_of_content"></label><div class="col-sm-9"><select class="form-control" name="contentType" ng-model="ctrl.contentType"><option i18n="edit_content.label_any" value="any"></option><option i18n="edit_content.label_photos" value="photos"></option><option i18n="edit_content.label_videos" value="videos"></option></select></div></div><div class="row" ng-if="ctrl.onlyCarousel()"><div class="col-sm-3"></div><div class="col-sm-9 hint" i18n="edit_content.label_select_the_type_of_content"></div></div><div class="form-group row"><label class="col-form-label col-sm-3" i18n="edit_content.label_products"></label><div class="col-sm-9"><select class="form-control" multiple="" name="product_ids" ng-model="ctrl.productIds" sr_select2_autocomplete_from="" sr_select2_autocomplete_url="Routes.autocomplete_products_path()" sr_select2_no_free_input="" sr_select2_template_result="products" style="width: 100%"><option ng-bind="product.name" ng-repeat="product in ctrl.products" value="{{ product.id }}"></option></select></div></div><div class="row"><div class="col-sm-3"></div><div class="col-sm-9 hint" i18n="edit_content.label_select_product"></div></div><div class="form-group row"><label class="col-form-label col-sm-3" i18n="edit_content.label_boards"></label><div class="col-sm-9"><select class="form-control" multiple="" name="board_ids" ng-model="ctrl.boardIds" sr_select2_autocomplete_from="" sr_select2_autocomplete_url="Routes.autocomplete_boards_path()" sr_select2_no_free_input="" sr_select2_template_result="boards" style="width: 100%"><option ng-bind="board.name" ng-repeat="board in ctrl.boards" value="{{ board.id }}"></option></select></div></div><div class="row"><div class="col-sm-3"></div><div class="col-sm-9 hint" i18n="edit_content.label_select_board"></div></div><div class="form-group row"><label class="col-form-label col-sm-3" i18n="edit_content.label_tags"></label><div class="col-sm-9"><select class="form-control" multiple="" name="tags" ng-model="ctrl.tagIds" sr_select2_autocomplete_from="" sr_select2_autocomplete_url="Routes.autocomplete_tags_board_items_path()" sr_select2_no_free_input="" sr_select2_template_result="tags" style="width: 100%"><option ng-bind="tag.text" ng-repeat="tag in ctrl.tags" value="{{ tag.id }}"></option></select></div></div><div class="row"><div class="col-sm-3"></div><div class="col-sm-9 hint" i18n="edit_content.label_select_tag"></div></div><div class="row actions"><button class="btn btn-primary" i18n="edit_content.label_apply" ng-click="ctrl.selected($event)" ng-if="ctrl.ads.selectedAdSets.length &lt; 2"></button><button class="btn btn-warning" i18n="edit_content.label_all" ng-click="ctrl.all($event)" ng-if="ctrl.ads.selectedAdSets.length == ctrl.ads.allAdSets.length &amp;&amp; ctrl.ads.selectedAdSets.length &gt; 1"></button><button class="btn btn-info" i18n="edit_content.label_selected" ng-click="ctrl.selected($event)" ng-if="ctrl.ads.selectedAdSets.length &gt; 1 &amp;&amp; ctrl.ads.selectedAdSets.length != ctrl.ads.allAdSets.length"></button><span class="separator"></span><button class="btn btn-danger" i18n="edit_content.label_cancel" ng-click="ctrl.close($event)"></button></div></form></div>')}]),angular.module("templates").run(["$templateCache",function(t){t.put("/manage/ad_sets/edit-rules-modal.html",'<div class="container modal-container"><div class="row heading"><h2><span i18n="edit_rules.header"></span>&nbsp;<a class="with-tooltip header-tooltip" data-original-title="{{ ctrl.adSetEditedHint() }}" data-placement="bottom" data-toggle="tooltip" ng-bind="ctrl.adSetEditedLabel()"></a></h2><span class="close" ng-click="ctrl.close()">&times;</span></div><form><div class="col-sm-12 text-danger" ng-bind="error" ng-repeat="error in ctrl.errors"></div><div class="form-group row"><div class="col-sm-6"></div><label class="col-sm-3" i18n="edit_rules.label_current_value"></label><label class="col-sm-3" i18n="edit_rules.label_new_value"></label></div><div class="form-group row"><label class="col-sm-6" i18n="edit_rules.label_number_of_ads"></label><input class="form-control col-sm-3" disabled="disabled" ng-value="ctrl.ads.adSet.rotation.number_of_ads || 1" /><input class="form-control col-sm-3" ng-disabled="ctrl.allAdsWillRotateAdsByEditingPost()" ng-model="ctrl.numberOfAds" /></div><div class="form-group row"><label class="col-sm-6" i18n="edit_rules.label_min_days"></label><input class="form-control col-sm-3" disabled="disabled" ng-value="ctrl.ads.adSet.rotation.min_live_days || 1" /><input class="form-control col-sm-3" ng-model="ctrl.minLiveDays" /></div><div class="form-group row with-checkbox"><label class="col-sm-6"><input ng-model="ctrl.ads.adSet.rotation.max_frequency.enabled" type="checkbox" /><span i18n="edit_rules.label_max_frequency"></span></label><input class="form-control col-sm-3" disabled="disabled" ng-value="ctrl.ads.adSet.rotation.max_frequency.value || 5" /><input class="form-control col-sm-3" ng-disabled="!ctrl.ads.adSet.rotation.max_frequency.enabled" ng-model="ctrl.maxFrequency" /></div><div class="form-group row with-checkbox"><label class="col-sm-6"><input ng-model="ctrl.ads.adSet.rotation.min_relevance.enabled" type="checkbox" /><span i18n="edit_rules.label_min_relevance"></span></label><input class="form-control col-sm-3" disabled="disabled" ng-value="ctrl.ads.adSet.rotation.min_relevance.value || 0" /><input class="form-control col-sm-3" ng-disabled="!ctrl.ads.adSet.rotation.min_relevance.enabled" ng-model="ctrl.minRelevance" /></div><div class="form-group row with-checkbox"><label class="col-sm-6"><input ng-model="ctrl.ads.adSet.rotation.min_ctr.enabled" type="checkbox" /><span i18n="edit_rules.label_min_ctr"></span></label><input class="form-control col-sm-3" disabled="disabled" ng-value="ctrl.ads.adSet.rotation.min_ctr.value || 0" /><input class="form-control col-sm-3" ng-disabled="!ctrl.ads.adSet.rotation.min_ctr.enabled" ng-model="ctrl.minCtr" /></div><div class="form-group row with-checkbox"><label class="col-sm-6"><input ng-model="ctrl.ads.adSet.rotation.max_cost.enabled" type="checkbox" /><span i18n="edit_rules.label_max_cost"></span></label><input class="form-control col-sm-3" disabled="disabled" ng-value="ctrl.ads.adSet.rotation.max_cost.value || 0" /><input class="form-control col-sm-3" ng-disabled="!ctrl.ads.adSet.rotation.max_cost.enabled" ng-model="ctrl.maxCost" /></div><div class="form-group row" ng-if="ctrl.ads.adSet.rotation.max_cost.enabled"><label class="col-sm-6" i18n="edit_rules.label_cost_metric_code"></label><select class="form-control col-sm-6" name="cost_metric_code" sr_select2_autocomplete_from="{{ ctrl.conversionTypeUrl() }}" sr_select2_no_free_input="" sr_select2_on_selected="ctrl.handleCostMetricCodeSelected" sr_select2_on_unselected="ctrl.handleCostMetricCodeUnselected" style="width: 50%"><option ng-bind="ctrl.ads.adSet.rotation.cost_metric.name" ng-if="ctrl.ads.adSet.rotation.cost_metric.code" ng-value="ctrl.ads.adSet.rotation.cost_metric.code"></option></select></div><div class="row actions"><button class="btn btn-primary" i18n="edit_content.label_apply" ng-click="ctrl.selected($event)" ng-if="ctrl.ads.selectedAdSets.length &lt; 2"></button><button class="btn btn-warning" i18n="edit_content.label_all" ng-click="ctrl.all($event)" ng-if="ctrl.ads.selectedAdSets.length == ctrl.ads.allAdSets.length &amp;&amp; ctrl.ads.selectedAdSets.length &gt; 1"></button><button class="btn btn-info" i18n="edit_content.label_selected" ng-click="ctrl.selected($event)" ng-if="ctrl.ads.selectedAdSets.length &gt; 1 &amp;&amp; ctrl.ads.selectedAdSets.length != ctrl.ads.allAdSets.length"></button><span class="separator"></span><button class="btn btn-danger" i18n="edit_content.label_cancel" ng-click="ctrl.close($event)"></button></div></form></div>')}]),angular.module("templates").run(["$templateCache",function(t){t.put("/manage/ad_sets/helper-sync-status.html",'<div class="overlay" style="display: none"></div><div class="wrapper"><i class="fa fa-question-circle-o"></i><div class="help-body" style="display: none"><p><strong i18n="status_helper.heading"></strong></p><p></p><p i18n="status_helper.draft"></p><p i18n="status_helper.syncing"></p><p i18n="status_helper.rejected"></p><p i18n="status_helper.synced"></p><p i18n="status_helper.archived"></p></div></div>')}]),angular.module("templates").run(["$templateCache",function(t){
t.put("/manage/adverts/ad-set.html",'<tr><td class="selection"><input ng-checked="isSelected()" ng-click="handleSelectCheckboxClick()" ng-if="adSet.details.status != &quot;archived&quot;" on-select="" type="checkbox" /></td><td class="centered-column with-tooltip effective-status"><i class="icon-refresh fa fa-refresh fa-spin" ng-if="adSet.waiting_details"></i><span data-original-title="{{ effectiveStatusTooltip() }}" data-toggle="tooltip" ng-bind="effectiveStatus()" ng-class="classForEffectiveStatus()" ng-if="!adSet.waiting_details"></span></td><td><a ng-href="{{ settingsUrl }}">{{ adSet.ad_set.name }}</a></td><td class="with-tooltip"><span data-original-title="{{ contentTooltip() }}" data-placement="right" data-toggle="tooltip"><span ng-if="isMix()"><a href="javascript:void(0)" i18n="ad_set.mix" ng-click="handleContentClick()"></a></span><span ng-if="isBoardsOnly()"><a href="javascript:void(0)" i18n="ad_set.board" ng-click="handleContentClick()"></a></span><span ng-if="isProductsOnly()"><a href="javascript:void(0)" i18n="ad_set.product" ng-click="handleContentClick()"></a></span><span ng-if="isTagsOnly()"><a href="javascript:void(0)" i18n="ad_set.tag" ng-click="handleContentClick()"></a></span></span></td><td><a href="javascript:void(0)" ng-bind="adSet.rotation.max_frequency.value || defaults.max_frequency" ng-click="handleRulesClick()" ng-if="adSet.rotation.max_frequency.enabled"></a><a href="javascript:void(0)" i18n="common.disabled" ng-click="handleRulesClick()" ng-if="!adSet.rotation.max_frequency.enabled"></a></td><td><a href="javascript:void(0)" ng-bind="adSet.rotation.min_live_days || defaults.min_live_days" ng-click="handleRulesClick()"></a></td><td><a href="javascript:void(0)" ng-bind="adSet.rotation.min_relevance.value || 0" ng-click="handleRulesClick()" ng-if="adSet.rotation.min_relevance.enabled"></a><a href="javascript:void(0)" i18n="common.disabled" ng-click="handleRulesClick()" ng-if="!adSet.rotation.min_relevance.enabled"></a></td><td><a href="javascript:void(0)" ng-bind="adSet.rotation.number_of_ads || defaults.max_number_of_ads" ng-click="handleRulesClick()"></a></td><td><a href="javascript:void(0)" ng-bind="adSet.rotation.min_ctr.value" ng-click="handleRulesClick()" ng-if="adSet.rotation.min_ctr.enabled"></a><a href="javascript:void(0)" i18n="common.disabled" ng-click="handleRulesClick()" ng-if="!adSet.rotation.min_ctr.enabled"></a></td><td class="with-tooltip"><span data-original-title="{{ ctrl.conversionTypeTooltip(ad_set) }}" data-toggle="tooltip"><a href="javascript:void(0)" ng-bind="adSet.rotation.max_cost.value || 0" ng-click="handleRulesClick()" ng-if="adSet.rotation.max_cost.enabled"></a><a href="javascript:void(0)" i18n="common.disabled" ng-click="handleRulesClick()" ng-if="!adSet.rotation.max_cost.enabled"></a></span></td><td><a ng-href="{{facebookAdSetUrl()}}">{{ adSet.campaign.name }}</a></td><td class="action-column-1"><div class="dropdown"><a class="dropdown-toggle btn-sm btn-secondary btn" data-toggle="dropdown" href="#"><i class="icon-cog fa fa-cog"></i><span i18n="common.options"></span></a><div class="dropdown-menu" x-placement="top-start"><a class="dropdown-item" ng-href="{{ analyticsUrl }}" ng-if="adSet.policy_set.facebook_ads_statistics"><i class="icon-globe fa fa-globe"></i><span i18n="ad_set.analytics"></span></a><a class="dropdown-item" ng-href="{{ historyUrl }}" ng-if="adSet.policy_set.history"><i class="icon-calendar fa fa-calendar"></i><span i18n="ad_set.history"></span></a><a class="dropdown-item" data-confirm="{{ resyncConfirmationLabel }}" data-method="put" ng-href="{{ resyncUrl }}" ng-if="adSet.policy_set.sync"><i class="icon-refresh fa fa-refresh"></i><span i18n="ad_set.resync"></span></a><a class="dropdown-item" data-confirm="{{ rotateConfirmationLabel }}" data-method="put" ng-href="{{ rotateUrl }}" ng-if="adSet.policy_set.rotate"><i class="icon-forward fa fa-forward"></i><span i18n="ad_set.rotate"></span></a><a class="dropdown-item" ng-href="{{ settingsUrl }}" ng-if="adSet.policy_set.update"><i class="icon-edit fa fa-pencil"></i><span i18n="ad_set.settings"></span></a><a class="dropdown-item" data-confirm="{{ activateConfirmationLabel }}" data-method="put" ng-href="{{ activateUrl }}" ng-if="adSet.policy_set.activate"><i class="icon-play fa fa-play"></i><span i18n="ad_set.activate"></span></a><a class="dropdown-item" data-confirm="{{ deactivateConfirmationLabel }}" data-method="put" ng-href="{{ deactivateUrl }}" ng-if="adSet.policy_set.deactivate"><i class="icon-remove fa fa-remove"></i><span i18n="ad_set.deactivate"></span></a><a class="dropdown-item" ng-href="{{ facebookUrl }}" target="_blank"><i class="icon-facebook-official fa fa-facebook-official"></i><span i18n="ad_set.viewOnFacebook"></span></a><a class="dropdown-item" data-confirm="{{ archiveConfirmationLabel }}" data-method="put" ng-href="{{ archiveUrl }}" ng-if="adSet.policy_set.archive"><i class="icon-book fa fa-book"></i><span i18n="ad_set.archive"></span></a></div></div></td></tr>')}]),angular.module("templates").run(["$templateCache",function(t){t.put("/manage/adverts/advert-campaign.html",'<tr ng-click="onSelectClick($event)"><td class="thumbnail-column"><input ng-checked="selected === &quot;true&quot;" type="checkbox" /></td><td class="adjacent-to-thumbnail-column"><a ng-href="{{ url() }}">{{ name() }}</a></td><td class="action-column-2 left-column">{{ currency() }}</td><td class="action-column-2 left-column">{{ timeZone() }}</td><td class="date-column"><a ng-href="{{ url() }}">{{ createdAtFormatted() }}</a></td><td class="dropdown-column"><div class="dropdown three-dots" id="options"><a aria-expanded="false" data-toggle="dropdown" href="#" ng-class="{ &#39;dropdown-toggle btn-sm btn-mini btn-secondary btn&#39;: !use_v2_views, &#39;btn-three-dots&#39;: use_v2_views }"><i ng-bind-html="use_v2_views ? &#39;&amp;nbsp;&#39; : &#39;&#39;" ng-class="{ &#39;icon-cog fa fa-cog&#39;: !use_v2_views }"></i><span class="not_use_v2_views">&nbsp;options</span></a><div class="dropdown-menu"><a class="dropdown-item" ng-href="{{ facebookUrl() }}"><i class="icon-facebook fa fa-facebook-official"></i> Facebook Ads</a><a class="dropdown-item" ng-href="{{ editUrl() }}"><i ng-class="{ &#39;icon-edit fa fa-pencil&#39;: !use_v2_views, &#39;dropdown-icon-settings&#39;: use_v2_views}"></i> Settings</a></div></div></td></tr>')}]),angular.module("templates").run(["$templateCache",function(t){t.put("/manage/sr-pagination.html",'<div class="pagination" ng-show="pagination.totalItems &gt; 20"><ul class="pagination"><li class="page-item prev" ng-if="!firstPage()"><a class="page-link" href="javascript:void(0)" ng-click="onChangeClick(currentPage() - 1)" rel="prev">&laquo; prev</a></li><li class="page-item" ng-class="{ active: page == currentPage() }" ng-repeat="page in pages()"><a class="page-link" href="javascript:void(0)" ng-click="onChangeClick(page)">{{ page }}</a></li><li class="page-item disabled" ng-if="showMore()"><a class="page-link" href="#">\u2026</a></li><li class="page-item next" ng-if="!lastPage()"><a class="page-link" href="javascript:void(0)" ng-click="onChangeClick(currentPage() + 1)" rel="next">next&nbsp;&raquo;</a></li></ul></div>')}]);