cdn2.editmysite.com
2a04:4e42::302 

URL: https://cdn2.editmysite.com/js/site/main.js?buildTime=1555524319
Submission: On May 31 via api from US

Form analysis 0 forms found in the DOM

Text Content

!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var i=window.publishedWBJP;window.publishedWBJP=function r(s,a){for(var l,u,c=0,d=[];c<s.length;c++)u=s[c],o[u]&&d.push.apply(d,o[u]),o[u]=0;for(l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l]);for(i&&i(s,a);d.length;)d.shift().call(null,t);if(a[0])return n[0]=0,t(0)};var n={},o={2:0};return t.e=function e(i,n){if(0===o[i])return n.call(null,t);if(void 0!==o[i])o[i].push(n);else{o[i]=[n];var r=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.src=t.p+""+{11:"b10781c6b85a9ee0dd61",12:"c0572165be4abdad4cf0",13:"6ba7ede29c235754ff59",14:"b0ec1fa6879b3c6ce468",15:"b739cd066cf97799a417",16:"94abdf9ee12a04401fe9",17:"78505f33894f08d127e9",18:"40d894df9720c4140922"}[i]+".js",r.appendChild(s)}},t.m=e,t.c=n,t.p="https://cdn2.editmysite.com/js/",t.p="https://"+window.ASSETS_BASE+"/js/"||t.p,t(0)}({0:function(e,t,i){e.exports=i(631)},1:function(e,t,i){var n;n=function(){return void 0!==window.Weebly&&void 0!==window.Weebly.jQuery?window.Weebly.jQuery:window.jQuery}.call(t,i,t,e),!(void 0!==n&&(e.exports=n))},2:function(e,t,i){var n,o;n=[i(1)],o=function(e){return window.Weebly=window._W=window._W||{},window._W.utl=window._W.utl||function(e){return window._W.failedTls=window._W.failedTls||[],window._W.failedTls.push(e),e},window._W.ftl=window._W.ftl||function(e){return window._W.failedFtls=window._W.failedFtls||[],window._W.failedFtls.push(e),""},window._W.utl=window._W.utl||function(e){return window._W.failedUtls=window._W.failedUtls||[],window._W.failedUtls.push(e),""},window._W.stl=window._W.stl||function(e){return window._W.failedStls=window._W.failedStls||[],window._W.failedStls.push(e),""},window._W.setCookie=function(e,t,i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var o="expires="+n.toUTCString();document.cookie=e+"="+t+"; "+o},window._W.clearCookie=function(e){window._W.setCookie(e,"",-1)},window._W.getCookie=function(e){for(var t=e+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},window._W.jQuery=e,window._W.RECAPTCHA_PUBLIC_KEY=window.RECAPTCHA_PUBLIC_KEY="6Lf4O9USAAAAAOSa9cF4SEtxBcjrwrLe1_yP00ke",window._W.INVISIBLE_RECAPTCHA_PUBLIC_KEY=window.INVISIBLE_RECAPTCHA_PUBLIC_KEY="6LfRSRsUAAAAAKZnbFLRh9pFqexMBpUkku4TAYM7",window._W}.apply(t,n),!(void 0!==o&&(e.exports=o))},3:function(e,t,i){(function(t){e.exports=t._=i(35)}).call(t,function(){return this}())},5:function(e,t,i){var n,o;!function(r,s){if(0)if("undefined"!=typeof t){var a=require("underscore");s(r,t,a)}else r.Backbone=s(r,{},r._,r.jQuery||r.Zepto||r.ender||r.$);else n=[i(3),i(1),t],o=function(e,t,i){r.Backbone=s(r,i,e,t)}.apply(t,n),!(void 0!==o&&(e.exports=o))}(this,function(e,t,i,n){var o=e.Backbone,r=[],s=r.push,a=r.slice,l=r.splice;t.VERSION="1.1.2",t.$=n,t.noConflict=function(){return e.Backbone=o,this},t.emulateHTTP=!1,t.emulateJSON=!1;var u=t.Events={on:function(e,t,i){if(!d(this,"on",e,[t,i])||!t)return this;this._events||(this._events={});var n=this._events[e]||(this._events[e]=[]);return n.push({callback:t,context:i,ctx:i||this}),this},once:function(e,t,n){if(!d(this,"once",e,[t,n])||!t)return this;var o=this,r=i.once(function(){o.off(e,r),t.apply(this,arguments)});return r._callback=t,this.on(e,r,n)},off:function(e,t,n){var o,r,s,a,l,u,c,h;if(!this._events||!d(this,"off",e,[t,n]))return this;if(!e&&!t&&!n)return this._events=void 0,this;for(a=e?[e]:i.keys(this._events),l=0,u=a.length;l<u;l++)if(e=a[l],s=this._events[e]){if(this._events[e]=o=[],t||n)for(c=0,h=s.length;c<h;c++)r=s[c],(t&&t!==r.callback&&t!==r.callback._callback||n&&n!==r.context)&&o.push(r);o.length||delete this._events[e]}return this},trigger:function(e){if(!this._events)return this;var t=a.call(arguments,1);if(!d(this,"trigger",e,t))return this;var i=this._events[e],n=this._events.all;return i&&h(i,t),n&&h(n,arguments),this},stopListening:function(e,t,n){var o=this._listeningTo;if(!o)return this;var r=!t&&!n;n||"object"!=typeof t||(n=this),e&&((o={})[e._listenId]=e);for(var s in o)e=o[s],e.off(t,n,this),(r||i.isEmpty(e._events))&&delete this._listeningTo[s];return this}},c=/\s+/,d=function(e,t,i,n){if(!i)return!0;if("object"==typeof i){for(var o in i)e[t].apply(e,[o,i[o]].concat(n));return!1}if(c.test(i)){for(var r=i.split(c),s=0,a=r.length;s<a;s++)e[t].apply(e,[r[s]].concat(n));return!1}return!0},h=function(e,t){var i,n=-1,o=e.length,r=t[0],s=t[1],a=t[2];switch(t.length){case 0:for(;++n<o;)(i=e[n]).callback.call(i.ctx);return;case 1:for(;++n<o;)(i=e[n]).callback.call(i.ctx,r);return;case 2:for(;++n<o;)(i=e[n]).callback.call(i.ctx,r,s);return;case 3:for(;++n<o;)(i=e[n]).callback.call(i.ctx,r,s,a);return;default:for(;++n<o;)(i=e[n]).callback.apply(i.ctx,t);return}},f={listenTo:"on",listenToOnce:"once"};i.each(f,function(e,t){u[t]=function(t,n,o){var r=this._listeningTo||(this._listeningTo={}),s=t._listenId||(t._listenId=i.uniqueId("l"));return r[s]=t,o||"object"!=typeof n||(o=this),t[e](n,o,this),this}}),u.bind=u.on,u.unbind=u.off,i.extend(t,u);var p=t.Model=function(e,t){var n=e||{};t||(t={}),this.cid=i.uniqueId("c"),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(n=this.parse(n,t)||{}),n=i.defaults({},n,i.result(this,"defaults")),this.set(n,t),this.changed={},this.initialize.apply(this,arguments)};i.extend(p.prototype,u,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(e){return i.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return i.escape(this.get(e))},has:function(e){return null!=this.get(e)},set:function(e,t,n){var o,r,s,a,l,u,c,d;if(null==e)return this;if("object"==typeof e?(r=e,n=t):(r={})[e]=t,n||(n={}),!this._validate(r,n))return!1;s=n.unset,l=n.silent,a=[],u=this._changing,this._changing=!0,u||(this._previousAttributes=i.clone(this.attributes),this.changed={}),d=this.attributes,c=this._previousAttributes,this.idAttribute in r&&(this.id=r[this.idAttribute]);for(o in r)t=r[o],i.isEqual(d[o],t)||a.push(o),i.isEqual(c[o],t)?delete this.changed[o]:this.changed[o]=t,s?delete d[o]:d[o]=t;if(!l){a.length&&(this._pending=n);for(var h=0,f=a.length;h<f;h++)this.trigger("change:"+a[h],this,d[a[h]],n)}if(u)return this;if(!l)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,i.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var n in this.attributes)t[n]=void 0;return this.set(t,i.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!i.isEmpty(this.changed):i.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&i.clone(this.changed);var t,n=!1,o=this._changing?this._previousAttributes:this.attributes;for(var r in e)i.isEqual(o[r],t=e[r])||((n||(n={}))[r]=t);return n},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(e){e=e?i.clone(e):{},void 0===e.parse&&(e.parse=!0);var t=this,n=e.success;return e.success=function(i){return!!t.set(t.parse(i,e),e)&&(n&&n(t,i,e),void t.trigger("sync",t,i,e))},O(this,e),this.sync("read",this,e)},save:function(e,t,n){var o,r,s,a=this.attributes;if(null==e||"object"==typeof e?(o=e,n=t):(o={})[e]=t,n=i.extend({validate:!0},n),o&&!n.wait){if(!this.set(o,n))return!1}else if(!this._validate(o,n))return!1;o&&n.wait&&(this.attributes=i.extend({},a,o)),void 0===n.parse&&(n.parse=!0);var l=this,u=n.success;return n.success=function(e){l.attributes=a;var t=l.parse(e,n);return n.wait&&(t=i.extend(o||{},t)),!(i.isObject(t)&&!l.set(t,n))&&(u&&u(l,e,n),void l.trigger("sync",l,e,n))},O(this,n),r=this.isNew()?"create":n.patch?"patch":"update","patch"===r&&(n.attrs=o),s=this.sync(r,this,n),o&&n.wait&&(this.attributes=a),s},destroy:function(e){e=e?i.clone(e):{};var t=this,n=e.success,o=function(){t.trigger("destroy",t,t.collection,e)};if(e.success=function(i){(e.wait||t.isNew())&&o(),n&&n(t,i,e),t.isNew()||t.trigger("sync",t,i,e)},this.isNew())return e.success(),!1;O(this,e);var r=this.sync("delete",this,e);return e.wait||o(),r},url:function(){var e=i.result(this,"urlRoot")||i.result(this.collection,"url")||j();return this.isNew()?e:e.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},i.extend(e||{},{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=i.extend({},this.attributes,e);var n=this.validationError=this.validate(e,t)||null;return!n||(this.trigger("invalid",this,n,i.extend(t,{validationError:n})),!1)}});var m=["keys","values","pairs","invert","pick","omit"];i.each(m,function(e){p.prototype[e]=function(){var t=a.call(arguments);return t.unshift(this.attributes),i[e].apply(i,t)}});var g=t.Collection=function(e,t){t||(t={}),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,i.extend({silent:!0},t))},v={add:!0,remove:!0,merge:!0},y={add:!0,remove:!1};i.extend(g.prototype,u,{model:p,initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,i.extend({merge:!1},t,y))},remove:function(e,t){var n=!i.isArray(e);e=n?[e]:i.clone(e),t||(t={});var o,r,s,a;for(o=0,r=e.length;o<r;o++)a=e[o]=this.get(e[o]),a&&(delete this._byId[a.id],delete this._byId[a.cid],s=this.indexOf(a),this.models.splice(s,1),this.length--,t.silent||(t.index=s,a.trigger("remove",a,this,t)),this._removeReference(a,t));return n?e[0]:e},set:function(e,t){t=i.defaults({},t,v),t.parse&&(e=this.parse(e,t));var n=!i.isArray(e);e=n?e?[e]:[]:i.clone(e);var o,r,s,a,l,u,c,d=t.at,h=this.model,f=this.comparator&&null==d&&t.sort!==!1,m=i.isString(this.comparator)?this.comparator:null,g=[],y=[],b={},w=t.add,T=t.merge,S=t.remove,_=!(f||!w||!S)&&[];for(o=0,r=e.length;o<r;o++){if(l=e[o]||{},s=l instanceof p?a=l:l[h.prototype.idAttribute||"id"],u=this.get(s))S&&(b[u.cid]=!0),T&&(l=l===a?a.attributes:l,t.parse&&(l=u.parse(l,t)),u.set(l,t),f&&!c&&u.hasChanged(m)&&(c=!0)),e[o]=u;else if(w){if(a=e[o]=this._prepareModel(l,t),!a)continue;g.push(a),this._addReference(a,t)}a=u||a,!_||!a.isNew()&&b[a.id]||_.push(a),b[a.id]=!0}if(S){for(o=0,r=this.length;o<r;++o)b[(a=this.models[o]).cid]||y.push(a);y.length&&this.remove(y,t)}if(g.length||_&&_.length)if(f&&(c=!0),this.length+=g.length,null!=d)for(o=0,r=g.length;o<r;o++)this.models.splice(d+o,0,g[o]);else{_&&(this.models.length=0);var M=_||g;for(o=0,r=M.length;o<r;o++)this.models.push(M[o])}if(c&&this.sort({silent:!0}),!t.silent){for(o=0,r=g.length;o<r;o++)(a=g[o]).trigger("add",a,this,t);(c||_&&_.length)&&this.trigger("sort",this,t)}return n?e[0]:e},reset:function(e,t){t||(t={});for(var n=0,o=this.models.length;n<o;n++)this._removeReference(this.models[n],t);return t.previousModels=this.models,this._reset(),e=this.add(e,i.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,i.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e),t},unshift:function(e,t){return this.add(e,i.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e),t},slice:function(){return a.apply(this.models,arguments)},get:function(e){if(null!=e)return this._byId[e]||this._byId[e.id]||this._byId[e.cid]},at:function(e){return this.models[e]},where:function(e,t){return i.isEmpty(e)?t?void 0:[]:this[t?"find":"filter"](function(t){for(var i in e)if(e[i]!==t.get(i))return!1;return!0})},findWhere:function(e){return this.where(e,!0)},sort:function(e){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return e||(e={}),i.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(i.bind(this.comparator,this)),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return i.invoke(this.models,"get",e)},fetch:function(e){e=e?i.clone(e):{},void 0===e.parse&&(e.parse=!0);var t=e.success,n=this;return e.success=function(i){var o=e.reset?"reset":"set";n[o](i,e),t&&t(n,i,e),n.trigger("sync",n,i,e)},O(this,e),this.sync("read",this,e)},create:function(e,t){if(t=t?i.clone(t):{},!(e=this._prepareModel(e,t)))return!1;t.wait||this.add(e,t);var n=this,o=t.success;return t.success=function(e,i){t.wait&&n.add(e,t),o&&o(e,i,t)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(e instanceof p)return e;t=t?i.clone(t):{},t.collection=this;var n=new this.model(e,t);return n.validationError?(this.trigger("invalid",this,n.validationError,t),!1):n},_addReference:function(e,t){this._byId[e.cid]=e,null!=e.id&&(this._byId[e.id]=e),e.collection||(e.collection=this),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,i,n){("add"!==e&&"remove"!==e||i===this)&&("destroy"===e&&this.remove(t,n),t&&e==="change:"+t.idAttribute&&(delete this._byId[t.previous(t.idAttribute)],null!=t.id&&(this._byId[t.id]=t)),this.trigger.apply(this,arguments))}});var b=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"];i.each(b,function(e){g.prototype[e]=function(){var t=a.call(arguments);return t.unshift(this.models),i[e].apply(i,t)}});var w=["groupBy","countBy","sortBy","indexBy"];i.each(w,function(e){g.prototype[e]=function(t,n){var o=i.isFunction(t)?t:function(e){return e.get(t)};return i[e](this.models,o,n)}});var T=t.View=function(e){this.cid=i.uniqueId("view"),e||(e={}),i.extend(this,i.pick(e,_)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},S=/^(\S+)\s*(.*)$/,_=["model","collection","el","id","attributes","className","tagName","events"];i.extend(T.prototype,u,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(e,i){return this.$el&&this.undelegateEvents(),this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0],i!==!1&&this.delegateEvents(),this},delegateEvents:function(e){if(!e&&!(e=i.result(this,"events")))return this;this.undelegateEvents();for(var t in e){var n=e[t];if(i.isFunction(n)||(n=this[e[t]]),n){var o=t.match(S),r=o[1],s=o[2];n=i.bind(n,this),r+=".delegateEvents"+this.cid,""===s?this.$el.on(r,n):this.$el.on(r,s,n)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(i.result(this,"el"),!1);else{var e=i.extend({},i.result(this,"attributes"));this.id&&(e.id=i.result(this,"id")),this.className&&(e.class=i.result(this,"className"));var n=t.$("<"+i.result(this,"tagName")+">").attr(e);this.setElement(n,!1)}}}),t.sync=function(e,n,o){var r=C[e];i.defaults(o||(o={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var s={type:r,dataType:"json"};if(o.url||(s.url=i.result(n,"url")||j()),null!=o.data||!n||"create"!==e&&"update"!==e&&"patch"!==e||(s.contentType="application/json",s.data=JSON.stringify(o.attrs||n.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(e){if(e.setRequestHeader("X-HTTP-Method-Override",r),a)return a.apply(this,arguments)}}"GET"===s.type||o.emulateJSON||(s.processData=!1),"PATCH"===s.type&&M&&(s.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var l=o.xhr=t.ajax(i.extend(s,o));return n.trigger("request",n,l,o),l};var M=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),C={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var P=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},x=/\((.*?)\)/g,A=/(\(\?)?:\w+/g,k=/\*\w+/g,E=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend(P.prototype,u,{initialize:function(){},route:function(e,n,o){i.isRegExp(e)||(e=this._routeToRegExp(e)),i.isFunction(n)&&(o=n,n=""),o||(o=this[n]);var r=this;return t.history.route(e,function(i){var s=r._extractParameters(e,i);r.execute(o,s),r.trigger.apply(r,["route:"+n].concat(s)),r.trigger("route",n,s),t.history.trigger("route",r,n,s)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,i){return t.history.navigate(e,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,"routes");for(var e,t=i.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(E,"\\$&").replace(x,"(?:$1)?").replace(A,function(e,t){return t?e:"([^/?]+)"}).replace(k,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var n=e.exec(t).slice(1);return i.map(n,function(e,t){return t===n.length-1?e||null:e?decodeURIComponent(e):null})}});var I=t.History=function(){this.handlers=[],i.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},D=/^[#\/]|\s+$/g,F=/^\/+|\/+$/g,H=/msie [\w.]+/,G=/\/$/,B=/#.*$/;I.started=!1,i.extend(I.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(null==e)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(G,"");e.indexOf(i)||(e=e.slice(i.length))}else e=this.getHash();return e.replace(D,"")},start:function(e){if(I.started)throw new Error("Backbone.history has already been started");I.started=!0,this.options=i.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var n=this.getFragment(),o=document.documentMode,r=H.exec(navigator.userAgent.toLowerCase())&&(!o||o<=7);if(this.root=("/"+this.root+"/").replace(F,"/"),r&&this._wantsHashChange){var s=t.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=s.hide().appendTo("body")[0].contentWindow,this.navigate(n)}this._hasPushState?t.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!r?t.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=n;var a=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&a.hash&&(this.fragment=this.getHash().replace(D,""),this.history.replaceState({},document.title,this.root+this.fragment))}if(!this.options.silent)return this.loadUrl()},stop:function(){t.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();return t===this.fragment&&this.iframe&&(t=this.getFragment(this.getHash(this.iframe))),t!==this.fragment&&(this.iframe&&this.navigate(t),void this.loadUrl())},loadUrl:function(e){return e=this.fragment=this.getFragment(e),i.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})},navigate:function(e,t){if(!I.started)return!1;t&&t!==!0||(t={trigger:!!t});var i=this.root+(e=this.getFragment(e||""));if(e=e.replace(B,""),this.fragment!==e){if(this.fragment=e,""===e&&"/"!==i&&(i=i.slice(0,-1)),this._hasPushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getFragment(this.getHash(this.iframe))&&(t.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,e,t.replace))}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,i){if(i){var n=e.href.replace(/(javascript:|#).*$/,"");e.replace(n+"#"+t)}else e.hash="#"+t}}),t.history=new I;var R=function(e,t){var n=this,o;o=e&&i.has(e,"constructor")?e.constructor:function(){return n.apply(this,arguments)},i.extend(o,n,t);var r=function(){this.constructor=o};return r.prototype=n.prototype,o.prototype=new r,e&&i.extend(o.prototype,e),o.__super__=n.prototype,o};p.extend=g.extend=P.extend=T.extend=I.extend=R;var j=function(){throw new Error('A "url" property or function must be specified')},O=function(e,t){var i=t.error;t.error=function(n){i&&i(e,n,t),e.trigger("error",e,n,t)}};return t})},6:function(e,t,i){var n,o;n=[i(1),i(3),i(2),i(66),i(36)],o=function(e,t,i,n,o){function r(){return function(e,t){return t(i.stl(e))}}window.Mustache=n;var s=i.AdminType,a={date:"MMMM D, YYYY",shortDate:"M/D/YY",longDate:"M/D/YYYY",time:"h:mm a"},l=function(e){return function(t,i){var n=i(t),r=o.unix(n);return r.format(a[e])}},u={expireCookie:function(e){document.cookie=e+"=; expires=Thu, 18 Dec 2000 12:00:00 UTC"},setCookie:function(e,t){u.expireCookie(e),document.cookie=e+"="+t+"; path=/; domain="+window.location.hostname}},c={buildTime:"undefined"!=typeof window.buildTime?window.buildTime:null,ASSETS_BASE:"undefined"!=typeof window.ASSETS_BASE?window.ASSETS_BASE:null,tl:function(){return function(e,t){return t(i.utl(e))}},ftl:r,stl:r,esc_attr:function(){return function(e,i){return t.escape(i(e))}},fmt:{date:function(){return l("date")},shortDate:function(){return l("shortDate")},longDate:function(){return l("longDate")},time:function(){return l("time")}},isWeeblyAdmin:function(){return"weebly"===s},td:function(){return function(e,i){var n=["d","j","m","n","y","Y","a","A","g","h","G","H","i","s"],r=["DD","D","MM","M","YY","YYYY","a","A","hh","h","HH","H","mm","ss"];t.each(n,function(t,i){e=e.replace(t,r[i])});var s=e.split(/\|/),a=s[0],l=i("{{"+s[1]+"}}"),u=o(l).format(a);return u}},csrf_input:function(){var e=window.csrfToken;return e||(e=Math.random().toString(36).substring(2),u.setCookie("_csrf",e)),"<input type='hidden' name='_csrf' value='"+e+"' />"}};n.origRender=n.render,n.render=function(e,i,o){return i=t.extend({},i,c),o=t.extend({},this.partialCache,o),n.origRender.call(this,e,i,o)},n.compile=function(e){return this.render.bind(this,e)},n.compilePartial=function(e,t){this.partialCache=this.partialCache||{},this.partialCache[e]=t};var d=n.Writer.prototype;return d.origCompile=d.compile,d.compile=function(t){var i=d.origCompile.apply(this,[t]);return function(t){var n=Array.prototype.slice.call(arguments);return n[0]=e.extend(n[0]||{},c),i.apply(this,n)}},n}.apply(t,n),!(void 0!==o&&(e.exports=o))},7:function(e,t,i){var n,o;n=[i(5),i(64),i(69),i(52),i(51),i(87),i(88),i(44)],o=function(e){var t={},i=e.RelationalModel.extend;return e.Relational.store.addModelScope(t),e.RelationalModel.extend=function(e,n){var o=i.apply(this,arguments),r=e._class;return r&&(r=r.split("."),r=r[r.length-1],t[r]=o),o},e.Wreqr.Handlers.prototype.removeHandlers=function(e){for(var t=0;t<e.length;t++)this.removeHandler(e[t])},e}.apply(t,n),!(void 0!==o&&(e.exports=o))},21:function(e,t,i){var n,o;n=[i(2),i(7)],o=function(e,t){var i=new t.Marionette.Application;return i.addRegions({contentRegion:"#wsite-content"}),i}.apply(t,n),!(void 0!==o&&(e.exports=o))},24:function(e,t,i){var n,o;n=[i(2)],o=function(e){var t={htmlDecode:function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue},isIE:function(){return/(MSIE|Trident)/.test(navigator.userAgent)},isEdge:function(){return/(edge)/.test(navigator.userAgent.toLowerCase())},isChrome:function(){return/(Chrome)/.test(navigator.userAgent)},getURLParameter:function(e,t){for(var i=t||window.location.search.substring(1),n=i.split("&"),o=0;o<n.length;o++){var r=n[o].split("=");if(r[0]==e)return decodeURIComponent(r[1])}return""},splitName:function(e){var t;return/^[^\s]*\s[^\s]*\s?$/i.test(e)?e.split(" "):(t=e.match(/^([^\s]*\s[^\s]\.?)\s(.*)\s?$/i))?t.slice(1):(t=e.match(/^(.*)\s([^\s]*)\s(jr|sr|ii|iii|iv|v|vi|vii|viii|ix|x)\.?\s?$/i))?t.slice(1):(t=e.match(/^([^\s]*\s[^\s]*)\s(.*)\s?$/i))?t.slice(1):[e,""]},isValidEmail:function(e){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(e)},numberWithCommas:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},getSiteDomain:function(){var t=!1;return e.Location.custom_domain?t=e.Location.custom_domain:e.Location.weebly_subdomain&&(t=e.Location.weebly_subdomain+".weebly.com"),t},generateTimeInterval:function(e,t){var i,n,o=[],e=e||12,t=t||30;for(i=0;i<=23;i++)for(n=0;n<60;n+=t){var r=("00"+n).slice(-2),s=i,a="";12===e?(a="am",0===i?s=12:12===i?(s=i,a="pm"):i>12&&(s=i-e,a="pm")):s=("00"+i).slice(-2),o.push(s+":"+r+" "+a)}return o},hasValidUrl:function(e){return/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/.test(e)},isCyclic:function(e){try{JSON.stringify(e,function(e,t){if("object"==typeof t)return t})}catch(e){if(e instanceof TypeError)return!0;throw e}return!1},setDropEffect:function(e){var t;e.originalEvent&&(e=e.originalEvent),e.dataTransfer&&(t=["move","linkMove"].indexOf(e.dataTransfer.effectAllowed)!==-1,e.dataTransfer.dropEffect=t?"move":"copy")},getCookie:function(e){var t="; "+document.cookie,i=t.split("; "+e+"=");return i.length>=2?unescape(i.pop().split(";").shift()):null},setCookie:function(e,t,i){var n="";if(i){var o=new Date;o.setTime(o.getTime()+24*i*60*60*1e3),n="; expires="+o.toUTCString()}document.cookie=e+"="+t+n+"; path=/"},eraseCookie:function(e){this.setCookie(e,"",-1)},roundNumber:function(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)},getNestedValue:function(e,t,i){for(var n=e,o=0;o<t.length;o++){var r=t[o];if(!(r in n))return i;n=n[r]}return n},isProtocolSecure:function(){return"https:"==document.location.protocol},mapObjectValues:function(e,t){for(var i=[e];i.length;){var n=i[0],o=Object.keys(n);o.forEach(function(e){window._.isObject(n[e])?i.push(n[e]):(n[e]=t(n[e]),window._.isUndefined(n[e])&&delete n[e])}),i.shift()}return e},getFrontDoorOnboardingLink:function(e){return e?"/app/front-door/users/"+e+"/getting-started":"/"}};return t}.apply(t,n),!(void 0!==o&&(e.exports=o))},33:function(e,t,i){var n,o,r;!function(s){o=[i(1)],n=s,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r))}(function(e){var t="ui-effects-",i=e;return e.effects={effect:{}},function(e,t){function i(e,t,i){var n=c[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max<e?n.max:e)}function n(t){var i=l(),n=i._rgba=[];return t=t.toLowerCase(),p(a,function(e,o){var r,s=o.re.exec(t),a=s&&o.parse(s),l=o.space||"rgba";if(a)return r=i[l](a),i[u[l].cache]=r[u[l].cache],n=i._rgba=r._rgba,!1}),n.length?("0,0,0,0"===n.join()&&e.extend(n,f.transparent),i):f[t]}function o(e,t,i){return i=(i+1)%1,6*i<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}var r="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",s=/^([\-+])=\s*(\d+\.?\d*)/,a=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,o){return new e.Color.fn.parse(t,i,n,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"}}}},c={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},h=e("<p>")[0],f,p=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=h.style.backgroundColor.indexOf("rgba")>-1,p(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(o,r,s,a){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=e(o).css(r),r=t);var c=this,d=e.type(o),h=this._rgba=[];return r!==t&&(o=[o,r,s,a],d="array"),"string"===d?this.parse(n(o)||f._default):"array"===d?(p(u.rgba.props,function(e,t){h[t.idx]=i(o[t.idx],t)}),this):"object"===d?(o instanceof l?p(u,function(e,t){o[t.cache]&&(c[t.cache]=o[t.cache].slice())}):p(u,function(t,n){var r=n.cache;p(n.props,function(e,t){if(!c[r]&&n.to){if("alpha"===e||null==o[e])return;c[r]=n.to(c._rgba)}c[r][t.idx]=i(o[e],t,!0)}),c[r]&&e.inArray(null,c[r].slice(0,3))<0&&(c[r][3]=1,n.from&&(c._rgba=n.from(c[r])))}),this):void 0},is:function(e){var t=l(e),i=!0,n=this;return p(u,function(e,o){var r,s=t[o.cache];return s&&(r=n[o.cache]||o.to&&o.to(n._rgba)||[],p(o.props,function(e,t){if(null!=s[t.idx])return i=s[t.idx]===r[t.idx]})),i}),i},_space:function(){var e=[],t=this;return p(u,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),o=n._space(),r=u[o],s=0===this.alpha()?l("transparent"):this,a=s[r.cache]||r.to(s._rgba),d=a.slice();return n=n[r.cache],p(r.props,function(e,o){var r=o.idx,s=a[r],l=n[r],u=c[o.type]||{};null!==l&&(null===s?d[r]=l:(u.mod&&(l-s>u.mod/2?s+=u.mod:s-l>u.mod/2&&(s-=u.mod)),d[r]=i((l-s)*t+s,o)))}),this[o](d)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),o=l(t)._rgba;
return l(e.map(i,function(e,t){return(1-n)*o[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/255,i=e[1]/255,n=e[2]/255,o=e[3],r=Math.max(t,i,n),s=Math.min(t,i,n),a=r-s,l=r+s,u=.5*l,c,d;return c=s===r?0:t===r?60*(i-n)/a+360:i===r?60*(n-t)/a+120:60*(t-i)/a+240,d=0===a?0:u<=.5?a/l:a/(2-l),[Math.round(c)%360,d,u,null==o?1:o]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],r=e[3],s=n<=.5?n*(1+i):n+i-n*i,a=2*n-s;return[Math.round(255*o(a,s,t+1/3)),Math.round(255*o(a,s,t)),Math.round(255*o(a,s,t-1/3)),r]},p(u,function(n,o){var r=o.props,a=o.cache,u=o.to,c=o.from;l.fn[n]=function(n){if(u&&!this[a]&&(this[a]=u(this._rgba)),n===t)return this[a].slice();var o,s=e.type(n),d="array"===s||"object"===s?n:arguments,h=this[a].slice();return p(r,function(e,t){var n=d["object"===s?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),c?(o=l(c(h)),o[a]=h,o):l(h)},p(r,function(t,i){l.fn[t]||(l.fn[t]=function(o){var r=e.type(o),a="alpha"===t?this._hsla?"hsla":"rgba":n,l=this[a](),u=l[i.idx],c;return"undefined"===r?u:("function"===r&&(o=o.call(this,u),r=e.type(o)),null==o&&i.empty?this:("string"===r&&(c=s.exec(o),c&&(o=u+parseFloat(c[2])*("+"===c[1]?1:-1))),l[i.idx]=o,this[a](l)))})})}),l.hook=function(t){var i=t.split(" ");p(i,function(t,i){e.cssHooks[i]={set:function(t,o){var r,s,a="";if("transparent"!==o&&("string"!==e.type(o)||(r=n(o)))){if(o=l(r||o),!d.rgba&&1!==o._rgba[3]){for(s="backgroundColor"===i?t.parentNode:t;(""===a||"transparent"===a)&&s&&s.style;)try{a=e.css(s,"backgroundColor"),s=s.parentNode}catch(e){}o=o.blend(a&&"transparent"!==a?a:"_default")}o=o.toRgbaString()}try{t.style[i]=o}catch(e){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(r),e.cssHooks.borderColor={expand:function(e){var t={};return p(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},f=e.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"}}(i),function(){function t(t){var i,n,o=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,r={};if(o&&o.length&&o[0]&&o[o[0]])for(n=o.length;n--;)i=o[n],"string"==typeof o[i]&&(r[e.camelCase(i)]=o[i]);else for(i in o)"string"==typeof o[i]&&(r[i]=o[i]);return r}function n(t,i){var n={},o,s;for(o in i)s=i[o],t[o]!==s&&(r[o]||!e.fx.step[o]&&isNaN(parseFloat(s))||(n[o]=s));return n}var o=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){e.fx.step[n]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(i.style(e.elem,n,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(i,r,s,a){var l=e.speed(r,s,a);return this.queue(function(){var r=e(this),s=r.attr("class")||"",a,u=l.children?r.find("*").addBack():r;u=u.map(function(){var i=e(this);return{el:i,start:t(this)}}),a=function(){e.each(o,function(e,t){i[t]&&r[t+"Class"](i[t])})},a(),u=u.map(function(){return this.end=t(this.el[0]),this.diff=n(this.start,this.end),this}),r.attr("class",s),u=u.map(function(){var t=this,i=e.Deferred(),n=e.extend({},l,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,n),i.promise()}),e.when.apply(e,u.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),l.complete.call(r[0])})})},e.fn.extend({addClass:function(t){return function(i,n,o,r){return n?e.effects.animateClass.call(this,{add:i},n,o,r):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,n,o,r){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},n,o,r):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,n,o,r,s){return"boolean"==typeof n||void 0===n?o?e.effects.animateClass.call(this,n?{add:i}:{remove:i},o,r,s):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},n,o,r)}}(e.fn.toggleClass),switchClass:function(t,i,n,o,r){return e.effects.animateClass.call(this,{add:i,remove:t},n,o,r)}})}(),function(){function i(t,i,n,o){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(o=i,n=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(o=n,n=i,i={}),e.isFunction(n)&&(o=n,n=null),i&&e.extend(t,i),n=n||i.duration,t.duration=e.fx.off?0:"number"==typeof n?n:n in e.fx.speeds?e.fx.speeds[n]:e.fx.speeds._default,t.complete=o||i.complete,t}function n(t){return!(t&&"number"!=typeof t&&!e.fx.speeds[t])||("string"==typeof t&&!e.effects.effect[t]||(!!e.isFunction(t)||"object"==typeof t&&!t.effect))}e.extend(e.effects,{version:"1.11.4",save:function(e,i){for(var n=0;n<i.length;n++)null!==i[n]&&e.data(t+i[n],e[0].style[i[n]])},restore:function(e,i){var n,o;for(o=0;o<i.length;o++)null!==i[o]&&(n=e.data(t+i[o]),void 0===n&&(n=""),e.css(i[o],n))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},n=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:t.width(),height:t.height()},r=document.activeElement;try{r.id}catch(e){r=document.body}return t.wrap(n),(t[0]===r||e.contains(t[0],r))&&e(r).focus(),n=t.parent(),"static"===t.css("position")?(n.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,n){i[n]=t.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(o),n.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).focus()),t},setTransition:function(t,i,n,o){return o=o||{},e.each(i,function(e,i){var r=t.cssUnit(i);r[0]>0&&(o[i]=r[0]*n+r[1])}),o}}),e.fn.extend({effect:function(){function t(t){function i(){e.isFunction(r)&&r.call(o[0]),e.isFunction(t)&&t()}var o=e(this),r=n.complete,a=n.mode;(o.is(":hidden")?"hide"===a:"show"===a)?(o[a](),i()):s.call(o[0],n,i)}var n=i.apply(this,arguments),o=n.mode,r=n.queue,s=e.effects.effect[n.effect];return e.fx.off||!s?o?this[o](n.duration,n.complete):this.each(function(){n.complete&&n.complete.call(this)}):r===!1?this.each(t):this.queue(r||"fx",t)},show:function(e){return function(t){if(n(t))return e.apply(this,arguments);var o=i.apply(this,arguments);return o.mode="show",this.effect.call(this,o)}}(e.fn.show),hide:function(e){return function(t){if(n(t))return e.apply(this,arguments);var o=i.apply(this,arguments);return o.mode="hide",this.effect.call(this,o)}}(e.fn.hide),toggle:function(e){return function(t){if(n(t)||"boolean"==typeof t)return e.apply(this,arguments);var o=i.apply(this,arguments);return o.mode="toggle",this.effect.call(this,o)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),n=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(n=[parseFloat(i),t])}),n}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?i(2*e)/2:1-i(e*-2+2)/2}})}(),e.effects})},35:function(e,t,i){var n,o;(function(){function i(e){function t(t,i,n,o,r,s){for(;r>=0&&r<s;r+=e){var a=o?o[r]:r;n=i(n,t[a],a,t)}return n}return function(i,n,o,r){n=_(n,r,4);var s=!E(i)&&S.keys(i),a=(s||i).length,l=e>0?0:a-1;return arguments.length<3&&(o=i[s?s[l]:l],l+=e),t(i,n,o,s,l,a)}}function r(e){return function(t,i,n){i=M(i,n);for(var o=k(t),r=e>0?0:o-1;r>=0&&r<o;r+=e)if(i(t[r],r,t))return r;return-1}}function s(e,t,i){return function(n,o,r){var s=0,a=k(n);if("number"==typeof r)e>0?s=r>=0?r:Math.max(r+a,s):a=r>=0?Math.min(r+1,a):r+a+1;else if(i&&r&&a)return r=i(n,o),n[r]===o?r:-1;if(o!==o)return r=t(p.call(n,s,a),S.isNaN),r>=0?r+s:-1;for(r=e>0?s:a-1;r>=0&&r<a;r+=e)if(n[r]===o)return r;return-1}}function a(e,t){var i=G.length,n=e.constructor,o=S.isFunction(n)&&n.prototype||d,r="constructor";for(S.has(e,r)&&!S.contains(t,r)&&t.push(r);i--;)r=G[i],r in e&&e[r]!==o[r]&&!S.contains(t,r)&&t.push(r)}var l=this,u=l._,c=Array.prototype,d=Object.prototype,h=Function.prototype,f=c.push,p=c.slice,m=d.toString,g=d.hasOwnProperty,v=Array.isArray,y=Object.keys,b=h.bind,w=Object.create,T=function(){},S=function(e){return e instanceof S?e:this instanceof S?void(this._wrapped=e):new S(e)};"undefined"!=typeof e&&e.exports&&(t=e.exports=S),t._=S,S.VERSION="1.8.3";var _=function(e,t,i){if(void 0===t)return e;switch(null==i?3:i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,o){return e.call(t,i,n,o)};case 4:return function(i,n,o,r){return e.call(t,i,n,o,r)}}return function(){return e.apply(t,arguments)}},M=function(e,t,i){return null==e?S.identity:S.isFunction(e)?_(e,t,i):S.isObject(e)?S.matcher(e):S.property(e)};S.iteratee=function(e,t){return M(e,t,1/0)};var C=function(e,t){return function(i){var n=arguments.length;if(n<2||null==i)return i;for(var o=1;o<n;o++)for(var r=arguments[o],s=e(r),a=s.length,l=0;l<a;l++){var u=s[l];t&&void 0!==i[u]||(i[u]=r[u])}return i}},P=function(e){if(!S.isObject(e))return{};if(w)return w(e);T.prototype=e;var t=new T;return T.prototype=null,t},x=function(e){return function(t){return null==t?void 0:t[e]}},A=Math.pow(2,53)-1,k=x("length"),E=function(e){var t=k(e);return"number"==typeof t&&t>=0&&t<=A};S.each=S.forEach=function(e,t,i){t=_(t,i);var n,o;if(E(e))for(n=0,o=e.length;n<o;n++)t(e[n],n,e);else{var r=S.keys(e);for(n=0,o=r.length;n<o;n++)t(e[r[n]],r[n],e)}return e},S.map=S.collect=function(e,t,i){t=M(t,i);for(var n=!E(e)&&S.keys(e),o=(n||e).length,r=Array(o),s=0;s<o;s++){var a=n?n[s]:s;r[s]=t(e[a],a,e)}return r},S.reduce=S.foldl=S.inject=i(1),S.reduceRight=S.foldr=i(-1),S.find=S.detect=function(e,t,i){var n;if(n=E(e)?S.findIndex(e,t,i):S.findKey(e,t,i),void 0!==n&&n!==-1)return e[n]},S.filter=S.select=function(e,t,i){var n=[];return t=M(t,i),S.each(e,function(e,i,o){t(e,i,o)&&n.push(e)}),n},S.reject=function(e,t,i){return S.filter(e,S.negate(M(t)),i)},S.every=S.all=function(e,t,i){t=M(t,i);for(var n=!E(e)&&S.keys(e),o=(n||e).length,r=0;r<o;r++){var s=n?n[r]:r;if(!t(e[s],s,e))return!1}return!0},S.some=S.any=function(e,t,i){t=M(t,i);for(var n=!E(e)&&S.keys(e),o=(n||e).length,r=0;r<o;r++){var s=n?n[r]:r;if(t(e[s],s,e))return!0}return!1},S.contains=S.includes=S.include=function(e,t,i,n){return E(e)||(e=S.values(e)),("number"!=typeof i||n)&&(i=0),S.indexOf(e,t,i)>=0},S.invoke=function(e,t){var i=p.call(arguments,2),n=S.isFunction(t);return S.map(e,function(e){var o=n?t:e[t];return null==o?o:o.apply(e,i)})},S.pluck=function(e,t){return S.map(e,S.property(t))},S.where=function(e,t){return S.filter(e,S.matcher(t))},S.findWhere=function(e,t){return S.find(e,S.matcher(t))},S.max=function(e,t,i){var n=-(1/0),o=-(1/0),r,s;if(null==t&&null!=e){e=E(e)?e:S.values(e);for(var a=0,l=e.length;a<l;a++)r=e[a],r>n&&(n=r)}else t=M(t,i),S.each(e,function(e,i,r){s=t(e,i,r),(s>o||s===-(1/0)&&n===-(1/0))&&(n=e,o=s)});return n},S.min=function(e,t,i){var n=1/0,o=1/0,r,s;if(null==t&&null!=e){e=E(e)?e:S.values(e);for(var a=0,l=e.length;a<l;a++)r=e[a],r<n&&(n=r)}else t=M(t,i),S.each(e,function(e,i,r){s=t(e,i,r),(s<o||s===1/0&&n===1/0)&&(n=e,o=s)});return n},S.shuffle=function(e){for(var t=E(e)?e:S.values(e),i=t.length,n=Array(i),o=0,r;o<i;o++)r=S.random(0,o),r!==o&&(n[o]=n[r]),n[r]=t[o];return n},S.sample=function(e,t,i){return null==t||i?(E(e)||(e=S.values(e)),e[S.random(e.length-1)]):S.shuffle(e).slice(0,Math.max(0,t))},S.sortBy=function(e,t,i){return t=M(t,i),S.pluck(S.map(e,function(e,i,n){return{value:e,index:i,criteria:t(e,i,n)}}).sort(function(e,t){var i=e.criteria,n=t.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(i<n||void 0===n)return-1}return e.index-t.index}),"value")};var I=function(e){return function(t,i,n){var o={};return i=M(i,n),S.each(t,function(n,r){var s=i(n,r,t);e(o,n,s)}),o}};S.groupBy=I(function(e,t,i){S.has(e,i)?e[i].push(t):e[i]=[t]}),S.indexBy=I(function(e,t,i){e[i]=t}),S.countBy=I(function(e,t,i){S.has(e,i)?e[i]++:e[i]=1}),S.toArray=function(e){return e?S.isArray(e)?p.call(e):E(e)?S.map(e,S.identity):S.values(e):[]},S.size=function(e){return null==e?0:E(e)?e.length:S.keys(e).length},S.partition=function(e,t,i){t=M(t,i);var n=[],o=[];return S.each(e,function(e,i,r){(t(e,i,r)?n:o).push(e)}),[n,o]},S.first=S.head=S.take=function(e,t,i){if(null!=e)return null==t||i?e[0]:S.initial(e,e.length-t)},S.initial=function(e,t,i){return p.call(e,0,Math.max(0,e.length-(null==t||i?1:t)))},S.last=function(e,t,i){if(null!=e)return null==t||i?e[e.length-1]:S.rest(e,Math.max(0,e.length-t))},S.rest=S.tail=S.drop=function(e,t,i){return p.call(e,null==t||i?1:t)},S.compact=function(e){return S.filter(e,S.identity)};var D=function(e,t,i,n){for(var o=[],r=0,s=n||0,a=k(e);s<a;s++){var l=e[s];if(E(l)&&(S.isArray(l)||S.isArguments(l))){t||(l=D(l,t,i));var u=0,c=l.length;for(o.length+=c;u<c;)o[r++]=l[u++]}else i||(o[r++]=l)}return o};S.flatten=function(e,t){return D(e,t,!1)},S.without=function(e){return S.difference(e,p.call(arguments,1))},S.uniq=S.unique=function(e,t,i,n){S.isBoolean(t)||(n=i,i=t,t=!1),null!=i&&(i=M(i,n));for(var o=[],r=[],s=0,a=k(e);s<a;s++){var l=e[s],u=i?i(l,s,e):l;t?(s&&r===u||o.push(l),r=u):i?S.contains(r,u)||(r.push(u),o.push(l)):S.contains(o,l)||o.push(l)}return o},S.union=function(){return S.uniq(D(arguments,!0,!0))},S.intersection=function(e){for(var t=[],i=arguments.length,n=0,o=k(e);n<o;n++){var r=e[n];if(!S.contains(t,r)){for(var s=1;s<i&&S.contains(arguments[s],r);s++);s===i&&t.push(r)}}return t},S.difference=function(e){var t=D(arguments,!0,!0,1);return S.filter(e,function(e){return!S.contains(t,e)})},S.zip=function(){return S.unzip(arguments)},S.unzip=function(e){for(var t=e&&S.max(e,k).length||0,i=Array(t),n=0;n<t;n++)i[n]=S.pluck(e,n);return i},S.object=function(e,t){for(var i={},n=0,o=k(e);n<o;n++)t?i[e[n]]=t[n]:i[e[n][0]]=e[n][1];return i},S.findIndex=r(1),S.findLastIndex=r(-1),S.sortedIndex=function(e,t,i,n){i=M(i,n,1);for(var o=i(t),r=0,s=k(e);r<s;){var a=Math.floor((r+s)/2);i(e[a])<o?r=a+1:s=a}return r},S.indexOf=s(1,S.findIndex,S.sortedIndex),S.lastIndexOf=s(-1,S.findLastIndex),S.range=function(e,t,i){null==t&&(t=e||0,e=0),i=i||1;for(var n=Math.max(Math.ceil((t-e)/i),0),o=Array(n),r=0;r<n;r++,e+=i)o[r]=e;return o};var F=function(e,t,i,n,o){if(!(n instanceof t))return e.apply(i,o);var r=P(e.prototype),s=e.apply(r,o);return S.isObject(s)?s:r};S.bind=function(e,t){if(b&&e.bind===b)return b.apply(e,p.call(arguments,1));if(!S.isFunction(e))throw new TypeError("Bind must be called on a function");var i=p.call(arguments,2),n=function(){return F(e,n,t,this,i.concat(p.call(arguments)))};return n},S.partial=function(e){var t=p.call(arguments,1),i=function(){for(var n=0,o=t.length,r=Array(o),s=0;s<o;s++)r[s]=t[s]===S?arguments[n++]:t[s];for(;n<arguments.length;)r.push(arguments[n++]);return F(e,i,this,this,r)};return i},S.bindAll=function(e){var t,i=arguments.length,n;if(i<=1)throw new Error("bindAll must be passed function names");for(t=1;t<i;t++)n=arguments[t],e[n]=S.bind(e[n],e);return e},S.memoize=function(e,t){var i=function(n){var o=i.cache,r=""+(t?t.apply(this,arguments):n);return S.has(o,r)||(o[r]=e.apply(this,arguments)),o[r]};return i.cache={},i},S.delay=function(e,t){var i=p.call(arguments,2);return setTimeout(function(){return e.apply(null,i)},t)},S.defer=S.partial(S.delay,S,1),S.throttle=function(e,t,i){var n,o,r,s=null,a=0;i||(i={});var l=function(){a=i.leading===!1?0:S.now(),s=null,r=e.apply(n,o),s||(n=o=null)};return function(){var u=S.now();a||i.leading!==!1||(a=u);var c=t-(u-a);return n=this,o=arguments,c<=0||c>t?(s&&(clearTimeout(s),s=null),a=u,r=e.apply(n,o),s||(n=o=null)):s||i.trailing===!1||(s=setTimeout(l,c)),r}},S.debounce=function(e,t,i){var n,o,r,s,a,l=function(){var u=S.now()-s;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,i||(a=e.apply(r,o),n||(r=o=null)))};return function(){r=this,o=arguments,s=S.now();var u=i&&!n;return n||(n=setTimeout(l,t)),u&&(a=e.apply(r,o),r=o=null),a}},S.wrap=function(e,t){return S.partial(t,e)},S.negate=function(e){return function(){return!e.apply(this,arguments)}},S.compose=function(){var e=arguments,t=e.length-1;return function(){for(var i=t,n=e[t].apply(this,arguments);i--;)n=e[i].call(this,n);return n}},S.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},S.before=function(e,t){var i;return function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=null),i}},S.once=S.partial(S.before,2);var H=!{toString:null}.propertyIsEnumerable("toString"),G=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];S.keys=function(e){if(!S.isObject(e))return[];if(y)return y(e);var t=[];for(var i in e)S.has(e,i)&&t.push(i);return H&&a(e,t),t},S.allKeys=function(e){if(!S.isObject(e))return[];var t=[];for(var i in e)t.push(i);return H&&a(e,t),t},S.values=function(e){for(var t=S.keys(e),i=t.length,n=Array(i),o=0;o<i;o++)n[o]=e[t[o]];return n},S.mapObject=function(e,t,i){t=M(t,i);for(var n=S.keys(e),o=n.length,r={},s,a=0;a<o;a++)s=n[a],r[s]=t(e[s],s,e);return r},S.pairs=function(e){for(var t=S.keys(e),i=t.length,n=Array(i),o=0;o<i;o++)n[o]=[t[o],e[t[o]]];return n},S.invert=function(e){for(var t={},i=S.keys(e),n=0,o=i.length;n<o;n++)t[e[i[n]]]=i[n];return t},S.functions=S.methods=function(e){var t=[];for(var i in e)S.isFunction(e[i])&&t.push(i);return t.sort()},S.extend=C(S.allKeys),S.extendOwn=S.assign=C(S.keys),S.findKey=function(e,t,i){t=M(t,i);for(var n=S.keys(e),o,r=0,s=n.length;r<s;r++)if(o=n[r],t(e[o],o,e))return o},S.pick=function(e,t,i){var n={},o=e,r,s;if(null==o)return n;S.isFunction(t)?(s=S.allKeys(o),r=_(t,i)):(s=D(arguments,!1,!1,1),r=function(e,t,i){return t in i},o=Object(o));for(var a=0,l=s.length;a<l;a++){var u=s[a],c=o[u];r(c,u,o)&&(n[u]=c)}return n},S.omit=function(e,t,i){if(S.isFunction(t))t=S.negate(t);else{var n=S.map(D(arguments,!1,!1,1),String);t=function(e,t){return!S.contains(n,t)}}return S.pick(e,t,i)},S.defaults=C(S.allKeys,!0),S.create=function(e,t){var i=P(e);return t&&S.extendOwn(i,t),i},S.clone=function(e){return S.isObject(e)?S.isArray(e)?e.slice():S.extend({},e):e},S.tap=function(e,t){return t(e),e},S.isMatch=function(e,t){var i=S.keys(t),n=i.length;if(null==e)return!n;for(var o=Object(e),r=0;r<n;r++){var s=i[r];if(t[s]!==o[s]||!(s in o))return!1}return!0};var B=function(e,t,i,n){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;e instanceof S&&(e=e._wrapped),t instanceof S&&(t=t._wrapped);var o=m.call(e);if(o!==m.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}var r="[object Array]"===o;if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(S.isFunction(s)&&s instanceof s&&S.isFunction(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}i=i||[],n=n||[];for(var l=i.length;l--;)if(i[l]===e)return n[l]===t;if(i.push(e),n.push(t),r){if(l=e.length,l!==t.length)return!1;for(;l--;)if(!B(e[l],t[l],i,n))return!1}else{var u=S.keys(e),c;if(l=u.length,S.keys(t).length!==l)return!1;for(;l--;)if(c=u[l],!S.has(t,c)||!B(e[c],t[c],i,n))return!1}return i.pop(),n.pop(),!0};S.isEqual=function(e,t){return B(e,t)},S.isEmpty=function(e){return null==e||(E(e)&&(S.isArray(e)||S.isString(e)||S.isArguments(e))?0===e.length:0===S.keys(e).length)},S.isElement=function(e){return!(!e||1!==e.nodeType)},S.isArray=v||function(e){return"[object Array]"===m.call(e)},S.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},S.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){S["is"+e]=function(t){return m.call(t)==="[object "+e+"]"}}),S.isArguments(arguments)||(S.isArguments=function(e){return S.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(S.isFunction=function(e){return"function"==typeof e||!1}),S.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},S.isNaN=function(e){return S.isNumber(e)&&e!==+e},S.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===m.call(e)},S.isNull=function(e){return null===e},S.isUndefined=function(e){return void 0===e},S.has=function(e,t){return null!=e&&g.call(e,t)},S.noConflict=function(){return l._=u,this},S.identity=function(e){return e},S.constant=function(e){return function(){return e}},S.noop=function(){},S.property=x,S.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},S.matcher=S.matches=function(e){return e=S.extendOwn({},e),function(t){return S.isMatch(t,e)}},S.times=function(e,t,i){var n=Array(Math.max(0,e));t=_(t,i,1);for(var o=0;o<e;o++)n[o]=t(o);return n},S.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},S.now=Date.now||function(){return(new Date).getTime()};var R={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},j=S.invert(R),O=function(e){var t=function(t){return e[t]},i="(?:"+S.keys(e).join("|")+")",n=RegExp(i),o=RegExp(i,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(o,t):e}};S.escape=O(R),S.unescape=O(j),S.result=function(e,t,i){var n=null==e?void 0:e[t];return void 0===n&&(n=i),S.isFunction(n)?n.call(e):n};var N=0;S.uniqueId=function(e){var t=++N+"";return e?e+t:t},S.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var L=/(.)^/,V={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g,z=function(e){return"\\"+V[e]};S.template=function(e,t,i){!t&&i&&(t=i),t=S.defaults({},t,S.templateSettings);var n=RegExp([(t.escape||L).source,(t.interpolate||L).source,(t.evaluate||L).source].join("|")+"|$","g"),o=0,r="__p+='";e.replace(n,function(t,i,n,s,a){return r+=e.slice(o,a).replace(W,z),o=a+t.length,i?r+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?r+="'+\n((__t=("+n+"))==null?'':__t)+\n'":s&&(r+="';\n"+s+"\n__p+='"),t}),r+="';\n",t.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(t.variable||"obj","_",r)}catch(e){throw e.source=r,e}var a=function(e){return s.call(this,e,S)},l=t.variable||"obj";return a.source="function("+l+"){\n"+r+"}",a},S.chain=function(e){var t=S(e);return t._chain=!0,t};var U=function(e,t){return e._chain?S(t).chain():t};S.mixin=function(e){S.each(S.functions(e),function(t){var i=S[t]=e[t];S.prototype[t]=function(){var e=[this._wrapped];return f.apply(e,arguments),U(this,i.apply(S,e))}})},S.mixin(S),S.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=c[e];S.prototype[e]=function(){var i=this._wrapped;return t.apply(i,arguments),"shift"!==e&&"splice"!==e||0!==i.length||delete i[0],U(this,i)}}),S.each(["concat","join","slice"],function(e){var t=c[e];S.prototype[e]=function(){return U(this,t.apply(this._wrapped,arguments))}}),S.prototype.value=function(){return this._wrapped},S.prototype.valueOf=S.prototype.toJSON=S.prototype.value,S.prototype.toString=function(){return""+this._wrapped},n=[],o=function(){return S}.apply(t,n),!(void 0!==o&&(e.exports=o))}).call(this)},36:function(e,t){(function(t){function i(e,t,i){switch(arguments.length){case 2:return null!=e?e:t;case 3:return null!=e?e:null!=t?t:i;default:throw new Error("Implement me")}}function n(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function o(e){ye.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function r(e,t){var i=!0;return h(function(){return i&&(o(e),i=!1),t.apply(this,arguments)},t)}function s(e,t){mt[e]||(o(t),mt[e]=!0)}function a(e,t){return function(i){return m(e.call(this,i),t)}}function l(e,t){return function(i){return this.localeData().ordinal(e.call(this,i),t)}}function u(){}function c(e,t){t!==!1&&I(e),f(this,e),this._d=new Date(+e._d)}function d(e){var t=M(e),i=t.year||0,n=t.quarter||0,o=t.month||0,r=t.week||0,s=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*a,this._days=+s+7*r,this._months=+o+3*n+12*i,this._data={},this._locale=ye.localeData(),this._bubble()}function h(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return t.hasOwnProperty("toString")&&(e.toString=t.toString),t.hasOwnProperty("valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t){var i,n,o;if("undefined"!=typeof t._isAMomentObject&&(e._isAMomentObject=t._isAMomentObject),"undefined"!=typeof t._i&&(e._i=t._i),"undefined"!=typeof t._f&&(e._f=t._f),"undefined"!=typeof t._l&&(e._l=t._l),"undefined"!=typeof t._strict&&(e._strict=t._strict),"undefined"!=typeof t._tzm&&(e._tzm=t._tzm),"undefined"!=typeof t._isUTC&&(e._isUTC=t._isUTC),"undefined"!=typeof t._offset&&(e._offset=t._offset),"undefined"!=typeof t._pf&&(e._pf=t._pf),"undefined"!=typeof t._locale&&(e._locale=t._locale),De.length>0)for(i in De)n=De[i],o=t[n],"undefined"!=typeof o&&(e[n]=o);return e}function p(e){return e<0?Math.ceil(e):Math.floor(e)}function m(e,t,i){for(var n=""+Math.abs(e),o=e>=0;n.length<t;)n="0"+n;return(o?i?"+":"":"-")+n}function g(e,t){var i={milliseconds:0,months:0};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function v(e,t){var i;return t=B(t,e),e.isBefore(t)?i=g(e,t):(i=g(t,e),i.milliseconds=-i.milliseconds,i.months=-i.months),i}function y(e,t){return function(i,n){var o,r;return null===n||isNaN(+n)||(s(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),r=i,i=n,n=r),i="string"==typeof i?+i:i,o=ye.duration(i,n),b(this,o,e),this}}function b(e,t,i,n){var o=t._milliseconds,r=t._days,s=t._months;n=null==n||n,o&&e._d.setTime(+e._d+o*i),r&&he(e,"Date",de(e,"Date")+r*i),s&&ce(e,de(e,"Month")+s*i),n&&ye.updateOffset(e,r||s)}function w(e){return"[object Array]"===Object.prototype.toString.call(e)}function T(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function S(e,t,i){var n=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0,s;for(s=0;s<n;s++)(i&&e[s]!==t[s]||!i&&P(e[s])!==P(t[s]))&&r++;return r+o}function _(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=lt[e]||ut[t]||t}return e}function M(e){var t={},i,n;for(n in e)e.hasOwnProperty(n)&&(i=_(n),i&&(t[i]=e[n]));return t}function C(e){var i,n;if(0===e.indexOf("week"))i=7,n="day";else{if(0!==e.indexOf("month"))return;i=12,n="month"}ye[e]=function(o,r){var s,a,l=ye._locale[e],u=[];if("number"==typeof o&&(r=o,o=t),a=function(e){var t=ye().utc().set(n,e);return l.call(ye._locale,t,o||"")},null!=r)return a(r);for(s=0;s<i;s++)u.push(a(s));return u}}function P(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=t>=0?Math.floor(t):Math.ceil(t)),i}function x(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function A(e,t,i){return se(ye([e,11,31+t-i]),t,i).week}function k(e){return E(e)?366:365}function E(e){return e%4===0&&e%100!==0||e%400===0}function I(e){var t;e._a&&e._pf.overflow===-2&&(t=e._a[Ce]<0||e._a[Ce]>11?Ce:e._a[Pe]<1||e._a[Pe]>x(e._a[Me],e._a[Ce])?Pe:e._a[xe]<0||e._a[xe]>23?xe:e._a[Ae]<0||e._a[Ae]>59?Ae:e._a[ke]<0||e._a[ke]>59?ke:e._a[Ee]<0||e._a[Ee]>999?Ee:-1,e._pf._overflowDayOfYear&&(t<Me||t>Pe)&&(t=Pe),e._pf.overflow=t)}function D(e){return null==e._isValid&&(e._isValid=!isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!e._pf.nullInput&&!e._pf.invalidFormat&&!e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===e._pf.charsLeftOver&&0===e._pf.unusedTokens.length)),e._isValid}function F(e){return e?e.toLowerCase().replace("_","-"):e}function H(e){for(var t=0,i,n,o,r;t<e.length;){for(r=F(e[t]).split("-"),i=r.length,n=F(e[t+1]),n=n?n.split("-"):null;i>0;){if(o=G(r.slice(0,i).join("-")))return o;if(n&&n.length>=i&&S(r,n,!0)>=i-1)break;i--}t++}return null}function G(e){var t=null;if(!Ie[e]&&Fe)try{t=ye.locale(),require("./locale/"+e),ye.locale(t)}catch(e){}return Ie[e]}function B(e,t){return t._isUTC?ye(e).zone(t._offset||0):ye(e).local()}function R(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j(e){var t=e.match(Re),i,n;for(i=0,n=t.length;i<n;i++)pt[t[i]]?t[i]=pt[t[i]]:t[i]=R(t[i]);return function(o){var r="";for(i=0;i<n;i++)r+=t[i]instanceof Function?t[i].call(o,e):t[i];return r}}function O(e,t){return e.isValid()?(t=N(t,e.localeData()),ct[t]||(ct[t]=j(t)),ct[t](e)):e.localeData().invalidDate()}function N(e,t){function i(e){return t.longDateFormat(e)||e}var n=5;for(je.lastIndex=0;n>=0&&je.test(e);)e=e.replace(je,i),je.lastIndex=0,n-=1;return e}function L(e,t){var i,n=t._strict;switch(e){case"Q":return Xe;case"DDDD":return Qe;case"YYYY":case"GGGG":case"gggg":return n?Je:Le;case"Y":case"G":case"g":return et;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return n?Ze:Ve;case"S":if(n)return Xe;case"SS":if(n)return Ke;case"SSS":if(n)return Qe;case"DDD":return Ne;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return ze;case"a":case"A":return t._locale._meridiemParse;case"X":return Ye;case"Z":case"ZZ":return Ue;case"T":return qe;case"SSSS":return We;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return n?Ke:Oe;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Oe;case"Do":return $e;default:return i=new RegExp(K(X(e.replace("\\","")),"i"))}}function V(e){e=e||"";var t=e.match(Ue)||[],i=t[t.length-1]||[],n=(i+"").match(rt)||["-",0,0],o=+(60*n[1])+P(n[2]);return"+"===n[0]?-o:o}function W(e,t,i){var n,o=i._a;switch(e){case"Q":null!=t&&(o[Ce]=3*(P(t)-1));
break;case"M":case"MM":null!=t&&(o[Ce]=P(t)-1);break;case"MMM":case"MMMM":n=i._locale.monthsParse(t),null!=n?o[Ce]=n:i._pf.invalidMonth=t;break;case"D":case"DD":null!=t&&(o[Pe]=P(t));break;case"Do":null!=t&&(o[Pe]=P(parseInt(t,10)));break;case"DDD":case"DDDD":null!=t&&(i._dayOfYear=P(t));break;case"YY":o[Me]=ye.parseTwoDigitYear(t);break;case"YYYY":case"YYYYY":case"YYYYYY":o[Me]=P(t);break;case"a":case"A":i._isPm=i._locale.isPM(t);break;case"H":case"HH":case"h":case"hh":o[xe]=P(t);break;case"m":case"mm":o[Ae]=P(t);break;case"s":case"ss":o[ke]=P(t);break;case"S":case"SS":case"SSS":case"SSSS":o[Ee]=P(1e3*("0."+t));break;case"X":i._d=new Date(1e3*parseFloat(t));break;case"Z":case"ZZ":i._useUTC=!0,i._tzm=V(t);break;case"dd":case"ddd":case"dddd":n=i._locale.weekdaysParse(t),null!=n?(i._w=i._w||{},i._w.d=n):i._pf.invalidWeekday=t;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":e=e.substr(0,1);case"gggg":case"GGGG":case"GGGGG":e=e.substr(0,2),t&&(i._w=i._w||{},i._w[e]=P(t));break;case"gg":case"GG":i._w=i._w||{},i._w[e]=ye.parseTwoDigitYear(t)}}function z(e){var t,n,o,r,s,a,l;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,a=4,n=i(t.GG,e._a[Me],se(ye(),1,4).year),o=i(t.W,1),r=i(t.E,1)):(s=e._locale._week.dow,a=e._locale._week.doy,n=i(t.gg,e._a[Me],se(ye(),s,a).year),o=i(t.w,1),null!=t.d?(r=t.d,r<s&&++o):r=null!=t.e?t.e+s:s),l=ae(n,o,r,a,s),e._a[Me]=l.year,e._dayOfYear=l.dayOfYear}function U(e){var t,n,o=[],r,s;if(!e._d){for(r=Y(e),e._w&&null==e._a[Pe]&&null==e._a[Ce]&&z(e),e._dayOfYear&&(s=i(e._a[Me],r[Me]),e._dayOfYear>k(s)&&(e._pf._overflowDayOfYear=!0),n=ie(s,0,e._dayOfYear),e._a[Ce]=n.getUTCMonth(),e._a[Pe]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];e._d=(e._useUTC?ie:te).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()+e._tzm)}}function q(e){var t;e._d||(t=M(e._i),e._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],U(e))}function Y(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function $(e){if(e._f===ye.ISO_8601)return void J(e);e._a=[],e._pf.empty=!0;var t=""+e._i,i,n,o,r,s,a=t.length,l=0;for(o=N(e._f,e._locale).match(Re)||[],i=0;i<o.length;i++)r=o[i],n=(t.match(L(r,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&e._pf.unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),l+=n.length),pt[r]?(n?e._pf.empty=!1:e._pf.unusedTokens.push(r),W(r,n,e)):e._strict&&!n&&e._pf.unusedTokens.push(r);e._pf.charsLeftOver=a-l,t.length>0&&e._pf.unusedInput.push(t),e._isPm&&e._a[xe]<12&&(e._a[xe]+=12),e._isPm===!1&&12===e._a[xe]&&(e._a[xe]=0),U(e),I(e)}function X(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,o){return t||i||n||o})}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(e){var t,i,o,r,s;if(0===e._f.length)return e._pf.invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)s=0,t=f({},e),t._pf=n(),t._f=e._f[r],$(t),D(t)&&(s+=t._pf.charsLeftOver,s+=10*t._pf.unusedTokens.length,t._pf.score=s,(null==o||s<o)&&(o=s,i=t));h(e,i||t)}function J(e){var t,i,n=e._i,o=tt.exec(n);if(o){for(e._pf.iso=!0,t=0,i=nt.length;t<i;t++)if(nt[t][1].exec(n)){e._f=nt[t][0]+(o[6]||" ");break}for(t=0,i=ot.length;t<i;t++)if(ot[t][1].exec(n)){e._f+=ot[t][0];break}n.match(Ue)&&(e._f+="Z"),$(e)}else e._isValid=!1}function Z(e){J(e),e._isValid===!1&&(delete e._isValid,ye.createFromInputFallback(e))}function ee(e){var i=e._i,n;i===t?e._d=new Date:T(i)?e._d=new Date(+i):null!==(n=He.exec(i))?e._d=new Date(+n[1]):"string"==typeof i?Z(e):w(i)?(e._a=i.slice(0),U(e)):"object"==typeof i?q(e):"number"==typeof i?e._d=new Date(i):ye.createFromInputFallback(e)}function te(e,t,i,n,o,r,s){var a=new Date(e,t,i,n,o,r,s);return e<1970&&a.setFullYear(e),a}function ie(e){var t=new Date(Date.UTC.apply(null,arguments));return e<1970&&t.setUTCFullYear(e),t}function ne(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof e)return null}else e=parseInt(e,10);return e}function oe(e,t,i,n,o){return o.relativeTime(t||1,!!i,e,n)}function re(e,t,i){var n=ye.duration(e).abs(),o=Se(n.as("s")),r=Se(n.as("m")),s=Se(n.as("h")),a=Se(n.as("d")),l=Se(n.as("M")),u=Se(n.as("y")),c=o<dt.s&&["s",o]||1===r&&["m"]||r<dt.m&&["mm",r]||1===s&&["h"]||s<dt.h&&["hh",s]||1===a&&["d"]||a<dt.d&&["dd",a]||1===l&&["M"]||l<dt.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=i,oe.apply({},c)}function se(e,t,i){var n=i-t,o=i-e.day(),r;return o>n&&(o-=7),o<n-7&&(o+=7),r=ye(e).add(o,"d"),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function ae(e,t,i,n,o){var r=ie(e,0,1).getUTCDay(),s,a;return r=0===r?7:r,i=null!=i?i:o,s=o-r+(r>n?7:0)-(r<o?7:0),a=7*(t-1)+(i-o)+s+1,{year:a>0?e:e-1,dayOfYear:a>0?a:k(e-1)+a}}function le(e){var i=e._i,n=e._f;return e._locale=e._locale||ye.localeData(e._l),null===i||n===t&&""===i?ye.invalid({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),ye.isMoment(i)?new c(i,!0):(n?w(n)?Q(e):$(e):ee(e),new c(e)))}function ue(e,t){var i,n;if(1===t.length&&w(t[0])&&(t=t[0]),!t.length)return ye();for(i=t[0],n=1;n<t.length;++n)t[n][e](i)&&(i=t[n]);return i}function ce(e,t){var i;return"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(i=Math.min(e.date(),x(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e)}function de(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function he(e,t,i){return"Month"===t?ce(e,i):e._d["set"+(e._isUTC?"UTC":"")+t](i)}function fe(e,t){return function(i){return null!=i?(he(this,e,i),ye.updateOffset(this,t),this):de(this,e)}}function pe(e){return 400*e/146097}function me(e){return 146097*e/400}function ge(e){ye.duration.fn[e]=function(){return this._data[e]}}function ve(e){"undefined"==typeof ender&&(Te=we.moment,e?we.moment=r("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",ye):we.moment=ye)}for(var ye,be="2.8.1",we="undefined"!=typeof global?global:this,Te,Se=Math.round,_e,Me=0,Ce=1,Pe=2,xe=3,Ae=4,ke=5,Ee=6,Ie={},De=[],Fe="undefined"!=typeof e&&e.exports,He=/^\/?Date\((\-?\d+)/i,Ge=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Be=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Re=/(\[[^\[]*\])|(\\)?(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,4}|X|zz?|ZZ?|.)/g,je=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Oe=/\d\d?/,Ne=/\d{1,3}/,Le=/\d{1,4}/,Ve=/[+\-]?\d{1,6}/,We=/\d+/,ze=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ue=/Z|[\+\-]\d\d:?\d\d/gi,qe=/T/i,Ye=/[\+\-]?\d+(\.\d{1,3})?/,$e=/\d{1,2}/,Xe=/\d/,Ke=/\d\d/,Qe=/\d{3}/,Je=/\d{4}/,Ze=/[+-]?\d{6}/,et=/[+-]?\d+/,tt=/^\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)?)?$/,it="YYYY-MM-DDTHH:mm:ssZ",nt=[["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}/]],ot=[["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/]],rt=/([\+\-]|\d\d)/gi,st="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),at={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},lt={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},ut={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},ct={},dt={s:45,m:45,h:22,d:26,M:11},ht="DDD w W M D d".split(" "),ft="M D H h m s w W".split(" "),pt={M:function(){return this.month()+1},MMM:function(e){return this.localeData().monthsShort(this,e)},MMMM:function(e){return this.localeData().months(this,e)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(e){return this.localeData().weekdaysMin(this,e)},ddd:function(e){return this.localeData().weekdaysShort(this,e)},dddd:function(e){return this.localeData().weekdays(this,e)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return m(this.year()%100,2)},YYYY:function(){return m(this.year(),4)},YYYYY:function(){return m(this.year(),5)},YYYYYY:function(){var e=this.year(),t=e>=0?"+":"-";return t+m(Math.abs(e),6)},gg:function(){return m(this.weekYear()%100,2)},gggg:function(){return m(this.weekYear(),4)},ggggg:function(){return m(this.weekYear(),5)},GG:function(){return m(this.isoWeekYear()%100,2)},GGGG:function(){return m(this.isoWeekYear(),4)},GGGGG:function(){return m(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return P(this.milliseconds()/100)},SS:function(){return m(P(this.milliseconds()/10),2)},SSS:function(){return m(this.milliseconds(),3)},SSSS:function(){return m(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return e<0&&(e=-e,t="-"),t+m(P(e/60),2)+":"+m(P(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return e<0&&(e=-e,t="-"),t+m(P(e/60),2)+m(P(e)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},mt={},gt=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];ht.length;)_e=ht.pop(),pt[_e+"o"]=l(pt[_e],_e);for(;ft.length;)_e=ft.pop(),pt[_e+_e]=a(pt[_e],2);pt.DDDD=a(pt.DDD,3),h(u.prototype,{set:function(e){var t,i;for(i in e)t=e[i],"function"==typeof t?this[i]=t:this["_"+i]=t},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(e){return this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(e){return this._monthsShort[e.month()]},monthsParse:function(e){var t,i,n;for(this._monthsParse||(this._monthsParse=[]),t=0;t<12;t++)if(this._monthsParse[t]||(i=ye.utc([2e3,t]),n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[t]=new RegExp(n.replace(".",""),"i")),this._monthsParse[t].test(e))return t},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(e){return this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(e){return this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var t,i,n;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;t<7;t++)if(this._weekdaysParse[t]||(i=ye([2e3,1]).day(t),n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[t]=new RegExp(n.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e){return"p"===(e+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(e,t){var i=this._calendar[e];return"function"==typeof i?i.apply(t):i},_relativeTime:{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"},relativeTime:function(e,t,i,n){var o=this._relativeTime[i];return"function"==typeof o?o(e,t,i,n):o.replace(/%d/i,e)},pastFuture:function(e,t){var i=this._relativeTime[e>0?"future":"past"];return"function"==typeof i?i(t):i.replace(/%s/i,t)},ordinal:function(e){return this._ordinal.replace("%d",e)},_ordinal:"%d",preparse:function(e){return e},postformat:function(e){return e},week:function(e){return se(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),ye=function(e,i,o,r){var s;return"boolean"==typeof o&&(r=o,o=t),s={},s._isAMomentObject=!0,s._i=e,s._f=i,s._l=o,s._strict=r,s._isUTC=!1,s._pf=n(),le(s)},ye.suppressDeprecationWarnings=!1,ye.createFromInputFallback=r("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(e){e._d=new Date(e._i)}),ye.min=function(){var e=[].slice.call(arguments,0);return ue("isBefore",e)},ye.max=function(){var e=[].slice.call(arguments,0);return ue("isAfter",e)},ye.utc=function(e,i,o,r){var s;return"boolean"==typeof o&&(r=o,o=t),s={},s._isAMomentObject=!0,s._useUTC=!0,s._isUTC=!0,s._l=o,s._i=e,s._f=i,s._strict=r,s._pf=n(),le(s).utc()},ye.unix=function(e){return ye(1e3*e)},ye.duration=function(e,t){var i=e,n=null,o,r,s,a;return ye.isDuration(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(i={},t?i[t]=e:i.milliseconds=e):(n=Ge.exec(e))?(o="-"===n[1]?-1:1,i={y:0,d:P(n[Pe])*o,h:P(n[xe])*o,m:P(n[Ae])*o,s:P(n[ke])*o,ms:P(n[Ee])*o}):(n=Be.exec(e))?(o="-"===n[1]?-1:1,s=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*o},i={y:s(n[2]),M:s(n[3]),d:s(n[4]),h:s(n[5]),m:s(n[6]),s:s(n[7]),w:s(n[8])}):"object"==typeof i&&("from"in i||"to"in i)&&(a=v(ye(i.from),ye(i.to)),i={},i.ms=a.milliseconds,i.M=a.months),r=new d(i),ye.isDuration(e)&&e.hasOwnProperty("_locale")&&(r._locale=e._locale),r},ye.version=be,ye.defaultFormat=it,ye.ISO_8601=function(){},ye.momentProperties=De,ye.updateOffset=function(){},ye.relativeTimeThreshold=function(e,i){return dt[e]!==t&&(i===t?dt[e]:(dt[e]=i,!0))},ye.lang=r("moment.lang is deprecated. Use moment.locale instead.",function(e,t){return ye.locale(e,t)}),ye.locale=function(e,t){var i;return e&&(i="undefined"!=typeof t?ye.defineLocale(e,t):ye.localeData(e),i&&(ye.duration._locale=ye._locale=i)),ye._locale._abbr},ye.defineLocale=function(e,t){return null!==t?(t.abbr=e,Ie[e]||(Ie[e]=new u),Ie[e].set(t),ye.locale(e),Ie[e]):(delete Ie[e],null)},ye.langData=r("moment.langData is deprecated. Use moment.localeData instead.",function(e){return ye.localeData(e)}),ye.localeData=function(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ye._locale;if(!w(e)){if(t=G(e))return t;e=[e]}return H(e)},ye.isMoment=function(e){return e instanceof c||null!=e&&e.hasOwnProperty("_isAMomentObject")},ye.isDuration=function(e){return e instanceof d};for(_e=gt.length-1;_e>=0;--_e)C(gt[_e]);ye.normalizeUnits=function(e){return _(e)},ye.invalid=function(e){var t=ye.utc(NaN);return null!=e?h(t._pf,e):t._pf.userInvalidated=!0,t},ye.parseZone=function(){return ye.apply(null,arguments).parseZone()},ye.parseTwoDigitYear=function(e){return P(e)+(P(e)>68?1900:2e3)},h(ye.fn=c.prototype,{clone:function(){return ye(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var e=ye(this).utc();return 0<e.year()&&e.year()<=9999?O(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):O(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds()]},isValid:function(){return D(this)},isDSTShifted:function(){return!!this._a&&(this.isValid()&&S(this._a,(this._isUTC?ye.utc(this._a):ye(this._a)).toArray())>0)},parsingFlags:function(){return h({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(e){return this.zone(0,e)},local:function(e){return this._isUTC&&(this.zone(0,e),this._isUTC=!1,e&&this.add(this._d.getTimezoneOffset(),"m")),this},format:function(e){var t=O(this,e||ye.defaultFormat);return this.localeData().postformat(t)},add:y(1,"add"),subtract:y(-1,"subtract"),diff:function(e,t,i){var n=B(e,this),o=6e4*(this.zone()-n.zone()),r,s;return t=_(t),"year"===t||"month"===t?(r=432e5*(this.daysInMonth()+n.daysInMonth()),s=12*(this.year()-n.year())+(this.month()-n.month()),s+=(this-ye(this).startOf("month")-(n-ye(n).startOf("month")))/r,s-=6e4*(this.zone()-ye(this).startOf("month").zone()-(n.zone()-ye(n).startOf("month").zone()))/r,"year"===t&&(s/=12)):(r=this-n,s="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-o)/864e5:"week"===t?(r-o)/6048e5:r),i?s:p(s)},from:function(e,t){return ye.duration({to:this,from:e}).locale(this.locale()).humanize(!t)},fromNow:function(e){return this.from(ye(),e)},calendar:function(e){var t=e||ye(),i=B(t,this).startOf("day"),n=this.diff(i,"days",!0),o=n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(o,this))},isLeapYear:function(){return E(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ne(e,this.localeData()),this.add(e-t,"d")):t},month:fe("Month",!0),startOf:function(e){switch(e=_(e)){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"===e?this.weekday(0):"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(e){return e=_(e),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")},isAfter:function(e,t){return t="undefined"!=typeof t?t:"millisecond",+this.clone().startOf(t)>+ye(e).startOf(t)},isBefore:function(e,t){return t="undefined"!=typeof t?t:"millisecond",+this.clone().startOf(t)<+ye(e).startOf(t)},isSame:function(e,t){return t=t||"ms",+this.clone().startOf(t)===+B(e,this).startOf(t)},min:r("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(e){return e=ye.apply(null,arguments),e<this?this:e}),max:r("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(e){return e=ye.apply(null,arguments),e>this?this:e}),zone:function(e,t){var i=this._offset||0,n;return null==e?this._isUTC?i:this._d.getTimezoneOffset():("string"==typeof e&&(e=V(e)),Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(n=this._d.getTimezoneOffset()),this._offset=e,this._isUTC=!0,null!=n&&this.subtract(n,"m"),i!==e&&(!t||this._changeInProgress?b(this,ye.duration(i-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ye.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(e){return e=e?ye(e).zone():0,(this.zone()-e)%60===0},daysInMonth:function(){return x(this.year(),this.month())},dayOfYear:function(e){var t=Se((ye(this).startOf("day")-ye(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},quarter:function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},weekYear:function(e){var t=se(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")},isoWeekYear:function(e){var t=se(this,1,4).year;return null==e?t:this.add(e-t,"y")},week:function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},isoWeek:function(e){var t=se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},weekday:function(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},isoWeekday:function(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},isoWeeksInYear:function(){return A(this.year(),1,4)},weeksInYear:function(){var e=this.localeData()._week;return A(this.year(),e.dow,e.doy)},get:function(e){return e=_(e),this[e]()},set:function(e,t){return e=_(e),"function"==typeof this[e]&&this[e](t),this},locale:function(e){return e===t?this._locale._abbr:(this._locale=ye.localeData(e),this)},lang:r("moment().lang() is deprecated. Use moment().localeData() instead.",function(e){return e===t?this.localeData():(this._locale=ye.localeData(e),this)}),localeData:function(){return this._locale}}),ye.fn.millisecond=ye.fn.milliseconds=fe("Milliseconds",!1),ye.fn.second=ye.fn.seconds=fe("Seconds",!1),ye.fn.minute=ye.fn.minutes=fe("Minutes",!1),ye.fn.hour=ye.fn.hours=fe("Hours",!0),ye.fn.date=fe("Date",!0),ye.fn.dates=r("dates accessor is deprecated. Use date instead.",fe("Date",!0)),ye.fn.year=fe("FullYear",!0),ye.fn.years=r("years accessor is deprecated. Use year instead.",fe("FullYear",!0)),ye.fn.days=ye.fn.day,ye.fn.months=ye.fn.month,ye.fn.weeks=ye.fn.week,ye.fn.isoWeeks=ye.fn.isoWeek,ye.fn.quarters=ye.fn.quarter,ye.fn.toJSON=ye.fn.toISOString,h(ye.duration.fn=d.prototype,{_bubble:function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data,o,r,s,a=0;n.milliseconds=e%1e3,o=p(e/1e3),n.seconds=o%60,r=p(o/60),n.minutes=r%60,s=p(r/60),n.hours=s%24,t+=p(s/24),a=p(pe(t)),t-=p(me(a)),i+=p(t/30),t%=30,a+=p(i/12),i%=12,n.days=t,n.months=i,n.years=a},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return p(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*P(this._months/12)},humanize:function(e){var t=re(this,!e,this.localeData());return e&&(t=this.localeData().pastFuture(+this,t)),this.localeData().postformat(t)},add:function(e,t){var i=ye.duration(e,t);return this._milliseconds+=i._milliseconds,this._days+=i._days,this._months+=i._months,this._bubble(),this},subtract:function(e,t){var i=ye.duration(e,t);return this._milliseconds-=i._milliseconds,this._days-=i._days,this._months-=i._months,this._bubble(),this},get:function(e){return e=_(e),this[e.toLowerCase()+"s"]()},as:function(e){var t,i;if(e=_(e),t=this._days+this._milliseconds/864e5,"month"===e||"year"===e)return i=this._months+12*pe(t),"month"===e?i:i/12;switch(t+=me(this._months/12),e){case"week":return t/7;case"day":return t;case"hour":return 24*t;case"minute":return 24*t*60;case"second":return 24*t*60*60;case"millisecond":return 24*t*60*60*1e3;default:throw new Error("Unknown unit "+e)}},lang:ye.fn.lang,locale:ye.fn.locale,toIsoString:r("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var e=Math.abs(this.years()),t=Math.abs(this.months()),i=Math.abs(this.days()),n=Math.abs(this.hours()),o=Math.abs(this.minutes()),r=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(i?i+"D":"")+(n||o||r?"T":"")+(n?n+"H":"")+(o?o+"M":"")+(r?r+"S":""):"P0D"},localeData:function(){return this._locale}});for(_e in at)at.hasOwnProperty(_e)&&ge(_e.toLowerCase());ye.duration.fn.asMilliseconds=function(){return this.as("ms")},ye.duration.fn.asSeconds=function(){return this.as("s")},ye.duration.fn.asMinutes=function(){return this.as("m")},ye.duration.fn.asHours=function(){return this.as("h")},ye.duration.fn.asDays=function(){return this.as("d")},ye.duration.fn.asWeeks=function(){return this.as("weeks")},ye.duration.fn.asMonths=function(){return this.as("M")},ye.duration.fn.asYears=function(){return this.as("y")},ye.locale("en",{ordinal:function(e){var t=e%10,i=1===P(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+i}}),Fe?e.exports=ye:"function"==typeof define&&define.amd?(define("moment",function(e,t,i){return i.config&&i.config()&&i.config().noGlobal===!0&&(we.moment=Te),ye}),ve(!0)):ve()}).call(this)},42:function(e,t,i){window.jsonrpc={},jsonrpc.CallStack=function(e,t,i,n){this._counter=0,this._enterFn=e,this._exitFn=i,this._enterScope=t,this._exitScope=n},jsonrpc.CallStack.prototype={enter:function(){this._counter=this._counter<0?1:this._counter+1,1===this._counter&&this._enterFn.apply(this._enterScope,arguments)},exit:function(e){this._counter-=1,0===this._counter&&this._exitFn.apply(this._exitScope,arguments)}},jsonrpc.DelayedTask=function(e,t,i){this._fn=e||function(){},this._scope=t||void 0,this._args=i||[],this._id=null},jsonrpc.Observable=function(){this._listeners=[]},jsonrpc.Observable.prototype={bind:function(e,t){var i={fn:e,scope:t||this};return this._listeners.push(i),i},unbind:function(e){var t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)},trigger:function(){var e;for(e=0;e<this._listeners.length;e+=1)this._listeners[e].fn.apply(this._listeners[e].scope,arguments)}},jsonrpc.DelayedTask.prototype={delay:function(e,t,i,n){var o=this;this._fn=t||this._fn,this._scope=i||this._scope,this._args=n||this._args,this.cancel(),this._id=window.setInterval(function(){window.clearInterval(o._id),o._id=null,o._fn.apply(o._scope,o._args)},e)},cancel:function(){this._id&&(window.clearInterval(this._id),this._id=null)}},jsonrpc.JsonRpc=function(e){var t=e.split("/");this._url=e,this._end=t[t.length-2],this.loading=new jsonrpc.Observable,this.loaded=new jsonrpc.Observable,this.unhandledFailure=new jsonrpc.Observable,this._loadingState=new jsonrpc.CallStack(this.loading.trigger,this.loading,this.loaded.trigger,this.loaded),this._requests=[],this._batchingMilliseconds=10,this._delayedTask=new jsonrpc.DelayedTask},jsonrpc.JsonRpc.prototype={setBatchingMilliseconds:function(e){this._batchingMilliseconds=e},call:function(){var e=this._getParams.apply(this,arguments);this._loadingState.enter(),e.standalone?this._sendRequests([e]):(this._requests.push(e),this._batchingMilliseconds?this._delayedTask.delay(this._batchingMilliseconds,this._sendRequests,this):this._sendRequests())},_sendRequests:function(e){function t(t,n,o){var s;if(t)s=i._isArray(n)?n:[n];else for(s=[],r=0;r<e.length;r+=1)s[r]={id:r,error:{message:n}};i._handleResponses(e,s,o)}var i=this,n=[],o=[],r,s=[],a=[],l=!0,u;for("undefined"==typeof e&&(e=i._requests,i._requests=[]),r=0;r<e.length;r+=1)e[r].request.id=r,e[r].secure?(a.push(e[r].request.method),o.push(e[r].request)):(s.push(e[r].request.method),n.push(e[r].request));n.length>0&&(1===n.length&&(n=n[0]),u=i._url+(l?"?"+this._end+"["+s.join()+"]":""),i._doJsonPost(u,n,t)),o.length>0&&(1===o.length&&(o=o[0]),u=i._url+(l?"?"+this._end+"["+a.join()+"]":""),i._doJsonpGet(u,o,t))},_handleResponses:function(e,t,i){var n,o,r;for(n=0;n<t.length;n+=1)o=t[n],r=e[o.id],this._handleResponse(r,o,i)},_handleResponse:function(e,t,i){var n=!t.error,o=n?t.result:t.error.message;this._loadingState.exit(),n?e.success.call(e.scope,o,i):e.failure.call(e.scope,o,i),e.callback.call(e.scope,n,o,i)},_getParams:function(){var e=this,t=Array.prototype.slice.call(arguments),i={request:{jsonrpc:"2.0",method:t.shift()}};for(i.request.params=[];t.length>1&&!this._isFunction(t[0]);)i.request.params.push(t.shift());return this._isFunction(t[0])?(i.success=t[0],i.scope=t[1]):(i.success=t[0].success,i.failure=t[0].failure,i.callback=t[0].callback,i.scope=t[0].scope,i.secure=!!t[0].secure,i.standalone=!!t[0].standalone),i.success=i.success||function(){},i.failure=i.failure||function(){e.unhandledFailure.trigger.apply(e.unhandledFailure,arguments)},i.callback=i.callback||function(){},i},_isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},_isFunction:function(e){return"[object Function]"===Object.prototype.toString.apply(e)},_beforeSend:function(e){},_doJsonPost:function(e,t,n){var o=Weebly.jQuery||i(1),r=o.ajax({type:"POST",url:e,cache:!1,contentType:"application/json; charset=UTF-8",dataType:"json",beforeSend:this._beforeSend,data:JSON.stringify(t),headers:{"x-wtok":Weebly.RequestToken}}).done(function(e){var t=r.getResponseHeader("Content-Type");200!==r.status?n(!1,'Expected HTTP response "200 OK", found "'+r.status+" "+r.statusText+'"',r):0!==t.indexOf("application/json")?n(!1,'Expected JSON encoded response, found "'+t+'"',r):n(!0,e,r)}).fail(function(){n(!1,"HTTP request failed",r)})},_doJsonpGet:function(e,t,n){e="https://"+_W.securePrefix+e;var o=Weebly.jQuery||i(1),r=o.ajax({type:"GET",url:e,cache:!1,jsonpCallback:"WJsonp",dataType:"jsonp",beforeSend:this._beforeSend,data:t,headers:{"x-wtok":Weebly.RequestToken}}).done(function(e){n(!0,e,r)}).fail(function(){n(!1,"HTTP request failed",r)})}},e.exports=jsonrpc},44:function(e,t,i){var n,o;n=[i(1),i(3),i(2),i(5),i(42)],o=function(e,t,i,n,o){var r=n.sync;t.extend(n,{sync:function(e,i,o){var s;if(!i.rpc)return r.apply(n,arguments);switch(e){case"delete":e="destroy";case"create":case"update":case"patch":s=o.attrs||i.toJSON(o);break;case"read":if(i.rpc&&"read"==e){o=t.extend({},t.omit(o,"data"),o.data),s=t.extend({filter:[]},o);var a=i.keydefs||i.model.prototype.keydefs;t.each(a.PRIMARY,function(e){void 0==i.get(e)||t.findWhere(s.filter,{property:e})||s.filter.push({property:e,value:i.get(e)})})}break;default:console.warn(e+" params not defined for this model ",i),s=o.attrs||i.toJSON()}if(i.rpc[e]){var l=i.rpc[e](s);return l.done(function(e){return e.success===!1?o.error(e):o.success(e)}),l.fail(function(e){return o.error(e)}),l}console.warn(e+" not defined for this model ",i)}}),i.ns=function(e,t){var t=t||window,i=e.split(".");return i.forEach(function(e){"string"!=typeof e?t=e:(t[e]||(t[e]={}),t=t[e])}),t},i.setup_rpc=function(n){var r=i.ns(n.namespace),s=new o.JsonRpc(n.url),a=function(i,n,o,r,a){return function(){var r=e.Deferred(),l=t.toArray(arguments);return l.length<n?void console.error("Wrong number of args for "+i):(o=!!o,l.unshift(i),l.push({success:r.resolve,failure:r.reject,scope:r,secure:o,standalone:a}),s.call.apply(s,l),r)}};t.each(n.actions,function(e,n){var o=i.ns(n,r);t.each(e,function(e){o[e.name]=a(n+"::"+e.name,e.len,e.secure,e.multiple,e.standalone)})})},i.setup_model_rpc=function(e){var n=i.ns(e.rpc_namespace),o=i.ns(e.model_namespace),r=i.ns(e.collection_namespace),s=i.ns(e.bootstrap_namespace);t.extend(o,e.models),t.extend(r,e.collections),t.extend(s,e.bootstrap),t.each(r,function(e,t){n[t]&&(r[t].rpc=n[t])}),t.each(o,function(e,i){if(n[i]){o[i].rpc=n[i];var s=o[i].relations;t.each(s,function(e){r[e.relatedModel]&&(e.collectionType=e.relatedModel+"Collection")})}})}}.apply(t,n),!(void 0!==o&&(e.exports=o))},51:function(e,t,i){var n,o,r;!function(s,a){o=[t,i(5),i(3)],n=a,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r))}(this,function(e,t,i){"use strict";t.Relational={showWarnings:!0},t.Semaphore={_class:"Backbone.Semaphore",_permitsAvailable:null,_permitsUsed:0,acquire:function(){if(this._permitsAvailable&&this._permitsUsed>=this._permitsAvailable)throw new Error("Max permits acquired");
this._permitsUsed++},release:function(){if(0===this._permitsUsed)throw new Error("All permits released");this._permitsUsed--},isLocked:function(){return this._permitsUsed>0},setAvailablePermits:function(e){if(this._permitsUsed>e)throw new Error("Available permits cannot be less than used permits");this._permitsAvailable=e}},t.BlockingQueue=function(){this._queue=[]},i.extend(t.BlockingQueue.prototype,t.Semaphore,{_class:"Backbone.BlockingQueue",_queue:null,add:function(e){this.isBlocked()?this._queue.push(e):e()},process:function(){var e=this._queue;for(this._queue=[];e&&e.length;)e.shift()()},block:function(){this.acquire()},unblock:function(){this.release(),this.isBlocked()||this.process()},isBlocked:function(){return this.isLocked()}}),t.Relational.eventQueue=new t.BlockingQueue,t.Store=function(){this._collections=[],this._reverseRelations=[],this._orphanRelations=[],this._subModels=[],this._modelScopes=[e]},i.extend(t.Store.prototype,t.Events,{_class:"Backbone.Store",initializeRelation:function(e,n,o){var r=i.isString(n.type)?t[n.type]||this.getObjectByName(n.type):n.type;r&&r.prototype instanceof t.Relation?new r(e,n,o):t.Relational.showWarnings&&"undefined"!=typeof console&&console.warn("Relation=%o; missing or invalid relation type!",n)},addModelScope:function(e){this._modelScopes.push(e)},removeModelScope:function(e){this._modelScopes=i.without(this._modelScopes,e)},addSubModels:function(e,t){this._subModels.push({superModelType:t,subModels:e})},setupSuperModel:function(e){i.find(this._subModels,function(t){return i.each(t.subModels||[],function(i,n){var o=this.getObjectByName(i);if(e===o)return t.superModelType._subModels[n]=e,e._superModel=t.superModelType,e._subModelTypeValue=n,e._subModelTypeAttribute=t.superModelType.prototype.subModelTypeAttribute,!0},this)},this)},addReverseRelation:function(e){var t=i.any(this._reverseRelations,function(t){return i.all(e||[],function(e,i){return e===t[i]})});!t&&e.model&&e.type&&(this._reverseRelations.push(e),this._addRelation(e.model,e),this.retroFitRelation(e))},addOrphanRelation:function(e){var t=i.any(this._orphanRelations,function(t){return i.all(e||[],function(e,i){return e===t[i]})});!t&&e.model&&e.type&&this._orphanRelations.push(e)},processOrphanRelations:function(){i.each(this._orphanRelations.slice(0),function(e){var n=t.Relational.store.getObjectByName(e.relatedModel);n&&(this.initializeRelation(null,e),this._orphanRelations=i.without(this._orphanRelations,e))},this)},_addRelation:function(e,t){e.prototype.relations||(e.prototype.relations=[]),e.prototype.relations.push(t),i.each(e._subModels||[],function(e){this._addRelation(e,t)},this)},retroFitRelation:function(e){var t=this.getCollection(e.model,!1);t&&t.each(function(t){t instanceof e.model&&new e.type(t,e)},this)},getCollection:function(e,n){e instanceof t.RelationalModel&&(e=e.constructor);for(var o=e;o._superModel;)o=o._superModel;var r=i.find(this._collections,function(e){return e.model===o});return r||n===!1||(r=this._createCollection(o)),r},getObjectByName:function(e){var t=e.split("."),n=null;return i.find(this._modelScopes,function(e){if(n=i.reduce(t||[],function(e,t){return e?e[t]:void 0},e),n&&n!==e)return!0},this),n},_createCollection:function(e){var i;return e instanceof t.RelationalModel&&(e=e.constructor),e.prototype instanceof t.RelationalModel&&(i=new t.Collection,i.model=e,this._collections.push(i)),i},resolveIdForItem:function(e,n){var o=i.isString(n)||i.isNumber(n)?n:null;return null===o&&(n instanceof t.RelationalModel?o=n.id:i.isObject(n)&&(o=e.prototype._getNewId(n))),o||0===o||(o=null),o},find:function(e,t){var i=this.resolveIdForItem(e,t),n=this.getCollection(e);if(n){var o=n.get(i);if(o instanceof e)return o}return null},register:function(e){var t=this.getCollection(e);if(t){var i=e.collection;t.add(e),e.collection=i}},checkId:function(e,i){var n=this.getCollection(e),o=n&&n.get(i);if(o&&e!==o)throw t.Relational.showWarnings&&"undefined"!=typeof console&&console.warn("Duplicate id! Old RelationalModel=%o, new RelationalModel=%o",o,e),new Error("Cannot instantiate more than one Backbone.RelationalModel with the same id per type!")},update:function(e){var t=this.getCollection(e);t.contains(e)||this.register(e),t._onModelEvent("change:"+e.idAttribute,e,t),e.trigger("relational:change:id",e,t)},unregister:function(e){var n,o;e instanceof t.Model?(n=this.getCollection(e),o=[e]):e instanceof t.Collection?(n=this.getCollection(e.model),o=i.clone(e.models)):(n=this.getCollection(e),o=i.clone(n.models)),i.each(o,function(e){this.stopListening(e),i.invoke(e.getRelations(),"stopListening")},this),i.contains(this._collections,e)?n.reset([]):i.each(o,function(e){n.get(e)?n.remove(e):n.trigger("relational:remove",e,n)},this)},reset:function(){this.stopListening(),i.each(this._collections,function(e){this.unregister(e)},this),this._collections=[],this._subModels=[],this._modelScopes=[e]}}),t.Relational.store=new t.Store,t.Relation=function(e,n,o){if(this.instance=e,n=i.isObject(n)?n:{},this.reverseRelation=i.defaults(n.reverseRelation||{},this.options.reverseRelation),this.options=i.defaults(n,this.options,t.Relation.prototype.options),this.reverseRelation.type=i.isString(this.reverseRelation.type)?t[this.reverseRelation.type]||t.Relational.store.getObjectByName(this.reverseRelation.type):this.reverseRelation.type,this.key=this.options.key,this.keySource=this.options.keySource||this.key,this.keyDestination=this.options.keyDestination||this.keySource||this.key,this.model=this.options.model||this.instance.constructor,this.relatedModel=this.options.relatedModel,!i.isFunction(this.relatedModel)||this.relatedModel.prototype instanceof t.RelationalModel||(this.relatedModel=i.result(this,"relatedModel")),i.isString(this.relatedModel)&&(this.relatedModel=t.Relational.store.getObjectByName(this.relatedModel)),this.checkPreconditions()&&(!this.options.isAutoRelation&&this.reverseRelation.type&&this.reverseRelation.key&&t.Relational.store.addReverseRelation(i.defaults({isAutoRelation:!0,model:this.relatedModel,relatedModel:this.model,reverseRelation:this.options},this.reverseRelation)),e)){var r=this.keySource;r!==this.key&&"object"==typeof this.instance.get(this.key)&&(r=this.key),this.setKeyContents(this.instance.get(r)),this.relatedCollection=t.Relational.store.getCollection(this.relatedModel),this.keySource!==this.key&&delete this.instance.attributes[this.keySource],this.instance._relations[this.key]=this,this.initialize(o),this.options.autoFetch&&this.instance.fetchRelated(this.key,i.isObject(this.options.autoFetch)?this.options.autoFetch:{}),this.listenTo(this.instance,"destroy",this.destroy).listenTo(this.relatedCollection,"relational:add relational:change:id",this.tryAddRelated).listenTo(this.relatedCollection,"relational:remove",this.removeRelated)}},t.Relation.extend=t.Model.extend,i.extend(t.Relation.prototype,t.Events,t.Semaphore,{_class:"Backbone.Relation",options:{createModels:!0,includeInJSON:!0,isAutoRelation:!1,autoFetch:!1,parse:!1},instance:null,key:null,keyContents:null,relatedModel:null,relatedCollection:null,reverseRelation:null,related:null,checkPreconditions:function(){var e=this.instance,n=this.key,o=this.model,r=this.relatedModel,s=t.Relational.showWarnings&&"undefined"!=typeof console;if(!o||!n||!r)return s&&console.warn("Relation=%o: missing model, key or relatedModel (%o, %o, %o).",this,o,n,r),!1;if(!(o.prototype instanceof t.RelationalModel))return s&&console.warn("Relation=%o: model does not inherit from Backbone.RelationalModel (%o).",this,e),!1;if(!(r.prototype instanceof t.RelationalModel))return s&&console.warn("Relation=%o: relatedModel does not inherit from Backbone.RelationalModel (%o).",this,r),!1;if(this instanceof t.HasMany&&this.reverseRelation.type===t.HasMany)return s&&console.warn("Relation=%o: relation is a HasMany, and the reverseRelation is HasMany as well.",this),!1;if(e&&i.keys(e._relations).length){var a=i.find(e._relations,function(e){return e.key===n},this);if(a)return s&&console.warn("Cannot create relation=%o on %o for model=%o: already taken by relation=%o.",this,n,e,a),!1}return!0},setRelated:function(e){this.related=e,this.instance.attributes[this.key]=e},_isReverseRelation:function(e){return e.instance instanceof this.relatedModel&&this.reverseRelation.key===e.key&&this.key===e.reverseRelation.key},getReverseRelations:function(e){var t=[],n=i.isUndefined(e)?this.related&&(this.related.models||[this.related]):[e];return i.each(n||[],function(e){i.each(e.getRelations()||[],function(e){this._isReverseRelation(e)&&t.push(e)},this)},this),t},destroy:function(){this.stopListening(),this instanceof t.HasOne?this.setRelated(null):this instanceof t.HasMany&&this.setRelated(this._prepareCollection()),i.each(this.getReverseRelations(),function(e){e.removeRelated(this.instance)},this)}}),t.HasOne=t.Relation.extend({_class:"Backbone.HasOne",options:{reverseRelation:{type:"HasMany"}},initialize:function(e){this.listenTo(this.instance,"relational:change:"+this.key,this.onChange);var t=this.findRelated(e);this.setRelated(t),i.each(this.getReverseRelations(),function(t){t.addRelated(this.instance,e)},this)},findRelated:function(e){var t=null;if(e=i.defaults({parse:this.options.parse},e),this.keyContents instanceof this.relatedModel)t=this.keyContents;else if(this.keyContents||0===this.keyContents){var n=i.defaults({create:this.options.createModels},e);t=this.relatedModel.findOrCreate(this.keyContents,n)}return t&&(this.keyId=null),t},setKeyContents:function(e){this.keyContents=e,this.keyId=t.Relational.store.resolveIdForItem(this.relatedModel,this.keyContents)},onChange:function(e,n,o){if(!this.isLocked()){this.acquire(),o=o?i.clone(o):{};var r=i.isUndefined(o.__related),s=r?this.related:o.__related;if(r){this.setKeyContents(n);var a=this.findRelated(o);this.setRelated(a)}if(s&&this.related!==s&&i.each(this.getReverseRelations(s),function(e){e.removeRelated(this.instance,null,o)},this),i.each(this.getReverseRelations(),function(e){e.addRelated(this.instance,o)},this),!o.silent&&this.related!==s){var l=this;this.changed=!0,t.Relational.eventQueue.add(function(){l.instance.trigger("change:"+l.key,l.instance,l.related,o,!0),l.changed=!1})}this.release()}},tryAddRelated:function(e,t,i){!this.keyId&&0!==this.keyId||e.id!==this.keyId||(this.addRelated(e,i),this.keyId=null)},addRelated:function(e,t){var n=this;e.queue(function(){if(e!==n.related){var o=n.related||null;n.setRelated(e),n.onChange(n.instance,e,i.defaults({__related:o},t))}})},removeRelated:function(e,t,n){if(this.related&&e===this.related){var o=this.related||null;this.setRelated(null),this.onChange(this.instance,e,i.defaults({__related:o},n))}}}),t.HasMany=t.Relation.extend({_class:"Backbone.HasMany",collectionType:null,options:{reverseRelation:{type:"HasOne"},collectionType:t.Collection,collectionKey:!0,collectionOptions:{}},initialize:function(e){if(this.listenTo(this.instance,"relational:change:"+this.key,this.onChange),this.collectionType=this.options.collectionType,!i.isFunction(this.collectionType)||this.collectionType===t.Collection||this.collectionType.prototype instanceof t.Collection||(this.collectionType=i.result(this,"collectionType")),i.isString(this.collectionType)){var n=this.collectionType;this.collectionType=t.Relational.store.getObjectByName(this.collectionType)}if(this.collectionType||(n&&t.Relational.showWarnings&&"undefined"!=typeof console&&console.warn("`collectionType` of "+n+" not found, using Backbone.Collection in its place."),this.collectionType=t.Collection),this.collectionType!==t.Collection&&!(this.collectionType.prototype instanceof t.Collection))throw new Error("`collectionType` must inherit from Backbone.Collection");var o=this.findRelated(e);this.setRelated(o)},_prepareCollection:function(e){if(this.related&&this.stopListening(this.related),!(e&&e instanceof t.Collection)){var n=i.isFunction(this.options.collectionOptions)?this.options.collectionOptions(this.instance):this.options.collectionOptions;e=new this.collectionType(null,n)}if(e.model=this.relatedModel,this.options.collectionKey){var o=this.options.collectionKey===!0?this.options.reverseRelation.key:this.options.collectionKey;e[o]&&e[o]!==this.instance?t.Relational.showWarnings&&"undefined"!=typeof console&&console.warn("Relation=%o; collectionKey=%s already exists on collection=%o",this,o,this.options.collectionKey):o&&(e[o]=this.instance)}return this.listenTo(e,"relational:add",this.handleAddition).listenTo(e,"relational:remove",this.handleRemoval).listenTo(e,"relational:reset",this.handleReset),e},findRelated:function(e){var n=null;if(e=i.defaults({parse:this.options.parse},e),this.keyContents instanceof t.Collection)this._prepareCollection(this.keyContents),n=this.keyContents;else{var o=[];i.each(this.keyContents,function(t){if(t instanceof this.relatedModel)var n=t;else n=this.relatedModel.findOrCreate(t,i.extend({merge:!0},e,{create:this.options.createModels}));n&&o.push(n)},this),n=this.related instanceof t.Collection?this.related:this._prepareCollection(),n.set(o,i.defaults({merge:!1,parse:!1},e))}return this.keyIds=i.difference(this.keyIds,i.pluck(n.models,"id")),n},setKeyContents:function(e){this.keyContents=e instanceof t.Collection?e:null,this.keyIds=[],this.keyContents||!e&&0!==e||(this.keyContents=i.isArray(e)?e:[e],i.each(this.keyContents,function(e){var i=t.Relational.store.resolveIdForItem(this.relatedModel,e);(i||0===i)&&this.keyIds.push(i)},this))},onChange:function(e,n,o){o=o?i.clone(o):{},this.setKeyContents(n),this.changed=!1;var r=this.findRelated(o);if(this.setRelated(r),!o.silent){var s=this;t.Relational.eventQueue.add(function(){s.changed&&(s.instance.trigger("change:"+s.key,s.instance,s.related,o,!0),s.changed=!1)})}},handleAddition:function(e,n,o){o=o?i.clone(o):{},this.changed=!0,i.each(this.getReverseRelations(e),function(e){e.addRelated(this.instance,o)},this);var r=this;!o.silent&&t.Relational.eventQueue.add(function(){r.instance.trigger("add:"+r.key,e,r.related,o)})},handleRemoval:function(e,n,o){o=o?i.clone(o):{},this.changed=!0,i.each(this.getReverseRelations(e),function(e){e.removeRelated(this.instance,null,o)},this);var r=this;!o.silent&&t.Relational.eventQueue.add(function(){r.instance.trigger("remove:"+r.key,e,r.related,o)})},handleReset:function(e,n){var o=this;n=n?i.clone(n):{},!n.silent&&t.Relational.eventQueue.add(function(){o.instance.trigger("reset:"+o.key,o.related,n)})},tryAddRelated:function(e,t,n){var o=i.contains(this.keyIds,e.id);o&&(this.addRelated(e,n),this.keyIds=i.without(this.keyIds,e.id))},addRelated:function(e,t){var n=this;e.queue(function(){n.related&&!n.related.get(e)&&n.related.add(e,i.defaults({parse:!1},t))})},removeRelated:function(e,t,i){this.related.get(e)&&this.related.remove(e,i)}}),t.RelationalModel=t.Model.extend({_class:"Backbone.RelationalModel",relations:null,_relations:null,_isInitialized:!1,_deferProcessing:!1,_queue:null,_attributeChangeFired:!1,subModelTypeAttribute:"type",subModelTypes:null,keydefs:{},compoundKeyDelim:"-",constructor:function(e,n){if(n&&n.collection){var o=this,r=this.collection=n.collection;delete n.collection,this._deferProcessing=!0;var s=function(e){e===o&&(o._deferProcessing=!1,o.processQueue(),r.off("relational:add",s))};r.on("relational:add",s),i.defer(function(){s(o)})}t.Relational.store.processOrphanRelations(),t.Relational.store.listenTo(this,"relational:unregister",t.Relational.store.unregister),this._queue=new t.BlockingQueue,this._queue.block(),t.Relational.eventQueue.block();try{t.Model.apply(this,arguments)}finally{t.Relational.eventQueue.unblock()}this.createSavepoint(),this.on("sync",this.createSavepoint,this)},createSavepoint:function(){return this.savepoint=JSON.parse(JSON.stringify(this)),this},rollback:function(e){e=e||{},this.set(this.savepoint),this.changed=[],e.silent||this.trigger("rollback",this,e)},commit:function(e){e=e||{};var n=this,o=n.isNew(),r=[],s=[];return(o||n.hasChangedDeepSinceSavepoint())&&(o||i.each(n.relations,function(t){if(t.includeInJSON&&(r.push(t),t.includeInJSON=!1,!t.isAutoRelation)){var i=n.get(t.key);s.push(i.commit(e))}}),s.push(n.save(null,e)),i.each(r,function(e){e.includeInJSON=!0}),e.silent||n.trigger("commit",n,e)),t.$.when.apply(t.$,s)},hasChangedDeepSinceSavepoint:function(){return!i.isEqual(this.toJSON(),this.savepoint)},trigger:function(e){if(e.length>5&&0===e.indexOf("change")){var i=this,n=arguments;t.Relational.eventQueue.add(function(){if(i._isInitialized){var o=!0;if("change"===e)o=i.hasChanged()||i._attributeChangeFired,i._attributeChangeFired=!1;else{var r=e.slice(7),s=i.getRelation(r);s?(o=n[4]===!0,o?i.changed[r]=n[2]:s.changed||delete i.changed[r]):o&&(i._attributeChangeFired=!0)}o&&t.Model.prototype.trigger.apply(i,n)}})}else"destroy"===e?(t.Model.prototype.trigger.apply(this,arguments),t.Relational.store.unregister(this)):t.Model.prototype.trigger.apply(this,arguments);return this},initializeRelations:function(e){this.acquire(),this._relations={},i.each(this.relations||[],function(i){t.Relational.store.initializeRelation(this,i,e)},this),this._isInitialized=!0,this.release(),this.processQueue()},updateRelations:function(e,t){this._isInitialized&&!this.isLocked()&&i.each(this._relations,function(i){if(!e||i.keySource in e||i.key in e){var n=this.attributes[i.keySource]||this.attributes[i.key],o=e&&(e[i.keySource]||e[i.key]);(i.related!==n||null===n&&null===o)&&this.trigger("relational:change:"+i.key,this,n,t||{})}i.keySource!==i.key&&delete this.attributes[i.keySource]},this)},queue:function(e){this._queue.add(e)},processQueue:function(){this._isInitialized&&!this._deferProcessing&&this._queue.isBlocked()&&this._queue.unblock()},getRelation:function(e){return this._relations[e]},getRelations:function(){return i.values(this._relations)},fetchRelated:function(e,n,o){n=i.extend({update:!0,remove:!1},n);var r,s,a=[],l=this.getRelation(e),u=l&&(l.keyIds&&l.keyIds.slice(0)||(l.keyId||0===l.keyId?[l.keyId]:[]));if(o&&(r=l.related instanceof t.Collection?l.related.models:[l.related],i.each(r,function(e){(e.id||0===e.id)&&u.push(e.id)})),u&&u.length){var c=[];if(r=i.map(u,function(e){var t=l.relatedModel.findModel(e);if(!t){var i={};i[l.relatedModel.prototype.idAttribute]=e,t=l.relatedModel.findOrCreate(i,n),c.push(t)}return t},this),l.related instanceof t.Collection&&i.isFunction(l.related.url)&&(s=l.related.url(r)),s&&s!==l.related.url()){var d=i.defaults({error:function(){var e=arguments;i.each(c,function(t){t.trigger("destroy",t,t.collection,n),n.error&&n.error.apply(t,e)})},url:s},n);a=[l.related.fetch(d)]}else a=i.map(r,function(e){var t=i.defaults({error:function(){i.contains(c,e)&&(e.trigger("destroy",e,e.collection,n),n.error&&n.error.apply(e,arguments))}},n);return e.fetch(t)},this)}return a},get:function(e){var n=t.Model.prototype.get.call(this,e);if(!this.dotNotation||e.indexOf(".")===-1)return n;var o=e.split("."),r=i.reduce(o,function(e,n){if(!i.isNull(e)&&!i.isUndefined(e)){if(e instanceof t.Model)return t.Model.prototype.get.call(e,n);if(e instanceof t.Collection)return t.Collection.prototype.at.call(e,n);throw new Error("Attribute must be an instanceof Backbone.Model or Backbone.Collection. Is: "+e+", currentSplit: "+n)}},this);if(void 0!==n&&void 0!==r)throw new Error("Ambiguous result for '"+e+"'. direct result: "+n+", dotNotation: "+r);return n||r},_getNewId:function(e){var t=this,i=null,n="",o=!1,r,s=t.keydefs.PRIMARY;return s&&(s.forEach(function(i,s){r=e[i]||t.attributes&&t.attributes[i],r||0===r?n+=(n?t.compoundKeyDelim:"")+(e[i]||t.attributes&&t.attributes[i]):o=!0}),o||(i=n)),i||(i=e&&t.idAttribute in e&&e[t.idAttribute]),i},set:function(e,n,o){t.Relational.eventQueue.block();var r;i.isObject(e)||null==e?(r=e,o=n):(r={},r[e]=n);try{var s=this.id,a=this._getNewId(r);t.Relational.store.checkId(this,a);var l=t.Model.prototype.set.apply(this,arguments);a&&(this.id=a),this._isInitialized||this.isLocked()?a&&a!==s&&t.Relational.store.update(this):(this.constructor.initializeModelHierarchy(),(a||0===a)&&t.Relational.store.register(this),this.initializeRelations(o)),r&&this.updateRelations(r,o)}finally{t.Relational.eventQueue.unblock()}return l},clone:function(){var e=i.clone(this.attributes);return i.isUndefined(e[this.idAttribute])||(e[this.idAttribute]=null),i.each(this.getRelations(),function(t){delete e[t.key]}),new this.constructor(e)},toJSON:function(e){if(this.isLocked())return this.id;this.acquire();var n=t.Model.prototype.toJSON.call(this,e);return!this.constructor._superModel||this.constructor._subModelTypeAttribute in n||(n[this.constructor._subModelTypeAttribute]=this.constructor._subModelTypeValue),i.each(this._relations,function(o){var r=n[o.key],s=o.options.includeInJSON,a=null;s===!0?r&&i.isFunction(r.toJSON)&&(a=r.toJSON(e)):i.isString(s)?(r instanceof t.Collection?a=r.pluck(s):r instanceof t.Model&&(a=r.get(s)),s===o.relatedModel.prototype.idAttribute&&(o instanceof t.HasMany?a=a.concat(o.keyIds):o instanceof t.HasOne&&(a=a||o.keyId,a||i.isObject(o.keyContents)||(a=o.keyContents||null)))):i.isArray(s)?r instanceof t.Collection?(a=[],r.each(function(e){var t={};i.each(s,function(i){t[i]=e.get(i)}),a.push(t)})):r instanceof t.Model&&(a={},i.each(s,function(e){a[e]=r.get(e)})):delete n[o.key],s&&(n[o.keyDestination]=a),o.keyDestination!==o.key&&delete n[o.key]}),this.release(),n}},{setup:function(e){return this.prototype.relations=(this.prototype.relations||[]).slice(0),this._subModels={},this._superModel=null,this.prototype.hasOwnProperty("subModelTypes")?t.Relational.store.addSubModels(this.prototype.subModelTypes,this):this.prototype.subModelTypes=null,i.each(this.prototype.relations||[],function(e){if(e.model||(e.model=this),e.reverseRelation&&e.model===this){var n=!0;if(i.isString(e.relatedModel)){var o=t.Relational.store.getObjectByName(e.relatedModel);n=o&&o.prototype instanceof t.RelationalModel}n?t.Relational.store.initializeRelation(null,e):i.isString(e.relatedModel)&&t.Relational.store.addOrphanRelation(e)}},this),this},build:function(e,t){this.initializeModelHierarchy();var i=this._findSubModelType(this,e)||this;return new i(e,t)},_findSubModelType:function(e,t){if(e._subModels&&e.prototype.subModelTypeAttribute in t){var i=t[e.prototype.subModelTypeAttribute],n=e._subModels[i];if(n)return n;for(i in e._subModels)if(n=this._findSubModelType(e._subModels[i],t))return n}return null},initializeModelHierarchy:function(){if(this.inheritRelations(),this.prototype.subModelTypes){var e=i.keys(this._subModels),n=i.omit(this.prototype.subModelTypes,e);i.each(n,function(e){var i=t.Relational.store.getObjectByName(e);i&&i.initializeModelHierarchy()})}},inheritRelations:function(){if(i.isUndefined(this._superModel)||i.isNull(this._superModel))if(t.Relational.store.setupSuperModel(this),this._superModel){if(this._superModel.inheritRelations(),this._superModel.prototype.relations){var e=i.filter(this._superModel.prototype.relations||[],function(e){return!i.any(this.prototype.relations||[],function(t){return e.relatedModel===t.relatedModel&&e.key===t.key},this)},this);this.prototype.relations=e.concat(this.prototype.relations)}}else this._superModel=!1},findOrCreate:function(e,t){t||(t={});var n=i.isObject(e)&&t.parse&&this.prototype.parse?this.prototype.parse(i.clone(e)):e,o=this.findModel(n);return i.isObject(e)&&(o&&t.merge!==!1?(delete t.collection,delete t.url,o.set(n,t)):o||t.create===!1||(o=this.build(e,t))),o},find:function(e,t){return t||(t={}),t.create=!1,this.findOrCreate(e,t)},findModel:function(e){return t.Relational.store.find(this,e)}}),i.extend(t.RelationalModel.prototype,t.Semaphore);var n=t.Collection.prototype.__initialize=t.Collection.prototype.initialize;t.Collection.prototype.initialize=function(e,t){n.apply(this,arguments),this.createSavepoint(),this.on("sync",this.createSavepoint,this)},t.Collection.prototype.createSavepoint=function(){return this._added=[],this._removed=[],this;i.each(this.models,function(e){e.createSavepoint()})},t.Collection.prototype.rollback=function(e){return e=e||{},this.add(this._removed,{silent:!0}),i.each(this.models,function(e){e.rollback()}),this.remove(this._added,{silent:!0}),this.createSavepoint(),e.silent||this.trigger("rollback",this,e),this},t.Collection.prototype.hasChangedDeepSinceSavepoint=function(){return!(!this._removed.length&&!this._added.length)||!!i.find(this.models,function(e){return e.hasChangedDeepSinceSavepoint()})},t.Collection.prototype.commit=function(e){var n=[];return this.hasChangedDeepSinceSavepoint()&&(e=e||{},i.each(this._removed,function(e){n.push(e.destroy())}),i.each(this.models,function(e){n.push(e.commit())}),this.createSavepoint(),e.silent||this.trigger("commit",this,e)),t.$.when.apply(t.$,n)},t.Collection.prototype._class="Backbone.Collection",t.Collection.prototype.__prepareModel=t.Collection.prototype._prepareModel,t.Collection.prototype._prepareModel=function(e,n){var o;return e instanceof t.Model?(e.collection||(e.collection=this),o=e):(n=n?i.clone(n):{},n.collection=this,o="undefined"!=typeof this.model.findOrCreate?this.model.findOrCreate(e,n):new this.model(e,n),o&&o.validationError&&(this.trigger("invalid",this,e,n),o=!1)),o};var o=t.Collection.prototype.__set=t.Collection.prototype.set;t.Collection.prototype.set=function(e,n){if(!(this.model.prototype instanceof t.RelationalModel))return o.apply(this,arguments);n&&n.parse&&(e=this.parse(e,n));var r=!i.isArray(e),s=[],a=[];e=r?e?[e]:[]:i.clone(e),i.each(e,function(e){e instanceof t.Model||(e=t.Collection.prototype._prepareModel.call(this,e,n)),e&&(a.push(e),this.get(e)||this.get(e.cid)?null!=e.id&&(this._byId[e.id]=e):s.push(e))},this),a=r?a.length?a[0]:null:a;var l=o.call(this,a,i.defaults({parse:!1},n));return i.each(s,function(e){(this.get(e)||this.get(e.cid))&&this.trigger("relational:add",e,this,n)},this),l};var r=t.Collection.prototype.__get=t.Collection.prototype.get;t.Collection.prototype.get=function(e){if(!(this.model.prototype instanceof t.RelationalModel))return r.apply(this,arguments);if(null!=e){var i=t.Relational.store.resolveIdForItem(this.model,e);return this._byId[null!=i?i:e.cid||e]}};var s=t.Collection.prototype.__add=t.Collection.prototype.add;t.Collection.prototype.add=function(e,n){if(!(this.model.prototype instanceof t.RelationalModel))return s.apply(this,arguments);var o=s.call(this,e,i.defaults(n||{},{add:!0,merge:!1,remove:!1}));return this._added=this._added.concat(o),o};var a=t.Collection.prototype.__remove=t.Collection.prototype.remove;t.Collection.prototype.remove=function(e,n){if(!(this.model.prototype instanceof t.RelationalModel))return this._removed=this._removed.concat(e),a.apply(this,arguments);var o=!i.isArray(e),r=[];e=o?e?[e]:[]:i.clone(e),n||(n={}),i.each(e,function(e){e=this.get(e)||e&&this.get(e.cid),e&&r.push(e)},this);var s=a.call(this,o?r.length?r[0]:null:r,n);return i.each(r,function(e){this.trigger("relational:remove",e,this,n)},this),this._removed=this._removed.concat(r),s};var l=t.Collection.prototype.__reset=t.Collection.prototype.reset;t.Collection.prototype.reset=function(e,n){n=i.extend({merge:!0},n);var o=l.call(this,e,n);return this._added=[],this._removed=[],this.model.prototype instanceof t.RelationalModel&&this.trigger("relational:reset",this,n),this.createSavepoint(),o};var u=t.Collection.prototype.__sort=t.Collection.prototype.sort;t.Collection.prototype.sort=function(e){var i=u.call(this,e);return this.model.prototype instanceof t.RelationalModel&&this.trigger("relational:reset",this,e),i};var c=t.Collection.prototype.__trigger=t.Collection.prototype.trigger;t.Collection.prototype.trigger=function(e){if(!(this.model.prototype instanceof t.RelationalModel))return c.apply(this,arguments);if("add"===e||"remove"===e||"reset"===e||"sort"===e){var n=this,o=arguments;i.isObject(o[3])&&(o=i.toArray(o),o[3]=i.clone(o[3])),t.Relational.eventQueue.add(function(){c.apply(n,o)})}else c.apply(this,arguments);return this},t.RelationalModel.extend=function(e,i){var n=t.Model.extend.apply(this,arguments);return n.setup(this),n}})},52:function(e,t,i){!function(t){e.exports=t(i(5),i(3))}(function(e,t){return e.Validation=function(t){"use strict";var i={forceUpdate:!1,selector:"name",labelFormatter:"sentenceCase",valid:Function.prototype,invalid:Function.prototype},n={formatLabel:function(e,t){return u[i.labelFormatter](e,t)},format:function(){var e=Array.prototype.slice.call(arguments),t=e.shift();return t.replace(/\{(\d+)\}/g,function(t,i){return"undefined"!=typeof e[i]?e[i]:t})}},o=function(i,n,r){return n=n||{},r=r||"",t.each(i,function(t,s){i.hasOwnProperty(s)&&(t&&"object"==typeof t&&!(t instanceof Array||t instanceof Date||t instanceof RegExp||t instanceof e.Model||t instanceof e.Collection)?o(t,n,r+s+"."):n[r+s]=t)}),n},r=function(){var e=function(e){return t.reduce(t.keys(t.result(e,"validation")||{}),function(e,t){return e[t]=void 0,e},{})},r=function(e,i){var n=e.validation?t.result(e,"validation")[i]||{}:{};return(t.isFunction(n)||t.isString(n))&&(n={fn:n}),t.isArray(n)||(n=[n]),t.reduce(n,function(e,i){return t.each(t.without(t.keys(i),"msg"),function(t){e.push({fn:c[t],val:i[t],msg:i.msg})}),e},[])},a=function(e,i,o,s){return t.reduce(r(e,i),function(r,a){var l=t.extend({},n,c),u=a.fn.call(l,o,i,a.val,e,s);return u!==!1&&r!==!1&&(u&&!r?t.result(a,"msg")||u:r)},"")},l=function(e,i){var n,r={},s=!0,l=t.clone(i),u=o(i);return t.each(u,function(t,i){n=a(e,i,t,l),n&&(r[i]=n,s=!1)}),{invalidAttrs:r,isValid:s}},u=function(i,n){return{preValidate:function(e,i){var n=this,o={},r;return t.isObject(e)?(t.each(e,function(e,t){r=n.preValidate(t,e),r&&(o[t]=r)}),t.isEmpty(o)?void 0:o):a(this,e,i,t.extend({},this.attributes))},isValid:function(e){var i=o(this.attributes);return t.isString(e)?!a(this,e,i[e],t.extend({},this.attributes)):t.isArray(e)?t.reduce(e,function(e,n){return e&&!a(this,n,i[n],t.extend({},this.attributes))},!0,this):(e===!0&&this.validate(),!this.validation||this._isValid)},validate:function(r,s){var a=this,u=!r,c=t.extend({},n,s),d=e(a),h=t.extend({},d,a.attributes,r),f=o(r||h),p=l(a,h);if(a._isValid=p.isValid,t.each(d,function(e,t){var n=p.invalidAttrs.hasOwnProperty(t);n||c.valid(i,t,c.selector)}),t.each(d,function(e,t){var n=p.invalidAttrs.hasOwnProperty(t),o=f.hasOwnProperty(t);n&&(o||u)&&c.invalid(i,t,p.invalidAttrs[t],c.selector)}),t.defer(function(){a.trigger("validated",a._isValid,a,p.invalidAttrs),a.trigger("validated:"+(a._isValid?"valid":"invalid"),a,p.invalidAttrs)}),!c.forceUpdate&&t.intersection(t.keys(p.invalidAttrs),t.keys(f)).length>0)return p.invalidAttrs}}},d=function(e,i,n){t.extend(i,u(e,n))},h=function(e){delete e.validate,delete e.preValidate,delete e.isValid},f=function(e){d(this.view,e,this.options)},p=function(e){h(e)};return{version:"0.9.1",configure:function(e){t.extend(i,e)},bind:function(e,n){n=t.extend({},i,s,n);var o=n.model||e.model,r=n.collection||e.collection;if("undefined"==typeof o&&"undefined"==typeof r)throw"Before you execute the binding your view must have a model or a collection.\nSee http://thedersen.com/projects/backbone-validation/#using-form-model-validation for more information.";o?d(e,o,n):r&&(r.each(function(t){d(e,t,n)}),r.bind("add",f,{view:e,options:n}),r.bind("remove",p))},unbind:function(e,i){i=t.extend({},i);var n=i.model||e.model,o=i.collection||e.collection;n?h(n):o&&(o.each(function(e){h(e)}),o.unbind("add",f),o.unbind("remove",p))},mixin:u(null,i)}}(),s=r.callbacks={valid:function(e,t,i){e.$("["+i+'~="'+t+'"]').removeClass("invalid").removeAttr("data-error")},invalid:function(e,t,i,n){e.$("["+n+'~="'+t+'"]').addClass("invalid").attr("data-error",i)}},a=r.patterns={digits:/^\d+$/,number:/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/,email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,
url:/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/i,domain:/^(?:[a-zA-Z0-9]+(?:\-*[a-zA-Z0-9])*\.)+[a-zA-Z]{2,6}$/},l=r.messages={required:"{0} is required",acceptance:"{0} must be accepted",min:"{0} must be greater than or equal to {1}",max:"{0} must be less than or equal to {1}",range:"{0} must be between {1} and {2}",length:"{0} must be {1} characters",minLength:"{0} must be at least {1} characters",maxLength:"{0} must be at most {1} characters",rangeLength:"{0} must be between {1} and {2} characters",oneOf:"{0} must be one of: {1}",equalTo:"{0} must be the same as {1}",digits:"{0} must only contain digits",number:"{0} must be a number",int:"{0} must be a whole number",email:"{0} must be a valid email",url:"{0} must be a valid url",domain:"{0} must be a valid domain",inlinePattern:"{0} is invalid"},u=r.labelFormatters={none:function(e){return e},sentenceCase:function(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,function(e,t){return 0===t?e.toUpperCase():" "+e.toLowerCase()}).replace(/_/g," ")},label:function(e,t){return t.labels&&t.labels[e]||u.sentenceCase(e,t)}},c=r.validators=function(){var e=String.prototype.trim?function(e){return null===e?"":String.prototype.trim.call(e)}:function(e){var t=/^\s+/,i=/\s+$/;return null===e?"":e.toString().replace(t,"").replace(i,"")},i=function(e){return t.isNumber(e)||t.isString(e)&&e.match(a.number)},n=function(i){return!(t.isNull(i)||t.isUndefined(i)||t.isString(i)&&""===e(i)||t.isArray(i)&&t.isEmpty(i))};return{fn:function(e,i,n,o,r){return t.isString(n)&&(n=o[n]),n.call(o,e,i,r)},required:function(e,i,o,r,s){var a=t.isFunction(o)?o.call(r,e,i,s):o;return!(!a&&!n(e))&&(a&&!n(e)?this.format(l.required,this.formatLabel(i,r)):void 0)},acceptance:function(e,i,n,o){if("true"!==e&&(!t.isBoolean(e)||e===!1))return this.format(l.acceptance,this.formatLabel(i,o))},min:function(e,t,n,o){if(!i(e)||e<n)return this.format(l.min,this.formatLabel(t,o),n)},max:function(e,t,n,o){if(!i(e)||e>n)return this.format(l.max,this.formatLabel(t,o),n)},range:function(e,t,n,o){if(!i(e)||e<n[0]||e>n[1])return this.format(l.range,this.formatLabel(t,o),n[0],n[1])},length:function(e,i,n,o){if(!t.isString(e)||e.length!==n)return this.format(l.length,this.formatLabel(i,o),n)},minLength:function(e,i,n,o){if(!t.isString(e)||e.length<n)return this.format(l.minLength,this.formatLabel(i,o),n)},maxLength:function(e,i,n,o){if(!t.isString(e)||e.length>n)return this.format(l.maxLength,this.formatLabel(i,o),n)},rangeLength:function(e,i,n,o){if(!t.isString(e)||e.length<n[0]||e.length>n[1])return this.format(l.rangeLength,this.formatLabel(i,o),n[0],n[1])},oneOf:function(e,i,n,o){if(!t.include(n,e))return this.format(l.oneOf,this.formatLabel(i,o),n.join(", "))},equalTo:function(e,t,i,n,o){if(e!==o[i])return this.format(l.equalTo,this.formatLabel(t,n),this.formatLabel(i,n))},pattern:function(e,t,i,o){if(!n(e)||!e.toString().match(a[i]||i))return this.format(l[i]||l.inlinePattern,this.formatLabel(t,o),i)},url:function(e,t,i,n){if(!a.url.test(e))return this.format(l.url,this.formatLabel(t,n))},domain:function(e,t,i,n){if(!a.domain.test(e))return this.format(l.domain,this.formatLabel(t,n))},email:function(e,t,i,n){if(!a.email.test(e))return this.format(l.email,this.formatLabel(t,n))},number:function(e,t,i,n){if(isNaN(parseFloat(e))||!isFinite(e))return this.format(l.number,this.formatLabel(t,n))},int:function(e,t,i,n){if(e%1!==0)return this.format(l.int,this.formatLabel(t,n))}}}();return t.each(c,function(e,i){c[i]=t.bind(c[i],t.extend({},n,c))}),r}(t),e.Validation})},63:function(e,t,i){var n,o;n=[i(2)],o=function(e){return{chromeless:!1,content_field_js_render:!1,defaultPlaceholderText:e.stl("javascript.editor.config_1"),areaDefaultPlaceholderText:{phone:e.stl("javascript.editor.config_2"),headline:e.stl("javascript.editor.config_3"),"headline-paragraph":e.stl("javascript.editor.config_4")}}}.apply(t,n),!(void 0!==o&&(e.exports=o))},64:function(e,t,i){!function(t,n){e.exports=n(i(3),i(5))}(this,function(e,t){"use strict";function i(e,t,i,n){var o=e[t];if(!(i&&i!==o.callback&&i!==o.callback._callback||n&&n!==o.context))return delete e[t],!0}function n(t,n,o,r){t||(t={});for(var s=n?[n]:e.keys(t),a=!1,l=0,u=s.length;l<u;l++)n=s[l],t[n]&&i(t,n,o,r)&&(a=!0);return a}function o(t){return c[t]||(c[t]=e.bind(l.log,l,t))}function r(t){return e.isFunction(t)?t:function(){return t}}e="default"in e?e.default:e,t="default"in t?t.default:t;var s={};s.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var a=t.Radio,l=t.Radio={};l.VERSION="1.0.4",l.noConflict=function(){return t.Radio=a,this},l.DEBUG=!1,l._debugText=function(e,t,i){return e+(i?" on the "+i+" channel":"")+': "'+t+'"'},l.debugLog=function(e,t,i){l.DEBUG&&console&&console.warn&&console.warn(l._debugText(e,t,i))};var u=/\s+/;l._eventsApi=function(t,i,n,o){if(!n)return!1;var r={};if("object"===("undefined"==typeof n?"undefined":s.typeof(n))){for(var a in n){var l=t[i].apply(t,[a,n[a]].concat(o));u.test(a)?e.extend(r,l):r[a]=l}return r}if(u.test(n)){for(var c=n.split(u),d=0,h=c.length;d<h;d++)r[c[d]]=t[i].apply(t,[c[d]].concat(o));return r}return!1},l._callHandler=function(e,t,i){var n=i[0],o=i[1],r=i[2];switch(i.length){case 0:return e.call(t);case 1:return e.call(t,n);case 2:return e.call(t,n,o);case 3:return e.call(t,n,o,r);default:return e.apply(t,i)}};var c={};e.extend(l,{log:function t(i,n){if("undefined"!=typeof console){var o=e.toArray(arguments).slice(2);console.log("["+i+'] "'+n+'"',o)}},tuneIn:function e(t){var i=l.channel(t);return i._tunedIn=!0,i.on("all",o(t)),this},tuneOut:function e(t){var i=l.channel(t);return i._tunedIn=!1,i.off("all",o(t)),delete c[t],this}}),l.Requests={request:function t(i){var n=e.toArray(arguments).slice(1),o=l._eventsApi(this,"request",i,n);if(o)return o;var r=this.channelName,s=this._requests;if(r&&this._tunedIn&&l.log.apply(this,[r,i].concat(n)),s&&(s[i]||s.default)){var a=s[i]||s.default;return n=s[i]?n:arguments,l._callHandler(a.callback,a.context,n)}l.debugLog("An unhandled request was fired",i,r)},reply:function e(t,i,n){return l._eventsApi(this,"reply",t,[i,n])?this:(this._requests||(this._requests={}),this._requests[t]&&l.debugLog("A request was overwritten",t,this.channelName),this._requests[t]={callback:r(i),context:n||this},this)},replyOnce:function t(i,n,o){if(l._eventsApi(this,"replyOnce",i,[n,o]))return this;var s=this,a=e.once(function(){return s.stopReplying(i),r(n).apply(this,arguments)});return this.reply(i,a,o)},stopReplying:function e(t,i,o){return l._eventsApi(this,"stopReplying",t)?this:(t||i||o?n(this._requests,t,i,o)||l.debugLog("Attempted to remove the unregistered request",t,this.channelName):delete this._requests,this)}},l._channels={},l.channel=function(e){if(!e)throw new Error("You must provide a name for the channel.");return l._channels[e]?l._channels[e]:l._channels[e]=new l.Channel(e)},l.Channel=function(e){this.channelName=e},e.extend(l.Channel.prototype,t.Events,l.Requests,{reset:function e(){return this.off(),this.stopListening(),this.stopReplying(),this}});var d,h,f=[t.Events,l.Requests];return e.each(f,function(t){e.each(t,function(t,i){l[i]=function(t){return h=e.toArray(arguments).slice(1),d=this.channel(t),d[i].apply(d,h)}})}),l.reset=function(t){var i=t?[this._channels[t]]:this._channels;e.each(i,function(e){e.reset()})},l})},66:function(e,t,i){var n,o,r;!function i(s,a){"object"==typeof t&&t&&"string"!=typeof t.nodeName?a(t):(o=[t],n=a,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r)))}(this,function e(t){function i(e){return"function"==typeof e}function n(e){return g(e)?"array":typeof e}function o(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function r(e,t){return null!=e&&"object"==typeof e&&t in e}function s(e,t){return v.call(e,t)}function a(e){return!s(y,e)}function l(e){return String(e).replace(/[&<>"'\/]/g,function e(t){return b[t]})}function u(e,i){function n(){if(f&&!p)for(;u.length;)delete l[u.pop()];else u=[];f=!1,p=!1}function r(e){if("string"==typeof e&&(e=e.split(T,2)),!g(e)||2!==e.length)throw new Error("Invalid tags: "+e);m=new RegExp(o(e[0])+"\\s*"),v=new RegExp("\\s*"+o(e[1])),y=new RegExp("\\s*"+o("}"+e[1]))}if(!e)return[];var s=[],l=[],u=[],f=!1,p=!1,m,v,y;r(i||t.tags);for(var b=new h(e),C,P,x,A,k,E;!b.eos();){if(C=b.pos,x=b.scanUntil(m))for(var I=0,D=x.length;I<D;++I)A=x.charAt(I),a(A)?u.push(l.length):p=!0,l.push(["text",A,C,C+1]),C+=1,"\n"===A&&n();if(!b.scan(m))break;if(f=!0,P=b.scan(M)||"name",b.scan(w),"="===P?(x=b.scanUntil(S),b.scan(S),b.scanUntil(v)):"{"===P?(x=b.scanUntil(y),b.scan(_),b.scanUntil(v),P="&"):x=b.scanUntil(v),!b.scan(v))throw new Error("Unclosed tag at "+b.pos);if(k=[P,x,C,b.pos],l.push(k),"#"===P||"^"===P)s.push(k);else if("/"===P){if(E=s.pop(),!E)throw new Error('Unopened section "'+x+'" at '+C);if(E[1]!==x)throw new Error('Unclosed section "'+E[1]+'" at '+C)}else"name"===P||"{"===P||"&"===P?p=!0:"="===P&&r(x)}if(E=s.pop())throw new Error('Unclosed section "'+E[1]+'" at '+b.pos);return d(c(l))}function c(e){for(var t=[],i,n,o=0,r=e.length;o<r;++o)i=e[o],i&&("text"===i[0]&&n&&"text"===n[0]?(n[1]+=i[1],n[3]=i[3]):(t.push(i),n=i));return t}function d(e){for(var t=[],i=t,n=[],o,r,s=0,a=e.length;s<a;++s)switch(o=e[s],o[0]){case"#":case"^":i.push(o),n.push(o),i=o[4]=[];break;case"/":r=n.pop(),r[5]=o[2],i=n.length>0?n[n.length-1][4]:t;break;default:i.push(o)}return t}function h(e){this.string=e,this.tail=e,this.pos=0}function f(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function p(){this.cache={}}var m=Object.prototype.toString,g=Array.isArray||function e(t){return"[object Array]"===m.call(t)},v=RegExp.prototype.test,y=/\S/,b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},w=/\s*/,T=/\s+/,S=/\s*=/,_=/\s*\}/,M=/#|\^|\/|>|\{|&|=|!/;h.prototype.eos=function e(){return""===this.tail},h.prototype.scan=function e(t){var i=this.tail.match(t);if(!i||0!==i.index)return"";var n=i[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},h.prototype.scanUntil=function e(t){var i=this.tail.search(t),n;switch(i){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=n.length,n},f.prototype.push=function e(t){return new f(t,this)},f.prototype.lookup=function e(t){var n=this.cache,o;if(n.hasOwnProperty(t))o=n[t];else{for(var s=this,a,l,u=!1;s;){if(t.indexOf(".")>0)for(o=s.view,a=t.split("."),l=0;null!=o&&l<a.length;)l===a.length-1&&(u=r(o,a[l])),o=o[a[l++]];else o=s.view[t],u=r(s.view,t);if(u)break;s=s.parent}n[t]=o}return i(o)&&(o=o.call(this.view)),o},p.prototype.clearCache=function e(){this.cache={}},p.prototype.parse=function e(t,i){var n=this.cache,o=n[t];return null==o&&(o=n[t]=u(t,i)),o},p.prototype.render=function e(t,i,n){var o=this.parse(t),r=i instanceof f?i:new f(i);return this.renderTokens(o,r,n,t)},p.prototype.renderTokens=function e(t,i,n,o){for(var r="",s,a,l,u=0,c=t.length;u<c;++u)l=void 0,s=t[u],a=s[0],"#"===a?l=this.renderSection(s,i,n,o):"^"===a?l=this.renderInverted(s,i,n,o):">"===a?l=this.renderPartial(s,i,n,o):"&"===a?l=this.unescapedValue(s,i):"name"===a?l=this.escapedValue(s,i):"text"===a&&(l=this.rawValue(s)),void 0!==l&&(r+=l);return r},p.prototype.renderSection=function e(t,n,o,r){function s(e){return a.render(e,n,o)}var a=this,l="",u=n.lookup(t[1]);if(u){if(g(u))for(var c=0,d=u.length;c<d;++c)l+=this.renderTokens(t[4],n.push(u[c]),o,r);else if("object"==typeof u||"string"==typeof u||"number"==typeof u)l+=this.renderTokens(t[4],n.push(u),o,r);else if(i(u)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");u=u.call(n.view,r.slice(t[3],t[5]),s),null!=u&&(l+=u)}else l+=this.renderTokens(t[4],n,o,r);return l}},p.prototype.renderInverted=function e(t,i,n,o){var r=i.lookup(t[1]);if(!r||g(r)&&0===r.length)return this.renderTokens(t[4],i,n,o)},p.prototype.renderPartial=function e(t,n,o){if(o){var r=i(o)?o(t[1]):o[t[1]];return null!=r?this.renderTokens(this.parse(r),n,o,r):void 0}},p.prototype.unescapedValue=function e(t,i){var n=i.lookup(t[1]);if(null!=n)return n},p.prototype.escapedValue=function e(i,n){var o=n.lookup(i[1]);if(null!=o)return t.escape(o)},p.prototype.rawValue=function e(t){return t[1]},t.name="mustache.js",t.version="2.1.3",t.tags=["{{","}}"];var C=new p;t.clearCache=function e(){return C.clearCache()},t.parse=function e(t,i){return C.parse(t,i)},t.render=function e(t,i,o){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+n(t)+'" was given as the first argument for mustache#render(template, view, partials)');return C.render(t,i,o)},t.to_html=function e(n,o,r,s){var a=t.render(n,o,r);return i(s)?void s(a):a},t.escape=l,t.Scanner=h,t.Context=f,t.Writer=p})},67:function(e,t,i){!function(t,n){if(0)"function"==typeof define&&define.amd&&define(["underscore","backbone"],n);else{var o=i(3),r=i(5);e.exports=n(o,r)}}(this,function(e,t){"option strict";return t.ChildViewContainer=function(e,t){var i=function(e){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),t.each(e,this.add,this)};t.extend(i.prototype,{add:function(e,t){var i=e.cid;return this._views[i]=e,e.model&&(this._indexByModel[e.model.cid]=i),t&&(this._indexByCustom[t]=i),this._updateLength(),this},findByModel:function(e){return this.findByModelCid(e.cid)},findByModelCid:function(e){var t=this._indexByModel[e];return this.findByCid(t)},findByCustom:function(e){var t=this._indexByCustom[e];return this.findByCid(t)},findByIndex:function(e){return t.values(this._views)[e]},findByCid:function(e){return this._views[e]},remove:function(e){var i=e.cid;return e.model&&delete this._indexByModel[e.model.cid],t.any(this._indexByCustom,function(e,t){if(e===i)return delete this._indexByCustom[t],!0},this),delete this._views[i],this._updateLength(),this},call:function(e){this.apply(e,t.tail(arguments))},apply:function(e,i){t.each(this._views,function(n){t.isFunction(n[e])&&n[e].apply(n,i||[])})},_updateLength:function(){this.length=t.size(this._views)}});var n=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return t.each(n,function(e){i.prototype[e]=function(){var i=t.values(this._views),n=[i].concat(t.toArray(arguments));return t[e].apply(t,n)}}),i}(t,e),t.ChildViewContainer})},68:function(e,t,i){!function(t,n){if(0)"function"==typeof define&&define.amd&&define(["underscore","backbone","backbone.wreqr","backbone.babysitter"],n);else{var o=i(3),r=i(5),s=i(70),a=i(67);e.exports=n(o,r,s,a)}}(this,function(e,t){var i=function(e,t,i){"use strict";function n(e,t){var i=new Error(e);throw i.name=t||"Error",i}var o={};t.Marionette=o,o.$=t.$;var r=Array.prototype.slice;return o.extend=t.Model.extend,o.getOption=function(e,t){if(e&&t){var i;return i=e.options&&t in e.options&&void 0!==e.options[t]?e.options[t]:e[t]}},o.normalizeMethods=function(e){var t={},n;return i.each(e,function(e,o){n=e,i.isFunction(n)||(n=this[n]),n&&(t[o]=n)},this),t},o.normalizeUIKeys=function(e,t){if("undefined"!=typeof e)return i.each(i.keys(e),function(i){var n=/@ui.[a-zA-Z_$0-9]*/g;i.match(n)&&(e[i.replace(n,function(e){return t[e.slice(4)]})]=e[i],delete e[i])}),e},o.triggerMethod=function(){function e(e,t,i){return i.toUpperCase()}var t=/(^|:)(\w)/gi,n=function(n){var o="on"+n.replace(t,e),r=this[o];if(i.isFunction(this.trigger)&&this.trigger.apply(this,arguments),i.isFunction(r))return r.apply(this,i.tail(arguments))};return n}(),o.MonitorDOMRefresh=function(e){function t(e){e._isShown=!0,o(e)}function n(e){e._isRendered=!0,o(e)}function o(e){e._isShown&&e._isRendered&&r(e)&&i.isFunction(e.triggerMethod)&&e.triggerMethod("dom:refresh")}function r(t){return e.contains(t.el)}return function(e){e.listenTo(e,"show",function(){t(e)}),e.listenTo(e,"render",function(){n(e)})}}(document.documentElement),function(e){function t(e,t,o,r){var s=r.split(/\s+/);i.each(s,function(i){var r=e[i];r||n("Method '"+i+"' was configured as an event handler, but does not exist."),e.listenTo(t,o,r)})}function o(e,t,i,n){e.listenTo(t,i,n)}function r(e,t,n,o){var r=o.split(/\s+/);i.each(r,function(i){var o=e[i];e.stopListening(t,n,o)})}function s(e,t,i,n){e.stopListening(t,i,n)}function a(e,t,n,o,r){t&&n&&(i.isFunction(n)&&(n=n.call(e)),i.each(n,function(n,s){i.isFunction(n)?o(e,t,s,n):r(e,t,s,n)}))}e.bindEntityEvents=function(e,i,n){a(e,i,n,o,t)},e.unbindEntityEvents=function(e,t,i){a(e,t,i,s,r)}}(o),o.Callbacks=function(){this._deferred=o.$.Deferred(),this._callbacks=[]},i.extend(o.Callbacks.prototype,{add:function(e,t){this._callbacks.push({cb:e,ctx:t}),this._deferred.done(function(i,n){t&&(i=t),e.call(i,n)})},run:function(e,t){this._deferred.resolve(t,e)},reset:function(){var e=this._callbacks;this._deferred=o.$.Deferred(),this._callbacks=[],i.each(e,function(e){this.add(e.cb,e.ctx)},this)}}),o.Controller=function(e){this.triggerMethod=o.triggerMethod,this.options=e||{},i.isFunction(this.initialize)&&this.initialize(this.options)},o.Controller.extend=o.extend,i.extend(o.Controller.prototype,t.Events,{close:function(){this.stopListening();var e=Array.prototype.slice.call(arguments);this.triggerMethod.apply(this,["close"].concat(e)),this.unbind()}}),o.Region=function(e){if(this.options=e||{},this.el=o.getOption(this,"el"),this.el||n("An 'el' must be specified for a region.","NoElError"),this.initialize){var t=Array.prototype.slice.apply(arguments);this.initialize.apply(this,t)}},i.extend(o.Region,{buildRegion:function(e,t){var o=i.isString(e),r=i.isString(e.selector),s=i.isUndefined(e.regionType),a=i.isFunction(e);a||o||r||n("Region must be specified as a Region type, a selector string or an object with selector property");var l,u;o&&(l=e),e.selector&&(l=e.selector,delete e.selector),a&&(u=e),!a&&s&&(u=t),e.regionType&&(u=e.regionType,delete e.regionType),(o||a)&&(e={}),e.el=l;var c=new u(e);return e.parentEl&&(c.getEl=function(t){var n=e.parentEl;return i.isFunction(n)&&(n=n()),n.find(t)}),c}}),i.extend(o.Region.prototype,t.Events,{show:function(e){this.ensureEl();var t=e.isClosed||i.isUndefined(e.$el),n=e!==this.currentView;n&&this.close(),e.render(),o.triggerMethod.call(this,"before:show",e),o.triggerMethod.call(e,"before:show"),(n||t)&&this.open(e),this.currentView=e,o.triggerMethod.call(this,"show",e),o.triggerMethod.call(e,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(e){return o.$(e)},open:function(e){this.$el.empty().append(e.el)},close:function(){var e=this.currentView;e&&!e.isClosed&&(e.close?e.close():e.remove&&e.remove(),o.triggerMethod.call(this,"close",e),delete this.currentView)},attachView:function(e){this.currentView=e},reset:function(){this.close(),delete this.$el}}),o.Region.extend=o.extend,o.RegionManager=function(e){var t=e.Controller.extend({constructor:function(t){this._regions={},e.Controller.prototype.constructor.call(this,t)},addRegions:function(e,t){var n={};return i.each(e,function(e,o){i.isString(e)&&(e={selector:e}),e.selector&&(e=i.defaults({},e,t));var r=this.addRegion(o,e);n[o]=r},this),n},addRegion:function(t,n){var o,r=i.isObject(n),s=i.isString(n),a=!!n.selector;return o=s||r&&a?e.Region.buildRegion(n,e.Region):i.isFunction(n)?e.Region.buildRegion(n,e.Region):n,this._store(t,o),this.triggerMethod("region:add",t,o),o},get:function(e){return this._regions[e]},removeRegion:function(e){var t=this._regions[e];this._remove(e,t)},removeRegions:function(){i.each(this._regions,function(e,t){this._remove(t,e)},this)},closeRegions:function(){i.each(this._regions,function(e,t){e.close()},this)},close:function(){this.removeRegions(),e.Controller.prototype.close.apply(this,arguments)},_store:function(e,t){this._regions[e]=t,this._setLength()},_remove:function(e,t){t.close(),delete this._regions[e],this._setLength(),this.triggerMethod("region:remove",e,t)},_setLength:function(){this.length=i.size(this._regions)}}),n=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return i.each(n,function(e){t.prototype[e]=function(){var t=i.values(this._regions),n=[t].concat(i.toArray(arguments));return i[e].apply(i,n)}}),t}(o),o.TemplateCache=function(e){this.templateId=e},i.extend(o.TemplateCache,{templateCaches:{},get:function(e){var t=this.templateCaches[e];return t||(t=new o.TemplateCache(e),this.templateCaches[e]=t),t.load()},clear:function(){var e,t=r.call(arguments),i=t.length;if(i>0)for(e=0;e<i;e++)delete this.templateCaches[t[e]];else this.templateCaches={}}}),i.extend(o.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var e=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(e),this.compiledTemplate},loadTemplate:function(e){var t=o.$(e).html();return t&&0!==t.length||n("Could not find template: '"+e+"'","NoTemplateError"),t},compileTemplate:function(e){return i.template(e)}}),o.Renderer={render:function(e,t){e||n("Cannot render the template since it's false, null or undefined.","TemplateNotFoundError");var i;return(i="function"==typeof e?e:o.TemplateCache.get(e))(t)}},o.View=t.View.extend({constructor:function(e){i.bindAll(this,"render"),i.isObject(this.behaviors)&&new o.Behaviors(this),this.options=i.extend({},i.result(this,"options"),i.isFunction(e)?e.call(this):e),this.events=this.normalizeUIKeys(i.result(this,"events")),t.View.prototype.constructor.apply(this,arguments),o.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled)},triggerMethod:o.triggerMethod,normalizeMethods:o.normalizeMethods,getTemplate:function(){return o.getOption(this,"template")},mixinTemplateHelpers:function(e){e=e||{};var t=o.getOption(this,"templateHelpers");return i.isFunction(t)&&(t=t.call(this)),i.extend(e,t)},normalizeUIKeys:function(e){var t=i.result(this,"ui");return o.normalizeUIKeys(e,t)},configureTriggers:function(){if(this.triggers){var e={},t=this.normalizeUIKeys(i.result(this,"triggers"));return i.each(t,function(t,n){var o=i.isObject(t),r=o?t.event:t;e[n]=function(e){if(e){var i=e.preventDefault,n=e.stopPropagation,s=o?t.preventDefault:i,a=o?t.stopPropagation:n;s&&i&&i.apply(e),a&&n&&n.apply(e)}var l={view:this,model:this.model,collection:this.collection};this.triggerMethod(r,l)}},this),e}},delegateEvents:function(e){this._delegateDOMEvents(e),o.bindEntityEvents(this,this.model,o.getOption(this,"modelEvents")),o.bindEntityEvents(this,this.collection,o.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(e){e=e||this.events,i.isFunction(e)&&(e=e.call(this));var n={},o=i.result(this,"behaviorEvents")||{},r=this.configureTriggers();i.extend(n,o,e,r),t.View.prototype.delegateEvents.call(this,n)},undelegateEvents:function(){var e=Array.prototype.slice.call(arguments);t.View.prototype.undelegateEvents.apply(this,e),o.unbindEntityEvents(this,this.model,o.getOption(this,"modelEvents")),o.unbindEntityEvents(this,this.collection,o.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var e=Array.prototype.slice.call(arguments),t=this.triggerMethod.apply(this,["before:close"].concat(e));t!==!1&&(this.isClosed=!0,this.triggerMethod.apply(this,["close"].concat(e)),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var e=i.result(this,"_uiBindings");this.ui={},i.each(i.keys(e),function(t){var i=e[t];this.ui[t]=this.$(i)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(i.each(this.ui,function(e,t){delete this.ui[t]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),o.ItemView=o.View.extend({constructor:function(){o.View.prototype.constructor.apply(this,arguments)},serializeData:function(){var e={};return this.model?e=this.model.toJSON():this.collection&&(e={items:this.collection.toJSON()}),e},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var e=this.serializeData();e=this.mixinTemplateHelpers(e);var t=this.getTemplate(),i=o.Renderer.render(t,e);return this.$el.html(i),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),o.View.prototype.close.apply(this,arguments),this.triggerMethod("item:closed"))}}),o.CollectionView=o.View.extend({itemViewEventPrefix:"itemview",constructor:function(e){this._initChildViewStorage(),o.View.prototype.constructor.apply(this,arguments),this._initialEvents(),this.initRenderBuffer()},initRenderBuffer:function(){this.elBuffer=document.createDocumentFragment(),this._bufferedChildren=[]},startBuffering:function(){this.initRenderBuffer(),this.isBuffering=!0},endBuffering:function(){this.isBuffering=!1,this.appendBuffer(this,this.elBuffer),this._triggerShowBufferedChildren(),this.initRenderBuffer()},_triggerShowBufferedChildren:function(){this._isShown&&(i.each(this._bufferedChildren,function(e){o.triggerMethod.call(e,"show")}),this._bufferedChildren=[])},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView),this.listenTo(this.collection,"remove",this.removeItemView),this.listenTo(this.collection,"reset",this.render))},addChildView:function(e,t,i){this.closeEmptyView();var n=this.getItemView(e),o=this.collection.indexOf(e);this.addItemView(e,n,o)},onShowCalled:function(){this.children.each(function(e){o.triggerMethod.call(e,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.startBuffering(),this.closeEmptyView(),this.closeChildren(),this.isEmpty(this.collection)?this.showEmptyView():this.showCollection(),this.endBuffering()},showCollection:function(){var e;this.collection.each(function(t,i){e=this.getItemView(t),this.addItemView(t,e,i)},this)},showEmptyView:function(){var e=this.getEmptyView();if(e&&!this._showingEmptyView){this._showingEmptyView=!0;var i=new t.Model;this.addItemView(i,e,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return o.getOption(this,"emptyView")},getItemView:function(e){var t=o.getOption(this,"itemView");return t||n("An `itemView` must be specified","NoItemViewError"),t},addItemView:function(e,t,n){var r=o.getOption(this,"itemViewOptions");i.isFunction(r)&&(r=r.call(this,e,n));var s=this.buildItemView(e,t,r);return this.addChildViewEventForwarding(s),this.triggerMethod("before:item:added",s),this.children.add(s),this.renderItemView(s,n),this._isShown&&!this.isBuffering&&o.triggerMethod.call(s,"show"),this.triggerMethod("after:item:added",s),s},addChildViewEventForwarding:function(e){var t=o.getOption(this,"itemViewEventPrefix");this.listenTo(e,"all",function(){var n=r.call(arguments),s=n[0],a=this.normalizeMethods(this.getItemEvents());n[0]=t+":"+s,n.splice(1,0,e),"undefined"!=typeof a&&i.isFunction(a[s])&&a[s].apply(this,n),o.triggerMethod.apply(this,n)},this)},getItemEvents:function(){return i.isFunction(this.itemEvents)?this.itemEvents.call(this):this.itemEvents},renderItemView:function(e,t){e.render(),this.appendHtml(this,e,t)},buildItemView:function(e,t,n){var o=i.extend({model:e},n);return new t(o)},removeItemView:function(e){var t=this.children.findByModel(e);this.removeChildView(t),this.checkEmpty()},removeChildView:function(e){e&&(this.stopListening(e),e.close?e.close():e.remove&&e.remove(),this.children.remove(e)),this.triggerMethod("item:removed",e)},isEmpty:function(e){return!this.collection||0===this.collection.length},checkEmpty:function(){this.isEmpty(this.collection)&&this.showEmptyView()},appendBuffer:function(e,t){e.$el.append(t)},appendHtml:function(e,t,i){e.isBuffering?(e.elBuffer.appendChild(t.el),e._bufferedChildren.push(t)):e.$el.append(t.el)},_initChildViewStorage:function(){this.children=new t.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),o.View.prototype.close.apply(this,arguments))},closeChildren:function(){this.children.each(function(e){this.removeChildView(e)},this),this.checkEmpty()}}),o.CompositeView=o.CollectionView.extend({constructor:function(){o.CollectionView.prototype.constructor.apply(this,arguments)},_initialEvents:function(){this.once("render",function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView),this.listenTo(this.collection,"remove",this.removeItemView),this.listenTo(this.collection,"reset",this._renderChildren))})},getItemView:function(e){var t=o.getOption(this,"itemView")||this.constructor;return t||n("An `itemView` must be specified","NoItemViewError"),t},serializeData:function(){var e={};return this.model&&(e=this.model.toJSON()),e},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var e=this.renderModel();return this.$el.html(e),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(this.triggerMethod("composite:collection:before:render"),o.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var e={};e=this.serializeData(),e=this.mixinTemplateHelpers(e);var t=this.getTemplate();return o.Renderer.render(t,e)},appendBuffer:function(e,t){var i=this.getItemViewContainer(e);i.append(t)},appendHtml:function(e,t,i){if(e.isBuffering)e.elBuffer.appendChild(t.el),e._bufferedChildren.push(t);else{var n=this.getItemViewContainer(e);n.append(t.el)}},getItemViewContainer:function(e){if("$itemViewContainer"in e)return e.$itemViewContainer;var t,r=o.getOption(e,"itemViewContainer");if(r){var s=i.isFunction(r)?r.call(this):r;t=e.$(s),t.length<=0&&n("The specified `itemViewContainer` was not found: "+e.itemViewContainer,"ItemViewContainerMissingError")}else t=e.$el;return e.$itemViewContainer=t,t},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),o.Layout=o.ItemView.extend({regionType:o.Region,constructor:function(e){e=e||{},this._firstRender=!0,this._initializeRegions(e),o.ItemView.prototype.constructor.call(this,e)},render:function(){return this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions(),o.ItemView.prototype.render.apply(this,arguments)},close:function(){this.isClosed||(this.regionManager.close(),o.ItemView.prototype.close.apply(this,arguments))},addRegion:function(e,t){var i={};return i[e]=t,this._buildRegions(i)[e]},addRegions:function(e){return this.regions=i.extend({},this.regions,e),this._buildRegions(e)},removeRegion:function(e){return delete this.regions[e],this.regionManager.removeRegion(e)},_buildRegions:function(e){var t=this,i={regionType:o.getOption(this,"regionType"),parentEl:function(){return t.$el}};return this.regionManager.addRegions(e,i);
},_initializeRegions:function(e){var t;this._initRegionManager(),t=i.isFunction(this.regions)?this.regions(e):this.regions||{},this.addRegions(t)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(e){e.reset()})},_initRegionManager:function(){this.regionManager=new o.RegionManager,this.listenTo(this.regionManager,"region:add",function(e,t){this[e]=t,this.trigger("region:add",e,t)}),this.listenTo(this.regionManager,"region:remove",function(e,t){delete this[e],this.trigger("region:remove",e,t)})}}),o.Behavior=function(e,t){function i(t,i){this.view=i,this.defaults=e.result(this,"defaults")||{},this.options=e.extend({},this.defaults,t),this.$=function(){return this.view.$.apply(this.view,arguments)},this.initialize.apply(this,arguments)}return e.extend(i.prototype,{initialize:function(){},triggerMethod:o.triggerMethod}),e.extend(i,{extend:t.View.extend}),i}(i,t),o.Behaviors=function(e,t){function i(e){this.behaviors=i.parseBehaviors(e,e.behaviors),i.wrap(e,this.behaviors,["bindUIElements","unbindUIElements","delegateEvents","undelegateEvents","onShow","onClose","behaviorEvents","triggerMethod","setElement"])}var n={setElement:function(e,i){e.apply(this,t.tail(arguments,2)),t.each(i,function(e){e.$el=this.$el},this)},onShow:function(i,n){var o=t.tail(arguments,2);t.each(n,function(t){e.triggerMethod.apply(t,["show"].concat(o))}),t.isFunction(i)&&i.apply(this,o)},onClose:function(i,n){var o=t.tail(arguments,2);t.each(n,function(t){e.triggerMethod.apply(t,["close"].concat(o))}),t.isFunction(i)&&i.apply(this,o)},bindUIElements:function(e,i){e.apply(this),t.invoke(i,e)},unbindUIElements:function(e,i){e.apply(this),t.invoke(i,e)},triggerMethod:function(e,i){var n=t.tail(arguments,2);e.apply(this,n),t.each(i,function(t){e.apply(t,n)})},delegateEvents:function(i,n){var o=t.tail(arguments,2);i.apply(this,o),t.each(n,function(t){e.bindEntityEvents(this,this.model,e.getOption(t,"modelEvents")),e.bindEntityEvents(this,this.collection,e.getOption(t,"collectionEvents"))},this)},undelegateEvents:function(i,n){var o=t.tail(arguments,2);i.apply(this,o),t.each(n,function(t){e.unbindEntityEvents(this,this.model,e.getOption(t,"modelEvents")),e.unbindEntityEvents(this,this.collection,e.getOption(t,"collectionEvents"))},this)},behaviorEvents:function(i,n){var o={},r=t.result(this,"ui");return t.each(n,function(i,n){var s={},a=t.result(i,"events")||{},l=t.result(i,"ui"),u=t.extend({},r,l);a=e.normalizeUIKeys(a,u),t.each(t.keys(a),function(e){var o=new Array(n+2).join(" "),r=e+o,l=t.isFunction(a[e])?a[e]:i[a[e]];s[r]=t.bind(l,i)}),o=t.extend(o,s)}),o}};return t.extend(i,{behaviorsLookup:function(){throw new Error("You must define where your behaviors are stored. See https://github.com/marionettejs/backbone.marionette/blob/master/docs/marionette.behaviors.md#behaviorslookup")},getBehaviorClass:function(e,n){return e.behaviorClass?e.behaviorClass:t.isFunction(i.behaviorsLookup)?i.behaviorsLookup.apply(this,arguments)[n]:i.behaviorsLookup[n]},parseBehaviors:function(e,n){return t.map(n,function(t,n){var o=i.getBehaviorClass(t,n);return new o(t,e)})},wrap:function(e,i,o){t.each(o,function(o){e[o]=t.partial(n[o],e[o],i)})}}),i}(o,i),o.AppRouter=t.Router.extend({constructor:function(e){t.Router.prototype.constructor.apply(this,arguments),this.options=e||{};var i=o.getOption(this,"appRoutes"),n=this._getController();this.processAppRoutes(n,i)},appRoute:function(e,t){var i=this._getController();this._addAppRoute(i,e,t)},processAppRoutes:function(e,t){if(t){var n=i.keys(t).reverse();i.each(n,function(i){this._addAppRoute(e,i,t[i])},this)}},_getController:function(){return o.getOption(this,"controller")},_addAppRoute:function(e,t,o){var r=e[o];r||n("Method '"+o+"' was not found on the controller"),this.route(t,o,i.bind(r,e))}}),o.Application=function(e){this._initRegionManager(),this._initCallbacks=new o.Callbacks,this.vent=new t.Wreqr.EventAggregator,this.commands=new t.Wreqr.Commands,this.reqres=new t.Wreqr.RequestResponse,this.submodules={},i.extend(this,e),this.triggerMethod=o.triggerMethod},i.extend(o.Application.prototype,t.Events,{execute:function(){this.commands.execute.apply(this.commands,arguments)},request:function(){return this.reqres.request.apply(this.reqres,arguments)},addInitializer:function(e){this._initCallbacks.add(e)},start:function(e){this.triggerMethod("initialize:before",e),this._initCallbacks.run(e,this),this.triggerMethod("initialize:after",e),this.triggerMethod("start",e)},addRegions:function(e){return this._regionManager.addRegions(e)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(e){this._regionManager.removeRegion(e)},getRegion:function(e){return this._regionManager.get(e)},module:function(e,t){var i=o.Module.getClass(t),n=r.call(arguments);return n.unshift(this),i.create.apply(i,n)},_initRegionManager:function(){this._regionManager=new o.RegionManager,this.listenTo(this._regionManager,"region:add",function(e,t){this[e]=t}),this.listenTo(this._regionManager,"region:remove",function(e,t){delete this[e]})}}),o.Application.extend=o.extend,o.Module=function(e,t,n){this.moduleName=e,this.options=i.extend({},this.options,n),this.initialize=n.initialize||this.initialize,this.submodules={},this._setupInitializersAndFinalizers(),this.app=t,this.startWithParent=!0,this.triggerMethod=o.triggerMethod,i.isFunction(this.initialize)&&this.initialize(this.options,e,t)},o.Module.extend=o.extend,i.extend(o.Module.prototype,t.Events,{initialize:function(){},addInitializer:function(e){this._initializerCallbacks.add(e)},addFinalizer:function(e){this._finalizerCallbacks.add(e)},start:function(e){this._isInitialized||(i.each(this.submodules,function(t){t.startWithParent&&t.start(e)}),this.triggerMethod("before:start",e),this._initializerCallbacks.run(e,this),this._isInitialized=!0,this.triggerMethod("start",e))},stop:function(){this._isInitialized&&(this._isInitialized=!1,o.triggerMethod.call(this,"before:stop"),i.each(this.submodules,function(e){e.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),o.triggerMethod.call(this,"stop"))},addDefinition:function(e,t){this._runModuleDefinition(e,t)},_runModuleDefinition:function(e,n){if(e){var r=i.flatten([this,this.app,t,o,o.$,i,n]);e.apply(this,r)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new o.Callbacks,this._finalizerCallbacks=new o.Callbacks}}),i.extend(o.Module,{create:function(e,t,n){var o=e,s=r.call(arguments);s.splice(0,3),t=t.split(".");var a=t.length,l=[];return l[a-1]=n,i.each(t,function(t,i){var r=o;o=this._getModule(r,t,e,n),this._addModuleDefinition(r,o,l[i],s)},this),o},_getModule:function(e,t,n,o,r){var s=i.extend({},o),a=this.getClass(o),l=e[t];return l||(l=new a(t,n,s),e[t]=l,e.submodules[t]=l),l},getClass:function(e){var t=o.Module;return e?e.prototype instanceof t?e:e.moduleClass||t:t},_addModuleDefinition:function(e,t,i,n){var o=this._getDefine(i),r=this._getStartWithParent(i,t);o&&t.addDefinition(o,n),this._addStartWithParent(e,t,r)},_getStartWithParent:function(e,t){var n;return i.isFunction(e)&&e.prototype instanceof o.Module?(n=t.constructor.prototype.startWithParent,!!i.isUndefined(n)||n):!i.isObject(e)||(n=e.startWithParent,!!i.isUndefined(n)||n)},_getDefine:function(e){return!i.isFunction(e)||e.prototype instanceof o.Module?i.isObject(e)?e.define:null:e},_addStartWithParent:function(e,t,i){t.startWithParent=t.startWithParent&&i,t.startWithParent&&!t.startWithParentIsConfigured&&(t.startWithParentIsConfigured=!0,e.addInitializer(function(e){t.startWithParent&&t.start(e)}))}}),o}(this,t,e);return t.Marionette})},69:function(e,t,i){!function(t){if(0){if("function"==typeof define&&define.amd)define(["underscore","backbone"],t);else if("undefined"!=typeof _&&"undefined"!=typeof Backbone){var n=Backbone.PageableCollection,o=t(_,Backbone);Backbone.PageableCollection.noConflict=function(){return Backbone.PageableCollection=n,o}}}else e.exports=t(i(3),i(5))}(function(e,t){"use strict";function i(t,i){if(!e.isNumber(t)||e.isNaN(t)||!e.isFinite(t)||~~t!==t)throw new TypeError("`"+i+"` must be a finite integer");return t}function n(e){for(var t,i,n,o,r={},s=decodeURIComponent,a=e.split("&"),l=0,u=a.length;l<u;l++){var c=a[l];t=c.split("="),i=t[0],n=t[1]||!0,i=s(i),n=s(n),o=r[i],p(o)?o.push(n):o?r[i]=[o,n]:r[i]=n}return r}function o(e,t,i){var n=e._events[t];if(n&&n.length){var o=n[n.length-1],r=o.callback;o.callback=function(){try{r.apply(this,arguments),i()}catch(e){throw e}finally{o.callback=r}}}else i()}var r=e.extend,s=e.omit,a=e.clone,l=e.each,u=e.pick,c=e.contains,d=e.isEmpty,h=e.pairs,f=e.invert,p=e.isArray,m=e.isFunction,g=e.isObject,v=e.keys,y=e.isUndefined,b=e.result,w=Math.ceil,T=Math.floor,S=Math.max,_=t.Collection.prototype,M=/[\s'"]/g,C=/[<>\s'"]/g,P=t.PageableCollection=t.Collection.extend({state:{firstPage:1,lastPage:null,currentPage:null,pageSize:25,totalPages:null,totalRecords:null,sortKey:null,order:-1},mode:"server",queryParams:{currentPage:"page",pageSize:"per_page",totalPages:"total_pages",totalRecords:"total_entries",sortKey:"sort_by",order:"order",directions:{"-1":"asc",1:"desc"}},constructor:function(e,t){_.constructor.apply(this,arguments),t=t||{};var i=this.mode=t.mode||this.mode||x.mode,n=r({},x.queryParams,this.queryParams,t.queryParams||{});n.directions=r({},x.queryParams.directions,this.queryParams.directions,n.directions||{}),this.queryParams=n;var o=this.state=r({},x.state,this.state,t.state||{});o.currentPage=null==o.currentPage?o.firstPage:o.currentPage,p(e)||(e=e?[e]:[]),"server"==i||null!=o.totalRecords||d(e)||(o.totalRecords=e.length),this.switchMode(i,r({fetch:!1,resetState:!1,models:e},t));var s=t.comparator;if(o.sortKey&&!s&&this.setSorting(o.sortKey,o.order,t),"server"!=i){var l=this.fullCollection;s&&t.full&&(this.comparator=null,l.comparator=s),t.full&&l.sort(),e&&!d(e)&&(this.reset([].slice.call(e),r({silent:!0},t)),this.getPage(o.currentPage),e.splice.apply(e,[0,e.length].concat(this.models)))}this._initState=a(this.state)},_makeFullCollection:function(e,i){var n=["url","model","sync","comparator"],o=this.constructor.prototype,r,s,a,l={};for(r=0,s=n.length;r<s;r++)a=n[r],y(o[a])||(l[a]=o[a]);var u=new(t.Collection.extend(l))(e,i);for(r=0,s=n.length;r<s;r++)a=n[r],this[a]!==o[a]&&(u[a]=this[a]);return u},_makeCollectionEventHandler:function(e,t){return function i(n,s,u,c){var d=e._handlers;l(v(d),function(i){var n=d[i];e.off(i,n),t.off(i,n)});var h=a(e.state),f=h.firstPage,p=0===f?h.currentPage:h.currentPage-1,m=h.pageSize,g=p*m,b=g+m;if("add"==n){var T,S,_,M,c=c||{};if(u==t)S=t.indexOf(s),S>=g&&S<b&&(M=e,T=_=S-g);else{T=e.indexOf(s),S=g+T,M=t;var _=y(c.at)?S:c.at+g}if(c.onRemove||(++h.totalRecords,delete c.onRemove),e.state=e._checkState(h),M){M.add(s,r({},c||{},{at:_}));var C=T>=m?s:!y(c.at)&&_<b&&e.length>m?e.at(m):null;C&&o(u,n,function(){e.remove(C,{onAdd:!0})})}}if("remove"==n)if(c.onAdd)delete c.onAdd;else{if(--h.totalRecords){var P=h.totalPages=w(h.totalRecords/m);h.lastPage=0===f?P-1:P||f,h.currentPage>P&&(h.currentPage=h.lastPage)}else h.totalRecords=null,h.totalPages=null;e.state=e._checkState(h);var x,A=c.index;u==e?((x=t.at(b))&&o(e,n,function(){e.push(x,{onRemove:!0})}),t.remove(s)):A>=g&&A<b&&((x=t.at(b-1))&&o(e,n,function(){e.push(x,{onRemove:!0})}),e.remove(s))}if("reset"==n)if(c=u,u=s,u==e&&null==c.from&&null==c.to){var k=t.models.slice(0,g),E=t.models.slice(g+e.models.length);t.reset(k.concat(e.models).concat(E),c)}else u==t&&((h.totalRecords=t.models.length)||(h.totalRecords=null,h.totalPages=null),"client"==e.mode&&(h.lastPage=h.currentPage=h.firstPage),e.state=e._checkState(h),e.reset(t.models.slice(g,b),r({},c,{parse:!1})));"sort"==n&&(c=u,u=s,u===t&&e.reset(t.models.slice(g,b),r({},c,{parse:!1}))),l(v(d),function(i){var n=d[i];l([e,t],function(e){e.on(i,n);var t=e._events[i]||[];t.unshift(t.pop())})})}},_checkState:function(e){var t=this.mode,n=this.links,o=e.totalRecords,r=e.pageSize,s=e.currentPage,a=e.firstPage,l=e.totalPages;if(null!=o&&null!=r&&null!=s&&null!=a&&("infinite"!=t||n)){if(o=i(o,"totalRecords"),r=i(r,"pageSize"),s=i(s,"currentPage"),a=i(a,"firstPage"),r<1)throw new RangeError("`pageSize` must be >= 1");if(l=e.totalPages=w(o/r),a<0||a>1)throw new RangeError("`firstPage must be 0 or 1`");if(e.lastPage=0===a?S(0,l-1):l||a,"infinite"==t){if(!n[s+""])throw new RangeError("No link found for page "+s)}else if(s<a||l>0&&(a?s>l:s>=l))throw new RangeError("`currentPage` must be firstPage <= currentPage "+(a?">":">=")+" totalPages if "+a+"-based. Got "+s+".")}return e},setPageSize:function(e,t){e=i(e,"pageSize"),t=t||{first:!1};var n=this.state,o=w(n.totalRecords/e),a=o?S(n.firstPage,T(o*(n.firstPage?n.currentPage:n.currentPage+1)/n.totalPages)):n.firstPage;return n=this.state=this._checkState(r({},n,{pageSize:e,currentPage:t.first?n.firstPage:a,totalPages:o})),this.getPage(n.currentPage,s(t,["first"]))},switchMode:function(t,i){if(!c(["server","client","infinite"],t))throw new TypeError('`mode` must be one of "server", "client" or "infinite"');i=i||{fetch:!0,resetState:!0};var n=this.state=i.resetState?a(this._initState):this._checkState(r({},this.state));this.mode=t;var o=this,u=this.fullCollection,d=this._handlers=this._handlers||{},h;if("server"==t||u)"server"==t&&u&&(l(v(d),function(e){h=d[e],o.off(e,h),u.off(e,h)}),delete this._handlers,this._fullComparator=u.comparator,delete this.fullCollection);else{u=this._makeFullCollection(i.models||[],i),u.pageableCollection=this,this.fullCollection=u;var f=this._makeCollectionEventHandler(this,u);l(["add","remove","reset","sort"],function(t){d[t]=h=e.bind(f,{},t),o.on(t,h),u.on(t,h)}),u.comparator=this._fullComparator}if("infinite"==t)for(var p=this.links={},m=n.firstPage,g=w(n.totalRecords/n.pageSize),y=0===m?S(0,g-1):g||m,b=n.firstPage;b<=y;b++)p[b]=this.url;else this.links&&delete this.links;return i.fetch?this.fetch(s(i,"fetch","resetState")):this},hasPrevious:function(){var e=this.state,t=e.currentPage;return"infinite"!=this.mode?t>e.firstPage:!!this.links[t-1]},hasNext:function(){var e=this.state,t=this.state.currentPage;return"infinite"!=this.mode?t<e.lastPage:!!this.links[t+1]},getFirstPage:function(e){return this.getPage("first",e)},getPreviousPage:function(e){return this.getPage("prev",e)},getNextPage:function(e){return this.getPage("next",e)},getLastPage:function(e){return this.getPage("last",e)},getPage:function(e,t){var n=this.mode,o=this.fullCollection;t=t||{fetch:!1};var a=this.state,l=a.firstPage,u=a.currentPage,c=a.lastPage,h=a.pageSize,f=e;switch(e){case"first":f=l;break;case"prev":f=u-1;break;case"next":f=u+1;break;case"last":f=c;break;default:f=i(e,"index")}this.state=this._checkState(r({},a,{currentPage:f})),t.from=u,t.to=f;var p=(0===l?f:f-1)*h,m=o&&o.length?o.models.slice(p,p+h):[];return"client"!=n&&("infinite"!=n||d(m))||t.fetch?("infinite"==n&&(t.url=this.links[f]),this.fetch(s(t,"fetch"))):(this.reset(m,s(t,"fetch")),this)},getPageByOffset:function(e,t){if(e<0)throw new RangeError("`offset must be > 0`");e=i(e);var n=T(e/this.state.pageSize);return 0!==this.state.firstPage&&n++,n>this.state.lastPage&&(n=this.state.lastPage),this.getPage(n,t)},sync:function(e,i,n){var o=this;if("infinite"==o.mode){var s=n.success,a=o.state.currentPage;n.success=function(e,t,i){var l=o.links,u=o.parseLinks(e,r({xhr:i},n));u.first&&(l[o.state.firstPage]=u.first),u.prev&&(l[a-1]=u.prev),u.next&&(l[a+1]=u.next),s&&s(e,t,i)}}return(_.sync||t.sync).call(o,e,i,n)},parseLinks:function(e,t){var i={},n=t.xhr.getResponseHeader("Link");if(n){var o=["first","prev","next"];l(n.split(","),function(e){var t=e.split(";"),n=t[0].replace(C,""),r=t.slice(1);l(r,function(e){var t=e.split("="),r=t[0].replace(M,""),s=t[1].replace(M,"");"rel"==r&&c(o,s)&&(i[s]=n)})})}return i},parse:function(e,t){var i=this.parseState(e,a(this.queryParams),a(this.state),t);return i&&(this.state=this._checkState(r({},this.state,i))),this.parseRecords(e,t)},parseState:function(t,i,n,o){if(t&&2===t.length&&g(t[0])&&p(t[1])){var r=a(n),u=t[0];return l(h(s(i,"directions")),function(t){var i=t[0],n=t[1],o=u[n];y(o)||e.isNull(o)||(r[i]=u[n])}),u.order&&(r.order=1*f(i.directions)[u.order]),r}},parseRecords:function(e,t){return e&&2===e.length&&g(e[0])&&p(e[1])?e[1]:e},fetch:function(e){e=e||{};var t=this._checkState(this.state),i=this.mode;"infinite"!=i||e.url||(e.url=this.links[t.currentPage]);var o=e.data||{},l=b(e,"url")||b(this,"url")||"",c=l.indexOf("?");c!=-1&&(r(o,n(l.slice(c+1))),l=l.slice(0,c)),e.url=l,e.data=o;var d="client"==this.mode?u(this.queryParams,"sortKey","order"):s(u(this.queryParams,v(x.queryParams)),"directions"),f,p,g,w,T=h(d),S=a(this);for(f=0;f<T.length;f++)p=T[f],g=p[0],w=p[1],w=m(w)?w.call(S):w,null!=t[g]&&null!=w&&(o[w]=t[g]);t.sortKey&&t.order?o[d.order]=this.queryParams.directions[t.order+""]:t.sortKey||delete o[d.order];var M=h(s(this.queryParams,v(x.queryParams)));for(f=0;f<M.length;f++)p=M[f],w=p[1],w=m(w)?w.call(S):w,null!=w&&(o[p[0]]=w);if("server"!=i){var C=this,P=this.fullCollection,A=e.success;return e.success=function(t,n,o){o=o||{},y(e.silent)?delete o.silent:o.silent=e.silent;var s=t.models;"client"==i?P.reset(s,o):(P.add(s,r({at:P.length},r(o,{parse:!1}))),C.trigger("reset",C,o)),A&&A(t,n,o)},_.fetch.call(this,r({},e,{silent:!0}))}return _.fetch.call(this,e)},_makeComparator:function(e,t,i){var n=this.state;if(e=e||n.sortKey,t=t||n.order,e&&t)return i||(i=function(e,t){return e.get(t)}),function(n,o){var r=i(n,e),s=i(o,e),a;return 1===t&&(a=r,r=s,s=a),r===s?0:r<s?-1:1}},setSorting:function(t,i,n){var o=this.state;o.sortKey=t,o.order=i=i||o.order;var s=this.fullCollection,a=!1,l=!1;t||(a=l=!0);var u=this.mode;n=r({side:"client"==u?u:"server",full:!0},n);var c=this._makeComparator(t,i,n.sortValue),d=n.full,h=n.side;return"client"==h?d?(s&&(s.comparator=c),a=!0):(this.comparator=c,l=!0):"server"!=h||d||(this.comparator=c),a&&(this.comparator=null),l&&s&&(s.comparator=null),this.fetchOptions=e.extend({},this.fetchOptions,{sort:[{property:t,direction:i>0?"ASC":"DESC"}]}),this}}),x=P.prototype;return P})},70:function(e,t,i){!function(t,n){if(0)"function"==typeof define&&define.amd&&define(["underscore","backbone"],n);else{var o=i(3),r=i(5);e.exports=n(o,r)}}(this,function(e,t){"use strict";return t.Wreqr=function(e,t,i){var n={};return n.Handlers=function(e,t){var i=function(e){this.options=e,this._wreqrHandlers={},t.isFunction(this.initialize)&&this.initialize(e)};return i.extend=e.Model.extend,t.extend(i.prototype,e.Events,{setHandlers:function(e){t.each(e,function(e,i){var n=null;t.isObject(e)&&!t.isFunction(e)&&(n=e.context,e=e.callback),this.setHandler(i,e,n)},this)},setHandler:function(e,t,i){var n={callback:t,context:i};this._wreqrHandlers[e]=n,this.trigger("handler:add",e,t,i)},hasHandler:function(e){return!!this._wreqrHandlers[e]},getHandler:function(e){var t=this._wreqrHandlers[e];if(!t)throw new Error("Handler not found for '"+e+"'");return function(){var e=Array.prototype.slice.apply(arguments);return t.callback.apply(t.context,e)}},removeHandler:function(e){delete this._wreqrHandlers[e]},removeAllHandlers:function(){this._wreqrHandlers={}}}),i}(e,i),n.CommandStorage=function(){var t=function(e){this.options=e,this._commands={},i.isFunction(this.initialize)&&this.initialize(e)};return i.extend(t.prototype,e.Events,{getCommands:function(e){var t=this._commands[e];return t||(t={command:e,instances:[]},this._commands[e]=t),t},addCommand:function(e,t){var i=this.getCommands(e);i.instances.push(t)},clearCommands:function(e){var t=this.getCommands(e);t.instances=[]}}),t}(),n.Commands=function(e){return e.Handlers.extend({storageType:e.CommandStorage,constructor:function(t){this.options=t||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this);var i=Array.prototype.slice.call(arguments);e.Handlers.prototype.constructor.apply(this,i)},execute:function(e,t){e=arguments[0],t=Array.prototype.slice.call(arguments,1),this.hasHandler(e)?this.getHandler(e).apply(this,t):this.storage.addCommand(e,t)},_executeCommands:function(e,t,n){var o=this.storage.getCommands(e);i.each(o.instances,function(e){t.apply(n,e)}),this.storage.clearCommands(e)},_initializeStorage:function(e){var t,n=e.storageType||this.storageType;t=i.isFunction(n)?new n:n,this.storage=t}})}(n),n.RequestResponse=function(e){return e.Handlers.extend({request:function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return this.getHandler(e).apply(this,t)}})}(n),n.EventAggregator=function(e,t){var i=function(){};return i.extend=e.Model.extend,t.extend(i.prototype,e.Events),i}(e,i),n}(t,t.Marionette,e),t.Wreqr})},71:function(e,t,n){(function(e){function t(){o.YouTubeApi.iFrameReady()}function n(e){o.YouTubeApi.flashReady(e)}var o=o||{};o.version="2.9.5",o.meIndex=0,o.plugins={silverlight:[{version:[3,0],types:["video/mp4","video/m4v","video/mov","video/wmv","audio/wma","audio/m4a","audio/mp3","audio/wav","audio/mpeg"]}],flash:[{version:[9,0,124],types:["video/mp4","video/m4v","video/mov","video/flv","video/rtmp","video/x-flv","audio/flv","audio/x-flv","audio/mp3","audio/m4a","audio/mpeg","video/youtube","video/x-youtube"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo"]}]},o.Utility={encodeUrl:function(e){return encodeURIComponent(e)},escapeHTML:function(e){return e.toString().split("&").join("&amp;").split("<").join("&lt;").split('"').join("&quot;")},absolutizeUrl:function(e){var t=document.createElement("div");return t.innerHTML='<a href="'+this.escapeHTML(e)+'">x</a>',t.firstChild.href},getScriptPath:function(e){for(var t=0,i,n="",o="",r,s=document.getElementsByTagName("script"),a=s.length,l=e.length;t<a;t++){for(r=s[t].src,i=0;i<l;i++)if(o=e[i],r.indexOf(o)>-1){n=r.substring(0,r.indexOf(o));break}if(""!==n)break}return n},secondsToTimeCode:function(e,t,i,n){"undefined"==typeof i?i=!1:"undefined"==typeof n&&(n=25);var o=Math.floor(e/3600)%24,r=Math.floor(e/60)%60,s=Math.floor(e%60);return e=Math.floor((e%1*n).toFixed(3)),(t||o>0?(o<10?"0"+o:o)+":":"")+(r<10?"0"+r:r)+":"+(s<10?"0"+s:s)+(i?":"+(e<10?"0"+e:e):"")},timeCodeToSeconds:function(e,t,i,n){"undefined"==typeof i?i=!1:"undefined"==typeof n&&(n=25),e=e.split(":"),t=parseInt(e[0],10);var o=parseInt(e[1],10),r=parseInt(e[2],10),s=0,a=0;return i&&(s=parseInt(e[3])/n),a=3600*t+60*o+r+s},convertSMPTEtoSeconds:function(e){if("string"!=typeof e)return!1;e=e.replace(",",".");var t=0,i=e.indexOf(".")!=-1?e.split(".")[1].length:0,n=1;e=e.split(":").reverse();for(var o=0;o<e.length;o++)n=1,o>0&&(n=Math.pow(60,o)),t+=Number(e[o])*n;return Number(t.toFixed(i))},removeSwf:function(e){var t=document.getElementById(e);t&&"OBJECT"==t.nodeName&&(o.MediaFeatures.isIE?(t.style.display="none",function(){4==t.readyState?o.Utility.removeObjectInIE(e):setTimeout(arguments.callee,10)}()):t.parentNode.removeChild(t))},removeObjectInIE:function(e){if(e=document.getElementById(e)){for(var t in e)"function"==typeof e[t]&&(e[t]=null);e.parentNode.removeChild(e)}}},o.PluginDetector={hasPluginVersion:function(e,t){var i=this.plugins[e];return t[1]=t[1]||0,t[2]=t[2]||0,i[0]>t[0]||i[0]==t[0]&&i[1]>t[1]||i[0]==t[0]&&i[1]==t[1]&&i[2]>=t[2]},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(e,t,i,n,o){this.plugins[e]=this.detectPlugin(t,i,n,o)},detectPlugin:function(e,t,i,n){var o=[0,0,0],r;if("undefined"!=typeof this.nav.plugins&&"object"==typeof this.nav.plugins[e]){if((i=this.nav.plugins[e].description)&&("undefined"==typeof this.nav.mimeTypes||!this.nav.mimeTypes[t]||this.nav.mimeTypes[t].enabledPlugin))for(o=i.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),e=0;e<o.length;e++)o[e]=parseInt(o[e].match(/\d+/),10)}else if("undefined"!=typeof window.ActiveXObject)try{(r=new ActiveXObject(i))&&(o=n(r))}catch(e){}return o}},o.PluginDetector.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(e){var t=[];return(e=e.GetVariable("$version"))&&(e=e.split(" ")[1].split(","),t=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]),t}),o.PluginDetector.addPlugin("silverlight","Silverlight Plug-In","application/x-silverlight-2","AgControl.AgControl",function(e){var t=[0,0,0,0],i=function(e,t,i,n){for(;e.isVersionSupported(t[0]+"."+t[1]+"."+t[2]+"."+t[3]);)t[i]+=n;t[i]-=n};return i(e,t,0,1),i(e,t,1,1),i(e,t,2,1e4),i(e,t,2,1e3),i(e,t,2,100),i(e,t,2,10),i(e,t,2,1),i(e,t,3,1),t}),o.MediaFeatures={init:function(){var e=this,t=document,i=o.PluginDetector.nav,n=o.PluginDetector.ua.toLowerCase(),r,s=["source","track","audio","video"];e.isiPad=null!==n.match(/ipad/i),e.isiPhone=null!==n.match(/iphone/i),e.isiOS=e.isiPhone||e.isiPad,e.isAndroid=null!==n.match(/android/i),e.isBustedAndroid=null!==n.match(/android 2\.[12]/),e.isIE=i.appName.toLowerCase().indexOf("microsoft")!=-1,e.isChrome=null!==n.match(/chrome/gi),e.isFirefox=null!==n.match(/firefox/gi),e.isWebkit=null!==n.match(/webkit/gi),e.isGecko=null!==n.match(/gecko/gi)&&!e.isWebkit,e.isOpera=null!==n.match(/opera/gi),e.hasTouch="ontouchstart"in window;for(i=0;i<s.length;i++)r=document.createElement(s[i]);e.supportsMediaTag="undefined"!=typeof r.canPlayType||e.isBustedAndroid,e.hasSemiNativeFullScreen="undefined"!=typeof r.webkitEnterFullscreen,e.hasWebkitNativeFullScreen="undefined"!=typeof r.webkitRequestFullScreen,e.hasMozNativeFullScreen="undefined"!=typeof r.mozRequestFullScreen,e.hasTrueNativeFullScreen=e.hasWebkitNativeFullScreen||e.hasMozNativeFullScreen,e.nativeFullScreenEnabled=e.hasTrueNativeFullScreen,e.hasMozNativeFullScreen&&(e.nativeFullScreenEnabled=r.mozFullScreenEnabled),this.isChrome&&(e.hasSemiNativeFullScreen=!1),e.hasTrueNativeFullScreen&&(e.fullScreenEventName=e.hasWebkitNativeFullScreen?"webkitfullscreenchange":"mozfullscreenchange",e.isFullScreen=function(){return r.mozRequestFullScreen?t.mozFullScreen:r.webkitRequestFullScreen?t.webkitIsFullScreen:void 0},e.requestFullScreen=function(t){e.hasWebkitNativeFullScreen?t.webkitRequestFullScreen():e.hasMozNativeFullScreen&&t.mozRequestFullScreen()},e.cancelFullScreen=function(){e.hasWebkitNativeFullScreen?document.webkitCancelFullScreen():e.hasMozNativeFullScreen&&document.mozCancelFullScreen()}),e.hasSemiNativeFullScreen&&n.match(/mac os x 10_5/i)&&(e.hasNativeFullScreen=!1,e.hasSemiNativeFullScreen=!1)}},o.MediaFeatures.init(),o.HtmlMediaElement={pluginType:"native",isFullScreen:!1,setCurrentTime:function(e){this.currentTime=e},setMuted:function(e){this.muted=e},setVolume:function(e){this.volume=e},stop:function(){this.pause()},setSrc:function(e){for(var t=this.getElementsByTagName("source");t.length>0;)this.removeChild(t[0]);if("string"==typeof e)this.src=e;else{var i;for(t=0;t<e.length;t++)i=e[t],this.canPlayType(i.type)&&(this.src=i.src)}},setVideoSize:function(e,t){this.width=e,this.height=t}},o.PluginMediaElement=function(e,t,i){this.id=e,this.pluginType=t,this.src=i,this.events={}},o.PluginMediaElement.prototype={pluginElement:null,pluginType:"",isFullScreen:!1,playbackRate:-1,defaultPlaybackRate:-1,seekable:[],played:[],paused:!0,ended:!1,seeking:!1,duration:0,error:null,tagName:"",muted:!1,volume:1,currentTime:0,play:function(){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.playVideo():this.pluginApi.playMedia(),this.paused=!1)},load:function(){null!=this.pluginApi&&("youtube"!=this.pluginType&&this.pluginApi.loadMedia(),this.paused=!1)},pause:function(){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.pauseVideo():this.pluginApi.pauseMedia(),this.paused=!0)},stop:function(){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.stopVideo():this.pluginApi.stopMedia(),this.paused=!0)},canPlayType:function(e){var t,i,n,r=o.plugins[this.pluginType];for(t=0;t<r.length;t++)if(n=r[t],o.PluginDetector.hasPluginVersion(this.pluginType,n.version))for(i=0;i<n.types.length;i++)if(e==n.types[i])return!0;return!1},positionFullscreenButton:function(e,t,i){null!=this.pluginApi&&this.pluginApi.positionFullscreenButton&&this.pluginApi.positionFullscreenButton(e,t,i)},hideFullscreenButton:function(){null!=this.pluginApi&&this.pluginApi.hideFullscreenButton&&this.pluginApi.hideFullscreenButton()},setSrc:function(e){if("string"==typeof e)this.pluginApi.setSrc(o.Utility.absolutizeUrl(e)),this.src=o.Utility.absolutizeUrl(e);else{var t,i;for(t=0;t<e.length;t++)i=e[t],this.canPlayType(i.type)&&(this.pluginApi.setSrc(o.Utility.absolutizeUrl(i.src)),this.src=o.Utility.absolutizeUrl(e))}},setCurrentTime:function(e){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.seekTo(e):this.pluginApi.setCurrentTime(e),this.currentTime=e)},setVolume:function(e){null!=this.pluginApi&&("youtube"==this.pluginType?this.pluginApi.setVolume(100*e):this.pluginApi.setVolume(e),this.volume=e)},setMuted:function(e){null!=this.pluginApi&&("youtube"==this.pluginType?(e?this.pluginApi.mute():this.pluginApi.unMute(),this.muted=e,this.dispatchEvent("volumechange")):this.pluginApi.setMuted(e),this.muted=e)},setVideoSize:function(e,t){this.pluginElement.style&&(this.pluginElement.style.width=e+"px",this.pluginElement.style.height=t+"px"),null!=this.pluginApi&&this.pluginApi.setVideoSize&&this.pluginApi.setVideoSize(e,t)},setFullscreen:function(e){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.pluginApi.setFullscreen(e)},enterFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!0)},exitFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!1)},addEventListener:function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},removeEventListener:function(e,t){if(!e)return this.events={},!0;var n=this.events[e];if(!n)return!0;if(!t)return this.events[e]=[],!0;for(i=0;i<n.length;i++)if(n[i]===t)return this.events[e].splice(i,1),!0;return!1},dispatchEvent:function(e){var t,i,n=this.events[e];if(n)for(i=Array.prototype.slice.call(arguments,1),t=0;t<n.length;t++)n[t].apply(null,i)},attributes:{},hasAttribute:function(e){return e in this.attributes},removeAttribute:function(e){delete this.attributes[e]},getAttribute:function(e){return this.hasAttribute(e)?this.attributes[e]:""},setAttribute:function(e,t){this.attributes[e]=t},remove:function(){o.Utility.removeSwf(this.pluginElement.id)}},o.MediaPluginBridge={pluginMediaElements:{},htmlMediaElements:{},registerPluginElement:function(e,t,i){this.pluginMediaElements[e]=t,this.htmlMediaElements[e]=i},initPlugin:function(e){var t=this.pluginMediaElements[e],i=this.htmlMediaElements[e];if(t){switch(t.pluginType){case"flash":t.pluginElement=t.pluginApi=document.getElementById(e);break;case"silverlight":t.pluginElement=document.getElementById(t.id),t.pluginApi=t.pluginElement.Content.MediaElementJS}null!=t.pluginApi&&t.success&&t.success(t,i)}},fireEvent:function(e,t,i){var n,o;e=this.pluginMediaElements[e],e.ended=!1,e.paused=!0,t={type:t,target:e};for(n in i)e[n]=i[n],t[n]=i[n];o=i.bufferedTime||0,t.target.buffered=t.buffered={start:function(){return 0},end:function(){return o},length:1},e.dispatchEvent(t.type,t)}},o.MediaElementDefaults={mode:"auto",plugins:["flash","silverlight","youtube","vimeo"],enablePluginDebug:!1,type:"",pluginPath:o.Utility.getScriptPath(["mediaelement.js","mediaelement.min.js","mediaelement-and-player.js","mediaelement-and-player.min.js"]),flashName:"flashmediaelement.swf",flashStreamer:"",enablePluginSmoothing:!1,silverlightName:"silverlightmediaelement.xap",defaultVideoWidth:480,defaultVideoHeight:270,pluginWidth:-1,pluginHeight:-1,pluginVars:[],timerRate:250,startVolume:.8,success:function(){},error:function(){}},o.MediaElement=function(e,t){return o.HtmlMediaElementShim.create(e,t)},o.HtmlMediaElementShim={create:function(e,t){var i=o.MediaElementDefaults,n="string"==typeof e?document.getElementById(e):e,r=n.tagName.toLowerCase(),s="audio"===r||"video"===r,a=s?n.getAttribute("src"):n.getAttribute("href");r=n.getAttribute("poster");var l=n.getAttribute("autoplay"),u=n.getAttribute("preload"),c=n.getAttribute("controls"),d;
for(d in t)i[d]=t[d];return a="undefined"==typeof a||null===a||""==a?null:a,r="undefined"==typeof r||null===r?"":r,u="undefined"==typeof u||null===u||"false"===u?"none":u,l=!("undefined"==typeof l||null===l||"false"===l),c=!("undefined"==typeof c||null===c||"false"===c),d=this.determinePlayback(n,i,o.MediaFeatures.supportsMediaTag,s,a),d.url=null!==d.url?o.Utility.absolutizeUrl(d.url):"","native"==d.method?(o.MediaFeatures.isBustedAndroid&&(n.src=d.url,n.addEventListener("click",function(){n.play()},!1)),this.updateNative(d,i,l,u)):""!==d.method?this.createPlugin(d,i,r,l,u,c):(this.createErrorMessage(d,i,r),this)},determinePlayback:function(e,t,i,n,r){var s=[],a,l,u={method:"",url:"",htmlMediaElement:e,isVideo:"audio"!=e.tagName.toLowerCase()},c,d;if("undefined"!=typeof t.type&&""!==t.type)if("string"==typeof t.type)s.push({type:t.type,url:r});else for(a=0;a<t.type.length;a++)s.push({type:t.type[a],url:r});else if(null!==r)l=this.formatType(r,e.getAttribute("type")),s.push({type:l,url:r});else for(a=0;a<e.childNodes.length;a++)l=e.childNodes[a],1==l.nodeType&&"source"==l.tagName.toLowerCase()&&(r=l.getAttribute("src"),l=this.formatType(r,l.getAttribute("type")),s.push({type:l,url:r}));if(!n&&s.length>0&&null!==s[0].url&&this.getTypeFromFile(s[0].url).indexOf("audio")>-1&&(u.isVideo=!1),o.MediaFeatures.isBustedAndroid&&(e.canPlayType=function(e){return null!==e.match(/video\/(mp4|m4v)/gi)?"maybe":""}),i&&("auto"===t.mode||"auto_plugin"===t.mode||"native"===t.mode)){for(n||(a=document.createElement(u.isVideo?"video":"audio"),e.parentNode.insertBefore(a,e),e.style.display="none",u.htmlMediaElement=e=a),a=0;a<s.length;a++)if(""!==e.canPlayType(s[a].type).replace(/no/,"")||""!==e.canPlayType(s[a].type.replace(/mp3/,"mpeg")).replace(/no/,"")){u.method="native",u.url=s[a].url;break}if("native"===u.method&&(null!==u.url&&(e.src=u.url),"auto_plugin"!==t.mode))return u}if("auto"===t.mode||"auto_plugin"===t.mode||"shim"===t.mode)for(a=0;a<s.length;a++)for(l=s[a].type,e=0;e<t.plugins.length;e++)for(r=t.plugins[e],c=o.plugins[r],i=0;i<c.length;i++)if(d=c[i],null==d.version||o.PluginDetector.hasPluginVersion(r,d.version))for(n=0;n<d.types.length;n++)if(l==d.types[n])return u.method=r,u.url=s[a].url,u;return"auto_plugin"===t.mode&&"native"===u.method?u:(""===u.method&&s.length>0&&(u.url=s[0].url),u)},formatType:function(e,t){return e&&!t?this.getTypeFromFile(e):t&&~t.indexOf(";")?t.substr(0,t.indexOf(";")):t},getTypeFromFile:function(e){return e=e.substring(e.lastIndexOf(".")+1),(/(mp4|m4v|ogg|ogv|webm|webmv|flv|wmv|mpeg|mov)/gi.test(e)?"video":"audio")+"/"+this.getTypeFromExtension(e)},getTypeFromExtension:function(e){switch(e){case"mp4":case"m4v":return"mp4";case"webm":case"webma":case"webmv":return"webm";case"ogg":case"oga":case"ogv":return"ogg";default:return e}},createErrorMessage:function(e,t,i){var n=e.htmlMediaElement,o=document.createElement("div");o.className="me-cannotplay";try{o.style.width=n.width+"px",o.style.height=n.height+"px"}catch(e){}o.innerHTML=""!==i?'<a href="'+e.url+'"><img src="'+i+'" width="100%" height="100%" /></a>':'<a href="'+e.url+'"><span>Download File</span></a>',n.parentNode.insertBefore(o,n),n.style.display="none",t.error(n)},createPlugin:function(e,t,i,n,r,s){i=e.htmlMediaElement;var a=1,l=1,u="me_"+e.method+"_"+o.meIndex++,c=new o.PluginMediaElement(u,e.method,e.url),d=document.createElement("div"),h;for(c.tagName=i.tagName,h=0;h<i.attributes.length;h++){var f=i.attributes[h];1==f.specified&&c.setAttribute(f.name,f.value)}for(h=i.parentNode;null!==h&&"body"!=h.tagName.toLowerCase();){if("p"==h.parentNode.tagName.toLowerCase()){h.parentNode.parentNode.insertBefore(h,h.parentNode);break}h=h.parentNode}switch(e.isVideo?(a=t.videoWidth>0?t.videoWidth:null!==i.getAttribute("width")?i.getAttribute("width"):t.defaultVideoWidth,l=t.videoHeight>0?t.videoHeight:null!==i.getAttribute("height")?i.getAttribute("height"):t.defaultVideoHeight,a=o.Utility.encodeUrl(a),l=o.Utility.encodeUrl(l)):t.enablePluginDebug&&(a=320,l=240),c.success=t.success,o.MediaPluginBridge.registerPluginElement(u,c,i),d.className="me-plugin",d.id=u+"_container",e.isVideo?i.parentNode.insertBefore(d,i):document.body.insertBefore(d,document.body.childNodes[0]),n=["id="+u,"isvideo="+(e.isVideo?"true":"false"),"autoplay="+(n?"true":"false"),"preload="+r,"width="+a,"startvolume="+t.startVolume,"timerrate="+t.timerRate,"flashstreamer="+t.flashStreamer,"height="+l],null!==e.url&&("flash"==e.method?n.push("file="+o.Utility.encodeUrl(e.url)):n.push("file="+e.url)),t.enablePluginDebug&&n.push("debug=true"),t.enablePluginSmoothing&&n.push("smoothing=true"),s&&n.push("controls=true"),t.pluginVars&&(n=n.concat(t.pluginVars)),e.method){case"silverlight":d.innerHTML='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="'+u+'" name="'+u+'" width="'+a+'" height="'+l+'"><param name="initParams" value="'+n.join(",")+'" /><param name="windowless" value="true" /><param name="background" value="black" /><param name="minRuntimeVersion" value="3.0.0.0" /><param name="autoUpgrade" value="true" /><param name="source" value="'+t.pluginPath+t.silverlightName+'" /></object>';break;case"flash":o.MediaFeatures.isIE?(e=document.createElement("div"),d.appendChild(e),e.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+u+'" width="'+a+'" height="'+l+'"><param name="movie" value="'+t.pluginPath+t.flashName+"?x="+new Date+'" /><param name="flashvars" value="'+n.join("&amp;")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):d.innerHTML='<embed id="'+u+'" name="'+u+'" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="'+t.pluginPath+t.flashName+'" flashvars="'+n.join("&")+'" width="'+a+'" height="'+l+'"></embed>';break;case"youtube":t=e.url.substr(e.url.lastIndexOf("=")+1),youtubeSettings={container:d,containerId:d.id,pluginMediaElement:c,pluginId:u,videoId:t,height:l,width:a},o.PluginDetector.hasPluginVersion("flash",[10,0,0])?o.YouTubeApi.createFlash(youtubeSettings):o.YouTubeApi.enqueueIframe(youtubeSettings);break;case"vimeo":c.vimeoid=e.url.substr(e.url.lastIndexOf("/")+1),d.innerHTML='<object width="'+a+'" height="'+l+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value="api=1" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id='+c.vimeoid+'&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed src="//vimeo.com/moogaloop.swf?api=1&amp;clip_id='+c.vimeoid+'&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+a+'" height="'+l+'"></embed></object>'}return i.style.display="none",c},updateNative:function(e,t){var i=e.htmlMediaElement,n;for(n in o.HtmlMediaElement)i[n]=o.HtmlMediaElement[n];return t.success(i,i),i}},o.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var e=document.createElement("script");e.src="http://www.youtube.com/player_api";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t),this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(e){this.isLoaded?this.createIframe(e):(this.loadIframeApi(),this.iframeQueue.push(e))},createIframe:function(e){var t=e.pluginMediaElement,i=new YT.Player(e.containerId,{height:e.height,width:e.width,videoId:e.videoId,playerVars:{controls:0},events:{onReady:function(){e.pluginMediaElement.pluginApi=i,o.MediaPluginBridge.initPlugin(e.pluginId),setInterval(function(){o.YouTubeApi.createEvent(i,t,"timeupdate")},250)},onStateChange:function(e){o.YouTubeApi.handleStateChange(e.data,i,t)}}})},createEvent:function(e,t,i){if(i={type:i,target:t},e&&e.getDuration){t.currentTime=i.currentTime=e.getCurrentTime(),t.duration=i.duration=e.getDuration(),i.paused=t.paused,i.ended=t.ended,i.muted=e.isMuted(),i.volume=e.getVolume()/100,i.bytesTotal=e.getVideoBytesTotal(),i.bufferedBytes=e.getVideoBytesLoaded();var n=i.bufferedBytes/i.bytesTotal*i.duration;i.target.buffered=i.buffered={start:function(){return 0},end:function(){return n},length:1}}t.dispatchEvent(i.type,i)},iFrameReady:function(){for(this.isIframeLoaded=this.isLoaded=!0;this.iframeQueue.length>0;)this.createIframe(this.iframeQueue.pop())},flashPlayers:{},createFlash:function(e){this.flashPlayers[e.pluginId]=e;var t,i="http://www.youtube.com/apiplayer?enablejsapi=1&amp;playerapiid="+e.pluginId+"&amp;version=3&amp;autoplay=0&amp;controls=0&amp;modestbranding=1&loop=0";o.MediaFeatures.isIE?(t=document.createElement("div"),e.container.appendChild(t),t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+e.pluginId+'" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+i+'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):e.container.innerHTML='<object type="application/x-shockwave-flash" id="'+e.pluginId+'" data="'+i+'" width="'+e.width+'" height="'+e.height+'" style="visibility: visible; "><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></object>'},flashReady:function(e){var t=this.flashPlayers[e],i=document.getElementById(e),n=t.pluginMediaElement;n.pluginApi=n.pluginElement=i,o.MediaPluginBridge.initPlugin(e),i.cueVideoById(t.videoId),e=t.containerId+"_callback",window[e]=function(e){o.YouTubeApi.handleStateChange(e,i,n)},i.addEventListener("onStateChange",e),setInterval(function(){o.YouTubeApi.createEvent(i,n,"timeupdate")},250)},handleStateChange:function(e,t,i){switch(e){case-1:i.paused=!0,i.ended=!0,o.YouTubeApi.createEvent(t,i,"loadedmetadata");break;case 0:i.paused=!1,i.ended=!0,o.YouTubeApi.createEvent(t,i,"ended");break;case 1:i.paused=!1,i.ended=!1,o.YouTubeApi.createEvent(t,i,"play"),o.YouTubeApi.createEvent(t,i,"playing");break;case 2:i.paused=!0,i.ended=!1,o.YouTubeApi.createEvent(t,i,"pause");break;case 3:o.YouTubeApi.createEvent(t,i,"progress")}}},window.mejs=o,window.MediaElement=o.MediaElement,"undefined"!=typeof e?o.$=e:"undefined"!=typeof ender&&(o.$=ender),function(t){o.MepDefaults={poster:"",defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(e){return.05*e.duration},defaultSeekForwardInterval:function(e){return.05*e.duration},audioWidth:-1,audioHeight:-1,startVolume:.8,loop:!1,enableAutosize:!0,alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(e,t){t.paused||t.ended?t.play():t.pause()}},{keys:[38],action:function(e,t){t.setVolume(Math.min(t.volume+.1,1))}},{keys:[40],action:function(e,t){t.setVolume(Math.max(t.volume-.1,0))}},{keys:[37,227],action:function(e,t){if(!isNaN(t.duration)&&t.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var i=Math.max(t.currentTime-e.options.defaultSeekBackwardInterval(t),0);t.setCurrentTime(i)}}},{keys:[39,228],action:function(e,t){if(!isNaN(t.duration)&&t.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var i=Math.min(t.currentTime+e.options.defaultSeekForwardInterval(t),t.duration);t.setCurrentTime(i)}}},{keys:[70],action:function(e){"undefined"!=typeof e.enterFullScreen&&(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}}]},o.mepIndex=0,o.players=[],o.MediaElementPlayer=function(e,i){return this instanceof o.MediaElementPlayer?(this.$media=this.$node=t(e),this.node=this.media=this.$media[0],"undefined"!=typeof this.node.player?this.node.player:(this.node.player=this,"undefined"==typeof i&&(i=this.$node.data("mejsoptions")),this.options=t.extend({},o.MepDefaults,i),o.players.push(this),this.init(),this)):new o.MediaElementPlayer(e,i)},o.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,init:function(){var e=this,i=o.MediaFeatures,n=t.extend(!0,{},e.options,{success:function(t,i){e.meReady(t,i)},error:function(t){e.handleError(t)}}),r=e.media.tagName.toLowerCase();e.isDynamic="audio"!==r&&"video"!==r,e.isVideo=e.isDynamic?e.options.isVideo:"audio"!==r&&e.options.isVideo,i.isiPad&&e.options.iPadUseNativeControls||i.isiPhone&&e.options.iPhoneUseNativeControls?(e.$media.attr("controls","controls"),i.isiPad&&null!==e.media.getAttribute("autoplay")&&(e.media.load(),e.media.play())):i.isAndroid&&e.AndroidUseNativeControls||(e.$media.removeAttr("controls"),e.id="mep_"+o.mepIndex++,e.container=t('<div id="'+e.id+'" class="mejs-container"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>').addClass(e.$media[0].className).insertBefore(e.$media),e.container.addClass((i.isAndroid?"mejs-android ":"")+(i.isiOS?"mejs-ios ":"")+(i.isiPad?"mejs-ipad ":"")+(i.isiPhone?"mejs-iphone ":"")+(e.isVideo?"mejs-video ":"mejs-audio ")),i.isiOS?(i=e.$media.clone(),e.container.find(".mejs-mediaelement").append(i),e.$media.remove(),e.$node=e.$media=i,e.node=e.media=i[0]):e.container.find(".mejs-mediaelement").append(e.$media),e.controls=e.container.find(".mejs-controls"),e.layers=e.container.find(".mejs-layers"),i=e.isVideo?"video":"audio",r=i.substring(0,1).toUpperCase()+i.substring(1),e.width=e.options[i+"Width"]>0||e.options[i+"Width"].toString().indexOf("%")>-1?e.options[i+"Width"]:""!==e.media.style.width&&null!==e.media.style.width?e.media.style.width:null!==e.media.getAttribute("width")?e.$media.attr("width"):e.options["default"+r+"Width"],e.height=e.options[i+"Height"]>0||e.options[i+"Height"].toString().indexOf("%")>-1?e.options[i+"Height"]:""!==e.media.style.height&&null!==e.media.style.height?e.media.style.height:null!==e.$media[0].getAttribute("height")?e.$media.attr("height"):e.options["default"+r+"Height"],e.setPlayerSize(e.width,e.height),n.pluginWidth=e.height,n.pluginHeight=e.width),o.MediaElement(e.$media[0],n)},showControls:function(e){var t=this;e="undefined"==typeof e||e,t.controlsAreVisible||(e?(t.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){t.controlsAreVisible=!0}),t.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){t.controlsAreVisible=!0})):(t.controls.css("visibility","visible").css("display","block"),t.container.find(".mejs-control").css("visibility","visible").css("display","block"),t.controlsAreVisible=!0),t.setControlsSize())},hideControls:function(e){var i=this;e="undefined"==typeof e||e,i.controlsAreVisible&&(e?(i.controls.stop(!0,!0).fadeOut(200,function(){t(this).css("visibility","hidden").css("display","block"),i.controlsAreVisible=!1}),i.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){t(this).css("visibility","hidden").css("display","block")})):(i.controls.css("visibility","hidden").css("display","block"),i.container.find(".mejs-control").css("visibility","hidden").css("display","block"),i.controlsAreVisible=!1))},controlsTimer:null,startControlsTimer:function(e){var t=this;e="undefined"!=typeof e?e:1500,t.killControlsTimer("start"),t.controlsTimer=setTimeout(function(){t.hideControls(),t.killControlsTimer("hide")},e)},killControlsTimer:function(){null!==this.controlsTimer&&(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){this.killControlsTimer(),this.hideControls(!1),this.controlsEnabled=!1},enableControls:function(){this.showControls(!1),this.controlsEnabled=!0},meReady:function(e,i){var n=this,r=o.MediaFeatures,s=i.getAttribute("autoplay");s=!("undefined"==typeof s||null===s||"false"===s);var a;if(!n.created){if(n.created=!0,n.media=e,n.domNode=i,!(r.isAndroid&&n.options.AndroidUseNativeControls||r.isiPad&&n.options.iPadUseNativeControls||r.isiPhone&&n.options.iPhoneUseNativeControls)){n.buildposter(n,n.controls,n.layers,n.media),n.buildkeyboard(n,n.controls,n.layers,n.media),n.buildoverlays(n,n.controls,n.layers,n.media),n.findTracks();for(a in n.options.features)if(r=n.options.features[a],n["build"+r])try{n["build"+r](n,n.controls,n.layers,n.media)}catch(e){}n.container.trigger("controlsready"),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&&(o.MediaFeatures.hasTouch?n.$media.bind("touchstart",function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&&n.showControls(!1)}):(("native"==n.media.pluginType?n.$media:t(n.media.pluginElement)).click(function(){e.paused?e.play():e.pause()}),n.container.bind("mouseenter mouseover",function(){n.controlsEnabled&&(n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(2500)))}).bind("mousemove",function(){n.controlsEnabled&&(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(2500))}).bind("mouseleave",function(){n.controlsEnabled&&!n.media.paused&&!n.options.alwaysShowControls&&n.startControlsTimer(1e3)})),s&&!n.options.alwaysShowControls&&n.hideControls(),n.options.enableAutosize&&n.media.addEventListener("loadedmetadata",function(e){n.options.videoHeight<=0&&null===n.domNode.getAttribute("height")&&!isNaN(e.target.videoHeight)&&(n.setPlayerSize(e.target.videoWidth,e.target.videoHeight),n.setControlsSize(),n.media.setVideoSize(e.target.videoWidth,e.target.videoHeight))},!1)),e.addEventListener("play",function(){for(var e=0,t=o.players.length;e<t;e++){var i=o.players[e];i.id!=n.id&&n.options.pauseOtherPlayers&&!i.paused&&!i.ended&&i.pause(),i.hasFocus=!1}n.hasFocus=!0},!1),n.media.addEventListener("ended",function(){try{n.media.setCurrentTime(0)}catch(e){}n.media.pause(),n.setProgressRail&&n.setProgressRail(),n.setCurrentRail&&n.setCurrentRail(),n.options.loop?n.media.play():!n.options.alwaysShowControls&&n.controlsEnabled&&n.showControls()},!1),n.media.addEventListener("loadedmetadata",function(){n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())},!1),setTimeout(function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()},50),t(window).resize(function(){n.isFullScreen||o.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()}),"youtube"==n.media.pluginType&&n.container.find(".mejs-overlay-play").hide()}s&&"native"==e.pluginType&&(e.load(),e.play()),n.options.success&&("string"==typeof n.options.success?window[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}},handleError:function(e){this.controls.hide(),this.options.error&&this.options.error(e)},setPlayerSize:function(e,i){if("undefined"!=typeof e&&(this.width=e),"undefined"!=typeof i&&(this.height=i),this.height.toString().indexOf("%")>0||"100%"===this.$node.css("max-width")){var n=this.media.videoWidth&&this.media.videoWidth>0?this.media.videoWidth:this.options.defaultVideoWidth,o=this.media.videoHeight&&this.media.videoHeight>0?this.media.videoHeight:this.options.defaultVideoHeight,r=this.container.parent().width();n=parseInt(r*o/n,10),"body"===this.container.parent()[0].tagName.toLowerCase()&&(r=t(window).width(),n=t(window).height()),0!=n&&(this.container.width(r).height(n),this.$media.width("100%").height("100%"),this.container.find("object, embed, iframe").width("100%").height("100%"),this.isVideo&&this.media.setVideoSize&&this.media.setVideoSize(r,n),this.layers.children(".mejs-layer").width("100%").height("100%"))}else this.container.width(this.width).height(this.height),this.layers.children(".mejs-layer").width(this.width).height(this.height)},setControlsSize:function(){var e=0,i=0,n=this.controls.find(".mejs-time-rail"),o=this.controls.find(".mejs-time-total");this.controls.find(".mejs-time-current"),this.controls.find(".mejs-time-loaded");var r=n.siblings();this.options&&!this.options.autosizeProgress&&(i=parseInt(n.css("width"))),0!==i&&i||(r.each(function(){"absolute"!=t(this).css("position")&&(e+=t(this).outerWidth(!0))}),i=this.controls.width()-e-(n.outerWidth(!0)-n.width())-1),n.width(i),o.width(i-(o.outerWidth(!0)-o.width())),this.setProgressRail&&this.setProgressRail(),this.setCurrentRail&&this.setCurrentRail()},buildposter:function(e,i,n,o){var r=t('<div class="mejs-poster mejs-layer"></div>').appendTo(n);i=e.$media.attr("poster"),""!==e.options.poster&&(i=e.options.poster),""!==i&&null!=i?this.setPoster(i):r.hide(),o.addEventListener("play",function(){r.hide()},!1)},setPoster:function(e){var i=this.container.find(".mejs-poster"),n=i.find("img");0==n.length&&(n=t('<img width="100%" height="100%" />').appendTo(i)),n.attr("src",e)},buildoverlays:function(e,i,n,r){if(e.isVideo){var s=t('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-loading"><span></span></div></div>').hide().appendTo(n),a=t('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-error"></div></div>').hide().appendTo(n),l=t('<div class="mejs-overlay mejs-layer mejs-overlay-play"><div class="mejs-overlay-button"></div></div>').appendTo(n).click(function(){r.paused?r.play():r.pause()});r.addEventListener("play",function(){l.hide(),s.hide(),i.find(".mejs-time-buffering").hide(),a.hide()},!1),r.addEventListener("playing",function(){l.hide(),s.hide(),i.find(".mejs-time-buffering").hide(),a.hide()},!1),r.addEventListener("seeking",function(){s.show(),i.find(".mejs-time-buffering").show()},!1),r.addEventListener("seeked",function(){s.hide(),i.find(".mejs-time-buffering").hide()},!1),r.addEventListener("pause",function(){o.MediaFeatures.isiPhone||l.show()},!1),r.addEventListener("waiting",function(){s.show(),i.find(".mejs-time-buffering").show()},!1),r.addEventListener("loadeddata",function(){s.show(),i.find(".mejs-time-buffering").show()},!1),r.addEventListener("canplay",function(){s.hide(),i.find(".mejs-time-buffering").hide()},!1),r.addEventListener("error",function(){s.hide(),i.find(".mejs-time-buffering").hide(),a.show(),a.find("mejs-overlay-error").html("Error loading this resource")},!1)}},buildkeyboard:function(e,i,n,o){t(document).keydown(function(t){if(e.hasFocus&&e.options.enableKeyboard)for(var i=0,n=e.options.keyActions.length;i<n;i++)for(var r=e.options.keyActions[i],s=0,a=r.keys.length;s<a;s++)if(t.keyCode==r.keys[s])return t.preventDefault(),r.action(e,o,t.keyCode),!1;return!0}),t(document).click(function(i){0==t(i.target).closest(".mejs-container").length&&(e.hasFocus=!1)})},findTracks:function(){var e=this,i=e.$media.find("track");e.tracks=[],i.each(function(i,n){n=t(n),e.tracks.push({srclang:n.attr("srclang").toLowerCase(),src:n.attr("src"),kind:n.attr("kind"),label:n.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(e){this.container[0].className="mejs-container "+e,this.setPlayerSize(this.width,this.height),this.setControlsSize()},play:function(){this.media.play()},pause:function(){this.media.pause()},load:function(){this.media.load()},setMuted:function(e){this.media.setMuted(e)},setCurrentTime:function(e){this.media.setCurrentTime(e)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(e){this.media.setVolume(e)},getVolume:function(){return this.media.volume},setSrc:function(e){this.media.setSrc(e)},remove:function(){"flash"===this.media.pluginType?this.media.remove():"native"===this.media.pluginType&&this.$media.prop("controls",!0),this.isDynamic||this.$node.insertBefore(this.container),this.container.remove()}},"undefined"!=typeof e&&(e.fn.mediaelementplayer=function(e){return this.each(function(){new o.MediaElementPlayer(this,e)})}),t(document).ready(function(){t(".mejs-player").mediaelementplayer()}),window.MediaElementPlayer=o.MediaElementPlayer}(o.$),function(e){e.extend(o.MepDefaults,{playpauseText:"Play/Pause"}),e.extend(MediaElementPlayer.prototype,{buildplaypause:function(t,i,n,o){var r=e('<div class="mejs-button mejs-playpause-button mejs-play" ><button type="button" aria-controls="'+this.id+'" title="'+this.options.playpauseText+'"></button></div>').appendTo(i).click(function(e){return e.preventDefault(),o.paused?o.play():o.pause(),!1});o.addEventListener("play",function(){r.removeClass("mejs-play").addClass("mejs-pause")},!1),o.addEventListener("playing",function(){r.removeClass("mejs-play").addClass("mejs-pause")},!1),o.addEventListener("pause",function(){r.removeClass("mejs-pause").addClass("mejs-play")},!1),o.addEventListener("paused",function(){r.removeClass("mejs-pause").addClass("mejs-play")},!1)}})}(o.$),function(e){e.extend(o.MepDefaults,{stopText:"Stop"}),e.extend(MediaElementPlayer.prototype,{buildstop:function(t,i,n,r){e('<div class="mejs-button mejs-stop-button mejs-stop"><button type="button" aria-controls="'+this.id+'" title="'+this.options.stopText+'"></button></div>').appendTo(i).click(function(){r.paused||r.pause(),r.currentTime>0&&(r.setCurrentTime(0),i.find(".mejs-time-current").width("0px"),i.find(".mejs-time-handle").css("left","0px"),i.find(".mejs-time-float-current").html(o.Utility.secondsToTimeCode(0)),i.find(".mejs-currenttime").html(o.Utility.secondsToTimeCode(0)),n.find(".mejs-poster").show())})}})}(o.$),function(e){e.extend(MediaElementPlayer.prototype,{buildprogress:function(t,i,n,r){e('<div class="mejs-time-rail"><span class="mejs-time-total"><span class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div>').appendTo(i),i.find(".mejs-time-buffering").hide();var s=i.find(".mejs-time-total");n=i.find(".mejs-time-loaded");var a=i.find(".mejs-time-current"),l=i.find(".mejs-time-handle"),u=i.find(".mejs-time-float"),c=i.find(".mejs-time-float-current"),d=function(e){e=e.pageX;var t=s.offset(),i=s.outerWidth(),n=0;n=0;var a=e-t.left;e>t.left&&e<=i+t.left&&r.duration&&(n=(e-t.left)/i,n=n<=.02?0:n*r.duration,h&&r.setCurrentTime(n),o.MediaFeatures.hasTouch||(u.css("left",a),c.html(o.Utility.secondsToTimeCode(n)),u.show()))},h=!1;s.bind("mousedown",function(t){if(1===t.which)return h=!0,d(t),e(document).bind("mousemove.dur",function(e){d(e)}).bind("mouseup.dur",function(){h=!1,u.hide(),e(document).unbind(".dur")}),!1}).bind("mouseenter",function(){e(document).bind("mousemove.dur",function(e){d(e)}),o.MediaFeatures.hasTouch||u.show()}).bind("mouseleave",function(){h||(e(document).unbind(".dur"),u.hide())}),r.addEventListener("progress",function(e){t.setProgressRail(e),t.setCurrentRail(e)},!1),r.addEventListener("timeupdate",function(e){t.setProgressRail(e),t.setCurrentRail(e)},!1),this.loaded=n,this.total=s,this.current=a,this.handle=l},setProgressRail:function(e){var t=void 0!=e?e.target:this.media,i=null;t&&t.buffered&&t.buffered.length>0&&t.buffered.end&&t.duration?i=t.buffered.end(0)/t.duration:t&&void 0!=t.bytesTotal&&t.bytesTotal>0&&void 0!=t.bufferedBytes?i=t.bufferedBytes/t.bytesTotal:e&&e.lengthComputable&&0!=e.total&&(i=e.loaded/e.total),null!==i&&(i=Math.min(1,Math.max(0,i)),this.loaded&&this.total&&this.loaded.width(this.total.width()*i))},setCurrentRail:function(){if(void 0!=this.media.currentTime&&this.media.duration&&this.total&&this.handle){var e=this.total.width()*this.media.currentTime/this.media.duration,t=e-this.handle.outerWidth(!0)/2;this.current.width(e),this.handle.css("left",t)}}})}(o.$),function(e){e.extend(o.MepDefaults,{duration:-1,timeAndDurationSeparator:" <span> | </span> "}),e.extend(MediaElementPlayer.prototype,{buildcurrent:function(t,i,n,o){e('<div class="mejs-time"><span class="mejs-currenttime">'+(t.options.alwaysShowHours?"00:":"")+(t.options.showTimecodeFrameCount?"00:00:00":"00:00")+"</span></div>").appendTo(i),this.currenttime=this.controls.find(".mejs-currenttime"),o.addEventListener("timeupdate",function(){t.updateCurrent()},!1)},buildduration:function(t,i,n,r){i.children().last().find(".mejs-currenttime").length>0?e(this.options.timeAndDurationSeparator+'<span class="mejs-duration">'+(this.options.duration>0?o.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(t.options.alwaysShowHours?"00:":"")+(t.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span>").appendTo(i.find(".mejs-time")):(i.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),e('<div class="mejs-time mejs-duration-container"><span class="mejs-duration">'+(this.options.duration>0?o.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(t.options.alwaysShowHours?"00:":"")+(t.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span></div>").appendTo(i)),this.durationD=this.controls.find(".mejs-duration"),r.addEventListener("timeupdate",function(){t.updateDuration()},!1)},updateCurrent:function(){this.currenttime&&this.currenttime.html(o.Utility.secondsToTimeCode(this.media.currentTime,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))},updateDuration:function(){this.media.duration&&this.durationD&&this.durationD.html(o.Utility.secondsToTimeCode(this.media.duration,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))}})}(o.$),function(e){e.extend(o.MepDefaults,{muteText:"Mute Toggle",hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"}),e.extend(MediaElementPlayer.prototype,{buildvolume:function(t,i,n,r){if(!o.MediaFeatures.hasTouch||!this.options.hideVolumeOnTouchDevices){var s=this.isVideo?this.options.videoVolume:this.options.audioVolume,a="horizontal"==s?e('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+this.id+'" title="'+this.options.muteText+'"></button></div><div class="mejs-horizontal-volume-slider"><div class="mejs-horizontal-volume-total"></div><div class="mejs-horizontal-volume-current"></div><div class="mejs-horizontal-volume-handle"></div></div>').appendTo(i):e('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+this.id+'" title="'+this.options.muteText+'"></button><div class="mejs-volume-slider"><div class="mejs-volume-total"></div><div class="mejs-volume-current"></div><div class="mejs-volume-handle"></div></div></div>').appendTo(i),l=this.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),u=this.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),c=this.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),d=this.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),h=function(e,t){if(l.is(":visible")||"undefined"==typeof t)if(e=Math.max(0,e),e=Math.min(e,1),0==e?a.removeClass("mejs-mute").addClass("mejs-unmute"):a.removeClass("mejs-unmute").addClass("mejs-mute"),"vertical"==s){var i=u.height(),n=u.position(),o=i-i*e;d.css("top",n.top+o-d.height()/2),c.height(i-o),c.css("top",n.top+o)}else i=u.width(),n=u.position(),i*=e,d.css("left",n.left+i-d.width()/2),c.width(i);else l.show(),
h(e,!0),l.hide()},f=function(e){var t=null,i=u.offset();if("vertical"==s){if(t=u.height(),parseInt(u.css("top").replace(/px/,""),10),t=(t-(e.pageY-i.top))/t,0==i.top||0==i.left)return}else t=u.width(),t=(e.pageX-i.left)/t;t=Math.max(0,t),t=Math.min(t,1),h(t),0==t?r.setMuted(!0):r.setMuted(!1),r.setVolume(t)},p=!1,m=!1;a.hover(function(){l.show(),m=!0},function(){m=!1,!p&&"vertical"==s&&l.hide()}),l.bind("mouseover",function(){m=!0}).bind("mousedown",function(t){return f(t),e(document).bind("mousemove.vol",function(e){f(e)}).bind("mouseup.vol",function(){p=!1,e(document).unbind(".vol"),!m&&"vertical"==s&&l.hide()}),p=!0,!1}),a.find("button").click(function(){r.setMuted(!r.muted)}),r.addEventListener("volumechange",function(){p||(r.muted?(h(0),a.removeClass("mejs-mute").addClass("mejs-unmute")):(h(r.volume),a.removeClass("mejs-unmute").addClass("mejs-mute")))},!1),this.container.is(":visible")&&(h(t.options.startVolume),"native"===r.pluginType&&r.setVolume(t.options.startVolume))}}})}(o.$),function(e){e.extend(o.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:"Fullscreen"}),e.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,docStyleOverflow:null,isInIframe:!1,buildfullscreen:function(t,i,n,r){if(t.isVideo){t.isInIframe=window.location!=window.parent.location,o.MediaFeatures.hasTrueNativeFullScreen&&(n=null,n=o.MediaFeatures.hasMozNativeFullScreen?e(document):t.container,n.bind(o.MediaFeatures.fullScreenEventName,function(){o.MediaFeatures.isFullScreen()?(t.isNativeFullScreen=!0,t.setControlsSize()):(t.isNativeFullScreen=!1,t.exitFullScreen())}));var s=this,a=e('<div class="mejs-button mejs-fullscreen-button"><button type="button" aria-controls="'+s.id+'" title="'+s.options.fullscreenText+'"></button></div>').appendTo(i);if("native"===s.media.pluginType||!s.options.usePluginFullScreen&&!o.MediaFeatures.isFirefox)a.click(function(){o.MediaFeatures.hasTrueNativeFullScreen&&o.MediaFeatures.isFullScreen()||t.isFullScreen?t.exitFullScreen():t.enterFullScreen()});else{var l=null;if(function(){var e=document.createElement("x"),t=document.documentElement,i=window.getComputedStyle;return"pointerEvents"in e.style&&(e.style.pointerEvents="auto",e.style.pointerEvents="x",t.appendChild(e),i=i&&"auto"===i(e,"").pointerEvents,t.removeChild(e),!!i)}()&&!o.MediaFeatures.isOpera){var u=!1,c=function(){u&&(d.hide(),h.hide(),f.hide(),a.css("pointer-events",""),s.controls.css("pointer-events",""),u=!1)},d=e('<div class="mejs-fullscreen-hover" />').appendTo(s.container).mouseover(c),h=e('<div class="mejs-fullscreen-hover"  />').appendTo(s.container).mouseover(c),f=e('<div class="mejs-fullscreen-hover"  />').appendTo(s.container).mouseover(c),p=function(){var e={position:"absolute",top:0,left:0};d.css(e),h.css(e),f.css(e),d.width(s.container.width()).height(s.container.height()-s.controls.height()),e=a.offset().left-s.container.offset().left,fullScreenBtnWidth=a.outerWidth(!0),h.width(e).height(s.controls.height()).css({top:s.container.height()-s.controls.height()}),f.width(s.container.width()-e-fullScreenBtnWidth).height(s.controls.height()).css({top:s.container.height()-s.controls.height(),left:e+fullScreenBtnWidth})};e(document).resize(function(){p()}),a.mouseover(function(){if(!s.isFullScreen){var e=a.offset(),i=t.container.offset();r.positionFullscreenButton(e.left-i.left,e.top-i.top,!1),a.css("pointer-events","none"),s.controls.css("pointer-events","none"),d.show(),f.show(),h.show(),p(),u=!0}}),r.addEventListener("fullscreenchange",function(){c()})}else a.mouseover(function(){null!==l&&(clearTimeout(l),delete l);var e=a.offset(),i=t.container.offset();r.positionFullscreenButton(e.left-i.left,e.top-i.top,!0)}).mouseout(function(){null!==l&&(clearTimeout(l),delete l),l=setTimeout(function(){r.hideFullscreenButton()},1500)})}t.fullscreenBtn=a,e(document).bind("keydown",function(e){(o.MediaFeatures.hasTrueNativeFullScreen&&o.MediaFeatures.isFullScreen()||s.isFullScreen)&&27==e.keyCode&&t.exitFullScreen()})}},enterFullScreen:function(){var t=this;if("native"===t.media.pluginType||!o.MediaFeatures.isFirefox&&!t.options.usePluginFullScreen){if(docStyleOverflow=document.documentElement.style.overflow,document.documentElement.style.overflow="hidden",normalHeight=t.container.height(),normalWidth=t.container.width(),"native"===t.media.pluginType)if(o.MediaFeatures.hasTrueNativeFullScreen)o.MediaFeatures.requestFullScreen(t.container[0]),t.isInIframe&&setTimeout(function i(){t.isNativeFullScreen&&(e(window).width()!==screen.width?t.exitFullScreen():setTimeout(i,500))},500);else if(o.MediaFeatures.hasSemiNativeFullScreen)return void t.media.webkitEnterFullscreen();if(t.isInIframe){var i=t.options.newWindowCallback(this);if(""!==i){if(!o.MediaFeatures.hasTrueNativeFullScreen)return t.pause(),void window.open(i,t.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");setTimeout(function(){t.isNativeFullScreen||(t.pause(),window.open(i,t.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250)}}t.container.addClass("mejs-container-fullscreen").width("100%").height("100%"),setTimeout(function(){t.container.css({width:"100%",height:"100%"}),t.setControlsSize()},500),"native"===t.pluginType?t.$media.width("100%").height("100%"):(t.container.find("object, embed, iframe").width("100%").height("100%"),t.media.setVideoSize(e(window).width(),e(window).height())),t.layers.children("div").width("100%").height("100%"),t.fullscreenBtn&&t.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen"),t.setControlsSize(),t.isFullScreen=!0}},exitFullScreen:function(){"native"!==this.media.pluginType&&o.MediaFeatures.isFirefox?this.media.setFullscreen(!1):(o.MediaFeatures.hasTrueNativeFullScreen&&(o.MediaFeatures.isFullScreen()||this.isFullScreen)&&o.MediaFeatures.cancelFullScreen(),document.documentElement.style.overflow=docStyleOverflow,this.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight),"native"===this.pluginType?this.$media.width(normalWidth).height(normalHeight):(this.container.find("object embed").width(normalWidth).height(normalHeight),this.media.setVideoSize(normalWidth,normalHeight)),this.layers.children("div").width(normalWidth).height(normalHeight),this.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),this.setControlsSize(),this.isFullScreen=!1)}})}(o.$),function(e){e.extend(o.MepDefaults,{startLanguage:"",tracksText:"Captions/Subtitles"}),e.extend(MediaElementPlayer.prototype,{hasChapters:!1,buildtracks:function(t,i,n,o){if(t.isVideo&&0!=t.tracks.length){var r;for(t.chapters=e('<div class="mejs-chapters mejs-layer"></div>').prependTo(n).hide(),t.captions=e('<div class="mejs-captions-layer mejs-layer"><div class="mejs-captions-position"><span class="mejs-captions-text"></span></div></div>').prependTo(n).hide(),t.captionsText=t.captions.find(".mejs-captions-text"),t.captionsButton=e('<div class="mejs-button mejs-captions-button"><button type="button" aria-controls="'+this.id+'" title="'+this.options.tracksText+'"></button><div class="mejs-captions-selector"><ul><li><input type="radio" name="'+t.id+'_captions" id="'+t.id+'_captions_none" value="none" checked="checked" /><label for="'+t.id+'_captions_none">None</label></li></ul></div></div>').appendTo(i).hover(function(){e(this).find(".mejs-captions-selector").css("visibility","visible")},function(){e(this).find(".mejs-captions-selector").css("visibility","hidden")}).delegate("input[type=radio]","click",function(){if(lang=this.value,"none"==lang)t.selectedTrack=null;else for(r=0;r<t.tracks.length;r++)if(t.tracks[r].srclang==lang){t.selectedTrack=t.tracks[r],t.captions.attr("lang",t.selectedTrack.srclang),t.displayCaptions();break}}),t.options.alwaysShowControls?t.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover"):t.container.bind("mouseenter",function(){t.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover")}).bind("mouseleave",function(){o.paused||t.container.find(".mejs-captions-position").removeClass("mejs-captions-position-hover")}),t.trackToLoad=-1,t.selectedTrack=null,t.isLoadingTrack=!1,r=0;r<t.tracks.length;r++)"subtitles"==t.tracks[r].kind&&t.addTrackButton(t.tracks[r].srclang,t.tracks[r].label);t.loadNextTrack(),o.addEventListener("timeupdate",function(){t.displayCaptions()},!1),o.addEventListener("loadedmetadata",function(){t.displayChapters()},!1),t.container.hover(function(){t.hasChapters&&(t.chapters.css("visibility","visible"),t.chapters.fadeIn(200).height(t.chapters.find(".mejs-chapter").outerHeight()))},function(){t.hasChapters&&!o.paused&&t.chapters.fadeOut(200,function(){e(this).css("visibility","hidden"),e(this).css("display","block")})}),null!==t.node.getAttribute("autoplay")&&t.chapters.css("visibility","hidden")}},loadNextTrack:function(){this.trackToLoad++,this.trackToLoad<this.tracks.length?(this.isLoadingTrack=!0,this.loadTrack(this.trackToLoad)):this.isLoadingTrack=!1},loadTrack:function(t){var i=this,n=i.tracks[t];e.ajax({url:n.src,dataType:"text",success:function(e){n.entries="string"==typeof e&&/<tt\s+xml/gi.exec(e)?o.TrackFormatParser.dfxp.parse(e):o.TrackFormatParser.webvvt.parse(e),n.isLoaded=!0,i.enableTrackButton(n.srclang,n.label),i.loadNextTrack(),"chapters"==n.kind&&i.media.duration>0&&i.drawChapters(n)},error:function(){i.loadNextTrack()}})},enableTrackButton:function(t,i){""===i&&(i=o.language.codes[t]||t),this.captionsButton.find("input[value="+t+"]").prop("disabled",!1).siblings("label").html(i),this.options.startLanguage==t&&e("#"+this.id+"_captions_"+t).click(),this.adjustLanguageBox()},addTrackButton:function(t,i){""===i&&(i=o.language.codes[t]||t),this.captionsButton.find("ul").append(e('<li><input type="radio" name="'+this.id+'_captions" id="'+this.id+"_captions_"+t+'" value="'+t+'" disabled="disabled" /><label for="'+this.id+"_captions_"+t+'">'+i+" (loading)</label></li>")),this.adjustLanguageBox(),this.container.find(".mejs-captions-translations option[value="+t+"]").remove()},adjustLanguageBox:function(){this.captionsButton.find(".mejs-captions-selector").height(this.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+this.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},displayCaptions:function(){if("undefined"!=typeof this.tracks){var e,t=this.selectedTrack;if(null!=t&&t.isLoaded)for(e=0;e<t.entries.times.length;e++)if(this.media.currentTime>=t.entries.times[e].start&&this.media.currentTime<=t.entries.times[e].stop)return this.captionsText.html(t.entries.text[e]),void this.captions.show().height(0);this.captions.hide()}},displayChapters:function(){var e;for(e=0;e<this.tracks.length;e++)if("chapters"==this.tracks[e].kind&&this.tracks[e].isLoaded){this.drawChapters(this.tracks[e]),this.hasChapters=!0;break}},drawChapters:function(t){var i=this,n,r,s=r=0;for(i.chapters.empty(),n=0;n<t.entries.times.length;n++)r=t.entries.times[n].stop-t.entries.times[n].start,r=Math.floor(r/i.media.duration*100),(r+s>100||n==t.entries.times.length-1&&r+s<100)&&(r=100-s),i.chapters.append(e('<div class="mejs-chapter" rel="'+t.entries.times[n].start+'" style="left: '+s.toString()+"%;width: "+r.toString()+'%;"><div class="mejs-chapter-block'+(n==t.entries.times.length-1?" mejs-chapter-block-last":"")+'"><span class="ch-title">'+t.entries.text[n]+'</span><span class="ch-time">'+o.Utility.secondsToTimeCode(t.entries.times[n].start)+"&ndash;"+o.Utility.secondsToTimeCode(t.entries.times[n].stop)+"</span></div></div>")),s+=r;i.chapters.find("div.mejs-chapter").click(function(){i.media.setCurrentTime(parseFloat(e(this).attr("rel"))),i.media.paused&&i.media.play()}),i.chapters.show()}}),o.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",tl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}},o.TrackFormatParser={webvvt:{pattern_identifier:/^([a-zA-z]+-)?[0-9]+$/,pattern_timecode:/^([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(t){var i=0;t=o.TrackFormatParser.split2(t,/\r?\n/);for(var n={text:[],times:[]},r,s;i<t.length;i++)if(this.pattern_identifier.exec(t[i])&&(i++,(r=this.pattern_timecode.exec(t[i]))&&i<t.length)){for(i++,s=t[i],i++;""!==t[i]&&i<t.length;)s=s+"\n"+t[i],i++;s=e.trim(s).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),n.text.push(s),n.times.push({start:0==o.Utility.convertSMPTEtoSeconds(r[1])?.2:o.Utility.convertSMPTEtoSeconds(r[1]),stop:o.Utility.convertSMPTEtoSeconds(r[3]),settings:r[5]})}return n}},dfxp:{parse:function(t){t=e(t).filter("tt");var i=0;i=t.children("div").eq(0);var n=i.find("p");i=t.find("#"+i.attr("style"));var r,s;if(t={text:[],times:[]},i.length&&(s=i.removeAttr("id").get(0).attributes,s.length))for(r={},i=0;i<s.length;i++)r[s[i].name.split(":")[1]]=s[i].value;for(i=0;i<n.length;i++){var a;if(s={start:null,stop:null,style:null},n.eq(i).attr("begin")&&(s.start=o.Utility.convertSMPTEtoSeconds(n.eq(i).attr("begin"))),!s.start&&n.eq(i-1).attr("end")&&(s.start=o.Utility.convertSMPTEtoSeconds(n.eq(i-1).attr("end"))),n.eq(i).attr("end")&&(s.stop=o.Utility.convertSMPTEtoSeconds(n.eq(i).attr("end"))),!s.stop&&n.eq(i+1).attr("begin")&&(s.stop=o.Utility.convertSMPTEtoSeconds(n.eq(i+1).attr("begin"))),r){a="";for(var l in r)a+=l+":"+r[l]+";"}a&&(s.style=a),0==s.start&&(s.start=.2),t.times.push(s),s=e.trim(n.eq(i).html()).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),t.text.push(s),0==t.times.start&&(t.times.start=2)}return t}},split2:function(e,t){return e.split(t)}},3!="x\n\ny".split(/\n/gi).length&&(o.TrackFormatParser.split2=function(e,t){var i=[],n="",o;for(o=0;o<e.length;o++)n+=e.substring(o,o+1),t.test(n)&&(i.push(n.replace(t,"")),n="");return i.push(n),i})}(o.$),function(e){e.extend(o.MepDefaults,{contextMenuItems:[{render:function(e){return"undefined"==typeof e.enterFullScreen?null:e.isFullScreen?"Turn off Fullscreen":"Go Fullscreen"},click:function(e){e.isFullScreen?e.exitFullScreen():e.enterFullScreen()}},{render:function(e){return e.media.muted?"Unmute":"Mute"},click:function(e){e.media.muted?e.setMuted(!1):e.setMuted(!0)}},{isSeparator:!0},{render:function(){return"Download Video"},click:function(e){window.location.href=e.media.currentSrc}}]}),e.extend(MediaElementPlayer.prototype,{buildcontextmenu:function(t){t.contextMenu=e('<div class="mejs-contextmenu"></div>').appendTo(e("body")).hide(),t.container.bind("contextmenu",function(e){if(t.isContextMenuEnabled)return e.preventDefault(),t.renderContextMenu(e.clientX-1,e.clientY-1),!1}),t.container.bind("click",function(){t.contextMenu.hide()}),t.contextMenu.bind("mouseleave",function(){t.startContextMenuTimer()})},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var e=this;e.killContextMenuTimer(),e.contextMenuTimer=setTimeout(function(){e.hideContextMenu(),e.killContextMenuTimer()},750)},killContextMenuTimer:function(){var e=this.contextMenuTimer;null!=e&&(clearTimeout(e),delete e)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(t,i){for(var n=this,o="",r=n.options.contextMenuItems,s=0,a=r.length;s<a;s++)if(r[s].isSeparator)o+='<div class="mejs-contextmenu-separator"></div>';else{var l=r[s].render(n);null!=l&&(o+='<div class="mejs-contextmenu-item" data-itemindex="'+s+'" id="element-'+1e6*Math.random()+'">'+l+"</div>")}n.contextMenu.empty().append(e(o)).css({top:i,left:t}).show(),n.contextMenu.find(".mejs-contextmenu-item").each(function(){var t=e(this),i=parseInt(t.data("itemindex"),10),o=n.options.contextMenuItems[i];"undefined"!=typeof o.show&&o.show(t,n),t.click(function(){"undefined"!=typeof o.click&&o.click(n),n.contextMenu.hide()})}),setTimeout(function(){n.killControlsTimer("rev3")},100)}})}(o.$)}).call(t,n(1))},87:function(e,t,i){var n,o;n=[i(6),i(68)],o=function(e,t){return t.Renderer.render=function(t,i){if(!t){var n=new Error("Cannot render the template since it's false, null or undefined.");throw n.name="TemplateNotFoundError",n}return"function"==typeof t?t(i):e.render(t,i)},t}.apply(t,n),!(void 0!==o&&(e.exports=o))},88:function(e,t,i){var n,o;n=[i(1),i(3),i(5)],o=function(e,t,i){i.preventClose=function(n){var o=this;if(!this.defer){if(this.defer=e.Deferred(),i.preventClose.preventer){var r=i.preventClose.preventer();r&&r.promise?this.defer=r:r?this.defer.resolve():this.defer.reject(),this.defer.fail(function(){delete i.preventClose.preventer})}else this.defer.reject();this.defer.always(function(){t.defer(function(){delete o.defer})})}this.defer.fail(function(){n()})},i.preventClose.ifModelChanged=function(i,n){if(!i.hasChangedDeepSinceSavepoint())return!1;var o=e.Deferred();return n?n(function(){o.reject()},function(){o.resolve()}):t.defer(function(){confirm("Are you sure? You'll lose your current changes.")?o.reject():o.resolve()}),o.promise()};var n=i.View.prototype.constructor;i.View.prototype.constructor=function(){n.apply(this,arguments),this.preventClose&&(i.preventClose.preventer=t.bind(this.preventClose,this))}}.apply(t,n),!(void 0!==o&&(e.exports=o))},90:function(e,t,i){(function(t){e.exports=t.PlatformElement=i(172)}).call(t,function(){return this}())},102:function(e,t,i){var n;!function(){"use strict";function o(e){return"undefined"==typeof this||Object.getPrototypeOf(this)!==o.prototype?new o(e):(A=this,A.version="3.3.1",A.tools=new x,A.isSupported()?(A.tools.extend(A.defaults,e||{}),r(A.defaults),A.store={elements:{},containers:[]},A.sequences={},A.history=[],A.uid=0,A.initialized=!1):"undefined"!=typeof console&&null!==console&&console.log("ScrollReveal is not supported in this browser."),A)}function r(e){if(e&&e.container){if("string"==typeof e.container)return window.document.documentElement.querySelector(e.container);if(A.tools.isNode(e.container))return e.container;console.log('ScrollReveal: invalid container "'+e.container+'" provided.'),console.log("ScrollReveal: falling back to default container.")}return A.defaults.container}function s(e,t){return"string"==typeof e?Array.prototype.slice.call(t.querySelectorAll(e)):A.tools.isNode(e)?[e]:A.tools.isNodeList(e)?Array.prototype.slice.call(e):[]}function a(){return++A.uid}function l(e,t,i){t.container&&(t.container=i),e.config?e.config=A.tools.extendClone(e.config,t):e.config=A.tools.extendClone(A.defaults,t),"top"===e.config.origin||"bottom"===e.config.origin?e.config.axis="Y":e.config.axis="X"}function u(e){var t=window.getComputedStyle(e.domEl);e.styles||(e.styles={transition:{},transform:{},computed:{}},e.styles.inline=e.domEl.getAttribute("style")||"",e.styles.inline+="; visibility: visible; ",e.styles.computed.opacity=t.opacity,t.transition&&"all 0s ease 0s"!==t.transition?e.styles.computed.transition=t.transition+", ":e.styles.computed.transition=""),e.styles.transition.instant=c(e,0),e.styles.transition.delayed=c(e,e.config.delay),e.styles.transform.initial=" -webkit-transform:",e.styles.transform.target=" -webkit-transform:",d(e),e.styles.transform.initial+="transform:",e.styles.transform.target+="transform:",d(e)}function c(e,t){var i=e.config;return"-webkit-transition: "+e.styles.computed.transition+"-webkit-transform "+i.duration/1e3+"s "+i.easing+" "+t/1e3+"s, opacity "+i.duration/1e3+"s "+i.easing+" "+t/1e3+"s; transition: "+e.styles.computed.transition+"transform "+i.duration/1e3+"s "+i.easing+" "+t/1e3+"s, opacity "+i.duration/1e3+"s "+i.easing+" "+t/1e3+"s; "}function d(e){var t=e.config,i,n=e.styles.transform;i="top"===t.origin||"left"===t.origin?/^-/.test(t.distance)?t.distance.substr(1):"-"+t.distance:t.distance,parseInt(t.distance)&&(n.initial+=" translate"+t.axis+"("+i+")",n.target+=" translate"+t.axis+"(0)"),t.scale&&(n.initial+=" scale("+t.scale+")",n.target+=" scale(1)"),t.rotate.x&&(n.initial+=" rotateX("+t.rotate.x+"deg)",n.target+=" rotateX(0)"),t.rotate.y&&(n.initial+=" rotateY("+t.rotate.y+"deg)",n.target+=" rotateY(0)"),t.rotate.z&&(n.initial+=" rotateZ("+t.rotate.z+"deg)",n.target+=" rotateZ(0)"),n.initial+="; opacity: "+t.opacity+";",n.target+="; opacity: "+e.styles.computed.opacity+";"}function h(e){var t=e.config.container;t&&A.store.containers.indexOf(t)===-1&&A.store.containers.push(e.config.container),A.store.elements[e.id]=e}function f(e,t,i){var n={target:e,config:t,interval:i};A.history.push(n)}function p(){if(A.isSupported()){v();for(var e=0;e<A.store.containers.length;e++)A.store.containers[e].addEventListener("scroll",m),A.store.containers[e].addEventListener("resize",m);A.initialized||(window.addEventListener("scroll",m),window.addEventListener("resize",m),A.initialized=!0)}return A}function m(){k(v)}function g(){var e,t,i,n;A.tools.forOwn(A.sequences,function(o){n=A.sequences[o],e=!1;for(var r=0;r<n.elemIds.length;r++)i=n.elemIds[r],t=A.store.elements[i],P(t)&&!e&&(e=!0);n.active=e})}function v(){var e,t;g(),A.tools.forOwn(A.store.elements,function(i){t=A.store.elements[i],e=T(t),w(t)?(t.config.beforeReveal(t.domEl),e?t.domEl.setAttribute("style",t.styles.inline+t.styles.transform.target+t.styles.transition.delayed):t.domEl.setAttribute("style",t.styles.inline+t.styles.transform.target+t.styles.transition.instant),b("reveal",t,e),t.revealing=!0,t.seen=!0,t.sequence&&y(t,e)):S(t)&&(t.config.beforeReset(t.domEl),t.domEl.setAttribute("style",t.styles.inline+t.styles.transform.initial+t.styles.transition.instant),b("reset",t),t.revealing=!1)})}function y(e,t){var i=0,n=0,o=A.sequences[e.sequence.id];o.blocked=!0,t&&"onload"===e.config.useDelay&&(n=e.config.delay),e.sequence.timer&&(i=Math.abs(e.sequence.timer.started-new Date),window.clearTimeout(e.sequence.timer)),e.sequence.timer={started:new Date},e.sequence.timer.clock=window.setTimeout(function(){o.blocked=!1,e.sequence.timer=null,m()},Math.abs(o.interval)+n-i)}function b(e,t,i){var n=0,o=0,r="after";switch(e){case"reveal":o=t.config.duration,i&&(o+=t.config.delay),r+="Reveal";break;case"reset":o=t.config.duration,r+="Reset"}t.timer&&(n=Math.abs(t.timer.started-new Date),window.clearTimeout(t.timer.clock)),t.timer={started:new Date},t.timer.clock=window.setTimeout(function(){t.config[r](t.domEl),t.timer=null},o-n)}function w(e){if(e.sequence){var t=A.sequences[e.sequence.id];return t.active&&!t.blocked&&!e.revealing&&!e.disabled}return P(e)&&!e.revealing&&!e.disabled}function T(e){var t=e.config.useDelay;return"always"===t||"onload"===t&&!A.initialized||"once"===t&&!e.seen}function S(e){if(e.sequence){var t=A.sequences[e.sequence.id];return!t.active&&e.config.reset&&e.revealing&&!e.disabled}return!P(e)&&e.config.reset&&e.revealing&&!e.disabled}function _(e){return{width:e.clientWidth,height:e.clientHeight}}function M(e){if(e&&e!==window.document.documentElement){var t=C(e);return{x:e.scrollLeft+t.left,y:e.scrollTop+t.top}}return{x:window.pageXOffset,y:window.pageYOffset}}function C(e){var t=0,i=0,n=e.offsetHeight,o=e.offsetWidth;do isNaN(e.offsetTop)||(t+=e.offsetTop),isNaN(e.offsetLeft)||(i+=e.offsetLeft),e=e.offsetParent;while(e);return{top:t,left:i,height:n,width:o}}function P(e){function t(){var t=u+a*s,i=c+l*s,n=d-a*s,f=h-l*s,p=r.y+e.config.viewOffset.top,m=r.x+e.config.viewOffset.left,g=r.y-e.config.viewOffset.bottom+o.height,v=r.x-e.config.viewOffset.right+o.width;return t<g&&n>p&&i>m&&f<v}function i(){return"fixed"===window.getComputedStyle(e.domEl).position}var n=C(e.domEl),o=_(e.config.container),r=M(e.config.container),s=e.config.viewFactor,a=n.height,l=n.width,u=n.top,c=n.left,d=u+a,h=c+l;return t()||i()}function x(){}var A,k;o.prototype.defaults={origin:"bottom",distance:"20px",duration:500,delay:0,rotate:{x:0,y:0,z:0},opacity:0,scale:.9,easing:"cubic-bezier(0.6, 0.2, 0.1, 1)",container:window.document.documentElement,mobile:!0,reset:!1,useDelay:"always",viewFactor:.2,viewOffset:{top:0,right:0,bottom:0,left:0},beforeReveal:function(e){},afterReveal:function(e){},beforeReset:function(e){},afterReset:function(e){}},o.prototype.isSupported=function(){var e=document.documentElement.style;return"WebkitTransition"in e&&"WebkitTransform"in e||"transition"in e&&"transform"in e},o.prototype.reveal=function(e,t,i,n){var o,c,d,m,g,v;if(void 0!==t&&"number"==typeof t?(i=t,t={}):void 0!==t&&null!==t||(t={}),o=r(t),c=s(e,o),!c.length)return console.log('ScrollReveal: reveal on "'+e+'" failed, no elements found.'),A;i&&"number"==typeof i&&(v=a(),g=A.sequences[v]={id:v,interval:i,elemIds:[],active:!1});for(var y=0;y<c.length;y++)m=c[y].getAttribute("data-sr-id"),m?d=A.store.elements[m]:(d={id:a(),domEl:c[y],seen:!1,revealing:!1},d.domEl.setAttribute("data-sr-id",d.id)),g&&(d.sequence={id:g.id,index:g.elemIds.length},g.elemIds.push(d.id)),l(d,t,o),u(d),h(d),A.tools.isMobile()&&!d.config.mobile||!A.isSupported()?(d.domEl.setAttribute("style",d.styles.inline),d.disabled=!0):d.revealing||d.domEl.setAttribute("style",d.styles.inline+d.styles.transform.initial);return!n&&A.isSupported()&&(f(e,t,i),A.initTimeout&&window.clearTimeout(A.initTimeout),A.initTimeout=window.setTimeout(p,0)),A},o.prototype.sync=function(){if(A.history.length&&A.isSupported()){for(var e=0;e<A.history.length;e++){var t=A.history[e];A.reveal(t.target,t.config,t.interval,!0)}p()}else console.log("ScrollReveal: sync failed, no reveals found.");return A},x.prototype.isObject=function(e){return null!==e&&"object"==typeof e&&e.constructor===Object},x.prototype.isNode=function(e){return"object"==typeof window.Node?e instanceof window.Node:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},x.prototype.isNodeList=function(e){var t=Object.prototype.toString.call(e),i=/^\[object (HTMLCollection|NodeList|Object)\]$/;return"object"==typeof window.NodeList?e instanceof window.NodeList:e&&"object"==typeof e&&i.test(t)&&"number"==typeof e.length&&(0===e.length||this.isNode(e[0]))},x.prototype.forOwn=function(e,t){if(!this.isObject(e))throw new TypeError('Expected "object", but received "'+typeof e+'".');for(var i in e)e.hasOwnProperty(i)&&t(i)},x.prototype.extend=function(e,t){return this.forOwn(t,function(i){this.isObject(t[i])?(e[i]&&this.isObject(e[i])||(e[i]={}),this.extend(e[i],t[i])):e[i]=t[i]}.bind(this)),e},x.prototype.extendClone=function(e,t){return this.extend(this.extend({},e),t)},x.prototype.isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},k=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},n=function(){return o}.call(t,i,t,e),!(void 0!==n&&(e.exports=n))}()},124:function(e,t,i){var n,o;n=[i(1),i(2),i(71)],o=function(e,t){var i,n=[],o=function(t){function i(e){return e.indexOf("px")!==-1&&e.indexOf("calc")===-1?parseInt(e):0}var n=t.width();if(0===n){var o=t.parentsUntil(".platform-element-contents");if("HTML"!==o.eq(o.length-1).prop("tagName").toUpperCase()){var r=0;o.each(function(t){t+1!==o.length&&(r+=i(e(this).css("padding-left")),r+=i(e(this).css("padding-right")),r+=i(e(this).css("margin-left")),r+=i(e(this).css("margin-right")))}),n=Math.max(o.eq(o.length-1).width()-r,0)}}return n=n&&n<400?n<235?235:n:400},r=function(){e.each(n,function(){var t=e(this.container).parents(".wsite-html5audio"),i=o(t.parent());this.setPlayerSize(i,this.height),this.setControlsSize()})},s=function(t){function i(t,i){var n=e("#"+i.id).find("button");t.addEventListener("play",function(){n.blur()},!1),t.addEventListener("pause",function(){n.blur()},!1)}var r=e(".wsite-html5audio audio",t),s=!1;n=[],r.each(function(){var t=e(this),r=t.parents(".wsite-html5audio"),a=t.attr("data-track"),l=t.attr("data-artist"),u=t.attr("data-autostart"),c;t.attr("preload","none"),u="yes"===u,u&&!s?s=!0:u=!1,c=o(r.parent());var d={audioWidth:c,enableKeyboard:!1,success:function(e,t,n){window.Weebly.mobile_navigation&&window.Weebly.mobile_navigation.resizeScreen&&window.Weebly.mobile_navigation.resizeScreen(),i(e,n)}},h=t.attr("src");"undefined"!=typeof h&&null!==h&&""!=h&&"/"!=h.charAt(h.length-1)||(d.type="audio/mp3"),u&&(d.success=function(e,t,n){n&&n.play&&("native"===e.pluginType&&n.load(),i(e,n),n.play())});var f=new window.mejs.MediaElementPlayer(t,d);n.push(f);var p=r.find(".mejs-container");if(p.length>0){var m=a&&a.length>0,g=l&&l.length>0,v='<div class="wsite-mejs-track">';m&&g?v+='<span class="wsite-mejs-title">'+a+'</span><span class="wsite-mejs-track-sep"> - </span><span class="wsite-mejs-artist">'+l+"</span></div>":m?v+='<span class="wsite-mejs-title">'+a+"</span></div>":g?v+='<span class="wsite-mejs-artist">'+l+"</span></div>":v="",p.append(v)}})};return e(function(){return window.Weebly.EDITOR?void window.editorApp.vent.on("themeRendered",r):(s(),r(),void e(window).load(r))}),{init:s}}.apply(t,n),!(void 0!==o&&(e.exports=o))},125:function(e,t,i){var n,o;n=[i(2),i(1),i(63),i(5)],o=function(e,t,i,n){var o=n.Model.extend({save:function(n,o,r){var s=this,a=this.attributes;if(null==n||"object"==typeof n?(a=n,r=o):(a={})[n]=o,a&&!this.set(a,r))return!1;if(window.inEditor&&window.inEditor()&&!i.chromeless)return e.Editor.RPC.PlatformElementInstance.updateSettings(s.page_element_id,s.toJSON());var l=new t.Deferred;return l.resolve({success:!1,message:"You cannot update settings outside of the editor."}),l.promise()}});return o}.apply(t,n),!(void 0!==o&&(e.exports=o))},148:function(e,t,i){var n,o;n=[i(222)],o=function(e){"use strict";var t=new e;return t}.apply(t,n),!(void 0!==o&&(e.exports=o))},153:function(e,t,i){(function(t){t.window||(t.window={}),e.exports=t.window.$=i(170)}).call(t,function(){return this}())},156:function(e,t,i){var n,o;!function(r,s){n=[i(1)],o=function(e){return s(r,e)}.apply(t,n),!(void 0!==o&&(e.exports=o))}(window,function e(t,i){"use strict";function n(e,n,s){function l(t,i,n){var o,r="$()."+e+'("'+i+'")';return t.each(function(t,l){var u=s.data(l,e);if(!u)return void a(e+" not initialized. Cannot call methods, i.e. "+r);var c=u[i];if(!c||"_"==i.charAt(0))return void a(r+" is not a valid method");var d=c.apply(u,n);o=void 0===o?d:o}),void 0!==o?o:t}function u(t,i){t.each(function(t,o){var r=s.data(o,e);r?(r.option(i),r._init()):(r=new n(o,i),s.data(o,e,r))})}s=s||i||t.jQuery,s&&(n.prototype.option||(n.prototype.option=function(e){s.isPlainObject(e)&&(this.options=s.extend(!0,this.options,e))}),s.fn[e]=function(e){if("string"==typeof e){var t=r.call(arguments,1);return l(this,e,t)}return u(this,e),this},o(s))}function o(e){!e||e&&e.bridget||(e.bridget=n)}var r=Array.prototype.slice,s=t.console,a="undefined"==typeof s?function(){}:function(e){s.error(e)};return o(i||t.jQuery),n})},160:function(e,t,i){var n,o,r;!function(s){o=[i(1),i(33)],n=s,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r))}(function(e){return e.effects.effect.fade=function(t,i){var n=e(this),o=e.effects.setMode(n,t.mode||"toggle");n.animate({opacity:o},{queue:!1,duration:t.duration,easing:t.easing,complete:i})}})},161:function(e,t,i){var n,o,r;!function(s){o=[i(1),i(33)],n=s,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r))}(function(e){return e.effects.effect.highlight=function(t,i){var n=e(this),o=["backgroundImage","backgroundColor","opacity"],r=e.effects.setMode(n,t.mode||"show"),s={
backgroundColor:n.css("backgroundColor")};"hide"===r&&(s.opacity=0),e.effects.save(n,o),n.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===r&&n.hide(),e.effects.restore(n,o),i()}})}})},164:function(e,t,i){var n,o;!function(r){n=[i(1)],o=function(e){return r(e)}.apply(t,n),!(void 0!==o&&(e.exports=o))}(function(e){"use strict";function t(e){void 0===e&&(e=window.navigator.userAgent),e=e.toLowerCase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],i=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[],n={},o={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",versionNumber:t[4]||t[2]||"0",platform:i[0]||""};if(o.browser&&(n[o.browser]=!0,n.version=o.version,n.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(n[o.platform]=!0),(n.android||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"])&&(n.mobile=!0),(n.cros||n.mac||n.linux||n.win)&&(n.desktop=!0),(n.chrome||n.opr||n.safari)&&(n.webkit=!0),n.rv||n.iemobile){var r="msie";o.browser=r,n[r]=!0}if(n.edge){delete n.edge;var s="msedge";o.browser=s,n[s]=!0}if(n.safari&&n.blackberry){var a="blackberry";o.browser=a,n[a]=!0}if(n.safari&&n.playbook){var l="playbook";o.browser=l,n[l]=!0}if(n.bb){var u="blackberry";o.browser=u,n[u]=!0}if(n.opr){var c="opera";o.browser=c,n[c]=!0}if(n.safari&&n.android){var d="android";o.browser=d,n[d]=!0}if(n.safari&&n.kindle){var h="kindle";o.browser=h,n[h]=!0}if(n.safari&&n.silk){var f="silk";o.browser=f,n[f]=!0}return n.name=o.browser,n.platform=o.platform,n}return window.jQBrowser=t(window.navigator.userAgent),window.jQBrowser.uaMatch=t,e&&(e.browser=window.jQBrowser),window.jQBrowser})},165:function(e,t,i){var n,o,r,o,s,o,n,a,o,l,n,u,o,c,n,d,o,r;!function(n,s){"use strict";o=[i(1)],r=function(e){s(n,e)}.apply(t,o),!(void 0!==r&&(e.exports=r))}(window,function e(t,i){"use strict";function n(e,n,s){function l(t,i,n){var o,r="$()."+e+'("'+i+'")';return t.each(function(t,l){var u=s.data(l,e);if(!u)return void a(e+" not initialized. Cannot call methods, i.e. "+r);var c=u[i];if(!c||"_"==i.charAt(0))return void a(r+" is not a valid method");var d=c.apply(u,n);o=void 0===o?d:o}),void 0!==o?o:t}function u(t,i){t.each(function(t,o){var r=s.data(o,e);r?(r.option(i),r._init()):(r=new n(o,i),s.data(o,e,r))})}s=s||i||t.jQuery,s&&(n.prototype.option||(n.prototype.option=function(e){s.isPlainObject(e)&&(this.options=s.extend(!0,this.options,e))}),s.fn[e]=function(e){if("string"==typeof e){var t=r.call(arguments,1);return l(this,e,t)}return u(this,e),this},o(s))}function o(e){!e||e&&e.bridget||(e.bridget=n)}var r=Array.prototype.slice,s=t.console,a="undefined"==typeof s?function(){}:function(e){s.error(e)};return o(i||t.jQuery),n}),function(o,r){n=r,!(d="function"==typeof n?n.call(t,i,t,e):n)}(this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=0,o=i[n];t=t||[];for(var r=this._onceEvents&&this._onceEvents[e];o;){var s=r&&r[o];s&&(this.off(e,o),delete r[o]),o.apply(this,t),n+=s?0:1,o=i[n]}return this}},e}),function(e,i){"use strict";o=[],!(c=function(){return i()}.apply(t,o))}(window,function e(){"use strict";function t(e){var t=parseFloat(e),i=e.indexOf("%")==-1&&!isNaN(t);return i&&t}function i(){}function n(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<u;t++){var i=l[t];e[i]=0}return e}function o(e){var t=getComputedStyle(e);return t||a("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}function r(){if(!c){c=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);s.isBoxSizeOuter=d=200==t(n.width),i.removeChild(e)}}function s(e){if(r(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var i=o(e);if("none"==i.display)return n();var s={};s.width=e.offsetWidth,s.height=e.offsetHeight;for(var a=s.isBorderBox="border-box"==i.boxSizing,c=0;c<u;c++){var h=l[c],f=i[h],p=parseFloat(f);s[h]=isNaN(p)?0:p}var m=s.paddingLeft+s.paddingRight,g=s.paddingTop+s.paddingBottom,v=s.marginLeft+s.marginRight,y=s.marginTop+s.marginBottom,b=s.borderLeftWidth+s.borderRightWidth,w=s.borderTopWidth+s.borderBottomWidth,T=a&&d,S=t(i.width);S!==!1&&(s.width=S+(T?0:m+b));var _=t(i.height);return _!==!1&&(s.height=_+(T?0:g+w)),s.innerWidth=s.width-(m+b),s.innerHeight=s.height-(g+w),s.outerWidth=s.width+v,s.outerHeight=s.height+y,s}}var a="undefined"==typeof console?i:function(e){console.error(e)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=l.length,c=!1,d;return s}),function(o,r){"use strict";n=r,!(u="function"==typeof n?n.call(t,i,t,e):n)}(window,function e(){"use strict";var t=function(){var e=Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i],o=n+"MatchesSelector";if(e[o])return o}}();return function e(i,n){return i[t](n)}}),function(e,i){o=[u],!(l=function(t){return i(e,t)}.apply(t,o))}(window,function e(t,i){var n={};n.extend=function(e,t){for(var i in t)e[i]=t[i];return e},n.modulo=function(e,t){return(e%t+t)%t},n.makeArray=function(e){var t=[];if(Array.isArray(e))t=e;else if(e&&"number"==typeof e.length)for(var i=0;i<e.length;i++)t.push(e[i]);else t.push(e);return t},n.removeFrom=function(e,t){var i=e.indexOf(t);i!=-1&&e.splice(i,1)},n.getParent=function(e,t){for(;e!=document.body;)if(e=e.parentNode,i(e,t))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,t){e=n.makeArray(e);var o=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!t)return void o.push(e);i(e,t)&&o.push(e);for(var n=e.querySelectorAll(t),r=0;r<n.length;r++)o.push(n[r])}}),o},n.debounceMethod=function(e,t,i){var n=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o];e&&clearTimeout(e);var t=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,t),delete r[o]},i||100)}},n.docReady=function(e){"complete"==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()};var o=t.console;return n.htmlInit=function(e,i){n.docReady(function(){var r=n.toDashed(i),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=document.querySelectorAll(".js-"+r),u=n.makeArray(a).concat(n.makeArray(l)),c=s+"-options",d=t.jQuery;u.forEach(function(t){var n=t.getAttribute(s)||t.getAttribute(c),r;try{r=n&&JSON.parse(n)}catch(e){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+e))}var a=new e(t,r);d&&d.data(t,i,a)})})},n}),function(e,i){o=[d,c],n=i,!(a="function"==typeof n?n.apply(t,o):n)}(window,function e(t,i){"use strict";function n(e){for(var t in e)return!1;return t=null,!0}function o(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}function r(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}var s=document.documentElement.style,a="string"==typeof s.transition?"transition":"WebkitTransition",l="string"==typeof s.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[a],c={transform:l,transition:a,transitionDuration:a+"Duration",transitionProperty:a+"Property",transitionDelay:a+"Delay"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},d.getSize=function(){this.size=i(this.element)},d.css=function(e){var t=this.element.style;for(var i in e){var n=c[i]||i;t[n]=e[i]}},d.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],o=e[i?"top":"bottom"],r=this.layout.size,s=n.indexOf("%")!=-1?parseFloat(n)/100*r.width:parseInt(n,10),a=o.indexOf("%")!=-1?parseFloat(o)/100*r.height:parseInt(o,10);s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=t?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},d.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+e[o];t[r]=this.getXValue(a),t[s]="";var l=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",c=n?"bottom":"top",d=this.position.y+e[l];t[u]=this.getYValue(d),t[c]="",this.css(t),this.emitEvent("layout",[this])},d.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},d.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},d._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(e,10),r=parseInt(t,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(e,t),s&&!this.isTransitioning)return void this.layoutPosition();var a=e-i,l=t-n,u={};u.transform=this.getTranslate(a,l),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(e,t){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return e=i?e:-e,t=n?t:-t,"translate3d("+e+"px, "+t+"px, 0)"},d.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(e,t){this.position.x=parseInt(e,10),this.position.y=parseInt(t,10)},d._nonTransition=function(e){this.css(e.to),e.isCleaning&&this._removeStyles(e.to);for(var t in e.onTransitionEnd)e.onTransitionEnd[t].call(this)},d.transition=function(e){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(e);var t=this._transn;for(var i in e.onTransitionEnd)t.onEnd[i]=e.onTransitionEnd[i];for(i in e.to)t.ingProperties[i]=!0,e.isCleaning&&(t.clean[i]=!0);if(e.from){this.css(e.from);var n=this.element.offsetHeight;n=null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0};var h="opacity,"+r(l);d.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:h,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},d.onotransitionend=function(e){this.ontransitionend(e)};var f={"-webkit-transform":"transform"};d.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,i=f[e.propertyName]||e.propertyName;if(delete t.ingProperties[i],n(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd){var o=t.onEnd[i];o.call(this),delete t.onEnd[i]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(e){var t={};for(var i in e)t[i]="";this.css(t)};var p={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(p)},d.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return a&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={},i=this.getHideRevealTransitionEndProperty("visibleStyle");t[i]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var i in t)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");t[i]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(e,i){"use strict";o=[d,c,l,a],!(s=function(t,n,o,r){return i(e,t,n,o,r)}.apply(t,o))}(window,function e(t,i,n,o,r){"use strict";function s(e,t){var i=o.getQueryElement(e);if(!i)return void(u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||e)));this.element=i,c&&(this.$element=c(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(t);var n=++h;this.element.outlayerGUID=n,f[n]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function a(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}function l(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),i=t&&t[1],n=t&&t[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var u=t.console,c=t.jQuery,d=function(){},h=0,f={};s.namespace="outlayer",s.Item=r,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var p=s.prototype;o.extend(p,i.prototype),p.option=function(e){o.extend(this.options,e)},p._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var e=this._getOption("resize");e&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],o=0;o<t.length;o++){var r=t[o],s=new i(r,this);n.push(s)}return n},p._filterFindItemElements=function(e){return o.filterFindElements(e,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(e){return e.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=n(this.element)},p._getMeasurement=function(e,t){var i=this.options[e],o;i?("string"==typeof i?o=this.element.querySelector(i):i instanceof HTMLElement&&(o=i),this[e]=o?n(o)[t]:i):this[e]=0},p.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},p._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},p._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var i=[];e.forEach(function(e){var n=this._getItemLayoutPosition(e);n.item=e,n.isInstant=t||e.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},p.updateStagger=function(){var e=this.options.stagger;return null===e||void 0===e?void(this.stagger=0):(this.stagger=l(e),this.stagger)},p._positionItem=function(e,t,i,n,o){n?e.goTo(t,i):(e.stagger(o*this.stagger),e.moveTo(t,i))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){var e=this._getOption("resizeContainer");if(e){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},p._getContainerSize=d,p._setContainerMeasure=function(e,t){if(void 0!==e){var i=this.size;i.isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},p._emitCompleteOnItems=function(e,t){function i(){o.dispatchEvent(e+"Complete",null,[t])}function n(){s++,s==r&&i()}var o=this,r=t.length;if(!t||!r)return void i();var s=0;t.forEach(function(t){t.once(e,n)})},p.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;if(this.emitEvent(e,n),c)if(this.$element=this.$element||c(this.element),t){var o=c.Event(t);o.type=e,this.$element.trigger(o,i)}else this.$element.trigger(e,i)},p.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},p.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},p.stamp=function(e){e=this._find(e),e&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},p.unstamp=function(e){e=this._find(e),e&&e.forEach(function(e){o.removeFrom(this.stamps,e),this.unignore(e)},this)},p._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=o.makeArray(e)},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},p._manageStamp=d,p._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,o=n(e),r={left:t.left-i.left-o.marginLeft,top:t.top-i.top-o.marginTop,right:i.right-t.right-o.marginRight,bottom:i.bottom-t.bottom-o.marginBottom};return r},p.handleEvent=o.handleEvent,p.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var e=n(this.element),t=this.size&&e;return t&&e.innerWidth!==this.size.innerWidth},p.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},p.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},p.prepended=function(e){var t=this._itemize(e);if(t.length){var i=this.items.slice(0);this.items=t.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(i)}},p.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.reveal()})}},p.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,i){e.stagger(i*t),e.hide()})}},p.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},p.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},p.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},p.getItems=function(e){e=o.makeArray(e);var t=[];return e.forEach(function(e){var i=this.getItem(e);i&&t.push(i)},this),t},p.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),o.removeFrom(this.items,e)},this)},p.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete f[t],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},s.data=function(e){e=o.getQueryElement(e);var t=e&&e.outlayerGUID;return t&&f[t]},s.create=function(e,t){var i=a(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,t),i.compatOptions=o.extend({},s.compatOptions),i.namespace=e,i.data=s.data,i.Item=a(r),o.htmlInit(i,e),c&&c.bridget&&c.bridget(e,i),i};var m={ms:1,s:1e3};return s.Item=r,s}),function(i,a){o=[s,c],n=a,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r))}(window,function e(t,i){var n=t.create("masonry");return n.compatOptions.fitWidth="isFitWidth",n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],t=e&&e.element;this.columnWidth=t&&i(t).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&s<1?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.prototype.getContainerWidth=function(){var e=this._getOption("fitWidth"),t=e?this.element.parentNode:this.element,n=i(t);this.containerWidth=n&&n.innerWidth},n.prototype._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,i=t&&t<1?"round":"ceil",n=Math[i](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this._getColGroup(n),r=Math.min.apply(Math,o),s=o.indexOf(r),a={x:this.columnWidth*s,y:r},l=r+e.size.outerHeight,u=this.cols+1-o.length,c=0;c<u;c++)this.colYs[s+c]=l;return a},n.prototype._getColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++){var o=this.colYs.slice(n,n+e);t[n]=Math.max.apply(Math,o)}return t},n.prototype._manageStamp=function(e){var t=i(e),n=this._getElementOffset(e),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+t.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var l=Math.floor(s/this.columnWidth);l-=s%this.columnWidth?0:1,l=Math.min(this.cols-1,l);for(var u=this._getOption("originTop"),c=(u?n.top:n.bottom)+t.outerHeight,d=a;d<=l;d++)this.colYs[d]=Math.max(c,this.colYs[d])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n.prototype._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})},166:function(e,t,i){!function(e,t){e(function(){"use strict";function e(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var i,n,o=e.length;if(!o||!t)return!1;for(i=t.toLowerCase(),n=0;n<o;++n)if(i===e[n].toLowerCase())return!0;return!1}function n(e){for(var t in e)s.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function o(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}var r={};r.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"\\bSamsung\\b|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",
Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris [E|M]10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},r.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var s=Object.prototype.hasOwnProperty,a;return r.FALLBACK_PHONE="UnknownPhone",r.FALLBACK_TABLET="UnknownTablet",r.FALLBACK_MOBILE="UnknownMobile",a="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function e(){var t,i,o,l,u,c,d=r.mobileDetectRules;for(t in d.props)if(s.call(d.props,t)){for(i=d.props[t],a(i)||(i=[i]),u=i.length,l=0;l<u;++l)o=i[l],c=o.indexOf("[VER]"),c>=0&&(o=o.substring(0,c)+"([\\w._\\+]+)"+o.substring(c+5)),i[l]=new RegExp(o,"i");d.props[t]=i}n(d.oss),n(d.phones),n(d.tablets),n(d.uas),n(d.utils),d.oss0={WindowsPhoneOS:d.oss.WindowsPhoneOS,WindowsMobileOS:d.oss.WindowsMobileOS}}(),r.findMatch=function(e,t){for(var i in e)if(s.call(e,i)&&e[i].test(t))return i;return null},r.findMatches=function(e,t){var i=[];for(var n in e)s.call(e,n)&&e[n].test(t)&&i.push(n);return i},r.getVersionStr=function(e,t){var i=r.mobileDetectRules.props,n,o,a,l;if(s.call(i,e))for(n=i[e],a=n.length,o=0;o<a;++o)if(l=n[o].exec(t),null!==l)return l[1];return null},r.getVersion=function(e,t){var i=r.getVersionStr(e,t);return i?r.prepareVersionNo(i):NaN},r.prepareVersionNo=function(e){var t;return t=e.split(/[a-z._ \/\-]/i),1===t.length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},r.isMobileFallback=function(e){return r.detectMobileBrowsers.fullPattern.test(e)||r.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},r.isTabletFallback=function(e){return r.detectMobileBrowsers.tabletPattern.test(e)},r.prepareDetectionCache=function(e,i,n){if(e.mobile===t){var s,a,l;return(a=r.findMatch(r.mobileDetectRules.tablets,i))?(e.mobile=e.tablet=a,void(e.phone=null)):(s=r.findMatch(r.mobileDetectRules.phones,i))?(e.mobile=e.phone=s,void(e.tablet=null)):void(r.isMobileFallback(i)?(l=o.isPhoneSized(n),l===t?(e.mobile=r.FALLBACK_MOBILE,e.tablet=e.phone=null):l?(e.mobile=e.phone=r.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null)):r.isTabletFallback(i)?(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null)}},r.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile")<=5.2,"C")},r.detectOS=function(e){return r.findMatch(r.mobileDetectRules.oss0,e)||r.findMatch(r.mobileDetectRules.oss,e)},r.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=r.findMatch(r.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=r.findMatches(r.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=r.detectOS(this.ua)),this._cache.os},version:function(e){return r.getVersion(e,this.ua)},versionStr:function(e){return r.getVersionStr(e,this.ua)},is:function(t){return i(this.userAgents(),t)||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||i(r.findMatches(r.mobileDetectRules.utils,this.ua),t)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return o.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=r.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?o.isPhoneSized=function(e){return e<0?t:r.getDeviceSmallerSide()<=e}:o.isPhoneSized=function(){},o._impl=r,o.version="1.3.7 2017-09-06",o})}(function(t){if("undefined"!=typeof e&&e.exports)return function(t){e.exports=t()};if(0){if("undefined"!=typeof window)return function(e){window.MobileDetect=e()};throw new Error("unknown environment")}return i(252)}())},167:function(e,t,i){(function(e){!function(e,t,i){VimeoPlayer={player:null,defaults:{videoId:"139480129",mute:!0,loop:!0,autoplay:!0},init:function t(i,n){var o=this;return o.userOptions=n,o.$node=e(i),o.options=e.extend(!0,{},o.defaults,o.userOptions),o.ID=(new Date).getTime(),o.createBackgroundVideo(),o},createBackgroundVideo:function i(){var n=this,o="https://player.vimeo.com/video/{video-id}?title=0&byline=0&portrait=0&badge=0&autoplay={autoplay}&loop={loop}";o=o.replace("{video-id}",n.options.videoId),o=o.replace("{autoplay}",n.options.autoplay),o=o.replace("{loop}",n.options.loop);var r=e("<div/>",{class:"vimeoplayer-container",id:"vimeoplayer-container-"+n.ID}),s=e("<div/>",{class:"vimeoplayer-shield"}),a=e("<iframe/>",{src:o,id:n.ID,class:"vimeoplayer-player",frameborder:0});n.resize(a),r.append(a,s),n.$container=r,n.$node.append(r);var l=this.onIframeReady.bind(this);t.addEventListener?t.addEventListener("message",l,!1):t.attachEvent("onmessage",l,!1)},destroy:function(){var e=this;e.$node.removeData("VimeoPlayer"),e.$container.remove(),e.$node=null,e.$container=null},resize:function(e){var t=this.$node.outerWidth(),i=16/9,n=Math.ceil(t/i);e.prop({width:t,height:n})},onIframeReady:function(t){if("string"==typeof t.data){var i=this,n=JSON.parse(t.data);if("ready"===n.event&&i.volumeSet!==!0){i.volumeSet=!0;var o=e('iframe[id="'+i.ID+'"]'),r=i.options.mute?"0":"100",n=JSON.stringify({method:"setVolume",value:r});o[0].contentWindow.postMessage(n,o.attr("src"))}}}},e.fn.VimeoPlayer=function(t){return this.each(function(){var i=this,n=Object.create(VimeoPlayer);n.init(i,t),e.data(i,"VimeoPlayer",n)})}}(e,window,document)}).call(t,i(1))},169:function(e,t,i){(function(e){"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(e,t,i){var n=function e(n){var r=i.createElement("script"),s=i.getElementsByTagName("head")[0];"file://"==t.location.origin?r.src="http://www.youtube.com/iframe_api":r.src="//www.youtube.com/iframe_api",
s.appendChild(r),s=null,r=null,o(n)},o=function i(n){"undefined"==typeof YT&&"undefined"==typeof t.loadingPlayer?(t.loadingPlayer=!0,t.dfd=e.Deferred(),t.onYouTubeIframeAPIReady=function(){t.onYouTubeIframeAPIReady=null,t.dfd.resolve("done"),n()}):"object"==typeof YT?n():t.dfd.done(function(e){n()})};YTPlayer={player:null,defaults:{ratio:16/9,videoId:"LSmgKRx5pBo",mute:!0,repeat:!0,width:e(t).width(),playButtonClass:"YTPlayer-play",pauseButtonClass:"YTPlayer-pause",muteButtonClass:"YTPlayer-mute",volumeUpClass:"YTPlayer-volume-up",volumeDownClass:"YTPlayer-volume-down",start:0,pauseOnScroll:!1,fitToBackground:!0,playerVars:{iv_load_policy:3,modestbranding:1,autoplay:1,controls:0,showinfo:0,wmode:"opaque",branding:0,autohide:0},events:null},init:function i(o,r){var s=this;return s.userOptions=r,s.$node=e(o),s.$window=e(t),s.defaults.events={onReady:function(e){s.onPlayerReady(e),s.options.pauseOnScroll&&s.pauseOnScroll(),"function"==typeof s.options.callback&&s.options.callback.call(this)},onStateChange:function(e){1===e.data?s.$node.addClass("loaded"):0===e.data&&s.options.repeat&&s.player.seekTo(s.options.start)}},s.options=e.extend(!0,{},s.defaults,s.userOptions),s.options.height=Math.ceil(s.options.width/s.options.ratio),s.ID=(new Date).getTime(),s.holderID="YTPlayer-ID-"+s.ID,s.createBackgroundVideo(),s.$window.on("resize.YTplayer"+s.ID,function(){s.resize(s)}),n(s.onYouTubeIframeAPIReady.bind(s)),s.resize(s),s},pauseOnScroll:function e(){var t=this;t.$window.on("scroll.YTplayer"+t.ID,function(){var e=t.player.getPlayerState();1===e&&t.player.pauseVideo()}),t.$window.scrollStopped(function(){var e=t.player.getPlayerState();2===e&&t.player.playVideo()})},createBackgroundVideo:function t(){var i=this,n=e('<div id="ytplayer-container'+i.ID+'">\t\t\t\t\t\t\t\t\t\t<div id="'+i.holderID+'" class="ytplayer-player"></div>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t<div id="ytplayer-shield" class="ytplayer-shield"></div>');i.$node.append(n),i.$YTPlayerString=n,n=null},resize:function i(n){var o=e(t);n.options.fitToBackground||(o=n.$node);var r=o.outerWidth(),s=o.outerHeight(),a,l,u=e("#"+n.holderID);r/n.options.ratio<s?(a=Math.ceil(s*n.options.ratio),u.width(a).height(s).css({left:(r-a)/2,top:0})):(l=Math.ceil(r/n.options.ratio),u.width(r).height(l).css({left:0,top:(s-l)/2})),u=null,o=null},onYouTubeIframeAPIReady:function e(){var i=this;i.player=new t.YT.Player(i.holderID,i.options)},onPlayerReady:function e(t){this.options.mute&&t.target.mute(),this.options.playerVars&&this.options.playerVars.autoplay&&t.target.playVideo()},getPlayer:function e(){return this.player},destroy:function i(){var n=this;n.$node.removeData("yt-init").removeData("ytPlayer").removeClass("loaded"),n.$YTPlayerString.remove(),e(t).off("resize.YTplayer"+n.ID),e(t).off("scroll.YTplayer"+n.ID),n.$node=null,n.$YTPlayerString=null,n.player.destroy(),n.player=null}},e.fn.scrollStopped=function(t){var i=e(this),n=this;i.scroll(function(){i.data("scrollTimeout")&&clearTimeout(i.data("scrollTimeout")),i.data("scrollTimeout",setTimeout(t,250,n))})},e.fn.YTPlayer=function(t){return this.each(function(){var i=this;e(i).data("yt-init",!0);var n=Object.create(YTPlayer);n.init(i,t),e.data(i,"ytPlayer",n)})}}(e,window,document)}).call(t,i(1))},170:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(2),__webpack_require__(1),__webpack_require__(164)],__WEBPACK_AMD_DEFINE_RESULT__=function(_W,$){_W.evalJSON=function(json){var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;cx.test(json)&&(json=json.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));try{return eval("("+json+")")}catch(e){}throw new SyntaxError("Badly formed JSON string: "+json)},$.fn.up=function(e){return this.eq(0).parent().closest(e||"*")},$.fn.down=function(e){return e?this.eq(0).find(e||"*").eq(0):this.eq(0).children(":first")};var idCounter=1;return $.fn.identify=function(){var e=this.attr("id");if(!e&&this.length){do e="anonymous_element_"+idCounter++;while($("#"+e).length);this.attr("id",e)}return e},$.fn.placeholder=function(){if(!("placeholder"in document.createElement("input"))){var e,t;this.each(function(i,n){t=n.getAttribute("placeholder"),t&&"input"===n.nodeName.toLowerCase()&&(e=$(n).on({focus:function(e){n.value===t&&($(n).removeClass("wsite-placeholder"),n.value="")},blur:function(e){n.value.length||(n.value=t,n.className+=" wsite-placeholder")}}),n.className+=" wsite-placeholder",n.value=t)})}},$.extend({isValidSelector:function(e){try{var t=$(e)}catch(e){return!1}return!0}}),document.observe||(document.observe=function(e,t){"dom:loaded"==e&&$(document).ready(t)}),$}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))},172:function(e,t,i){var n,o;n=[i(5)],o=function(e){var t=e.View.prototype,n=e.View.extend({initialize:function(e){t.initialize.apply(this,arguments)},render:function(){window.inEditor&&window.inEditor()&&i(148).request("page:navigate")},remove:function(){t.remove.apply(this,arguments)},setElement:function(){t.setElement.apply(this,arguments)},delegateEvents:function(){t.delegateEvents.apply(this,arguments)},undelegateEvents:function(){t.undelegateEvents.apply(this,arguments)}});return n}.apply(t,n),!(void 0!==o&&(e.exports=o))},173:function(e,t,i){var n,o;n=[i(2),i(3),i(1),i(5),i(90),i(125)],o=function(e,t,i,n,o,r){var s={"w-global":e,underscore:t,jquery:i,backbone:n,"util/platform/elements/PlatformElement":o,"util/platform/elements/PlatformElementSettings":r};return function(e,t){var i=e.map(function(e){return s[e]});t.apply(t,i)}}.apply(t,n),!(void 0!==o&&(e.exports=o))},203:function(e,t,i){(function(t){e.exports=t.require=i(173)}).call(t,function(){return this}())},205:function(module,exports){!function(){function m(){return function(){}}function p(e){return function(){return this[e]}}function s(e){return function(){return e}}function u(e,t,i){if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),u.wa[e])return u.wa[e];e=u.v(e)}if(!e||!e.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return e.player||new u.w(e,t,i)}function D(e){e.t("vjs-lock-showing")}function E(e,t,i,n){return i!==b?(e.a.style[t]=-1!==(""+i).indexOf("%")||-1!==(""+i).indexOf("px")?i:"auto"===i?"":i+"px",n||e.j("resize"),e):e.a?(i=e.a.style[t],n=i.indexOf("px"),-1!==n?parseInt(i.slice(0,n),10):parseInt(e.a["offset"+u.$(t)],10)):0}function F(e,t){var i,n,o,r;return i=e.a,n=u.Zc(i),r=o=i.offsetWidth,i=e.handle,e.g.Ad?(r=n.top,n=t.changedTouches?t.changedTouches[0].pageY:t.pageY,i&&(i=i.v().offsetHeight,r+=i/2,o-=i),Math.max(0,Math.min(1,(r-n+o)/o))):(o=n.left,n=t.changedTouches?t.changedTouches[0].pageX:t.pageX,i&&(i=i.v().offsetWidth,o+=i/2,r-=i),Math.max(0,Math.min(1,(n-o)/r)))}function ca(e,t){e.Z(t),t.d("click",u.bind(e,function(){D(this)}))}function H(e){e.oa=f,e.va.n("vjs-lock-showing"),e.a.setAttribute("aria-pressed",f),e.I&&0<e.I.length&&e.I[0].v().focus()}function G(e){e.oa=l,D(e.va),e.a.setAttribute("aria-pressed",l)}function da(e){var t={sources:[],tracks:[]};if(u.k.B(t,u.wb(e)),e.hasChildNodes()){var i,n,o,r;for(e=e.childNodes,o=0,r=e.length;o<r;o++)i=e[o],n=i.nodeName.toLowerCase(),"source"===n?t.sources.push(u.wb(i)):"track"===n&&t.tracks.push(u.wb(i))}return t}function J(e,t,i){e.h?(e.aa=l,e.h.D(),e.Db&&(e.Db=l,clearInterval(e.Qa)),e.Eb&&K(e),e.h=l):"Html5"!==t&&e.M&&(u.l.gc(e.M),e.M=j),e.ia=t,e.aa=l;var n=u.k.B({source:i,parentEl:e.a},e.g[t.toLowerCase()]);i&&(i.src==e.u.src&&0<e.u.currentTime&&(n.startTime=e.u.currentTime),e.u.src=i.src),e.h=new window.videojs[t](e,n),e.h.L(function(){if(this.b.Ta(),!this.m.progressEvents){var e=this.b;e.Db=f,e.Qa=setInterval(u.bind(e,function(){this.u.kb<this.buffered().end(0)?this.j("progress"):1==this.Ia()&&(clearInterval(this.Qa),this.j("progress"))}),500),e.h.U("progress",function(){this.m.progressEvents=f;var e=this.b;e.Db=l,clearInterval(e.Qa)})}this.m.timeupdateEvents||(e=this.b,e.Eb=f,e.d("play",e.Ac),e.d("pause",e.ya),e.h.U("timeupdate",function(){this.m.timeupdateEvents=f,K(this.b)}))})}function K(e){e.Eb=l,e.ya(),e.o("play",e.Ac),e.o("pause",e.ya)}function M(e,t,i){if(e.h&&!e.h.aa)e.h.L(function(){this[t](i)});else try{e.h[t](i)}catch(e){throw u.log(e),e}}function L(e,t){if(e.h&&e.h.aa)try{return e.h[t]()}catch(i){throw e.h[t]===b?u.log("Video.js: "+t+" method not defined for "+e.ia+" playback technology.",i):"TypeError"==i.name?(u.log("Video.js: "+t+" unavailable on "+e.ia+" playback technology element.",i),e.h.aa=l):u.log(i),i}}function N(e){e.ad=l,u.o(document,"keydown",e.ic),document.documentElement.style.overflow=e.Wc,u.t(document.body,"vjs-full-window"),e.j("exitFullWindow")}function I(e,t){return t!==b?(t=!!t,t!==e.Ob&&((e.Ob=t)?(e.ja=f,e.t("vjs-user-inactive"),e.n("vjs-user-active"),e.j("useractive")):(e.ja=l,e.h.U("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),e.t("vjs-user-active"),e.n("vjs-user-inactive"),e.j("userinactive"))),e):e.Ob}function ea(){var e=u.media.Ua[i];return function(){throw Error('The "'+e+"\" method is not available on the playback technology's API")}}function fa(){var e=S[U],t=e.charAt(0).toUpperCase()+e.slice(1);R["set"+t]=function(t){return this.a.vjs_setProperty(e,t)}}function V(e){R[e]=function(){return this.a.vjs_getProperty(e)}}function W(e){return e.za=e.za||[],e.za}function X(e,t,i){for(var n=e.za,o=0,r=n.length,s,a;o<r;o++)s=n[o],s.id()===t?(s.show(),a=s):i&&s.J()==i&&0<s.mode()&&s.disable();(t=a?a.J():i?i:l)&&e.j(t+"trackchange")}function Y(e){0===e.ha&&e.load(),0===e.ga&&(e.b.d("timeupdate",u.bind(e,e.update,e.Q)),e.b.d("ended",u.bind(e,e.reset,e.Q)),("captions"===e.A||"subtitles"===e.A)&&e.b.V.textTrackDisplay.Z(e))}function ga(e){var t=e.split(":");e=0;var i,n,o;return 3==t.length?(i=t[0],n=t[1],t=t[2]):(i=0,n=t[0],t=t[1]),t=t.split(/\s+/),t=t.splice(0,1)[0],t=t.split(/\.|,/),o=parseFloat(t[1]),t=t[0],e+=3600*parseFloat(i),e+=60*parseFloat(n),e+=parseFloat(t),o&&(e+=o/1e3),e}function $(e,t){var i=e.split("."),n=ha;!(i[0]in n)&&n.execScript&&n.execScript("var "+i[0]);for(var o;i.length&&(o=i.shift());)i.length||t===b?n=n[o]?n[o]:n[o]={}:n[o]=t}var b=void 0,f=!0,j=null,l=!1,t;document.createElement("video"),document.createElement("audio"),document.createElement("track");var v=u;window.Rd=window.Sd=u,u.Rb="4.2",u.Dc="https:"==document.location.protocol?"https://":"http://",u.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{}},notSupportedMessage:'Sorry, no compatible source and playback technology were found for this video. Try using another browser like <a href="http://bit.ly/ccMUEC">Chrome</a> or download the latest <a href="http://adobe.ly/mwfN1">Adobe Flash Player</a>.'},"GENERATED_CDN_VSN"!==u.Rb&&(v.options.flash.swf=u.Dc+"vjs.zencdn.net/"+u.Rb+"/video-js.swf"),u.wa={},u.ka=u.CoreObject=m(),u.ka.extend=function(e){var t,i;e=e||{},t=e.init||e.i||this.prototype.init||this.prototype.i||m(),i=function(){t.apply(this,arguments)},i.prototype=u.k.create(this.prototype),i.prototype.constructor=i,i.extend=u.ka.extend,i.create=u.ka.create;for(var n in e)e.hasOwnProperty(n)&&(i.prototype[n]=e[n]);return i},u.ka.create=function(){var e=u.k.create(this.prototype);return this.apply(e,arguments),e},u.d=function(e,t,i){var n=u.getData(e);n.z||(n.z={}),n.z[t]||(n.z[t]=[]),i.s||(i.s=u.s++),n.z[t].push(i),n.W||(n.disabled=l,n.W=function(t){if(!n.disabled){t=u.hc(t);var i=n.z[t.type];if(i)for(var i=i.slice(0),o=0,r=i.length;o<r&&!t.mc();o++)i[o].call(e,t)}}),1==n.z[t].length&&(document.addEventListener?e.addEventListener(t,n.W,l):document.attachEvent&&e.attachEvent("on"+t,n.W))},u.o=function(e,t,i){if(u.lc(e)){var n=u.getData(e);if(n.z)if(t){var o=n.z[t];if(o){if(i){if(i.s)for(n=0;n<o.length;n++)o[n].s===i.s&&o.splice(n--,1)}else n.z[t]=[];u.dc(e,t)}}else for(o in n.z)t=o,n.z[t]=[],u.dc(e,t)}},u.dc=function(e,t){var i=u.getData(e);0===i.z[t].length&&(delete i.z[t],document.removeEventListener?e.removeEventListener(t,i.W,l):document.detachEvent&&e.detachEvent("on"+t,i.W)),u.Ab(i.z)&&(delete i.z,delete i.W,delete i.disabled),u.Ab(i)&&u.sc(e)},u.hc=function(e){function t(){return f}function i(){return l}if(!e||!e.Bb){var n=e||window.event;e={};for(var o in n)"layerX"!==o&&"layerY"!==o&&(e[o]=n[o]);if(e.target||(e.target=e.srcElement||document),e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement,e.preventDefault=function(){n.preventDefault&&n.preventDefault(),e.returnValue=l,e.zb=t},e.zb=i,e.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),e.cancelBubble=f,e.Bb=t},e.Bb=i,e.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),e.mc=t,e.stopPropagation()},e.mc=i,e.clientX!=j){o=document.documentElement;var r=document.body;e.pageX=e.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=e.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)}e.which=e.charCode||e.keyCode,e.button!=j&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e},u.j=function(e,t){var i=u.lc(e)?u.getData(e):{},n=e.parentNode||e.ownerDocument;return"string"==typeof t&&(t={type:t,target:e}),t=u.hc(t),i.W&&i.W.call(e,t),n&&!t.Bb()&&t.bubbles!==l?u.j(n,t):n||t.zb()||(i=u.getData(t.target),!t.target[t.type])||(i.disabled=f,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=l),!t.zb()},u.U=function(e,t,i){function n(){u.o(e,t,n),i.apply(this,arguments)}n.s=i.s=i.s||u.s++,u.d(e,t,n)};var w=Object.prototype.hasOwnProperty;u.e=function(e,t){var i,n;i=document.createElement(e||"div");for(n in t)w.call(t,n)&&(-1!==n.indexOf("aria-")||"role"==n?i.setAttribute(n,t[n]):i[n]=t[n]);return i},u.$=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},u.k={},u.k.create=Object.create||function(e){function t(){}return t.prototype=e,new t},u.k.ta=function(e,t,i){for(var n in e)w.call(e,n)&&t.call(i||this,n,e[n])},u.k.B=function(e,t){if(!t)return e;for(var i in t)w.call(t,i)&&(e[i]=t[i]);return e},u.k.fc=function(e,t){var i,n,o;e=u.k.copy(e);for(i in t)w.call(t,i)&&(n=e[i],o=t[i],e[i]=u.k.nc(n)&&u.k.nc(o)?u.k.fc(n,o):t[i]);return e},u.k.copy=function(e){return u.k.B({},e)},u.k.nc=function(e){return!!e&&"object"==typeof e&&"[object Object]"===e.toString()&&e.constructor===Object},u.bind=function(e,t,i){function n(){return t.apply(e,arguments)}return t.s||(t.s=u.s++),n.s=i?i+"_"+t.s:t.s,n},u.qa={},u.s=1,u.expando="vdata"+(new Date).getTime(),u.getData=function(e){var t=e[u.expando];return t||(t=e[u.expando]=u.s++,u.qa[t]={}),u.qa[t]},u.lc=function(e){return e=e[u.expando],!(!e||u.Ab(u.qa[e]))},u.sc=function(e){var t=e[u.expando];if(t){delete u.qa[t];try{delete e[u.expando]}catch(t){e.removeAttribute?e.removeAttribute(u.expando):e[u.expando]=j}}},u.Ab=function(e){for(var t in e)if(e[t]!==j)return l;return f},u.n=function(e,t){-1==(" "+e.className+" ").indexOf(" "+t+" ")&&(e.className=""===e.className?t:e.className+" "+t)},u.t=function(e,t){var i,n;if(-1!=e.className.indexOf(t)){for(i=e.className.split(" "),n=i.length-1;0<=n;n--)i[n]===t&&i.splice(n,1);e.className=i.join(" ")}},u.ma=u.e("video"),u.F=navigator.userAgent,u.Jc=/iPhone/i.test(u.F),u.Ic=/iPad/i.test(u.F),u.Kc=/iPod/i.test(u.F),u.Hc=u.Jc||u.Ic||u.Kc;var aa=u,x,y=u.F.match(/OS (\d+)_/i);x=y&&y[1]?y[1]:b,aa.Dd=x,u.Fc=/Android/i.test(u.F);var ba=u,z,A=u.F.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),B,C;A?(B=A[1]&&parseFloat(A[1]),C=A[2]&&parseFloat(A[2]),z=B&&C?parseFloat(A[1]+"."+A[2]):B?B:j):z=j,ba.Ec=z,u.Lc=u.Fc&&/webkit/i.test(u.F)&&2.3>u.Ec,u.Gc=/Firefox/i.test(u.F),u.Ed=/Chrome/i.test(u.F),u.Oc="ontouchstart"in window,u.wb=function(e){var t,i,n,o;if(t={},e&&e.attributes&&0<e.attributes.length){i=e.attributes;for(var r=i.length-1;0<=r;r--)n=i[r].name,o=i[r].value,"boolean"!=typeof e[n]&&-1===",autoplay,controls,loop,muted,default,".indexOf(","+n+",")||(o=o!==j?f:l),t[n]=o}return t},u.Id=function(e,t){var i="";return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(e,"").getPropertyValue(t):e.currentStyle&&(i=e["client"+t.substr(0,1).toUpperCase()+t.substr(1)]+"px"),i},u.yb=function(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},u.Nb={},u.v=function(e){return 0===e.indexOf("#")&&(e=e.slice(1)),document.getElementById(e)},u.Ka=function(e,t){t=t||e;var i=Math.floor(e%60),n=Math.floor(e/60%60),o=Math.floor(e/3600),r=Math.floor(t/60%60),s=Math.floor(t/3600);return(isNaN(e)||1/0===e)&&(o=n=i="-"),o=0<o||0<s?o+":":"",o+(((o||10<=r)&&10>n?"0"+n:n)+":")+(10>i?"0"+i:i)},u.Rc=function(){document.body.focus(),document.onselectstart=s(l)},u.zd=function(){document.onselectstart=s(f)},u.trim=function(e){return(e+"").replace(/^\s+|\s+$/g,"")},u.round=function(e,t){return t||(t=0),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},u.sb=function(e,t){return{length:1,start:function(){return e},end:function(){return t}}},u.get=function(e,t,i){var n,o;"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("This browser does not support XMLHttpRequest.")}),o=new XMLHttpRequest;try{o.open("GET",e)}catch(e){i(e)}n=0===e.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===e.indexOf("http"),o.onreadystatechange=function(){4===o.readyState&&(200===o.status||n&&0===o.status?t(o.responseText):i&&i())};try{o.send()}catch(e){i&&i(e)}},u.rd=function(e){try{var t=window.localStorage||l;t&&(t.volume=e)}catch(e){22==e.code||1014==e.code?u.log("LocalStorage Full (VideoJS)",e):18==e.code?u.log("LocalStorage not allowed (VideoJS)",e):u.log("LocalStorage Error (VideoJS)",e)}},u.jc=function(e){return e.match(/^https?:\/\//)||(e=u.e("div",{innerHTML:'<a href="'+e+'">x</a>'}).firstChild.href),e},u.log=function(){u.log.history=u.log.history||[],u.log.history.push(arguments),window.console&&window.console.log(Array.prototype.slice.call(arguments))},u.Zc=function(e){var t,i;return e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),t?(e=document.documentElement,i=document.body,{left:t.left+(window.pageXOffset||i.scrollLeft)-(e.clientLeft||i.clientLeft||0),top:t.top+(window.pageYOffset||i.scrollTop)-(e.clientTop||i.clientTop||0)}):{left:0,top:0}},u.c=u.ka.extend({i:function(e,t,i){if(this.b=e,this.g=u.k.copy(this.g),t=this.options(t),this.Q=t.id||(t.el&&t.el.id?t.el.id:e.id()+"_component_"+u.s++),this.ed=t.name||j,this.a=t.el||this.e(),this.G=[],this.pb={},this.V={},(e=this.g)&&e.children){var n=this;u.k.ta(e.children,function(e,t){t!==l&&!t.loadEvent&&(n[e]=n.Z(e,t))})}this.L(i)}}),t=u.c.prototype,t.D=function(){if(this.j("dispose"),this.G)for(var e=this.G.length-1;0<=e;e--)this.G[e].D&&this.G[e].D();this.V=this.pb=this.G=j,this.o(),this.a.parentNode&&this.a.parentNode.removeChild(this.a),u.sc(this.a),this.a=j},t.K=p("b"),t.options=function(e){return e===b?this.g:this.g=u.k.fc(this.g,e)},t.e=function(e,t){return u.e(e,t)},t.v=p("a"),t.id=p("Q"),t.name=p("ed"),t.children=p("G"),t.Z=function(e,t){var i,n;return"string"==typeof e?(n=e,t=t||{},i=t.componentClass||u.$(n),t.name=n,i=new window.videojs[i](this.b||this,t)):i=e,this.G.push(i),"function"==typeof i.id&&(this.pb[i.id()]=i),(n=n||i.name&&i.name())&&(this.V[n]=i),"function"==typeof i.el&&i.el()&&(this.ra||this.a).appendChild(i.el()),i},t.removeChild=function(e){if("string"==typeof e&&(e=this.V[e]),e&&this.G){for(var t=l,i=this.G.length-1;0<=i;i--)if(this.G[i]===e){t=f,this.G.splice(i,1);break}t&&(this.pb[e.id]=j,this.V[e.name]=j,(t=e.v())&&t.parentNode===(this.ra||this.a)&&(this.ra||this.a).removeChild(e.v()))}},t.T=s(""),t.d=function(e,t){return u.d(this.a,e,u.bind(this,t)),this},t.o=function(e,t){return u.o(this.a,e,t),this},t.U=function(e,t){return u.U(this.a,e,u.bind(this,t)),this},t.j=function(e,t){return u.j(this.a,e,t),this},t.L=function(e){return e&&(this.aa?e.call(this):(this.Ra===b&&(this.Ra=[]),this.Ra.push(e))),this},t.Ta=function(){this.aa=f;var e=this.Ra;if(e&&0<e.length){for(var t=0,i=e.length;t<i;t++)e[t].call(this);this.Ra=[],this.j("ready")}},t.n=function(e){return u.n(this.a,e),this},t.t=function(e){return u.t(this.a,e),this},t.show=function(){return this.a.style.display="block",this},t.C=function(){return this.a.style.display="none",this},t.disable=function(){this.C(),this.show=m()},t.width=function(e,t){return E(this,"width",e,t)},t.height=function(e,t){return E(this,"height",e,t)},t.Vc=function(e,t){return this.width(e,f).height(t)},u.q=u.c.extend({i:function(e,t){u.c.call(this,e,t);var i=l;this.d("touchstart",function(e){e.preventDefault(),i=f}),this.d("touchmove",function(){i=l});var n=this;this.d("touchend",function(e){i&&n.p(e),e.preventDefault()}),this.d("click",this.p),this.d("focus",this.Na),this.d("blur",this.Ma)}}),t=u.q.prototype,t.e=function(e,t){return t=u.k.B({className:this.T(),innerHTML:'<div class="vjs-control-content"><span class="vjs-control-text">'+(this.pa||"Need Text")+"</span></div>",od:"button","aria-live":"polite",tabIndex:0},t),u.c.prototype.e.call(this,e,t)},t.T=function(){return"vjs-control "+u.c.prototype.T.call(this)},t.p=m(),t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))},t.ba=function(e){32!=e.which&&13!=e.which||(e.preventDefault(),this.p())},t.Ma=function(){u.o(document,"keyup",u.bind(this,this.ba))},u.O=u.c.extend({i:function(e,t){u.c.call(this,e,t),this.Qc=this.V[this.g.barName],this.handle=this.V[this.g.handleName],e.d(this.qc,u.bind(this,this.update)),this.d("mousedown",this.Oa),this.d("touchstart",this.Oa),this.d("focus",this.Na),this.d("blur",this.Ma),this.d("click",this.p),this.b.d("controlsvisible",u.bind(this,this.update)),e.L(u.bind(this,this.update)),this.P={}}}),t=u.O.prototype,t.e=function(e,t){return t=t||{},t.className+=" vjs-slider",t=u.k.B({od:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},t),u.c.prototype.e.call(this,e,t)},t.Oa=function(e){e.preventDefault(),u.Rc(),this.P.move=u.bind(this,this.Gb),this.P.end=u.bind(this,this.Hb),u.d(document,"mousemove",this.P.move),u.d(document,"mouseup",this.P.end),u.d(document,"touchmove",this.P.move),u.d(document,"touchend",this.P.end),this.Gb(e)},t.Hb=function(){u.zd(),u.o(document,"mousemove",this.P.move,l),u.o(document,"mouseup",this.P.end,l),u.o(document,"touchmove",this.P.move,l),u.o(document,"touchend",this.P.end,l),this.update()},t.update=function(){if(this.a){var e,t=this.xb(),i=this.handle,n=this.Qc;if(isNaN(t)&&(t=0),e=t,i){e=this.a.offsetWidth;var o=i.v().offsetWidth;e=o?o/e:0,t*=1-e,e=t+e/2,i.v().style.left=u.round(100*t,2)+"%"}n.v().style.width=u.round(100*e,2)+"%"}},t.Na=function(){u.d(document,"keyup",u.bind(this,this.ba))},t.ba=function(e){37==e.which?(e.preventDefault(),this.wc()):39==e.which&&(e.preventDefault(),this.xc())},t.Ma=function(){u.o(document,"keyup",u.bind(this,this.ba))},t.p=function(e){e.stopImmediatePropagation(),e.preventDefault()},u.ea=u.c.extend(),u.ea.prototype.defaultValue=0,u.ea.prototype.e=function(e,t){return t=t||{},t.className+=" vjs-slider-handle",t=u.k.B({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},t),u.c.prototype.e.call(this,"div",t)},u.la=u.c.extend(),u.la.prototype.e=function(){var e=this.options().Tc||"ul";return this.ra=u.e(e,{className:"vjs-menu-content"}),e=u.c.prototype.e.call(this,"div",{append:this.ra,className:"vjs-menu"}),e.appendChild(this.ra),u.d(e,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),e},u.N=u.q.extend({i:function(e,t){u.q.call(this,e,t),this.selected(t.selected)}}),u.N.prototype.e=function(e,t){return u.q.prototype.e.call(this,"li",u.k.B({className:"vjs-menu-item",innerHTML:this.g.label},t))},u.N.prototype.p=function(){this.selected(f)},u.N.prototype.selected=function(e){e?(this.n("vjs-selected"),this.a.setAttribute("aria-selected",f)):(this.t("vjs-selected"),this.a.setAttribute("aria-selected",l))},u.R=u.q.extend({i:function(e,t){u.q.call(this,e,t),this.va=this.Ja(),this.Z(this.va),this.I&&0===this.I.length&&this.C(),this.d("keyup",this.ba),this.a.setAttribute("aria-haspopup",f),this.a.setAttribute("role","button")}}),t=u.R.prototype,t.oa=l,t.Ja=function(){var e=new u.la(this.b);if(this.options().title&&e.v().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.$(this.A),xd:-1})),this.I=this.createItems())for(var t=0;t<this.I.length;t++)ca(e,this.I[t]);return e},t.sa=m(),t.T=function(){return this.className+" vjs-menu-button "+u.q.prototype.T.call(this)},t.Na=m(),t.Ma=m(),t.p=function(){this.U("mouseout",u.bind(this,function(){D(this.va),this.a.blur()})),this.oa?G(this):H(this)},t.ba=function(e){e.preventDefault(),32==e.which||13==e.which?this.oa?G(this):H(this):27==e.which&&this.oa&&G(this)},u.w=u.c.extend({i:function(e,t,i){this.M=e,t=u.k.B(da(e),t),this.u={},this.rc=t.poster,this.rb=t.controls,e.controls=l,u.c.call(this,this,t,i),this.controls()?this.n("vjs-controls-enabled"):this.n("vjs-controls-disabled"),this.U("play",function(e){u.j(this.a,{type:"firstplay",target:this.a})||(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}),this.d("ended",this.fd),this.d("play",this.Jb),this.d("firstplay",this.gd),this.d("pause",this.Ib),this.d("progress",this.jd),this.d("durationchange",this.pc),this.d("error",this.Fb),this.d("fullscreenchange",this.hd),u.wa[this.Q]=this,t.plugins&&u.k.ta(t.plugins,function(e,t){this[e](t)},this);var n,o,r,s;n=this.tc,e=function(){n(),clearInterval(o),o=setInterval(u.bind(this,n),250)},t=function(){n(),clearInterval(o)},this.d("mousedown",e),this.d("mousemove",n),this.d("mouseup",t),this.d("keydown",n),this.d("keyup",n),this.d("touchstart",e),this.d("touchmove",n),this.d("touchend",t),this.d("touchcancel",t),r=setInterval(u.bind(this,function(){this.ja&&(this.ja=l,I(this,f),clearTimeout(s),s=setTimeout(u.bind(this,function(){this.ja||I(this,l)}),2e3))}),250),this.d("dispose",function(){clearInterval(r),clearTimeout(s)})}}),t=u.w.prototype,t.g=u.options,t.D=function(){this.j("dispose"),this.o("dispose"),u.wa[this.Q]=j,this.M&&this.M.player&&(this.M.player=j),this.a&&this.a.player&&(this.a.player=j),clearInterval(this.Qa),this.ya(),this.h&&this.h.D(),u.c.prototype.D.call(this)},t.e=function(){var e=this.a=u.c.prototype.e.call(this,"div"),t=this.M;if(t.removeAttribute("width"),t.removeAttribute("height"),t.hasChildNodes()){var i,n,o,r,s;for(i=t.childNodes,n=i.length,s=[];n--;)o=i[n],r=o.nodeName.toLowerCase(),"track"===r&&s.push(o);for(i=0;i<s.length;i++)t.removeChild(s[i])}return t.id=t.id||"vjs_video_"+u.s++,e.id=t.id,e.className=t.className,t.id+="_html5_api",t.className="vjs-tech",t.player=e.player=this,this.n("vjs-paused"),this.width(this.g.width,f),this.height(this.g.height,f),t.parentNode&&t.parentNode.insertBefore(e,t),u.yb(t,e),e},t.Ac=function(){this.ec&&this.ya(),this.ec=setInterval(u.bind(this,function(){this.j("timeupdate")}),250)},t.ya=function(){clearInterval(this.ec)},t.fd=function(){this.g.loop&&(this.currentTime(0),this.play())},t.Jb=function(){u.t(this.a,"vjs-paused"),u.n(this.a,"vjs-playing")},t.gd=function(){this.g.starttime&&this.currentTime(this.g.starttime),this.n("vjs-has-started")},t.Ib=function(){u.t(this.a,"vjs-playing"),u.n(this.a,"vjs-paused")},t.jd=function(){1==this.Ia()&&this.j("loadedalldata")},t.pc=function(){this.duration(L(this,"duration"))},t.Fb=function(e){u.log("Video Error",e)},t.hd=function(){this.H?this.n("vjs-fullscreen"):this.t("vjs-fullscreen")},t.play=function(){return M(this,"play"),this},t.pause=function(){return M(this,"pause"),this},t.paused=function(){return L(this,"paused")===l?l:f},t.currentTime=function(e){return e!==b?(this.u.oc=e,M(this,"setCurrentTime",e),this.Eb&&this.j("timeupdate"),this):this.u.currentTime=L(this,"currentTime")||0},t.duration=function(e){return e!==b?(this.u.duration=parseFloat(e),this):(this.u.duration===b&&this.pc(),this.u.duration)},t.buffered=function(){var e=L(this,"buffered"),t=e.length-1,i=this.u.kb=this.u.kb||0;return e&&0<=t&&e.end(t)!==i&&(i=e.end(t),this.u.kb=i),u.sb(0,i)},t.Ia=function(){return this.duration()?this.buffered().end(0)/this.duration():0},t.volume=function(e){return e!==b?(e=Math.max(0,Math.min(1,parseFloat(e))),this.u.volume=e,M(this,"setVolume",e),u.rd(e),this):(e=parseFloat(L(this,"volume")),isNaN(e)?1:e)},t.muted=function(e){return e!==b?(M(this,"setMuted",e),this):L(this,"muted")||l},t.Sa=function(){return L(this,"supportsFullScreen")||l},t.xa=function(){var e=u.Nb.xa;return this.H=f,e?(u.d(document,e.ub,u.bind(this,function(t){this.H=document[e.H],this.H===l&&u.o(document,e.ub,arguments.callee),this.j("fullscreenchange")})),this.a[e.uc]()):this.h.Sa()?M(this,"enterFullScreen"):(this.ad=f,this.Wc=document.documentElement.style.overflow,u.d(document,"keydown",u.bind(this,this.ic)),document.documentElement.style.overflow="hidden",u.n(document.body,"vjs-full-window"),this.j("enterFullWindow"),this.j("fullscreenchange")),this},t.nb=function(){var e=u.Nb.xa;return this.H=l,e?document[e.mb]():this.h.Sa()?M(this,"exitFullScreen"):(N(this),this.j("fullscreenchange")),this},t.ic=function(e){27===e.keyCode&&(this.H===f?this.nb():N(this))},t.src=function(e){if(e instanceof Array){var t;e:{t=e;for(var i=0,n=this.g.techOrder;i<n.length;i++){var o=u.$(n[i]),r=window.videojs[o];if(r.isSupported())for(var s=0,a=t;s<a.length;s++){var c=a[s];if(r.canPlaySource(c)){t={source:c,h:o};break e}}}t=l}t?(e=t.source,t=t.h,t==this.ia?this.src(e):J(this,t,e)):this.a.appendChild(u.e("p",{innerHTML:this.options().notSupportedMessage}))}else e instanceof Object?window.videojs[this.ia].canPlaySource(e)?this.src(e.src):this.src([e]):(this.u.src=e,this.aa?(M(this,"src",e),"auto"==this.g.preload&&this.load(),this.g.autoplay&&this.play()):this.L(function(){this.src(e)}));return this},t.load=function(){return M(this,"load"),this},t.currentSrc=function(){return L(this,"currentSrc")||this.u.src||""},t.Pa=function(e){return e!==b?(M(this,"setPreload",e),this.g.preload=e,this):L(this,"preload")},t.autoplay=function(e){return e!==b?(M(this,"setAutoplay",e),this.g.autoplay=e,this):L(this,"autoplay")},t.loop=function(e){return e!==b?(M(this,"setLoop",e),this.g.loop=e,this):L(this,"loop")},t.poster=function(e){return e!==b&&(this.rc=e),this.rc},t.controls=function(e){return e!==b?(e=!!e,this.rb!==e&&((this.rb=e)?(this.t("vjs-controls-disabled"),this.n("vjs-controls-enabled"),this.j("controlsenabled")):(this.t("vjs-controls-enabled"),this.n("vjs-controls-disabled"),this.j("controlsdisabled"))),this):this.rb},u.w.prototype.Qb,t=u.w.prototype,t.Pb=function(e){return e!==b?(e=!!e,this.Qb!==e&&((this.Qb=e)?(this.n("vjs-using-native-controls"),this.j("usingnativecontrols")):(this.t("vjs-using-native-controls"),this.j("usingcustomcontrols"))),this):this.Qb},t.error=function(){return L(this,"error")},t.seeking=function(){return L(this,"seeking")},t.ja=f,t.tc=function(){this.ja=f},t.Ob=f;var O,P,Q;Q=document.createElement("div"),P={},Q.Fd!==b?(P.uc="requestFullscreen",P.mb="exitFullscreen",P.ub="fullscreenchange",P.H="fullScreen"):(document.mozCancelFullScreen?(O="moz",P.H=O+"FullScreen"):(O="webkit",P.H=O+"IsFullScreen"),Q[O+"RequestFullScreen"]&&(P.uc=O+"RequestFullScreen",P.mb=O+"CancelFullScreen"),P.ub=O+"fullscreenchange"),document[P.mb]&&(u.Nb.xa=P),u.Ea=u.c.extend(),u.Ea.prototype.g={Kd:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{}}},u.Ea.prototype.e=function(){return u.e("div",{className:"vjs-control-bar"})},u.Wb=u.q.extend({i:function(e,t){u.q.call(this,e,t),e.d("play",u.bind(this,this.Jb)),e.d("pause",u.bind(this,this.Ib))}}),t=u.Wb.prototype,t.pa="Play",t.T=function(){return"vjs-play-control "+u.q.prototype.T.call(this);
},t.p=function(){this.b.paused()?this.b.play():this.b.pause()},t.Jb=function(){u.t(this.a,"vjs-paused"),u.n(this.a,"vjs-playing"),this.a.children[0].children[0].innerHTML="Pause"},t.Ib=function(){u.t(this.a,"vjs-playing"),u.n(this.a,"vjs-paused"),this.a.children[0].children[0].innerHTML="Play"},u.Xa=u.c.extend({i:function(e,t){u.c.call(this,e,t),e.d("timeupdate",u.bind(this,this.Ba))}}),u.Xa.prototype.e=function(){var e=u.c.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"}),e.appendChild(u.e("div").appendChild(this.content)),e},u.Xa.prototype.Ba=function(){var e=this.b.Lb?this.b.u.currentTime:this.b.currentTime();this.content.innerHTML='<span class="vjs-control-text">Current Time </span>'+u.Ka(e,this.b.duration())},u.Ya=u.c.extend({i:function(e,t){u.c.call(this,e,t),e.d("timeupdate",u.bind(this,this.Ba))}}),u.Ya.prototype.e=function(){var e=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">Duration Time </span>0:00',"aria-live":"off"}),e.appendChild(u.e("div").appendChild(this.content)),e},u.Ya.prototype.Ba=function(){var e=this.b.duration();e&&(this.content.innerHTML='<span class="vjs-control-text">Duration Time </span>'+u.Ka(e))},u.$b=u.c.extend({i:function(e,t){u.c.call(this,e,t)}}),u.$b.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},u.eb=u.c.extend({i:function(e,t){u.c.call(this,e,t),e.d("timeupdate",u.bind(this,this.Ba))}}),u.eb.prototype.e=function(){var e=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});return this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">Remaining Time </span>-0:00',"aria-live":"off"}),e.appendChild(u.e("div").appendChild(this.content)),e},u.eb.prototype.Ba=function(){this.b.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Remaining Time </span>-'+u.Ka(this.b.duration()-this.b.currentTime()))},u.Fa=u.q.extend({i:function(e,t){u.q.call(this,e,t)}}),u.Fa.prototype.pa="Fullscreen",u.Fa.prototype.T=function(){return"vjs-fullscreen-control "+u.q.prototype.T.call(this)},u.Fa.prototype.p=function(){this.b.H?(this.b.nb(),this.a.children[0].children[0].innerHTML="Fullscreen"):(this.b.xa(),this.a.children[0].children[0].innerHTML="Non-Fullscreen")},u.cb=u.c.extend({i:function(e,t){u.c.call(this,e,t)}}),u.cb.prototype.g={children:{seekBar:{}}},u.cb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})},u.Xb=u.O.extend({i:function(e,t){u.O.call(this,e,t),e.d("timeupdate",u.bind(this,this.Aa)),e.L(u.bind(this,this.Aa))}}),t=u.Xb.prototype,t.g={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"},t.qc="timeupdate",t.e=function(){return u.O.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})},t.Aa=function(){var e=this.b.Lb?this.b.u.currentTime:this.b.currentTime();this.a.setAttribute("aria-valuenow",u.round(100*this.xb(),2)),this.a.setAttribute("aria-valuetext",u.Ka(e,this.b.duration()))},t.xb=function(){var e;return"Flash"===this.b.ia&&this.b.seeking()?(e=this.b.u,e=e.oc?e.oc:this.b.currentTime()):e=this.b.currentTime(),e/this.b.duration()},t.Oa=function(e){u.O.prototype.Oa.call(this,e),this.b.Lb=f,this.Bd=!this.b.paused(),this.b.pause()},t.Gb=function(e){e=F(this,e)*this.b.duration(),e==this.b.duration()&&(e-=.1),this.b.currentTime(e)},t.Hb=function(e){u.O.prototype.Hb.call(this,e),this.b.Lb=l,this.Bd&&this.b.play()},t.xc=function(){this.b.currentTime(this.b.currentTime()+5)},t.wc=function(){this.b.currentTime(this.b.currentTime()-5)},u.$a=u.c.extend({i:function(e,t){u.c.call(this,e,t),e.d("progress",u.bind(this,this.update))}}),u.$a.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text">Loaded: 0%</span>'})},u.$a.prototype.update=function(){this.a.style&&(this.a.style.width=u.round(100*this.b.Ia(),2)+"%")},u.Vb=u.c.extend({i:function(e,t){u.c.call(this,e,t)}}),u.Vb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text">Progress: 0%</span>'})},u.fb=u.ea.extend(),u.fb.prototype.defaultValue="00:00",u.fb.prototype.e=function(){return u.ea.prototype.e.call(this,"div",{className:"vjs-seek-handle"})},u.hb=u.c.extend({i:function(e,t){u.c.call(this,e,t),e.h&&e.h.m&&e.h.m.volumeControl===l&&this.n("vjs-hidden"),e.d("loadstart",u.bind(this,function(){e.h.m&&e.h.m.volumeControl===l?this.n("vjs-hidden"):this.t("vjs-hidden")}))}}),u.hb.prototype.g={children:{volumeBar:{}}},u.hb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})},u.gb=u.O.extend({i:function(e,t){u.O.call(this,e,t),e.d("volumechange",u.bind(this,this.Aa)),e.L(u.bind(this,this.Aa)),setTimeout(u.bind(this,this.update),0)}}),t=u.gb.prototype,t.Aa=function(){this.a.setAttribute("aria-valuenow",u.round(100*this.b.volume(),2)),this.a.setAttribute("aria-valuetext",u.round(100*this.b.volume(),2)+"%")},t.g={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"},t.qc="volumechange",t.e=function(){return u.O.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})},t.Gb=function(e){this.b.volume(F(this,e))},t.xb=function(){return this.b.muted()?0:this.b.volume()},t.xc=function(){this.b.volume(this.b.volume()+.1)},t.wc=function(){this.b.volume(this.b.volume()-.1)},u.ac=u.c.extend({i:function(e,t){u.c.call(this,e,t)}}),u.ac.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},u.ib=u.ea.extend(),u.ib.prototype.defaultValue="00:00",u.ib.prototype.e=function(){return u.ea.prototype.e.call(this,"div",{className:"vjs-volume-handle"})},u.da=u.q.extend({i:function(e,t){u.q.call(this,e,t),e.d("volumechange",u.bind(this,this.update)),e.h&&e.h.m&&e.h.m.volumeControl===l&&this.n("vjs-hidden"),e.d("loadstart",u.bind(this,function(){e.h.m&&e.h.m.volumeControl===l?this.n("vjs-hidden"):this.t("vjs-hidden")}))}}),u.da.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})},u.da.prototype.p=function(){this.b.muted(this.b.muted()?l:f)},u.da.prototype.update=function(){var e=this.b.volume(),t=3;for(0===e||this.b.muted()?t=0:.33>e?t=1:.67>e&&(t=2),this.b.muted()?"Unmute"!=this.a.children[0].children[0].innerHTML&&(this.a.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.a.children[0].children[0].innerHTML&&(this.a.children[0].children[0].innerHTML="Mute"),e=0;4>e;e++)u.t(this.a,"vjs-vol-"+e);u.n(this.a,"vjs-vol-"+t)},u.na=u.R.extend({i:function(e,t){u.R.call(this,e,t),e.d("volumechange",u.bind(this,this.update)),e.h&&e.h.m&&e.h.m.Bc===l&&this.n("vjs-hidden"),e.d("loadstart",u.bind(this,function(){e.h.m&&e.h.m.Bc===l?this.n("vjs-hidden"):this.t("vjs-hidden")})),this.n("vjs-menu-button")}}),u.na.prototype.Ja=function(){var e=new u.la(this.b,{Tc:"div"}),t=new u.gb(this.b,u.k.B({Ad:f},this.g.Td));return e.Z(t),e},u.na.prototype.p=function(){u.da.prototype.p.call(this),u.R.prototype.p.call(this)},u.na.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})},u.na.prototype.update=u.da.prototype.update,u.bb=u.q.extend({i:function(e,t){u.q.call(this,e,t),(!e.poster()||!e.controls())&&this.C(),e.d("play",u.bind(this,this.C))}}),u.bb.prototype.e=function(){var e=u.e("div",{className:"vjs-poster",tabIndex:-1}),t=this.b.poster();return t&&("backgroundSize"in e.style?e.style.backgroundImage='url("'+t+'")':e.appendChild(u.e("img",{src:t}))),e},u.bb.prototype.p=function(){this.K().controls()&&this.b.play()},u.Ub=u.c.extend({i:function(e,t){u.c.call(this,e,t),e.d("canplay",u.bind(this,this.C)),e.d("canplaythrough",u.bind(this,this.C)),e.d("playing",u.bind(this,this.C)),e.d("seeked",u.bind(this,this.C)),e.d("seeking",u.bind(this,this.show)),e.d("seeked",u.bind(this,this.C)),e.d("error",u.bind(this,this.show)),e.d("waiting",u.bind(this,this.show))}}),u.Ub.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})},u.Va=u.q.extend(),u.Va.prototype.e=function(){return u.q.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:"<span></span>","aria-label":"play video"})},u.Va.prototype.p=function(){this.b.play()},u.r=u.c.extend({i:function(e,t,i){u.c.call(this,e,t,i);var n,o;o=this,n=this.K(),e=function(){if(n.controls()&&!n.Pb()){var e,t;o.d("mousedown",o.p),o.d("touchstart",function(e){e.preventDefault(),e.stopPropagation(),t=I(this.b)}),e=function(e){e.stopPropagation(),t&&this.b.tc()},o.d("touchmove",e),o.d("touchleave",e),o.d("touchcancel",e),o.d("touchend",e);var i,r,s;i=0,o.d("touchstart",function(){i=(new Date).getTime(),s=f}),e=function(){s=l},o.d("touchmove",e),o.d("touchleave",e),o.d("touchcancel",e),o.d("touchend",function(){s===f&&(r=(new Date).getTime()-i,250>r&&this.j("tap"))}),o.d("tap",o.kd)}},t=u.bind(o,o.nd),this.L(e),n.d("controlsenabled",e),n.d("controlsdisabled",t)}}),u.r.prototype.nd=function(){this.o("tap"),this.o("touchstart"),this.o("touchmove"),this.o("touchleave"),this.o("touchcancel"),this.o("touchend"),this.o("click"),this.o("mousedown")},u.r.prototype.p=function(e){0===e.button&&this.K().controls()&&(this.K().paused()?this.K().play():this.K().pause())},u.r.prototype.kd=function(){I(this.K(),!I(this.K()))},u.r.prototype.m={volumeControl:f,fullscreenResize:l,progressEvents:l,timeupdateEvents:l},u.media={},u.media.Ua="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");for(var i=u.media.Ua.length-1;0<=i;i--)u.r.prototype[u.media.Ua[i]]=ea();u.l=u.r.extend({i:function(e,t,i){if(this.m.volumeControl=u.l.Sc(),this.m.movingMediaElementInDOM=!u.Hc,this.m.fullscreenResize=f,u.r.call(this,e,t,i),(t=t.source)&&this.a.currentSrc===t.src&&0<this.a.networkState?e.j("loadstart"):t&&(this.a.src=t.src),u.Oc&&e.options().nativeControlsForTouch!==l){var n,o,r,s;n=this,o=this.K(),t=o.controls(),n.a.controls=!!t,r=function(){n.a.controls=f},s=function(){n.a.controls=l},o.d("controlsenabled",r),o.d("controlsdisabled",s),t=function(){o.o("controlsenabled",r),o.o("controlsdisabled",s)},n.d("dispose",t),o.d("usingcustomcontrols",t),o.Pb(f)}for(e.L(function(){this.M&&this.g.autoplay&&this.paused()&&(delete this.M.poster,this.play())}),e=u.l.Za.length-1;0<=e;e--)u.d(this.a,u.l.Za[e],u.bind(this.b,this.Yc));this.Ta()}}),t=u.l.prototype,t.D=function(){u.r.prototype.D.call(this)},t.e=function(){var e=this.b,t=e.M,i;t&&this.m.movingMediaElementInDOM!==l||(t?(i=t.cloneNode(l),u.l.gc(t),t=i,e.M=j):t=u.e("video",{id:e.id()+"_html5_api",className:"vjs-tech"}),t.player=e,u.yb(t,e.v())),i=["autoplay","preload","loop","muted"];for(var n=i.length-1;0<=n;n--){var o=i[n];e.g[o]!==j&&(t[o]=e.g[o])}return t},t.Yc=function(e){this.j(e),e.stopPropagation()},t.play=function(){this.a.play()},t.pause=function(){this.a.pause()},t.paused=function(){return this.a.paused},t.currentTime=function(){return this.a.currentTime},t.qd=function(e){try{this.a.currentTime=e}catch(e){u.log(e,"Video is not ready. (Video.js)")}},t.duration=function(){return this.a.duration||0},t.buffered=function(){return this.a.buffered},t.volume=function(){return this.a.volume},t.vd=function(e){this.a.volume=e},t.muted=function(){return this.a.muted},t.td=function(e){this.a.muted=e},t.width=function(){return this.a.offsetWidth},t.height=function(){return this.a.offsetHeight},t.Sa=function(){return"function"!=typeof this.a.webkitEnterFullScreen||!/Android/.test(u.F)&&/Chrome|Mac OS X 10.5/.test(u.F)?l:f},t.src=function(e){this.a.src=e},t.load=function(){this.a.load()},t.currentSrc=function(){return this.a.currentSrc},t.Pa=function(){return this.a.Pa},t.ud=function(e){this.a.Pa=e},t.autoplay=function(){return this.a.autoplay},t.pd=function(e){this.a.autoplay=e},t.controls=function(){return this.a.controls},t.loop=function(){return this.a.loop},t.sd=function(e){this.a.loop=e},t.error=function(){return this.a.error},t.seeking=function(){return this.a.seeking},u.l.isSupported=function(){return!!u.ma.canPlayType},u.l.lb=function(e){try{return!!u.ma.canPlayType(e.type)}catch(e){return""}},u.l.Sc=function(){var e=u.ma.volume;return u.ma.volume=e/2+.1,e!==u.ma.volume},u.l.Za="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" "),u.l.gc=function(e){if(e){for(e.player=j,e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&e.load()}},u.Lc&&(document.createElement("video").constructor.prototype.canPlayType=function(e){return e&&-1!=e.toLowerCase().indexOf("video/mp4")?"maybe":""}),u.f=u.r.extend({i:function(e,t,i){u.r.call(this,e,t,i);var n=t.source;i=t.parentEl;var o=this.a=u.e("div",{id:e.id()+"_temp_flash"}),r=e.id()+"_flash_api";e=e.g;var s=u.k.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.Pa,loop:e.loop,muted:e.muted},t.flashVars),a=u.k.B({wmode:"opaque",bgcolor:"#000000"},t.params),l=u.k.B({id:r,name:r,class:"vjs-tech"},t.attributes);if(n&&(n.type&&u.f.cd(n.type)?(e=u.f.yc(n.src),s.rtmpConnection=encodeURIComponent(e.qb),s.rtmpStream=encodeURIComponent(e.Mb)):s.src=encodeURIComponent(u.jc(n.src))),u.yb(o,i),t.startTime&&this.L(function(){this.load(),this.play(),this.currentTime(t.startTime)}),t.iFrameMode!==f||u.Gc)u.f.Xc(t.swf,o,s,a,l);else{var c=u.e("iframe",{id:r+"_iframe",name:r+"_iframe",className:"vjs-tech",scrolling:"no",marginWidth:0,marginHeight:0,frameBorder:0});s.readyFunction="ready",s.eventProxyFunction="events",s.errorEventProxyFunction="errors",u.d(c,"load",u.bind(this,function(){var e,i=c.contentWindow;e=c.contentDocument?c.contentDocument:c.contentWindow.document,e.write(u.f.kc(t.swf,s,a,l)),i.player=this.b,i.ready=u.bind(this.b,function(t){var i=this.h;i.a=e.getElementById(t),u.f.ob(i)}),i.events=u.bind(this.b,function(e,t){this&&"flash"===this.ia&&this.j(t)}),i.errors=u.bind(this.b,function(e,t){u.log("Flash Error",t)})})),o.parentNode.replaceChild(c,o)}}}),t=u.f.prototype,t.D=function(){u.r.prototype.D.call(this)},t.play=function(){this.a.vjs_play()},t.pause=function(){this.a.vjs_pause()},t.src=function(e){if(u.f.bd(e)?(e=u.f.yc(e),this.Od(e.qb),this.Pd(e.Mb)):(e=u.jc(e),this.a.vjs_src(e)),this.b.autoplay()){var t=this;setTimeout(function(){t.play()},0)}},t.currentSrc=function(){var e=this.a.vjs_getProperty("currentSrc");if(e==j){var t=this.Md(),i=this.Nd();t&&i&&(e=u.f.wd(t,i))}return e},t.load=function(){this.a.vjs_load()},t.poster=function(){this.a.vjs_getProperty("poster")},t.buffered=function(){return u.sb(0,this.a.vjs_getProperty("buffered"))},t.Sa=s(l);var R=u.f.prototype,S="rtmpConnection rtmpStream preload currentTime defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),T="error currentSrc networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" "),U;for(U=0;U<S.length;U++)V(S[U]),fa();for(U=0;U<T.length;U++)V(T[U]);if(u.f.isSupported=function(){return 10<=u.f.version()[0]},u.f.lb=function(e){if(e.type in u.f.$c||e.type in u.f.zc)return"maybe"},u.f.$c={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},u.f.zc={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},u.f.onReady=function(e){e=u.v(e);var t=e.player||e.parentNode.player,i=t.h;e.player=t,i.a=e,u.f.ob(i)},u.f.ob=function(e){e.v().vjs_getProperty?e.Ta():setTimeout(function(){u.f.ob(e)},50)},u.f.onEvent=function(e,t){u.v(e).player.j(t)},u.f.onError=function(e,t){u.v(e).player.j("error"),u.log("Flash Error",t,e)},u.f.version=function(){var e="0,0,0";try{e=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(e){}}return e.split(",")},u.f.Xc=function(e,t,i,n,o){e=u.f.kc(e,i,n,o),e=u.e("div",{innerHTML:e}).childNodes[0],i=t.parentNode,t.parentNode.replaceChild(e,t);var r=i.childNodes[0];setTimeout(function(){r.style.display="block"},1e3)},u.f.kc=function(e,t,i,n){var o="",r="",s="";return t&&u.k.ta(t,function(e,t){o+=e+"="+t+"&amp;"}),i=u.k.B({movie:e,flashvars:o,allowScriptAccess:"always",allowNetworking:"all"},i),u.k.ta(i,function(e,t){r+='<param name="'+e+'" value="'+t+'" />'}),n=u.k.B({data:e,width:"100%",height:"100%"},n),u.k.ta(n,function(e,t){s+=e+'="'+t+'" '}),'<object type="application/x-shockwave-flash"'+s+">"+r+"</object>"},u.f.wd=function(e,t){return e+"&"+t},u.f.yc=function(e){var t={qb:"",Mb:""};if(!e)return t;var i=e.indexOf("&"),n;return-1!==i?n=i+1:(i=n=e.lastIndexOf("/")+1,0===i&&(i=n=e.length)),t.qb=e.substring(0,i),t.Mb=e.substring(n,e.length),t},u.f.cd=function(e){return e in u.f.zc},u.f.Nc=/^rtmp[set]?:\/\//i,u.f.bd=function(e){return u.f.Nc.test(e)},u.Mc=u.c.extend({i:function(e,t,i){if(u.c.call(this,e,t,i),e.g.sources&&0!==e.g.sources.length)e.src(e.g.sources);else for(t=0,i=e.g.techOrder;t<i.length;t++){var n=u.$(i[t]),o=window.videojs[n];if(o&&o.isSupported()){J(e,n);break}}}}),u.X=u.c.extend({i:function(e,t){u.c.call(this,e,t),this.Q=t.id||"vjs_"+t.kind+"_"+t.language+"_"+u.s++,this.vc=t.src,this.Uc=t.default||t.dflt,this.yd=t.title,this.Jd=t.srclang,this.dd=t.label,this.fa=[],this.bc=[],this.ga=this.ha=0,this.b.d("fullscreenchange",u.bind(this,this.Pc))}}),t=u.X.prototype,t.J=p("A"),t.src=p("vc"),t.tb=p("Uc"),t.title=p("yd"),t.label=p("dd"),t.readyState=p("ha"),t.mode=p("ga"),t.Pc=function(){this.a.style.fontSize=this.b.H?140*(screen.width/this.b.width())+"%":""},t.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-"+this.A+" vjs-text-track"})},t.show=function(){Y(this),this.ga=2,u.c.prototype.show.call(this)},t.C=function(){Y(this),this.ga=1,u.c.prototype.C.call(this)},t.disable=function(){2==this.ga&&this.C(),this.b.o("timeupdate",u.bind(this,this.update,this.Q)),this.b.o("ended",u.bind(this,this.reset,this.Q)),this.reset(),this.b.V.textTrackDisplay.removeChild(this),this.ga=0},t.load=function(){0===this.ha&&(this.ha=1,u.get(this.vc,u.bind(this,this.ld),u.bind(this,this.Fb)))},t.Fb=function(e){this.error=e,this.ha=3,this.j("error")},t.ld=function(e){var t,i;e=e.split("\n");for(var n="",o=1,r=e.length;o<r;o++)if(n=u.trim(e[o])){for(-1==n.indexOf("-->")?(t=n,n=u.trim(e[++o])):t=this.fa.length,t={id:t,index:this.fa.length},i=n.split(" --> "),t.startTime=ga(i[0]),t.ua=ga(i[1]),i=[];e[++o]&&(n=u.trim(e[o]));)i.push(n);t.text=i.join("<br/>"),this.fa.push(t)}this.ha=2,this.j("loaded")},t.update=function(){if(0<this.fa.length){var e=this.b.currentTime();if(this.Kb===b||e<this.Kb||this.La<=e){var t=this.fa,i=this.b.duration(),n=0,o=l,r=[],s,a,u,c;for(e>=this.La||this.La===b?c=this.vb!==b?this.vb:0:(o=f,c=this.Cb!==b?this.Cb:t.length-1);;){if(u=t[c],u.ua<=e)n=Math.max(n,u.ua),u.Ha&&(u.Ha=l);else if(e<u.startTime){if(i=Math.min(i,u.startTime),u.Ha&&(u.Ha=l),!o)break}else o?(r.splice(0,0,u),a===b&&(a=c),s=c):(r.push(u),s===b&&(s=c),a=c),i=Math.min(i,u.ua),n=Math.max(n,u.startTime),u.Ha=f;if(o){if(0===c)break;c--}else{if(c===t.length-1)break;c++}}for(this.bc=r,this.La=i,this.Kb=n,this.vb=s,this.Cb=a,e=this.bc,t="",i=0,n=e.length;i<n;i++)t+='<span class="vjs-tt-cue">'+e[i].text+"</span>";this.a.innerHTML=t,this.j("cuechange")}}},t.reset=function(){this.La=0,this.Kb=this.b.duration(),this.Cb=this.vb=0},u.Sb=u.X.extend(),u.Sb.prototype.A="captions",u.Yb=u.X.extend(),u.Yb.prototype.A="subtitles",u.Tb=u.X.extend(),u.Tb.prototype.A="chapters",u.Zb=u.c.extend({i:function(e,t,i){if(u.c.call(this,e,t,i),e.g.tracks&&0<e.g.tracks.length){t=this.b,e=e.g.tracks;var n;for(i=0;i<e.length;i++){n=e[i];var o=t,r=n.kind,s=n.label,a=n.language,l=n;n=o.za=o.za||[],l=l||{},l.kind=r,l.label=s,l.language=a,r=u.$(r||"subtitles"),o=new window.videojs[r+"Track"](o,l),n.push(o)}}}}),u.Zb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-text-track-display"})},u.Y=u.N.extend({i:function(e,t){var i=this.ca=t.track;t.label=i.label(),t.selected=i.tb(),u.N.call(this,e,t),this.b.d(i.J()+"trackchange",u.bind(this,this.update))}}),u.Y.prototype.p=function(){u.N.prototype.p.call(this),X(this.b,this.ca.Q,this.ca.J())},u.Y.prototype.update=function(){this.selected(2==this.ca.mode())},u.ab=u.Y.extend({i:function(e,t){t.track={J:function(){return t.kind},K:e,label:function(){return t.kind+" off"},tb:s(l),mode:s(l)},u.Y.call(this,e,t),this.selected(f)}}),u.ab.prototype.p=function(){u.Y.prototype.p.call(this),X(this.b,this.ca.Q,this.ca.J())},u.ab.prototype.update=function(){for(var e=W(this.b),t=0,i=e.length,n,o=f;t<i;t++)n=e[t],n.J()==this.ca.J()&&2==n.mode()&&(o=l);this.selected(o)},u.S=u.R.extend({i:function(e,t){u.R.call(this,e,t),1>=this.I.length&&this.C()}}),u.S.prototype.sa=function(){var e=[],t;e.push(new u.ab(this.b,{kind:this.A}));for(var i=0;i<W(this.b).length;i++)t=W(this.b)[i],t.J()===this.A&&e.push(new u.Y(this.b,{track:t}));return e},u.Ca=u.S.extend({i:function(e,t,i){u.S.call(this,e,t,i),this.a.setAttribute("aria-label","Captions Menu")}}),u.Ca.prototype.A="captions",u.Ca.prototype.pa="Captions",u.Ca.prototype.className="vjs-captions-button",u.Ga=u.S.extend({i:function(e,t,i){u.S.call(this,e,t,i),this.a.setAttribute("aria-label","Subtitles Menu")}}),u.Ga.prototype.A="subtitles",u.Ga.prototype.pa="Subtitles",u.Ga.prototype.className="vjs-subtitles-button",u.Da=u.S.extend({i:function(e,t,i){u.S.call(this,e,t,i),this.a.setAttribute("aria-label","Chapters Menu")}}),t=u.Da.prototype,t.A="chapters",t.pa="Chapters",t.className="vjs-chapters-button",t.sa=function(){for(var e=[],t,i=0;i<W(this.b).length;i++)t=W(this.b)[i],t.J()===this.A&&e.push(new u.Y(this.b,{track:t}));return e},t.Ja=function(){for(var e=W(this.b),t=0,i=e.length,n,o,r=this.I=[];t<i;t++)if(n=e[t],n.J()==this.A&&n.tb()){if(2>n.readyState())return this.Gd=n,void n.d("loaded",u.bind(this,this.Ja));o=n;break}if(e=this.va=new u.la(this.b),e.a.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.$(this.A),xd:-1})),o){n=o.fa;for(var s,t=0,i=n.length;t<i;t++)s=n[t],s=new u.Wa(this.b,{track:o,cue:s}),r.push(s),e.Z(s)}return 0<this.I.length&&this.show(),e},u.Wa=u.N.extend({i:function(e,t){var i=this.ca=t.track,n=this.cue=t.cue,o=e.currentTime();t.label=n.text,t.selected=n.startTime<=o&&o<n.ua,u.N.call(this,e,t),i.d("cuechange",u.bind(this,this.update))}}),u.Wa.prototype.p=function(){u.N.prototype.p.call(this),this.b.currentTime(this.cue.startTime),this.update(this.cue.startTime)},u.Wa.prototype.update=function(){var e=this.cue,t=this.b.currentTime();this.selected(e.startTime<=t&&t<e.ua)},u.k.B(u.Ea.prototype.g.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}}),"undefined"!=typeof window.JSON&&"function"===window.JSON.parse)u.JSON=window.JSON;else{u.JSON={};var Z=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;u.JSON.parse=function(a,c){function d(e,t){var i,n,o=e[t];if(o&&"object"==typeof o)for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n=d(o,i),n!==b?o[i]=n:delete o[i]);return c.call(e,t,o)}var e;if(a=String(a),Z.lastIndex=0,Z.test(a)&&(a=a.replace(Z,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"==typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data")}}u.cc=function(){var e,t,i=document.getElementsByTagName("video");if(i&&0<i.length)for(var n=0,o=i.length;n<o;n++){if(!(t=i[n])||!t.getAttribute){u.jb();break}t.player===b&&(e=t.getAttribute("data-setup"),e!==j&&(e=u.JSON.parse(e||"{}"),v(t,e)))}else u.Cc||u.jb()},u.jb=function(){setTimeout(u.cc,1)},"complete"===document.readyState?u.Cc=f:u.U(window,"load",function(){u.Cc=f}),u.jb(),u.md=function(e,t){u.w.prototype[e]=t};var ha=this;ha.Cd=f,$("videojs",u),$("_V_",u),$("videojs.options",u.options),$("videojs.players",u.wa),$("videojs.cache",u.qa),$("videojs.Component",u.c),u.c.prototype.player=u.c.prototype.K,u.c.prototype.dispose=u.c.prototype.D,u.c.prototype.createEl=u.c.prototype.e,u.c.prototype.el=u.c.prototype.v,u.c.prototype.addChild=u.c.prototype.Z,u.c.prototype.children=u.c.prototype.children,u.c.prototype.on=u.c.prototype.d,u.c.prototype.off=u.c.prototype.o,u.c.prototype.one=u.c.prototype.U,u.c.prototype.trigger=u.c.prototype.j,u.c.prototype.triggerReady=u.c.prototype.Ta,u.c.prototype.show=u.c.prototype.show,u.c.prototype.hide=u.c.prototype.C,u.c.prototype.width=u.c.prototype.width,u.c.prototype.height=u.c.prototype.height,u.c.prototype.dimensions=u.c.prototype.Vc,u.c.prototype.ready=u.c.prototype.L,u.c.prototype.addClass=u.c.prototype.n,u.c.prototype.removeClass=u.c.prototype.t,$("videojs.Player",u.w),u.w.prototype.dispose=u.w.prototype.D,u.w.prototype.requestFullScreen=u.w.prototype.xa,u.w.prototype.cancelFullScreen=u.w.prototype.nb,u.w.prototype.bufferedPercent=u.w.prototype.Ia,u.w.prototype.usingNativeControls=u.w.prototype.Pb,$("videojs.MediaLoader",u.Mc),$("videojs.TextTrackDisplay",u.Zb),$("videojs.ControlBar",u.Ea),$("videojs.Button",u.q),$("videojs.PlayToggle",u.Wb),$("videojs.FullscreenToggle",u.Fa),$("videojs.BigPlayButton",u.Va),$("videojs.LoadingSpinner",u.Ub),$("videojs.CurrentTimeDisplay",u.Xa),$("videojs.DurationDisplay",u.Ya),$("videojs.TimeDivider",u.$b),$("videojs.RemainingTimeDisplay",u.eb),$("videojs.Slider",u.O),$("videojs.ProgressControl",u.cb),$("videojs.SeekBar",u.Xb),$("videojs.LoadProgressBar",u.$a),$("videojs.PlayProgressBar",u.Vb),$("videojs.SeekHandle",u.fb),$("videojs.VolumeControl",u.hb),$("videojs.VolumeBar",u.gb),$("videojs.VolumeLevel",u.ac),$("videojs.VolumeMenuButton",u.na),$("videojs.VolumeHandle",u.ib),$("videojs.MuteToggle",u.da),$("videojs.PosterImage",u.bb),$("videojs.Menu",u.la),$("videojs.MenuItem",u.N),$("videojs.MenuButton",u.R),u.R.prototype.createItems=u.R.prototype.sa,u.S.prototype.createItems=u.S.prototype.sa,u.Da.prototype.createItems=u.Da.prototype.sa,$("videojs.SubtitlesButton",u.Ga),$("videojs.CaptionsButton",u.Ca),$("videojs.ChaptersButton",u.Da),$("videojs.MediaTechController",u.r),u.r.prototype.features=u.r.prototype.m,u.r.prototype.m.volumeControl=u.r.prototype.m.Bc,u.r.prototype.m.fullscreenResize=u.r.prototype.m.Hd,u.r.prototype.m.progressEvents=u.r.prototype.m.Ld,u.r.prototype.m.timeupdateEvents=u.r.prototype.m.Qd,$("videojs.Html5",u.l),u.l.Events=u.l.Za,u.l.isSupported=u.l.isSupported,u.l.canPlaySource=u.l.lb,u.l.prototype.setCurrentTime=u.l.prototype.qd,u.l.prototype.setVolume=u.l.prototype.vd,u.l.prototype.setMuted=u.l.prototype.td,u.l.prototype.setPreload=u.l.prototype.ud,u.l.prototype.setAutoplay=u.l.prototype.pd,u.l.prototype.setLoop=u.l.prototype.sd,$("videojs.Flash",u.f),u.f.isSupported=u.f.isSupported,u.f.canPlaySource=u.f.lb,u.f.onReady=u.f.onReady,$("videojs.TextTrack",u.X),u.X.prototype.label=u.X.prototype.label,$("videojs.CaptionsTrack",u.Sb),$("videojs.SubtitlesTrack",u.Yb),$("videojs.ChaptersTrack",u.Tb),$("videojs.autoSetup",u.cc),$("videojs.plugin",u.md),$("videojs.createTimeRange",u.sb)}()},222:function(e,t,i){var n,o;n=[i(3),i(7)],o=function(e,t){"use strict";var i=function(){var i=this.incoming={vent:new t.Wreqr.EventAggregator,reqres:new t.Wreqr.RequestResponse,commands:new t.Wreqr.Commands},n=this.outgoing={vent:new t.Wreqr.EventAggregator,reqres:new t.Wreqr.RequestResponse,commands:new t.Wreqr.Commands};this.on=e.bind(i.vent.on,i.vent),this.off=e.bind(i.vent.off,i.vent),this.once=e.bind(i.vent.once,i.vent),this.reqres={request:this.request,setHandler:e.bind(i.reqres.setHandler,i.reqres),setHandlers:e.bind(i.reqres.setHandlers,i.reqres),removeHandler:e.bind(i.reqres.removeHandler,i.reqres),removeHandlers:e.bind(i.reqres.removeHandlers,i.reqres),removeAllHandlers:e.bind(i.reqres.removeAllHandlers,i.reqres)},this.commands={execute:this.execute,setHandler:e.bind(i.commands.setHandler,i.commands),setHandlers:e.bind(i.commands.setHandlers,i.commands),removeHandler:e.bind(i.commands.removeHandler,i.commands),removeHandlers:e.bind(i.commands.removeHandlers,i.commands),removeAllHandlers:e.bind(i.commands.removeAllHandlers,i.commands)}};return i.prototype.trigger=function(){return this.outgoing.vent.trigger.apply(this.outgoing.vent,arguments)},i.prototype.request=function(){return this.outgoing.reqres.request.apply(this.outgoing.reqres,arguments)},i.prototype.execute=function(){return this.outgoing.commands.execute.apply(this.outgoing.commands,arguments)},i.prototype.ajax=function(){return Array.prototype.unshift.call(arguments,"ajax:request"),this.request.apply(this,arguments)},i.prototype.RPC=function(){return Array.prototype.unshift.call(arguments,"ajax:rpc"),this.request.apply(this,arguments)},i}.apply(t,n),!(void 0!==o&&(e.exports=o))},227:function(e,t,i){var n,o;n=[i(228)],o=function(){return{}}.apply(t,n),!(void 0!==o&&(e.exports=o))},228:function(e,t,i){var n,o;n=[],o=function(){String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e})}.apply(t,n),!(void 0!==o&&(e.exports=o))},229:function(e,t,i){var n,o;n=[i(2),i(1)],o=function(e,t){window.blogCommentDisplayForm=function(i,n,o){var r=t("#"+n),s=r.data("isReplyFormOpen")||!1,a=r.prev(".reply-comment").find("span").first(),l=e.stl("javascript.site.comments_1");if(!r.data("locked")){r.data("locked",!0);var u=r.data("replyText");u||(u=a.html(),r.data("replyText",u));var c=t("#"+n+" iframe");return c.length||(c=t('<iframe src="'+i+'" frameborder="0" allowtransparency="true" scrolling="no"></iframe>'),t("#"+n+" > div > div").first().append(c)),s?(a.html(u),r.data("isReplyFormOpen",!1),r.down().slideUp(1e3,function(){r.data("locked",!1),r.hide()})):(a.html(l),r.data("isReplyFormOpen",!0),r.show().down().slideUp(0).slideDown(1e3,function(){r.data("locked",!1)})),!1}}}.apply(t,n),!(void 0!==o&&(e.exports=o))},230:function(e,t,i){var n,o;n=[i(1),i(231)],o=function(e,t){var i=function(){var i=e(".products__published");i.each(function(){var i=e(this),n=i.find("[data-max-page]").data("max-page");t.bindSlideshowListener(i),i.find(".product-grid-image").length>0&&t.initializeMasonry(i,!0),i.find(".product-grid-single-row__wrapper").length>0?t.assignRowScrollListener(i,n,o):i.find(".product-grid__more").length>0?t.assignShowMorePagination(i,n,o):(i.find(".js-page-num").eq(0).addClass("wsite-selected"),t.listenToPagination(i,n,o))})},n=function(){var i=e(".categories__published");i.each(function(){var i=e(this),n=i.find("[data-max-page]").data("max-page");i.find(".product-grid-image").length>0&&t.initializeMasonry(i),
i.find(".product-grid-single-row__wrapper").length>0?t.assignRowScrollListener(i,n,o):i.find(".product-grid__more").length>0?t.assignShowMorePagination(i,n,o):(i.find(".js-page-num").eq(0).addClass("wsite-selected"),t.listenToPagination(i,n,o))})},o=function(i,n){var o=i.find(".pagination__overlay"),r=i.attr("data-page-element-id"),s=i.attr("data-page-id"),a="/store/element/"+r+"/page/"+s+"/pagination/"+n,l=i.find(".product-grid-single-row__wrapper");0===l.length&&o.show(),e.ajax({url:a}).done(function(n){l.length>0?l.append(e(n).find(".product-grid__item")):i.find(".product-grid__paging").length>0?(e("body, html").animate({scrollTop:i.offset().top-70+"px"},300),i.find(".commerce-layout-wrapper").html(n),o.hide()):(i.find(".commerce-layout-wrapper").children().eq(0).append(e(n).children()),i.find(".product-grid__more").removeClass("disabled"),o.hide()),i.hasClass("products__published")&&t.bindSlideshowListener(i),t.initializeMasonry(i)})};e(document).ready(function(){i(),n()})}.apply(t,n),!(void 0!==o&&(e.exports=o))},231:function(e,t,i){var n,o;n=[i(1),i(3),i(6),i(165),i(156)],o=function(e,t,i,n,o){var r='<div class="product-pagination" data-max-page="{{max_page}}">\n<div class="product-grid__paging clearfix">\n<a class="product-grid__paging--link js-products-prev">\n<span class="product-grid__paging--arrow"></span>\n</a>\n<div class="pagination-wrapper">\n<a class="product-grid__paging--count js-page-num wsite-first" data-page="1">1</a>\n{{#show_head_ellipsis}}\n<span class="pagination-ellipsis"></span>\n{{/show_head_ellipsis}}\n{{#pages}}\n<a class="product-grid__paging--count js-page-num" data-page="{{.}}">{{.}}</a>\n{{/pages}}\n{{#show_tail_ellipsis}}\n<span class="pagination-ellipsis"></span>\n{{/show_tail_ellipsis}}\n<a class="product-grid__paging--count js-page-num wsite-last" data-page="{{max_page}}">{{max_page}}</a>\n</div>\n<a class="product-grid__paging--link product-grid--next js-products-next">\n<span class="product-grid__paging--arrow"></span>\n</a>\n</div>\n</div>',s={bindSlideshowListener:function(t){var i,n,o=!1,r=function(e,t,i){var n=e.eq(t%e.length);n.css({marginTop:-1*i,paddingTop:i}).fadeIn(400,function(){e.not(n).hide()})},s=function(t){var s=0,a=e(t.currentTarget),l=a.find(".js-slideshow-img");if(n=a.clone(),o=!0,l.length>1){var u=a.find(".js-default-img"),c=parseFloat(u.css("paddingTop"));r(l,++s,c),clearInterval(i),i=setInterval(function(){r(l,++s,c)},1e3)}},a=function(t){if(o){o=!1;var r=e(t.currentTarget);r.replaceWith(n),clearInterval(i)}};t.off("mouseenter.slideshow",".product-grid__item").on("mouseenter.slideshow",".product-grid__item",s).off("mouseleave.slideshow",".product-grid__item").on("mouseleave.slideshow",".product-grid__item",a)},listenToPagination:function(e,t,i){var n=e.find(".js-products-prev, .js-products-next"),o=e.find(".js-page-num");n.off("click.arrow").on("click.arrow",function(n){this.onArrowClick(n,e,t,i)}.bind(this)),o.off("click.number").on("click.number",function(n){this.onNumberClick(n,e,t,i)}.bind(this))},onArrowClick:function(t,i,n,o){var r=e(t.currentTarget),s=r.hasClass("js-products-prev")?-1:1,a=r.siblings(".pagination-wrapper"),l=parseInt(a.children(".wsite-selected").attr("data-page")),u=l+s;u>=1&&u<=n&&this.gotoPage(i,u,n,o)},onNumberClick:function(t,i,n,o){var r=e(t.currentTarget),s=parseInt(r.attr("data-page"));s>=1&&s<=n&&this.gotoPage(i,s,n,o)},gotoPage:function(e,t,i,n){this.renderPagination(e,t,i,n),this.renderPage(e,t,n)},renderPagination:function(e,t,n,o){var s=e.find(".product-pagination"),a=this.getPaginationData(t,n),l=i.render(r,a);s.replaceWith(l),e.find('a[data-page="'+t+'"]').addClass("wsite-selected"),this.listenToPagination(e,n,o)},assignShowMorePagination:function(t,i,n){t.find(".product-grid__more").on("click",function(o){var r=e(o.currentTarget),s=r.data("current-page");s<i&&!r.hasClass("disabled")&&(r.data("current-page",++s),r.addClass("disabled"),this.renderPage(t,s,n)),s===i&&r.remove()}.bind(this))},assignRowScrollListener:function(e,i,n){var o=e.find(".product-grid__item");if(0!==o.length){var r=o.outerWidth(!0),s=e.find(".js-row-wrapper");this.scrollIntervalFired=!1,this.scrollInterval=null,e.find(".js-scroll-arrow").off("mousedown touchstart mouseup touchend").on("mousedown touchstart",function(e){this.onSingleRowArrowMousedown(e,s)}.bind(this)).on("mouseup touchend",function(e){this.onSingleArrowMouseUp(e,s,r)}.bind(this)),i>1&&(this.singleRowWidth=0,s.off("scroll.singlerow").on("scroll.singlerow",t.throttle(function(t){this.onSingleRowScroll(t,e,i,r,n)}.bind(this),150)))}},onSingleRowArrowMousedown:function(t,i){if(3!==t.which){var n=e(t.currentTarget),o=n.hasClass("js-scroll-left")?-1:1;this.scrollTimeout=setTimeout(function(){this.scrollInterval=setInterval(function(){this.intervalFired=!0,i.animate({scrollLeft:o<0?"-=30":"+=30"},10)}.bind(this),15)}.bind(this),150)}},onSingleArrowMouseUp:function(t,i,n){if(3!==t.which){var o=e(t.currentTarget),r=o.hasClass("js-scroll-left")?-1:1;if(!this.intervalFired){var s=n,a=i.scrollLeft()%n;a>0&&(r<0?s=a:s-=a),s=Math.ceil(s),i.animate({scrollLeft:r<0?"-="+s+"px":"+="+s+"px"},100)}clearTimeout(this.scrollTimeout),clearInterval(this.scrollInterval),this.intervalFired=!1,this.scrollInterval=null}},onSingleRowScroll:function(t,i,n,o,r){var s=e(t.currentTarget);if(0===this.singleRowWidth){var a=i.find(".js-row-wrapper").get(0);this.singleRowWidth=a.scrollWidth}if(s.scrollLeft()>this.singleRowWidth-2*s.width()){var l=s.data("current-page");l<n&&(this.renderPage(i,++l,r),s.data("current-page",l),this.singleRowWidth=0)}},initializeMasonry:function(t){var i=t.find(".product-grid-masonry");if(i.length>0){i.data("masonry")&&i.masonry("destroy"),e.fn.masonry||o("masonry",n,e);var r={itemSelector:".product-grid__item",columnWidth:".product-grid__item",gutter:".product-grid-masonry--gutter",percentPosition:!0},s=i.find("img"),a=[];s.each(function(){var t=e(this),i=this.complete;if(!i){var n=new e.Deferred;a.push(n),t.on("load",function(){n.resolve()})}}),e.when.apply(e,a).done(function(){i.masonry(r)})}},removeListeners:function(t){t.off("mouseenter mouseleave click"),t.find(".js-products-prev, .js-products-next").off("click"),t.find(".js-page-num").off("click"),t.find(".js-row-wrapper").off("scroll.singlerow"),t.find(".js-scroll-arrow").off("mousedown mouseup mouseleave touchstart touchend"),e.fn.masonry&&t.find(".product-grid-masonry").masonry("destroy")},renderPage:function(e,t,i){var n=t-1;i(e,n)},resetPagination:function(e,t){e.replaceWith(t)},getPaginationData:function(e,i){var n,o=t.range(1,e),r=t.range(e+1,i+1);return i>5&&e>2&&o.splice(0,e-3),i>5&&e<i-2&&r.splice(2,r.length),n=o.concat([e],r),n=t.filter(n,function(e){return 1!==e&&e!==i}),{max_page:i,pages:n,show_head_ellipsis:o[0]>2,show_tail_ellipsis:t.last(r)<i-1}}};return s}.apply(t,n),!(void 0!==o&&(e.exports=o))},233:function(e,t,i){var n,o;n=[i(1)],o=function(e){var t="gdpr-kb-p",i=1,n=function(){return document.cookie.indexOf(t+"=")>0},o=function(e){e.replaceWith("<p>"+window._W.stl("javascript.site.published.cookie-opt-out_1")+"</p>")},r=function(){document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"};e(document).ready(function(){var t=window._W.isEUUser,i=window._W.showCookieToAll;if(["eu",""].indexOf(i)!==-1&&!t)return void e(".wsite-cookie-opt-out--wrapper").remove();var s=e(".wsite-cookie-opt-out");s.length&&(n()?s.on("click",function(e){e.preventDefault(),r(),o(s)}):o(s))})}.apply(t,n),!(void 0!==o&&(e.exports=o))},234:function(e,t,i){var n,o;n=[i(227),i(1),i(248),i(153),i(33),i(161),i(160),i(243),i(90),i(125),i(237),i(229),i(235),i(238),i(239),i(230),i(233),i(3),i(6)],o=function(){}.apply(t,n),!(void 0!==o&&(e.exports=o))},235:function(e,t,i){var n,o;n=[i(2),i(1),i(236)],o=function(e,t,i){function n(){if(window.location.href.match(/posted=(.*)$/)){var e=t.parseJSON(decodeURIComponent(window.location.href.match(/posted=(.*)$/)[1].replace(/\+/g," ")));t("form").each(function(i,n){var o=t(n);t.each(e,function(e,i){"object"==typeof i?t.each(i,function(t,i){o.find("input").each(function(n,o){o.name.replace(/_u\d*/,"")!=e+"["+t+"]"&&o.name!=e+"["+t+"]"||("checkbox"===o.type?o.checked=1:o.value=i)})}):o.find("input,textarea,select,button").each(function(t,r){if(r.name.replace(/_u\d*/,"")==e||r.name==e){var s=r.name;n[s][0]&&"radio"===n[s][0].type?o.find("radio[name="+s+"]").each(function(e,t){t.value==i&&(t.checked=!0)}):r.value=i}})})})}if(window.location.href.match(/form-errors=(.*?)&/)&&window.location.href.match(/ucfid%22%3A%22(.*?)%/)){var i=window.location.href.match(/form\-errors=(.*?)&/)[1].split(","),n=window.location.href.match(/ucfid%22%3A%22(.*?)%/)[1],o=t("#form-"+n);t.each(i,function(e,i){i=decodeURIComponent(i),o.find("input,textarea,select,button").each(function(e,n){n.name.replace(/_u\d*/,"")!=i&&n.name.replace(/.*_u/,"_u")!=i&&n.name.replace(/\[.*\]$/,"")!=i||t(n).addClass("form-input-error").up("."+h+"-form-field").addClass("form-field-error")})}),t("#"+n+"-form-parent").after("<div>Please correct the highlighted fields</div>")}if(window.location.href.match(/success\=1/)&&window.location.href.match(/ucfid\=(.*)/)){var n=window.location.href.match(/ucfid\=(.*?)&/)[1],o=t("#form-"+n),r="Your data was successfully submitted.",s=window.location.href.match(/text=(.*?)&/);s&&(r=a(decodeURIComponent(s[1].replace(/\+/g," ")))),o.html("<div>"+r+"</div>")}}function o(){function i(i){var n=i.origin==location.protocol+location.port+"//"+location.hostname;if(!n){if(!e.resellerSite||!e.configDomain)return;var o=i.origin==location.protocol+location.port+"//"+e.configDomain;if(!o)return}var r=e.evalJSON(i.data);switch(r.action){case"finished":var s=r.data.ucfid,a=t("#form-"+s);a.hide();var l=t("#"+s+"-msg");return l.length||(l=t('<div id="'+s+'-msg"/>').insertAfter(a)),l.html(r.data.message),l.effect("highlight",{},2e3),void t("body").animate({scrollTop:l.offset().top},{easing:"easeOutQuart",duration:2e3});case"redirect":return void(window.location=r.data.location);case"error":var u=r.data["error-fields"],s=r.data.ucfid,a=t("#form-"+s);a.find("input,textarea,select,button").filter(".form-input-error").each(function(e,i){t(i).removeClass("form-input-error").up("."+h+"-form-field").removeClass("form-field-error")}),t.each(u,function(e,i){a.find("input,textarea,select,button").each(function(e,n){n.name.replace(/_u\d*/,"")!=i&&n.name.replace(/.*_u/,"_u")!=i&&n.name.replace(/\[.*\]$/,"")!=i||t(n).addClass("form-input-error").up("."+h+"-form-field").addClass("form-field-error")})});var l=t("#"+s+"-msg");return l.length||(l=t('<div id="'+s+'-msg"/>').insertAfter(a)),l.html(r.data.message),void(window.formSubmitted=!1)}}t("form").each(function(n,o){var r=t(o),s=r.attr("action")||"",a=window.location.host;if(s.match(/formSubmit\.php$/)){1!=e.resellerSite?s=s.replace(/(.*)\/formSubmit\.php$/,window.location.protocol+"//"+a+"/ajax/apps/formSubmitAjax.php"):(s=s.replace("formSubmit.php","formSubmitAjax.php"),s.startsWith("http:")&&"https:"==window.location.protocol&&(s=s.replace("http:","https:")),t("<input>").attr({type:"hidden",id:"formLocation",name:"formLocation",value:window.location.host}).appendTo(r)),e.nestedSiteDomain&&a!==e.nestedSiteDomain&&t("<input>").attr({type:"hidden",id:"nestedSite",name:"nestedSite",value:e.nestedSiteDomain}).appendTo(r),r.attr("action",s),r.attr("accept-charset","UTF-8");var l=r.attr("id")+"-target-"+Date.now(),u=t('<iframe name="'+l+'"/>').hide().attr("id",l).insertAfter(r),c=u[0];r.attr("target",c.id),window.postMessage||u.on("load",function(){try{var e=(c.contentDocument||c.contentWindow.document).location.href,t=(c.contentDocument||c.contentWindow.document).body.firstChild.nodeValue;"about:blank"!=e&&i({data:t,source:c.contentWindow})}catch(e){}})}}),window.postMessage&&t(window).on("message",function(e){try{i(e.originalEvent)}catch(e){}})}function r(){t("."+h+"-form-instructions").each(function(e,t){i.setupFieldInstructions(t,h)})}function s(){t("input[name="+h+"_approved]").val("approved"),t(document).off("mousedown",s).off("keydown",s)}function a(e){var t=document.createElement("div"),i=document.createTextNode(e);return t.appendChild(i),t.innerHTML}function l(){void 0!==e.recaptchaUrl&&t(".recaptcha").each(function(i){return t.getScript(e.recaptchaUrl),f=!0,!1})}function u(){t("form").on("click",".wsite-button",function(){var e=t(this),i=e.closest("form"),n=i.siblings(".recaptcha");n.length>0&&f?c(n,i):d(i)})}function c(e,t){var i=e.attr("id");"number"==typeof m[i]?(window.grecaptcha.reset(m[i]),window.grecaptcha.execute(m[i])):(m[i]=window.grecaptcha.render(i,{sitekey:e.data("sitekey"),"data-badge":"inline",callback:function(e){var n=t.find("input[name=recaptcha_token]");n.length>0&&n.val(e),d(t),window.grecaptcha.reset(m[i])}},!0),window.grecaptcha.execute(m[i]))}function d(e){var t=e.id;p.length>0&&p.forEach(function(e){}),e.submit(),p.push(t)}var h=window.STYLE_PREFIX||"weebly",f=!1,p=[],m={};t(document).ready(function(){n(),r(),o(),l(),u(),t(document).on("mousedown",s).on("keydown",s)})}.apply(t,n),!(void 0!==o&&(e.exports=o))},236:function(e,t,i){var n,o;n=[i(1),i(3)],o=function(e,t){var i=!1,n=!1,o={createFieldInstructions:function(t){var i=e('<div class="instructions-container">').html(t),n=e('<span class="wsite-instructions-container-caret"/>');return i.append(n),e("body").append(i),i},setupFieldInstructions:function(t,r){var s=e(t);if(s.html()){if(!i){var a=window.getComputedStyle(document.body);n="hidden"===a.getPropertyValue("overflow")||"hidden"===a.getPropertyValue("overflow-y")||"hidden"===a.getPropertyValue("overflow-x"),i=!0}null==r&&(r="wsite");var l=s.parents("."+r+"-form-field");l.data("form-instruction",{instructions:o.createFieldInstructions(t.innerHTML)}),o.createHelpIcon(l)}},createHelpIcon:function(t){var i=t.data("form-instruction"),o=i.instructions,r=e('<span class="wsite-instructions-help"/>');t.find(".wsite-form-label").append(r);var s=function(i){"touchstart"===i.type&&e.contains(t[0],i.target)||(o.hide(),e(document).off(".formfieldinstructions"))},a=function(){var t=o.find(".wsite-instructions-container-caret"),i=window.getComputedStyle(t[0],":before").getPropertyValue("border-width");i=parseInt(i,10)||10;var a=r.offset(),l=r.outerWidth(),u=r.outerHeight(),c=o.offset(),d=o.outerWidth(),h=o.outerHeight(),f=a.top-h-(i+5),p=l+a.left-2*i-i/2;p+d>document.body.clientWidth&&(p=p-d+l+2*i+i/2,p<0&&(p=10)),o.removeClass("caret-top caret-bottom");var m;m=n?f<0:f<e(document.body).scrollTop(),m?(f=f+u+h+(2*i+10),o.addClass("caret-top")):o.addClass("caret-bottom"),o.css({top:f,left:p}).show().find(".wsite-instructions-container-caret").css({left:a.left-p+i/2}),setTimeout(function(){e(document).on({"touchmove.formfieldinstructions":s,"touchstart.formfieldinstructions":s})},250)};r.on({mouseover:a,mouseout:s,touchstart:function(e){e.preventDefault(),a()}})}};return o}.apply(t,n),!(void 0!==o&&(e.exports=o))},237:function(e,t,i){var n,o;n=[i(1)],o=function(e){var t=function(){var t=function(){var t=e(".wsite-view-link-full"),i=e(".wsite-view-link-mobile"),n=window.location.href||"";n+=n.indexOf("?")>-1?"&":"?",t.attr("href",n+"view=full"),i.attr("href",n+"view=mobile")};t();var i=window.History;i&&i.enabled&&History.Adapter.bind(window,"statechange",t)};e(document).ready(t);var i=window.STYLE_PREFIX||"weebly",n=function(){for(var e=0;e<document.styleSheets.length;e++)try{if(document.styleSheets[e].title==i+"-theme-css"){var t=document.styleSheets[e],n=t.cssRules||t.rules;return n&&n.length>0}}catch(e){}return!1},o=function(e){if(n())e();else var t=setInterval(function(){n()&&(clearInterval(t),e())},200)};window.whenThemeCSSLoaded||(window.whenThemeCSSLoaded=o),window.isThemeCSSLoaded||(window.isThemeCSSLoaded=n)}.apply(t,n),!(void 0!==o&&(e.exports=o))},238:function(e,t,i){var n,o;n=[i(1)],o=function(e){function t(){e("#wsite-header-search-form").on("click","span.wsite-search-button",function(t){e(t.delegateTarget).submit()}).on("submit",function(e){return document.body.className.indexOf("wsite-page-weebly/apps/preview")===-1}),e("form.wsite-search-element-form").on("click","span.wsite-search-element-submit",function(t){e(t.delegateTarget).submit()}).on("submit",function(){return document.body.className.indexOf("wsite-page-weebly/apps/preview")===-1})}e(document).ready(t)}.apply(t,n),!(void 0!==o&&(e.exports=o))},239:function(e,t,i){var n,o;n=[i(1),i(24),i(241),i(102)],o=function(e,t,i,n){var o=function(){var n=e(".wsite-section[data-video_type]"),o=!1,r=!document.location.pathname.match(/preview.php$/)||"mobile"!==t.getURLParameter("view");n.each(function(t,n){var s=e(n),a=s.data();i.applyBackgroundVideo(s,a,o,r)})},r=function(){return n.prototype.isSupported()?void e(".wsite-section-effect-reveal").each(function(){var t=e(this),n={reveal:{}};i.applyBackgroundEffects(t,n,!1)}):void(document.documentElement.className+=" wsite-sr-disabled")},s=function(){e(".wsite-section-effect-parallax").each(function(){var t=e(this),n={parallax:{}};i.applyBackgroundEffects(t,n,!1)})};e(document).ready(function(){e(".wsite-section").length&&(o(),s(),r())})}.apply(t,n),!(void 0!==o&&(e.exports=o))},240:function(e,t,i){var n,o;n=[i(1),i(3),i(205)],o=function(e,t){var i="UploadPlayer",n="uploadplayer",o=n+"-container",r=n+"-shield",s=n+"-player",a="/weebly/libraries/videojs/video-js.swf",l=1.77777777777778,u="objectFit"in document.documentElement.style,c={player:null,init:function i(n,o){return window.videojs.options.flash.swf=a,this.$node=e(n),this.options=t.chain(o).pick(["video_url","background_url","autoplay","loop","mute"]).defaults({autoplay:!0,loop:!0,mute:!0,controls:!1,techOrder:["html5","flash"],preload:"none"}).value(),this.ID=this.$node.data("section")||(new Date).getTime(),this.createBackgroundVideo(),this},createBackgroundVideo:function(){var i=s+"-"+this.ID,a=window.videojs.players[i];a&&a.dispose();var l=o+"-"+this.ID,c=e("<div/>",{class:o,id:l}),d=e("<div/>",{class:r}),h=e("<video>",{class:s+" video-js",id:i,poster:this.options.background_url,append:e("<source>",{src:this.options.video_url,type:"video/mp4"})});c.append(h,d),this.$video=h,this.$container=c,this.$node.append(c),this.player=window.videojs(i,this.options),this.player.muted(this.options.mute),u||(this.$video.addClass("js-no-object-fit"),this.cover(),e(window).on("resize."+n,t.throttle(this.cover.bind(this),25)))},destroy:function(){this.player.dispose(),this.$node.removeData(i),this.$container.remove(),this.$node=null,this.$container=null,u||e(window).off("resize."+n)},cover:function(){var e=this.$node.outerHeight(),t=this.$node.outerWidth();this.size(e,t),this.center(e,t)},size:function(e,t){var i={},n=e/t,o=this.$video.outerHeight(),r=this.$video.outerWidth(),s=o/r;s>=n?(i.width="100%",i.height=""):(i.width="",i.height=e+"px"),this.$video.css(i)},center:function(e,t){var i={},n=this.$video.outerHeight(),o=this.$video.outerWidth();Math.ceil(n)>Math.ceil(e)&&(i.marginTop=-(n-e)/2,i.marginLeft=""),Math.ceil(o)>Math.ceil(t)&&(i.marginTop="",i.marginLeft=-(o-t)/2),this.$video.css(i)}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){var n=Object.create(c);n.init(this,t),e.data(this,i,n)}})}}.apply(t,n),!(void 0!==o&&(e.exports=o))},241:function(e,t,i){var n,o;n=[i(1),i(3),i(166),i(102),i(169),i(167),i(240)],o=function(e,t,i,n){var o,r={applyBackgroundVideo:function(e,t,n,o){if(e&&(o&&e.css("minHeight",270),e.data("properties",t),(o||n)&&!new i(window.navigator.userAgent).mobile())){switch(t.video_type){case"youtube":this.initYoutubeVideo(e,t);break;case"vimeo":this.initVimeoVideo(e,t);break;case"upload":this.initUploadedVideo(e,t);break;case"gallery":this.initGalleryVideo(e,t)}e.data("has-video",!0)}},initYoutubeVideo:function(e,t){e.YTPlayer({videoId:t.video_id,repeat:t.loop,mute:t.mute,fitToBackground:!1,pauseOnScroll:!1,playerVars:{autoplay:t.autoplay,controls:0,showinfo:0,modestbranding:1,wmode:"transparent",branding:0,rel:0,autohide:0,origin:window.location.origin}})},initVimeoVideo:function(e,t){e.VimeoPlayer({videoId:t.video_id,loop:t.loop,mute:t.mute,autoplay:t.autoplay})},initUploadedVideo:function(e,t){e.UploadPlayer(t)},initGalleryVideo:function(e,t){e.UploadPlayer(t)},toggleVideoBackground:function(e){e&&(e.data("ytPlayer")?e.find('[id^="ytplayer"]').toggle():e.data("VimeoPlayer")?e.find('[id^="vimeoplayer"]').toggle():e.data("UploadPlayer")&&e.find('[id^="uploadplayer"]').toggle())},destroyVideoBackground:function(e){e&&(e.data("ytPlayer")?e.data("ytPlayer").destroy():e.data("VimeoPlayer")?e.data("VimeoPlayer").destroy():e.data("UploadPlayer")&&e.data("UploadPlayer").destroy(),e.removeData("has-video"))},applyBackgroundEffects:function(r,s,a){Object.keys(s).forEach(function(l){var u=s[l];switch(t.isObject(u.css)&&!t.isArray(u.css)&&Object.keys(u.css).forEach(function(e){r.css(e,u.css[e])}),t.isArray(u.classes)&&u.classes.forEach(function(e){r.addClass(e)}),l){case"parallax":var c=new i(window.navigator.userAgent);(c.mobile()||c.tablet())&&r.css("background-attachment","");break;case"reveal":o||(o=n());var d=a?r.find(".weebly-content-area"):r.find(".wsite-section-elements"),h=a?d.children(':not(".wsite-spacer-li")'):d.children(':not(".wsite-spacer")');if(0===h.length)break;h.each(function(t,i){var n=e(i);a&&"empty-message"!==n.attr("id")&&n.data("before-reveal-style",i.style),n.addClass("sr-nodelist")});var f=d[0].querySelectorAll(".sr-nodelist"),p={opacity:0,scale:1,easing:"ease-in",afterReveal:function(t){var i=e(t);a&&(i.data("before-reveal-style")&&(t.style=i.data("before-reveal-style"),i.removeData("before-reveal-style")),i.removeAttr("data-sr-id")),i.removeClass("sr-nodelist")},sequenceInterval:100};p=r.hasClass("wsite-header-section")?t.extend({duration:700,delay:800},p):t.extend({duration:300,delay:300,origin:"top",distance:"10px"},p);var m=t.defaults({},p);o.reveal(f,m,m.sequenceInterval)}})},getSectionElement:function(t){return e('.wsite-section[data-section="'+t+'"]')}};return r}.apply(t,n),!(void 0!==o&&(e.exports=o))},243:function(e,t,i){var n,o;n=[i(1),i(33)],o=function(e){!function(e,t){e.effects.effect.slide=function(t,i){var n=e(this),o=["position","top","bottom","left","right","width","height"],r=e.effects.setMode(n,t.mode||"show"),s="show"===r,a=t.direction||"left",l="up"===a||"down"===a?"top":"left",u="up"===a||"left"===a,c,d={};e.effects.save(n,o),n.show();var h=t.wrapper;h?(h=e(h).show(),/relative|absolute/.test(n.css("position"))||n.css("position","relative")):h=e.effects.createWrapper(n),h.css("overflow","hidden");var c=t.distance||("top"==l?n.height()?n.outerHeight(!0):h.height():n.width()?n.outerWidth(!0):h.width());s&&n.css(l,u?isNaN(c)?"-"+c:-c:c),d[l]=(s?u?"+=":"-=":u?"-=":"+=")+c,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===r&&n.hide(),e.effects.restore(n,o),t.wrapper?(h.css("overflow",""),"hide"==r&&h.hide()):e.effects.removeWrapper(n),i()}})}}(e)}.apply(t,n),!(void 0!==o&&(e.exports=o))},247:function(e,t,i){(function(t){e.exports=t.platformElementRequire=i(203)}).call(t,function(){return this}())},248:function(e,t,i){var n=i(1);!function(e,t,i){function n(e){return e.match(/\D+$/)}function o(e,t,i,n){if("d"!=i&&d(e)){var o=v.exec(t),r="auto"===e.css(i)?0:e.css(i),s="string"==typeof r?c(r):r,a="string"==typeof t?c(t):t,l=n===!0?0:s,u=e.is(":hidden"),h=e.translation();if("left"==i&&(l=parseInt(s,10)+h.x),"right"==i&&(l=parseInt(s,10)+h.x),"top"==i&&(l=parseInt(s,10)+h.y),"bottom"==i&&(l=parseInt(s,10)+h.y),o||"show"!=t?o||"hide"!=t||(l=0):(l=1,u&&e.css({display:"block",opacity:0})),o){var f=parseFloat(o[2]);return o[1]&&(f=("-="===o[1]?-1:1)*f+parseInt(l,10)),f}return l}}function r(e,t,i){return(i===!0||I===!0&&i!==!1)&&E?"translate3d("+e+"px, "+t+"px, 0)":"translate("+e+"px,"+t+"px)"}function s(t,i,n,o,r,s,l,d){var h=t.data(T),f=h&&!u(h)?h:e.extend(!0,{},b),m=r,g=e.inArray(i,p)>-1;if(g){var v=f.meta,y=c(t.css(i))||0,w=i+"_o";m=r-y,v[i]=m,v[w]="auto"==t.css(i)?0+m:y+m||0,f.meta=v,l&&0===m&&(m=0-v[w],v[i]=m,v[w]=0)}return t.data(T,a(t,f,i,n,o,m,s,l,d))}function a(e,t,i,n,o,s,a,l,u){var c=!1,d=a===!0&&l===!0;t=t||{},t.original||(t.original={},c=!0),t.properties=t.properties||{},t.secondary=t.secondary||{};for(var h=t.meta,f=t.original,p=t.properties,g=t.secondary,v=m.length-1;v>=0;v--){var y=m[v]+"transition-property",b=m[v]+"transition-duration",w=m[v]+"transition-timing-function";i=d?m[v]+"transform":i,c&&(f[y]=e.css(y)||"",f[b]=e.css(b)||"",f[w]=e.css(w)||""),g[i]=d?r(h.left,h.top,u):s,p[y]=(p[y]?p[y]+",":"")+i,p[b]=(p[b]?p[b]+",":"")+n+"ms",p[w]=(p[w]?p[w]+",":"")+o}return t}function l(e){for(var t in e)if(!("width"!=t&&"height"!=t||"show"!=e[t]&&"hide"!=e[t]&&"toggle"!=e[t]))return!0;return!1}function u(e){for(var t in e)return!1;return!0}function c(e){return parseFloat(e.replace(n(e),""))}function d(e){var t=!0;return e.each(function(e,i){return t=t&&i.ownerDocument}),t}function h(t,i,n){if(!d(n))return!1;var o=e.inArray(t,f)>-1;return"width"!=t&&"height"!=t&&"opacity"!=t||parseFloat(i)!==parseFloat(n.css(t))||(o=!1),o}var f=["top","right","bottom","left","opacity","height","width"],p=["top","right","bottom","left"],m=["-webkit-","-moz-","-o-",""],g=["avoidTransforms","useTranslate3d","leaveTransforms"],v=/^([+-]=)?([\d+-.]+)(.*)$/,y=/([A-Z])/g,b={secondary:{},meta:{top:0,right:0,bottom:0,left:0}},w="px",T="jQe",S="cubic-bezier(",_=")",M=null,C=!1,P=document.body||document.documentElement,x=P.style,A="webkitTransitionEnd oTransitionEnd transitionend",k=void 0!==x.WebkitTransition||void 0!==x.MozTransition||void 0!==x.OTransition||void 0!==x.transition,E="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix,I=E;e.expr&&e.expr.filters&&(M=e.expr.filters.animated,e.expr.filters.animated=function(t){return!(!e(t).data("events")||!e(t).data("events")[A])||M.call(this,t)}),e.extend({toggle3DByDefault:function(){return I=!I},toggleDisabledByDefault:function(){return C=!C}}),e.fn.translation=function(){if(!this[0])return null;var e=this[0],t=window.getComputedStyle(e,null),i={x:0,y:0};if(t)for(var n=m.length-1;n>=0;n--){var o=t.getPropertyValue(m[n]+"transform");if(o&&/matrix/i.test(o)){var r=o.replace(/^matrix\(/i,"").split(/, |\)$/g);i={x:parseInt(r[4],10),y:parseInt(r[5],10)};break}}return i},e.fn.animate=function(i,n,r,a){i=i||{};var c=!("undefined"!=typeof i.bottom||"undefined"!=typeof i.right),d=e.speed(n,r,a),f=this,v=0,y=function(){v--,0===v&&"function"==typeof d.complete&&d.complete.apply(f,arguments)},b="undefined"!=typeof i.avoidCSSTransitions?i.avoidCSSTransitions:C;return b===!0||!k||u(i)||l(i)||d.duration<=0||e.fn.animate.defaults.avoidTransforms===!0&&i.avoidTransforms!==!1?t.apply(this,arguments):this[d.queue===!0?"queue":"each"](function(){var n=e(this),r=e.extend({},d),a=function(t){var o=n.data(T)||{original:{}},r={};if(2==t.eventPhase){if(i.leaveTransforms!==!0){for(var s=m.length-1;s>=0;s--)r[m[s]+"transform"]="";if(c&&"undefined"!=typeof o.meta)for(var a=0,l;l=p[a];++a)r[l]=o.meta[l+"_o"]+w,e(this).css(l,r[l])}n.unbind(A).css(o.original).css(r).data(T,null),"hide"===i.opacity&&n.css({display:"none",opacity:""}),y.call(this)}},l={bounce:S+"0.0, 0.35, .5, 1.3"+_,linear:"linear",swing:"ease-in-out",easeInQuad:S+"0.550, 0.085, 0.680, 0.530"+_,easeInCubic:S+"0.550, 0.055, 0.675, 0.190"+_,easeInQuart:S+"0.895, 0.030, 0.685, 0.220"+_,easeInQuint:S+"0.755, 0.050, 0.855, 0.060"+_,easeInSine:S+"0.470, 0.000, 0.745, 0.715"+_,easeInExpo:S+"0.950, 0.050, 0.795, 0.035"+_,easeInCirc:S+"0.600, 0.040, 0.980, 0.335"+_,easeInBack:S+"0.600, -0.280, 0.735, 0.045"+_,easeOutQuad:S+"0.250, 0.460, 0.450, 0.940"+_,easeOutCubic:S+"0.215, 0.610, 0.355, 1.000"+_,easeOutQuart:S+"0.165, 0.840, 0.440, 1.000"+_,easeOutQuint:S+"0.230, 1.000, 0.320, 1.000"+_,easeOutSine:S+"0.390, 0.575, 0.565, 1.000"+_,easeOutExpo:S+"0.190, 1.000, 0.220, 1.000"+_,easeOutCirc:S+"0.075, 0.820, 0.165, 1.000"+_,easeOutBack:S+"0.175, 0.885, 0.320, 1.275"+_,easeInOutQuad:S+"0.455, 0.030, 0.515, 0.955"+_,easeInOutCubic:S+"0.645, 0.045, 0.355, 1.000"+_,easeInOutQuart:S+"0.770, 0.000, 0.175, 1.000"+_,easeInOutQuint:S+"0.860, 0.000, 0.070, 1.000"+_,easeInOutSine:S+"0.445, 0.050, 0.550, 0.950"+_,easeInOutExpo:S+"1.000, 0.000, 0.000, 1.000"+_,easeInOutCirc:S+"0.785, 0.135, 0.150, 0.860"+_,easeInOutBack:S+"0.680, -0.550, 0.265, 1.550"+_},f={},b=l[r.easing||"swing"]?l[r.easing||"swing"]:r.easing||"swing";for(var M in i)if(e.inArray(M,g)===-1){var C=e.inArray(M,p)>-1,P=o(n,i[M],M,C&&i.avoidTransforms!==!0);i.avoidTransforms!==!0&&h(M,P,n)?s(n,M,r.duration,b,C&&i.avoidTransforms===!0?P+w:P,C&&i.avoidTransforms!==!0,c,i.useTranslate3d):f[M]=i[M]}n.unbind(A);var x=n.data(T);if(!x||u(x)||u(x.secondary))r.queue=!1;else{v++,n.css(x.properties);var k=x.secondary;setTimeout(function(){n.bind(A,a).css(k)})}return u(f)||(v++,t.apply(n,[f,{duration:r.duration,easing:e.easing[r.easing]?r.easing:e.easing.swing?"swing":"linear",complete:y,queue:r.queue}])),!0})},e.fn.animate.defaults={},e.fn.stop=function(t,n,o){return k?(t&&this.queue([]),this.each(function(){var r=e(this),s=r.data(T);if(s&&!u(s)){var a,l={};if(n){if(l=s.secondary,!o&&void 0!==typeof s.meta.left_o||void 0!==typeof s.meta.top_o)for(l.left=void 0!==typeof s.meta.left_o?s.meta.left_o:"auto",l.top=void 0!==typeof s.meta.top_o?s.meta.top_o:"auto",a=m.length-1;a>=0;a--)l[m[a]+"transform"]=""}else if(!u(s.secondary)){var c=window.getComputedStyle(r[0],null);if(c)for(var d in s.secondary)if(s.secondary.hasOwnProperty(d)&&(d=d.replace(y,"-$1").toLowerCase(),l[d]=c.getPropertyValue(d),!o&&/matrix/i.test(l[d]))){var h=l[d].replace(/^matrix\(/i,"").split(/, |\)$/g);for(l.left=parseFloat(h[4])+parseFloat(r.css("left"))+w||"auto",l.top=parseFloat(h[5])+parseFloat(r.css("top"))+w||"auto",a=m.length-1;a>=0;a--)l[m[a]+"transform"]=""}}r.unbind(A),r.css(s.original).css(l).data(T,null)}else i.apply(r,[t,n])}),this):i.apply(this,[t,n])},RegExp(" AppleWebKit/").test(navigator.userAgent)&&RegExp(" Mobile/").test(navigator.userAgent)||e.toggleDisabledByDefault()}(n,n.fn.animate,n.fn.stop)},252:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},309:function(e,t,i){var n,o;n=[i(2),i(6),i(63),i(3),i(611),i(1),i(33),i(317)],o=function(e,t,n,o,r,s){function a(){return!!H()&&(B||(B=i(148),R=i(616)),!0)}function l(e){var t=e.closest("."+q);return t.length?t:e.parent()}function u(e){var t=e.find("."+$);return t.length?t:e.find("a").first()}function c(e){var t=e.find("."+Y);return t.length?t:(t=e.find("."+z),t.length?t:e.find("li"))}function d(e){var t=e.closest("."+X);return t.length?t:e.parent()}function h(e){return e.find("."+X).first()}function f(e){var t=e.find("."+Q);return t.length?t:e.find("li")}function p(e){var t=e.find("."+J);return t.length?t:e.find("a")}function m(t){if(window.navFlyoutMenu){var i=window.currentPage||N,o=window.navFlyoutMenu.getMainList(),a=o.children(),l=s("body").find("#"+se),d=s("body").find("#"+ne),f=V&&V.hasCustomMembership,m=V&&V.hasCustomMinicart,g=a.filter(function(){return!!s(this).find("#"+ne).length});g.length||(g=void 0);var v=window.getCartCount(),b=window.location.host,w=window.location.pathname,T=window._W.stl("javascript.cartText")+" (<span id='"+re+"'></span>)",S;b.indexOf(".checkout.weebly.com")>-1||b.indexOf(".checkout.editmysite.com")>-1||w.indexOf("store/checkout")>-1||"object"==typeof e&&e.EDITOR&&!e.COMMERCE_ENABLED||"object"!=typeof e||!e.Commerce||"boolean"!=typeof e.Commerce.hasCart||"object"==typeof e&&e.Commerce&&e.Commerce.hasCart===!1?g&&(g.remove(),a=o.children(),window.navFlyoutMenu.writeOrderingClassNames()):(g||(m?(d.html(T),g=void 0):g=A(T),S=m?d:u(g),S.attr("id",ne).css("position","relative"),H()&&(n.chromeless||(S=m?d.parent():y(g),S.attr("data-content",window._W.utl("javascript.editor.cartNotification")).popover({trigger:"hover",placement:"bottom",container:"#_editor-ui",delay:{show:500,hide:100}}))),S=m?d.parent():y(g),S.addClass(oe).css("position","relative"),G=m?d:g,window.reportCartNavElement(),m||(o.append(g),a=o.children(),window.navFlyoutMenu.writeOrderingClassNames())),s("#"+re).text(v));var C;g&&m?C=null:g&&(C=y(g));var P;P=f?s("#"+se):a.filter(function(){return!!s(this).find("#"+se).length;
}),P.length||(P=void 0);var E=e.allowMemberRegistration?e.stl("html.weebly.libraries.flyout_menus_jq_7"):e.stl("html.weebly.libraries.flyout_menus_jq_8"),D=r.some(function(e){return e.get("membership_required")}),F=H()&&(D||e.allowMemberRegistration||e.memberCount>0||e.groupCount>0)&&e.showMemberLoginLink,B=window._W&&e.showLogin;if(!F&&!B||P?F||B||!P||(P.remove(),a=o.children(),window.navFlyoutMenu.writeOrderingClassNames()):(P=A(E),H()?P.attr("id","pgmember-login"):P.attr("id","member-login"),u(P).attr("id",se),f?s(".wsite-custom-membership-wrapper").html(P):g&&!m?P.insertBefore(g):o.append(P),a=o.children(),window.navFlyoutMenu.writeOrderingClassNames()),H()&&P){var R=u(P);R=l.length?l:R,l.length&&R.text(E),n.chromeless||R.attr("data-content",e.utl("html.weebly.libraries.flyout_menus_jq_5")).popover({trigger:"hover",placement:"bottom",container:"body",delay:{show:500,hide:100}})}if(!window.DISABLE_NAV_MORE){var O=j?j.clone(!0,!0):x(),L=a.filter(function(){return!!s(this).find("#"+te).length});L.length||(L=void 0);var W=!1;L&&(L.hide(),W=!0);var q;if(W)if(q=y(L),q[0]._flyoutmenu_destroy)q=q[0]._flyoutmenu_destroy(!0);else{var Y=c(q)[0];Y._flyoutmenu_destroy&&(q=Y._flyoutmenu_destroy(!0))}var $=[],K=[],Q=!1,J,ee,ae=null,le,ue;for(le=0;le<t.length;le++)ue=M(t[le].id,o),ue&&(ue.show(),$.push(ue));for(g&&$.push(g),P&&$.push(P),le=0;le<$.length;le++){ue=$[le];var ce=y(ue),de=_(ce);if(le){if(1==le)J=Math.abs(de[0].top-K[0][0].top)>Math.abs(de[0].left-K[0][0].left),J&&(ee=ce.closest(".wsite-nav-vertical"),ee.length&&(ae=ee.offset().top+(parseInt(ee.css("padding-top"),10)||0)+ee.height()));else if(J){if(null!==ae&&de[1].top>ae){Q=!0;break}}else if(Math.abs(de[0].top-K[le-1][0].top)>5){Q=!0;break}}else;K.push(de)}var he=[],fe,pe,me;if(s("body").toggleClass("wsite-nav-condensed",!!Q),Q){L?L.show():(L=O,u(L).attr("id",te).css("position","relative").on("click",!1),P&&!f?L.insertBefore(P):g&&!m?L.insertBefore(g):o.append(L));var ge=y(L).addClass(ie).css("position","relative"),ve=y($[0]),ye=null;P&&!f&&(ye=y(P));var be=C||ye||ge,we=$.length-1;for(g&&we--,P&&we--,le=we;le>=0;le--){var Te=_(ve),Se=_(be);if(!(J&&Se[1].top>ae||!J&&Math.abs(Te[0].top-Se[0].top)>5))break;$[le].hide(),he.unshift(le)}if(0===he.length)L.remove(),s("body").removeClass("wsite-nav-condensed");else if(he.length==t.length){for(le=0;le<he.length;le++){var _e=M(t[he[le]].id,o);_e&&_e.show()}L.remove(),s("body").removeClass("wsite-nav-condensed")}else{for(var Me=[],Ce,Pe=0;Pe<he.length;Pe++){fe=t[he[Pe]],r.length&&(fe=r.getPage(fe.id).toJSON()),fe=s.extend({},fe),fe.title_html=fe.title,fe.membership_required=fe["membership-required"],H()&&(fe.url="page://"+fe.id);var xe=M(fe.id,o);xe&&(Ce=y(xe)[0]._get_sublist()),!Ce&&q&&(Ce=!!q.find("#"+U+fe.id+" ."+X).length),Ce&&(fe.has_children=!0,fe.children=!1),Me.push(fe)}var Ae=s(k(I("navigation/flyout/list")||I("menu/submenu-main"),{children:Me}));H()&&window.processNavLinks(Ae),p(Ae).each(function(){var e=s(this).closest("[id]"),n=e.attr("id");if(n){n=n.replace(/[^\d]/g,"");var r;if(s.each(t,function(){if(this.id===n)return r=this,!1}),r){if(e.is("span."+z)&&(e=e.children(),e.unwrap()),pe=U+r.id,e.attr("id",pe),pe.replace(/[^\d]/g,"")==i&&e.addClass(Z),me=u(e),!r.onclick){var a=r.url;if(window.IS_ARCHIVE||a.match(/^http:\/\//))me.attr("href",a);else{var l=s(s.map($,function(e){return e.get()})),c=u(l.filter("[id*="+n+"]")),d=c.attr("href"),f=c.data("membership-required");d?me.attr("href",d):r.nonclickable||me.attr("href","/"+a),"number"==typeof f&&me.attr("data-membership-required",""+f)}r.target&&me.attr("target",r.target)}var p,m=M(r.id,o);m&&(p=y(m)[0]._flyoutmenu_destroy()),!p&&q&&(p=h(q.find("#"+U+r.id)),p.length||(p=void 0)),p&&h(e).replaceWith(p)}}}),ge.append(Ae),window.navFlyoutMenu.addItem(ge)}}if(q)for(le=0;le<he[0];le++){fe=t[le];var ke=M(fe.id,o),Ee=q.find("#"+U+fe.id+" ."+X+":first");Ee.length&&(ke[0]._flyoutmenu_destroy&&ke[0]._flyoutmenu_destroy(),ke.append(Ee),window.navFlyoutMenu.addItem(ke))}window.navFlyoutMenu.writeOrderingClassNames()}}}function g(e,t,i){var n=e.closest("."+q);n.length||(n=e.parent(),n.hasClass(z)&&(n=n.parent()));var o=v(n,t,i);if(o.length>=2){var r=o.eq(0).offset(),s=o.eq(1).offset(),a=Math.abs(r.left-s.left)-Math.abs(r.top-s.top);if(0!==a)return a<0}return!S(e)}function v(e,t,i){var n=e.find("."+Y);if(n.length)return n;var n=e.find("."+z);if(n.length)return n;var o=[];return e.children().each(function(e,n){var r=s(n);if(!t||r.hasClass(z)||r.hasClass(ie)||n.id.match(/^pg/)||i&&n.id==i){var a=y(r);a.length&&o.push(a[0])}}),s(o)}function y(e){if(e.hasClass(z)){var t=e.find("."+Y).first();e=t.length?t:e.children().first()}if(!e.hasClass(q))return e}function b(e){return c(e).add(f(e))}function w(e){var t=e.closest("."+z).siblings().find("."+Y+":first-child");return t.length?t:e.parent().hasClass(z)?e.parent().siblings().children(":first-child"):e.siblings()}function T(e){var t=e.find("."+K).first();if(t.length)return t;if(t=e.closest("."+Q+", ."+Y).find("."+K).first(),t.length)return t;if(t=e.find("ul").first(),!t.length){var i=e.next();i.hasClass(q)&&(t=i.children().first())}return t.length?t:void 0}function S(e){return!e.closest("."+K).length}function _(e){var t=e.is("a")?e:e.find("a"),i=e.offset(),n={top:i.top+e[0].offsetHeight,left:i.left+e[0].offsetWidth};if(!t)return[i,n];var o=t.offset(),r={top:o.top+t[0].offsetHeight,left:o.left+t[0].offsetWidth},s,a;return Math.abs(i.left-n.left)<10?(s=o,a=r):(s={top:Math.min(i.top,o.top),left:Math.min(i.left,o.left)},a={top:Math.max(n.top,r.top),left:Math.max(n.left,r.left)}),[s,a]}function M(e,t){var i=s("#pg"+e,t);if(!i.length&&O&&(i=s("#"+O,t)),i.length)return i}function C(){if(H()){for(var e=0;e<document.styleSheets.length;e++)try{if(document.styleSheets[e].title==L+"-theme-css"){var t=document.styleSheets[e],i=t.cssRules||t.rules;return i&&i.length>0}}catch(e){}return!1}return!0}function P(e){if(C())e();else var t=setInterval(function(){C()&&(clearInterval(t),e())},200)}function x(){return A(e.stl("html.weebly.libraries.flyout_menus_jq_6"))}function A(e){return s(k(E(),{title_html:e,url:"#",has_children:!1}))}function k(e,i){return t.render(e,i,D())}function E(){return le||(le=I("navigation/item")||I("menu/item")),le}function I(e){return D()[e]}function D(){return ae||{}}function F(e){ae=o.extend({},window.objectify(e))}function H(){return window.inEditor&&window.inEditor()}window.getCartCount=function(){var e=H()?0:"-";return e};var G=null;window.getCartNavElement=function(){return G},window.reportCartNavElement=function(){};var B,R,j,O,N,L=window.STYLE_PREFIX||"weebly",V,W=300,z=L+"-nav-handle",U=L+"-nav-",q=L+"-menu-default",Y=L+"-menu-item-wrap",$=L+"-menu-item",X=L+"-menu-wrap",K=L+"-menu",Q=L+"-menu-subitem-wrap",J=L+"-menu-subitem",Z=L+"-nav-current",ee=L+"-menus",te=L+"-nav-more-a",ie=L+"-nav-more",ne=L+"-nav-cart-a",oe=L+"-nav-cart",re=L+"-nav-cart-num",se=L+"-nav-login-a";window.initPublishedFlyoutMenus=function(e,t,i,n,o,r,a){if(N=t,V=a,F(r),j=x(),e.length>0){var u=function(){O=n;var t=s("<div>",{id:ee}).appendTo("body"),i=M(e[0].id);if(i)window.navFlyoutMenu=new window.FlyoutMenu(l(i),{relocate:t,aLiId:n}),m(e);else if(e[0].isCart){var o=s("."+q);o.length&&(window.navFlyoutMenu=new window.FlyoutMenu(o[0],{relocate:t,aLiId:n})),m(e)}};o?u():P(u)}window.refreshPublishedFlyoutMenus=function(){m(e)},s(".wsite-logo img").on("load",window.refreshPublishedFlyoutMenus),s(window).on("load",window.refreshPublishedFlyoutMenus)},window.flyoutMenusRefreshable=!0,window.initEditorFlyoutMenus=function(e,t){O=e,V=t,F(t.templates),P(function(){function t(){var t=window.getTopLevelSummary();if(t.length>0){var i=M(t[0].id);if(i){var n=l(i);n.is("table,tbody,thead,tr")?window.navFlyoutMenu=null:(window.navFlyoutMenu=new window.FlyoutMenu(n,{relocate:"#"+ee,aLiId:e}),j=x(),m(t))}else if(t[0].isCart){var o=s("."+q);o.length&&(window.navFlyoutMenu=new window.FlyoutMenu(o[0],{relocate:"#"+ee,aLiId:e})),m(t)}else window.navFlyoutMenu=null}}t()})},window.refreshNavCondense=function(t){"object"==typeof t&&o.extend(e,t),!window.navFlyoutMenu||e.view&&e.view.isMobileView||m(window.getTopLevelSummary())},window.disableFlyouts=!1,window.FlyoutMenu=function(e,t){function i(e){function i(e){r&&b&&e.preventDefault()}function n(){return!window.disableFlyouts&&(o.mouseoverItems.push(e),C++,M=!0,void(S||b||E&&(e.data("hasChildren",!0),w(e).each(function(e,t){t._flyoutmenu_contract&&t._flyoutmenu_contract()}),v(),e.data("isExpanded",!0))))}function h(){if(window.disableFlyouts)return!1;if(M=!1,S){var t=C;setTimeout(function(){C==t&&S&&!b&&(y(),e.data("isExpanded",!1))},l)}}function m(){return!window.disableFlyouts&&void C++}function v(){b=!0;var i={wrapper:k,duration:W,complete:function(){if(b=!1,S=!0,M?(e[0]._flyoutmenu_contract=y,e[0]._flyoutmenu_hide=function(){b=!1,S=!1,M=!1,e[0]._flyoutmenu_contract=null,e[0]._flyoutmenu_hide=null,k.hide()}):y(),a()){var t=s(this),i=t.offset();B.trigger(R.EVENTS.SUBNAV_SHOWN,{top:i.top,left:i.left,width:t.outerWidth(),height:t.outerHeight()})}}},n=_(e);k.css("left",-1e4),k.show();var o=k.offsetParent(),r=o.is("body")?{top:0,left:0}:o.offset();E.show();var l;if(g(e,!0,t.aLiId))P=!1,k.css("top",-r.top+n[0].top),l=k.outerWidth(),n[1].left+l>s("body").outerWidth()?(x=!1,k.css("left",-r.left+n[0].left-l),i.direction="right",E.show("slide",i)):(x=!0,k.css("left",-r.left+n[1].left),i.direction="left",E.show("slide",i));else{P=!0,k.css("top",-r.top+n[1].top),l=k.outerWidth();var u=k.outerHeight();n[0].left+l>s("body").outerWidth()?k.css("left",-r.left+n[1].left-l):k.css("left",-r.left+n[0].left);var c;if(e.parentsUntil("body").filter(function(){return"fixed"===s(this).css("position")}).length>0){var d=s(window);c=d.height()+d.scrollTop()}else c=s(document).height();var h=parseInt(k.css("top"),10)-u-e.outerHeight();n[1].top+u>c&&h>0?(k.css("top",h+"px"),i.direction="down",A=!0):(i.direction="up",A=!1),E.hide(),E.show("slide",i)}}function y(t){if(!window.disableFlyouts&&e.parent().length){t&&(M=!1),b=!0,e[0]._flyoutmenu_contract=null,e[0]._flyoutmenu_hide=null;var i={wrapper:k,duration:W,complete:function(){b=!1,S=!1,M&&v(),a()&&B.trigger(R.EVENTS.SUBNAV_HIDDEN)}};P?(A?i.direction="down":i.direction="up",E.hide("slide",i)):x?(i.direction="left",E.hide("slide",i)):(i.direction="right",E.hide("slide",i))}}e.css("position","relative"),u(e).add(p(e)).css("position","relative");var b=!1,S=!1,M=!1,C=0,P=!1,x=!1,A=!1,k,E;E=T(e),E&&(k=d(E),k.css("position","absolute"),k.hide(),c?(k.on("mouseover",n),k.on("mouseout",h),k.on("click",function(e){i(e)})):(k.on("mouseover",m),k.on("click",function(e){i(e)}))),e.on("mouseover",n),e.on("mouseout",h),e.on("click",function(e){i(e)}),e[0]._flyoutmenu_destroy=function(t){if(e.off("mouseover",n),e.off("mouseout",h),e.off("click",i),k){c?(k.off("mouseover",n),k.off("mouseout",h),k.off("click",i)):(k.off("mouseover",m),k.off("click",i)),f(k).each(function(){this._flyoutmenu_destroy()}),t&&k.detach();var o=k;return k=null,E=null,o}},e[0]._get_sublist=function(){return E}}function n(){var t=1;v(e).each(function(){this.className=this.className.replace(new RegExp(U+"\\d+"),"");var e=s(this);"none"!=e.css("display")&&(e.addClass(U+t),t++)})}var o=this;o.mouseoverItems=[],e=s(e),t=t||{};var r="ontouchstart"in window,l=1e3*(t.delay||.5),c=!!t.relocate&&s(t.relocate),h;this.contract=function(){h.each(function(e,t){t._flyoutmenu_contract&&t._flyoutmenu_contract(!0)})},this.hideSubmenus=function(){h.each(function(e,t){t._flyoutmenu_hide&&t._flyoutmenu_hide()})},this.destroy=function(){h.each(function(e,t){t._flyoutmenu_destroy&&t._flyoutmenu_destroy()})},this.addItem=function(e){e=s(e);var t=y(e);if(t.length){i(t);var o=T(t);o&&f(o).each(function(){i(s(this))}),c&&o&&c.append(d(o)),h=h.add(t),n()}},this.removeItem=function(e){e=s(e);var t=y(e);t.length&&(t[0]._flyoutmenu_destroy&&t[0]._flyoutmenu_destroy(!0),t.remove(),h=h.not(t),n())},this.getMainList=function(){return e},this.writeOrderingClassNames=n,h=b(e),h.each(function(){i(s(this))}),n(),c&&v(e).each(function(e,t){var i=T(s(t));i&&c.append(d(i))})},window.whenThemeCSSLoaded||(window.whenThemeCSSLoaded=P),e.Menus={inVerticalList:g};var ae,le;window.objectify=function(e){return o.isEmpty(e)?{}:e}}.apply(t,n),!(void 0!==o&&(e.exports=o))},313:function(e,t,i){var n,o;(function(r){!function(s){var a="object"==typeof self&&self.self===self&&self||"object"==typeof r&&r.global===r&&r;if(0)if("undefined"!=typeof t){var l=require("underscore");t=s(a,l)}else a._W=a._W||{},a._W.Sender=s(a,a._);else n=[i(3)],o=function(e){return s(a,e)}.apply(t,n),!(void 0!==o&&(e.exports=o))}(function(e,t){var n={GALib:"//www.google-analytics.com/analytics.js",SPProdLib:"//cdn2.editmysite.com/js/wsnbn/snowday261.js",SPDevLib:"//d1fc8wv8zag5ca.cloudfront.net/2.6.1/sp.js",SPProdEndpoint:"ec.weebly.com",SPDevEndpoint:"52.24.132.34:8080",GATrackerName:"_w",SPTrackerName:"_w"},o=function(e){t.extend(this,n,{GAID:null,SPID:null,uidFn:function(){return null},contextFn:function(){return null},updateUIDForAction:function(){},cookieDomain:document.location.hostname,GAColumnMapping:{},dontRecord:document.cookie.indexOf("gdpr-kb")===-1},e),document.cookie.indexOf("gdpr-kb")===-1?this.dontRecord=!0:this.dontRecord=!1,this.gaCommerceLoaded=!1,this.HasUID=!1,this.lastPageView=null,this.trackers={GA:"ga",SP:"_wsp"},this.initialize()};return t.extend(o.prototype,{trackEvent:function(t,i,n,o){o=o||{};var r=o.contexts||{};o.model&&(r.context_changeset=this.modelChangelog(o.model)),r=this.buildContext(r),this.updateUIDForAction(i),this.identify(),this.dontRecord||(this.trackers.GA&&e[this.trackers.GA](this.GATrackerName+".send","event",t,i,n,r.GA),this.trackers.SP&&e[this.trackers.SP]("trackStructEvent:"+this.SPTrackerName,t,i,n,o&&"property"in o?o.property:null,o&&"value"in o?o.value:null,r.SP))},pageView:function(t,i,n){this.identify(),n=this.buildContext(n),i=i||document.title;var o=t||e.location.pathname+e.location.hash;this.lastPageView!==o&&(this.dontRecord||(this.trackers.GA&&(t&&(n.GA.page=t),e[this.trackers.GA](this.GATrackerName+".send","pageview",n.GA)),this.trackers.SP&&(t&&e[this.trackers.SP]("setCustomUrl:"+this.SPTrackerName,t),e[this.trackers.SP]("trackPageView:"+this.SPTrackerName,i,n.SP)),this.lastPageView=o))},trackPurchase:function(i,n){!this.gaCommerceLoaded&&this.trackers.GA&&(e[this.trackers.GA](this.GATrackerName+".require","ec"),this.gaCommerceLoaded=!0),this.identify();var o=this.buildContext();this.dontRecord||(this.trackers.GA&&(e[this.trackers.GA](this.GATrackerName+".set","&cu",i.currency),t.each(n,function(t){e[this.trackers.GA](this.GATrackerName+".ec:addProduct",{id:t.id,name:t.name,price:t.price,quantity:t.quantity||1})},this),e[this.trackers.GA](this.GATrackerName+".ec:setAction","purchase",{id:i.id,revenue:i.total,tax:i.tax}),e[this.trackers.GA](this.GATrackerName+".send","event","billing","purchase")),this.trackers.SP&&(e[this.trackers.SP]("addTrans:"+this.SPTrackerName,i.id,null,i.total,i.shipping||"0.00",i.city||null,i.state||null,i.country,i.currency,o.SP),t.each(n,function(t){e[this.trackers.SP]("addItem:"+this.SPTrackerName,i.id,t.id,t.name,null,t.price,t.quantity||1)},this),e[this.trackers.SP]("trackTrans:"+this.SPTrackerName)))},buildContext:function(e){var i=this.contextFn()||{};t.isObject(e)&&(i=t.extendOwn({},i,e));var n=t.flatten(t.values(i),!0),o={};return t.each(i,function(e,i){t.isObject(e)&&t.each(e.data,function(e,n){n=i+":"+n,t.has(this.GAColumnMapping,n)&&(n=this.GAColumnMapping[n],o[n]=e)},this)},this),{GA:o,SP:n}},initialize:function(){var i=function(e){var t=document.createElement("script");t.async=1,t.src=e;var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(t,i)};if(this.GAID){var n=e.GoogleAnalyticsObject=e.GoogleAnalyticsObject||this.trackers.GA;this.trackers.GA=n,void 0===e[n]&&(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)},e[n].l=(new Date).getTime(),i(this.GALib)),e[this.trackers.GA]("create",{trackingId:this.GAID,name:this.GATrackerName,cookieDomain:this.cookieDomain})}else this.trackers.GA=null;if(this.SPID){var o=this.useDebugEndpoint?this.SPDevEndpoint:this.SPProdEndpoint,r=this.useDebugEndpoint?this.SPDevLib:this.SPProdLib;if(t.isFunction(e[this.trackers.SP]))e[this.trackers.SP]("newTracker",this.SPTrackerName,o,{appId:this.SPID,cookieDomain:this.cookieDomain,post:!0,contexts:{webPage:!0,gaCookies:!0}});else{var s=this.trackers.SP;e.GlobalSnowplowNamespace=e.GlobalSnowplowNamespace||[],e.GlobalSnowplowNamespace.push(this.trackers.SP),e[s]=function(){(e[s].q=e[s].q||[]).push(arguments)},e[this.trackers.SP]("newTracker",this.SPTrackerName,o,{appId:this.SPID,cookieDomain:this.cookieDomain,post:!0,contexts:{webPage:!0,gaCookies:!0}}),i(r)}}else this.trackers.SP=null},identify:function(t){this.HasUID&&!t||(t||(t=this.uidFn()),t&&(this.HasUID=!0,this.trackers.GA&&e[this.trackers.GA](this.GATrackerName+".set","&uid",t),this.trackers.SP&&e[this.trackers.SP]("setUserId:"+this.SPTrackerName,t)))},wrapData:function(e,t,i){return{schema:"iglu:com.weebly/"+e+"/jsonschema/"+t,data:i}},modelChangelog:function(e){var i=e.changedAttributes(),n=t.map(i,function(t,i){var n=e.previous(i);return""===t?t=null:("string"==typeof t||t instanceof String)&&(t=t.replace(/\0/g,""),t=t.replace(/\\u0000/g,"")),""===n?n=null:("string"==typeof n||n instanceof String)&&(n=n.replace(/\0/g,""),n=n.replace(/\\u0000/g,"")),t===n?null:this.wrapData("context_changeset","2-0-0",{key:i,to:t,from:n})},this);return n=t.filter(n,t.isObject)}}),o.migrateCooke=function(e){var t=function(e,t,i,n,o,r){return arguments.length>1?document.cookie=e+"="+escape(t)+(i?"; expires="+new Date(+new Date+1e3*i).toUTCString():"")+(n?"; path="+n:"")+(o?"; domain="+o:"")+(r?"; secure":""):unescape((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])},n=i(316),o=n(document.location.host+"/").toString().slice(0,4),r=n(e+"/").toString().slice(0,4),s="_sp_id."+o,a="_sp_id."+r,l="_sp_ses."+o,u="_sp_ses."+r,c=t(s),d=t(a);""!==c&&""===d&&t(a,c,63072e3,"/",e);var h=t(l);""!==h&&""===d&&t(u,h,1800,"/",e)},o})}).call(t,function(){return this}())},315:function(e,t,i){!function(i,n){e.exports=t=n()}(this,function(){var e=e||function(e,t){var i=Object.create||function(){function e(){}return function(t){var i;return e.prototype=t,i=new e,e.prototype=null,i}}(),n={},o=n.lib={},r=o.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=o.WordArray=r.extend({init:function(e,i){e=this.words=e||[],i!=t?this.sigBytes=i:this.sigBytes=4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,i=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var r=0;r<o;r++){var s=i[r>>>2]>>>24-r%4*8&255;t[n+r>>>2]|=s<<24-(n+r)%4*8}else for(var r=0;r<o;r+=4)t[n+r>>>2]=i[r>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,i=this.sigBytes;t[i>>>2]&=4294967295<<32-i%4*8,t.length=e.ceil(i/4)},clone:function(){var e=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var i=[],n=function(t){var t=t,i=987654321,n=4294967295;return function(){i=36969*(65535&i)+(i>>16)&n,t=18e3*(65535&t)+(t>>16)&n;var o=(i<<16)+t&n;return o/=4294967296,o+=.5,o*(e.random()>.5?1:-1)}},o=0,r;o<t;o+=4){var a=n(4294967296*(r||e.random()));r=987654071*a(),i.push(4294967296*a()|0)}return new s.init(i,t)}}),a=n.enc={},l=a.Hex={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],o=0;o<i;o++){var r=t[o>>>2]>>>24-o%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n+=2)i[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new s.init(i,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],o=0;o<i;o++){var r=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n++)i[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new s.init(i,t)}},c=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var i=this._data,n=i.words,o=i.sigBytes,r=this.blockSize,a=4*r,l=o/a;l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0);var u=l*r,c=e.min(4*u,o);if(u){for(var d=0;d<u;d+=r)this._doProcessBlock(n,d);var h=n.splice(0,u);i.sigBytes-=c}return new s.init(h,c)},clone:function(){var e=r.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=o.Hasher=d.extend({cfg:r.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,i){return new e.init(i).finalize(t)}},_createHmacHelper:function(e){return function(t,i){return new f.HMAC.init(e,i).finalize(t)}}}),f=n.algo={};return n}(Math);return e})},316:function(e,t,i){!function(n,o){e.exports=t=o(i(315))}(this,function(e){return function(){var t=e,i=t.lib,n=i.WordArray,o=i.Hasher,r=t.algo,s=[],a=r.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var i=this._hash.words,n=i[0],o=i[1],r=i[2],a=i[3],l=i[4],u=0;u<80;u++){if(u<16)s[u]=0|e[t+u];else{var c=s[u-3]^s[u-8]^s[u-14]^s[u-16];s[u]=c<<1|c>>>31}var d=(n<<5|n>>>27)+l+s[u];d+=u<20?(o&r|~o&a)+1518500249:u<40?(o^r^a)+1859775393:u<60?(o&r|o&a|r&a)-1894007588:(o^r^a)-899497514,l=a,a=r,r=o<<30|o>>>2,o=n,n=d}i[0]=i[0]+n|0,i[1]=i[1]+o|0,i[2]=i[2]+r|0,i[3]=i[3]+a|0,i[4]=i[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(i/4294967296),t[(n+64>>>9<<4)+15]=i,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(a),t.HmacSHA1=o._createHmacHelper(a)}(),e.SHA1})},317:function(e,t,i){var n,o,r;!function(s){o=[i(1),i(33)],n=s,r="function"==typeof n?n.apply(t,o):n,!(void 0!==r&&(e.exports=r))}(function(e){return e.effects.effect.slide=function(t,i){var n=e(this),o=["position","top","bottom","left","right","width","height"],r=e.effects.setMode(n,t.mode||"show"),s="show"===r,a=t.direction||"left",l="up"===a||"down"===a?"top":"left",u="up"===a||"left"===a,c,d={};e.effects.save(n,o),n.show(),c=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(n).css({overflow:"hidden"}),s&&n.css(l,u?isNaN(c)?"-"+c:-c:c),d[l]=(s?u?"+=":"-=":u?"-=":"+=")+c,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===r&&n.hide(),e.effects.restore(n,o),e.effects.removeWrapper(n),i()}})}})},585:function(e,t,i){var n,o;n=[i(2),i(1),i(3),i(313)],o=function(e,t,i,n){if(window._W&&window._W.Tracking)return window._W.Tracking;var o={"context_base:mode":"dimension1","context_base:site_id":"dimension2","context_site:page_id":"dimension3"},r=["headerGroup","accessPageGroup","featuresLandingPages","phoneNumberSignupGroup","homepageOnboardingGroup"],s="1-0-0",a=["signup_ok"],l=function(e,t){var i,n=t.length;for(i=0;"object"==typeof e&&i<n;i++)e=e[t[i]];return e},u=function(e){for(var t in e)if(e.hasOwnProperty(t)){var i=e[t];(null===i||void 0===i||"number"==typeof i&&isNaN(i))&&delete e[t]}},c=document.location.hostname,d;(d=c.match(/\.weebly\.(net|com)$/))&&(c=d[0],n.migrateCooke(c));var h=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"=");if(t!=-1){t=t+e.length+1;var i=document.cookie.indexOf(";",t);return i==-1&&(i=document.cookie.length),unescape(document.cookie.substring(t,i))}}return""},f=document.cookie.indexOf("force-automated-segment")!=-1,p=new n({SPID:"w1",GAColumnMapping:o,cookieDomain:c,dontRecord:f,uidFn:function(){var t=null;if(e.Permissions instanceof Object&&(t=e.Permissions.true_user_id),!t&&window._wctx instanceof Object&&(t=window._wctx.user_id),t||(t=window.userID),t||(t=h("wuid")),!t){var i=h("srv_domainuserid");i&&(t=i)}return t},trackLegacyPageView:function(){for(var e=["send","pageview"],t=0;t<arguments.length;t++)e.push(arguments[t]);window.ga&&"function"==typeof window.ga&&window.ga.apply(window,e)},contextFn:function(){var t={},n=this.wrapData("context_base","1-0-1",{domain:document.domain,language:l(e,["userLang"]),mode:"unknown",location:window.location.pathname,campaign:h("campaign")});if(t.context_base=n,e.LANDING)n.data.mode="landing";else if(e.Home instanceof Object)n.data.mode="userhome";else if(e.EDITOR){n.data.mode="editor";var o=null;e.Location instanceof Object&&(o=e.Location.custom_domain?e.Location.custom_domain:e.Location.weebly_subdomain+".weebly.com");var r=this.wrapData("context_site","1-0-2",{site_id:(window.currentSite||l(e,["initMainData","currentSite"]))+"",site_level:l(e,["Restrictions","level"]),published:!!l(e,["Restrictions","published"]),is_trial:!!l(e,["Restrictions","is_trial"]),domain:o,theme:window.currentTheme||l(e,["initMainData","currentTheme"]),source:window.source,owner_id:window.com_userID?parseInt(window.com_userID,10):null});t.context_site=r;var a=e.pageContext||{};try{if(a.pageID||l(e,["initMainData","pageid"])){var c=this.wrapData("context_site_page","1-0-0",{page_id:a.pageID||l(e,["initMainData","pageid",1]),site_id:window.currentSite||l(e,["initMainData","currentSite"]),kind:a.kind});t.context_site_page=c}}catch(e){}}else if(window._wctx instanceof Object){n.data.mode="purchasepage";var d={site_id:window._wctx.site_id?window._wctx.site_id+"":null,page_state:window._wctx.page_state,service_id:window._wctx.service_id,user_service_id:window._wctx.user_service_id,refer:window._wctx.refer,type:window._wctx.type,required_level:parseInt(window._wctx.desired_level),selected_level:parseInt(window._wctx.selected_level),recurring_period:parseInt(window._wctx.recurring_period),restriction_id:window._wctx.restriction_id,referer_cookie:h("referer")};u(d),t.context_purchasepage=this.wrapData("context_purchasepage","1-0-0",d)}else if(window.Bootstrap instanceof Object){n.data.mode="onboarding";var r=this.wrapData("context_site","1-0-0",{site_id:l(window.Bootstrap,["siteId"])+"",site_level:l(e,["Restrictions","level"]),published:!1,is_trial:!1});t.context_site=r}var f=[];return i.isObject(window.abSegments)&&i.each(window.abSegments,function(e,t){f.push(this.wrapData("context_ab_segment",s,{test_id:t,segment:e}))},this),i.size(f)>0&&(t.context_ab=f),t},updateUIDForAction:function(e){e&&i.each(a,function(t){t==e&&(this.HasUID=!1)},this)}});return window._W=window._W||{},window._W.Tracking=p,p}.apply(t,n),!(void 0!==o&&(e.exports=o))},608:function(e,t,i){var n,o;n=[i(2),i(3)],o=function(e,t){var i={for:function(i){var n=["blog","link","nonclickable","store","category","product"],o=t.contains(n,i)?this[i]:this.page;return o.layout=o.layout||window.getDefaultPageType(window.currentThemeData,e.view.isMobileView),o},page:{title:e.stl("javascript.editor.page-manager.entities.Defaults_2"),kind:"page"},nonclickable:{title:e.stl("javascript.editor.page-manager.entities.Defaults_8"),kind:"nonclickable",nonclickable:1},link:{title:e.stl("javascript.editor.page-manager.entities.Defaults_3"),kind:"page",extlink:"http://",search_hidden:1},blog:{title:e.stl("javascript.editor.page-manager.entities.Defaults_4"),kind:"blog"},store:{title:e.stl("javascript.editor.page-manager.entities.Defaults_5"),kind:"store",layout:"no-header",store_page_kind:"category",store_page_kind_id:"1"},category:{title:e.stl("javascript.editor.page-manager.entities.Defaults_6"),kind:"store",layout:"no-header",store_page_kind:"category"},product:{title:e.stl("javascript.editor.page-manager.entities.Defaults_7"),kind:"store",layout:"no-header",store_page_kind:"product"}};return i}.apply(t,n),!(void 0!==o&&(e.exports=o))},609:function(e,t,i){var n,o;n=[i(3)],o=function(e){var t={initialize:function(e){return this.length=0,this.items={},e.length>0&&this.flatten(e),this},flatten:function(e){var t=this;e.each(function(e){t.add(e),t.flatten(e.get("children"))})},toJSON:function(){var t={};return e.each(this.items,function(e){t[e.id]=e.toJSON()}),t},get:function(e){return this.items[e]},add:function(e){this.items[e.id]||(this.length+=1,this.items[e.id]=e)},remove:function(e){this.length-=1,delete this.items[e.id]},each:function(t){return e.each(this.items,function(e,i){t.call(null,e,i)}),this},some:function(t){return e.some(this.items,function(e,i){return t.call(null,e,i)})},map:function(t){return e.map(this.items,function(e,i){return t.call(null,e,i)})},find:function(t){return e.find(this.items,function(e,i){return t.call(null,e,i)})}};return t}.apply(t,n),!(void 0!==o&&(e.exports=o))},610:function(e,t,i){var n,o;n=[i(2),i(1),i(3),i(5),i(585),i(608),i(609)],o=function(e,t,i,n,o,r,s){var a=n.Model.extend({defaults:function(e){return this.isNew()&&e?r.for(e):{}},initialize:function(e){e=e||{},this.set(this.defaults(e.page_kind)),this.initChildren(),this.on("change",this.onModelChange.bind(this)),this.listenTo(this.get("children"),{changed:function(e){this.trigger("changed",e)},"page:go":function(e){this.trigger("page:go",e)},removed:function(e){this.trigger("removed",e)}})},onModelChange:function(){var e=i.keys(this.changedAttributes()),t=["title","hidden","pwprotected","membership_required","nav_menu"],n=i.intersection(t,e).length>0;n&&this.trigger("changed",this);var o=["title","hidden","layout","store_page_kind_id"],r=i.intersection(o,e).length>0;r&&this.trigger("page:go",this)},initChildren:function(){var e=this.get("children");e instanceof l==!1&&this.set("children",new l(e,{subcollection:!0}))},isCommercePage:function(){return i.contains(["store","category","product"],this.get("page_kind"))},hasCommerceModel:function(e){return this.hasCategory(e)||this.hasProduct(e)},hasProduct:function(e){return this.get("store_page_kind_id")==e.get("site_product_id")},hasCategory:function(e){return this.get("store_page_kind_id")==e.get("site_category_id")},commerceCleanup:function(){var t=this;e.Editor.RPC.Page.cleanupCommercePage(t.id).done(function(){t.set({hidden:1,kind:"page",page_kind:"page",store_page_kind:null,store_page_kind_id:null})})},unescapedAttr:function(e){var i=this.get(e);return t("<div/>").html(i).text()},sync:function(t,n,o){var r=n.hasChanged("store_page_kind_id");return n.collection&&n.set("order",n.collection.indexOf(n)+1),n.isNew()&&n.collection.allPagesProtected()&&n.set("pwprotected",1),e.Editor.RPC.Page.savePage(window.currentSite,n.id,n.attributes).then(function(e){e=i.mapObject(e,function(e,t){return"0"!==e&&"1"!==e||(e=parseInt(e,10)),e});var t=n.isNew(),o=t?"save":"sync",s=!i.isEqual(n.toJSON(),e);return n.set(e,{silent:!0}),n.trigger(o,n),s&&n.trigger("change",n),r&&n.trigger("page:go",n),n})},destroy:function(t){return this.trigger("destroy",this,this.collection,this.collection.indexOf(this)),e.Editor.RPC.Page.removePage(window.currentSite,this.id)},copy:function(){var t=this,n=e.Editor.RPC.Page.copyPage(window.currentSite,t.id);return n.then(function(e){var n=i.extend(t.toJSON(),{id:e.page_id,children:[]});return new a(n)})},toJSON:function(e){var t=i.clone(this.attributes);return t.children=this.get("children").toJSON(),t},canBeHomepage:function(){var e=this.get("page_kind");return"nonclickable"!==e&&"link"!==e},trackEvent:function(e){
o.trackEvent("page",e,this.get("page_kind"))}}),l=n.Collection.extend({model:a,initialize:function(e,t){t=t||{},t.subcollection||this.on({"save add":function(e){e.isNew()||this.getHash().add(e)},removed:function(e){this.getHash().remove(e)}},this),this.on("destroy",this.relocateChildren,this),n.Collection.prototype.initialize.apply(this,arguments)},saveHierarchy:function(t){return this.mirrorHierarchy(t),e.Editor.RPC.Page.saveHierarchy(window.currentSite,t)},mirrorHierarchy:function(e){function t(e,o){var r=1;i.each(o,function(i){var o=n.get(i.id);o.collection.remove(o,{silent:!0}),e.add(o,{silent:!0}),o.set("order",r++),t(o.get("children"),i.children)})}var n=this.getHash();t(this,e)},relocateChildren:function(e,t,i){for(var n=e.get("children"),o=n.at(0);o;)n.remove(o),t.add(o,{at:i++}),o=n.at(0);this.trigger("removed",e)},onSitePasswordChange:function(e,t){var i=this.getHash();if(!t)return void i.each(function(e){e.set("pwprotected",0)});var n=i.find(function(e){return e.get("pwprotected")});e||n||i.each(function(e){e.set("pwprotected",1)})},allPagesProtected:function(){return i.all(this.getHash().items,function(e){return 1==parseInt(e.get("pwprotected"))})},reset:function(e,t){delete this.pageHash,n.Collection.prototype.reset.call(this,e,t)},getHash:function(){return this.pageHash=this.pageHash||s.initialize(this),this.pageHash},getPage:function(e){return this.getHash().get(e)},getHomepage:function(){return this.at(0)},isHomepage:function(e){return e.id===this.getHomepage().id},canDeleteHomepage:function(){var e=this.at(1);return e&&"external"!==e.get("page_kind")&&"nonclickable"!==e.get("page_kind")},cleanupCommercePages:function(e){this.getHash().each(function(t){t.isCommercePage()&&t.hasCommerceModel(e)&&t.commerceCleanup()})}});return{PageModel:a,PageCollection:l}}.apply(t,n),!(void 0!==o&&(e.exports=o))},611:function(e,t,i){var n,o;n=[i(610)],o=function(e){var t=function(){return new e.PageCollection};return t()}.apply(t,n),!(void 0!==o&&(e.exports=o))},616:function(e,t,i){var n,o;n=[],o=function(){return{EVENTS:{DOCUMENT_READY:"documentReady",DOCUMENT_RESIZED:"documentSizeChanged",AREA_TEXT_EDITING_START:"startedEditingAreaText",AREA_TEXT_EDITING_END:"finishedEditingAreaText",TEXT_EDITING_START:"startedEditingText",TEXT_EDITING_END:"finishedEditingText",TEXT_EDITING_TOOLBAR_UPDATE:"updateToolbarStates",SUBNAV_SHOWN:"navShown",SUBNAV_HIDDEN:"navHidden",NAV_CLICKED:"navClicked",NAV_PREVIOUS_PAGE_CLICKED:"navPreviousPageClicked",NAV_NEXT_PAGE_CLICKED:"navNextPageClicked",PAGE_RENDER_FAIL:"renderPageFailed",SITE_INIT_FAIL:"initializeEditorFailed",EDITING_POST_TITLE:"startedEditingPostTitle",EDITED_POST_TITLE:"finishedEditingPostTitle",INITIALIZE_BLOG_POST_EDITOR_FAILED:"initializeBlogPostEditorFailed"},COMMANDS:{},REQUESTS:{}}}.apply(t,n),!(void 0!==o&&(e.exports=o))},620:function(e,t,i){var n,o;n=[i(1),i(636)],o=function(e){e(document).ready(function(){e("a[rel=lightbox]").removeAttr("rel").add('a[rel^="lightbox["]').addClass("w-fancybox"),e.fn.fancybox&&(e(".w-fancybox").fancybox({prevEffect:"none",nextEffect:"none",padding:10,helpers:{title:{type:"inside"},thumbs:{width:50,height:50}}}),window.lightboxLoaded=!0)})}.apply(t,n),!(void 0!==o&&(e.exports=o))},631:function(e,t,i){var n,o;n=[i(2),i(1),i(3),i(6),i(234),i(21),i(5),i(153),i(309),i(620),i(124),i(90),i(247)],o=function(e,t,i,n,o,r,s){if(r.start(),i.each(e.templates,function(e,t){n.compilePartial(t,e)}),e.events={},i.extend(e.events,s.Events),document.createEvent&&document.addEventListener){var a=document.createEvent("Event");a.initEvent("appReady",!0,!1),document.dispatchEvent(a),document.documentElement.appReady=1}else 0===document.documentElement.appReady?document.documentElement.appReady++:document.documentElement.appReady=1;t(document).ready(function(){void 0!==window.initFlyouts&&window.initFlyouts()})}.apply(t,n),!(void 0!==o&&(e.exports=o))},636:function(e,t,i){var n=i(1);!function(e,t,i,n){"use strict";var o=i(e),r=i(t),s=i.fancybox=function(){s.open.apply(this,arguments)},a=null,l=t.createTouch!==n,u=function(e){return e&&e.hasOwnProperty&&e instanceof i},c=function(e){return e&&"string"===i.type(e)},d=function(e){return c(e)&&e.indexOf("%")>0},h=function(e){return e&&!(e.style.overflow&&"hidden"===e.style.overflow)&&(e.clientWidth&&e.scrollWidth>e.clientWidth||e.clientHeight&&e.scrollHeight>e.clientHeight)},f=function(e,t){var i=parseInt(e,10);return t&&d(e)&&(i=s.getViewport()[t]/100*i),Math.ceil(i)},p=function(e,t){return f(e,t)+"px"};i.extend(s,{version:"2.1.0",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!l,autoCenter:!l,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0"'+(i.browser.msie?' allowtransparency="true"':"")+"></iframe>",closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{closeClick:!0,speedOut:200,showEarly:!0,css:{}},title:{type:"float"}},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){if(e&&(i.isPlainObject(t)||(t={}),!1!==s.close(!0)))return i.isArray(e)||(e=u(e)?i(e).get():[e]),i.each(e,function(o,r){var a={},l,d,h,f,p,m,g;"object"===i.type(r)&&(r.nodeType&&(r=i(r)),u(r)?(a={href:r.attr("href"),title:r.attr("title"),isDom:!0,element:r},i.metadata&&i.extend(!0,a,r.metadata())):a=r),l=t.href||a.href||(c(r)?r:null),d=t.title!==n?t.title:a.title||"",h=t.content||a.content,f=h?"html":t.type||a.type,!f&&a.isDom&&(f=r.data("fancybox-type"),f||(p=r.prop("class").match(/fancybox\.(\w+)/),f=p?p[1]:null)),c(l)&&(f||(s.isImage(l)?f="image":s.isSWF(l)?f="swf":"#"===l.charAt(0)?f="inline":c(r)&&(f="html",h=r)),"ajax"===f&&(m=l.split(/\s+/,2),l=m.shift(),g=m.shift())),h||("inline"===f?l?h=i(c(l)?l.replace(/.*(?=#[^\s]+$)/,""):l):a.isDom&&(h=r):"html"===f?h=l:f||l||!a.isDom||(f="inline",h=r)),i.extend(a,{href:l,type:f,content:h,title:d,selector:g}),e[o]=a}),s.opts=i.extend(!0,{},s.defaults,t),t.keys!==n&&(s.opts.keys=!!t.keys&&i.extend({},s.defaults.keys,t.keys)),s.group=e,s._start(s.opts.index)},cancel:function(){var e=s.coming;e&&!1!==s.trigger("onCancel")&&(s.hideLoading(),s.ajaxLoad&&s.ajaxLoad.abort(),s.ajaxLoad=null,s.imgPreload&&(s.imgPreload.onload=s.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0).trigger("onReset").remove(),s.current||s.trigger("afterClose"),s.coming=null)},close:function(e){s.cancel(),!1!==s.trigger("beforeClose")&&(s.unbindEvents(),s.isOpen&&e!==!0?(s.isOpen=s.isOpened=!1,s.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeClass("fancybox-opened"),"fixed"===s.wrap.css("position")&&s.wrap.css(s._getPosition(!0)),s.transitions[s.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),s._afterZoomOut()))},play:function(e){var t=function(){clearTimeout(s.player.timer)},n=function(){t(),s.current&&s.player.isActive&&(s.player.timer=setTimeout(s.next,s.current.playSpeed))},o=function(){t(),i("body").unbind(".player"),s.player.isActive=!1,s.trigger("onPlayEnd")},r=function(){s.current&&(s.current.loop||s.current.index<s.group.length-1)&&(s.player.isActive=!0,i("body").bind({"afterShow.player onUpdate.player":n,"onCancel.player beforeClose.player":o,"beforeLoad.player":t}),n(),s.trigger("onPlayStart"))};e===!0||!s.player.isActive&&e!==!1?r():o()},next:function(e){var t=s.current;t&&(c(e)||(e=t.direction.next),s.jumpto(t.index+1,e,"next"))},prev:function(e){var t=s.current;t&&(c(e)||(e=t.direction.prev),s.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,i){var o=s.current;o&&(e=f(e),s.direction=t||o.direction[e>=o.index?"next":"prev"],s.router=i||"jumpto",o.loop&&(e<0&&(e=o.group.length+e%o.group.length),e%=o.group.length),o.group[e]!==n&&(s.cancel(),s._start(e)))},reposition:function(e,t){var i;s.isOpen&&(i=s._getPosition(t),e&&"scroll"===e.type?(delete i.position,s.wrap.stop(!0,!0).animate(i,200)):s.wrap.css(i))},update:function(e){var t=e&&e.type,i=!t||"orientationchange"===t;i&&(clearTimeout(a),a=null),s.isOpen&&!a&&((i||l)&&(s.wrap.removeAttr("style").addClass("fancybox-tmp"),s.trigger("onUpdate")),a=setTimeout(function(){var i=s.current;i&&(s.wrap.removeClass("fancybox-tmp"),"scroll"!==t&&s._setDimension(),"scroll"===t&&i.canShrink||s.reposition(e),s.trigger("onUpdate"),a=null)},l?500:i?20:300))},toggle:function(e){s.isOpen&&(s.current.fitToView="boolean"===i.type(e)?e:!s.current.fitToView,s.update())},hideLoading:function(){r.unbind("keypress.fb"),i("#fancybox-loading").remove()},showLoading:function(){var e,t;s.hideLoading(),r.bind("keypress.fb",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),s.cancel())}),e=i('<div id="fancybox-loading"><div></div></div>').click(s.cancel).appendTo("body"),s.defaults.fixed||(t=s.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=!!s.current&&s.current.locked,i={x:o.scrollLeft(),y:o.scrollTop()};return t?(i.w=t[0].clientWidth,i.h=t[0].clientHeight):(i.w=l&&e.innerWidth?e.innerWidth:o.width(),i.h=l&&e.innerHeight?e.innerHeight:o.height()),i},unbindEvents:function(){s.wrap&&u(s.wrap)&&s.wrap.unbind(".fb"),r.unbind(".fb"),o.unbind(".fb")},bindEvents:function(){var e=s.current,t;e&&(o.bind("orientationchange.fb"+(l?"":" resize.fb")+(e.autoCenter&&!e.locked?" scroll.fb":""),s.update),t=e.keys,t&&r.bind("keydown.fb",function(o){var r=o.which||o.keyCode,a=o.target||o.srcElement;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||a&&(a.type||i(a).is("[contenteditable]"))||i.each(t,function(t,a){return e.group.length>1&&a[r]!==n?(s[t](a[r]),o.preventDefault(),!1):i.inArray(r,a)>-1?(s[t](),o.preventDefault(),!1):void 0})}),i.fn.mousewheel&&e.mouseWheel&&s.wrap.bind("mousewheel.fb",function(t,n,o,r){for(var a=t.target||null,l=i(a),u=!1;l.length&&!(u||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)u=h(l[0]),l=i(l).parent();0===n||u||s.group.length>1&&!e.canShrink&&(r>0||o>0?s.prev(r>0?"down":"left"):(r<0||o<0)&&s.next(r<0?"up":"right"),t.preventDefault())}))},trigger:function(e,t){var n,o=t||s.coming||s.current;if(o){if(i.isFunction(o[e])&&(n=o[e].apply(o,Array.prototype.slice.call(arguments,1))),n===!1)return!1;"onCancel"!==e||s.isOpened||(s.isActive=!1),o.helpers&&i.each(o.helpers,function(t,n){n&&s.helpers[t]&&i.isFunction(s.helpers[t][e])&&s.helpers[t][e](n,o)}),i.event.trigger(e+".fb")}},isImage:function(e){return c(e)&&e.match(/\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$/i)},isSWF:function(e){return c(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t={},n,o,r,a,u;if(e=f(e),n=s.group[e]||null,!n)return!1;if(t=i.extend(!0,{},s.opts,n),a=t.margin,u=t.padding,"number"===i.type(a)&&(t.margin=[a,a,a,a]),"number"===i.type(u)&&(t.padding=[u,u,u,u]),t.modal&&i.extend(!0,t,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),t.autoSize&&(t.autoWidth=t.autoHeight=!0),"auto"===t.width&&(t.autoWidth=!0),"auto"===t.height&&(t.autoHeight=!0),t.group=s.group,t.index=e,s.coming=t,!1===s.trigger("beforeLoad"))return void(s.coming=null);if(r=t.type,o=t.href,!r)return s.coming=null,!(!s.current||!s.router||"jumpto"===s.router)&&(s.current.index=e,s[s.router](s.direction));if(s.isActive=!0,"image"!==r&&"swf"!==r||(t.autoHeight=t.autoWidth=!1,t.scrolling="visible"),"image"===r&&(t.aspectRatio=!0),"iframe"===r&&l&&(t.scrolling="scroll"),t.wrap=i(t.tpl.wrap).addClass("fancybox-"+(l?"mobile":"desktop")+" fancybox-type-"+r+" fancybox-tmp "+t.wrapCSS).appendTo(t.parent),i.extend(t,{skin:i(".fancybox-skin",t.wrap),outer:i(".fancybox-outer",t.wrap),inner:i(".fancybox-inner",t.wrap)}),i.each(["Top","Right","Bottom","Left"],function(e,i){t.skin.css("padding"+i,p(t.padding[e]))}),s.trigger("onReady"),"inline"===r||"html"===r){if(!t.content||!t.content.length)return s._error("content")}else if(!o)return s._error("href");"image"===r?s._loadImage():"ajax"===r?s._loadAjax():"iframe"===r?s._loadIframe():s._afterLoad()},_error:function(e){i.extend(s.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e}),s._afterLoad(),s.close(!0)},_loadImage:function(){var e=s.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width,s.coming.height=this.height,s._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,s._error("image")},e.src=s.coming.href,e.complete!==n&&e.complete||s.showLoading()},_loadAjax:function(){var e=s.coming;s.showLoading(),s.ajaxLoad=i.ajax(i.extend({},e.ajax,{url:e.href,error:function(e,t){s.coming&&"abort"!==t?s._error("ajax",e):s.hideLoading()},success:function(t,i){"success"===i&&(e.content=t,s._afterLoad())}}))},_loadIframe:function(){var e=s.coming,t=i(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",l?"auto":e.iframe.scrolling).attr("src",e.href);i(e.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(s.showLoading(),t.one("load",function(){i(this).data("ready",1),l||i(this).bind("load.fb",s.update),i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),s._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||s._afterLoad()},_preloadImages:function(){var e=s.group,t=s.current,i=e.length,n=t.preload?Math.min(t.preload,i-1):0,o,r;for(r=1;r<=n;r+=1)o=e[(t.index+r)%i],"image"===o.type&&o.href&&((new Image).src=o.href)},_afterLoad:function(){var e=s.coming,t=s.current,n="fancybox-placeholder",o,r,a,l,c,d;if(s.hideLoading(),e&&s.isActive!==!1){if(!1===s.trigger("afterLoad",e,t))return e.wrap.stop(!0).trigger("onReset").remove(),void(s.coming=null);switch(t&&(s.trigger("beforeChange",t),t.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove(),"fixed"===t.wrap.css("position")&&t.wrap.css(s._getPosition(!0))),s.unbindEvents(),o=e,r=e.content,a=e.type,l=e.scrolling,i.extend(s,{wrap:o.wrap,skin:o.skin,outer:o.outer,inner:o.inner,current:o,previous:t}),c=o.href,a){case"inline":case"ajax":case"html":o.selector?r=i("<div>").html(r).find(o.selector):u(r)&&(r.data(n)||r.data(n,i('<div class="'+n+'"></div>').insertAfter(r).hide()),r=r.show().detach(),o.wrap.bind("onReset",function(){i(this).find(r).length&&r.hide().replaceAll(r.data(n)).data(n,!1)}));break;case"image":r=o.tpl.image.replace("{href}",c);break;case"swf":r='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+c+'"></param>',d="",i.each(o.swf,function(e,t){r+='<param name="'+e+'" value="'+t+'"></param>',d+=" "+e+'="'+t+'"'}),r+='<embed src="'+c+'" type="application/x-shockwave-flash" width="100%" height="100%"'+d+"></embed></object>"}u(r)&&r.parent().is(o.inner)||o.inner.append(r),s.trigger("beforeShow"),o.inner.css("overflow","yes"===l?"scroll":"no"===l?"hidden":l),s._setDimension(),o.wrap.removeClass("fancybox-tmp"),o.pos=i.extend({},o.dim,s._getPosition(!0)),s.isOpen=!1,s.coming=null,s.bindEvents(),s.isOpened?t.prevMethod&&s.transitions[t.prevMethod]():i(".fancybox-wrap").not(o.wrap).stop(!0).trigger("onReset").remove(),s.transitions[s.isOpened?o.nextMethod:o.openMethod](),s._preloadImages()}},_setDimension:function(){var e=s.getViewport(),t=0,n=!1,o=!1,r=s.wrap,a=s.skin,l=s.inner,u=s.current,c=u.width,h=u.height,m=u.minWidth,g=u.minHeight,v=u.maxWidth,y=u.maxHeight,b=u.scrolling,w=u.scrollOutside?u.scrollbarWidth:0,T=u.margin,S=T[1]+T[3],_=T[0]+T[2],M,C,P,x,A,k,E,I,D,F,H,G,B,R,j;if(r.add(a).add(l).width("auto").height("auto"),M=a.outerWidth(!0)-a.width(),C=a.outerHeight(!0)-a.height(),P=S+M,x=_+C,A=d(c)?(e.w-P)*f(c)/100:c,k=d(h)?(e.h-x)*f(h)/100:h,"iframe"===u.type){if(R=u.content,u.autoHeight&&1===R.data("ready"))try{R[0].contentWindow.document.location&&(l.width(A).height(9999),j=R.contents().find("body"),w&&j.css("overflow-x","hidden"),k=j.height())}catch(e){}}else(u.autoWidth||u.autoHeight)&&(l.addClass("fancybox-tmp"),u.autoWidth||l.width(A),u.autoHeight||l.height(k),u.autoWidth&&(A=l.width()),u.autoHeight&&(k=l.height()),l.removeClass("fancybox-tmp"));if(c=f(A),h=f(k),D=A/k,m=f(d(m)?f(m,"w")-P:m),v=f(d(v)?f(v,"w")-P:v),g=f(d(g)?f(g,"h")-x:g),y=f(d(y)?f(y,"h")-x:y),E=v,I=y,G=e.w-S,B=e.h-_,u.aspectRatio?(c>v&&(c=v,h=c/D),h>y&&(h=y,c=h*D),c<m&&(c=m,h=c/D),h<g&&(h=g,c=h*D)):(c=Math.max(m,Math.min(c,v)),h=Math.max(g,Math.min(h,y))),u.fitToView)if(v=Math.min(e.w-P,v),y=Math.min(e.h-x,y),l.width(f(c)).height(f(h)),r.width(f(c+M)),F=r.width(),H=r.height(),u.aspectRatio)for(;(F>G||H>B)&&c>m&&h>g&&!(t++>19);)h=Math.max(g,Math.min(y,h-10)),c=h*D,c<m&&(c=m,h=c/D),c>v&&(c=v,h=c/D),l.width(f(c)).height(f(h)),r.width(f(c+M)),F=r.width(),H=r.height();else c=Math.max(m,Math.min(c,c-(F-G))),h=Math.max(g,Math.min(h,h-(H-B)));w&&"auto"===b&&h<k&&c+M+w<G&&(c+=w),l.width(f(c)).height(f(h)),r.width(f(c+M)),F=r.width(),H=r.height(),n=(F>G||H>B)&&c>m&&h>g,o=u.aspectRatio?c<E&&h<I&&c<A&&h<k:(c<E||h<I)&&(c<A||h<k),i.extend(u,{dim:{width:p(F),height:p(H)},origWidth:A,origHeight:k,canShrink:n,canExpand:o,wPadding:M,hPadding:C,wrapSpace:H-a.outerHeight(!0),skinSpace:a.height()-h}),!R&&u.autoHeight&&h>g&&h<y&&!o&&l.height("auto")},_getPosition:function(e){var t=s.current,i=s.getViewport(),n=t.margin,o=s.wrap.width()+n[1]+n[3],r=s.wrap.height()+n[0]+n[2],a={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&r<=i.h&&o<=i.w?a.position="fixed":t.locked||(a.top+=i.y,a.left+=i.x),a.top=p(Math.max(a.top,a.top+(i.h-r)*t.topRatio)),a.left=p(Math.max(a.left,a.left+(i.w-o)*t.leftRatio)),a},_afterZoomIn:function(){var e=s.current;e&&(s.isOpen=s.isOpened=!0,s.wrap.addClass("fancybox-opened").css("overflow","visible"),s.reposition(),(e.closeClick||e.nextClick)&&s.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||s[e.closeClick?"close":"next"]()}),e.closeBtn&&i(e.tpl.closeBtn).appendTo(s.skin).bind("click.fb",s.close),e.arrows&&s.group.length>1&&((e.loop||e.index>0)&&i(e.tpl.prev).appendTo(s.outer).bind("click.fb",s.prev),(e.loop||e.index<s.group.length-1)&&i(e.tpl.next).appendTo(s.outer).bind("click.fb",s.next)),s.trigger("afterShow"),e.loop||e.index!==e.group.length-1?s.opts.autoPlay&&!s.player.isActive&&(s.opts.autoPlay=!1,s.play()):s.play(!1))},_afterZoomOut:function(){var e=s.current;i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),i.extend(s,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),s.trigger("afterClose",e)}}),s.transitions={getOrigPosition:function(){var e=s.current,t=e.element,i=e.orig,n={},o=50,r=50,a=e.hPadding,l=e.wPadding,c=s.getViewport();return!i&&e.isDom&&t.is(":visible")&&(i=t.find("img:first"),i.length||(i=t)),u(i)?(n=i.offset(),i.is("img")&&(o=i.outerWidth(),r=i.outerHeight())):(n.top=c.y+(c.h-r)*e.topRatio,n.left=c.x+(c.w-o)*e.leftRatio),e.locked&&(n.top-=c.y,n.left-=c.x),n={top:p(n.top-a*e.topRatio),left:p(n.left-l*e.leftRatio),width:p(o+l),height:p(r+a)}},step:function(e,t){var i,n,o,r=t.prop,a=s.current,l=a.wrapSpace,u=a.skinSpace;"width"!==r&&"height"!==r||(i=t.end===t.start?1:(e-t.start)/(t.end-t.start),s.isClosing&&(i=1-i),n="width"===r?a.wPadding:a.hPadding,o=e-n,s.skin[r](f("width"===r?o:o-l*i)),s.inner[r](f("width"===r?o:o-l*i-u*i)))},zoomIn:function(){var e=s.current,t=e.pos,n=e.openEffect,o="elastic"===n,r=i.extend({opacity:1},t);delete r.position,o?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===n&&(t.opacity=.1),s.wrap.css(t).animate(r,{duration:"none"===n?0:e.openSpeed,easing:e.openEasing,step:o?this.step:null,complete:s._afterZoomIn})},zoomOut:function(){var e=s.current,t=e.closeEffect,i="elastic"===t,n={opacity:.1};i&&(n=this.getOrigPosition(),e.closeOpacity&&(n.opacity=.1)),s.wrap.animate(n,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:i?this.step:null,complete:s._afterZoomOut})},changeIn:function(){var e=s.current,t=e.nextEffect,i=e.pos,n={opacity:1},o=s.direction,r=200,a;i.opacity=.1,"elastic"===t&&(a="down"===o||"up"===o?"top":"left","down"===o||"right"===o?(i[a]=p(f(i[a])-r),n[a]="+="+r+"px"):(i[a]=p(f(i[a])+r),n[a]="-="+r+"px")),"none"===t?s._afterZoomIn():s.wrap.css(i).animate(n,{duration:e.nextSpeed,easing:e.nextEasing,complete:s._afterZoomIn})},changeOut:function(){var e=s.previous,t=e.prevEffect,n={opacity:.1},o=s.direction,r=200;"elastic"===t&&(n["down"===o||"up"===o?"top":"left"]=("up"===o||"left"===o?"-":"+")+"="+r+"px"),e.wrap.animate(n,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){i(this).trigger("onReset").remove()}})}},s.helpers.overlay={overlay:null,update:function(){var e="100%",n;this.overlay.width(e).height("100%"),i.browser.msie?(n=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),r.width()>n&&(e=r.width())):r.width()>o.width()&&(e=r.width()),this.overlay.width(e).height(r.height())},onReady:function(e,n){i(".fancybox-overlay").stop(!0,!0),this.overlay||i.extend(this,{overlay:i('<div class="fancybox-overlay"></div>').appendTo(n.parent),margin:(r.height()>o.height()||"scroll"===i("body").css("overflow-y"))&&i("body").css("margin-right"),el:i(t.all&&!t.querySelector?"html":"body")}),n.fixed&&!l&&(this.overlay.addClass("fancybox-overlay-fixed"),n.autoCenter&&(this.overlay.append(n.wrap),n.locked=this.overlay)),e.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n=this.overlay.unbind(".fb").width("auto").height("auto").css(e.css);e.closeClick&&n.bind("click.fb",function(e){i(e.target).hasClass("fancybox-overlay")&&s.close()}),t.fixed&&!l?t.locked&&(this.el.addClass("fancybox-lock"),this.margin!==!1&&i("body").css("margin-right",f(this.margin)+t.scrollbarWidth)):this.update(),n.show()},onUpdate:function(e,t){t.fixed&&!l||this.update()},afterClose:function(e){var t=this,n=e.speedOut||0;t.overlay&&!s.isActive&&t.overlay.fadeOut(n||0,function(){i("body").css("margin-right",t.margin),t.el.removeClass("fancybox-lock"),t.overlay.remove(),t.overlay=null})}},s.helpers.title={beforeShow:function(e){var t=s.current.title,n=e.type,o,r;if(c(t)&&""!==i.trim(t)){switch(o=i('<div class="fancybox-title fancybox-title-'+n+'-wrap">'+t+"</div>"),n){case"inside":r=s.skin;break;case"outside":r=s.wrap;break;case"over":r=s.inner;break;default:r=s.skin,o.appendTo("body").width(o.width()).wrapInner('<span class="child"></span>'),s.current.margin[2]+=Math.abs(f(o.css("margin-bottom")))}"top"===e.position?o.prependTo(r):o.appendTo(r)}}},i.fn.fancybox=function(e){var t,n=i(this),o=this.selector||"",a=function(r){var a=i(this).blur(),l=t,u,c;r.ctrlKey||r.altKey||r.shiftKey||r.metaKey||a.is(".fancybox-wrap")||(u=e.groupAttr||"data-fancybox-group",c=a.attr(u),c||(u="rel",c=a.get(0)[u]),c&&""!==c&&"nofollow"!==c&&(a=o.length?i(o):n,a=a.filter("["+u+'="'+c+'"]'),l=a.index(this)),e.index=l,s.open(a,e)!==!1&&r.preventDefault())};return e=e||{},t=e.index||0,o&&e.live!==!1?r.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a):n.unbind("click.fb-start").bind("click.fb-start",a),this},r.ready(function(){i.scrollbarWidth===n&&(i.scrollbarWidth=function(){var e=i('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),i.support.fixedPosition===n&&(i.support.fixedPosition=function(){var e=i('<div style="position:fixed;top:20px;"></div>').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop;return e.remove(),t}()),i.extend(s.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")})})}(window,document,n),function(e){var t=e.fancybox;t.helpers.thumbs={wrap:null,list:null,width:0,source:function(t){var i;return t.element&&(i=e(t.element).find("img").attr("src")),!i&&"image"===t.type&&t.href&&(i=t.href),i},init:function(t,i){var n=this,o,r=t.width||50,s=t.height||50,a=t.source||this.source;o="";for(var l=0;l<i.group.length;l++)o+='<li><a style="width:'+r+"px;height:"+s+'px;" href="javascript:window.jQuery.fancybox.jumpto('+l+');"></a></li>';this.wrap=e('<div id="fancybox-thumbs"></div>').addClass(t.position||"bottom").appendTo("body"),this.list=e("<ul>"+o+"</ul>").appendTo(this.wrap),e.each(i.group,function(t){var o=a(i.group[t]);o&&e("<img />").load(function(){var i=this.width,o=this.height,a,l,u;n.list&&i&&o&&(a=i/r,l=o/s,u=n.list.children().eq(t).find("a"),a>=1&&l>=1&&(a>l?(i=Math.floor(i/l),o=s):(i=r,o=Math.floor(o/a))),e(this).css({width:i,height:o,top:Math.floor(s/2-o/2),left:Math.floor(r/2-i/2)}),u.width(r).height(s),e(this).hide().appendTo(u).fadeIn(300))}).attr("src",o)}),this.width=this.list.children().eq(0).outerWidth(!0),this.list.width(this.width*(i.group.length+1)).css("left",Math.floor(.5*e(window).width()-(i.index*this.width+.5*this.width)))},beforeLoad:function(e,t){return t.group.length<2?void(t.helpers.thumbs=!1):void(t.margin["top"===e.position?0:2]+=(e.height||50)+15)},afterShow:function(e,t){this.list?this.onUpdate(e,t):this.init(e,t),this.list.children().removeClass("active").eq(t.index).addClass("active")},onUpdate:function(t,i){this.list&&this.list.stop(!0).animate({left:Math.floor(.5*e(window).width()-(i.index*this.width+.5*this.width))},150)},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(n)}});