function Tabulatr(t){this.id=t,this.name="",this.moreResults=!0,this.currentData=null,this.locked=!1,this.isAPersistedTable=!1,this.initialRequest=!0,this.hasInfiniteScrolling=!1}function TabulatrPagination(t,e){this.pageCount=t,this.tableId=e}function tabulatrInitialize(){if(tabulatr_tables=[],$("th.tabulatr-sortable").click((function(){for(var t,e=$(this),n=e.data("tabulatr-column-name"),i=e.attr("data-sorted"),r=e.parents("table"),o=r.attr("id"),a=0;a<tabulatr_tables.length;a++)tabulatr_tables[a].id===o&&(t=tabulatr_tables[a]);var s=t.id.split("_")[0];r.find("th.tabulatr-sortable.sorted").removeClass("sorted").removeAttr("data-sorted"),i="asc"===i?"desc":"asc",e.addClass("sorted").attr("data-sorted",i),$(".tabulatr_filter_form[data-table="+o+"] input[name="+s+"_sort]").val(n+" "+i),t.moreResults||(t.moreResults=!0,t.hasInfiniteScrolling&&$(".pagination_trigger[data-table="+o+"]").bind("inview",cbfn)),$($(this).parents("table").find("tbody tr")).remove(),$(".tabulatr_mark_all[data-table="+s+"]").prop("checked",!1).prop("indeterminate",!1),t.updateTable({})})),$(".tabulatr_table").each((function(t,e){0===$('.pagination[data-table="'+$(e).attr("id")+'"]').length&&$('.pagination_trigger[data-table="'+$(e).attr("id")+'"]').bind("inview",cbfn)})),$(".batch-action-inputs").click((function(){var t=$(this),e=t.data("do-batch-action-name"),n=t.data("do-batch-action"),i=t.data("table-id"),r={page:1},o=!t.data("download");r[e]=n,r.tabulatr_checked={checked_ids:jQuery.map($("#"+i+" .tabulatr-checkbox:checked"),(function(t){return $(t).val()})).join(",")};var a=!0;if(""===r.tabulatr_checked.checked_ids&&(a=window.confirm(t.parents("ul").data("confirm-text"))),a){var s;$(".tabulatr_mark_all[data-table="+i+"]").prop("indeterminate",!1).prop("checked",!1),$("#"+i+" .tabulatr-wrench").addClass("disabled");for(var l=0;l<tabulatr_tables.length;l++)tabulatr_tables[l].id===i&&(s=tabulatr_tables[l]);o?s.updateTable(r,!0):s.sendRequestWithoutAjax(r,t.data("extension"))}})),$("form.tabulatr-fuzzy-search").submit((function(){for(var t,e=$(this).data("table"),n=0;n<tabulatr_tables.length;n++)tabulatr_tables[n].id===e&&(t=tabulatr_tables[n]);return t.hasInfiniteScrolling&&($(".pagination_trigger[data-table="+e+"]").unbind("inview",cbfn),$(".pagination_trigger[data-table="+e+"]").bind("inview",cbfn)),t.updateTable({page:1,append:!1},!0),!1})),$("form.tabulatr_filter_form input, form.tabulatr_filter_form select").change((function(){$(this).parents("form.tabulatr_filter_form").submit()})),$("form.tabulatr_filter_form input").on("dp.change",(function(){$(this).parents("form.tabulatr_filter_form").submit()})),$("form.tabulatr_filter_form").submit((function(){for(var t,e=$(this).data("table"),n=0;n<tabulatr_tables.length;n++)tabulatr_tables[n].id===e&&(t=tabulatr_tables[n]);return t.submitFilterForm(),!1})),$(".tabulatr_mark_all").click((function(){for(var t,e=$(this).parents("table").prop("id"),n=0;n<tabulatr_tables.length;n++)tabulatr_tables[n].id===e&&(t=tabulatr_tables[n]);$(this).is(":checked")?($("#"+e+" tr[data-page]:visible input[type=checkbox]").prop("checked",!0),$("#"+e+" .tabulatr-wrench").removeClass("disabled")):($("#"+e+" tr[data-page]:visible input[type=checkbox]").prop("checked",!1),t.checkIfCheckboxesAreMarked()?$("#"+e+" .tabulatr-wrench").removeClass("disabled"):$("#"+e+" .tabulatr-wrench").addClass("disabled"))})),$(".tabulatr_table").on("click","input.tabulatr-checkbox",(function(){for(var t,e=$(this).closest(".tabulatr_table"),n=e.attr("id"),i=e.find(".tabulatr_mark_all"),r=0;r<tabulatr_tables.length;r++)tabulatr_tables[r].id===n&&(t=tabulatr_tables[r]);$(this).is(":checked")?($("#"+n+" tr[data-page]:visible input[type=checkbox]").not(":checked").length>0?i.prop("indeterminate",!0):(i.prop("indeterminate",!1),i.prop("checked",!0)),$("#"+n+" .tabulatr-wrench").removeClass("disabled")):$("#"+n+" tr[data-page]:visible input[type=checkbox]:checked").length>0?(i.prop("indeterminate",!0),$("#"+n+" .tabulatr-wrench").removeClass("disabled")):(i.prop("indeterminate",!1),i.prop("checked",!1),t.checkIfCheckboxesAreMarked()?$("#"+n+" .tabulatr-wrench").removeClass("disabled"):$("#"+n+" .tabulatr-wrench").addClass("disabled"))})),$(".tabulatr-per-page a").click((function(){if($(this).hasClass("active"))return!1;$(this).closest("div").find("a").removeClass("active"),$(this).addClass("active");for(var t,e=$(this).closest("div").data("table"),n=0;n<tabulatr_tables.length;n++)tabulatr_tables[n].id===e&&(t=tabulatr_tables[n]);if(t.moreResults=!0,t.hasInfiniteScrolling&&$(".pagination_trigger[data-table="+e+"]").bind("inview",cbfn),void 0!==typeof Storage)try{localStorage.tabulatr_page_display_count=$(this).data("items-per-page")}catch(t){}t.updateTable({page:1},!0)})),$(document).on("click","a[data-tabulatr-reset]",(function(){var t=$(this),e=t.data("tabulatrReset");t.parents(".tabulatr-outer-wrapper").removeClass("filtered");for(var n=0;n<tabulatr_tables.length;n++)if(tabulatr_tables[n].id===e)return tabulatr_tables[n].resetTable(),!1})),$('.tabulatr_table:not(".tabulatr_static_table")').length>0){if(void 0!==typeof Storage)try{var t=localStorage.tabulatr_page_display_count;void 0!==t&&($(".tabulatr-per-page a").removeClass("active"),$(".tabulatr-per-page a[data-items-per-page="+t+"]").addClass("active"))}catch(t){}var e,n,i;$('.tabulatr_table:not(".tabulatr_static_table")').each((function(t,r){if(n=$(r).attr("id"),i=new Tabulatr(n),$(r).data("persistent"))try{localStorage._tabulatr_test=1,i.isAPersistedTable=!0}catch(t){}0===$(".pagination[data-table="+n+"]").length&&(i.hasInfiniteScrolling=!0),tabulatr_tables.push(i);for(var o=0;o<tabulatr_tables.length;o++)tabulatr_tables[o].id===n&&(e=tabulatr_tables[o]);e.updateTable({},!1)}))}$(document).on("click","a[data-show-filters-for]",(function(){$(this).parents(".tabulatr-outer-wrapper").addClass("filtered")}))}(function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function e(t){return"function"==typeof t}function n(t){Q=t}function i(t){W=t}function r(){return function(){process.nextTick(c)}}function o(){return function(){Y(c)}}function a(){var t=0,e=new V(c),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function s(){var t=new MessageChannel;return t.port1.onmessage=c,function(){t.port2.postMessage(0)}}function l(){return function(){setTimeout(c,1)}}function c(){for(var t=0;t<q;t+=2){(0,X[t])(X[t+1]),X[t]=void 0,X[t+1]=void 0}q=0}function u(){try{var t=require("vertx");return Y=t.runOnLoop||t.runOnContext,o()}catch(t){return l()}}function d(t,e){var n=this,i=new this.constructor(p);void 0===i[nt]&&j(i);var r=n._state;if(r){var o=arguments[r-1];W((function(){E(r,i,o,n._result)}))}else A(n,i,t,e);return i}function h(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(p);return _(n,t),n}function p(){}function f(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function g(t){try{return t.then}catch(t){return at.error=t,at}}function v(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}function y(t,e,n){W((function(t){var i=!1,r=v(n,e,(function(n){i||(i=!0,e!==n?_(t,n):C(t,n))}),(function(e){i||(i=!0,k(t,e))}),"Settle: "+(t._label||" unknown promise"));!i&&r&&(i=!0,k(t,r))}),t)}function w(t,e){e._state===rt?C(t,e._result):e._state===ot?k(t,e._result):A(e,void 0,(function(e){_(t,e)}),(function(e){k(t,e)}))}function b(t,n,i){n.constructor===t.constructor&&i===tt&&constructor.resolve===et?w(t,n):i===at?k(t,at.error):void 0===i?C(t,n):e(i)?y(t,n,i):C(t,n)}function _(e,n){e===n?k(e,f()):t(n)?b(e,n,g(n)):C(e,n)}function x(t){t._onerror&&t._onerror(t._result),T(t)}function C(t,e){t._state===it&&(t._result=e,t._state=rt,0!==t._subscribers.length&&W(T,t))}function k(t,e){t._state===it&&(t._state=ot,t._result=e,W(x,t))}function A(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+rt]=n,r[o+ot]=i,0===o&&t._state&&W(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i,r,o=t._result,a=0;a<e.length;a+=3)i=e[a],r=e[a+n],i?E(n,i,r,o):r(o);t._subscribers.length=0}}function D(){this.error=null}function S(t,e){try{return t(e)}catch(t){return st.error=t,st}}function E(t,n,i,r){var o,a,s,l,c=e(i);if(c){if((o=S(i,r))===st?(l=!0,a=o.error,o=null):s=!0,n===o)return void k(n,m())}else o=r,s=!0;n._state!==it||(c&&s?_(n,o):l?k(n,a):t===rt?C(n,o):t===ot&&k(n,o))}function I(t,e){try{e((function(e){_(t,e)}),(function(e){k(t,e)}))}catch(e){k(t,e)}}function M(){return lt++}function j(t){t[nt]=lt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function O(t){return new pt(this,t).promise}function $(t){var e=this;return z(t)?new e((function(n,i){for(var r=t.length,o=0;o<r;o++)e.resolve(t[o]).then(n,i)})):new e((function(t,e){e(new TypeError("You must pass an array to race."))}))}function R(t){var e=new this(p);return k(e,t),e}function B(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function N(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function P(t){this[nt]=M(),this._result=this._state=void 0,this._subscribers=[],p!==t&&("function"!=typeof t&&B(),this instanceof P?I(this,t):N())}function L(t,e){this._instanceConstructor=t,this.promise=new t(p),this.promise[nt]||j(this.promise),Array.isArray(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&C(this.promise,this._result))):k(this.promise,H())}function H(){return new Error("Array Methods must be provided an Array")}function F(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;e&&"[object Promise]"===Object.prototype.toString.call(e.resolve())&&!e.cast||(t.Promise=ht)}var Y,Q,U,z=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},q=0,W=function(t,e){X[q]=t,X[q+1]=e,2===(q+=2)&&(Q?Q(c):U())},G="undefined"!=typeof window?window:void 0,J=G||{},V=J.MutationObserver||J.WebKitMutationObserver,K="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),Z="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,X=new Array(1e3);U=K?r():V?a():Z?s():void 0===G&&"function"==typeof require?u():l();var tt=d,et=h,nt=Math.random().toString(36).substring(16),it=void 0,rt=1,ot=2,at=new D,st=new D,lt=0,ct=O,ut=$,dt=R,ht=P;P.all=ct,P.race=ut,P.resolve=et,P.reject=dt,P._setScheduler=n,P._setAsap=i,P._asap=W,P.prototype={constructor:P,then:tt,catch:function(t){return this.then(null,t)}};var pt=L;L.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===it&&n<t;n++)this._eachEntry(e[n],n)},L.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,i=n.resolve;if(i===et){var r=g(t);if(r===tt&&t._state!==it)this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=t;else if(n===ht){var o=new n(p);b(o,t,r),this._willSettleAt(o,e)}else this._willSettleAt(new n((function(e){e(t)})),e)}else this._willSettleAt(i(t),e)},L.prototype._settledAt=function(t,e,n){var i=this.promise;i._state===it&&(this._remaining--,t===ot?k(i,n):this._result[e]=n),0===this._remaining&&C(i,this._result)},L.prototype._willSettleAt=function(t,e){var n=this;A(t,void 0,(function(t){n._settledAt(rt,e,t)}),(function(t){n._settledAt(ot,e,t)}))};var ft=F,mt={Promise:ht,polyfill:ft};"function"==typeof define&&define.amd?define((function(){return mt})):"undefined"!=typeof module&&module.exports?module.exports=mt:void 0!==this&&(this.ES6Promise=mt),ft()}).call(this),function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,(function(t,e){function n(t){var e=!!t&&"length"in t&&t.length,n=ot.type(t);return"function"!==n&&!ot.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function i(t,e,n){if(ot.isFunction(e))return ot.grep(t,(function(t,i){return!!e.call(t,i,t)!==n}));if(e.nodeType)return ot.grep(t,(function(t){return t===e!==n}));if("string"==typeof e){if(mt.test(e))return ot.filter(e,t,n);e=ot.filter(e,t)}return ot.grep(t,(function(t){return X.call(e,t)>-1!==n}))}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function o(t){var e={};return ot.each(t.match(_t)||[],(function(t,n){e[n]=!0})),e}function a(){J.removeEventListener("DOMContentLoaded",a),t.removeEventListener("load",a),ot.ready()}function s(){this.expando=ot.expando+s.uid++}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Dt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Tt.test(n)?ot.parseJSON(n):n)}catch(t){}At.set(t,e,n)}else n=void 0;return n}function c(t,e,n,i){var r,o=1,a=20,s=i?function(){return i.cur()}:function(){return ot.css(t,e,"")},l=s(),c=n&&n[3]||(ot.cssNumber[e]?"":"px"),u=(ot.cssNumber[e]||"px"!==c&&+l)&&Et.exec(ot.css(t,e));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do{u/=o=o||".5",ot.style(t,e,u+c)}while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function u(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&ot.nodeName(t,e)?ot.merge([t],n):n}function d(t,e){for(var n=0,i=t.length;n<i;n++)kt.set(t[n],"globalEval",!e||kt.get(e[n],"globalEval"))}function h(t,e,n,i,r){for(var o,a,s,l,c,h,p=e.createDocumentFragment(),f=[],m=0,g=t.length;m<g;m++)if((o=t[m])||0===o)if("object"===ot.type(o))ot.merge(f,o.nodeType?[o]:o);else if(Pt.test(o)){for(a=a||p.appendChild(e.createElement("div")),s=(Ot.exec(o)||["",""])[1].toLowerCase(),l=Rt[s]||Rt._default,a.innerHTML=l[1]+ot.htmlPrefilter(o)+l[2],h=l[0];h--;)a=a.lastChild;ot.merge(f,a.childNodes),(a=p.firstChild).textContent=""}else f.push(e.createTextNode(o));for(p.textContent="",m=0;o=f[m++];)if(i&&ot.inArray(o,i)>-1)r&&r.push(o);else if(c=ot.contains(o.ownerDocument,o),a=u(p.appendChild(o),"script"),c&&d(a),n)for(h=0;o=a[h++];)$t.test(o.type||"")&&n.push(o);return p}function p(){return!0}function f(){return!1}function m(){try{return J.activeElement}catch(t){}}function g(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=void 0),e)g(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=f;else if(!r)return t;return 1===o&&(a=r,r=function(t){return ot().off(t),a.apply(this,arguments)},r.guid=a.guid||(a.guid=ot.guid++)),t.each((function(){ot.event.add(this,e,r,i,n)}))}function v(t,e){return ot.nodeName(t,"table")&&ot.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function w(t){var e=zt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){var n,i,r,o,a,s,l,c;if(1===e.nodeType){if(kt.hasData(t)&&(o=kt.access(t),a=kt.set(e,o),c=o.events))for(r in delete a.handle,a.events={},c)for(n=0,i=c[r].length;n<i;n++)ot.event.add(e,r,c[r][n]);At.hasData(t)&&(s=At.access(t),l=ot.extend({},s),At.set(e,l))}}function _(t,e){var n=e.nodeName.toLowerCase();"input"===n&&jt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function x(t,e,n,i){e=K.apply([],e);var r,o,a,s,l,c,d=0,p=t.length,f=p-1,m=e[0],g=ot.isFunction(m);if(g||p>1&&"string"==typeof m&&!it.checkClone&&Ut.test(m))return t.each((function(r){var o=t.eq(r);g&&(e[0]=m.call(this,r,o.html())),x(o,e,n,i)}));if(p&&(o=(r=h(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(s=(a=ot.map(u(r,"script"),y)).length;d<p;d++)l=r,d!==f&&(l=ot.clone(l,!0,!0),s&&ot.merge(a,u(l,"script"))),n.call(t[d],l,d);if(s)for(c=a[a.length-1].ownerDocument,ot.map(a,w),d=0;d<s;d++)l=a[d],$t.test(l.type||"")&&!kt.access(l,"globalEval")&&ot.contains(c,l)&&(l.src?ot._evalUrl&&ot._evalUrl(l.src):ot.globalEval(l.textContent.replace(qt,"")))}return t}function C(t,e,n){for(var i,r=e?ot.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||ot.cleanData(u(i)),i.parentNode&&(n&&ot.contains(i.ownerDocument,i)&&d(u(i,"script")),i.parentNode.removeChild(i));return t}function k(t,e){var n=ot(e.createElement(t)).appendTo(e.body),i=ot.css(n[0],"display");return n.detach(),i}function A(t){var e=J,n=Gt[t];return n||("none"!==(n=k(t,e))&&n||((e=(Wt=(Wt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),n=k(t,e),Wt.detach()),Gt[t]=n),n}function T(t,e,n){var i,r,o,a,s=t.style;return""!==(a=(n=n||Kt(t))?n.getPropertyValue(e)||n[e]:void 0)&&void 0!==a||ot.contains(t.ownerDocument,t)||(a=ot.style(t,e)),n&&!it.pixelMarginRight()&&Vt.test(a)&&Jt.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o),void 0!==a?a+"":a}function D(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function S(t){if(t in re)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ie.length;n--;)if((t=ie[n]+e)in re)return t}function E(t,e,n){var i=Et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function I(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=ot.css(t,n+It[o],!0,r)),i?("content"===n&&(a-=ot.css(t,"padding"+It[o],!0,r)),"margin"!==n&&(a-=ot.css(t,"border"+It[o]+"Width",!0,r))):(a+=ot.css(t,"padding"+It[o],!0,r),"padding"!==n&&(a+=ot.css(t,"border"+It[o]+"Width",!0,r)));return a}function M(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Kt(t),a="border-box"===ot.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(((r=T(t,e,o))<0||null==r)&&(r=t.style[e]),Vt.test(r))return r;i=a&&(it.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+I(t,e,n||(a?"border":"content"),i,o)+"px"}function j(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)(i=t[a]).style&&(o[a]=kt.get(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Mt(i)&&(o[a]=kt.access(i,"olddisplay",A(i.nodeName)))):(r=Mt(i),"none"===n&&r||kt.set(i,"olddisplay",r?n:ot.css(i,"display"))));for(a=0;a<s;a++)(i=t[a]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function O(t,e,n,i,r){return new O.prototype.init(t,e,n,i,r)}function $(){return t.setTimeout((function(){oe=void 0})),oe=ot.now()}function R(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=It[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function B(t,e,n){for(var i,r=(L.tweeners[e]||[]).concat(L.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function N(t,e,n){var i,r,o,a,s,l,c,u=this,d={},h=t.style,p=t.nodeType&&Mt(t),f=kt.get(t,"fxshow");for(i in n.queue||(null==(s=ot._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always((function(){u.always((function(){s.unqueued--,ot.queue(t,"fx").length||s.empty.fire()}))}))),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===("none"===(c=ot.css(t,"display"))?kt.get(t,"olddisplay")||A(t.nodeName):c)&&"none"===ot.css(t,"float")&&(h.display="inline-block")),n.overflow&&(h.overflow="hidden",u.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),e)if(r=e[i],se.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!f||void 0===f[i])continue;p=!0}d[i]=f&&f[i]||ot.style(t,i)}else c=void 0;if(ot.isEmptyObject(d))"inline"===("none"===c?A(t.nodeName):c)&&(h.display=c);else for(i in f?"hidden"in f&&(p=f.hidden):f=kt.access(t,"fxshow",{}),o&&(f.hidden=!p),p?ot(t).show():u.done((function(){ot(t).hide()})),u.done((function(){var e;for(e in kt.remove(t,"fxshow"),d)ot.style(t,e,d[e])})),d)a=B(p?f[i]:0,i,u),i in f||(f[i]=a.start,p&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}function P(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=ot.camelCase(n)],o=t[n],ot.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=ot.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}function L(t,e,n){var i,r,o=0,a=L.prefilters.length,s=ot.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=oe||$(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(i);return s.notifyWith(t,[c,i,n]),i<1&&a?n:(s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:ot.extend({},e),opts:ot.extend(!0,{specialEasing:{},easing:ot.easing._default},n),originalProperties:e,originalOptions:n,startTime:oe||$(),duration:n.duration,tweens:[],createTween:function(e,n){var i=ot.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),u=c.props;for(P(u,c.opts.specialEasing);o<a;o++)if(i=L.prefilters[o].call(c,t,u,c.opts))return ot.isFunction(i.stop)&&(ot._queueHooks(c.elem,c.opts.queue).stop=ot.proxy(i.stop,i)),i;return ot.map(u,B,c),ot.isFunction(c.opts.start)&&c.opts.start.call(t,c),ot.fx.timer(ot.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function H(t){return t.getAttribute&&t.getAttribute("class")||""}function F(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(_t)||[];if(ot.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Y(t,e,n,i){function r(s){var l;return o[s]=!0,ot.each(t[s]||[],(function(t,s){var c=s(e,n,i);return"string"!=typeof c||a||o[c]?a?!(l=c):void 0:(e.dataTypes.unshift(c),r(c),!1)})),l}var o={},a=t===De;return r(e.dataTypes[0])||!o["*"]&&r("*")}function Q(t,e){var n,i,r=ot.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&ot.extend(!0,t,i),t}function U(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function z(t,e,n,i){var r,o,a,s,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function q(t,e,n,i){var r;if(ot.isArray(e))ot.each(e,(function(e,r){n||Me.test(t)?i(t,r):q(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==ot.type(e))i(t,e);else for(r in e)q(t+"["+r+"]",e[r],n,i)}function W(t){return ot.isWindow(t)?t:9===t.nodeType&&t.defaultView}var G=[],J=t.document,V=G.slice,K=G.concat,Z=G.push,X=G.indexOf,tt={},et=tt.toString,nt=tt.hasOwnProperty,it={},rt="2.2.4",ot=function(t,e){return new ot.fn.init(t,e)},at=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,lt=/-([\da-z])/gi,ct=function(t,e){return e.toUpperCase()};ot.fn=ot.prototype={jquery:rt,constructor:ot,selector:"",length:0,toArray:function(){return V.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:V.call(this)},pushStack:function(t){var e=ot.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return ot.each(this,t)},map:function(t){return this.pushStack(ot.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(V.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:Z,sort:G.sort,splice:G.splice},ot.extend=ot.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||ot.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],a!==(i=t[e])&&(c&&i&&(ot.isPlainObject(i)||(r=ot.isArray(i)))?(r?(r=!1,o=n&&ot.isArray(n)?n:[]):o=n&&ot.isPlainObject(n)?n:{},a[e]=ot.extend(c,o,i)):void 0!==i&&(a[e]=i));return a},ot.extend({expando:"jQuery"+(rt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===ot.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!ot.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==ot.type(t)||t.nodeType||ot.isWindow(t))return!1;if(t.constructor&&!nt.call(t,"constructor")&&!nt.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||nt.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=ot.trim(t))&&(1===t.indexOf("use strict")?((e=J.createElement("script")).text=t,J.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(st,"ms-").replace(lt,ct)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,r=0;if(n(t))for(i=t.length;r<i&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(at,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?ot.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:X.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,i){var r,o,a=0,s=[];if(n(t))for(r=t.length;a<r;a++)null!=(o=e(t[a],a,i))&&s.push(o);else for(a in t)null!=(o=e(t[a],a,i))&&s.push(o);return K.apply([],s)},guid:1,proxy:function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),ot.isFunction(t))return i=V.call(arguments,2),r=function(){return t.apply(e||this,i.concat(V.call(arguments)))},r.guid=t.guid=t.guid||ot.guid++,r},now:Date.now,support:it}),"function"==typeof Symbol&&(ot.fn[Symbol.iterator]=G[Symbol.iterator]),ot.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){tt["[object "+e+"]"]=e.toLowerCase()}));var ut=function(t){function e(t,e,n,i){var r,o,a,s,l,c,d,p,f=e&&e.ownerDocument,m=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return n;if(!i&&((e?e.ownerDocument||e:H)!==j&&M(e),e=e||j,$)){if(11!==m&&(c=vt.exec(t)))if(r=c[1]){if(9===m){if(!(a=e.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(f&&(a=f.getElementById(r))&&P(e,a)&&a.id===r)return n.push(a),n}else{if(c[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((r=c[3])&&_.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(r)),n}if(_.qsa&&!z[t+" "]&&(!R||!R.test(t))){if(1!==m)f=e,p=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(wt,"\\$&"):e.setAttribute("id",s=L),o=(d=A(t)).length,l=ht.test(s)?"#"+s:"[id='"+s+"']";o--;)d[o]=l+" "+h(d[o]);p=d.join(","),f=yt.test(t)&&u(e.parentNode)||e}if(p)try{return Z.apply(n,f.querySelectorAll(p)),n}catch(t){}finally{s===L&&e.removeAttribute("id")}}}return D(t.replace(st,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[L]=!0,t}function r(t){var e=j.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||W)-(~t.sourceIndex||W);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return i((function(e){return e=+e,i((function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))}))}))}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function h(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=Y++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,c,u=[F,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if((s=(l=(c=e[L]||(e[L]={}))[e.uniqueID]||(c[e.uniqueID]={}))[i])&&s[0]===F&&s[1]===o)return u[2]=s[2];if(l[i]=u,u[2]=t(e,n,a))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}function g(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,c=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),c&&e.push(s)));return a}function v(t,e,n,r,o,a){return r&&!r[L]&&(r=v(r)),o&&!o[L]&&(o=v(o,a)),i((function(i,a,s,l){var c,u,d,h=[],p=[],f=a.length,v=i||m(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?v:g(v,h,t,s,l),w=n?o||(i?t:f||r)?[]:a:y;if(n&&n(y,w,s,l),r)for(c=g(w,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(w[p[u]]=!(y[p[u]]=d));if(i){if(o||t){if(o){for(c=[],u=w.length;u--;)(d=w[u])&&c.push(y[u]=d);o(null,w=[],c,l)}for(u=w.length;u--;)(d=w[u])&&(c=o?tt(i,d):h[u])>-1&&(i[c]=!(a[c]=d))}}else w=g(w===a?w.splice(f,w.length):w),o?o(null,a,w,l):Z.apply(a,w)}))}function y(t){for(var e,n,i,r=t.length,o=x.relative[t[0].type],a=o||x.relative[" "],s=o?1:0,l=p((function(t){return t===e}),a,!0),c=p((function(t){return tt(e,t)>-1}),a,!0),u=[function(t,n,i){var r=!o&&(i||n!==S)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,r}];s<r;s++)if(n=x.relative[t[s].type])u=[p(f(u),n)];else{if((n=x.filter[t[s].type].apply(null,t[s].matches))[L]){for(i=++s;i<r&&!x.relative[t[i].type];i++);return v(s>1&&f(u),s>1&&h(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),n,s<i&&y(t.slice(s,i)),i<r&&y(t=t.slice(i)),i<r&&h(t))}u.push(n)}return f(u)}function w(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,c){var u,d,h,p=0,f="0",m=i&&[],v=[],y=S,w=i||o&&x.find.TAG("*",c),b=F+=null==y?1:Math.random()||.1,_=w.length;for(c&&(S=a===j||a||c);f!==_&&null!=(u=w[f]);f++){if(o&&u){for(d=0,a||u.ownerDocument===j||(M(u),s=!$);h=t[d++];)if(h(u,a||j,s)){l.push(u);break}c&&(F=b)}r&&((u=!h&&u)&&p--,i&&m.push(u))}if(p+=f,r&&f!==p){for(d=0;h=n[d++];)h(m,v,a,s);if(i){if(p>0)for(;f--;)m[f]||v[f]||(v[f]=V.call(l));v=g(v)}Z.apply(l,v),c&&!i&&v.length>0&&p+n.length>1&&e.uniqueSort(l)}return c&&(F=b,S=y),m};return r?i(a):a}var b,_,x,C,k,A,T,D,S,E,I,M,j,O,$,R,B,N,P,L="sizzle"+1*new Date,H=t.document,F=0,Y=0,Q=n(),U=n(),z=n(),q=function(t,e){return t===e&&(I=!0),0},W=1<<31,G={}.hasOwnProperty,J=[],V=J.pop,K=J.push,Z=J.push,X=J.slice,tt=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1
},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",rt="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",ot=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),st=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ut=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),dt=new RegExp(ot),ht=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},ft=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,wt=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),_t=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xt=function(){M()};try{Z.apply(J=X.call(H.childNodes),H.childNodes),J[H.childNodes.length].nodeType}catch(t){Z={apply:J.length?function(t,e){K.apply(t,X.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(b in _=e.support={},k=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},M=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:H;return i!==j&&9===i.nodeType&&i.documentElement?(O=(j=i).documentElement,$=!k(j),(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xt,!1):n.attachEvent&&n.attachEvent("onunload",xt)),_.attributes=r((function(t){return t.className="i",!t.getAttribute("className")})),_.getElementsByTagName=r((function(t){return t.appendChild(j.createComment("")),!t.getElementsByTagName("*").length})),_.getElementsByClassName=gt.test(j.getElementsByClassName),_.getById=r((function(t){return O.appendChild(t).id=L,!j.getElementsByName||!j.getElementsByName(L).length})),_.getById?(x.find.ID=function(t,e){if(void 0!==e.getElementById&&$){var n=e.getElementById(t);return n?[n]:[]}},x.filter.ID=function(t){var e=t.replace(bt,_t);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(bt,_t);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),x.find.TAG=_.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=_.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&$)return e.getElementsByClassName(t)},B=[],R=[],(_.qsa=gt.test(j.querySelectorAll))&&(r((function(t){O.appendChild(t).innerHTML="<a id='"+L+"'></a><select id='"+L+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+L+"-]").length||R.push("~="),t.querySelectorAll(":checked").length||R.push(":checked"),t.querySelectorAll("a#"+L+"+*").length||R.push(".#.+[+~]")})),r((function(t){var e=j.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")}))),(_.matchesSelector=gt.test(N=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&r((function(t){_.disconnectedMatch=N.call(t,"div"),N.call(t,"[s!='']:x"),B.push("!=",ot)})),R=R.length&&new RegExp(R.join("|")),B=B.length&&new RegExp(B.join("|")),e=gt.test(O.compareDocumentPosition),P=e||gt.test(O.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return I=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!_.sortDetached&&e.compareDocumentPosition(t)===n?t===j||t.ownerDocument===H&&P(H,t)?-1:e===j||e.ownerDocument===H&&P(H,e)?1:E?tt(E,t)-tt(E,e):0:4&n?-1:1)}:function(t,e){if(t===e)return I=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],l=[e];if(!r||!o)return t===j?-1:e===j?1:r?-1:o?1:E?tt(E,t)-tt(E,e):0;if(r===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]===H?-1:l[i]===H?1:0},j):j},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==j&&M(t),n=n.replace(ut,"='$1']"),_.matchesSelector&&$&&!z[n+" "]&&(!B||!B.test(n))&&(!R||!R.test(n)))try{var i=N.call(t,n);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,j,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==j&&M(t),P(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==j&&M(t);var n=x.attrHandle[e.toLowerCase()],i=n&&G.call(x.attrHandle,e.toLowerCase())?n(t,e,!$):void 0;return void 0!==i?i:_.attributes||!$?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(I=!_.detectDuplicates,E=!_.sortStable&&t.slice(0),t.sort(q),I){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return E=null,t},C=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=C(e);return n},x=e.selectors={cacheLength:50,createPseudo:i,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,_t),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,_t),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&dt.test(n)&&(e=A(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,_t).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=Q[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&Q(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(at," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,h,p,f,m=o!==a?"nextSibling":"previousSibling",g=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,w=!1;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&y){for(w=(p=(c=(u=(d=(h=g)[L]||(h[L]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===F&&c[1])&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(w=p=0)||f.pop();)if(1===h.nodeType&&++w&&h===e){u[t]=[F,p,w];break}}else if(y&&(w=p=(c=(u=(d=(h=e)[L]||(h[L]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===F&&c[1]),!1===w)for(;(h=++p&&h&&h[m]||(w=p=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++w||(y&&((u=(d=h[L]||(h[L]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]=[F,w]),h!==e)););return(w-=r)===i||w%i==0&&w/i>=0}}},PSEUDO:function(t,n){var r,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[L]?o(n):o.length>1?(r=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i((function(t,e){for(var i,r=o(t,n),a=r.length;a--;)t[i=tt(t,r[a])]=!(e[i]=r[a])})):function(t){return o(t,0,r)}):o}},pseudos:{not:i((function(t){var e=[],n=[],r=T(t.replace(st,"$1"));return r[L]?i((function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}})),has:i((function(t){return function(n){return e(t,n).length>0}})),contains:i((function(t){return t=t.replace(bt,_t),function(e){return(e.textContent||e.innerText||C(e)).indexOf(t)>-1}})),lang:i((function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,_t).toLowerCase(),function(e){var n;do{if(n=$?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return ft.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c((function(){return[0]})),last:c((function(t,e){return[e-1]})),eq:c((function(t,e,n){return[n<0?n+e:n]})),even:c((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:c((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:c((function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t})),gt:c((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}},x.pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=l(b);return d.prototype=x.filters=x.pseudos,x.setFilters=new d,A=e.tokenize=function(t,n){var i,r,o,a,s,l,c,u=U[t+" "];if(u)return n?0:u.slice(0);for(s=t,l=[],c=x.preFilter;s;){for(a in i&&!(r=lt.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=ct.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(st," ")}),s=s.slice(i.length)),x.filter)!(r=pt[a].exec(s))||c[a]&&!(r=c[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):U(t,l).slice(0)},T=e.compile=function(t,e){var n,i=[],r=[],o=z[t+" "];if(!o){for(e||(e=A(t)),n=e.length;n--;)(o=y(e[n]))[L]?i.push(o):r.push(o);(o=z(t,w(r,i))).selector=t}return o},D=e.select=function(t,e,n,i){var r,o,a,s,l,c="function"==typeof t&&t,d=!i&&A(t=c.selector||t);if(n=n||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&_.getById&&9===e.nodeType&&$&&x.relative[o[1].type]){if(!(e=(x.find.ID(a.matches[0].replace(bt,_t),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=pt.needsContext.test(t)?0:o.length;r--&&(a=o[r],!x.relative[s=a.type]);)if((l=x.find[s])&&(i=l(a.matches[0].replace(bt,_t),yt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&h(o)))return Z.apply(n,i),n;break}}return(c||T(t,d))(i,e,!$,n,!e||yt.test(t)&&u(e.parentNode)||e),n},_.sortStable=L.split("").sort(q).join("")===L,_.detectDuplicates=!!I,M(),_.sortDetached=r((function(t){return 1&t.compareDocumentPosition(j.createElement("div"))})),r((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||o("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),_.attributes&&r((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||o("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),r((function(t){return null==t.getAttribute("disabled")}))||o(et,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),e}(t);ot.find=ut,ot.expr=ut.selectors,ot.expr[":"]=ot.expr.pseudos,ot.uniqueSort=ot.unique=ut.uniqueSort,ot.text=ut.getText,ot.isXMLDoc=ut.isXML,ot.contains=ut.contains;var dt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&ot(t).is(n))break;i.push(t)}return i},ht=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},pt=ot.expr.match.needsContext,ft=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mt=/^.[^:#\[\.,]*$/;ot.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ot.find.matchesSelector(i,t)?[i]:[]:ot.find.matches(t,ot.grep(e,(function(t){return 1===t.nodeType})))},ot.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(ot(t).filter((function(){for(e=0;e<n;e++)if(ot.contains(r[e],this))return!0})));for(e=0;e<n;e++)ot.find(t,r[e],i);return(i=this.pushStack(n>1?ot.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&pt.test(t)?ot(t):t||[],!1).length}});var gt,vt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ot.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||gt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:vt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof ot?e[0]:e,ot.merge(this,ot.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:J,!0)),ft.test(i[1])&&ot.isPlainObject(e))for(i in e)ot.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=J.getElementById(i[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=J,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ot.isFunction(t)?void 0!==n.ready?n.ready(t):t(ot):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ot.makeArray(t,this))}).prototype=ot.fn,gt=ot(J);var yt=/^(?:parents|prev(?:Until|All))/,wt={children:!0,contents:!0,next:!0,prev:!0};ot.fn.extend({has:function(t){var e=ot(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(ot.contains(this,e[t]))return!0}))},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=pt.test(t)||"string"!=typeof t?ot(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?ot.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?X.call(ot(t),this[0]):X.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ot.uniqueSort(ot.merge(this.get(),ot(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ot.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return dt(t,"parentNode")},parentsUntil:function(t,e,n){return dt(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return dt(t,"nextSibling")},prevAll:function(t){return dt(t,"previousSibling")},nextUntil:function(t,e,n){return dt(t,"nextSibling",n)},prevUntil:function(t,e,n){return dt(t,"previousSibling",n)},siblings:function(t){return ht((t.parentNode||{}).firstChild,t)},children:function(t){return ht(t.firstChild)},contents:function(t){return t.contentDocument||ot.merge([],t.childNodes)}},(function(t,e){ot.fn[t]=function(n,i){var r=ot.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ot.filter(i,r)),this.length>1&&(wt[t]||ot.uniqueSort(r),yt.test(t)&&r.reverse()),this.pushStack(r)}}));var bt,_t=/\S+/g;ot.Callbacks=function(t){t="string"==typeof t?o(t):ot.extend({},t);var e,n,i,r,a=[],s=[],l=-1,c=function(){for(r=t.once,i=e=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)!1===a[l].apply(n[0],n[1])&&t.stopOnFalse&&(l=a.length,n=!1);t.memory||(n=!1),e=!1,r&&(a=n?[]:"")},u={add:function(){return a&&(n&&!e&&(l=a.length-1,s.push(n)),function e(n){ot.each(n,(function(n,i){ot.isFunction(i)?t.unique&&u.has(i)||a.push(i):i&&i.length&&"string"!==ot.type(i)&&e(i)}))}(arguments),n&&!e&&c()),this},remove:function(){return ot.each(arguments,(function(t,e){for(var n;(n=ot.inArray(e,a,n))>-1;)a.splice(n,1),n<=l&&l--})),this},has:function(t){return t?ot.inArray(t,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return r=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return r=s=[],n||(a=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},ot.extend({Deferred:function(t){var e=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ot.Deferred((function(n){ot.each(e,(function(e,o){var a=ot.isFunction(t[e])&&t[e];r[o[1]]((function(){var t=a&&a.apply(this,arguments);t&&ot.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)}))})),t=null})).promise()},promise:function(t){return null!=t?ot.extend(t,i):i}},r={};return i.pipe=i.then,ot.each(e,(function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add((function(){n=s}),e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith})),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=V.call(arguments),a=o.length,s=1!==a||t&&ot.isFunction(t.promise)?a:0,l=1===s?t:ot.Deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?V.call(arguments):r,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)o[r]&&ot.isFunction(o[r].promise)?o[r].promise().progress(c(r,n,e)).done(c(r,i,o)).fail(l.reject):--s;return s||l.resolveWith(i,o),l.promise()}}),ot.fn.ready=function(t){return ot.ready.promise().done(t),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ot.readyWait++:ot.ready(!0)},ready:function(t){(!0===t?--ot.readyWait:ot.isReady)||(ot.isReady=!0,!0!==t&&--ot.readyWait>0||(bt.resolveWith(J,[ot]),ot.fn.triggerHandler&&(ot(J).triggerHandler("ready"),ot(J).off("ready"))))}}),ot.ready.promise=function(e){return bt||(bt=ot.Deferred(),"complete"===J.readyState||"loading"!==J.readyState&&!J.documentElement.doScroll?t.setTimeout(ot.ready):(J.addEventListener("DOMContentLoaded",a),t.addEventListener("load",a))),bt.promise(e)},ot.ready.promise();var xt=function(t,e,n,i,r,o,a){var s=0,l=t.length,c=null==n;if("object"===ot.type(n))for(s in r=!0,n)xt(t,e,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,ot.isFunction(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(ot(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:c?e.call(t):l?e(t[0],n):o},Ct=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};s.uid=1,s.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!Ct(t))return{};var e=t[this.expando];return e||(e={},Ct(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[e]=n;else for(i in e)r[i]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?void 0!==(i=this.get(t,e))?i:this.get(t,ot.camelCase(e)):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,o=t[this.expando];if(void 0!==o){if(void 0===e)this.register(t);else{ot.isArray(e)?i=e.concat(e.map(ot.camelCase)):(r=ot.camelCase(e),i=e in o?[e,r]:(i=r)in o?[i]:i.match(_t)||[]),n=i.length;for(;n--;)delete o[i[n]]}(void 0===e||ot.isEmptyObject(o))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!ot.isEmptyObject(e)}};var kt=new s,At=new s,Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Dt=/[A-Z]/g;ot.extend({hasData:function(t){return At.hasData(t)||kt.hasData(t)},data:function(t,e,n){return At.access(t,e,n)},removeData:function(t,e){At.remove(t,e)},_data:function(t,e,n){return kt.access(t,e,n)},_removeData:function(t,e){kt.remove(t,e)}}),ot.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=At.get(o),1===o.nodeType&&!kt.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=ot.camelCase(i.slice(5)),l(o,i,r[i]));kt.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){At.set(this,t)})):xt(this,(function(e){var n,i;if(o&&void 0===e)return void 0!==(n=At.get(o,t)||At.get(o,t.replace(Dt,"-$&").toLowerCase()))?n:(i=ot.camelCase(t),void 0!==(n=At.get(o,i))||void 0!==(n=l(o,i,void 0))?n:void 0);i=ot.camelCase(t),this.each((function(){var n=At.get(this,i);At.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&At.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){At.remove(this,t)}))}}),ot.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=kt.get(t,e),n&&(!i||ot.isArray(n)?i=kt.access(t,e,ot.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=ot.queue(t,e),i=n.length,r=n.shift(),o=ot._queueHooks(t,e),a=function(){ot.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return kt.get(t,n)||kt.access(t,n,{empty:ot.Callbacks("once memory").add((function(){kt.remove(t,[e+"queue",n])}))})}}),ot.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?ot.queue(this[0],t):void 0===e?this:this.each((function(){var n=ot.queue(this,t,e);ot._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&ot.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){ot.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=ot.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=kt.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var St=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Et=new RegExp("^(?:([+-])=|)("+St+")([a-z%]*)$","i"),It=["Top","Right","Bottom","Left"],Mt=function(t,e){return t=e||t,"none"===ot.css(t,"display")||!ot.contains(t.ownerDocument,t)},jt=/^(?:checkbox|radio)$/i,Ot=/<([\w:-]+)/,$t=/^$|\/(?:java|ecma)script/i,Rt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Rt.optgroup=Rt.option,Rt.tbody=Rt.tfoot=Rt.colgroup=Rt.caption=Rt.thead,Rt.th=Rt.td;var Bt,Nt,Pt=/<|&#?\w+;/;Bt=J.createDocumentFragment().appendChild(J.createElement("div")),(Nt=J.createElement("input")).setAttribute("type","radio"),Nt.setAttribute("checked","checked"),Nt.setAttribute("name","t"),Bt.appendChild(Nt),it.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="<textarea>x</textarea>",it.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue;var Lt=/^key/,Ht=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ft=/^([^.]*)(?:\.(.+)|)/;ot.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,c,u,d,h,p,f,m,g=kt.get(t);if(g)for(n.handler&&(n=(o=n).handler,r=o.selector),n.guid||(n.guid=ot.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==ot&&ot.event.triggered!==e.type?ot.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(_t)||[""]).length;c--;)p=m=(s=Ft.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(d=ot.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=ot.event.special[p]||{},u=ot.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&ot.expr.match.needsContext.test(r),namespace:f.join(".")},o),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,a)||t.addEventListener&&t.addEventListener(p,a)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),ot.event.global[p]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,c,u,d,h,p,f,m,g=kt.hasData(t)&&kt.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(_t)||[""]).length;c--;)if(p=m=(s=Ft.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(d=ot.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)u=h[o],!r&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||ot.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)ot.event.remove(t,p+e[c],n,i,!0);ot.isEmptyObject(l)&&kt.remove(t,"handle events")}},dispatch:function(t){t=ot.event.fix(t);var e,n,i,r,o,a=[],s=V.call(arguments),l=(kt.get(this,"events")||{})[t.type]||[],c=ot.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(a=ot.event.handlers.call(this,t,l),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(i=((ot.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(i=[],n=0;n<s;n++)void 0===i[r=(o=e[n]).selector+" "]&&(i[r]=o.needsContext?ot(r,this).index(l)>-1:ot.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||J).documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[ot.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Ht.test(r)?this.mouseHooks:Lt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new ot.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];return t.target||(t.target=J),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==m()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===m()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ot.nodeName(this,"input"))return this.click(),!1},_default:function(t){return ot.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},ot.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},ot.Event=function(t,e){if(!(this instanceof ot.Event))return new ot.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?p:f):this.type=t,e&&ot.extend(this,e),this.timeStamp=t&&t.timeStamp||ot.now(),this[ot.expando]=!0},ot.Event.prototype={constructor:ot.Event,isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=p,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=p,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=p,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){ot.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||ot.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),ot.fn.extend({on:function(t,e,n,i){return g(this,t,e,n,i)},one:function(t,e,n,i){return g(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,ot(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=f),this.each((function(){ot.event.remove(this,t,n,e)}))}});var Yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Qt=/<script|<style|<link/i,Ut=/checked\s*(?:[^=]|=\s*.checked.)/i,zt=/^true\/(.*)/,qt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ot.extend({htmlPrefilter:function(t){return t.replace(Yt,"<$1></$2>")},clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),l=ot.contains(t.ownerDocument,t);if(!(it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ot.isXMLDoc(t)))for(a=u(s),i=0,r=(o=u(t)).length;i<r;i++)_(o[i],a[i]);if(e)if(n)for(o=o||u(t),a=a||u(s),i=0,r=o.length;i<r;i++)b(o[i],a[i]);else b(t,s);return(a=u(s,"script")).length>0&&d(a,!l&&u(t,"script")),s},
cleanData:function(t){for(var e,n,i,r=ot.event.special,o=0;void 0!==(n=t[o]);o++)if(Ct(n)){if(e=n[kt.expando]){if(e.events)for(i in e.events)r[i]?ot.event.remove(n,i):ot.removeEvent(n,i,e.handle);n[kt.expando]=void 0}n[At.expando]&&(n[At.expando]=void 0)}}}),ot.fn.extend({domManip:x,detach:function(t){return C(this,t,!0)},remove:function(t){return C(this,t)},text:function(t){return xt(this,(function(t){return void 0===t?ot.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return x(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||v(this,t).appendChild(t)}))},prepend:function(){return x(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=v(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return x(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return x(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(ot.cleanData(u(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return ot.clone(this,t,e)}))},html:function(t){return xt(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Qt.test(t)&&!Rt[(Ot.exec(t)||["",""])[1].toLowerCase()]){t=ot.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(ot.cleanData(u(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return x(this,arguments,(function(e){var n=this.parentNode;ot.inArray(this,t)<0&&(ot.cleanData(u(this)),n&&n.replaceChild(e,this))}),t)}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){ot.fn[t]=function(t){for(var n,i=[],r=ot(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),ot(r[a])[e](n),Z.apply(i,n.get());return this.pushStack(i)}}));var Wt,Gt={HTML:"block",BODY:"block"},Jt=/^margin/,Vt=new RegExp("^("+St+")(?!px)[a-z%]+$","i"),Kt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Zt=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in r=n.apply(t,i||[]),e)t.style[o]=a[o];return r},Xt=J.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Xt.appendChild(a);var e=t.getComputedStyle(s);n="1%"!==e.top,o="2px"===e.marginLeft,i="4px"===e.width,s.style.marginRight="50%",r="4px"===e.marginRight,Xt.removeChild(a)}var n,i,r,o,a=J.createElement("div"),s=J.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),ot.extend(it,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},pixelMarginRight:function(){return null==i&&e(),r},reliableMarginLeft:function(){return null==i&&e(),o},reliableMarginRight:function(){var e,n=s.appendChild(J.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",Xt.appendChild(a),e=!parseFloat(t.getComputedStyle(n).marginRight),Xt.removeChild(a),s.removeChild(n),e}}))}();var te=/^(none|table(?!-c[ea]).+)/,ee={position:"absolute",visibility:"hidden",display:"block"},ne={letterSpacing:"0",fontWeight:"400"},ie=["Webkit","O","Moz","ms"],re=J.createElement("div").style;ot.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=T(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=ot.camelCase(e),l=t.style;if(e=ot.cssProps[s]||(ot.cssProps[s]=S(s)||s),a=ot.cssHooks[e]||ot.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];"string"===(o=typeof n)&&(r=Et.exec(n))&&r[1]&&(n=c(t,e,r),o="number"),null!=n&&n==n&&("number"===o&&(n+=r&&r[3]||(ot.cssNumber[s]?"":"px")),it.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l[e]=n))}},css:function(t,e,n,i){var r,o,a,s=ot.camelCase(e);return e=ot.cssProps[s]||(ot.cssProps[s]=S(s)||s),(a=ot.cssHooks[e]||ot.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=T(t,e,i)),"normal"===r&&e in ne&&(r=ne[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),ot.each(["height","width"],(function(t,e){ot.cssHooks[e]={get:function(t,n,i){if(n)return te.test(ot.css(t,"display"))&&0===t.offsetWidth?Zt(t,ee,(function(){return M(t,e,i)})):M(t,e,i)},set:function(t,n,i){var r,o=i&&Kt(t),a=i&&I(t,e,i,"border-box"===ot.css(t,"boxSizing",!1,o),o);return a&&(r=Et.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=ot.css(t,e)),E(t,n,a)}}})),ot.cssHooks.marginLeft=D(it.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(T(t,"marginLeft"))||t.getBoundingClientRect().left-Zt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),ot.cssHooks.marginRight=D(it.reliableMarginRight,(function(t,e){if(e)return Zt(t,{display:"inline-block"},T,[t,"marginRight"])})),ot.each({margin:"",padding:"",border:"Width"},(function(t,e){ot.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+It[i]+e]=o[i]||o[i-2]||o[0];return r}},Jt.test(t)||(ot.cssHooks[t+e].set=E)})),ot.fn.extend({css:function(t,e){return xt(this,(function(t,e,n){var i,r,o={},a=0;if(ot.isArray(e)){for(i=Kt(t),r=e.length;a<r;a++)o[e[a]]=ot.css(t,e[a],!1,i);return o}return void 0!==n?ot.style(t,e,n):ot.css(t,e)}),t,e,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){Mt(this)?ot(this).show():ot(this).hide()}))}}),ot.Tween=O,O.prototype={constructor:O,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||ot.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var t=O.propHooks[this.prop];return t&&t.get?t.get(this):O.propHooks._default.get(this)},run:function(t){var e,n=O.propHooks[this.prop];return this.options.duration?this.pos=e=ot.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ot.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){ot.fx.step[t.prop]?ot.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ot.cssProps[t.prop]]&&!ot.cssHooks[t.prop]?t.elem[t.prop]=t.now:ot.style(t.elem,t.prop,t.now+t.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ot.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ot.fx=O.prototype.init,ot.fx.step={};var oe,ae,se=/^(?:toggle|show|hide)$/,le=/queueHooks$/;ot.Animation=ot.extend(L,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return c(n.elem,t,Et.exec(e),n),n}]},tweener:function(t,e){ot.isFunction(t)?(e=t,t=["*"]):t=t.match(_t);for(var n,i=0,r=t.length;i<r;i++)n=t[i],L.tweeners[n]=L.tweeners[n]||[],L.tweeners[n].unshift(e)},prefilters:[N],prefilter:function(t,e){e?L.prefilters.unshift(t):L.prefilters.push(t)}}),ot.speed=function(t,e,n){var i=t&&"object"==typeof t?ot.extend({},t):{complete:n||!n&&e||ot.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ot.isFunction(e)&&e};return i.duration=ot.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ot.fx.speeds?ot.fx.speeds[i.duration]:ot.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ot.isFunction(i.old)&&i.old.call(this),i.queue&&ot.dequeue(this,i.queue)},i},ot.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Mt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=ot.isEmptyObject(t),o=ot.speed(e,n,i),a=function(){var e=L(this,ot.extend({},t),o);(r||kt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=ot.timers,a=kt.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&le.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||ot.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=kt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=ot.timers,a=i?i.length:0;for(n.finish=!0,ot.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),ot.each(["toggle","show","hide"],(function(t,e){var n=ot.fn[e];ot.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(R(e,!0),t,i,r)}})),ot.each({slideDown:R("show"),slideUp:R("hide"),slideToggle:R("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){ot.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),ot.timers=[],ot.fx.tick=function(){var t,e=0,n=ot.timers;for(oe=ot.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||ot.fx.stop(),oe=void 0},ot.fx.timer=function(t){ot.timers.push(t),t()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){ae||(ae=t.setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){t.clearInterval(ae),ae=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(e,n){return e=ot.fx&&ot.fx.speeds[e]||e,n=n||"fx",this.queue(n,(function(n,i){var r=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(r)}}))},function(){var t=J.createElement("input"),e=J.createElement("select"),n=e.appendChild(J.createElement("option"));t.type="checkbox",it.checkOn=""!==t.value,it.optSelected=n.selected,e.disabled=!0,it.optDisabled=!n.disabled,(t=J.createElement("input")).value="t",t.type="radio",it.radioValue="t"===t.value}();var ce,ue=ot.expr.attrHandle;ot.fn.extend({attr:function(t,e){return xt(this,ot.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){ot.removeAttr(this,t)}))}}),ot.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?ot.prop(t,e,n):(1===o&&ot.isXMLDoc(t)||(e=e.toLowerCase(),r=ot.attrHooks[e]||(ot.expr.match.bool.test(e)?ce:void 0)),void 0!==n?null===n?void ot.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=ot.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&ot.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(_t);if(o&&1===t.nodeType)for(;n=o[r++];)i=ot.propFix[n]||n,ot.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)}}),ce={set:function(t,e,n){return!1===e?ot.removeAttr(t,n):t.setAttribute(n,n),n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ue[e]||ot.find.attr;ue[e]=function(t,e,i){var r,o;return i||(o=ue[e],ue[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,ue[e]=o),r}}));var de=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;ot.fn.extend({prop:function(t,e){return xt(this,ot.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[ot.propFix[t]||t]}))}}),ot.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ot.isXMLDoc(t)||(e=ot.propFix[e]||e,r=ot.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=ot.find.attr(t,"tabindex");return e?parseInt(e,10):de.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),it.optSelected||(ot.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){ot.propFix[this.toLowerCase()]=this}));var pe=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(ot.isFunction(t))return this.each((function(e){ot(this).addClass(t.call(this,e,H(this)))}));if("string"==typeof t&&t)for(e=t.match(_t)||[];n=this[l++];)if(r=H(n),i=1===n.nodeType&&(" "+r+" ").replace(pe," ")){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=ot.trim(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(ot.isFunction(t))return this.each((function(e){ot(this).removeClass(t.call(this,e,H(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(_t)||[];n=this[l++];)if(r=H(n),i=1===n.nodeType&&(" "+r+" ").replace(pe," ")){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=ot.trim(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):ot.isFunction(t)?this.each((function(n){ot(this).toggleClass(t.call(this,n,H(this),e),e)})):this.each((function(){var e,i,r,o;if("string"===n)for(i=0,r=ot(this),o=t.match(_t)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||((e=H(this))&&kt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":kt.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+H(n)+" ").replace(pe," ").indexOf(e)>-1)return!0;return!1}});var fe=/\r/g,me=/[\x20\t\r\n\f]+/g;ot.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=ot.isFunction(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,ot(this).val()):t)?r="":"number"==typeof r?r+="":ot.isArray(r)&&(r=ot.map(r,(function(t){return null==t?"":t+""}))),(e=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=ot.valHooks[r.type]||ot.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(fe,""):null==n?"":n:void 0}}),ot.extend({valHooks:{option:{get:function(t){var e=ot.find.attr(t,"value");return null!=e?e:ot.trim(ot.text(t)).replace(me," ")}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l<s;l++)if(((n=i[l]).selected||l===r)&&(it.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ot.nodeName(n.parentNode,"optgroup"))){if(e=ot(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=ot.makeArray(e),a=r.length;a--;)((i=r[a]).selected=ot.inArray(ot.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],(function(){ot.valHooks[this]={set:function(t,e){if(ot.isArray(e))return t.checked=ot.inArray(ot(t).val(),e)>-1}},it.checkOn||(ot.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var ge=/^(?:focusinfocus|focusoutblur)$/;ot.extend(ot.event,{trigger:function(e,n,i,r){var o,a,s,l,c,u,d,h=[i||J],p=nt.call(e,"type")?e.type:e,f=nt.call(e,"namespace")?e.namespace.split("."):[];if(a=s=i=i||J,3!==i.nodeType&&8!==i.nodeType&&!ge.test(p+ot.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),c=p.indexOf(":")<0&&"on"+p,(e=e[ot.expando]?e:new ot.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:ot.makeArray(n,[e]),d=ot.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(i,n))){if(!r&&!d.noBubble&&!ot.isWindow(i)){for(l=d.delegateType||p,ge.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(i.ownerDocument||J)&&h.push(s.defaultView||s.parentWindow||t)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)e.type=o>1?l:d.bindType||p,(u=(kt.get(a,"events")||{})[e.type]&&kt.get(a,"handle"))&&u.apply(a,n),(u=c&&a[c])&&u.apply&&Ct(a)&&(e.result=u.apply(a,n),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),n)||!Ct(i)||c&&ot.isFunction(i[p])&&!ot.isWindow(i)&&((s=i[c])&&(i[c]=null),ot.event.triggered=p,i[p](),ot.event.triggered=void 0,s&&(i[c]=s)),e.result}},simulate:function(t,e,n){var i=ot.extend(new ot.Event,n,{type:t,isSimulated:!0});ot.event.trigger(i,null,e)}}),ot.fn.extend({trigger:function(t,e){return this.each((function(){ot.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return ot.event.trigger(t,e,n,!0)}}),ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(t,e){ot.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}})),ot.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),it.focusin="onfocusin"in t,it.focusin||ot.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){ot.event.simulate(e,t.target,ot.event.fix(t))};ot.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=kt.access(i,e);r||i.addEventListener(t,n,!0),kt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=kt.access(i,e)-1;r?kt.access(i,e,r):(i.removeEventListener(t,n,!0),kt.remove(i,e))}}}));var ve=t.location,ye=ot.now(),we=/\?/;ot.parseJSON=function(t){return JSON.parse(t+"")},ot.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+e),n};var be=/#.*$/,_e=/([?&])_=[^&]*/,xe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ce=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ke=/^(?:GET|HEAD)$/,Ae=/^\/\//,Te={},De={},Se="*/".concat("*"),Ee=J.createElement("a");Ee.href=ve.href,ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ve.href,type:"GET",isLocal:Ce.test(ve.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Se,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Q(Q(t,ot.ajaxSettings),e):Q(ot.ajaxSettings,t)},ajaxPrefilter:F(Te),ajaxTransport:F(De),ajax:function(e,n){function i(e,n,i,s){var c,d,y,w,_,C=n;2!==b&&(b=2,l&&t.clearTimeout(l),r=void 0,a=s||"",x.readyState=e>0?4:0,c=e>=200&&e<300||304===e,i&&(w=U(h,x,i)),w=z(h,w,x,c),c?(h.ifModified&&((_=x.getResponseHeader("Last-Modified"))&&(ot.lastModified[o]=_),(_=x.getResponseHeader("etag"))&&(ot.etag[o]=_)),204===e||"HEAD"===h.type?C="nocontent":304===e?C="notmodified":(C=w.state,d=w.data,c=!(y=w.error))):(y=C,!e&&C||(C="error",e<0&&(e=0))),x.status=e,x.statusText=(n||C)+"",c?m.resolveWith(p,[d,C,x]):m.rejectWith(p,[x,C,y]),x.statusCode(v),v=void 0,u&&f.trigger(c?"ajaxSuccess":"ajaxError",[x,h,c?d:y]),g.fireWith(p,[x,C]),u&&(f.trigger("ajaxComplete",[x,h]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var r,o,a,s,l,c,u,d,h=ot.ajaxSetup({},n),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?ot(p):ot.event,m=ot.Deferred(),g=ot.Callbacks("once memory"),v=h.statusCode||{},y={},w={},b=0,_="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!s)for(s={};e=xe.exec(a);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=w[n]=w[n]||t,y[t]=e),this},overrideMimeType:function(t){return b||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(b<2)for(e in t)v[e]=[v[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||_;return r&&r.abort(e),i(0,e),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,h.url=((e||h.url||ve.href)+"").replace(be,"").replace(Ae,ve.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=ot.trim(h.dataType||"*").toLowerCase().match(_t)||[""],null==h.crossDomain){c=J.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ee.protocol+"//"+Ee.host!=c.protocol+"//"+c.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ot.param(h.data,h.traditional)),Y(Te,h,n,x),2===b)return x;for(d in(u=ot.event&&h.global)&&0==ot.active++&&ot.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!ke.test(h.type),o=h.url,h.hasContent||(h.data&&(o=h.url+=(we.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=_e.test(o)?o.replace(_e,"$1_="+ye++):o+(we.test(o)?"&":"?")+"_="+ye++)),h.ifModified&&(ot.lastModified[o]&&x.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&x.setRequestHeader("If-None-Match",ot.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Se+"; q=0.01":""):h.accepts["*"]),h.headers)x.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,x,h)||2===b))return x.abort();for(d in _="abort",{success:1,error:1,complete:1})x[d](h[d]);if(r=Y(De,h,n,x)){if(x.readyState=1,u&&f.trigger("ajaxSend",[x,h]),2===b)return x;h.async&&h.timeout>0&&(l=t.setTimeout((function(){x.abort("timeout")}),h.timeout));try{b=1,r.send(y,i)}catch(t){if(!(b<2))throw t;i(-1,t)}}else i(-1,"No Transport");return x},getJSON:function(t,e,n){return ot.get(t,e,n,"json")},getScript:function(t,e){return ot.get(t,void 0,e,"script")}}),ot.each(["get","post"],(function(t,e){ot[e]=function(t,n,i,r){return ot.isFunction(n)&&(r=r||i,i=n,n=void 0),ot.ajax(ot.extend({url:t,type:e,dataType:r,data:n,success:i},ot.isPlainObject(t)&&t))}})),ot._evalUrl=function(t){return ot.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ot.fn.extend({wrapAll:function(t){var e;return ot.isFunction(t)?this.each((function(e){ot(this).wrapAll(t.call(this,e))})):(this[0]&&(e=ot(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this)},wrapInner:function(t){return ot.isFunction(t)?this.each((function(e){ot(this).wrapInner(t.call(this,e))})):this.each((function(){var e=ot(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=ot.isFunction(t);return this.each((function(n){ot(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(){return this.parent().each((function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)})).end()}}),ot.expr.filters.hidden=function(t){return!ot.expr.filters.visible(t)},ot.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var Ie=/%20/g,Me=/\[\]$/,je=/\r?\n/g,Oe=/^(?:submit|button|image|reset|file)$/i,$e=/^(?:input|select|textarea|keygen)/i;ot.param=function(t,e){var n,i=[],r=function(t,e){e=ot.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(t)||t.jquery&&!ot.isPlainObject(t))ot.each(t,(function(){r(this.name,this.value)}));else for(n in t)q(n,t[n],e,r);return i.join("&").replace(Ie,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=ot.prop(this,"elements");return t?ot.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!ot(this).is(":disabled")&&$e.test(this.nodeName)&&!Oe.test(t)&&(this.checked||!jt.test(t))})).map((function(t,e){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,(function(t){return{name:e.name,value:t.replace(je,"\r\n")}})):{name:e.name,value:n.replace(je,"\r\n")}})).get()}}),ot.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Re={0:200,1223:204},Be=ot.ajaxSettings.xhr();it.cors=!!Be&&"withCredentials"in Be,it.ajax=Be=!!Be,ot.ajaxTransport((function(e){var n,i;if(it.cors||Be&&!e.crossDomain)return{send:function(r,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);n=function(t){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Re[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&t.setTimeout((function(){n&&i()}))},n=n("abort");try{s.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}})),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ot.globalEval(t),t}}}),ot.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),ot.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain)return{send:function(i,r){e=ot("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),J.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ne=[],Pe=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ne.pop()||ot.expando+"_"+ye++;return this[t]=!0,t}}),ot.ajaxPrefilter("json jsonp",(function(e,n,i){var r,o,a,s=!1!==e.jsonp&&(Pe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Pe.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ot.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Pe,"$1"+r):!1!==e.jsonp&&(e.url+=(we.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||ot.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},i.always((function(){void 0===o?ot(t).removeProp(r):t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ne.push(r)),a&&ot.isFunction(o)&&o(a[0]),a=o=void 0})),"script"})),ot.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||J;var i=ft.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=h([t],e,r),r&&r.length&&ot(r).remove(),ot.merge([],i.childNodes))};var Le=ot.fn.load;ot.fn.load=function(t,e,n){if("string"!=typeof t&&Le)return Le.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=ot.trim(t.slice(s)),t=t.slice(0,s)),ot.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&ot.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,a.html(i?ot("<div>").append(ot.parseHTML(t)).find(i):t)})).always(n&&function(t,e){a.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){ot.fn[e]=function(t){return this.on(e,t)}})),ot.expr.filters.animated=function(t){return ot.grep(ot.timers,(function(e){return t===e.elem})).length},ot.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,c=ot.css(t,"position"),u=ot(t),d={};"static"===c&&(t.style.position="relative"),s=u.offset(),o=ot.css(t,"top"),l=ot.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(i=u.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),ot.isFunction(e)&&(e=e.call(t,n,ot.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+r),"using"in e?e.using.call(t,d):u.css(d)}},ot.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){ot.offset.setOffset(this,t,e)}));var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;return o?(e=o.documentElement,ot.contains(e,i)?(r=i.getBoundingClientRect(),n=W(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===ot.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ot.nodeName(t[0],"html")||(i=t.offset()),i.top+=ot.css(t[0],"borderTopWidth",!0),i.left+=ot.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-ot.css(n,"marginTop",!0),left:e.left-i.left-ot.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===ot.css(t,"position");)t=t.offsetParent;return t||Xt}))}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;ot.fn[t]=function(i){return xt(this,(function(t,i,r){var o=W(t);if(void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),ot.each(["top","left"],(function(t,e){ot.cssHooks[e]=D(it.pixelPosition,(function(t,n){if(n)return n=T(t,e),Vt.test(n)?ot(t).position()[e]+"px":n}))})),ot.each({Height:"height",Width:"width"},(function(t,e){ot.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){ot.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===r?"margin":"border");return xt(this,(function(e,n,i){var r;return ot.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?ot.css(e,n,a):ot.style(e,n,i,a)}),e,o?i:void 0,o,null)}}))})),ot.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return ot}));var He=t.jQuery,Fe=t.$;return ot.noConflict=function(e){return t.$===ot&&(t.$=Fe),e&&t.jQuery===ot&&(t.jQuery=He),ot},e||(t.jQuery=t.$=ot),ot})),function(t,e){"use strict";var n;t.rails!==e&&t.error("jquery-ujs has already been loaded!");var i=t(document);t.rails=n={
linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return t("meta[name=csrf-token]").attr("content")},csrfParam:function(){return t("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=n.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){t('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(e,n,i){var r=t.Event(n);return e.trigger(r,i),!1!==r.result},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==e&&!1!==t.data("remote")},handleRemote:function(i){var r,o,a,s,l,c;if(n.fire(i,"ajax:before")){if(s=i.data("with-credentials")||null,l=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){r=i.data("ujs:submit-button-formmethod")||i.attr("method"),o=i.data("ujs:submit-button-formaction")||i.attr("action"),a=t(i[0]).serializeArray();var u=i.data("ujs:submit-button");u&&(a.push(u),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(n.inputChangeSelector)?(r=i.data("method"),o=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(r=i.data("method")||"get",o=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):(r=i.data("method"),o=n.href(i),a=i.data("params")||null);return c={type:r||"GET",data:a,dataType:l,beforeSend:function(t,r){if(r.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),!n.fire(i,"ajax:beforeSend",[t,r]))return!1;i.trigger("ajax:send",t)},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(o)},s&&(c.xhrFields={withCredentials:s}),o&&(c.url=o),n.ajax(c)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(t){return!0}},handleMethod:function(i){var r=n.href(i),o=i.data("method"),a=i.attr("target"),s=n.csrfToken(),l=n.csrfParam(),c=t('<form method="post" action="'+r+'"></form>'),u='<input name="_method" value="'+o+'" type="hidden" />';l===e||s===e||n.isCrossDomain(r)||(u+='<input name="'+l+'" value="'+s+'" type="hidden" />'),a&&c.attr("target",a),c.hide().append(u).appendTo("body"),c.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each((function(){n.disableFormElement(t(this))}))},disableFormElement:function(t){var n,i;n=t.is("button")?"html":"val",(i=t.data("disable-with"))!==e&&(t.data("ujs:enable-with",t[n]()),t[n](i)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each((function(){n.enableFormElement(t(this))}))},enableFormElement:function(t){var n=t.is("button")?"html":"val";t.data("ujs:enable-with")!==e&&(t[n](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,i=t.data("confirm"),r=!1;if(!i)return!0;if(n.fire(t,"confirm")){try{r=n.confirm(i)}catch(t){(console.error||console.log).call(console,t.stack||t)}e=n.fire(t,"confirm:complete",[r])}return r&&e},blankInputs:function(e,n,i){var r,o,a,s=t(),l=n||"input,textarea",c=e.find(l),u={};return c.each((function(){(r=t(this)).is("input[type=radio]")?(a=r.attr("name"),u[a]||(0===e.find('input[type=radio]:checked[name="'+a+'"]').length&&(o=e.find('input[type=radio][name="'+a+'"]'),s=s.add(o)),u[a]=a)):(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):!!r.val())===i&&(s=s.add(r))})),!!s.length&&s},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var i=t.data("disable-with");i!==e&&(t.data("ujs:enable-with",t.html()),t.html(i)),t.bind("click.railsDisable",(function(t){return n.stopEverything(t)})),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable"),t.removeData("ujs:disabled")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter((function(t,e,i){t.crossDomain||n.CSRFProtection(i)})),t(window).on("pageshow.rails",(function(){t(t.rails.enableSelector).each((function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableFormElement(e)})),t(t.rails.linkDisableSelector).each((function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableElement(e)}))})),i.on("ajax:complete",n.linkDisableSelector,(function(){n.enableElement(t(this))})),i.on("ajax:complete",n.buttonDisableSelector,(function(){n.enableFormElement(t(this))})),i.on("click.rails",n.linkClickSelector,(function(e){var i=t(this),r=i.data("method"),o=i.data("params"),a=e.metaKey||e.ctrlKey;if(!n.allowAction(i))return n.stopEverything(e);if(!a&&i.is(n.linkDisableSelector)&&n.disableElement(i),n.isRemote(i)){if(a&&(!r||"GET"===r)&&!o)return!0;var s=n.handleRemote(i);return!1===s?n.enableElement(i):s.fail((function(){n.enableElement(i)})),!1}return r?(n.handleMethod(i),!1):void 0})),i.on("click.rails",n.buttonClickSelector,(function(e){var i=t(this);if(!n.allowAction(i)||!n.isRemote(i))return n.stopEverything(e);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var r=n.handleRemote(i);return!1===r?n.enableFormElement(i):r.fail((function(){n.enableFormElement(i)})),!1})),i.on("change.rails",n.inputChangeSelector,(function(e){var i=t(this);return n.allowAction(i)&&n.isRemote(i)?(n.handleRemote(i),!1):n.stopEverything(e)})),i.on("submit.rails",n.formSubmitSelector,(function(i){var r,o,a=t(this),s=n.isRemote(a);if(!n.allowAction(a))return n.stopEverything(i);if(a.attr("novalidate")===e)if(a.data("ujs:formnovalidate-button")===e){if((r=n.blankInputs(a,n.requiredInputSelector,!1))&&n.fire(a,"ajax:aborted:required",[r]))return n.stopEverything(i)}else a.data("ujs:formnovalidate-button",e);if(s){if(o=n.nonBlankInputs(a,n.fileInputSelector)){setTimeout((function(){n.disableFormElements(a)}),13);var l=n.fire(a,"ajax:aborted:file",[o]);return l||setTimeout((function(){n.enableFormElements(a)}),13),l}return n.handleRemote(a),!1}setTimeout((function(){n.disableFormElements(a)}),13)})),i.on("click.rails",n.formInputClickSelector,(function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var r=i.attr("name"),o=r?{name:r,value:i.val()}:null,a=i.closest("form");0===a.length&&(a=t("#"+i.attr("form"))),a.data("ujs:submit-button",o),a.data("ujs:formnovalidate-button",i.attr("formnovalidate")),a.data("ujs:submit-button-formaction",i.attr("formaction")),a.data("ujs:submit-button-formmethod",i.attr("formmethod"))})),i.on("ajax:send.rails",n.formSubmitSelector,(function(e){this===e.target&&n.disableFormElements(t(this))})),i.on("ajax:complete.rails",n.formSubmitSelector,(function(e){this===e.target&&n.enableFormElements(t(this))})),t((function(){n.refreshCSRFTokens()})))}(jQuery),function(t,e,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(e,n):t[e]=n()}(this,"bowser",(function(){function t(t){function e(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function n(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}function i(t){switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var r,o=e(/(ipod|iphone|ipad)/i).toLowerCase(),s=!/like android/i.test(t)&&/android/i.test(t),l=/nexus\s*[0-6]\s*/i.test(t),c=!l&&/nexus\s*[0-9]+/i.test(t),u=/CrOS/.test(t),d=/silk/i.test(t),h=/sailfish/i.test(t),p=/tizen/i.test(t),f=/(web|hpw)os/i.test(t),m=/windows phone/i.test(t),g=(/SamsungBrowser/i.test(t),!m&&/windows/i.test(t)),v=!o&&!d&&/macintosh/i.test(t),y=!s&&!h&&!p&&!f&&/linux/i.test(t),w=e(/edge\/(\d+(\.\d+)?)/i),b=e(/version\/(\d+(\.\d+)?)/i),_=/tablet/i.test(t)&&!/tablet pc/i.test(t),x=!_&&/[^-]mobi/i.test(t),C=/xbox/i.test(t);/opera/i.test(t)?r={name:"Opera",opera:a,version:b||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(t)?r={name:"Opera",opera:a,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||b}:/SamsungBrowser/i.test(t)?r={name:"Samsung Internet for Android",samsungBrowser:a,version:b||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(t)?r={name:"Opera Coast",coast:a,version:b||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(t)?r={name:"Yandex Browser",yandexbrowser:a,version:b||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?r={name:"UC Browser",ucbrowser:a,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?r={name:"Maxthon",maxthon:a,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?r={name:"Epiphany",epiphany:a,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?r={name:"Puffin",puffin:a,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?r={name:"Sleipnir",sleipnir:a,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?r={name:"K-Meleon",kMeleon:a,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(r={name:"Windows Phone",windowsphone:a},w?(r.msedge=a,r.version=w):(r.msie=a,r.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?r={name:"Internet Explorer",msie:a,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?r={name:"Chrome",chromeos:a,chromeBook:a,chrome:a,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(t)?r={name:"Microsoft Edge",msedge:a,version:w}:/vivaldi/i.test(t)?r={name:"Vivaldi",vivaldi:a,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||b}:h?r={name:"Sailfish",sailfish:a,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?r={name:"SeaMonkey",seamonkey:a,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(r={name:"Firefox",firefox:a,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(r.firefoxos=a)):d?r={name:"Amazon Silk",silk:a,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?r={name:"PhantomJS",phantom:a,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?r={name:"SlimerJS",slimer:a,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?r={name:"BlackBerry",blackberry:a,version:b||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(r={name:"WebOS",webos:a,version:b||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(r.touchpad=a)):/bada/i.test(t)?r={name:"Bada",bada:a,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:p?r={name:"Tizen",tizen:a,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||b}:/qupzilla/i.test(t)?r={name:"QupZilla",qupzilla:a,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||b}:/chromium/i.test(t)?r={name:"Chromium",chromium:a,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||b}:/chrome|crios|crmo/i.test(t)?r={name:"Chrome",chrome:a,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?r={name:"Android",version:b}:/safari|applewebkit/i.test(t)?(r={name:"Safari",safari:a},b&&(r.version=b)):o?(r={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},b&&(r.version=b)):r=/googlebot/i.test(t)?{name:"Googlebot",googlebot:a,version:e(/googlebot\/(\d+(\.\d+))/i)||b}:{name:e(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!r.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(r.name=r.name||"Blink",r.blink=a):(r.name=r.name||"Webkit",r.webkit=a),!r.version&&b&&(r.version=b)):!r.opera&&/gecko\//i.test(t)&&(r.name=r.name||"Gecko",r.gecko=a,r.version=r.version||e(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||r.msedge||!s&&!r.silk?r.windowsphone||r.msedge||!o?v?r.mac=a:C?r.xbox=a:g?r.windows=a:y&&(r.linux=a):(r[o]=a,r.ios=a):r.android=a;var k="";r.windows?k=i(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):r.windowsphone?k=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):r.mac?k=(k=e(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):o?k=(k=e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):s?k=e(/android[ \/-](\d+(\.\d+)*)/i):r.webos?k=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?k=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?k=e(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(k=e(/tizen[\/\s](\d+(\.\d+)*)/i)),k&&(r.osversion=k);var A=!r.windows&&k.split(".")[0];return _||c||"ipad"==o||s&&(3==A||A>=4&&!x)||r.silk?r.tablet=a:(x||"iphone"==o||"ipod"==o||s||l||r.blackberry||r.webos||r.bada)&&(r.mobile=a),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=a:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=a:r.x=a,r}function e(t){return t.split(".").length}function n(t,e){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n++)i.push(e(t[n]));return i}function i(t){for(var i=Math.max(e(t[0]),e(t[1])),r=n(t,(function(t){var r=i-e(t);return n((t+=new Array(r+1).join(".0")).split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));--i>=0;){if(r[0][i]>r[1][i])return 1;if(r[0][i]!==r[1][i])return-1;if(0===i)return 0}}function r(e,n,r){var o=s;"string"==typeof n&&(r=n,n=void 0),void 0===n&&(n=!1),r&&(o=t(r));var a=""+o.version;for(var l in e)if(e.hasOwnProperty(l)&&o[l]){if("string"!=typeof e[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(e));return i([a,e[l]])<0}return n}function o(t,e,n){return!r(t,e,n)}var a=!0,s=t("undefined"!=typeof navigator&&navigator.userAgent||"");return s.test=function(t){for(var e=0;e<t.length;++e){var n=t[e];if("string"==typeof n&&n in s)return!0}return!1},s.isUnsupportedBrowser=r,s.compareVersions=i,s.check=o,s._detect=t,s})),(bowser.safari&&bowser.version<5||bowser.msie&&bowser.version<9||bowser.firefox&&bowser.version<15||bowser.opera&&bowser.version<12)&&jQuery((function(t){t("#global-alerts, #browser-outdated").css("display","block")})),function(t,e){function n(t,e){return typeof t===e}function i(){var t,e,i,r,o,l;for(var u in s)if(s.hasOwnProperty(u)){if(t=[],(e=s[u]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i<e.options.aliases.length;i++)t.push(e.options.aliases[i].toLowerCase());for(r=n(e.fn,"function")?e.fn():e.fn,o=0;o<t.length;o++)1===(l=t[o].split(".")).length?c[l[0]]=r:(!c[l[0]]||c[l[0]]instanceof Boolean||(c[l[0]]=new Boolean(c[l[0]])),c[l[0]][l[1]]=r),a.push((r?"":"no-")+l.join("-"))}}function r(t){var e=u.className,n=c._config.classPrefix||"";if(d&&(e=e.baseVal),c._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");e=e.replace(i,"$1"+n+"js$2")}c._config.enableClasses&&(e+=" "+n+t.join(" "+n),d?u.className.baseVal=e:u.className=e)}function o(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):d?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}var a=[],s=[],l={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var n=this;setTimeout((function(){e(n[t])}),0)},addTest:function(t,e,n){s.push({name:t,fn:e,options:n})},addAsyncTest:function(t){s.push({name:null,fn:t})}},c=function(){};c.prototype=l,c=new c;var u=e.documentElement,d="svg"===u.nodeName.toLowerCase();c.addTest("canvas",(function(){var t=o("canvas");return!(!t.getContext||!t.getContext("2d"))})),c.addTest("canvastext",(function(){return!1!==c.canvas&&"function"==typeof o("canvas").getContext("2d").fillText})),i(),r(a),delete l.addTest,delete l.addAsyncTest;for(var h=0;h<c._q.length;h++)c._q[h]();t.Modernizr=c}(window,document),function(t){"use strict";function e(e){return this.each((function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,o)),"string"==typeof e&&r[e]()}))}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.6",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+a<=t-i)&&"bottom";var s=null==this.affixed,l=s?r:o.top;return null!=n&&r<=n?"top":null!=i&&l+(s?a:e)>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,o=i.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var s=this.getState(a,e,r,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-o})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)}))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)}))}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){a.detach().trigger("closed.bs.alert").remove()}var r=t(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var a=t(o);e&&e.preventDefault(),a.length||(a=r.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,o)),"toggle"==e?r.toggle():e&&r.setState(e)}))}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy((function(){i[r](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))}),this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:o.slide;r||i.data("bs.carousel",r=new n(this,o)),"number"==typeof e?r.to(e):a?r[a]():o.interval&&r.pause().cycle()}))}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),o=i||this.getItemForDirection(e,r),a=this.interval,s="next"==e?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,r.addClass(s),o.addClass(s),r.one("bsTransitionEnd",(function(){o.removeClass([e,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(h)}),0)})).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),o=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=t.extend({},o.data(),r.data()),s=r.attr("data-slide-to");s&&(a.interval=!1),e.call(o,a),s&&o.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var n=t(this);e.call(n,n.data())}))}))}(jQuery),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each((function(){var n=t(this),r=n.data("bs.collapse"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),r||n.data("bs.collapse",r=new i(this,o)),"string"==typeof e&&r[e]()}))}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.6",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"))&&e.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)}),this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var o=e(r),a=o.data("bs.collapse")?"toggle":r.data();n.call(o,a)}))}(jQuery),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(r).remove(),t(o).each((function(){var i=t(this),r=e(i),o={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))})))}function i(e){return this.each((function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)}))}var r=".dropdown-backdrop",o='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.6",a.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=e(r),a=o.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=e(i),a=r.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&r.find(o).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=r.find(".dropdown-menu"+s);if(l.length){var c=l.index(n.target);38==n.which&&c>0&&c--,40==n.which&&c<l.length-1&&c++,~c||(c=0),l.eq(c).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",o,a.prototype.toggle).on("keydown.bs.dropdown.data-api",o,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,i){return this.each((function(){var r=t(this),o=r.data("bs.modal"),a=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e)
;o||r.data("bs.modal",o=new n(this,a)),"string"==typeof e?o[e](i):a.show&&o.show(i)}))}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){i.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",(function(){i.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)})))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(n){var i=t(this),r=i.attr("href"),o=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},o.data(),i.data());i.is("a")&&n.preventDefault(),o.one("show.bs.modal",(function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",(function(){i.is(":visible")&&i.trigger("focus")}))})),e.call(o,a,this)}))}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()}))}e.VERSION="3.3.6",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),r=e.data("target")||e.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,r]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)a!=o[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()}))}var n=function(e){this.element=t(e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),e.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=t(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),(function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}}},n.prototype.activate=function(e,i,r){function o(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var a=i.find("> .active"),s=r&&t.support.transition&&(a.length&&a.hasClass("fade")||!!i.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),a.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;return t(this).one("bsTransitionEnd",(function(){n=!0})),setTimeout((function(){n||t(i).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.tooltip",r=new n(this,o)),"string"==typeof e&&r[e]())}))}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.6",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,i){n[t]!=i&&(e[t]=i)})),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var r=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(c){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+h>f.bottom?"top":"top"==s&&u.top-h<f.top?"bottom":"right"==s&&u.right+d>f.width?"left":"left"==s&&u.left-d<f.left?"right":s,o.removeClass(p).addClass(s)}var m=this.getCalculatedOffset(s,u,d,h);this.applyPlacement(m,s);var g=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top+=a,e.left+=s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=o&&(e.top=e.top+o-c);var u=this.getViewportAdjustedDelta(n,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var d=/top|bottom/.test(n),h=d?2*u.left-r+l:2*u.top-o+c,p=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][p],d)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=r.hoverState&&o.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,o=t(this.$tip),a=t.Event("hide.bs."+this.type);if(this.$element.trigger(a),!a.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=i?{top:0,left:0}:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,a,s,o)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,l=e.top+o-a.scroll+i;s<a.top?r.top=a.top-s:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var c=e.left-o,u=e.left+o+n;c<a.left?r.left=a.left-c:u>a.right&&(r.left=a.left+a.width-u)}return r},n.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},n.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null}))};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||i.data("bs.popover",r=new n(this,o)),"string"==typeof e&&r[e]())}))}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.6",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t,e){function n(t,e,n){var i=t.children(),r=!1;t.empty();for(var a=0,s=i.length;a<s;a++){var l=i.eq(a);if(t.append(l),n&&t.append(n),o(t,e)){l.remove(),r=!0;break}n&&n.detach()}return r}function i(e,n,a,s,l){var c=e.contents(),u=!1;e.empty();for(var d="table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",h=0,p=c.length;h<p&&!u;h++){var f=c[h],m=t(f);void 0===f||3==f.nodeType&&0==t.trim(f.data).length||(e.append(m),l&&e[e.is(d)?"after":"append"](l),o(a,s)&&((u=3==f.nodeType?r(m,n,a,s,l):i(m,n,a,s,l))||(m.remove(),u=!0)),u||l&&l.detach())}return u}function r(e,n,i,r,s){var u=e[0];if(!u)return!1;for(var h=c(u),p=-1!==h.indexOf(" ")?" ":"\u3000",f="letter"==r.wrap?"":p,m=h.split(f),g=-1,v=-1,y=0,w=m.length-1;y<=w&&(0!=y||0!=w);){var b=Math.floor((y+w)/2);if(b==v)break;v=b,l(u,m.slice(0,v+1).join(f)+r.ellipsis),o(i,r)?w=v:(g=v,y=v),w==y&&0==w&&r.fallbackToLetter&&(f="",g=-1,v=-1,y=0,w=(m=m[0].split(f)).length-1)}if(-1==g||1==m.length&&0==m[0].length){var _=e.parent();e.remove();var x=s&&s.closest(_).length?s.length:0;_.contents().length>x?u=d(_.contents().eq(-1-x),n):(u=d(_,n,!0),x||_.remove()),u&&(l(u,h=a(c(u),r)),x&&s&&t(u).parent().append(s))}else l(u,h=a(m.slice(0,g+1).join(f),r));return!0}function o(t,e){return t.innerHeight()>e.maxHeight}function a(e,n){for(;t.inArray(e.slice(-1),n.lastCharacter.remove)>-1;)e=e.slice(0,-1);return t.inArray(e.slice(-1),n.lastCharacter.noEllipsis)<0&&(e+=n.ellipsis),e}function s(t){return{width:t.innerWidth(),height:t.innerHeight()}}function l(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue=e:t.textContent&&(t.textContent=e)}function c(t){return t.innerText?t.innerText:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function u(t){do{t=t.previousSibling}while(t&&1!==t.nodeType&&3!==t.nodeType);return t}function d(e,n,i){var r,o=e&&e[0];if(o){if(!i){if(3===o.nodeType)return o;if(t.trim(e.text()))return d(e.contents().last(),n)}for(r=u(o);!r;){if((e=e.parent()).is(n)||!e.length)return!1;r=u(e[0])}if(r)return d(t(r),n)}return!1}function h(e,n){return!!e&&("string"==typeof e?!!(e=t(e,n)).length&&e:!!e.jquery&&e)}function p(t){for(var e=t.innerHeight(),n=["paddingTop","paddingBottom"],i=0,r=n.length;i<r;i++){var o=parseInt(t.css(n[i]),10);isNaN(o)&&(o=0),e-=o}return e}function f(t,e){return!!t&&(e="string"==typeof e?"dotdotdot: "+e:["dotdotdot:",e],void 0!==window.console&&void 0!==window.console.log&&window.console.log(e),!1)}if(!t.fn.dotdotdot){t.fn.dotdotdot=function(e){if(0==this.length)return e&&!1===e.debug||f(!0,'No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each((function(){t(this).dotdotdot(e)}));var r=this;r.data("dotdotdot")&&r.trigger("destroy.dot"),r.data("dotdotdot-style",r.attr("style")),r.css("word-wrap","break-word"),"nowrap"===r.css("white-space")&&r.css("white-space","normal"),r.bind_events=function(){return r.bind("update.dot",(function(e,s){e.preventDefault(),e.stopPropagation(),l.maxHeight="number"==typeof l.height?l.height:p(r),l.maxHeight+=l.tolerance,void 0!==s&&(("string"==typeof s||s instanceof HTMLElement)&&(s=t("<div />").append(s).contents()),s instanceof t&&(a=s)),(g=r.wrapInner('<div class="dotdotdot" />').children()).empty().append(a.clone(!0)).find("br").replaceWith("  <br />  ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var u=!1,d=!1;return c.afterElement&&(u=c.afterElement.clone(!0),c.afterElement.remove()),o(g,l)&&(d="children"==l.wrap?n(g,l,u):i(g,r,g,l,u)),g.replaceWith(g.contents()),g=null,t.isFunction(l.callback)&&l.callback.call(r[0],d,a),c.isTruncated=d,d})).bind("isTruncated.dot",(function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(r[0],c.isTruncated),c.isTruncated})).bind("originalContent.dot",(function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(r[0],a),a})).bind("destroy.dot",(function(t){t.preventDefault(),t.stopPropagation(),r.unwatch().unbind_events().empty().append(a).attr("style",r.data("dotdotdot-style")).data("dotdotdot",!1)})),r},r.unbind_events=function(){return r.unbind(".dot"),r},r.watch=function(){if(r.unwatch(),"window"==l.watch){var e=t(window),n=e.width(),i=e.height();e.bind("resize.dot"+c.dotId,(function(){n==e.width()&&i==e.height()&&l.windowResizeFix||(n=e.width(),i=e.height(),d&&clearInterval(d),d=setTimeout((function(){r.trigger("update.dot")}),10))}))}else u=s(r),d=setInterval((function(){var t=s(r);u.width==t.width&&u.height==t.height||(r.trigger("update.dot"),u=s(r))}),100);return r},r.unwatch=function(){return t(window).unbind("resize.dot"+c.dotId),d&&clearInterval(d),r};var a=r.contents(),l=t.extend(!0,{},t.fn.dotdotdot.defaults,e),c={},u={},d=null,g=null;return l.lastCharacter.remove instanceof Array||(l.lastCharacter.remove=t.fn.dotdotdot.defaultArrays.lastCharacter.remove),l.lastCharacter.noEllipsis instanceof Array||(l.lastCharacter.noEllipsis=t.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),c.afterElement=h(l.after,r),c.isTruncated=!1,c.dotId=m++,r.data("dotdotdot",!0).bind_events().trigger("update.dot"),l.watch&&r.watch(),r},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0,debug:!1},t.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" ","\u3000",",",";",".","!","?"],noEllipsis:[]}};var m=1,g=t.fn.html;t.fn.html=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):g.apply(this,arguments)};var v=t.fn.text;t.fn.text=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?(n=t("<div />").text(n).html(),this.trigger("update",[n])):v.apply(this,arguments)}}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){function e(){var e,n,i={height:c.innerHeight,width:c.innerWidth};return i.height||((e=l.compatMode)||!t.support.boxModel)&&(i={height:(n="CSS1Compat"===e?u:l.body).clientHeight,width:n.clientWidth}),i}function n(){return{top:c.pageYOffset||u.scrollTop||l.body.scrollTop,left:c.pageXOffset||u.scrollLeft||l.body.scrollLeft}}function i(){if(s.length){var i=0,a=t.map(s,(function(t){var e=t.data.selector,n=t.$element;return e?n.find(e):n}));for(r=r||e(),o=o||n();i<s.length;i++)if(t.contains(u,a[i][0])){var l=t(a[i]),c={height:l[0].offsetHeight,width:l[0].offsetWidth},d=l.offset(),h=l.data("inview");if(!o||!r)return;d.top+c.height>o.top&&d.top<o.top+r.height&&d.left+c.width>o.left&&d.left<o.left+r.width?h||l.data("inview",!0).trigger("inview",[!0]):h&&l.data("inview",!1).trigger("inview",[!1])}}}var r,o,a,s=[],l=document,c=window,u=l.documentElement;t.event.special.inview={add:function(e){s.push({data:e,$element:t(this),element:this}),!a&&s.length&&(a=setInterval(i,250))},remove:function(t){for(var e=0;e<s.length;e++){var n=s[e];if(n.element===this&&n.data.guid===t.guid){s.splice(e,1);break}}s.length||(clearInterval(a),a=null)}},t(c).on("scroll resize scrollstop",(function(){r=o=null})),!u.addEventListener&&u.attachEvent&&u.attachEvent("onfocusin",(function(){o=null}))})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,(function(){"use strict";function t(){return er.apply(null,arguments)}function e(t){er=t}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(r(t,e))return!1;return!0}function a(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){var n,i=[],r=t.length;for(n=0;n<r;++n)i.push(e(t[n],n));return i}function u(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return r(e,"toString")&&(t.toString=e.toString),r(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Te(t,e,n,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(t){return null==t._pf&&(t._pf=h()),t._pf}function f(t){if(null==t._isValid){var e=p(t),n=nr.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function m(t){var e=d(NaN);return null!=t?u(p(e),t):p(e).userInvalidated=!0,e}function g(t,e){var n,i,r,o=rr.length;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=p(e)),a(e._locale)||(t._locale=e._locale),o>0)for(n=0;n<o;n++)a(r=e[i=rr[n]])||(t[i]=r);return t}function v(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===or&&(or=!0,t.updateOffset(this),or=!1)}function y(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function w(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function b(e,n){var i=!0;return u((function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),i){var o,a,s,l=[],c=arguments.length;for(a=0;a<c;a++){if(o="","object"==typeof arguments[a]){for(s in o+="\n["+a+"] ",arguments[0])r(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[a];l.push(o)}w(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}function _(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),ar[e]||(w(n),ar[e]=!0)}function x(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t){var e,n;for(n in t)r(t,n)&&(x(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function k(t,e){var n,o=u({},t);for(n in e)r(e,n)&&(i(t[n])&&i(e[n])?(o[n]={},u(o[n],t[n]),u(o[n],e[n])):null!=e[n]?o[n]=e[n]:delete o[n]);for(n in t)r(t,n)&&!r(e,n)&&i(t[n])&&(o[n]=u({},o[n]));return o}function A(t){null!=t&&this.set(t)}function T(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return x(i)?i.call(e,n):i}function D(t,e,n){var i=""+Math.abs(t),r=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function S(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(hr[t]=r),e&&(hr[e[0]]=function(){
return D(r.apply(this,arguments),e[1],e[2])}),n&&(hr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function E(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function I(t){var e,n,i=t.match(cr);for(e=0,n=i.length;e<n;e++)hr[i[e]]?i[e]=hr[i[e]]:i[e]=E(i[e]);return function(e){var r,o="";for(r=0;r<n;r++)o+=x(i[r])?i[r].call(e,t):i[r];return o}}function M(t,e){return t.isValid()?(e=j(e,t.localeData()),dr[e]=dr[e]||I(e),dr[e](t)):t.localeData().invalidDate()}function j(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(ur.lastIndex=0;i>=0&&ur.test(t);)t=t.replace(ur,n),ur.lastIndex=0,i-=1;return t}function O(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(cr).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}function $(){return this._invalidDate}function R(t){return this._ordinal.replace("%d",t)}function B(t,e,n,i){var r=this._relativeTime[n];return x(r)?r(t,e,n,i):r.replace(/%d/i,t)}function N(t,e){var n=this._relativeTime[t>0?"future":"past"];return x(n)?n(e):n.replace(/%s/i,e)}function P(t,e){var n=t.toLowerCase();yr[n]=yr[n+"s"]=yr[e]=t}function L(t){return"string"==typeof t?yr[t]||yr[t.toLowerCase()]:void 0}function H(t){var e,n,i={};for(n in t)r(t,n)&&(e=L(n))&&(i[e]=t[n]);return i}function F(t,e){wr[t]=e}function Y(t){var e,n=[];for(e in t)r(t,e)&&n.push({unit:e,priority:wr[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function Q(t){return t%4==0&&t%100!=0||t%400==0}function U(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function z(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=U(e)),n}function q(e,n){return function(i){return null!=i?(G(this,e,i),t.updateOffset(this,n),this):W(this,e)}}function W(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function G(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Q(t.year())&&1===t.month()&&29===t.date()?(n=z(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),ot(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function J(t){return x(this[t=L(t)])?this[t]():this}function V(t,e){if("object"==typeof t){var n,i=Y(t=H(t)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](t[i[n].unit])}else if(x(this[t=L(t)]))return this[t](e);return this}function K(t,e,n){sr[t]=x(e)?e:function(t){return t&&n?n:e}}function Z(t,e){return r(sr,t)?sr[t](e._strict,e._locale):new RegExp(X(t))}function X(t){return tt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r})))}function tt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function et(t,e){var n,i,r=e;for("string"==typeof t&&(t=[t]),s(e)&&(r=function(t,n){n[e]=z(t)}),i=t.length,n=0;n<i;n++)Pr[t[n]]=r}function nt(t,e){et(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function it(t,e,n){null!=e&&r(Pr,t)&&Pr[t](e,n._a,n,t)}function rt(t,e){return(t%e+e)%e}function ot(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=rt(e,12);return t+=(e-n)/12,1===n?Q(t)?29:28:31-n%7%2}function at(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Vr).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function st(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Vr.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Nr.call(this._shortMonthsParse,a))?r:null:-1!==(r=Nr.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Nr.call(this._shortMonthsParse,a))||-1!==(r=Nr.call(this._longMonthsParse,a))?r:null:-1!==(r=Nr.call(this._longMonthsParse,a))||-1!==(r=Nr.call(this._shortMonthsParse,a))?r:null}function ct(t,e,n){var i,r,o;if(this._monthsParseExact)return lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function ut(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=z(e);else if(!s(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),ot(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function dt(e){return null!=e?(ut(this,e),t.updateOffset(this,!0),this):W(this,"Month")}function ht(){return ot(this.year(),this.month())}function pt(t){return this._monthsParseExact?(r(this,"_monthsRegex")||mt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Kr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(t){return this._monthsParseExact?(r(this,"_monthsRegex")||mt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Zr),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function mt(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],o=[];for(e=0;e<12;e++)n=d([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)i[e]=tt(i[e]),r[e]=tt(r[e]);for(e=0;e<24;e++)o[e]=tt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function gt(t){return Q(t)?366:365}function vt(){return Q(this.year())}function yt(t,e,n,i,r,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,o,a),s}function wt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function bt(t,e,n){var i=7+e-n;return-((7+wt(t,0,i).getUTCDay()-e)%7)+i-1}function _t(t,e,n,i,r){var o,a,s=1+7*(e-1)+(7+n-i)%7+bt(t,i,r);return s<=0?a=gt(o=t-1)+s:s>gt(t)?(o=t+1,a=s-gt(t)):(o=t,a=s),{year:o,dayOfYear:a}}function xt(t,e,n){var i,r,o=bt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?i=a+Ct(r=t.year()-1,e,n):a>Ct(t.year(),e,n)?(i=a-Ct(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function Ct(t,e,n){var i=bt(t,e,n),r=bt(t+1,e,n);return(gt(t)-i+r)/7}function kt(t){return xt(t,this._week.dow,this._week.doy).week}function At(){return this._week.dow}function Tt(){return this._week.doy}function Dt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function St(t){var e=xt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function It(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Mt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function jt(t,e){var i=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Mt(i,this._week.dow):t?i[t.day()]:i}function Ot(t){return!0===t?Mt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function $t(t){return!0===t?Mt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Rt(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Nr.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Nr.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Nr.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Nr.call(this._weekdaysParse,a))||-1!==(r=Nr.call(this._shortWeekdaysParse,a))||-1!==(r=Nr.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Nr.call(this._shortWeekdaysParse,a))||-1!==(r=Nr.call(this._weekdaysParse,a))||-1!==(r=Nr.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Nr.call(this._minWeekdaysParse,a))||-1!==(r=Nr.call(this._weekdaysParse,a))||-1!==(r=Nr.call(this._shortWeekdaysParse,a))?r:null}function Bt(t,e,n){var i,r,o;if(this._weekdaysParseExact)return Rt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function Pt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Lt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=It(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ht(t){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=ro),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ft(t){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=oo),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Yt(t){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ao),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function t(t,e){return e.length-t.length}var e,n,i,r,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=d([2e3,1]).day(e),i=tt(this.weekdaysMin(n,"")),r=tt(this.weekdaysShort(n,"")),o=tt(this.weekdays(n,"")),a.push(i),s.push(r),l.push(o),c.push(i),c.push(r),c.push(o);a.sort(t),s.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ut(){return this.hours()%12||12}function zt(){return this.hours()||24}function qt(t,e){S(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Wt(t,e){return e._meridiemParse}function Gt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Jt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Vt(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function Kt(t){return t?t.toLowerCase().replace("_","-"):t}function Zt(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=Kt(t[o]).split("-")).length,n=(n=Kt(t[o+1]))?n.split("-"):null;e>0;){if(i=te(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&Vt(r,n)>=e-1)break;e--}o++}return so}function Xt(t){return null!=t.match("^[^/\\\\]*$")}function te(t){var e=null;if(void 0===ho[t]&&"undefined"!=typeof module&&module&&module.exports&&Xt(t))try{e=so._abbr,require("./locale/"+t),ee(e)}catch(e){ho[t]=null}return ho[t]}function ee(t,e){var n;return t&&((n=a(e)?re(t):ne(t,e))?so=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),so._abbr}function ne(t,e){if(null!==e){var n,i=uo;if(e.abbr=t,null!=ho[t])_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ho[t]._config;else if(null!=e.parentLocale)if(null!=ho[e.parentLocale])i=ho[e.parentLocale]._config;else{if(null==(n=te(e.parentLocale)))return po[e.parentLocale]||(po[e.parentLocale]=[]),po[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ho[t]=new A(k(i,e)),po[t]&&po[t].forEach((function(t){ne(t.name,t.config)})),ee(t),ho[t]}return delete ho[t],null}function ie(t,e){if(null!=e){var n,i,r=uo;null!=ho[t]&&null!=ho[t].parentLocale?ho[t].set(k(ho[t]._config,e)):(null!=(i=te(t))&&(r=i._config),e=k(r,e),null==i&&(e.abbr=t),(n=new A(e)).parentLocale=ho[t],ho[t]=n),ee(t)}else null!=ho[t]&&(null!=ho[t].parentLocale?(ho[t]=ho[t].parentLocale,t===ee()&&ee(t)):null!=ho[t]&&delete ho[t]);return ho[t]}function re(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return so;if(!n(t)){if(e=te(t))return e;t=[t]}return Zt(t)}function oe(){return ir(ho)}function ae(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[Hr]<0||n[Hr]>11?Hr:n[Fr]<1||n[Fr]>ot(n[Lr],n[Hr])?Fr:n[Yr]<0||n[Yr]>24||24===n[Yr]&&(0!==n[Qr]||0!==n[Ur]||0!==n[zr])?Yr:n[Qr]<0||n[Qr]>59?Qr:n[Ur]<0||n[Ur]>59?Ur:n[zr]<0||n[zr]>999?zr:-1,p(t)._overflowDayOfYear&&(e<Lr||e>Fr)&&(e=Fr),p(t)._overflowWeeks&&-1===e&&(e=qr),p(t)._overflowWeekday&&-1===e&&(e=Wr),p(t).overflow=e),t}function se(t){var e,n,i,r,o,a,s=t._i,l=fo.exec(s)||mo.exec(s),c=vo.length,u=yo.length;if(l){for(p(t).iso=!0,e=0,n=c;e<n;e++)if(vo[e][1].exec(l[1])){r=vo[e][0],i=!1!==vo[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=u;e<n;e++)if(yo[e][1].exec(l[3])){o=(l[2]||" ")+yo[e][0];break}if(null==o)return void(t._isValid=!1)}if(!i&&null!=o)return void(t._isValid=!1);if(l[4]){if(!go.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=r+(o||"")+(a||""),we(t)}else t._isValid=!1}function le(t,e,n,i,r,o){var a=[ce(t),Jr.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}function ce(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ue(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function de(t,e,n){if(t&&no.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return p(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}function he(t,e,n){if(t)return _o[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return 60*((i-r)/100)+r}function pe(t){var e,n=bo.exec(ue(t._i));if(n){if(e=le(n[4],n[3],n[2],n[5],n[6],n[7]),!de(n[1],e,t))return;t._a=e,t._tzm=he(n[8],n[9],n[10]),t._d=wt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function fe(e){var n=wo.exec(e._i);null===n?(se(e),!1===e._isValid&&(delete e._isValid,pe(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:t.createFromInputFallback(e)))):e._d=new Date(+n[1])}function me(t,e,n){return null!=t?t:null!=e?e:n}function ge(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ve(t){var e,n,i,r,o,a=[];if(!t._d){for(i=ge(t),t._w&&null==t._a[Fr]&&null==t._a[Hr]&&ye(t),null!=t._dayOfYear&&(o=me(t._a[Lr],i[Lr]),(t._dayOfYear>gt(o)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=wt(o,0,t._dayOfYear),t._a[Hr]=n.getUTCMonth(),t._a[Fr]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Yr]&&0===t._a[Qr]&&0===t._a[Ur]&&0===t._a[zr]&&(t._nextDay=!0,t._a[Yr]=0),t._d=(t._useUTC?wt:yt).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Yr]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(p(t).weekdayMismatch=!0)}}function ye(t){var e,n,i,r,o,a,s,l,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,n=me(e.GG,t._a[Lr],xt(De(),1,4).year),i=me(e.W,1),((r=me(e.E,1))<1||r>7)&&(l=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,c=xt(De(),o,a),n=me(e.gg,t._a[Lr],c.year),i=me(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(l=!0)):r=o),i<1||i>Ct(n,o,a)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(s=_t(n,i,r,o,a),t._a[Lr]=s.year,t._dayOfYear=s.dayOfYear)}function we(e){if(e._f!==t.ISO_8601)if(e._f!==t.RFC_2822){e._a=[],p(e).empty=!0;var n,i,r,o,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(r=j(e._f,e._locale).match(cr)||[]).length,n=0;n<l;n++)o=r[n],(i=(c.match(Z(o,e))||[])[0])&&((a=c.substr(0,c.indexOf(i))).length>0&&p(e).unusedInput.push(a),c=c.slice(c.indexOf(i)+i.length),d+=i.length),hr[o]?(i?p(e).empty=!1:p(e).unusedTokens.push(o),it(o,i,e)):e._strict&&!i&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-d,c.length>0&&p(e).unusedInput.push(c),e._a[Yr]<=12&&!0===p(e).bigHour&&e._a[Yr]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Yr]=be(e._locale,e._a[Yr],e._meridiem),null!==(s=p(e).era)&&(e._a[Lr]=e._locale.erasConvertYear(s,e._a[Lr])),ve(e),ae(e)}else pe(e);else se(e)}function be(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function _e(t){var e,n,i,r,o,a,s=!1,l=t._f.length;if(0===l)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<l;r++)o=0,a=!1,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],we(e),f(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<i&&(i=o,n=e):(null==i||o<i||a)&&(i=o,n=e,a&&(s=!0));u(t,n||e)}function xe(t){if(!t._d){var e=H(t._i),n=void 0===e.day?e.date:e.day;t._a=c([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),ve(t)}}function Ce(t){var e=new v(ae(ke(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function ke(t){var e=t._i,i=t._f;return t._locale=t._locale||re(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),y(e)?new v(ae(e)):(l(e)?t._d=e:n(i)?_e(t):i?we(t):Ae(t),f(t)||(t._d=null),t))}function Ae(e){var r=e._i;a(r)?e._d=new Date(t.now()):l(r)?e._d=new Date(r.valueOf()):"string"==typeof r?fe(e):n(r)?(e._a=c(r.slice(0),(function(t){return parseInt(t,10)})),ve(e)):i(r)?xe(e):s(r)?e._d=new Date(r):t.createFromInputFallback(e)}function Te(t,e,r,a,s){var l={};return!0!==e&&!1!==e||(a=e,e=void 0),!0!==r&&!1!==r||(a=r,r=void 0),(i(t)&&o(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=r,l._i=t,l._f=e,l._strict=a,Ce(l)}function De(t,e,n,i){return Te(t,e,n,i,!1)}function Se(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return De();for(i=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](i)||(i=e[r]);return i}function Ee(){return Se("isBefore",[].slice.call(arguments,0))}function Ie(){return Se("isAfter",[].slice.call(arguments,0))}function Me(t){var e,n,i=!1,o=Ao.length;for(e in t)if(r(t,e)&&(-1===Nr.call(Ao,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<o;++n)if(t[Ao[n]]){if(i)return!1;parseFloat(t[Ao[n]])!==z(t[Ao[n]])&&(i=!0)}return!0}function je(){return this._isValid}function Oe(){return Xe(NaN)}function $e(t){var e=H(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=Me(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=re(),this._bubble()}function Re(t){return t instanceof $e}function Be(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&z(t[i])!==z(e[i]))&&a++;return a+o}function Pe(t,e){S(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)}))}function Le(t,e){var n,i,r=(e||"").match(t);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(To)||["-",0,0])[1]+z(n[2]))?0:"+"===n[0]?i:-i}function He(e,n){var i,r;return n._isUTC?(i=n.clone(),r=(y(e)||l(e)?e.valueOf():De(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),t.updateOffset(i,!1),i):De(e).local()}function Fe(t){return-Math.round(t._d.getTimezoneOffset())}function Ye(e,n,i){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Le($r,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&n&&(r=Fe(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!n||this._changeInProgress?on(this,Xe(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Fe(this)}function Qe(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ue(t){return this.utcOffset(0,t)}function ze(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this}function qe(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Le(Or,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function We(t){return!!this.isValid()&&(t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ge(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Je(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t,e={};return g(e,this),(e=ke(e))._a?(t=e._isUTC?d(e._a):De(e._a),this._isDSTShifted=this.isValid()&&Ne(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ve(){return!!this.isValid()&&!this._isUTC}function Ke(){return!!this.isValid()&&this._isUTC}function Ze(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(t,e){var n,i,o,a=t,l=null;return Re(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:s(t)||!isNaN(+t)?(a={},e?a[e]=+t:a.milliseconds=+t):(l=Do.exec(t))?(n="-"===l[1]?-1:1,a={y:0,d:z(l[Fr])*n,h:z(l[Yr])*n,m:z(l[Qr])*n,s:z(l[Ur])*n,ms:z(Be(1e3*l[zr]))*n}):(l=So.exec(t))?(n="-"===l[1]?-1:1,a={y:tn(l[2],n),M:tn(l[3],n),w:tn(l[4],n),d:tn(l[5],n),h:tn(l[6],n),m:tn(l[7],n),s:tn(l[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=nn(De(a.from),De(a.to)),(a={}).ms=o.milliseconds,a.M=o.months),i=new $e(a),Re(t)&&r(t,"_locale")&&(i._locale=t._locale),Re(t)&&r(t,"_isValid")&&(i._isValid=t._isValid),i}function tn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function en(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function nn(t,e){var n;return t.isValid()&&e.isValid()?(e=He(e,t),t.isBefore(e)?n=en(t,e):((n=en(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(t,e){return function(n,i){var r;return null===i||isNaN(+i)||(_(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),on(this,Xe(n,i),t),this}}function on(e,n,i,r){var o=n._milliseconds,a=Be(n._days),s=Be(n._months);e.isValid()&&(r=null==r||r,s&&ut(e,W(e,"Month")+s*i),a&&G(e,"Date",W(e,"Date")+a*i),o&&e._d.setTime(e._d.valueOf()+o*i),r&&t.updateOffset(e,a||s))}function an(t){return"string"==typeof t||t instanceof String}function sn(t){return y(t)||l(t)||an(t)||s(t)||cn(t)||ln(t)||null==t}function ln(t){var e,n,a=i(t)&&!o(t),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(e=0;e<c;e+=1)n=l[e],s=s||r(t,n);return a&&s}function cn(t){var e=n(t),i=!1;return e&&(i=0===t.filter((function(e){return!s(e)&&an(t)})).length),e&&i}function un(t){var e,n,a=i(t)&&!o(t),s=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<l.length;e+=1)n=l[e],s=s||r(t,n);return a&&s}function dn(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function hn(e,n){1===arguments.length&&(arguments[0]?sn(arguments[0])?(e=arguments[0],n=void 0):un(arguments[0])&&(n=arguments[0],e=void 0):(e=void 0,n=void 0));var i=e||De(),r=He(i,this).startOf("day"),o=t.calendarFormat(this,r)||"sameElse",a=n&&(x(n[o])?n[o].call(this,i):n[o]);return this.format(a||this.localeData().calendar(o,this,De(i)))}function pn(){return new v(this)}function fn(t,e){var n=y(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=L(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function mn(t,e){var n=y(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=L(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function gn(t,e,n,i){var r=y(t)?t:De(t),o=y(e)?e:De(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function vn(t,e){var n,i=y(t)?t:De(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=L(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function yn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function wn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function bn(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=He(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=L(e)){case"year":o=_n(this,i)/12;break;case"month":o=_n(this,i);break;case"quarter":o=_n(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:U(o)}function _n(t,e){if(t.date()<e.date())return-_n(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function xn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Cn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?M(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",M(n,"Z")):M(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function kn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=o+'[")]',this.format(t+e+n+i)}function An(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=M(this,e);return this.localeData().postformat(n)}function Tn(t,e){return this.isValid()&&(y(t)&&t.isValid()||De(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Dn(t){return this.from(De(),t)}function Sn(t,e){return this.isValid()&&(y(t)&&t.isValid()||De(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function En(t){return this.to(De(),t)}function In(t){var e;return void 0===t?this._locale._abbr:(null!=(e=re(t))&&(this._locale=e),this)}function Mn(){return this._locale}function jn(t,e){return(t%e+e)%e}function On(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Ro:new Date(t,e,n).valueOf()}function $n(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Ro:Date.UTC(t,e,n)}function Rn(e){var n,i;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?$n:On,e){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=jn(n+(this._isUTC?0:this.utcOffset()*Oo),$o);break;case"minute":n=this._d.valueOf(),n-=jn(n,Oo);break;case"second":n=this._d.valueOf(),n-=jn(n,jo)}return this._d.setTime(n),t.updateOffset(this,!0),this}function Bn(e){var n,i;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?$n:On,e){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=$o-jn(n+(this._isUTC?0:this.utcOffset()*Oo),$o)-1;break;case"minute":n=this._d.valueOf(),n+=Oo-jn(n,Oo)-1;break;case"second":n=this._d.valueOf(),n+=jo-jn(n,jo)-1}return this._d.setTime(n),t.updateOffset(this,!0),this}function Nn(){return this._d.valueOf()-6e4*(this._offset||0)}function Pn(){return Math.floor(this.valueOf()/1e3)}function Ln(){return new Date(this.valueOf())}function Hn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Fn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Yn(){return this.isValid()?this.toISOString():null}function Qn(){return f(this)}function Un(){return u({},p(this))}function zn(){return p(this).overflow}function qn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Wn(){var e,n,i,r=this._eras||re("en")._eras;for(e=0,n=r.length;e<n;++e){if("string"==typeof r[e].since)i=t(r[e].since).startOf("day"),r[e].since=i.valueOf();switch(typeof r[e].until){case"undefined":r[e].until=1/0;break;case"string":i=t(r[e].until).startOf("day").valueOf(),r[e].until=i.valueOf()}}return r}function Gn(t,e,n){var i,r,o,a,s,l=this.eras();for(t=t.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return l[i];break;case"NNNN":if(o===t)return l[i];break;case"NNNNN":if(s===t)return l[i]}else if([o,a,s].indexOf(t)>=0)return l[i]}function Jn(e,n){var i=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*i}function Vn(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""}function Kn(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow
;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""}function Zn(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""}function Xn(){var e,n,i,r,o=this.localeData().eras();for(e=0,n=o.length;e<n;++e)if(i=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-t(o[e].since).year())*i+o[e].offset;return this.year()}function ti(t){return r(this,"_erasNameRegex")||si.call(this),t?this._erasNameRegex:this._erasRegex}function ei(t){return r(this,"_erasAbbrRegex")||si.call(this),t?this._erasAbbrRegex:this._erasRegex}function ni(t){return r(this,"_erasNarrowRegex")||si.call(this),t?this._erasNarrowRegex:this._erasRegex}function ii(t,e){return e.erasAbbrRegex(t)}function ri(t,e){return e.erasNameRegex(t)}function oi(t,e){return e.erasNarrowRegex(t)}function ai(t,e){return e._eraYearOrdinalRegex||Mr}function si(){var t,e,n=[],i=[],r=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)i.push(tt(a[t].name)),n.push(tt(a[t].abbr)),r.push(tt(a[t].narrow)),o.push(tt(a[t].name)),o.push(tt(a[t].abbr)),o.push(tt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function li(t,e){S(0,[t,t.length],0,e)}function ci(t){return mi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ui(t){return mi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function di(){return Ct(this.year(),1,4)}function hi(){return Ct(this.isoWeekYear(),1,4)}function pi(){var t=this.localeData()._week;return Ct(this.year(),t.dow,t.doy)}function fi(){var t=this.localeData()._week;return Ct(this.weekYear(),t.dow,t.doy)}function mi(t,e,n,i,r){var o;return null==t?xt(this,i,r).year:(e>(o=Ct(t,i,r))&&(e=o),gi.call(this,t,e,n,i,r))}function gi(t,e,n,i,r){var o=_t(t,e,n,i,r),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function vi(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function yi(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function wi(t,e){e[zr]=z(1e3*("0."+t))}function bi(){return this._isUTC?"UTC":""}function _i(){return this._isUTC?"Coordinated Universal Time":""}function xi(t){return De(1e3*t)}function Ci(){return De.apply(null,arguments).parseZone()}function ki(t){return t}function Ai(t,e,n,i){var r=re(),o=d().set(i,e);return r[n](o,t)}function Ti(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return Ai(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Ai(t,i,n,"month");return r}function Di(t,e,n,i){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var r,o=re(),a=t?o._week.dow:0,l=[];if(null!=n)return Ai(e,(n+a)%7,i,"day");for(r=0;r<7;r++)l[r]=Ai(e,(r+a)%7,i,"day");return l}function Si(t,e){return Ti(t,e,"months")}function Ei(t,e){return Ti(t,e,"monthsShort")}function Ii(t,e,n){return Di(t,e,n,"weekdays")}function Mi(t,e,n){return Di(t,e,n,"weekdaysShort")}function ji(t,e,n){return Di(t,e,n,"weekdaysMin")}function Oi(){var t=this._data;return this._milliseconds=Qo(this._milliseconds),this._days=Qo(this._days),this._months=Qo(this._months),t.milliseconds=Qo(t.milliseconds),t.seconds=Qo(t.seconds),t.minutes=Qo(t.minutes),t.hours=Qo(t.hours),t.months=Qo(t.months),t.years=Qo(t.years),this}function $i(t,e,n,i){var r=Xe(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Ri(t,e){return $i(this,t,e,1)}function Bi(t,e){return $i(this,t,e,-1)}function Ni(t){return t<0?Math.floor(t):Math.ceil(t)}function Pi(){var t,e,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Ni(Hi(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=U(o/1e3),l.seconds=t%60,e=U(t/60),l.minutes=e%60,n=U(e/60),l.hours=n%24,a+=U(n/24),s+=r=U(Li(a)),a-=Ni(Hi(r)),i=U(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function Li(t){return 4800*t/146097}function Hi(t){return 146097*t/4800}function Fi(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=L(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+Li(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Hi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Yi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12):NaN}function Qi(t){return function(){return this.as(t)}}function Ui(){return Xe(this)}function zi(t){return t=L(t),this.isValid()?this[t+"s"]():NaN}function qi(t){return function(){return this.isValid()?this._data[t]:NaN}}function Wi(){return U(this.days()/7)}function Gi(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function Ji(t,e,n,i){var r=Xe(t).abs(),o=aa(r.as("s")),a=aa(r.as("m")),s=aa(r.as("h")),l=aa(r.as("d")),c=aa(r.as("M")),u=aa(r.as("w")),d=aa(r.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=e,h[3]=+t>0,h[4]=i,Gi.apply(null,h)}function Vi(t){return void 0===t?aa:"function"==typeof t&&(aa=t,!0)}function Ki(t,e){return void 0!==sa[t]&&(void 0===e?sa[t]:(sa[t]=e,"s"===t&&(sa.ss=e-1),!0))}function Zi(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=sa;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(o=Object.assign({},sa,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),i=Ji(this,!r,o,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}function Xi(t){return(t>0)-(t<0)||+t}function tr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,a,s,l=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(t=U(l/60),e=U(t/60),l%=60,t%=60,n=U(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=Xi(this._months)!==Xi(d)?"-":"",a=Xi(this._days)!==Xi(d)?"-":"",s=Xi(this._milliseconds)!==Xi(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+i+"S":"")):"P0D"}var er,nr;nr=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var ir,rr=t.momentProperties=[],or=!1,ar={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,ir=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)r(t,e)&&n.push(e);return n};var sr,lr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},cr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ur=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dr={},hr={},pr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},fr="Invalid date",mr="%d",gr=/\d{1,2}/,vr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},yr={},wr={},br=/\d/,_r=/\d\d/,xr=/\d{3}/,Cr=/\d{4}/,kr=/[+-]?\d{6}/,Ar=/\d\d?/,Tr=/\d\d\d\d?/,Dr=/\d\d\d\d\d\d?/,Sr=/\d{1,3}/,Er=/\d{1,4}/,Ir=/[+-]?\d{1,6}/,Mr=/\d+/,jr=/[+-]?\d+/,Or=/Z|[+-]\d\d:?\d\d/gi,$r=/Z|[+-]\d\d(?::?\d\d)?/gi,Rr=/[+-]?\d+(\.\d{1,3})?/,Br=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;sr={};var Nr,Pr={},Lr=0,Hr=1,Fr=2,Yr=3,Qr=4,Ur=5,zr=6,qr=7,Wr=8;Nr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},S("M",["MM",2],"Mo",(function(){return this.month()+1})),S("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),S("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),P("month","M"),F("month",8),K("M",Ar),K("MM",Ar,_r),K("MMM",(function(t,e){return e.monthsShortRegex(t)})),K("MMMM",(function(t,e){return e.monthsRegex(t)})),et(["M","MM"],(function(t,e){e[Hr]=z(t)-1})),et(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Hr]=r:p(n).invalidMonth=t}));var Gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Jr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Vr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kr=Br,Zr=Br;S("Y",0,0,(function(){var t=this.year();return t<=9999?D(t,4):"+"+t})),S(0,["YY",2],0,(function(){return this.year()%100})),S(0,["YYYY",4],0,"year"),S(0,["YYYYY",5],0,"year"),S(0,["YYYYYY",6,!0],0,"year"),P("year","y"),F("year",1),K("Y",jr),K("YY",Ar,_r),K("YYYY",Er,Cr),K("YYYYY",Ir,kr),K("YYYYYY",Ir,kr),et(["YYYYY","YYYYYY"],Lr),et("YYYY",(function(e,n){n[Lr]=2===e.length?t.parseTwoDigitYear(e):z(e)})),et("YY",(function(e,n){n[Lr]=t.parseTwoDigitYear(e)})),et("Y",(function(t,e){e[Lr]=parseInt(t,10)})),t.parseTwoDigitYear=function(t){return z(t)+(z(t)>68?1900:2e3)};var Xr=q("FullYear",!0);S("w",["ww",2],"wo","week"),S("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),F("week",5),F("isoWeek",5),K("w",Ar),K("ww",Ar,_r),K("W",Ar),K("WW",Ar,_r),nt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=z(t)}));var to={dow:0,doy:6};S("d",0,"do","day"),S("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),S("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),S("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),S("e",0,0,"weekday"),S("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),K("d",Ar),K("e",Ar),K("E",Ar),K("dd",(function(t,e){return e.weekdaysMinRegex(t)})),K("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),K("dddd",(function(t,e){return e.weekdaysRegex(t)})),nt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:p(n).invalidWeekday=t})),nt(["d","e","E"],(function(t,e,n,i){e[i]=z(t)}));var eo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),no="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),io="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ro=Br,oo=Br,ao=Br;S("H",["HH",2],0,"hour"),S("h",["hh",2],0,Ut),S("k",["kk",2],0,zt),S("hmm",0,0,(function(){return""+Ut.apply(this)+D(this.minutes(),2)})),S("hmmss",0,0,(function(){return""+Ut.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),S("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),S("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),qt("a",!0),qt("A",!1),P("hour","h"),F("hour",13),K("a",Wt),K("A",Wt),K("H",Ar),K("h",Ar),K("k",Ar),K("HH",Ar,_r),K("hh",Ar,_r),K("kk",Ar,_r),K("hmm",Tr),K("hmmss",Dr),K("Hmm",Tr),K("Hmmss",Dr),et(["H","HH"],Yr),et(["k","kk"],(function(t,e){var n=z(t);e[Yr]=24===n?0:n})),et(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),et(["h","hh"],(function(t,e,n){e[Yr]=z(t),p(n).bigHour=!0})),et("hmm",(function(t,e,n){var i=t.length-2;e[Yr]=z(t.substr(0,i)),e[Qr]=z(t.substr(i)),p(n).bigHour=!0})),et("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Yr]=z(t.substr(0,i)),e[Qr]=z(t.substr(i,2)),e[Ur]=z(t.substr(r)),p(n).bigHour=!0})),et("Hmm",(function(t,e){var n=t.length-2;e[Yr]=z(t.substr(0,n)),e[Qr]=z(t.substr(n))})),et("Hmmss",(function(t,e){var n=t.length-4,i=t.length-2;e[Yr]=z(t.substr(0,n)),e[Qr]=z(t.substr(n,2)),e[Ur]=z(t.substr(i))}));var so,lo=/[ap]\.?m?\.?/i,co=q("Hours",!0),uo={calendar:lr,longDateFormat:pr,invalidDate:fr,ordinal:mr,dayOfMonthOrdinalParse:gr,relativeTime:vr,months:Gr,monthsShort:Jr,week:to,weekdays:eo,weekdaysMin:io,weekdaysShort:no,meridiemParse:lo},ho={},po={},fo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,go=/Z|[+-]\d\d(?::?\d\d)?/,vo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wo=/^\/?Date\((-?\d+)/i,bo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_o={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=b("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),t.ISO_8601=function(){},t.RFC_2822=function(){};var xo=b("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()})),Co=b("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()})),ko=function(){return Date.now?Date.now():+new Date},Ao=["year","quarter","month","week","day","hour","minute","second","millisecond"];Pe("Z",":"),Pe("ZZ",""),K("Z",$r),K("ZZ",$r),et(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Le($r,t)}));var To=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Do=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,So=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=$e.prototype,Xe.invalid=Oe;var Eo=rn(1,"add"),Io=rn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Mo=b("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)})),jo=1e3,Oo=60*jo,$o=60*Oo,Ro=3506328*$o;S("N",0,0,"eraAbbr"),S("NN",0,0,"eraAbbr"),S("NNN",0,0,"eraAbbr"),S("NNNN",0,0,"eraName"),S("NNNNN",0,0,"eraNarrow"),S("y",["y",1],"yo","eraYear"),S("y",["yy",2],0,"eraYear"),S("y",["yyy",3],0,"eraYear"),S("y",["yyyy",4],0,"eraYear"),K("N",ii),K("NN",ii),K("NNN",ii),K("NNNN",ri),K("NNNNN",oi),et(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?p(n).era=r:p(n).invalidEra=t})),K("y",Mr),K("yy",Mr),K("yyy",Mr),K("yyyy",Mr),K("yo",ai),et(["y","yy","yyy","yyyy"],Lr),et(["yo"],(function(t,e,n){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Lr]=n._locale.eraYearOrdinalParse(t,i):e[Lr]=parseInt(t,10)})),S(0,["gg",2],0,(function(){return this.weekYear()%100})),S(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),li("gggg","weekYear"),li("ggggg","weekYear"),li("GGGG","isoWeekYear"),li("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),K("G",jr),K("g",jr),K("GG",Ar,_r),K("gg",Ar,_r),K("GGGG",Er,Cr),K("gggg",Er,Cr),K("GGGGG",Ir,kr),K("ggggg",Ir,kr),nt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=z(t)})),nt(["gg","GG"],(function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)})),S("Q",0,"Qo","quarter"),P("quarter","Q"),F("quarter",7),K("Q",br),et("Q",(function(t,e){e[Hr]=3*(z(t)-1)})),S("D",["DD",2],"Do","date"),P("date","D"),F("date",9),K("D",Ar),K("DD",Ar,_r),K("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),et(["D","DD"],Fr),et("Do",(function(t,e){e[Fr]=z(t.match(Ar)[0])}));var Bo=q("Date",!0);S("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),F("dayOfYear",4),K("DDD",Sr),K("DDDD",xr),et(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=z(t)})),S("m",["mm",2],0,"minute"),P("minute","m"),F("minute",14),K("m",Ar),K("mm",Ar,_r),et(["m","mm"],Qr);var No=q("Minutes",!1);S("s",["ss",2],0,"second"),P("second","s"),F("second",15),K("s",Ar),K("ss",Ar,_r),et(["s","ss"],Ur);var Po,Lo,Ho=q("Seconds",!1);for(S("S",0,0,(function(){return~~(this.millisecond()/100)})),S(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),S(0,["SSS",3],0,"millisecond"),S(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),S(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),S(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),S(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),S(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),S(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),F("millisecond",16),K("S",Sr,br),K("SS",Sr,_r),K("SSS",Sr,xr),Po="SSSS";Po.length<=9;Po+="S")K(Po,Mr);for(Po="S";Po.length<=9;Po+="S")et(Po,wi);Lo=q("Milliseconds",!1),S("z",0,0,"zoneAbbr"),S("zz",0,0,"zoneName");var Fo=v.prototype;Fo.add=Eo,Fo.calendar=hn,Fo.clone=pn,Fo.diff=bn,Fo.endOf=Bn,Fo.format=An,Fo.from=Tn,Fo.fromNow=Dn,Fo.to=Sn,Fo.toNow=En,Fo.get=J,Fo.invalidAt=zn,Fo.isAfter=fn,Fo.isBefore=mn,Fo.isBetween=gn,Fo.isSame=vn,Fo.isSameOrAfter=yn,Fo.isSameOrBefore=wn,Fo.isValid=Qn,Fo.lang=Mo,Fo.locale=In,Fo.localeData=Mn,Fo.max=Co,Fo.min=xo,Fo.parsingFlags=Un,Fo.set=V,Fo.startOf=Rn,Fo.subtract=Io,Fo.toArray=Hn,Fo.toObject=Fn,Fo.toDate=Ln,Fo.toISOString=Cn,Fo.inspect=kn,"undefined"!=typeof Symbol&&null!=Symbol.for&&(Fo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Fo.toJSON=Yn,Fo.toString=xn,Fo.unix=Pn,Fo.valueOf=Nn,Fo.creationData=qn,Fo.eraName=Vn,Fo.eraNarrow=Kn,Fo.eraAbbr=Zn,Fo.eraYear=Xn,Fo.year=Xr,Fo.isLeapYear=vt,Fo.weekYear=ci,Fo.isoWeekYear=ui,Fo.quarter=Fo.quarters=vi,Fo.month=dt,Fo.daysInMonth=ht,Fo.week=Fo.weeks=Dt,Fo.isoWeek=Fo.isoWeeks=St,Fo.weeksInYear=pi,Fo.weeksInWeekYear=fi,Fo.isoWeeksInYear=di,Fo.isoWeeksInISOWeekYear=hi,Fo.date=Bo,Fo.day=Fo.days=Nt,Fo.weekday=Pt,Fo.isoWeekday=Lt,Fo.dayOfYear=yi,Fo.hour=Fo.hours=co,Fo.minute=Fo.minutes=No,Fo.second=Fo.seconds=Ho,Fo.millisecond=Fo.milliseconds=Lo,Fo.utcOffset=Ye,Fo.utc=Ue,Fo.local=ze,Fo.parseZone=qe,Fo.hasAlignedHourOffset=We,Fo.isDST=Ge,Fo.isLocal=Ve,Fo.isUtcOffset=Ke,Fo.isUtc=Ze,Fo.isUTC=Ze,Fo.zoneAbbr=bi,Fo.zoneName=_i,Fo.dates=b("dates accessor is deprecated. Use date instead.",Bo),Fo.months=b("months accessor is deprecated. Use month instead",dt),Fo.years=b("years accessor is deprecated. Use year instead",Xr),Fo.zone=b("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Qe),Fo.isDSTShifted=b("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Je);var Yo=A.prototype;Yo.calendar=T,Yo.longDateFormat=O,Yo.invalidDate=$,Yo.ordinal=R,Yo.preparse=ki,Yo.postformat=ki,Yo.relativeTime=B,Yo.pastFuture=N,Yo.set=C,Yo.eras=Wn,Yo.erasParse=Gn,Yo.erasConvertYear=Jn,Yo.erasAbbrRegex=ei,Yo.erasNameRegex=ti,Yo.erasNarrowRegex=ni,Yo.months=at,Yo.monthsShort=st,Yo.monthsParse=ct,Yo.monthsRegex=ft,Yo.monthsShortRegex=pt,Yo.week=kt,Yo.firstDayOfYear=Tt,Yo.firstDayOfWeek=At,Yo.weekdays=jt,Yo.weekdaysMin=$t,Yo.weekdaysShort=Ot,Yo.weekdaysParse=Bt,Yo.weekdaysRegex=Ht,Yo.weekdaysShortRegex=Ft,Yo.weekdaysMinRegex=Yt,Yo.isPM=Gt,Yo.meridiem=Jt,ee("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===z(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),t.lang=b("moment.lang is deprecated. Use moment.locale instead.",ee),t.langData=b("moment.langData is deprecated. Use moment.localeData instead.",re);var Qo=Math.abs,Uo=Qi("ms"),zo=Qi("s"),qo=Qi("m"),Wo=Qi("h"),Go=Qi("d"),Jo=Qi("w"),Vo=Qi("M"),Ko=Qi("Q"),Zo=Qi("y"),Xo=qi("milliseconds"),ta=qi("seconds"),ea=qi("minutes"),na=qi("hours"),ia=qi("days"),ra=qi("months"),oa=qi("years"),aa=Math.round,sa={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},la=Math.abs,ca=$e.prototype;return ca.isValid=je,ca.abs=Oi,ca.add=Ri,ca.subtract=Bi,ca.as=Fi,ca.asMilliseconds=Uo,ca.asSeconds=zo,ca.asMinutes=qo,ca.asHours=Wo,ca.asDays=Go,ca.asWeeks=Jo,ca.asMonths=Vo,ca.asQuarters=Ko,ca.asYears=Zo,ca.valueOf=Yi,ca._bubble=Pi,ca.clone=Ui,ca.get=zi,ca.milliseconds=Xo,ca.seconds=ta,ca.minutes=ea,ca.hours=na,ca.days=ia,ca.weeks=Wi,ca.months=ra,ca.years=oa,ca.humanize=Zi,ca.toISOString=tr,ca.toString=tr,ca.toJSON=tr,ca.locale=In,ca.localeData=Mn,ca.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tr),ca.lang=Mo,S("X",0,0,"unix"),S("x",0,0,"valueOf"),K("x",jr),K("X",Rr),et("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),et("x",(function(t,e,n){n._d=new Date(z(t))})),t.version="2.29.4",e(De),t.fn=Fo,t.min=Ee,t.max=Ie,t.now=ko,t.utc=d,t.unix=xi,t.months=Si,t.isDate=l,t.locale=ee,t.invalid=m,t.duration=Xe,t.isMoment=y,t.weekdays=Ii,t.parseZone=Ci,t.localeData=re,t.isDuration=Re,t.monthsShort=Ei,t.weekdaysMin=ji,t.defineLocale=ne,t.updateLocale=ie,t.locales=oe,t.weekdaysShort=Mi,t.normalizeUnits=L,t.relativeTimeRounding=Vi,t.relativeTimeThreshold=Ki,t.calendarFormat=dn,t.prototype=Fo,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(t.moment)}(this,(function(t){"use strict";function e(t,e,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}return t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})),function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],t);else if("object"==typeof exports)module.exports=t(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";t(jQuery,moment)}}((function(t,e){"use strict";if(!e)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var n=function(n,i){var r,o,a,s,l,c,u,d={},h=!0,p=!1,f=!1,m=0,g=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],v=["days","months","years","decades"],y=["top","bottom","auto"],w=["left","right","auto"],b=["default","top","bottom"],_={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},x={},C=function(){return void 0!==e.tz&&void 0!==i.timeZone&&null!==i.timeZone&&""!==i.timeZone},k=function(t){var n;return n=null==t?e():e.isDate(t)||e.isMoment(t)?e(t):C()?e.tz(t,c,i.useStrict,i.timeZone):e(t,c,i.useStrict),C()&&n.tz(i.timeZone),n},A=function(t){if("string"!=typeof t||t.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return-1!==l.indexOf("Y");case"M":return-1!==l.indexOf("M");case"d":return-1!==l.toLowerCase().indexOf("d");case"h":case"H":return-1!==l.toLowerCase().indexOf("h");case"m":return-1!==l.indexOf("m");case"s":return-1!==l.indexOf("s");default:return!1}},T=function(){return A("h")||A("m")||A("s")},D=function(){return A("y")||A("M")||A("d")},S=function(){var e=t("<thead>").append(t("<tr>").append(t("<th>").addClass("prev").attr("data-action","previous").append(t("<span>").addClass(i.icons.previous))).append(t("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",i.calendarWeeks?"6":"5")).append(t("<th>").addClass("next").attr("data-action","next").append(t("<span>").addClass(i.icons.next)))),n=t("<tbody>").append(t("<tr>").append(t("<td>").attr("colspan",i.calendarWeeks?"8":"7")));return[t("<div>").addClass("datepicker-days").append(t("<table>").addClass("table-condensed").append(e).append(t("<tbody>"))),t("<div>").addClass("datepicker-months").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone())),t("<div>").addClass("datepicker-years").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone())),t("<div>").addClass("datepicker-decades").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone()))]},E=function(){var e=t("<tr>"),n=t("<tr>"),r=t("<tr>");return A("h")&&(e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:i.tooltips.pickHour}).attr("data-action","showHours"))),r.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(t("<span>").addClass(i.icons.down))))),A("m")&&(A("h")&&(e.append(t("<td>").addClass("separator")),n.append(t("<td>").addClass("separator").html(":")),r.append(t("<td>").addClass("separator"))),e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:i.tooltips.pickMinute}).attr("data-action","showMinutes"))),r.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(t("<span>").addClass(i.icons.down))))),A("s")&&(A("m")&&(e.append(t("<td>").addClass("separator")),n.append(t("<td>").addClass("separator").html(":")),r.append(t("<td>").addClass("separator"))),e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:i.tooltips.pickSecond}).attr("data-action","showSeconds"))),r.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(t("<span>").addClass(i.icons.down))))),s||(e.append(t("<td>").addClass("separator")),n.append(t("<td>").append(t("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:i.tooltips.togglePeriod}))),r.append(t("<td>").addClass("separator"))),t("<div>").addClass("timepicker-picker").append(t("<table>").addClass("table-condensed").append([e,n,r]))},I=function(){var e=t("<div>").addClass("timepicker-hours").append(t("<table>").addClass("table-condensed")),n=t("<div>").addClass("timepicker-minutes").append(t("<table>").addClass("table-condensed")),i=t("<div>").addClass("timepicker-seconds").append(t("<table>").addClass("table-condensed")),r=[E()];return A("h")&&r.push(e),A("m")&&r.push(n),A("s")&&r.push(i),r},M=function(){var e=[];return i.showTodayButton&&e.push(t("<td>").append(t("<a>").attr({"data-action":"today",title:i.tooltips.today}).append(t("<span>").addClass(i.icons.today)))),!i.sideBySide&&D()&&T()&&e.push(t("<td>").append(t("<a>").attr({"data-action":"togglePicker",title:i.tooltips.selectTime}).append(t("<span>").addClass(i.icons.time)))),i.showClear&&e.push(t("<td>").append(t("<a>").attr({"data-action":"clear",title:i.tooltips.clear}).append(t("<span>").addClass(i.icons.clear)))),i.showClose&&e.push(t("<td>").append(t("<a>").attr({"data-action":"close",title:i.tooltips.close}).append(t("<span>").addClass(i.icons.close)))),t("<table>").addClass("table-condensed").append(t("<tbody>").append(t("<tr>").append(e)))},j=function(){var e=t("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),n=t("<div>").addClass("datepicker").append(S()),r=t("<div>").addClass("timepicker").append(I()),o=t("<ul>").addClass("list-unstyled"),a=t("<li>").addClass("picker-switch"+(i.collapse?" accordion-toggle":"")).append(M());return i.inline&&e.removeClass("dropdown-menu"),s&&e.addClass("usetwentyfour"),A("s")&&!s&&e.addClass("wider"),i.sideBySide&&D()&&T()?(e.addClass("timepicker-sbs"),"top"===i.toolbarPlacement&&e.append(a),e.append(t("<div>").addClass("row").append(n.addClass("col-md-6")).append(r.addClass("col-md-6"))),"bottom"===i.toolbarPlacement&&e.append(a),e):("top"===i.toolbarPlacement&&o.append(a),D()&&o.append(t("<li>").addClass(i.collapse&&T()?"collapse in":"").append(n)),"default"===i.toolbarPlacement&&o.append(a),T()&&o.append(t("<li>").addClass(i.collapse&&D()?"collapse":"").append(r)),"bottom"===i.toolbarPlacement&&o.append(a),e.append(o))},O=function(){var e,r={};return(e=n.is("input")||i.inline?n.data():n.find("input").data()).dateOptions&&e.dateOptions instanceof Object&&(r=t.extend(!0,r,e.dateOptions)),t.each(i,(function(t){var n="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==e[n]&&(r[t]=e[n])})),r},$=function(){var e,r=(p||n).position(),o=(p||n).offset(),a=i.widgetPositioning.vertical,s=i.widgetPositioning.horizontal;if(i.widgetParent)e=i.widgetParent.append(f);else if(n.is("input"))e=n.after(f).parent();else{if(i.inline)return void(e=n.append(f));e=n,n.children().first().after(f)}if("auto"===a&&(a=o.top+1.5*f.height()>=t(window).height()+t(window).scrollTop()&&f.height()+n.outerHeight()<o.top?"top":"bottom"),
"auto"===s&&(s=e.width()<o.left+f.outerWidth()/2&&o.left+f.outerWidth()>t(window).width()?"right":"left"),"top"===a?f.addClass("top").removeClass("bottom"):f.addClass("bottom").removeClass("top"),"right"===s?f.addClass("pull-right"):f.removeClass("pull-right"),"static"===e.css("position")&&(e=e.parents().filter((function(){return"static"!==t(this).css("position")})).first()),0===e.length)throw new Error("datetimepicker component should be placed within a non-static positioned container");f.css({top:"top"===a?"auto":r.top+n.outerHeight(),bottom:"top"===a?e.outerHeight()-(e===n?0:r.top):"auto",left:"left"===s?e===n?0:r.left:"auto",right:"left"===s?"auto":e.outerWidth()-n.outerWidth()-(e===n?0:r.left)})},R=function(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||n.trigger(t)},B=function(t){"y"===t&&(t="YYYY"),R({type:"dp.update",change:t,viewDate:o.clone()})},N=function(t){f&&(t&&(u=Math.max(m,Math.min(3,u+t))),f.find(".datepicker > div").hide().filter(".datepicker-"+g[u].clsName).show())},P=function(){var e=t("<tr>"),n=o.clone().startOf("w").startOf("d");for(!0===i.calendarWeeks&&e.append(t("<th>").addClass("cw").text("#"));n.isBefore(o.clone().endOf("w"));)e.append(t("<th>").addClass("dow").text(n.format("dd"))),n.add(1,"d");f.find(".datepicker-days thead").append(e)},L=function(t){return!0===i.disabledDates[t.format("YYYY-MM-DD")]},H=function(t){return!0===i.enabledDates[t.format("YYYY-MM-DD")]},F=function(t){return!0===i.disabledHours[t.format("H")]},Y=function(t){return!0===i.enabledHours[t.format("H")]},Q=function(e,n){if(!e.isValid())return!1;if(i.disabledDates&&"d"===n&&L(e))return!1;if(i.enabledDates&&"d"===n&&!H(e))return!1;if(i.minDate&&e.isBefore(i.minDate,n))return!1;if(i.maxDate&&e.isAfter(i.maxDate,n))return!1;if(i.daysOfWeekDisabled&&"d"===n&&-1!==i.daysOfWeekDisabled.indexOf(e.day()))return!1;if(i.disabledHours&&("h"===n||"m"===n||"s"===n)&&F(e))return!1;if(i.enabledHours&&("h"===n||"m"===n||"s"===n)&&!Y(e))return!1;if(i.disabledTimeIntervals&&("h"===n||"m"===n||"s"===n)){var r=!1;if(t.each(i.disabledTimeIntervals,(function(){if(e.isBetween(this[0],this[1]))return r=!0,!1})),r)return!1}return!0},U=function(){for(var e=[],n=o.clone().startOf("y").startOf("d");n.isSame(o,"y");)e.push(t("<span>").attr("data-action","selectMonth").addClass("month").text(n.format("MMM"))),n.add(1,"M");f.find(".datepicker-months td").empty().append(e)},z=function(){var e=f.find(".datepicker-months"),n=e.find("th"),a=e.find("tbody").find("span");n.eq(0).find("span").attr("title",i.tooltips.prevYear),n.eq(1).attr("title",i.tooltips.selectYear),n.eq(2).find("span").attr("title",i.tooltips.nextYear),e.find(".disabled").removeClass("disabled"),Q(o.clone().subtract(1,"y"),"y")||n.eq(0).addClass("disabled"),n.eq(1).text(o.year()),Q(o.clone().add(1,"y"),"y")||n.eq(2).addClass("disabled"),a.removeClass("active"),r.isSame(o,"y")&&!h&&a.eq(r.month()).addClass("active"),a.each((function(e){Q(o.clone().month(e),"M")||t(this).addClass("disabled")}))},q=function(){var t=f.find(".datepicker-years"),e=t.find("th"),n=o.clone().subtract(5,"y"),a=o.clone().add(6,"y"),s="";for(e.eq(0).find("span").attr("title",i.tooltips.prevDecade),e.eq(1).attr("title",i.tooltips.selectDecade),e.eq(2).find("span").attr("title",i.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),i.minDate&&i.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+a.year()),i.maxDate&&i.maxDate.isBefore(a,"y")&&e.eq(2).addClass("disabled");!n.isAfter(a,"y");)s+='<span data-action="selectYear" class="year'+(n.isSame(r,"y")&&!h?" active":"")+(Q(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");t.find("td").html(s)},W=function(){var t,n=f.find(".datepicker-decades"),a=n.find("th"),s=e({y:o.year()-o.year()%100-1}),l=s.clone().add(100,"y"),c=s.clone(),u=!1,d=!1,h="";for(a.eq(0).find("span").attr("title",i.tooltips.prevCentury),a.eq(2).find("span").attr("title",i.tooltips.nextCentury),n.find(".disabled").removeClass("disabled"),(s.isSame(e({y:1900}))||i.minDate&&i.minDate.isAfter(s,"y"))&&a.eq(0).addClass("disabled"),a.eq(1).text(s.year()+"-"+l.year()),(s.isSame(e({y:2e3}))||i.maxDate&&i.maxDate.isBefore(l,"y"))&&a.eq(2).addClass("disabled");!s.isAfter(l,"y");)t=s.year()+12,u=i.minDate&&i.minDate.isAfter(s,"y")&&i.minDate.year()<=t,d=i.maxDate&&i.maxDate.isAfter(s,"y")&&i.maxDate.year()<=t,h+='<span data-action="selectDecade" class="decade'+(r.isAfter(s)&&r.year()<=t?" active":"")+(Q(s,"y")||u||d?"":" disabled")+'" data-selection="'+(s.year()+6)+'">'+(s.year()+1)+" - "+(s.year()+12)+"</span>",s.add(12,"y");h+="<span></span><span></span><span></span>",n.find("td").html(h),a.eq(1).text(c.year()+1+"-"+s.year())},G=function(){var e,n,a,s=f.find(".datepicker-days"),l=s.find("th"),c=[],u=[];if(D()){for(l.eq(0).find("span").attr("title",i.tooltips.prevMonth),l.eq(1).attr("title",i.tooltips.selectMonth),l.eq(2).find("span").attr("title",i.tooltips.nextMonth),s.find(".disabled").removeClass("disabled"),l.eq(1).text(o.format(i.dayViewHeaderFormat)),Q(o.clone().subtract(1,"M"),"M")||l.eq(0).addClass("disabled"),Q(o.clone().add(1,"M"),"M")||l.eq(2).addClass("disabled"),e=o.clone().startOf("M").startOf("w").startOf("d"),a=0;a<42;a++)0===e.weekday()&&(n=t("<tr>"),i.calendarWeeks&&n.append('<td class="cw">'+e.week()+"</td>"),c.push(n)),u=["day"],e.isBefore(o,"M")&&u.push("old"),e.isAfter(o,"M")&&u.push("new"),e.isSame(r,"d")&&!h&&u.push("active"),Q(e,"d")||u.push("disabled"),e.isSame(k(),"d")&&u.push("today"),0!==e.day()&&6!==e.day()||u.push("weekend"),R({type:"dp.classify",date:e,classNames:u}),n.append('<td data-action="selectDay" data-day="'+e.format("L")+'" class="'+u.join(" ")+'">'+e.date()+"</td>"),e.add(1,"d");s.find("tbody").empty().append(c),z(),q(),W()}},J=function(){var e=f.find(".timepicker-hours table"),n=o.clone().startOf("d"),i=[],r=t("<tr>");for(o.hour()>11&&!s&&n.hour(12);n.isSame(o,"d")&&(s||o.hour()<12&&n.hour()<12||o.hour()>11);)n.hour()%4==0&&(r=t("<tr>"),i.push(r)),r.append('<td data-action="selectHour" class="hour'+(Q(n,"h")?"":" disabled")+'">'+n.format(s?"HH":"hh")+"</td>"),n.add(1,"h");e.empty().append(i)},V=function(){for(var e=f.find(".timepicker-minutes table"),n=o.clone().startOf("h"),r=[],a=t("<tr>"),s=1===i.stepping?5:i.stepping;o.isSame(n,"h");)n.minute()%(4*s)==0&&(a=t("<tr>"),r.push(a)),a.append('<td data-action="selectMinute" class="minute'+(Q(n,"m")?"":" disabled")+'">'+n.format("mm")+"</td>"),n.add(s,"m");e.empty().append(r)},K=function(){for(var e=f.find(".timepicker-seconds table"),n=o.clone().startOf("m"),i=[],r=t("<tr>");o.isSame(n,"m");)n.second()%20==0&&(r=t("<tr>"),i.push(r)),r.append('<td data-action="selectSecond" class="second'+(Q(n,"s")?"":" disabled")+'">'+n.format("ss")+"</td>"),n.add(5,"s");e.empty().append(i)},Z=function(){var t,e,n=f.find(".timepicker span[data-time-component]");s||(t=f.find(".timepicker [data-action=togglePeriod]"),e=r.clone().add(r.hours()>=12?-12:12,"h"),t.text(r.format("A")),Q(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(r.format(s?"HH":"hh")),n.filter("[data-time-component=minutes]").text(r.format("mm")),n.filter("[data-time-component=seconds]").text(r.format("ss")),J(),V(),K()},X=function(){f&&(G(),Z())},tt=function(t){var e=h?null:r;if(!t)return h=!0,a.val(""),n.data("date",""),R({type:"dp.change",date:!1,oldDate:e}),void X();if(t=t.clone().locale(i.locale),C()&&t.tz(i.timeZone),1!==i.stepping)for(t.minutes(Math.round(t.minutes()/i.stepping)*i.stepping).seconds(0);i.minDate&&t.isBefore(i.minDate);)t.add(i.stepping,"minutes");Q(t)?(o=(r=t).clone(),a.val(r.format(l)),n.data("date",r.format(l)),h=!1,X(),R({type:"dp.change",date:r.clone(),oldDate:e})):(i.keepInvalid?R({type:"dp.change",date:t,oldDate:e}):a.val(h?"":r.format(l)),R({type:"dp.error",date:t,oldDate:e}))},et=function(){var e=!1;return f?(f.find(".collapse").each((function(){var n=t(this).data("collapse");return!n||!n.transitioning||(e=!0,!1)})),e||(p&&p.hasClass("btn")&&p.toggleClass("active"),f.hide(),t(window).off("resize",$),f.off("click","[data-action]"),f.off("mousedown",!1),f.remove(),f=!1,R({type:"dp.hide",date:r.clone()}),a.blur(),o=r.clone()),d):d},nt=function(){tt(null)},it=function(t){return void 0===i.parseInputDate?(!e.isMoment(t)||t instanceof Date)&&(t=k(t)):t=i.parseInputDate(t),t},rt={next:function(){var t=g[u].navFnc;o.add(g[u].navStep,t),G(),B(t)},previous:function(){var t=g[u].navFnc;o.subtract(g[u].navStep,t),G(),B(t)},pickerSwitch:function(){N(1)},selectMonth:function(e){var n=t(e.target).closest("tbody").find("span").index(t(e.target));o.month(n),u===m?(tt(r.clone().year(o.year()).month(o.month())),i.inline||et()):(N(-1),G()),B("M")},selectYear:function(e){var n=parseInt(t(e.target).text(),10)||0;o.year(n),u===m?(tt(r.clone().year(o.year())),i.inline||et()):(N(-1),G()),B("YYYY")},selectDecade:function(e){var n=parseInt(t(e.target).data("selection"),10)||0;o.year(n),u===m?(tt(r.clone().year(o.year())),i.inline||et()):(N(-1),G()),B("YYYY")},selectDay:function(e){var n=o.clone();t(e.target).is(".old")&&n.subtract(1,"M"),t(e.target).is(".new")&&n.add(1,"M"),tt(n.date(parseInt(t(e.target).text(),10))),T()||i.keepOpen||i.inline||et()},incrementHours:function(){var t=r.clone().add(1,"h");Q(t,"h")&&tt(t)},incrementMinutes:function(){var t=r.clone().add(i.stepping,"m");Q(t,"m")&&tt(t)},incrementSeconds:function(){var t=r.clone().add(1,"s");Q(t,"s")&&tt(t)},decrementHours:function(){var t=r.clone().subtract(1,"h");Q(t,"h")&&tt(t)},decrementMinutes:function(){var t=r.clone().subtract(i.stepping,"m");Q(t,"m")&&tt(t)},decrementSeconds:function(){var t=r.clone().subtract(1,"s");Q(t,"s")&&tt(t)},togglePeriod:function(){tt(r.clone().add(r.hours()>=12?-12:12,"h"))},togglePicker:function(e){var n,r=t(e.target),o=r.closest("ul"),a=o.find(".in"),s=o.find(".collapse:not(.in)");if(a&&a.length){if((n=a.data("collapse"))&&n.transitioning)return;a.collapse?(a.collapse("hide"),s.collapse("show")):(a.removeClass("in"),s.addClass("in")),r.is("span")?r.toggleClass(i.icons.time+" "+i.icons.date):r.find("span").toggleClass(i.icons.time+" "+i.icons.date)}},showPicker:function(){f.find(".timepicker > div:not(.timepicker-picker)").hide(),f.find(".timepicker .timepicker-picker").show()},showHours:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-hours").show()},showMinutes:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-seconds").show()},selectHour:function(e){var n=parseInt(t(e.target).text(),10);s||(r.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),tt(r.clone().hours(n)),rt.showPicker.call(d)},selectMinute:function(e){tt(r.clone().minutes(parseInt(t(e.target).text(),10))),rt.showPicker.call(d)},selectSecond:function(e){tt(r.clone().seconds(parseInt(t(e.target).text(),10))),rt.showPicker.call(d)},clear:nt,today:function(){var t=k();Q(t,"d")&&tt(t)},close:et},ot=function(e){return t(e.currentTarget).is(".disabled")||rt[t(e.currentTarget).data("action")].apply(d,arguments),!1},at=function(){var e,n={year:function(t){return t.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(t){return t.date(1).hours(0).seconds(0).minutes(0)},day:function(t){return t.hours(0).seconds(0).minutes(0)},hour:function(t){return t.seconds(0).minutes(0)},minute:function(t){return t.seconds(0)}};return a.prop("disabled")||!i.ignoreReadonly&&a.prop("readonly")||f||(void 0!==a.val()&&0!==a.val().trim().length?tt(it(a.val().trim())):h&&i.useCurrent&&(i.inline||a.is("input")&&0===a.val().trim().length)&&(e=k(),"string"==typeof i.useCurrent&&(e=n[i.useCurrent](e)),tt(e)),f=j(),P(),U(),f.find(".timepicker-hours").hide(),f.find(".timepicker-minutes").hide(),f.find(".timepicker-seconds").hide(),X(),N(),t(window).on("resize",$),f.on("click","[data-action]",ot),f.on("mousedown",!1),p&&p.hasClass("btn")&&p.toggleClass("active"),$(),f.show(),i.focusOnShow&&!a.is(":focus")&&a.focus(),R({type:"dp.show"})),d},st=function(){return f?et():at()},lt=function(t){var e,n,r,o,a=null,s=[],l={},c=t.which,u="p";for(e in x[c]=u,x)x.hasOwnProperty(e)&&x[e]===u&&(s.push(e),parseInt(e,10)!==c&&(l[e]=!0));for(e in i.keyBinds)if(i.keyBinds.hasOwnProperty(e)&&"function"==typeof i.keyBinds[e]&&(r=e.split(" ")).length===s.length&&_[c]===r[r.length-1]){for(o=!0,n=r.length-2;n>=0;n--)if(!(_[r[n]]in l)){o=!1;break}if(o){a=i.keyBinds[e];break}}a&&(a.call(d,f),t.stopPropagation(),t.preventDefault())},ct=function(t){x[t.which]="r",t.stopPropagation(),t.preventDefault()},ut=function(e){var n=t(e.target).val().trim(),i=n?it(n):null;return tt(i),e.stopImmediatePropagation(),!1},dt=function(){a.on({change:ut,blur:i.debug?"":et,keydown:lt,keyup:ct,focus:i.allowInputToggle?at:""}),n.is("input")?a.on({focus:at}):p&&(p.on("click",st),p.on("mousedown",!1))},ht=function(){a.off({change:ut,blur:blur,keydown:lt,keyup:ct,focus:i.allowInputToggle?et:""}),n.is("input")?a.off({focus:at}):p&&(p.off("click",st),p.off("mousedown",!1))},pt=function(e){var n={};return t.each(e,(function(){var t=it(this);t.isValid()&&(n[t.format("YYYY-MM-DD")]=!0)})),!!Object.keys(n).length&&n},ft=function(e){var n={};return t.each(e,(function(){n[this]=!0})),!!Object.keys(n).length&&n},mt=function(){var t=i.format||"L LT";l=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,(function(t){return(r.localeData().longDateFormat(t)||t).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,(function(t){return r.localeData().longDateFormat(t)||t}))})),(c=i.extraFormats?i.extraFormats.slice():[]).indexOf(t)<0&&c.indexOf(l)<0&&c.push(l),s=l.toLowerCase().indexOf("a")<1&&l.replace(/\[.*?\]/g,"").indexOf("h")<1,A("y")&&(m=2),A("M")&&(m=1),A("d")&&(m=0),u=Math.max(m,u),h||tt(r)};if(d.destroy=function(){et(),ht(),n.removeData("DateTimePicker"),n.removeData("date")},d.toggle=st,d.show=at,d.hide=et,d.disable=function(){return et(),p&&p.hasClass("btn")&&p.addClass("disabled"),a.prop("disabled",!0),d},d.enable=function(){return p&&p.hasClass("btn")&&p.removeClass("disabled"),a.prop("disabled",!1),d},d.ignoreReadonly=function(t){if(0===arguments.length)return i.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return i.ignoreReadonly=t,d},d.options=function(e){if(0===arguments.length)return t.extend(!0,{},i);if(!(e instanceof Object))throw new TypeError("options() options parameter should be an object");return t.extend(!0,i,e),t.each(i,(function(t,e){if(void 0===d[t])throw new TypeError("option "+t+" is not recognized!");d[t](e)})),d},d.date=function(t){if(0===arguments.length)return h?null:r.clone();if(!(null===t||"string"==typeof t||e.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return tt(null===t?null:it(t)),d},d.format=function(t){if(0===arguments.length)return i.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a string or boolean:false parameter "+t);return i.format=t,l&&mt(),d},d.timeZone=function(t){if(0===arguments.length)return i.timeZone;if("string"!=typeof t)throw new TypeError("newZone() expects a string parameter");return i.timeZone=t,d},d.dayViewHeaderFormat=function(t){if(0===arguments.length)return i.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return i.dayViewHeaderFormat=t,d},d.extraFormats=function(t){if(0===arguments.length)return i.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return i.extraFormats=t,c&&mt(),d},d.disabledDates=function(e){if(0===arguments.length)return i.disabledDates?t.extend({},i.disabledDates):i.disabledDates;if(!e)return i.disabledDates=!1,X(),d;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return i.disabledDates=pt(e),i.enabledDates=!1,X(),d},d.enabledDates=function(e){if(0===arguments.length)return i.enabledDates?t.extend({},i.enabledDates):i.enabledDates;if(!e)return i.enabledDates=!1,X(),d;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return i.enabledDates=pt(e),i.disabledDates=!1,X(),d},d.daysOfWeekDisabled=function(t){if(0===arguments.length)return i.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return i.daysOfWeekDisabled=!1,X(),d;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(i.daysOfWeekDisabled=t.reduce((function(t,e){return(e=parseInt(e,10))>6||e<0||isNaN(e)||-1===t.indexOf(e)&&t.push(e),t}),[]).sort(),i.useCurrent&&!i.keepInvalid){for(var e=0;!Q(r,"d");){if(r.add(1,"d"),31===e)throw"Tried 31 times to find a valid date";e++}tt(r)}return X(),d},d.maxDate=function(t){if(0===arguments.length)return i.maxDate?i.maxDate.clone():i.maxDate;if("boolean"==typeof t&&!1===t)return i.maxDate=!1,X(),d;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=k()));var e=it(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(i.minDate&&e.isBefore(i.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(l));return i.maxDate=e,i.useCurrent&&!i.keepInvalid&&r.isAfter(t)&&tt(i.maxDate),o.isAfter(e)&&(o=e.clone().subtract(i.stepping,"m")),X(),d},d.minDate=function(t){if(0===arguments.length)return i.minDate?i.minDate.clone():i.minDate;if("boolean"==typeof t&&!1===t)return i.minDate=!1,X(),d;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=k()));var e=it(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(i.maxDate&&e.isAfter(i.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(l));return i.minDate=e,i.useCurrent&&!i.keepInvalid&&r.isBefore(t)&&tt(i.minDate),o.isBefore(e)&&(o=e.clone().add(i.stepping,"m")),X(),d},d.defaultDate=function(t){if(0===arguments.length)return i.defaultDate?i.defaultDate.clone():i.defaultDate;if(!t)return i.defaultDate=!1,d;"string"==typeof t&&(t="now"===t||"moment"===t?k():k(t));var e=it(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!Q(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return i.defaultDate=e,(i.defaultDate&&i.inline||""===a.val().trim())&&tt(i.defaultDate),d},d.locale=function(t){if(0===arguments.length)return i.locale;if(!e.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return i.locale=t,r.locale(i.locale),o.locale(i.locale),l&&mt(),f&&(et(),at()),d},d.stepping=function(t){return 0===arguments.length?i.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),i.stepping=t,d)},d.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return i.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&-1===e.indexOf(t.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return i.useCurrent=t,d},d.collapse=function(t){if(0===arguments.length)return i.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return i.collapse===t||(i.collapse=t,f&&(et(),at())),d},d.icons=function(e){if(0===arguments.length)return t.extend({},i.icons);if(!(e instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return t.extend(i.icons,e),f&&(et(),at()),d},d.tooltips=function(e){if(0===arguments.length)return t.extend({},i.tooltips);if(!(e instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return t.extend(i.tooltips,e),f&&(et(),at()),d},d.useStrict=function(t){if(0===arguments.length)return i.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return i.useStrict=t,d},d.sideBySide=function(t){if(0===arguments.length)return i.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return i.sideBySide=t,f&&(et(),at()),d},d.viewMode=function(t){if(0===arguments.length)return i.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===v.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+v.join(", ")+") value");return i.viewMode=t,u=Math.max(v.indexOf(t),m),N(),d},d.toolbarPlacement=function(t){if(0===arguments.length)return i.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===b.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+b.join(", ")+") value");return i.toolbarPlacement=t,f&&(et(),at()),d},d.widgetPositioning=function(e){if(0===arguments.length)return t.extend({},i.widgetPositioning);if("[object Object]"!=={}.toString.call(e))throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if("string"!=typeof e.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),-1===w.indexOf(e.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+w.join(", ")+")");i.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if("string"!=typeof e.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),-1===y.indexOf(e.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+y.join(", ")+")");i.widgetPositioning.vertical=e.vertical}return X(),d},d.calendarWeeks=function(t){if(0===arguments.length)return i.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return i.calendarWeeks=t,X(),d},d.showTodayButton=function(t){if(0===arguments.length)return i.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return i.showTodayButton=t,f&&(et(),at()),d},d.showClear=function(t){if(0===arguments.length)return i.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter");return i.showClear=t,f&&(et(),at()),d},d.widgetParent=function(e){if(0===arguments.length)return i.widgetParent;if("string"==typeof e&&(e=t(e)),null!==e&&"string"!=typeof e&&!(e instanceof t))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return i.widgetParent=e,f&&(et(),at()),d},d.keepOpen=function(t){if(0===arguments.length)return i.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return i.keepOpen=t,d},d.focusOnShow=function(t){if(0===arguments.length)return i.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return i.focusOnShow=t,d},d.inline=function(t){if(0===arguments.length)return i.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return i.inline=t,d},d.clear=function(){return nt(),d},d.keyBinds=function(t){return 0===arguments.length?i.keyBinds:(i.keyBinds=t,d)},d.getMoment=function(t){return k(t)},d.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return i.debug=t,d},d.allowInputToggle=function(t){if(0===arguments.length)return i.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return i.allowInputToggle=t,d},d.showClose=function(t){if(0===arguments.length)return i.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return i.showClose=t,d},d.keepInvalid=function(t){if(0===arguments.length)return i.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return i.keepInvalid=t,d},d.datepickerInput=function(t){if(0===arguments.length)return i.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return i.datepickerInput=t,d},d.parseInputDate=function(t){if(0===arguments.length)return i.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return i.parseInputDate=t,d},d.disabledTimeIntervals=function(e){if(0===arguments.length)return i.disabledTimeIntervals?t.extend({},i.disabledTimeIntervals):i.disabledTimeIntervals;if(!e)return i.disabledTimeIntervals=!1,X(),d;if(!(e instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return i.disabledTimeIntervals=e,X(),d},d.disabledHours=function(e){if(0===arguments.length)return i.disabledHours?t.extend({},i.disabledHours):i.disabledHours;if(!e)return i.disabledHours=!1,X(),d;if(!(e instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(i.disabledHours=ft(e),i.enabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!Q(r,"h");){if(r.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}tt(r)}return X(),d},d.enabledHours=function(e){if(0===arguments.length)return i.enabledHours?t.extend({},i.enabledHours):i.enabledHours;if(!e)return i.enabledHours=!1,X(),d;if(!(e instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(i.enabledHours=ft(e),i.disabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!Q(r,"h");){if(r.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}tt(r)}return X(),d},d.viewDate=function(t){if(0===arguments.length)return o.clone();if(!t)return o=r.clone(),d;if(!("string"==typeof t||e.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return o=it(t),B(),d},n.is("input"))a=n;else if(0===(a=n.find(i.datepickerInput)).length)a=n.find("input");else if(!a.is("input"))throw new Error('CSS class "'+i.datepickerInput+'" cannot be applied to non input element');if(n.hasClass("input-group")&&(p=0===n.find(".datepickerbutton").length?n.find(".input-group-addon"):n.find(".datepickerbutton")),!i.inline&&!a.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return r=k(),o=r.clone(),t.extend(!0,i,O()),d.options(i),mt(),dt(),a.prop("disabled")&&d.disable(),a.is("input")&&0!==a.val().trim().length?tt(it(a.val().trim())):i.defaultDate&&void 0===a.attr("placeholder")&&tt(i.defaultDate),i.inline&&at(),d};return t.fn.datetimepicker=function(e){e=e||{};var i,r=Array.prototype.slice.call(arguments,1),o=!0,a=["destroy","hide","show","toggle"];if("object"==typeof e)return this.each((function(){var i,r=t(this);r.data("DateTimePicker")||(i=t.extend(!0,{},t.fn.datetimepicker.defaults,e),r.data("DateTimePicker",n(r,i)))}));if("string"==typeof e)return this.each((function(){var n=t(this).data("DateTimePicker");if(!n)throw new Error('bootstrap-datetimepicker("'+e+'") method was called on an element that is not using DateTimePicker');i=n[e].apply(n,r),o=i===n})),o||t.inArray(e,a)>-1?this:i;throw new TypeError("Invalid arguments for DateTimePicker: "+e)},t.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:e.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m"))}},down:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m"))}else this.show()},"control up":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h"))}},"control down":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h"))}},left:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d"))}},right:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d"))}},pageUp:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M"))}},pageDown:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(t){t&&t.find(".timepicker").is(":visible")&&t.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},t.fn.datetimepicker})),function(){var t,e,n;t=jQuery,n=function(){function t(){
this.fileLoadingImage="data:image/gif;base64,R0lGODlhIAAgAPUuAOjo6Nzc3M3Nzb+/v7e3t7GxsbW1tbu7u8XFxdHR0djY2MHBwa2trbm5ucnJyaSkpKWlpaGhoeLi4urq6u7u7ubm5vLy8vb29vT09Pr6+v39/aysrK+vr7Ozs8fHx9vb297e3qmpqb29vdPT06amptXV1aCgoMvLy8/Pz9fX18PDw/j4+Ozs7ODg4PDw8KioqOTk5JqampmZmZycnP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJBwAuACwAAAAAIAAgAEAG/0CXcEgECQ6bUGRDbDpdimTo9QoJnlhsYVvojLLgrEAkGiwWiFTYldGsRyHSYz6P2COG9XCw2TAYeXprCQYEhQcKgoouAQ4IHg4CAiMpCiASFRMUFhgXFxkZawEDcnd2Jh2LLiAdLyQvELEFX6pCAQx9fQ21T1wFHCi8TwcGxQYnwk8eBAcHZQnJTh8D1I8OJwmWMBMsFJudoG4u4mAgIwIoCSMKlpjcmxeLCgcPJianEcIKBXR1prVRSMiBUIfDAA8JoC1SMYWKKw/RXCzoE6IixIgC+uDaQCsiAQ4gOSCIOMRXhxIkhRjoYEwhSQTGCAxIyYiAzWYjU35o5oxaIj095J6AWFDmDAIHCVpgubCizRoFKtBAQjeixIdLADRZYBpOQ1An5qYmLKEgQAsYWb95UiUhgIJK7bZRCBMEACH5BAkHADMALAAAAAAZACAAAAb/wJlwSAQJRJxNJMLgHBzE6FBxeD0ey2zEBJESA4sXBHItZ2MJr1DReZFIZfNS9lGXOC83aRzPktQKHCEheW4QBQseCQkeAwZeIAYbG4OEBiNqXgiTnBsemV6BkwwbDCigXioMq6RQqFEBHLKyB69SKAW5BRwltlELugW1vkQHBh3In8RDBs3NactCBM4GvdEzBNMGBNbRB9MEB9DRAwQNBwcC1zMe5wciCOsj7wcDAwrXAe8i9ifrDvwGLEDQjdgHewtUIPBQJxqKBQM9OBDQkBgIBws9CBCQQAEMNRk0SAngoeTGBCMUgKgwgYIFDBcyhPTywSTHEiolsHR5YcVMMkgoOCbACUJny5cxf0ppkWIRzgAtYABg4QKmz5AivUhQ8LTozqo9M9iS0KKFURY8iQQBACH5BAkHAAAALAAAAAAZACAAAAb/QIBwSAShRBzGA8LhHAQgolSoEIVIENJjG+maHgfFFBBQbUKvF3bL7kZMpoFUYTij0xAI++E2yVJEJQUbhCF3JGsRfF0xB0QKg4SFIR0qDgkJHgMhjEUESZIbBiNjAAkvAkQeHAUFTRwOpaUKHa22CbKlCLatsblTAQYdwgVyv1MJBsrKJcdTCMsGxs5EAwQEBgQn1FIH1wQHpNxDBw0H52LjQucHIiKA6gAi7SID4uoL9QMLuPEOA/sW+FI3IiACDwHigVCB4OCleKYOejgh4INChwIEJJAQLxPFBCNKcBwHIiOKBCUUfJAwgaRGlApASKgwwQWGCxkyaNAgC8SIMxEpYs6cQMHChRU6f0lQEFQmzaJHk/6CAeKDU6JGkfJ0VkHCUAo2cerc6mwC0bBayQIIAgAh+QQJBwAuACwAAAAAHAAgAAAG/0CXcEgEJQaFAomUHAhAxGhUMWCErq/X8sF9HRRSYgDB2ZixWgiXG4kMAuFPg2Gmb0JZEkTNbnPARCUGHAUcDHZYS3wPbW0QCUMfBklJhhsGCA4JCQ4LDH0RMzIcQiAHBR2UBQclYS4JBY0mA0MOBrepBieuRAgmMhuRBLfEkLxEJwdEHgbDtwLHxwEE1NQq0ccjDdQHX9i8Dt3d19+uCyIiB07lrgPu7q3sUu8LCx/y8/ULCPf4vQgAPQDyJ8RBQAfxCL5C4MGBAGMKFTA88VCCQhcgHDhEMWIgwRECUCQYkcKiQhAiSSoAAeCiggQlFHwAIWGCQgkpUqxsAQMABToMBCXIpFlhAgULF1Zk0KCBnQQQRI0iVdpUXgUJEooeTbrU34QKWqd2JUiBxVaqTC9iwHAhg9u0roIAACH5BAkHADMALAAAAAAfACAAAAb/wJlwSAQlFoZOKNQpDFAgonQq/CwKjI12E3p5IaGDgjoNeAoFDoeR5XpfJAiENAiQq6ImOt1efiEPgRxjVCkHBkl7axsMfnGADxERLyNTH4eIBgVNBAgnIyMOCxwvgYGSL4RCIAMGBJkGIiVkIx2QkhEcdkICBK+/AndDCBC4kgNVBwcNzAeVwkMCkZIxMR8zJyIiygco0FIIESYyBava2gMe31MbL0QjA/HxqutVUgILAwsL6vXCHgtULEDwzB8ZDwgSeqBnEJwHDw4cRGlIBQFEAQImUpQSESOUjVNQYEyQYBfIISVQJBhR4trJIR9IlkjxocJLIRJY0gQh4WaVTxQKArSQMMGnBAUfeFaY4MJnCxAtYCylgOFmhaFLWbjAcCHDSwASplq4sCKDBg0nJwCYQGFsWbQvKcjlmsGszxkW3Nq9y/Ut3Lsz6u6tFwQAIfkECQcAAAAsAAAAACAAHwAABv9AgHBIBCUQBsOGkVwkQMSodPhBdApYzma7CYU2IsV0CnIQklcsg7H1vl6hQWBMHRjOhnSBw+6G3iQQBWJjCgcEiEkGWXxtfy8QEA8hI1MfAwcNiUkHHgIjIycIBX+BkpOEQyAqByIHmQQLJWMjBpEPuBEFUEMCra+vKHRDHiS4DxERA3UDzQMis8O9xrkRhALOzQnSUQjIyREHACAIKggLCyfcUh3gyR8pCPLyH+tRI+AmJh4oCB4eDgTYk8IhQgwZMQYIcODghIMUA6McIDGgHoCGAjLOiUgnowAUCVpwpAMyASgJI8ckSFCihAKUKaW0TKHgA8yYROApCADiJk5QIS0+8JQAg8LPIRU+9IRRYcLRIRKINqVg4SmACRKmurBwweqECSyoXriQ4SmFCVQxkM2gQcNRCmJXsHX71ILaDGytChmLl65eAH3/EvGbMggAIfkECQcAMQAsAAAAACAAHAAABv/AmHBIjI0QB0KhQCCoEqCidPpBNAzYzrLA2Ww4A8V0ChIkm1jDtuv1qgLj4Ud1ODQIafWSw2iHQh1iYwoLdXV3aXt8Xn8vLxsjUwELAwMihgcDDgIlIwIIBoyOJCQhgkMgDpSVlginRSMGIS+kpAVRQwkICJSUCXFDHrMQD8UDqLvJrsBEKCQQxA8vggke1tYlzEUe0cUHMS0O4icOv9pFBsUPEQ8fCgLw8LjnQyPs6xEeJQkoCQmR9IpwiEAwAoF9IxLCCUhkQMEIDEpITKFAAkMiJx5CSEHxw4cKF3MVNBHBI4iTAEIKSTAywskWEmBMUDlFQswKFVjQlIKzwoQ6CRR2FpkAACgFFxiEDqEA1IUFDBeULqVg4cKFFRmkxsDwFGuGDBq0Wv2qoWxYqWTPao1Bdi2RsmuDAAAh+QQJBwAqACwAAAAAIAAaAAAG/0CVcEhUlRwDkcEgOiASoKJ0GnA0G4Ts0lDoLhTTKUiQbB4IW0OnW2BwEIHwEORYDJKHPHq57jI2GwZgYR8eCAh2d2Z7bBx/gAUlYh6Ghwt2CAIJKSUoDgQFjo8hHINDLZ6UlQ6mRSUNgBshIS8dUUMpAicCAg4eknJCDn+0JC8LQxIJCby8ccFDCbIvJMaDCsvZH9BFHi/U1CIqMCXlJSOt3EIGJBAPECQfLQr09DDqRSMQ7g8PDiABAgC8hY9Ih37vDoBYKKFFhYJFFiB8UECCxQoVJkAkciJCvwgkYGAEMIHCxmgeH0SIQHICCwoWTgpJsLJmSQouLGCQqaJjTT0IFGBiuHCB54CaEThYsED0QgaeDWbIiGGiwVCnGTJo4KkCxIIXCFRg1UCWa5GsZc2e1ap2Ctu2UrbCFRIEACH5BAkHADAALAAAAAAgABkAAAb/QJhwSISVTovBgTAYeEagonQaEKgGooN2STB4VZ/pFJRAqK5NbaPr7RQ6noB4CBIg7oik8rD2GtwFHAQKc3UODh53KklZDQ1+BZGBBSVTLQkCAoceiR4JIyklCQ4HBpIcDBsFhEWimAInDgJhUyUHgRwbugZRdCMjCcEorHMwJwWpuhsqQxUKKaGivcVCCbkbISEbrBIf3goK09RCHtjZIQMwEy0g7QHi40INIS/1Lx8AEvr6APFFI/ZIkDgxAUCFgxX8SSnwAoLAAxMiRmShsMgCEg8cFqDAkaOLikQEPBj5IISFkxgsYAA5JAHJjBdiymRZ7SWEFRkyrFhxgaaxQwgjI7zISTSDzwERkkbgoKFpU6M0NyiNQEDDEA1QQSYwkdSECQdEmtJ8EYErV1o+hziYIcPrgbRTEMiYQQxuEQRCggAAIfkECQcAMQAsAAAAACAAHAAABv/AmHBIjClQHsRApFqcRsWoNAZKJBHNweDAJTQQn2lUkhI4PNeFlnsgGAgER0AslIxQArMDgdWKDg0NbwYdB2FTEiUJiwInZ3xqf4EGlB0dBiVSMAopIyMJeCcCIyUKCiMCIoKVBQUGh0QgHx+cnyMgUykDlq2tBLhDMCAgAQGmwHQCBr0cDAhDEzASEi2yEnRECQUczRscCkITABUV0xXYRSfcG+wLMS4sE/Lk6FEH7OwMARYuFP4TFOoVGYFvQwgBGBLyCyiwiAGDIUIMuEAxIYaGRRZseMHRQIYMKyhewEhEwAsSJzd8XLmC5JAEJCCQmKmhpoaPLoUkgMBz5pBSmxlyxhDwoCiEEEQ0CI2xoGjRAkuLcHD64EDUlxGoOrgqhEPWBxEgwFqKwESEsyasXnUQwezZCOCuDpDh1sQArkIE0DURYg7eGHMfZPqbNwGRIAAh+QQJBwAuACwAAAAAIAAfAAAG/0CXcEh0gUqCEwLhcAhKxajUJVGMEgKBw7NcDL6OzzRaASlKV1TS0f2KDocTaCwEtAIfRSqt5XoHbw0EA2JTExISICABemknbAhecAcEBAcpUhQAFRWIiwoKHx+LewiAcAYEBg2FRCwTsBUwiBVTCggHDQa7BiJzQxYUwq8AE3RCKJW8BR5DFxgW0cIUx0Mjux0F2gpCF97eGBjVRAIG2toqQisZGSve40UD5xwFAez37PBEJdocHBsCMmgYOFBfkQb/NmwYUFCIBoNEEDBQuMHAQ4hSBFDcwAHjlBEKQ4j0KCWByBAvQpCMIgDlixcbVhZZ8JLEiwIyiRQgwZPEgU6cQkZAGEoCwgmgLgw8gLCURKuVCB5Ilfozp4ClU19wk4kgQoSpDwbIDPDCq9kIDALkDDHj7AMoQGOY8PoiAdKkMdBuvUtChNq7Qp4SCQIAIfkECQcAMAAsAQAAAB8AIAAABv9AmHBIlHxKCZRgmVAQn9AhwKgojRIJwcmD6AoCUShl2gJ9qlctF6EaLASgsNA1AVQk5TNS6eAuBgMHKh9hFhQsExN3EgEfKVgCfQh/gQcDTk8XGBYuh4oSoKAtRwKTgAeoB4REF62bFIkTYR8OpwcNBANxQhkZKyuaFhZyQwkiqAQEBg68vb3AF8REJbcGygSEGtoaztJPCcoG4ggwGkPc3lAL4gYdHWDn5unT4h0FBQLz0gf39wv6xDz0K9AAoBwUHApwSGgwzIiFHDYwaBhlBAMGGyRShCIgY0YOG58g8LjBQEgiBkKE2BBiwEkhI168CDEz30sDL0jIDLEqpAdOCBByvnB5UgAJoBB0YtqIAMIDpBCIUkxQIMKDq1c5wDN4YEOEr1gfvEix0YCJr1a/hhgRckEMtF85LN0Y4+xZEVtD1n3QYO7JESfyQgkCACH5BAkHADAALAQAAAAcACAAAAb/QJhwCANIQB/FaFn6EJ9QC6tSOSZHCZTg5EgEoE+MizWptgKKUiKx9SAQCRAYdsFYKCxAFZnCChxuCCoeX0QZGSt1d2VWSmyAbyoLCwpEGhqIdRQTE3p7CgmQCAsDpU5DmBmKFnMBAqOlAwcqcqiZc0QjpLIHBwKWiLhPKSIivb2nMJjCUAm9DQ0EHszMCNAE2IXUYCnRBgQGCdu4AwbmBgjjcw7mHR0H6mAJ7R0G8VAlBfr6908j+/z6DUHBAaDAIQg4KOTQ4KAQAgw2SBzgcITEi78OEri4gYG2ex5CiJS44KCAEC9ejKzUDwGJlylDqOj3D8KDBzALfMS1BsGANw0Rbt58uSHFOA4RkgYVijPECHURTChl+qAAy3EdpCoNSmLATmomwop9cOBqvAImQmxoIKDWnCAAIfkECQcAKQAsBgAAABoAIAAABv/AlFBooUwqsBYoAAINn1Dh5VJkHSWgj2KUUDijwoz4giles9sESlD6PjXwzIpKYVUkSkVJLXAI3G9jGC4sADASAXoJAicOHh4fUXFTg0Z3H3uMDggIHgGSYmApEiWanCoegHCiTwqOnAsDAqy0CrADuJG0oiUquAMHJ7usDrgHByKfw1EKIiLHBwnLYCrQDR7TUQINDQQEA9lQCd0GBA3hTyUEBuUG6EMl7PLvQgny7PQpHgUd/Af5BwoILKCCXgkOAwugoHeAA0KEysI52ECRAYOC6FAwoEiRgwJ0HjaE4LgBQbgRBl6oHLmhQ0QoBwZ4SJDAwwIOEEiofBEihEc+VhwiCBX64AEECC90vuAwgpaMoUWjPiChs8NHVgpiQJWa88WCl2BezDAxlOiDFweu7vrQgGIEExs4HPhDKwgAIfkECQcAJwAsBwAAABkAIAAABv/Ak/CkyWQuGBdlAqgMn9BnEWlZViQgECzKnV6qkyvoo/hIuEPNFAMWf0qjUgutNiJdrAqsBVKUEoABaEYrVEt7ZCMJKAICIGhoFQEKio0ejpBoIIsCDh4ICZmanZ4ICIKiUQqlCCooqVwopioLC4+wTx8ItQMDI7hQHr29DsBPCcMiKsZDJQfPBwPMQinQz9MnzgcEDQ3YCQ0EBAbe0w4G4wbS0wMG7gYI0yUdBvQGocwiBQUd9KjADvYJjGcsQQEOAgsoMOaBg0OEHDw8CRACX5QRBjZo3MCAg4F/J2LMMMFgAKgEHhYUeBEixMYNCo+ZiEAzwoObN0m8YLmxQAk0KDJMCLWJM+fOlhsMLHxSQuhQojchkNDpcgHIIQoaRHiKk4TUECKWQgIh4ADHmw4PYIIUBAAh+QQJBwAAACwEAAAAHAAgAAAG/0CAcEjUZDKXi8VFbDqdGmPSQplYn9hiZqWsViSwSvYZRWKoky8IBBsXjWYXawKTgBSKlpu4vWC8Ei0BCiUlEntPFGofhAkjeohOFYMlIwkCKZFPEimWlwIgmk4gCSgCJw4Jok4lpw4eCKGrQyACrwgqmbNDKB6wCCi7QyMIuAgOwkIpCAvNC8kACgsD1APQCtUi1sklByLe28ICB+QHz8kLDQ3kHskpBPDwqsIDBgT2BAHiBvz87UO2IiXo0KEfgQ9DHJiIgGDPiQIQCXZAJmREjBkRInAYgaUEAQ4QIzbQB8BDjBgZUxZYkGqEAwQGNjDgABKiAQVDPpBIGeGBT0kIQF+8CLFBpkyQBko0UcBgYU+fDyA8EDq0aFEGBHA6CSAiJVQSEEgIJVqUAwKSWBQ0IPGVhNihITgM0Lqn1gGaD0iAHIBCFpYgACH5BAkHADEALAIAAAAeACAAAAb/wJhwSCzGNJqMcck0IjOXC6ZJLT6lFle1+oRiXKwJa7vsRi2USaUCIC8zK6krXZG0Ku7lBa2GtUAgeUwUaxIgHwqBgkYTdocKJRKLRhUBiCUJCpNGAZAJny2bRBIjnwICH6JEJSinAgmqQwoCJw4OArFCH7YevbkxH70Iw78fw8e/KQgqzAi/CQsD0h6/CNLSJ0SKggoHIiIDIiNDIRyTCAfp6QExGzImEc55Ag0H9QfZDybw8LhkIwYICCQgIpWICPAiRHggj4oAAxADGsgWA0SIhA8yFhi3pMSBDhEhithW4oHCjBlJFFDhYMQIBwgMcChQICQBTUQSQDiZEQKJRxcvQmwYymEmzQ4dCKRYooADypQ/gw7dYJTmgVRMAgyA8MAniZ9CpzIoWgABuyrdXjyIGiLs0AILsLoBIUAEzbYgFyTYtiQIACH5BAkHAAAALAAAAQAgAB8AAAb/QIBwSCwaAZqjcqnUZJjQpXN1iVqFGucFg7kys9Oty+JtOjOXi4VCKS/RahdrMnEr45RJBVa3G9d6FRISfkd6MBIgIBWFRSyIIAEfhI1EiQEKJR+Vlh+ZJSWcQxIpJSMJI6JCEqcJKCiqAC2uArWxH7UnukMnBh6FKQ4nDh61LyYxEQyFAh7OCAkeJiYR1Ql2Hwja2ikf1d8Fdg4LCyoqCCAADdTfCGUJA/HxAkIK3w8PJPRWJSLy8ZuEDKiGL98vKCgOKDwg4sA+IQE2RCj4AIKBVEdKLCBAYOGBBemIpAhBkcSLEAYQnBgxolkDAzANEGhwYEDAIiNIQoBAwmSIRw0bGHDgUKBATI4dUyxRUICnyZNAhRYt0AEmAQM2oQQY8KJriJ9Bh0616iBkFAUiNnwFCpRo0Q4IbnoBgWIATKAyVSQweyQIACH5BAkHADEALAAABAAgABwAAAb/wJhwSCwaiRpN5shsFpNLp/QJzVym2Fj1csFkpZkw10L+OldjF4VidmIs6gmA1WZiKCx5BVBn6isSMH1HE4ASLS2DRhOHIAEfBRwcBQWKFQGPHwoRJiYRESODFQqkJSUQn58egy2mI68bqREDgx8JtwkjBJ6fHIMjKAICKCUeng8PoHUgwifCCh/JyA8ddSgO2NggMQfTDxCrXyUIHuUICUIKJN4kKFkKKioI8wjbQgPsIeFOCQP+C/PQDQnAgYRBEi9CGCjBJAWCAyL8DVjgwd6QFCEMvki4YQMBDwJMCXAw4IBJiP8+HBmxYWOIEB0ZSKJkoCaBBg1ODlDQREGHN5cdN8ikVKCmzZwHVKh0EmBB0I6TKHWwSYDAAQEWpSgYwAEq0ak2ESw1AyLBAgIGKFlFMCKrkSAAIfkECQcAMgAsAAAGACAAGgAABv9AmXBILBqPmqNyqUwyn01NBkqVJTXSafWJzV5kjoJge8yYV5c0wRQzhcbkIfqCwVg2kXxkEB/S7RQUEHoRcH0YLoEsE4QRCX1CLosTExV6DxEokDIUABWfEoMPmA6bEzAwEqocEaMPC5sVIC0gtQeuDwWbIB8BHx8gDq4QECN9EgrJKSktHyQQDxAkBn0pIyUj1xIyByQv3y8eZB8J5eUKQgovJN4vG5pUHycC9CgJLUML698bG6VPJTw4OEHwRAoiAQq8CBGi34YGJZR8cIAAgYeLHgTgI5KCQcMNDBhw4HDAgYASJRIIUDFgwIIFFS0GODKCg0ORBXIaMEDggM8/Ay0HqLD4YYkCA/1wFuiwk+dPEUEdzGQSAAEHpUyb9jwgAqgAEFUULMhZQCsBAg24Su0DIgGCtDuBehgBdkkQACH5BAkHADIALAAABwAgABkAAAb/QJlMJSwaj8hkURGZOZTQqOxgMsVMAqlW+ImYIuDGVuv4giOJMVSjIZwjDPWRLWNnOJHHIzKQGzNsGhkZL3l7J35Fg4srEHp6aYkyKxeVlY8PEJGJFxieFhYvehAQiJIYLqAUFAUkjiQLkjIULLW1ByS5Lx2yEwC/ABMnui8hI4kTEhUwzBMfL9AvGwSJEiASLdkTMgMhxRsbT2oSCh8BINdCChsh4Bscm1IgIykK9h8VRSrgDAwcBaaifEiQYMSIEiVAGAlgwN2/AgdKKAmA4oQAAQQTlJBwREGBDf4KiDQgAqO9EQkcIPDgwKIAFAlaJClR4GGBDgYMEDhwQMSAQAELEKxk6UCAQiUKCDzMmXNnz59BhXowKiUAgpFNCTR4+lMoggRHtXxAwJSA1p4+ByBAESDRPAQ/dy5Y4CBhlCAAIfkECQcAJgAsAAAEACAAHAAABv9Ak9CUeA2PyKTyqCDNjMtoFLSJRGJQqXY4sFplpO1W4bU+EmLtIfJ4WBFp6YfEdnfiUke7HUHjlwd7DwV/UQUQDxAQC4VLLySKEAKNSRokl5cjlCYaGpwaL4+hfoUZGZ0aGRuhLyEnlKaxGR2tLxsqlBe6uwMhvhsGlBYYGBfEAiEbyhslhRYUFBYWLhYBDMsMB4UTEyzQ0SYLyxwFr3EAFRUA3CxCChwb5AUdpFoVIBISMDAV7UII8goUMDBJS4sPH0CAaNGiwpEABOR1MGBgQIolIFKMSKEAYQAQAJAoMCBwIsUGCwSMUKAgRQkBAlAkGFGC4weHSUqQNGmgwQFNEQMGLEDgwQFMmSM2Sojy4QBFAlAP/BSqwkPREzETlFgqJYADqFGnCkVA1oFRBVy3fEDQwKfUoEPJehgBohCIEQ4WLDgwgCgKBXWjBAEAIfkECQcAKAAsAAABACAAHwAABv9AlHAoVBCPyGQyIJopn1CUgmMyRaLY4YhkNc1A2aiCFCmXnWEliFN+mAtp5cD9cEcQ8eS4zhfkkyJ8dXh/Rx8kEA8QEAaFSCcQL4sQI45HBySZL3CWRAUvmgudRBsvpiF+o0IhrCEblaoorhu0CbEoHLS0qaoGugyEfxpEGgO0DBwNjhrMKMwCGwwF0yV/GdfMGhkBBRzTBSJ/FxfX10Iq3tMGvFkYGOPjK0XTHQb2sFgUFC4W7u9DHgrYs0fAVpQJACaw2OcCA5EADQYaIHAAgZEkFSRIqFBhgkIKSBQQmDjxgIgBCEakCADiwwcFClhq5DgBJJIUDQgQaHDgwIBPBSoQODghIMGIEgo+gGghAcaEJx8GUDQ54CcCDw4EFFWZFISEp1BAOOjp06pQokaPKmhRIcwHByJOLkBAN+vWDzD+gCghACtdrSUCSIASBAAh+QQFBwAzACwAAAAAHwAgAAAG/8CZcEgECU7EpHJJVDQiJhlzugwMIlhThMoVKjjYcGzQnY5C2EfYZCgvFaGHXI1lHNxJUGEujxRGeEoLEBAPhRAIgUoKLySEECQCikoDjSSOHpNJHyEvjS9tmkQCnZ4vgKJDIiGsIR2pRAYbsxuJsEIctBuStzMMswwMqLe/DBwcCb0zBcfMvLcEBdIFmb0L0wV3vQIFHR0GBiW9Ad/gBguTGkoI5gQEyXgZGupEHwQG7g0H4mUrGfLq5glxgI/AgQMD4FHBcMEfQHozQAwgoA/hAAcfmFCg4ILhhX8Zkig4eHDAAhUIUCgIIEECjAowAEygYMHjRyUpBogQYXKBB04HJ1CMKPEBRIsKMjnWvMAkgAqeA1A6ECAgQQkFRSVUmDCzIxUjJhEg+Fl16MoWWiuwcFEmgACxCKYKLZFCgVG1ikAoSCAARdWrICRQCQIAOw==",this.resizeDuration=700,this.fadeDuration=500,this.labelImage="Image",this.labelOf="of"}return t}(),e=function(){function e(t){this.options=t,this.album=[],this.currentImageIndex=void 0,this.init()}return e.prototype.init=function(){return this.enable(),this.build()},e.prototype.enable=function(){var e=this;return t("body").on("click",".thumbnails[data-toggle^=lightbox] .thumbnail",(function(n){return e.start(t(n.currentTarget)),!1}))},e.prototype.build=function(){var e,n=this;t("<div/>",{id:"lightboxOverlay"}).appendTo(t("body")),t("<div/>",{id:"lightbox"}).append(t("<div/>",{class:"lb-outerContainer"}).append(t("<button/>",{class:"close",type:"button","aria-hidden":"true"}).html("&times;"),t("<div/>",{class:"lb-container"}).append(t("<img/>",{class:"lb-image"}),t("<div/>",{class:"lb-nav"}).append(t("<a/>",{class:"lb-prev"}),t("<a/>",{class:"lb-next"})),t("<div/>",{class:"lb-loader"}).append(t("<a/>",{class:"lb-cancel"}).append(t("<img/>",{src:this.options.fileLoadingImage})))),t("<div/>",{class:"lb-dataContainer"}).append(t("<div/>",{class:"lb-data"}).append(t("<h4/>",{class:"lb-caption"}),t("<p/>",{class:"lb-description"}),t("<p/>",{class:"close"}).text("close"),t("<p/>",{class:"lb-number"}))))).appendTo(t("body")),t("#lightboxOverlay").hide().on("click",(function(){return n.end(),!1})),(e=t("#lightbox")).hide().on("click",(function(e){return"lightbox"===t(e.target).attr("id")&&n.end(),!1})),e.find(".lb-outerContainer").on("click",(function(e){return"lightbox"===t(e.target).attr("id")&&n.end(),!1})),e.find(".lb-prev").on("click",(function(){return n.changeImage(n.currentImageIndex-1),!1})),e.find(".lb-next").on("click",(function(){return n.changeImage(n.currentImageIndex+1),!1})),e.find(".lb-loader, .close").on("click",(function(){return n.end(),!1}))},e.prototype.start=function(e){var n,i,r,o,a,s,l,c,u,d;if(e.attr("href")||e.attr("data-target")){if(t(window).on("resize",this.sizeOverlay),t("select, object, embed").css({visibility:"hidden"}),t("#lightboxOverlay").width(t(document).width()).height(t(document).height()).fadeIn(this.options.fadeDuration),this.album=[],a=0,r=0,"lightbox"===e.parents(".thumbnails").attr("data-toggle")&&e.parents(".thumbnails").find(".thumbnail").length)for(o=c=0,u=(d=e.parents(".thumbnails").find(".thumbnail")).length;c<u;o=++c)i=d[o],(t(i).attr("href")||t(i).attr("data-target"))&&(this.album.push({link:t(i).attr("href")||t(i).attr("data-target"),title:t(i).attr("title")||t(i).attr("data-title"),description:t(i).attr("data-description")}),(e.attr("href")&&t(i).attr("href")===e.attr("href")||e.attr("data-target")&&t(i).attr("data-target")===e.attr("data-target"))&&(a=r),++r);else this.album.push({link:e.attr("href")||e.attr("data-target"),title:e.attr("title")||e.attr("data-title"),description:e.attr("data-description")});l=(n=t(window)).scrollTop()+n.height()/10,s=n.scrollLeft(),t("#lightbox").css({top:l+"px",left:s+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(a)}},e.prototype.changeImage=function(e){var n,i,r,o=this;this.disableKeyboardNav(),i=t("#lightbox"),n=i.find(".lb-image"),this.sizeOverlay(),t("#lightboxOverlay").fadeIn(this.options.fadeDuration),t(".lb-loader").fadeIn("slow"),i.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption, .lb-description").hide(),i.find(".lb-outerContainer").addClass("animating"),(r=new Image).onload=function(){return n.attr("src",o.album[e].link),n.width=r.width,n.height=r.height,o.sizeContainer(r.width,r.height)},r.src=this.album[e].link,this.currentImageIndex=e},e.prototype.sizeOverlay=function(){return t("#lightboxOverlay").width(t(document).width()).height(t(document).height())},e.prototype.sizeContainer=function(e,n){var i,r,o,a,s,l,c,u,d,h,p=this;h=(o=(r=t("#lightbox")).find(".lb-outerContainer")).outerWidth(),i=r.find(".lb-container"),c=parseInt(i.css("padding-top"),10),l=parseInt(i.css("padding-right"),10),a=parseInt(i.css("padding-bottom"),10),s=parseInt(i.css("padding-left"),10),u=n+c+a,(d=e+s+l)!==h&&o.animate({width:d},this.options.resizeDuration,"swing"),setTimeout((function(){r.find(".lb-prevLink").height(u),r.find(".lb-nextLink").height(u),p.showImage()}),this.options.resizeDuration)},e.prototype.showImage=function(){var e;(e=t("#lightbox")).find(".lb-loader").hide(),e.find(".lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},e.prototype.updateNav=function(){var e;(e=t("#lightbox")).find(".lb-nav").show(),this.currentImageIndex>0&&e.find(".lb-prev").show(),this.currentImageIndex<this.album.length-1&&e.find(".lb-next").show()},e.prototype.updateDetails=function(){var e,n=this;e=t("#lightbox"),void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title&&e.find("h4").html(this.album[this.currentImageIndex].title).fadeIn("fast"),void 0!==this.album[this.currentImageIndex].description&&""!==this.album[this.currentImageIndex].description&&e.find(".lb-description").html(this.album[this.currentImageIndex].description).fadeIn("fast"),this.album.length>1?e.find(".lb-number").html(this.options.labelImage+" "+(this.currentImageIndex+1)+" "+this.options.labelOf+"  "+this.album.length).fadeIn("fast"):e.find(".lb-number").hide(),e.find(".lb-outerContainer").removeClass("animating"),e.find(".lb-dataContainer").fadeIn(this.resizeDuration,(function(){return n.sizeOverlay()}))},e.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),this.currentImageIndex>0&&((new Image).src=this.album[this.currentImageIndex-1].link)},e.prototype.enableKeyboardNav=function(){t(document).on("keyup.keyboard",t.proxy(this.keyboardAction,this))},e.prototype.disableKeyboardNav=function(){t(document).off(".keyboard")},e.prototype.keyboardAction=function(t){var e,n,i,r,o;e=27,n=37,i=39,o=t.keyCode,r=String.fromCharCode(o).toLowerCase(),o===e||r.match(/x|o|c/)?this.end():"p"===r||o===n?0!==this.currentImageIndex&&this.changeImage(this.currentImageIndex-1):"n"!==r&&o!==i||this.currentImageIndex!==this.album.length-1&&this.changeImage(this.currentImageIndex+1)},e.prototype.end=function(){return this.disableKeyboardNav(),t(window).off("resize",this.sizeOverlay),t("#lightbox").fadeOut(this.options.fadeDuration),t("#lightboxOverlay").fadeOut(this.options.fadeDuration),t("select, object, embed").css({visibility:"visible"})},e}(),t((function(){var t;return t=new n,new e(t)}))}.call(this),function(t,e,n,i){function r(e,n){this.settings=null,this.options=t.extend({},r.Defaults,n),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,n){this._handlers[n]=t.proxy(this[n],this)}),this)),t.each(r.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(r.Workers,t.proxy((function(e,n){this._pipe.push({filter:n.filter,run:t.proxy(n.run,this)})}),this)),this.setup(),this.initialize()}r.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Type={Event:"event",State:"state"},r.Plugins={},r.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,r=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=n>1||t.items.merge,o[i]=r?e*n:this._items[i].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],n=this._items,i=this.settings,r=Math.max(2*i.items,4),o=2*Math.ceil(n.length/2),a=i.loop&&n.length?i.rewind?r:Math.max(r,o):0,s="",l="";for(a/=2;a--;)e.push(this.normalize(e.length/2,!0)),s+=n[e[e.length-1]][0].outerHTML,e.push(this.normalize(n.length-1-(e.length-1)/2,!0)),l=n[e[e.length-1]][0].outerHTML+l;this._clones=e,t(s).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,r=0,o=[];++n<e;)i=o[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,o.push(i+r*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,n,i,r=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,a=this.coordinates(this.current())+o,s=a+this.width()*r,l=[];for(n=0,i=this._coordinates.length;i>n;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+o*r,(this.op(t,"<=",a)&&this.op(t,">",s)||this.op(e,"<",a)&&this.op(e,">",s))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],r.prototype.initialize=function(){var e,n,r;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,r=this.$element.children(n).width(),e.length&&0>=r&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},r.prototype.setup=function(){var e=this.viewport(),n=this.options.responsive,i=-1,r=null;n?(t.each(n,(function(t){e>=t&&t>i&&(i=Number(t))})),"function"==typeof(r=t.extend({},this.options,n[i])).stagePadding&&(r.stagePadding=r.stagePadding()),delete r.responsive,r.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):r=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=i,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},r.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(e){var n=this.trigger("prepare",{content:e});return n.data||(n.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:n.data}),n.data},r.prototype.update=function(){for(var e=0,n=this._pipe.length,i=t.proxy((function(t){return this[t]}),this._invalidated),r={};n>e;)(this._invalidated.all||t.grep(this._pipe[e].filter,i).length>0)&&this._pipe[e].run(r),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},r.prototype.width=function(t){switch(t=t||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},r.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},r.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},r.prototype.onDragStart=function(e){var i=null;3!==e.which&&(t.support.transform?i={x:(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===i.length?12:4],y:i[16===i.length?13:5]}:(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(t.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(e),t(n).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(n).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var i=this.difference(this._drag.pointer,this.pointer(e));t(n).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},r.prototype.onDragMove=function(t){var e=null,n=null,i=null,r=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,r);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*r.x/5:0,o.x=Math.max(Math.min(o.x,e+i),n+i)),this._drag.stage.current=o,this.animate(o.x))},r.prototype.onDragEnd=function(e){var i=this.difference(this._drag.pointer,this.pointer(e)),r=this._drag.stage.current,o=i.x>0^this.settings.rtl?"left":"right";t(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(r.x,0!==i.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},r.prototype.closest=function(e,n){var i=-1,r=30,o=this.width(),a=this.coordinates();return this.settings.freeDrag||t.each(a,t.proxy((function(t,s){return"left"===n&&e>s-r&&s+r>e?i=t:"right"===n&&e>s-o-r&&s-o+r>e?i=t+1:this.op(e,"<",s)&&this.op(e,">",a[t+1]||s-o)&&(i="left"===n?t+1:t),-1===i}),this)),this.settings.loop||(this.op(e,">",a[this.minimum()])?i=e=this.minimum():this.op(e,"<",a[this.maximum()])&&(i=e=this.maximum())),i},r.prototype.animate=function(e){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):n?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},r.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},r.prototype.current=function(t){if(t===i)return this._current;if(0===this._items.length)return i;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==i&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},r.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},r.prototype.reset=function(t){(t=this.normalize(t))!==i&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},r.prototype.normalize=function(t,e){var n=this._items.length,r=e?0:this._clones.length;return!this.isNumeric(t)||1>n?t=i:(0>t||t>=n+r)&&(t=((t-r/2)%n+n)%n+r/2),t},r.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},r.prototype.maximum=function(t){var e,n,i,r=this.settings,o=this._coordinates.length;if(r.loop)o=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){for(e=this._items.length,n=this._items[--e].width(),i=this.$element.width();e--&&!((n+=this._items[e].width()+this.settings.margin)>i););o=e+1}else o=r.center?this._items.length-1:this._items.length-r.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},r.prototype.minimum=function(t){return t?0:this._clones.length/2},r.prototype.items=function(t){return t===i?this._items.slice():(t=this.normalize(t,!0),this._items[t])},r.prototype.mergers=function(t){return t===i?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},r.prototype.clones=function(e){var n=this._clones.length/2,r=n+this._items.length,o=function(t){return t%2==0?r+t/2:n-(t+1)/2};return e===i?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,n){return t===e?o(n):null}))},r.prototype.speed=function(t){return t!==i&&(this._speed=t),this._speed},r.prototype.coordinates=function(e){var n,r=1,o=e-1;return e===i?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(r=-1,o=e+1),n=this._coordinates[e],n+=(this.width()-n+(this._coordinates[o]||0))/2*r):n=this._coordinates[o]||0,n=Math.ceil(n))},r.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},r.prototype.to=function(t,e){var n=this.current(),i=null,r=t-this.relative(n),o=(r>0)-(0>r),a=this._items.length,s=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>a/2&&(r+=-1*o*a),(i=(((t=n+r)-s)%a+a)%a+s)!==t&&l>=i-r&&i-r>0&&(n=i-r,t=i,this.reset(n))):this.settings.rewind?t=(t%(l+=1)+l)%l:t=Math.max(s,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},
r.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},r.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},r.prototype.onTransitionEnd=function(t){return(t===i||(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)===this.$stage.get(0)))&&(this.leave("animating"),void this.trigger("translated"))},r.prototype.viewport=function(){var i;if(this.options.responsiveBaseElement!==e)i=t(this.options.responsiveBaseElement).width();else if(e.innerWidth)i=e.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";i=n.documentElement.clientWidth}return i},r.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(e,n){var r=this.relative(this._current);n=n===i?this._items.length:this.normalize(n,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:n}),e=this.prepare(e),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[n-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(e),this._items.splice(n,0,e),this._mergers.splice(n,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[r]&&this.reset(this._items[r].index()),this.invalidate("items"),this.trigger("added",{content:e,position:n})},r.prototype.remove=function(t){(t=this.normalize(t,!0))!==i&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},r.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,n){this.enter("pre-loading"),n=t(n),t(new Image).one("load",t.proxy((function(t){n.attr("src",t.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))}),this))},r.prototype.destroy=function(){for(var i in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(n).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},r.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?t>n:n>t;case">":return i?n>t:t>n;case">=":return i?n>=t:t>=n;case"<=":return i?t>=n:n>=t}},r.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},r.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},r.prototype.trigger=function(e,n,i){var o={item:{count:this._items.length,index:this.current()}},a=t.camelCase(t.grep(["on",e,i],(function(t){return t})).join("-").toLowerCase()),s=t.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},o,n));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(s)})),this.register({type:r.Type.Event,name:e}),this.$element.trigger(s),this.settings&&"function"==typeof this.settings[a]&&this.settings[a].call(this,s)),s},r.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===i&&(this._states.current[e]=0),this._states.current[e]++}),this))},r.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},r.prototype.register=function(e){if(e.type===r.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var n=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!n||!n.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:n.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===r.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(n,i){return t.inArray(n,this._states.tags[e.name])===i}),this)))},r.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},r.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},r.prototype.pointer=function(t){var n={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(n.x=t.pageX,n.y=t.pageY):(n.x=t.clientX,n.y=t.clientY),n},r.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},r.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each((function(){var i=t(this),o=i.data("owl.carousel");o||(o=new r(this,"object"==typeof e&&e),i.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,n){o.register({type:r.Type.Event,name:n}),o.$element.on(n+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([n]),o[n].apply(this,[].slice.call(arguments,1)),this.release([n]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,n)}))},t.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(t,e){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,n;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var r=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var n=this._core.settings,r=n.center&&Math.ceil(n.items/2)||n.items,o=n.center&&-1*r||0,a=(e.property&&e.property.value!==i?e.property.value:this._core.current())+o,s=this._core.clones().length,l=t.proxy((function(t,e){this.load(e)}),this);o++<r;)this.load(s/2+this._core.relative(a)),s&&t.each(this._core.clones(this._core.relative(a)),l),a++}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={lazyLoad:!1},r.prototype.load=function(n){var i=this._core.$stage.children().eq(n),r=i&&i.find(".owl-lazy");!r||t.inArray(i.get(0),this._loaded)>-1||(r.each(t.proxy((function(n,i){var r,o=t(i),a=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:a},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this)).attr("src",a):((r=new Image).onload=t.proxy((function(){o.css({"background-image":"url("+a+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this),r.src=a)}),this)),this._loaded.push(i.get(0)))},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=r}(window.Zepto||window.jQuery,window,document),function(t){var e=function(n){this._core=n,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var e=this._core._current,n=e+this._core.settings.items,i=this._core.$stage.children().toArray().slice(e,n),r=[],o=0;t.each(i,(function(e,n){r.push(t(n).height())})),o=Math.max.apply(null,r),this._core.$stage.parent().height(o).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(t,e,n){var i=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var n=t(e.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,t(e.content)))}}),this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),r=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if((i=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(i[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[a]={type:n,id:i,width:r,height:o},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},i.prototype.thumbnail=function(e,n){var i,r,o,a=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",s=e.find("img"),l="src",c="",u=this._core.settings,d=function(t){r='<div class="owl-video-play-icon"></div>',i=u.lazyLoad?'<div class="owl-video-tn '+c+'" '+l+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(i),e.after(r)};return e.wrap('<div class="owl-video-wrapper"'+a+"></div>"),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),s.length?(d(s.attr(l)),s.remove(),!1):void("youtube"===n.type?(o="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(o)):"vimeo"===n.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,d(o)}}):"vzaar"===n.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,d(o)}}))},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(e){var n,i=t(e.target).closest("."+this._core.settings.itemClass),r=this._videos[i.attr("data-video")],o=r.width||"100%",a=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===r.type?n='<iframe width="'+o+'" height="'+a+'" src="//www.youtube.com/embed/'+r.id+"?autoplay=1&v="+r.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===r.type?n='<iframe src="//player.vimeo.com/video/'+r.id+'?autoplay=1" width="'+o+'" height="'+a+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===r.type&&(n='<iframe frameborder="0"height="'+a+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+r.id+'/player?autoplay=true"></iframe>'),t('<div class="owl-video-frame">'+n+"</div>").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var e=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var r=function(e){this.core=e,this.core.options=t.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,n=t.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(t.support.animation.end,n).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),o&&r.one(t.support.animation.end,n).addClass("animated owl-animated-in").addClass(o))}},r.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||window.jQuery,window,document),function(t,e,n){var i=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,n){t.namespace&&this.play(e,n)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype.play=function(){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},i.prototype._getNextTimeout=function(i,r){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy((function(){this._paused||this._core.is("busy")||this._core.is("interacting")||n.hidden||this._core.next(r||this._core.settings.autoplaySpeed)}),this),i||this._core.settings.autoplayTimeout)},i.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},i.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(t){"use strict";var e=function(n){this._core=n,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var e,n=this._core.settings;for(e in this._controls.$relative=(n.navContainer?t(n.navContainer):t("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(){this.prev(n.navSpeed)}),this)),this._controls.$next=t("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(){this.next(n.navSpeed)}),this)),n.dotsData||(this._templates=[t("<div>").addClass(n.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?t(n.dotsContainer):t("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy((function(e){var i=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(i,n.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},e.prototype.destroy=function(){var t,e,n,i;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,r=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=n,e=0,0;i>t;t++){if(e>=a||0===e){if(this._pages.push({start:Math.min(r,t-n),end:t-n+a-1}),Math.min(r,t-n)===r)break;e=0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var e,n=this._core.settings,i=this._core.items().length<=n.items,r=this._core.relative(this._core.current()),o=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||i),n.nav&&(this._controls.$previous.toggleClass("disabled",!o&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||i),n.dots&&(e=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):0>e&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(e){var n=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},e.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t){return t.start<=e&&t.end>=e}),this)).pop()},e.prototype.getPosition=function(e){var n,i,r=this._core.settings;return"page"==r.slideBy?(n=t.inArray(this.current(),this._pages),i=this._pages.length,e?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,e?n+=r.slideBy:n-=r.slideBy),n},e.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},e.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},e.prototype.to=function(e,n,i){var r;!i&&this._pages.length?(r=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%r+r)%r].start,n)):t.proxy(this._overrides.to,this._core)(e,n)},t.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){"use strict";var r=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var n=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=e.content}}),this),"changed.owl.carousel":t.proxy((function(n){if(n.namespace&&"position"===n.property.name){var i=this._core.items(this._core.relative(this._core.current())),r=t.map(this._hashes,(function(t,e){return t===i?e:null})).join();if(!r||e.location.hash.slice(1)===r)return;e.location.hash=r}}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(){var t=e.location.hash.substring(1),n=this._core.$stage.children(),r=this._hashes[t]&&n.index(this._hashes[t]);r!==i&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)}),this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var n,i;for(n in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){function r(e,n){var r=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+s.join(o+" ")+o).split(" "),(function(t,e){return a[e]!==i?(r=!n||e,!1):void 0})),r}function o(t){return r(t,!0)}var a=t("<support>").get(0).style,s="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!r("transform")},csstransforms3d:function(){return!!r("perspective")},csstransitions:function(){return!!r("transition")},cssanimations:function(){return!!r("animation")}};c.csstransitions()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(o("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document),Array.prototype.find||(Array.prototype.find=function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,r=arguments[1],o=0;o<i;o++)if(e=n[o],t.call(r,e,o,n))return e});var tabulatr_tables,Cart={expiresAt:void 0,expirePath:void 0,count:0,init:function(t,e,n,i){Cart.count=t,Cart.expirePath=n;var r=$(".cart-count");0!=t||i?(r.text(t),r.show(),$(".countdown-wrapper").show().removeClass("hidden"),$(".cart-button").show().removeClass("btn-ghost"),Cart.expiresAt=new Date(1*new Date+1e3*e),Cart.updateExpiration(i)):(r.hide(),$(".cart-countdown").html(""),$(".countdown-wrapper").hide()),$(document.body).toggleClass("has-cart",0!=t)},updateExpiration:function(t){if(0!=Cart.count||t){var e=Math.floor((Cart.expiresAt-new Date)/1e3);if(e<=0)t||(window.location=Cart.expirePath);else{var n=$(".countdown-wrapper.alert"),i=9,r=2,o=Math.floor(e/60),a=e%60;a<10&&(a="0"+a),$(".cart-countdown").html(o+":"+a),o<=i&&n.removeClass("alert-success alert-warning alert-danger").addClass("alert-warning"),o<=r&&n.removeClass("alert-success alert-warning alert-danger").addClass("alert-danger"),0==$("#checkout-spinner:visible").length&&window.setTimeout((function(){Cart.updateExpiration(t)}),1e3)}}}};jQuery((function(t){t(".search-bar").each((function(){$searchBar=t(this),$searchField=$searchBar.find(".form-control"),$searchSubmit=$searchBar.find(":input[type=submit]"),$searchSubmit.click((function(){return $searchBar.is(".active")?($searchBar.removeClass("active"),!!$searchField.val().length):($searchBar.addClass("active"),$searchField.focus(),!1)})),$searchField.focus((function(){$searchBar.addClass("active")})).blur((function(){setTimeout((function(){$searchBar.removeClass("active")}),300)}))}))})),jQuery((function(t){function e(t){t.valid,o.val(t.bank_name||"*****"),a.val(t.iban||"*****"),s.val(t.bic||"*****")}function n(){var n=i.val(),o=r.val();n.length<4||o.length<7||t.ajax("/api/bank_check/"+o+"/"+n+".json",{success:e})}var i=t("#payment_field_account_number"),r=t("#payment_field_bank_code"),o=(t("#payment_field_account_owner"),t("#payment_field_bank_name")),a=t("#payment_field_iban"),s=t("#payment_field_bic");i.keyup(n),r.keyup(n)})),jQuery((function(t){function e(e){t("#product-cart").html(e)}t(".not-found-this-selector").hide(),t(".navbar-inverse").affix({offset:{top:function(){return this.top=t("#header").outerHeight(!0)}}}),t(".productitem.grid").click((function(){window.location=t(this).find("a").attr("href")})).css("cursor","pointer"),t("#product-filter-form").change((function(){t(this).submit()})),t("a[data-replace-content-of]").each((function(){var e=t(this),n=t(e.data("replace-content-of"));e.click((function(i){return i.stopPropagation(),t.ajax(e.attr("href"),{success:function(t){n.html(t),n.show()}}),!1}))})),t("div.align_children").each((function(){var e=t(this),n=e.data("alignComponent"),i=0,r=n?e.find(n):e.children();r.each((function(){i=Math.max(this.clientHeight,i)})),n?r.css("min-height",i+"px"):(r.css("min-height",i+"px"),r.children(".panel").css("min-height",""+i-2+"px"))})),t(document).on("keydown","input.variant-quantity[data-variant-id]",(function(e){if(e.stopPropagation(),13==e.keyCode){var n=t(this);return t('a[data-variant-id="'+n.data("variantId")+'"]').click(),!1}})),t(document).on("ajax:beforeSend",".btn[data-variant-id]",(function(e,n,i){var r=t(this),o=r.data("variant-id"),a=parseInt(t("select.variant-quantity[data-variant-id="+o+"]").val());if(0==a||isNaN(a)?e.stopPropagation():i.url+="?quantity="+a,r.data("freePrice")){var s=t('.free-price[data-variant-id="'+o+'"]'),l=parseFloat(s.val());i.url+="&free_price="+l}})).on("ajax:success",".btn[data-variant-id]",(function(n,i){i.goto?window.location=i.goto:(e(i),t("html, body").animate({scrollTop:t("#product-cart").offset().top-t(".navbar.navbar-inverse").outerHeight()-20},"slow"))})),t(".product-item").each((function(){var e=t(this),n=e.find(".calltoaction a");1==n.length&&(e.click((function(){window.location=n.attr("href")})),e.css("cursor","pointer"))})),t(document).on("ajax:success","a.remove-seat-from-cart",(function(n,i){return e(i),t(document).trigger("productCart:removeSeat"),!1})),t(document).on("ajax:success",".remove-seat-from-listing, .listing_add, .listing_remove",(function(e,n){t(".show_carts_container").html(n)})),t(document).on("click","a.btn-configure-package",(function(){var e=t(this),n=e.data("variant-id"),i=parseInt(t("select[data-variant-id="+n+"]").val()),r=e.attr("href")+"?quantity="+i;return window.location=r,!1})),t(document).on("change",".btn-file :file",(function(){var e=t(this);if(this.files&&this.files.length){var n=t.map(this.files,(function(t){return t.name})).join(", ");e.closest(".input-group").find(":text").val(n)}})).on("click",".btn-file :file",(function(){
t(this).closest(".input-group").find(":text").val("")}));var n=t(".shariff");new Shariff(n),setTimeout((function(){toastr.options={closeButton:!0,progressBar:!0,showMethod:"slideDown",timeOut:8e3};var e=t("#flash-data").data("flash");e&&t.each(Object.keys(e),(function(t,n){toastr[n](e[n])}))}),100)})),jQuery((function(t){function e(){t('[data-ride="responsive-carousel"]').each((function(){var e=t(this),n=e.children(".carousel-inner"),o=n.find(".responsive-item"),a=t(window).width(),s=Object.keys(r)[0],l=1;Object.keys(r).every((function(t){return!(a<t)&&(s=t,l=e.data(r[s]+"Items")||l,!0)})),n.empty(),i(o,l).forEach((function(e,i){var o=t('<div class="item'+(0==i?" active":"")+'"></div>').appendTo(n),a=t('<div class="row"></div>').appendTo(o);e.each((function(){$col=t('<div class="col-'+r[s]+"-"+12/l+'"></div>').appendTo(a),$col.append(this)}))})),e.carousel({interval:!1})}))}function n(t,e,n){var i;return function(){var r=this,o=arguments,a=function(){i=null,n||t.apply(r,o)},s=n&&!i;clearTimeout(i),i=setTimeout(a,e),s&&t.apply(r,o)}}function i(t,e){for(var n=[],i=0,r=t.length;i<r;i+=e)n.push(t.slice(i,i+e));return n}var r={0:"xs",768:"sm",992:"md",1200:"lg"};t(window).on("resize",n(e,100)),e()})),$(document).on("click","[data-kickme-to]",(function(){var t=$(this),e=t.data("kickmeTo"),n=t.data("windowTitle"),i=t.data("windowData");return i&&n?window.open(e,n,i).focus():window.location=e,!1})),jQuery((function(t){t(document.body).tooltip({selector:"[data-toggle=tooltip]",container:document.body,placement:"auto top",delay:{show:300,hide:0}}),t("[data-toggle=popover]").popover()})),jQuery((function(t){t(".description .teaser-text",".pdp, .cdp").each((function(){var e=t(this),n=e.parent().find('a[href="#'+e.attr("id")+'"]'),i=this.scrollHeight>this.clientHeight;n.toggle(i),e.toggleClass("teaser-text",i).toggleClass("in",!i)}))})),jQuery((function(t){document.cookie.indexOf("ttsw=1")>-1||t.get("/api/check_session",(function(e){e?document.cookie="ttsw=1":t("#global-alerts, #session-not-working").css("display","block")}))})),jQuery((function(t){function e(){var e=t(this),n=e.attr("href");return e.replaceWith('<i class="fa fa-spinner fa-spin"></i>'),t.get(n,(function(e){var n=t(e).find(".items");t("#load-more-products-wrapper").remove(),t(".products-listing.clearfix .grid-view").append(n)})),!1}t(document).on("click","#load-more-products",e),t(document).on("inview","#load-more-products",e)})),$((function(){$(".highlight-carousel-2").each((function(t,e){var n=$(".carousel-inner",e);n.owlCarousel({autoHeight:!0,dots:!0,items:1,margin:0,smartSpeed:400,responsiveClass:!0}),n.on("changed.owl.carousel",(function(t){$(".carousel-steps",e).children().removeClass("active").eq(t.page.index).addClass("active")})),n.find(".item img").on("load",(function(){n.trigger("refresh.owl.carousel")}))})),$(document.body).on("click","[data-carousel-goto]",(function(){var t=$(this),e=$(t.attr("href")||t.data("target")),n=t.data("carouselGoto");if(e.length)switch(n){case"previous":case"prev":case"left":return e.trigger("prev.owl.carousel"),!1;case"next":case"right":return e.trigger("next.owl.carousel"),!1;default:return e.trigger("to.owl.carousel",[n]),!1}}))})),$((function(){$(".new_alert_registration").on("ajax:error",(function(t,e){alert(e.responseText)})),$(".new_alert_registration").on("ajax:success",(function(t,e){$("#alert-form-wrapper").html(e)}))})),function(){function t(t,e){for(var n=k.length,i="function"==typeof t.constructor?o:r;n--;){var a=k[n];("constructor"===a?m.has(t,a):a in t&&t[a]!==i[a]&&!m.contains(e,a))&&e.push(a)}}var e=this,n=e._,i=Array.prototype,r=Object.prototype,o=Function.prototype,a=i.push,s=i.slice,l=r.toString,c=r.hasOwnProperty,u=Array.isArray,d=Object.keys,h=o.bind,p=Object.create,f=function(){},m=function(t){return t instanceof m?t:this instanceof m?void(this._wrapped=t):new m(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=m),exports._=m):e._=m,m.VERSION="1.7.0";var g=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,o){return t.call(e,n,i,r,o)}}return function(){return t.apply(e,arguments)}},v=function(t,e,n){return null==t?m.identity:m.isFunction(t)?g(t,e,n):m.isObject(t)?m.matches(t):m.property(t)};m.iteratee=function(t,e){return v(t,e,1/0)};var y=function(t){return function(e){var n=arguments.length;if(n<2||null==e)return e;for(var i=0;i<n;i++)for(var r=arguments[i],o=t(r),a=o.length,s=0;s<a;s++){var l=o[s];e[l]=r[l]}return e}},w=function(t){if(!m.isObject(t))return{};if(p)return p(t);f.prototype=t;var e=new f;return f.prototype=null,e};m.each=m.forEach=function(t,e,n){if(null==t)return t;e=g(e,n);var i,r=t.length;if(r===+r)for(i=0;i<r;i++)e(t[i],i,t);else{var o=m.keys(t);for(i=0,r=o.length;i<r;i++)e(t[o[i]],o[i],t)}return t},m.map=m.collect=function(t,e,n){if(null==t)return[];e=v(e,n);for(var i,r=t.length!==+t.length&&m.keys(t),o=(r||t).length,a=Array(o),s=0;s<o;s++)i=r?r[s]:s,a[s]=e(t[i],i,t);return a},m.reduce=m.foldl=m.inject=function(t,e,n,i){null==t&&(t=[]),e=g(e,i,4);var r,o=t.length!==+t.length&&m.keys(t),a=(o||t).length,s=0;for(arguments.length<3&&(n=t[o?o[s++]:s++]);s<a;s++)n=e(n,t[r=o?o[s]:s],r,t);return n},m.reduceRight=m.foldr=function(t,e,n,i){null==t&&(t=[]),e=g(e,i,4);var r,o=t.length!==+t.length&&m.keys(t),a=(o||t).length;for(arguments.length<3&&(n=t[o?o[--a]:--a]);a-- >0;)n=e(n,t[r=o?o[a]:a],r,t);return n},m.transform=function(t,e,n,i){if(null==n)if(m.isArray(t))n=[];else if(m.isObject(t)){var r=t.constructor;n=w("function"==typeof r&&r.prototype)}else n={};if(null==t)return n;e=g(e,i,4);var o,a,s=t.length!==+t.length&&m.keys(t),l=(s||t).length;for(o=0;o<l&&!1!==e(n,t[a=s?s[o]:o],a,t);o++);return n},m.find=m.detect=function(t,e,n){var i;if(void 0!==(i=t.length===+t.length?m.findIndex(t,e,n):m.findKey(t,e,n))&&-1!==i)return t[i]},m.filter=m.select=function(t,e,n){var i=[];return null==t||(e=v(e,n),m.each(t,(function(t,n,r){e(t,n,r)&&i.push(t)}))),i},m.reject=function(t,e,n){return m.filter(t,m.negate(v(e)),n)},m.every=m.all=function(t,e,n){if(null==t)return!0;e=v(e,n);var i,r,o=t.length!==+t.length&&m.keys(t),a=(o||t).length;for(i=0;i<a;i++)if(!e(t[r=o?o[i]:i],r,t))return!1;return!0},m.some=m.any=function(t,e,n){if(null==t)return!1;e=v(e,n);var i,r,o=t.length!==+t.length&&m.keys(t),a=(o||t).length;for(i=0;i<a;i++)if(e(t[r=o?o[i]:i],r,t))return!0;return!1},m.contains=m.includes=m.include=function(t,e,n){return null!=t&&(t.length!==+t.length&&(t=m.values(t)),m.indexOf(t,e,"number"==typeof n&&n)>=0)},m.invoke=function(t,e){var n=s.call(arguments,2),i=m.isFunction(e);return m.map(t,(function(t){var r=i?e:t[e];return null==r?r:r.apply(t,n)}))},m.pluck=function(t,e){return m.map(t,m.property(e))},m.where=function(t,e){return m.filter(t,m.matches(e))},m.findWhere=function(t,e){return m.find(t,m.matches(e))},m.max=function(t,e,n){var i,r,o=-1/0,a=-1/0;if(null==e&&null!=t)for(var s=0,l=(t=t.length===+t.length?t:m.values(t)).length;s<l;s++)(i=t[s])>o&&(o=i);else e=v(e,n),m.each(t,(function(t,n,i){((r=e(t,n,i))>a||r===-1/0&&o===-1/0)&&(o=t,a=r)}));return o},m.min=function(t,e,n){var i,r,o=1/0,a=1/0;if(null==e&&null!=t)for(var s=0,l=(t=t.length===+t.length?t:m.values(t)).length;s<l;s++)(i=t[s])<o&&(o=i);else e=v(e,n),m.each(t,(function(t,n,i){((r=e(t,n,i))<a||r===1/0&&o===1/0)&&(o=t,a=r)}));return o},m.shuffle=function(t){for(var e,n=t&&t.length===+t.length?t:m.values(t),i=n.length,r=Array(i),o=0;o<i;o++)(e=m.random(0,o))!==o&&(r[o]=r[e]),r[e]=n[o];return r},m.sample=function(t,e,n){return null==e||n?(t.length!==+t.length&&(t=m.values(t)),t[m.random(t.length-1)]):m.shuffle(t).slice(0,Math.max(0,e))},m.sortBy=function(t,e,n){return e=v(e,n),m.pluck(m.map(t,(function(t,n,i){return{value:t,index:n,criteria:e(t,n,i)}})).sort((function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index})),"value")};var b=function(t){return function(e,n,i){var r={};return n=v(n,i),m.each(e,(function(i,o){var a=n(i,o,e);t(r,i,a)})),r}};m.groupBy=b((function(t,e,n){m.has(t,n)?t[n].push(e):t[n]=[e]})),m.indexBy=b((function(t,e,n){t[n]=e})),m.countBy=b((function(t,e,n){m.has(t,n)?t[n]++:t[n]=1})),m.toArray=function(t){return t?m.isArray(t)?s.call(t):t.length===+t.length?m.map(t,m.identity):m.values(t):[]},m.size=function(t){return null==t?0:t.length===+t.length?t.length:m.keys(t).length},m.partition=function(t,e,n){e=v(e,n);var i=[],r=[];return m.each(t,(function(t,n,o){(e(t,n,o)?i:r).push(t)})),[i,r]},m.first=m.head=m.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:m.initial(t,t.length-e)},m.initial=function(t,e,n){return s.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},m.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:m.rest(t,Math.max(0,t.length-e))},m.rest=m.tail=m.drop=function(t,e,n){return s.call(t,null==e||n?1:e)},m.compact=function(t){return m.filter(t,m.identity)};var _=function(t,e,n,i){for(var r,o=[],a=0,s=i||0,l=t&&t.length;s<l;s++)if((r=t[s])&&r.length>=0&&(m.isArray(r)||m.isArguments(r))){e||(r=_(r,e,n));var c=0,u=r.length;for(o.length+=u;c<u;)o[a++]=r[c++]}else n||(o[a++]=r);return o};m.flatten=function(t,e){return _(t,e,!1)},m.without=function(t){return m.difference(t,s.call(arguments,1))},m.uniq=m.unique=function(t,e,n,i){if(null==t)return[];m.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=v(n,i));for(var r=[],o=[],a=0,s=t.length;a<s;a++){var l=t[a],c=n?n(l,a,t):l;e?(a&&o===c||r.push(l),o=c):n?m.contains(o,c)||(o.push(c),r.push(l)):m.contains(r,l)||r.push(l)}return r},m.union=function(){return m.uniq(_(arguments,!0,!0))},m.intersection=function(t){if(null==t)return[];for(var e=[],n=arguments.length,i=0,r=t.length;i<r;i++){var o=t[i];if(!m.contains(e,o)){for(var a=1;a<n&&m.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},m.difference=function(t){var e=_(arguments,!0,!0,1);return m.filter(t,(function(t){return!m.contains(e,t)}))},m.zip=function(t){if(null==t)return[];for(var e=m.max(arguments,"length").length,n=Array(e);e-- >0;)n[e]=m.pluck(arguments,e);return n},m.unzip=function(t){return m.zip.apply(null,t)},m.object=function(t,e){if(null==t)return{};for(var n={},i=0,r=t.length;i<r;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},m.indexOf=function(t,e,n){var i=0,r=t&&t.length;if("number"==typeof n)i=n<0?Math.max(0,r+n):n;else if(n&&r)return t[i=m.sortedIndex(t,e)]===e?i:-1;for(;i<r;i++)if(t[i]===e)return i;return-1},m.lastIndexOf=function(t,e,n){var i=t?t.length:0;for("number"==typeof n&&(i=n<0?i+n+1:Math.min(i,n+1));--i>=0;)if(t[i]===e)return i;return-1},m.findIndex=function(t,e,n){e=v(e,n);for(var i=null!=t?t.length:0,r=0;r<i;r++)if(e(t[r],r,t))return r;return-1},m.sortedIndex=function(t,e,n,i){for(var r=(n=v(n,i,1))(e),o=0,a=t.length;o<a;){var s=Math.floor((o+a)/2);n(t[s])<r?o=s+1:a=s}return o},m.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=n||1;for(var i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),o=0;o<i;o++,t+=n)r[o]=t;return r};var x=function(t,e,n,i,r){if(!(i instanceof e))return t.apply(n,r);var o=w(t.prototype),a=t.apply(o,r);return m.isObject(a)?a:o};m.bind=function(t,e){if(h&&t.bind===h)return h.apply(t,s.call(arguments,1));if(!m.isFunction(t))throw new TypeError("Bind must be called on a function");var n=s.call(arguments,2);return function i(){return x(t,i,e,this,n.concat(s.call(arguments)))}},m.partial=function(t){var e=s.call(arguments,1);return function n(){for(var i=0,r=e.slice(),o=0,a=r.length;o<a;o++)r[o]===m&&(r[o]=arguments[i++]);for(;i<arguments.length;)r.push(arguments[i++]);return x(t,n,this,this,r)}},m.bindAll=function(t){var e,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(e=1;e<i;e++)t[n=arguments[e]]=m.bind(t[n],t);return t},m.memoize=function(t,e){var n=function(i){var r=n.cache,o=""+(e?e.apply(this,arguments):i);return m.has(r,o)||(r[o]=t.apply(this,arguments)),r[o]};return n.cache={},n},m.delay=function(t,e){var n=s.call(arguments,2);return setTimeout((function(){return t.apply(null,n)}),e)},m.defer=m.partial(m.delay,m,1),m.throttle=function(t,e,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:m.now(),a=null,o=t.apply(i,r),a||(i=r=null)};return function(){var c=m.now();s||!1!==n.leading||(s=c);var u=e-(c-s);return i=this,r=arguments,u<=0||u>e?(a&&(clearTimeout(a),a=null),s=c,o=t.apply(i,r),a||(i=r=null)):a||!1===n.trailing||(a=setTimeout(l,u)),o}},m.debounce=function(t,e,n){var i,r,o,a,s,l=function(){var c=m.now()-a;c<e&&c>=0?i=setTimeout(l,e-c):(i=null,n||(s=t.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,a=m.now();var c=n&&!i;return i||(i=setTimeout(l,e)),c&&(s=t.apply(o,r),o=r=null),s}},m.wrap=function(t,e){return m.partial(e,t)},m.negate=function(t){return function(){return!t.apply(this,arguments)}},m.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},m.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},m.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},m.once=m.partial(m.before,2);var C=!{toString:null}.propertyIsEnumerable("toString"),k=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];m.keys=function(e){if(!m.isObject(e))return[];if(d)return d(e);var n=[];for(var i in e)m.has(e,i)&&n.push(i);return C&&t(e,n),n},m.keysIn=function(e){if(!m.isObject(e))return[];var n=[];for(var i in e)n.push(i);return C&&t(e,n),n},m.values=function(t){for(var e=m.keys(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=t[e[r]];return i},m.pairs=function(t){for(var e=m.keys(t),n=e.length,i=Array(n),r=0;r<n;r++)i[r]=[e[r],t[e[r]]];return i},m.invert=function(t){for(var e={},n=m.keys(t),i=0,r=n.length;i<r;i++)e[t[n[i]]]=n[i];return e},m.functions=m.methods=function(t){var e=[];for(var n in t)m.isFunction(t[n])&&e.push(n);return e.sort()},m.extend=y(m.keysIn),m.assign=y(m.keys),m.findKey=function(t,e,n){e=v(e,n);for(var i,r=m.keys(t),o=0,a=r.length;o<a;o++)if(e(t[i=r[o]],i,t))return i},m.pick=function(t,e,n){var i,r={};if(null==t)return r;if(m.isFunction(e))for(i in e=g(e,n),t){var o=t[i];e(o,i,t)&&(r[i]=o)}else{var a=_(arguments,!1,!1,1);t=new Object(t);for(var s=0,l=a.length;s<l;s++)(i=a[s])in t&&(r[i]=t[i])}return r},m.omit=function(t,e,n){if(m.isFunction(e))e=m.negate(e);else{var i=m.map(_(arguments,!1,!1,1),String);e=function(t,e){return!m.contains(i,e)}}return m.pick(t,e,n)},m.defaults=function(t){if(!m.isObject(t))return t;for(var e=1,n=arguments.length;e<n;e++){var i=arguments[e];for(var r in i)void 0===t[r]&&(t[r]=i[r])}return t},m.create=function(t,e){var n=w(t);return e&&m.assign(n,e),n},m.clone=function(t){return m.isObject(t)?m.isArray(t)?t.slice():m.extend({},t):t},m.tap=function(t,e){return e(t),t};var A=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof m&&(t=t._wrapped),e instanceof m&&(e=e._wrapped);var r=l.call(t);if(r!==l.call(e))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}var o="[object Array]"===r;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor;if(a!==s&&!(m.isFunction(a)&&a instanceof a&&m.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}for(var c=n.length;c--;)if(n[c]===t)return i[c]===e;if(n.push(t),i.push(e),o){if((c=t.length)!==e.length)return!1;for(;c--;)if(!A(t[c],e[c],n,i))return!1}else{var u,d=m.keys(t);if(c=d.length,m.keys(e).length!==c)return!1;for(;c--;)if(u=d[c],!m.has(e,u)||!A(t[u],e[u],n,i))return!1}return n.pop(),i.pop(),!0};m.isEqual=function(t,e){return A(t,e,[],[])},m.isEmpty=function(t){if(null==t)return!0;if(m.isArray(t)||m.isString(t)||m.isArguments(t))return 0===t.length;for(var e in t)if(m.has(t,e))return!1;return!0},m.isElement=function(t){return!(!t||1!==t.nodeType)},m.isArray=u||function(t){return"[object Array]"===l.call(t)},m.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],(function(t){m["is"+t]=function(e){return l.call(e)==="[object "+t+"]"}})),m.isArguments(arguments)||(m.isArguments=function(t){return m.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(t){return"function"==typeof t||!1}),m.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},m.isNaN=function(t){return m.isNumber(t)&&t!==+t},m.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===l.call(t)},m.isNull=function(t){return null===t},m.isUndefined=function(t){return void 0===t},m.has=function(t,e){return null!=t&&c.call(t,e)},m.noConflict=function(){return e._=n,this},m.identity=function(t){return t},m.constant=function(t){return function(){return t}},m.noop=function(){},m.property=function(t){return function(e){return null==e?void 0:e[t]}},m.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},m.matches=function(t){var e=m.pairs(t),n=e.length;return function(t){if(null==t)return!n;t=new Object(t);for(var i=0;i<n;i++){var r=e[i],o=r[0];if(r[1]!==t[o]||!(o in t))return!1}return!0}},m.times=function(t,e,n){var i=Array(Math.max(0,t));e=g(e,n,1);for(var r=0;r<t;r++)i[r]=e(r);return i},m.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},m.now=Date.now||function(){return(new Date).getTime()};var T={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},D=m.invert(T),S=function(t){var e=function(e){return t[e]},n="(?:"+m.keys(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}};m.escape=S(T),m.unescape=S(D),m.result=function(t,e,n){var i=null==t?void 0:t[e];return void 0===i&&(i=n),m.isFunction(i)?i.call(t):i};var E=0;m.uniqueId=function(t){var e=++E+"";return t?t+e:e},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var I=/(.)^/,M={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\u2028|\u2029/g,O=function(t){return"\\"+M[t]};m.template=function(t,e,n){!e&&n&&(e=n),e=m.defaults({},e,m.templateSettings);var i=RegExp([(e.escape||I).source,(e.interpolate||I).source,(e.evaluate||I).source].join("|")+"|$","g"),r=0,o="__p+='";t.replace(i,(function(e,n,i,a,s){return o+=t.slice(r,s).replace(j,O),r=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e})),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(e.variable||"obj","_",o)}catch(t){throw t.source=o,t}var s=function(t){return a.call(this,t,m)},l=e.variable||"obj";return s.source="function("+l+"){\n"+o+"}",s},m.chain=function(t){var e=m(t);return e._chain=!0,e};var $=function(t,e){return t._chain?m(e).chain():e};m.mixin=function(t){m.each(m.functions(t),(function(e){var n=m[e]=t[e];m.prototype[e]=function(){var t=[this._wrapped];return a.apply(t,arguments),$(this,n.apply(m,t))}}))},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=i[t];m.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],$(this,n)}})),m.each(["concat","join","slice"],(function(t){var e=i[t];m.prototype[t]=function(){return $(this,e.apply(this._wrapped,arguments))}})),m.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],(function(){return m}))}.call(this);var cbfn=function(t,e,n,i){if(e&&"top"!==i&&"bottom"!==i){for(var r,o=$(t.currentTarget).data("table"),a=0;a<tabulatr_tables.length;a++)tabulatr_tables[a].id===o&&(r=tabulatr_tables[a]);r.updateTable({append:!0})}};Tabulatr.prototype={constructor:Tabulatr,updateTable:function(t,e){var n=$("#"+this.id);this.storePage=this.pageShouldBeStored(t.page,e),this.storePage&&this.retrievePage(n,t)||this.locked||(this.locked=!0,this.showLoadingSpinner(),this.loadDataFromServer(t))},sendRequestWithoutAjax:function(t,e){var n,i=this.getDataForAjax(t);n="#"==$("table#"+this.id).data("path")?$(location).attr("pathname"):$("table#"+this.id).data("path"),e&&0!=e.length||(e="txt"),n=n.replace(/\/+$/,"")+"."+e+"?"+$.param(i),window.open(n)},pageShouldBeStored:function(t,e){return void 0!==t&&!e},retrievePage:function(t,e){if(t.find("tbody tr").hide(),t.find("tbody tr[data-page="+e.page+"]").length>0){if(t.find("tbody tr[data-page="+e.page+"]").show(),new TabulatrPagination($(".pagination[data-table="+this.id+"] a:last").data("page"),this.id).updatePagination(e.page),this.isAPersistedTable){var n=this.createParameterString(e,this.id);try{localStorage[this.id]=JSON.stringify(n)}catch(t){}}return!0}return!1},getDataForAjax:function(t){var e;if(this.initialRequest&&this.isAPersistedTable&&localStorage[this.id])e=JSON.parse(localStorage[this.id]);else if(e=this.createParameterString(t,this.id),this.isAPersistedTable)try{var n=jQuery.extend(!0,{},e),i=this.id.split("_")[0]+"_batch";i in n&&delete n[i],localStorage[this.id]=JSON.stringify(n)}catch(t){}return e},loadDataFromServer:function(t){var e=this.getDataForAjax(t),n=location.search.substring(1);if(n.length){var i=JSON.parse('{"'+decodeURI(n).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}');e=$.extend(i,e)}$.ajax({context:this,type:"GET",url:$("table#"+this.id).data("path"),accepts:{json:"application/json"},data:e,success:this.handleResponse,complete:this.hideLoadingSpinner,error:this.handleError})},checkIfCheckboxesAreMarked:function(){return $("tr[data-page] input[type=checkbox]:checked").length>0},currentCount:function(){return $("#"+this.id+" tbody tr.tabulatr-row").length},handleResponse:function(t){"string"==typeof t&&(t=JSON.parse(t)),this.insertTabulatrData(t),new TabulatrPagination(t.meta.pages,t.meta.table_id).updatePagination(t.meta.page),$(".pagination[data-table="+t.meta.table_id+"]").length>0&&t.meta.page>t.meta.pages&&this.updateTable({page:t.meta.pages})},handleError:function(){this.isAPersistedTable&&this.initialRequest&&(this.initialRequest=!1,this.locked=!1,this.resetTable())},insertTabulatrData:function(t){"string"==typeof t&&(t=JSON.parse(t));var e=t.meta.table_id,n=$("#"+e),i=n.find("tbody"),r=$("#no-data-"+e);this.prepareTableForInsert(e,t.meta.append,t.data.length,t.meta.count),r.length>0&&0==t.data.length?(n.hide(),r.show()):(n.show(),r.hide());for(var o=0;o<t.data.length;o++){var a=t.data[o],s=a.id,l=$("#"+e+" tr.empty_row").clone();l.removeClass("empty_row"),a._row_config.data&&(l.data(a._row_config.data),delete a._row_config.data),l.attr(a._row_config),l.attr("data-page",t.meta.page),l.attr("data-id",s),l.find("td").each((function(t,e){var n=$(e),i=n.data("tabulatr-type"),r=n.data("tabulatr-column-name"),o=a[r];"checkbox"===i&&(o=$("<input>").attr("type","checkbox").val(s).addClass("tabulatr-checkbox")),n.html(o)})),i.append(l)}this.updateInfoString(e,t),this.isAPersistedTable&&this.retrieveTableFromLocalStorage(t)},replacer:function(t,e){return this.currentData[e]},makeAction:function(t,e){return this.currentData=e,decodeURI(t).replace(/{{([\w:]+)}}/g,this.replacer)},submitFilterForm:function(){return this.hasInfiniteScrolling&&($(".pagination_trigger[data-table="+this.id+"]").unbind("inview",cbfn),$(".pagination_trigger[data-table="+this.id+"]").bind("inview",cbfn)),this.updateTable({page:1,append:!1},!0),!1},createParameterString:function(t){var e=this.id.split("_")[0];return void 0===t&&(t={append:!1}),(t=this.getPageParams(t)).arguments=$.map($("#"+this.id+" th"),(function(t){return $(t).data("tabulatr-column-name")})).filter((function(t){return t})).join(),t.table_id=this.id,t[e+"_search"]=$("input#"+this.id+"_fuzzy_search_query").val(),this.readParamsFromForm(t)},localDate:function(t){return new Date(t).toLocaleString()},showLoadingSpinner:function(){$('.tabulatr-spinner-box[data-table="'+this.id+'"]').show()},hideLoadingSpinner:function(){this.initialRequest=!1,this.locked=!1,$('.tabulatr-spinner-box[data-table="'+this.id+'"]').hide()},updateInfoString:function(t,e){var n=$(".tabulatr_count[data-table="+t+"]").data("format-string");n=(n=(n=n.replace(/%\{current\}/,e.meta.count)).replace(/%\{total\}/,e.meta.total)).replace(/%\{per_page\}/,e.meta.pagesize),$(".tabulatr_count[data-table="+t+"]").html(n)},readParamsFromForm:function(t){for(var e=$('.tabulatr_filter_form[data-table="'+this.id+'"]').find("input:visible,select:visible,input[type=hidden]").serializeArray(),n=0;n<e.length;n++)void 0!==t[e[n].name]?(Array.isArray(t[e[n].name])||(t[e[n].name]=[t[e[n].name]]),t[e[n].name].push(e[n].value)):t[e[n].name]=e[n].value;return t},getPageParams:function(t){var e=t.pagesize;return void 0===e&&(e=$("table#"+this.id).data("pagesize")),void 0===t.page&&(this.hasInfiniteScrolling&&(t.page=Math.floor($("#"+this.id+" tbody tr[class!=empty_row]").length/e)+1),isFinite(t.page)||(t.page=1)),t.pagesize=e,t},prepareTableForInsert:function(t,e,n,i){e||(this.storePage?$("#"+t+" tbody tr").hide():$("#"+t+" tbody").html("")),(0===n||this.currentCount()+n>=i)&&(this.moreResults=!1,$(".pagination_trigger[data-table="+t+"]").unbind("inview"))}},$((function(){Tabulatr.prototype.retrieveTableFromLocalStorage=function(t){try{var e=JSON.parse(localStorage[this.id]);if(void 0!==e){$(".pagination[data-table="+this.id+"] a[data-page="+t.meta.page+"]");var n=$("#"+this.id),i=this.id.split("_")[0],r=e[i+"_sort"];if(r&&""!=r){var o=n.find('th.tabulatr-sortable[data-tabulatr-column-name="'+r.split(" ")[0]+'"]');o.attr("data-sorted",r.split(" ")[1]),o.addClass("sorted"),$(".tabulatr_filter_form[data-table="+this.id+'] input[name="'+i+'_sort"]').val(r)}$("input#"+this.id+"_fuzzy_search_query").val(e[i+"_search"]);for(var a,s=Object.keys(e),l=0;l<s.length;l++)if((a=$('[name="'+s[l]+'"]')).length>0){var c=e[s[l]];a.val(c).trigger("change"),a.parents(".tabulatr-filter-row").length>0&&c&&c.length>0&&$('.tabulatr-outer-wrapper[data-table-id="'+this.id+'"]').addClass("filtered")}}}catch(t){}},Tabulatr.prototype.resetTable=function(){tableName=this.id.split("_")[0],localStorage.removeItem(this.id),$("table#"+this.id).find("th.sorted").removeClass("sorted").removeAttr("data-sorted"),$("form[data-table="+this.id+"] input.search").val(""),$('.tabulatr_filter_form[data-table="'+this.id+'"]').find("input[type=text], input[type=hidden], select").val(""),$(".tabulatr_filter_form[data-table="+this.id+'] input[name="'+tableName+'_sort"]').val(""),this.updateTable({page:1},!0)}})),TabulatrPagination.prototype={constructor:TabulatrPagination,createPaginationListItem:function(t,e){var n=$('<li><a href="" data-page="'+t+'">'+t+"</a></li>");return e&&n.addClass("active"),n},updatePagination:function(t){var e=$(".pagination[data-table="+this.tableId+"] > ul");if(e.html(this.createResetButton()),this.pageCount<13)for(var n=1;n<=this.pageCount;n++)e.append(this.createPaginationListItem(n,n==t));else{t>1&&e.append(this.createPaginationListItem(1,!1));var i=Math.floor((1+t)/2);i>1&&i<t-2&&(e.append("<li><span>...</span></li>"),e.append(this.createPaginationListItem(i,!1))),t>4&&e.append("<li><span>...</span></li>"),t>3&&e.append(this.createPaginationListItem(t-2,!1)),t>2&&e.append(this.createPaginationListItem(t-1,!1)),e.append(this.createPaginationListItem(t,!0)),t<this.pageCount-1&&e.append(this.createPaginationListItem(t+1,!1)),t<this.pageCount-2&&e.append(this.createPaginationListItem(t+2,!1)),t<this.pageCount-3&&e.append("<li><span>...</span></li>"),i=Math.floor((t+this.pageCount)/2),this.additionalPlaceholderNeeded(i,t)&&(e.append(this.createPaginationListItem(i,!1)),e.append("<li><span>...</span></li>")),t<this.pageCount&&e.append(this.createPaginationListItem(this.pageCount,!1))}},createResetButton:function(){var t="";return $("table#"+this.tableId).data("persistent")&&(t='<li><a href="#" data-tabulatr-reset="'+this.tableId+'"><i class="fa fa-refresh"></i></a></li>'),t},additionalPlaceholderNeeded:function(t,e){return t>e+3&&t<this.pageCount-1}},$(tabulatrInitialize),$(document).on("page:load",tabulatrInitialize),$(document).on("click",".pagination a[data-page]",(function(){var t=$(this);if(t.parent().hasClass("active")||t.parent().hasClass("disabled"))return!1;var e,n=$(t).closest(".pagination").data("table");$(".tabulatr_mark_all[data-table="+n+"]").prop("checked",!1),$(".tabulatr_mark_all[data-table="+n+"]").prop("indeterminate",!1);for(var i=0;i<tabulatr_tables.length;i++)tabulatr_tables[i].id===n&&(e=tabulatr_tables[i]);return e.updateTable({append:!1,page:t.data("page")}),!1})),$(document).on("change","select[data-tabulatr-date-filter]",(function(){var t=$(this);"from_to"===t.find("option:selected").val()?t.parents(".form-group").find(".from_to").show().removeClass("hidden"):t.parents(".form-group").find(".from_to").hide().val("")})),function(t){var e,n,i={},r=document,o=window,a=r.documentElement,s=t.expando;t.event.special.inview={add:function(e){i[e.guid+"-"+this[s]]={data:e,$element:t(this)}},remove:function(t){try{delete i[t.guid+"-"+this[s]]}catch(t){}}},t(o).bind("scroll resize",(function(){e=n=null})),!a.addEventListener&&a.attachEvent&&a.attachEvent("onfocusin",(function(){n=null})),setInterval((function(){var s,l=t(),c=0;if(t.each(i,(function(t,e){var n=e.data.selector,i=e.$element;l=l.add(n?i.find(n):i)})),s=l.length){var u;if(!(u=e))(f={height:o.innerHeight,width:o.innerWidth}).height||!(u=r.compatMode)&&t.support.boxModel||(f={height:(u="CSS1Compat"===u?a:r.body).clientHeight,width:u.clientWidth}),u=f;for(e=u,n=n||{top:o.pageYOffset||a.scrollTop||r.body.scrollTop,left:o.pageXOffset||a.scrollLeft||r.body.scrollLeft};c<s;c++)if(t.contains(a,l[c])){var d=(u=t(l[c])).height(),h=u.width(),p=u.offset(),f=u.data("inview");if(!n||!e)break;p.top+d>n.top&&p.top<n.top+e.height&&p.left+h>n.left&&p.left<n.left+e.width?(p=(h=n.left>p.left?"right":n.left+e.width<p.left+h?"left":"both")+"-"+(d=n.top>p.top?"bottom":n.top+e.height<p.top+d?"top":"both"),(!f||f!==p)&&u.data("inview",p).trigger("inview",[!0,h,d])):f&&u.data("inview",!1).trigger("inview",[!1])}}}),250)}(jQuery),function t(e,n,i){function r(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){var n=e[a][1][t];return r(n||t)}),u,u.exports,t,e,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(t,e,n){(function(t){!function(i){function r(t){throw new RangeError(O[t])}function o(t,e){for(var n=t.length,i=[];n--;)i[n]=e(t[n]);return i}function a(t,e){var n=t.split("@"),i="";return n.length>1&&(i=n[0]+"@",t=n[1]),i+o((t=t.replace(j,".")).split("."),e).join(".")}function s(t){for(var e,n,i=[],r=0,o=t.length;r<o;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<o?56320==(64512&(n=t.charCodeAt(r++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--):i.push(e);return i}function l(t){return o(t,(function(t){var e="";return t>65535&&(e+=B((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+B(t)})).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:x}function u(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function d(t,e,n){var i=0;for(t=n?R(t/T):t>>1,t+=R(t/e);t>$*k>>1;i+=x)t=R(t/$);return R(i+($+1)*t/(t+A))}function h(t){var e,n,i,o,a,s,u,h,p,f,m=[],g=t.length,v=0,y=S,w=D;for((n=t.lastIndexOf(E))<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&r("not-basic"),m.push(t.charCodeAt(i));for(o=n>0?n+1:0;o<g;){for(a=v,s=1,u=x;o>=g&&r("invalid-input"),((h=c(t.charCodeAt(o++)))>=x||h>R((_-v)/s))&&r("overflow"),v+=h*s,!(h<(p=u<=w?C:u>=w+k?k:u-w));u+=x)s>R(_/(f=x-p))&&r("overflow"),s*=f;w=d(v-a,e=m.length+1,0==a),R(v/e)>_-y&&r("overflow"),y+=R(v/e),v%=e,m.splice(v++,0,y)}return l(m)}function p(t){var e,n,i,o,a,l,c,h,p,f,m,g,v,y,w,b=[];for(g=(t=s(t)).length,e=S,n=0,a=D,l=0;l<g;++l)(m=t[l])<128&&b.push(B(m));for(i=o=b.length,o&&b.push(E);i<g;){for(c=_,l=0;l<g;++l)(m=t[l])>=e&&m<c&&(c=m);for(c-e>R((_-n)/(v=i+1))&&r("overflow"),n+=(c-e)*v,e=c,l=0;l<g;++l)if((m=t[l])<e&&++n>_&&r("overflow"),m==e){for(h=n,p=x;!(h<(f=p<=a?C:p>=a+k?k:p-a));p+=x)w=h-f,y=x-f,b.push(B(u(f+w%y,0))),h=R(w/y);b.push(B(u(h,0))),a=d(n,v,i==o),n=0,++i}++n,++e}return b.join("")}function f(t){return a(t,(function(t){
return I.test(t)?h(t.slice(4).toLowerCase()):t}))}function m(t){return a(t,(function(t){return M.test(t)?"xn--"+p(t):t}))}var g="object"==typeof n&&n&&!n.nodeType&&n,v="object"==typeof e&&e&&!e.nodeType&&e,y="object"==typeof t&&t;y.global!==y&&y.window!==y&&y.self!==y||(i=y);var w,b,_=2147483647,x=36,C=1,k=26,A=38,T=700,D=72,S=128,E="-",I=/^xn--/,M=/[^\x20-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},$=x-C,R=Math.floor,B=String.fromCharCode;if(w={version:"1.4.1",ucs2:{decode:s,encode:l},decode:h,encode:p,toASCII:m,toUnicode:f},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",(function(){return w}));else if(g&&v)if(e.exports==g)v.exports=w;else for(b in w)w.hasOwnProperty(b)&&(g[b]=w[b]);else i.punycode=w}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,r,o){e=e||"&",r=r||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var l=1e3;o&&"number"==typeof o.maxKeys&&(l=o.maxKeys);var c=t.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var d,h,p,f,m=t[u].replace(s,"%20"),g=m.indexOf(r);g>=0?(d=m.substr(0,g),h=m.substr(g+1)):(d=m,h=""),p=decodeURIComponent(d),f=decodeURIComponent(h),n(a,p)?i(a[p])?a[p].push(f):a[p]=[a[p],f]:a[p]=f}return a};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],3:[function(t,e){"use strict";function n(t,e){if(t.map)return t.map(e);for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i));return n}var i=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,a,s){return e=e||"&",a=a||"=",null===t&&(t=void 0),"object"==typeof t?n(o(t),(function(o){var s=encodeURIComponent(i(o))+a;return r(t[o])?n(t[o],(function(t){return s+encodeURIComponent(i(t))})).join(e):s+encodeURIComponent(i(t[o]))})).join(e):s?encodeURIComponent(i(s))+a+encodeURIComponent(i(t)):""};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},o=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},{}],4:[function(t,e,n){"use strict";n.decode=n.parse=t("./decode"),n.encode=n.stringify=t("./encode")},{"./decode":2,"./encode":3}],5:[function(t,e,n){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function r(t,e,n){if(t&&c(t)&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}function o(t){return l(t)&&(t=r(t)),t instanceof i?t.format():i.prototype.format.call(t)}function a(t,e){return r(t,!1,!0).resolve(e)}function s(t,e){return t?r(t,!1,!0).resolveObject(e):e}function l(t){return"string"==typeof t}function c(t){return"object"==typeof t&&null!==t}function u(t){return null===t}function d(t){return null==t}var h=t("punycode");n.parse=r,n.resolve=a,n.resolveObject=s,n.format=o,n.Url=i;var p=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,m=["<",">",'"',"`"," ","\r","\n","\t"],g=["{","}","|","\\","^","`"].concat(m),v=["'"].concat(g),y=["%","/","?",";","#"].concat(v),w=["/","?","#"],b=255,_=/^[a-z0-9A-Z_-]{0,63}$/,x=/^([a-z0-9A-Z_-]{0,63})(.*)$/,C={javascript:!0,"javascript:":!0},k={javascript:!0,"javascript:":!0},A={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},T=t("querystring");i.prototype.parse=function(t,e,n){if(!l(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t;i=i.trim();var r=p.exec(i);if(r){var o=(r=r[0]).toLowerCase();this.protocol=o,i=i.substr(r.length)}if(n||r||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var a="//"===i.substr(0,2);!a||r&&k[r]||(i=i.substr(2),this.slashes=!0)}if(!k[r]&&(a||r&&!A[r])){for(var s=-1,c=0;c<w.length;c++){-1!==(f=i.indexOf(w[c]))&&(-1===s||f<s)&&(s=f)}var u,d;-1!==(d=-1===s?i.lastIndexOf("@"):i.lastIndexOf("@",s))&&(u=i.slice(0,d),i=i.slice(d+1),this.auth=decodeURIComponent(u)),s=-1;for(c=0;c<y.length;c++){var f;-1!==(f=i.indexOf(y[c]))&&(-1===s||f<s)&&(s=f)}-1===s&&(s=i.length),this.host=i.slice(0,s),i=i.slice(s),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var g=this.hostname.split(/\./),D=(c=0,g.length);c<D;c++){var S=g[c];if(S&&!S.match(_)){for(var E="",I=0,M=S.length;I<M;I++)E+=S.charCodeAt(I)>127?"x":S[I];if(!E.match(_)){var j=g.slice(0,c),O=g.slice(c+1),$=S.match(x);$&&(j.push($[1]),O.unshift($[2])),O.length&&(i="/"+O.join(".")+i),this.hostname=j.join(".");break}}}if(this.hostname.length>b?this.hostname="":this.hostname=this.hostname.toLowerCase(),!m){var R=this.hostname.split("."),B=[];for(c=0;c<R.length;++c){var N=R[c];B.push(N.match(/[^A-Za-z0-9_-]/)?"xn--"+h.encode(N):N)}this.hostname=B.join(".")}var P=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+P,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!C[o])for(c=0,D=v.length;c<D;c++){var H=v[c],F=encodeURIComponent(H);F===H&&(F=escape(H)),i=i.split(H).join(F)}var Y=i.indexOf("#");-1!==Y&&(this.hash=i.substr(Y),i=i.slice(0,Y));var Q=i.indexOf("?");if(-1!==Q?(this.search=i.substr(Q),this.query=i.substr(Q+1),e&&(this.query=T.parse(this.query)),i=i.slice(0,Q)):e&&(this.search="",this.query={}),i&&(this.pathname=i),A[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){P=this.pathname||"",N=this.search||"";this.path=P+N}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",r=!1,o="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&c(this.query)&&Object.keys(this.query).length&&(o=T.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||A[e])&&!1!==r?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})),e+r+n+(a=a.replace("#","%23"))+i},i.prototype.resolve=function(t){return this.resolveObject(r(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if(l(t)){var e=new i;e.parse(t,!1,!0),t=e}var n=new i;if(Object.keys(this).forEach((function(t){n[t]=this[t]}),this),n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol)return Object.keys(t).forEach((function(e){"protocol"!==e&&(n[e]=t[e])})),A[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n;if(t.protocol&&t.protocol!==n.protocol){if(!A[t.protocol])return Object.keys(t).forEach((function(e){n[e]=t[e]})),n.href=n.format(),n;if(n.protocol=t.protocol,t.host||k[t.protocol])n.pathname=t.pathname;else{for(var r=(t.pathname||"").split("/");r.length&&!(t.host=r.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var o=n.pathname||"",a=n.search||"";n.path=o+a}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var s=n.pathname&&"/"===n.pathname.charAt(0),c=t.host||t.pathname&&"/"===t.pathname.charAt(0),h=c||s||n.host&&t.pathname,p=h,f=n.pathname&&n.pathname.split("/")||[],m=(r=t.pathname&&t.pathname.split("/")||[],n.protocol&&!A[n.protocol]);if(m&&(n.hostname="",n.port=null,n.host&&(""===f[0]?f[0]=n.host:f.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===r[0]?r[0]=t.host:r.unshift(t.host)),t.host=null),h=h&&(""===r[0]||""===f[0])),c)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,f=r;else if(r.length)f||(f=[]),f.pop(),f=f.concat(r),n.search=t.search,n.query=t.query;else if(!d(t.search)){if(m)n.hostname=n.host=f.shift(),(b=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=b.shift(),n.host=n.hostname=b.shift());return n.search=t.search,n.query=t.query,u(n.pathname)&&u(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!f.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var g=f.slice(-1)[0],v=(n.host||t.host)&&("."===g||".."===g)||""===g,y=0,w=f.length;w>=0;w--)"."==(g=f[w])?f.splice(w,1):".."===g?(f.splice(w,1),y++):y&&(f.splice(w,1),y--);if(!h&&!p)for(;y--;y)f.unshift("..");!h||""===f[0]||f[0]&&"/"===f[0].charAt(0)||f.unshift(""),v&&"/"!==f.join("/").substr(-1)&&f.push("");var b,_=""===f[0]||f[0]&&"/"===f[0].charAt(0);m&&(n.hostname=n.host=_?"":f.length?f.shift():"",(b=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=b.shift(),n.host=n.hostname=b.shift()));return(h=h||n.host&&f.length)&&!_&&f.unshift(""),f.length?n.pathname=f.join("/"):(n.pathname=null,n.path=null),u(n.pathname)&&u(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=f.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{punycode:1,querystring:4}],6:[function(t,e){"use strict";e.exports=function(t){return{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"addthis",faName:"fa-plus",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 AddThis",da:"Del p\xe5 AddThis",de:"Bei AddThis teilen",en:"Share on AddThis",es:"Compartir en AddThis",fi:"Jaa AddThisiss\xe4",fr:"Partager sur AddThis",hr:"Podijelite na AddThis",hu:"Megoszt\xe1s AddThisen",it:"Condividi su AddThis",ja:"AddThis\u4e0a\u3067\u5171\u6709",ko:"AddThis\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op AddThis",no:"Del p\xe5 AddThis",pl:"Udost\u0119pnij przez AddThis",pt:"Compartilhar no AddThis",ro:"Partajeaz\u0103 pe AddThis",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 AddThis",sk:"Zdie\u013ea\u0165 na AddThis",sl:"Deli na AddThis",sr:"Podeli na AddThis",sv:"Dela p\xe5 AddThis",tr:"AddThis'ta payla\u015f",zh:"\u5728AddThis\u4e0a\u5206\u4eab"},shareUrl:"http://api.addthis.com/oexchange/0.8/offer?url="+encodeURIComponent(t.getURL())+t.getReferrerTrack()}}},{}],7:[function(t,e){"use strict";var n=t("url");e.exports=function(t){var e=n.parse("https://share.diasporafoundation.org/",!0);return e.query.url=t.getURL(),e.query.title=t.getTitle()||t.getMeta("DC.title"),e.protocol="https",delete e.search,{popup:!0,shareText:{de:"teilen",en:"share",zh:"\u5206\u4eab"},name:"diaspora",faName:"fa-asterisk",title:{de:"Bei Diaspora teilen",en:"Share on Diaspora",zh:"\u5206\u4eab\u81f3Diaspora"},shareUrl:n.format(e)+t.getReferrerTrack()}}},{url:5}],8:[function(t,e){"use strict";e.exports=function(t){return{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"facebook",faName:"fa-facebook",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432\u044a\u0432 Facebook",da:"Del p\xe5 Facebook",de:"Bei Facebook teilen",en:"Share on Facebook",es:"Compartir en Facebook",fi:"Jaa Facebookissa",fr:"Partager sur Facebook",hr:"Podijelite na Facebooku",hu:"Megoszt\xe1s Facebookon",it:"Condividi su Facebook",ja:"\u30d5\u30a7\u30a4\u30b9\u30d6\u30c3\u30af\u4e0a\u3067\u5171\u6709",ko:"\ud398\uc774\uc2a4\ubd81\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op Facebook",no:"Del p\xe5 Facebook",pl:"Udost\u0119pnij na Facebooku",pt:"Compartilhar no Facebook",ro:"Partajeaz\u0103 pe Facebook",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 Facebook",sk:"Zdie\u013ea\u0165 na Facebooku",sl:"Deli na Facebooku",sr:"Podeli na Facebook-u",sv:"Dela p\xe5 Facebook",tr:"Facebook'ta payla\u015f",zh:"\u5728Facebook\u4e0a\u5206\u4eab"},shareUrl:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(t.getURL())+t.getReferrerTrack()}}},{}],9:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator"),r=t.getMeta("description");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!0,shareText:"Flattr",name:"flattr",faName:"fa-money",title:{de:"Artikel flattrn",en:"Flattr this"},shareUrl:"https://flattr.com/submit/auto?title="+encodeURIComponent(n)+"&description="+encodeURIComponent(r)+"&category="+encodeURIComponent(t.options.flattrCategory||"text")+"&user_id="+encodeURIComponent(t.options.flattrUser)+"&url="+e+t.getReferrerTrack()}}},{}],10:[function(t,e){"use strict";e.exports=function(t){return{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"googleplus",faName:"fa-google-plus",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 Google+",da:"Del p\xe5 Google+",de:"Bei Google+ teilen",en:"Share on Google+",es:"Compartir en Google+",fi:"Jaa Google+:ssa",fr:"Partager sur Goolge+",hr:"Podijelite na Google+",hu:"Megoszt\xe1s Google+on",it:"Condividi su Google+",ja:"Google+\u4e0a\u3067\u5171\u6709",ko:"Google+\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op Google+",no:"Del p\xe5 Google+",pl:"Udost\u0119pnij na Google+",pt:"Compartilhar no Google+",ro:"Partajeaz\u0103 pe Google+",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 Google+",sk:"Zdie\u013ea\u0165 na Google+",sl:"Deli na Google+",sr:"Podeli na Google+",sv:"Dela p\xe5 Google+",tr:"Google+'da payla\u015f",zh:"\u5728Google+\u4e0a\u5206\u4eab"},shareUrl:"https://plus.google.com/share?url="+encodeURIComponent(t.getURL())+t.getReferrerTrack()}}},{}],11:[function(t,e){"use strict";e.exports=function(t){return{blank:!0,popup:!1,shareText:"Info",name:"info",faName:"fa-info",title:{de:"weitere Informationen",en:"more information",es:"m\xe1s informaciones",fr:"plus d'informations",it:"maggiori informazioni",da:"flere oplysninger",nl:"verdere informatie",zh:"\u66f4\u591a\u4fe1\u606f"},shareUrl:t.getInfoUrl()}}},{}],12:[function(t,e){"use strict";e.exports=function(t){return{popup:!0,shareText:{de:"mitteilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u30b7\u30a7\u30a2",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"distribui\u021bi",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"linkedin",faName:"fa-linkedin",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 LinkedIn",da:"Del p\xe5 LinkedIn",de:"Bei LinkedIn teilen",en:"Share on LinkedIn",es:"Compartir en LinkedIn",fi:"Jaa LinkedIniss\xe4",fr:"Partager sur LinkedIn",hr:"Podijelite na LinkedIn",hu:"Megoszt\xe1s LinkedInen",it:"Condividi su LinkedIn",ja:"LinkedIn\u4e0a\u3067\u5171\u6709",ko:"LinkedIn\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op LinkedIn",no:"Del p\xe5 LinkedIn",pl:"Udost\u0119pnij przez LinkedIn",pt:"Compartilhar no LinkedIn",ro:"Partajeaz\u0103 pe LinkedIn",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 LinkedIn",sk:"Zdie\u013ea\u0165 na LinkedIn",sl:"Deli na LinkedIn",sr:"Podeli na LinkedIn-u",sv:"Dela p\xe5 LinkedIn",tr:"LinkedIn'ta payla\u015f",zh:"\u5728LinkedIn\u4e0a\u5206\u4eab"},shareUrl:"https://www.linkedin.com/cws/share?url="+encodeURIComponent(t.getURL())+t.getReferrerTrack()}}},{}],13:[function(t,e){"use strict";e.exports=function(t){var e=t.getOption("mailUrl");return 0===e.indexOf("mailto:")&&(e+="?subject="+encodeURIComponent(t.getOption("mailSubject")),e+="&body="+encodeURIComponent(t.getOption("mailBody"))),{blank:0===e.indexOf("http"),popup:!1,shareText:"mail",name:"mail",faName:"fa-envelope",title:{bg:"\u0418\u0437\u043f\u0440\u0430\u0442\u0438 \u043f\u043e \u0438\u043c\u0435\u0439\u043b",da:"Sende via e-mail",de:"Per E-Mail versenden",en:"Send by email",es:"Enviar por email",fi:"L\xe4het\xe4 s\xe4hk\xf6postitse",fr:"Envoyer par courriel",hr:"Po\u0161aljite emailom",hu:"Elk\xfcld\xe9s e-mailben",it:"Inviare via email",ja:"\u96fb\u5b50\u30e1\u30fc\u30eb\u3067\u9001\u4fe1",ko:"\uc774\uba54\uc77c\ub85c \ubcf4\ub0b4\uae30",nl:"Sturen via e-mail",no:"Send via epost",pl:"Wy\u015blij e-mailem",pt:"Enviar por e-mail",ro:"Trimite prin e-mail",ru:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e \u044d\u043b. \u043f\u043e\u0447\u0442\u0435",sk:"Posla\u0165 e-mailom",sl:"Po\u0161lji po elektronski po\u0161ti",sr:"Po\u0161alji putem email-a",sv:"Skicka via e-post",tr:"E-posta ile g\xf6nder",zh:"\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u4f20\u9001"},shareUrl:e}}},{}],14:[function(t,e){"use strict";var n=t("url");e.exports=function(t){var e=t.getMeta("DC.title")||t.getTitle(),i=t.getMeta("DC.creator");i.length>0&&(e+=" - "+i);var r=t.getOption("mediaUrl");r&&r.length<=0&&(r=t.getMeta("og:image"));var o=n.parse("https://www.pinterest.com/pin/create/link/",!0);return o.query.url=t.getURL(),o.query.media=r,o.query.description=e,delete o.search,{popup:!0,shareText:"pin it",name:"pinterest",faName:"fa-pinterest-p",title:{de:"Bei Pinterest pinnen",en:"Pin it on Pinterest",es:"Compartir en Pinterest",fr:"Partager sur Pinterest",it:"Condividi su Pinterest",da:"Del p\xe5 Pinterest",nl:"Delen op Pinterest",zh:"\u5206\u4eab\u81f3Pinterest"},shareUrl:n.format(o)+t.getReferrerTrack()}}},{url:5}],15:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"qzone",faName:"fa-qq",title:{de:"Bei Qzone teilen",en:"Share on Qzone",zh:"\u5206\u4eab\u81f3QQ\u7a7a\u95f4"},shareUrl:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+e+"&title="+n+t.getReferrerTrack()}}},{}],16:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=encodeURIComponent(t.getTitle());return""!==n&&(n="&title="+n),{popup:!0,shareText:{de:"teilen",en:"share",zh:"\u5206\u4eab"},name:"reddit",faName:"fa-reddit",title:{de:"Bei Reddit teilen",en:"Share on Reddit",zh:"\u5206\u4eab\u81f3Reddit"},shareUrl:"https://reddit.com/submit?url="+e+n+t.getReferrerTrack()}}},{}],17:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=encodeURIComponent(t.getTitle());return""!==n&&(n="&title="+n),{popup:!0,shareText:{de:"teilen",en:"share",zh:"\u5206\u4eab"},name:"stumbleupon",faName:"fa-stumbleupon",title:{de:"Bei Stumbleupon teilen",en:"Share on Stumbleupon",zh:"\u5206\u4eab\u81f3Stumbleupon"},shareUrl:"https://www.stumbleupon.com/submit?url="+e+n+t.getReferrerTrack()}}},{}],18:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"tencent-weibo",faName:"fa-tencent-weibo",title:{de:"Bei tencent weibo teilen",en:"Share on tencent weibo",zh:"\u5206\u4eab\u81f3\u817e\u8baf\u5fae\u535a"},shareUrl:"http://v.t.qq.com/share/share.php?url="+e+"&title="+n+t.getReferrerTrack()}}},{}],19:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!1,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"threema",faName:"fa-lock",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 Threema",da:"Del p\xe5 Threema",de:"Bei Threema teilen",en:"Share on Threema",es:"Compartir en Threema",fi:"Jaa Threemaiss\xe4",fr:"Partager sur Threema",hr:"Podijelite na Threema",hu:"Megoszt\xe1s Threemaen",it:"Condividi su Threema",ja:"Threema\u4e0a\u3067\u5171\u6709",ko:"Threema\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op Threema",no:"Del p\xe5 Threema",pl:"Udost\u0119pnij przez Threema",pt:"Compartilhar no Threema",ro:"Partajeaz\u0103 pe Threema",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 Threema",sk:"Zdie\u013ea\u0165 na Threema",sl:"Deli na Threema",sr:"Podeli na Threema-u",sv:"Dela p\xe5 Threema",tr:"Threema'ta payla\u015f",zh:"\u5728Threema\u4e0a\u5206\u4eab"},shareUrl:"threema://compose?text="+encodeURIComponent(n)+"%20"+e+t.getReferrerTrack()}}},{}],20:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"tumblr",faName:"fa-tumblr",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 tumblr",da:"Del p\xe5 tumblr",de:"Bei tumblr teilen",en:"Share on tumblr",es:"Compartir en tumblr",fi:"Jaa tumblriss\xe4",fr:"Partager sur tumblr",hr:"Podijelite na tumblr",hu:"Megoszt\xe1s tumblren",it:"Condividi su tumblr",ja:"tumblr\u4e0a\u3067\u5171\u6709",ko:"tumblr\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op tumblr",no:"Del p\xe5 tumblr",pl:"Udost\u0119pnij przez tumblr",pt:"Compartilhar no tumblr",ro:"Partajeaz\u0103 pe tumblr",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 tumblr",sk:"Zdie\u013ea\u0165 na tumblr",sl:"Deli na tumblr",sr:"Podeli na tumblr-u",sv:"Dela p\xe5 tumblr",tr:"tumblr'ta payla\u015f",zh:"\u5728tumblr\u4e0a\u5206\u4eab"},shareUrl:"http://tumblr.com/widgets/share/tool?canonicalUrl="+e+t.getReferrerTrack()}}},{}],21:[function(t,e){(function(n){"use strict";var i=t("url"),r="undefined"!=typeof window?window.jQuery:void 0!==n?n.jQuery:null,o=function(t,e){var n=r("<div/>").html(t).text();if(n.length<=e)return t;var i=n.substring(0,e-1).lastIndexOf(" ");return n.substring(0,i)+"\u2026"};e.exports=function(t){var e=i.parse("https://twitter.com/intent/tweet",!0),n=t.getMeta("DC.title"),r=t.getMeta("DC.creator");return n.length>0&&r.length>0?n+=" - "+r:n=t.getTitle(),e.query.text=o(n,120),e.query.url=t.getURL(),null!==t.options.twitterVia&&(e.query.via=t.options.twitterVia),delete e.search,{popup:!0,shareText:"tweet",name:"twitter",faName:"fa-twitter",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 Twitter",da:"Del p\xe5 Twitter",de:"Bei Twitter teilen",en:"Share on Twitter",es:"Compartir en Twitter",fi:"Jaa Twitteriss\xe4",fr:"Partager sur Twitter",hr:"Podijelite na Twitteru",hu:"Megoszt\xe1s Twitteren",it:"Condividi su Twitter",ja:"\u30c4\u30a4\u30c3\u30bf\u30fc\u4e0a\u3067\u5171\u6709",ko:"\ud2b8\uc704\ud130\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op Twitter",no:"Del p\xe5 Twitter",pl:"Udost\u0119pnij na Twitterze",pt:"Compartilhar no Twitter",ro:"Partajeaz\u0103 pe Twitter",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 Twitter",sk:"Zdie\u013ea\u0165 na Twitteri",sl:"Deli na Twitterju",sr:"Podeli na Twitter-u",sv:"Dela p\xe5 Twitter",tr:"Twitter'da payla\u015f",zh:"\u5728Twitter\u4e0a\u5206\u4eab"},shareUrl:i.format(e)+t.getReferrerTrack()}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{url:5}],22:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!0,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"weibo",faName:"fa-weibo",title:{de:"Bei weibo teilen",en:"Share on weibo",zh:"\u5206\u4eab\u81f3\u65b0\u6d6a\u5fae\u535a"},shareUrl:"http://service.weibo.com/share/share.php?url="+e+"&title="+n+t.getReferrerTrack()}}},{}],23:[function(t,e){"use strict";e.exports=function(t){var e=encodeURIComponent(t.getURL()),n=t.getMeta("DC.title"),i=t.getMeta("DC.creator");return n.length>0&&i.length>0?n+=" - "+i:n=t.getTitle(),{popup:!1,shareText:{bg:"c\u043f\u043e\u0434\u0435\u043b\u044f\u043d\u0435",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megoszt\xe1s",it:"condividi",ja:"\u5171\u6709",ko:"\uacf5\uc720\ud558\uae30",nl:"delen",no:"del",pl:"udost\u0119pnij",pt:"compartilhar",ro:"partajeaz\u0103",ru:"\u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",sk:"zdie\u013ea\u0165",sl:"deli",sr:"podeli",sv:"dela",tr:"payla\u015f",zh:"\u5206\u4eab"},name:"whatsapp",faName:"fa-whatsapp",title:{bg:"\u0421\u043f\u043e\u0434\u0435\u043b\u0438 \u0432 Whatsapp",da:"Del p\xe5 Whatsapp",de:"Bei Whatsapp teilen",en:"Share on Whatsapp",es:"Compartir en Whatsapp",fi:"Jaa WhatsAppiss\xe4",fr:"Partager sur Whatsapp",hr:"Podijelite na Whatsapp",hu:"Megoszt\xe1s WhatsAppen",it:"Condividi su Whatsapp",ja:"Whatsapp\u4e0a\u3067\u5171\u6709",ko:"Whatsapp\uc5d0\uc11c \uacf5\uc720\ud558\uae30",nl:"Delen op Whatsapp",no:"Del p\xe5 Whatsapp",pl:"Udost\u0119pnij przez WhatsApp",pt:"Compartilhar no Whatsapp",ro:"Partajeaz\u0103 pe Whatsapp",ru:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0430 Whatsapp",sk:"Zdie\u013ea\u0165 na Whatsapp",sl:"Deli na Whatsapp",sr:"Podeli na WhatsApp-u",sv:"Dela p\xe5 Whatsapp",tr:"Whatsapp'ta payla\u015f",zh:"\u5728Whatsapp\u4e0a\u5206\u4eab"},shareUrl:"whatsapp://send?text="+encodeURIComponent(n)+"%20"+e+t.getReferrerTrack()}}},{}],24:[function(t,e){"use strict";e.exports=function(t){return{popup:!0,shareText:{de:"teilen",en:"share",es:"compartir",fr:"partager",it:"condividi",da:"del",nl:"delen",zh:"\u5206\u4eab"},name:"xing",faName:"fa-xing",title:{de:"Bei XING teilen",en:"Share on XING",es:"Compartir en XING",fr:"Partager sur XING",it:"Condividi su XING",da:"Del p\xe5 XING",nl:"Delen op XING",zh:"\u5206\u4eab\u81f3XING"},shareUrl:"https://www.xing.com/social_plugins/share?url="+encodeURIComponent(t.getURL())+t.getReferrerTrack()}}},{}],25:[function(t,e){(function(n){"use strict";var i="undefined"!=typeof window?window.jQuery:void 0!==n?n.jQuery:null,r=t("url"),o=function(e,n){var r=this;this.element=e,i(e).empty(),this.options=i.extend({},this.defaults,n,i(e).data());var o=[t("./services/addthis"),t("./services/diaspora"),t("./services/facebook"),t("./services/flattr"),t("./services/googleplus"),t("./services/info"),t("./services/linkedin"),t("./services/mail"),t("./services/pinterest"),t("./services/reddit"),t("./services/stumbleupon"),t("./services/twitter"),t("./services/whatsapp"),t("./services/xing"),t("./services/tumblr"),t("./services/threema"),t("./services/weibo"),t("./services/tencent-weibo"),t("./services/qzone")];this.services=i.map(this.options.services,(function(t){var e;return o.forEach((function(n){if((n=n(r)).name===t)return e=n,null})),e})),this._addButtonList(),null!==this.options.backendUrl&&this.getShares().then(i.proxy(this._updateCounts,this))};o.prototype={defaults:{theme:"color",backendUrl:null,infoUrl:"http://ct.de/-2467514",lang:"de",langFallback:"en",mailUrl:function(){var t=r.parse(this.getURL(),!0);return t.query.view="mail",delete t.search,r.format(t)},mailSubject:function(){return this.getMeta("DC.title")||this.getTitle()},mailBody:function(){return this.getURL()},mediaUrl:null,orientation:"horizontal",referrerTrack:null,services:["twitter","facebook","googleplus","info"],title:function(){return i("head title").text()},twitterVia:null,flattrUser:null,flattrCategory:null,url:function(){var t=n.document.location.href,e=i("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return e.length>0&&(e.indexOf("http")<0&&(e=n.document.location.protocol+"//"+n.document.location.host+e),t=e),t}},$socialshareElement:function(){return i(this.element)},getLocalized:function(t,e){return"object"==typeof t[e]?void 0===t[e][this.options.lang]?t[e][this.options.langFallback]:t[e][this.options.lang]:"string"==typeof t[e]?t[e]:void 0},getMeta:function(t){return i('meta[name="'+t+'"],[property="'+t+'"]').attr("content")||""},getInfoUrl:function(){return this.options.infoUrl},getURL:function(){return this.getOption("url")},getOption:function(t){var e=this.options[t];return"function"==typeof e?i.proxy(e,this)():e},getTitle:function(){return this.getOption("title")},getReferrerTrack:function(){return this.options.referrerTrack||""},getShares:function(){var t=r.parse(this.options.backendUrl,!0);return t.query.url=this.getURL(),delete t.search,i.getJSON(r.format(t))},_updateCounts:function(t){var e=this;i.each(t,(function(t,n){n>=1e3&&(n=Math.round(n/1e3)+"k"),i(e.element).find("."+t+" a").append('&nbsp;<span class="share_count">'+n)}))},_addButtonList:function(){var t=this,e=this.$socialshareElement(),r="theme-"+this.options.theme,o="orientation-"+this.options.orientation,a="col-"+this.options.services.length,s=i("<ul>").addClass(r).addClass(o).addClass(a);this.services.forEach((function(e){var n=i('<li class="shariff-button">').addClass(e.name),r='<span class="share_text">'+t.getLocalized(e,"shareText"),o=i("<a>").attr("href",e.shareUrl).append(r);void 0!==e.faName&&o.prepend('<span class="fa '+e.faName+'">'),
e.popup?o.attr("data-rel","popup"):e.blank&&o.attr("target","_blank"),o.attr("title",t.getLocalized(e,"title")),o.attr("role","button"),o.attr("aria-label",t.getLocalized(e,"title")),n.append(o),s.append(n)})),s.on("click",'[data-rel="popup"]',(function(t){t.preventDefault();var e=i(this).attr("href"),r="_blank",o="width="+"600"+",height="+"460";n.window.open(e,r,o)})),e.append(s)}},e.exports=o,n.Shariff=o,i(".shariff").each((function(){this.hasOwnProperty("shariff")||(this.shariff=new o(this))}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./services/addthis":6,"./services/diaspora":7,"./services/facebook":8,"./services/flattr":9,"./services/googleplus":10,"./services/info":11,"./services/linkedin":12,"./services/mail":13,"./services/pinterest":14,"./services/qzone":15,"./services/reddit":16,"./services/stumbleupon":17,"./services/tencent-weibo":18,"./services/threema":19,"./services/tumblr":20,"./services/twitter":21,"./services/weibo":22,"./services/whatsapp":23,"./services/xing":24,url:5}]},{},[25]),function(t){t(["jquery"],(function(t){return function(){function e(t,e,n){return f({type:_.error,iconClass:m().iconClasses.error,message:t,optionsOverride:n,title:e})}function n(e,n){return e||(e=m()),(v=t("#"+e.containerId)).length||n&&(v=d(e)),v}function i(t,e,n){return f({type:_.info,iconClass:m().iconClasses.info,message:t,optionsOverride:n,title:e})}function r(t){y=t}function o(t,e,n){return f({type:_.success,iconClass:m().iconClasses.success,message:t,optionsOverride:n,title:e})}function a(t,e,n){return f({type:_.warning,iconClass:m().iconClasses.warning,message:t,optionsOverride:n,title:e})}function s(t,e){var i=m();v||n(i),u(t,i,e)||c(i)}function l(e){var i=m();return v||n(i),e&&0===t(":focus",e).length?void g(e):void(v.children().length&&v.remove())}function c(e){for(var n=v.children(),i=n.length-1;i>=0;i--)u(t(n[i]),e)}function u(e,n,i){var r=!(!i||!i.force)&&i.force;return!(!e||!r&&0!==t(":focus",e).length)&&(e[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){g(e)}}),!0)}function d(e){return(v=t("<div/>").attr("id",e.containerId).addClass(e.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(t(e.target)),v}function h(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function p(t){y&&y(t)}function f(e){function i(t){return null==t&&(t=""),new String(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function r(){s(),c(),u(),d(),h(),l()}function o(){D.hover(x,_),!k.onclick&&k.tapToDismiss&&D.click(y),k.closeButton&&M&&M.click((function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),y(!0)})),k.onclick&&D.click((function(t){k.onclick(t),y()}))}function a(){D.hide(),D[k.showMethod]({duration:k.showDuration,easing:k.showEasing,complete:k.onShown}),k.timeOut>0&&(T=setTimeout(y,k.timeOut),j.maxHideTime=parseFloat(k.timeOut),j.hideEta=(new Date).getTime()+j.maxHideTime,k.progressBar&&(j.intervalId=setInterval(C,10)))}function s(){e.iconClass&&D.addClass(k.toastClass).addClass(A)}function l(){k.newestOnTop?v.prepend(D):v.append(D)}function c(){e.title&&(S.append(k.escapeHtml?i(e.title):e.title).addClass(k.titleClass),D.append(S))}function u(){e.message&&(E.append(k.escapeHtml?i(e.message):e.message).addClass(k.messageClass),D.append(E))}function d(){k.closeButton&&(M.addClass("toast-close-button").attr("role","button"),D.prepend(M))}function h(){k.progressBar&&(I.addClass("toast-progress"),D.prepend(I))}function f(t,e){if(t.preventDuplicates){if(e.message===w)return!0;w=e.message}return!1}function y(e){var n=e&&!1!==k.closeMethod?k.closeMethod:k.hideMethod,i=e&&!1!==k.closeDuration?k.closeDuration:k.hideDuration,r=e&&!1!==k.closeEasing?k.closeEasing:k.hideEasing;return!t(":focus",D).length||e?(clearTimeout(j.intervalId),D[n]({duration:i,easing:r,complete:function(){g(D),k.onHidden&&"hidden"!==O.state&&k.onHidden(),O.state="hidden",O.endTime=new Date,p(O)}})):void 0}function _(){(k.timeOut>0||k.extendedTimeOut>0)&&(T=setTimeout(y,k.extendedTimeOut),j.maxHideTime=parseFloat(k.extendedTimeOut),j.hideEta=(new Date).getTime()+j.maxHideTime)}function x(){clearTimeout(T),j.hideEta=0,D.stop(!0,!0)[k.showMethod]({duration:k.showDuration,easing:k.showEasing})}function C(){var t=(j.hideEta-(new Date).getTime())/j.maxHideTime*100;I.width(t+"%")}var k=m(),A=e.iconClass||k.iconClass;if(void 0!==e.optionsOverride&&(k=t.extend(k,e.optionsOverride),A=e.optionsOverride.iconClass||A),!f(k,e)){b++,v=n(k,!0);var T=null,D=t("<div/>"),S=t("<div/>"),E=t("<div/>"),I=t("<div/>"),M=t(k.closeHtml),j={intervalId:null,hideEta:null,maxHideTime:null},O={toastId:b,state:"visible",startTime:new Date,options:k,map:e};return r(),a(),o(),p(O),k.debug&&console&&console.log(O),D}}function m(){return t.extend({},h(),x.options)}function g(t){v||(v=n()),t.is(":visible")||(t.remove(),t=null,0===v.children().length&&(v.remove(),w=void 0))}var v,y,w,b=0,_={error:"error",info:"info",success:"success",warning:"warning"},x={clear:s,remove:l,error:e,getContainer:n,info:i,options:{},subscribe:r,success:o,version:"2.1.2",warning:a};return x}()}))}("function"==typeof define&&define.amd?define:function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):window.toastr=e(window.jQuery)}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(Element.prototype.matches.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});let wanted_categories=[];var codeConsentForm={rejectAll:function(t){this.setCheckBoxes(t,!1)},acceptAll:function(t){this.setCheckBoxes(t,!0)},setCheckBoxes:function(t,e){var n=this.getForm(t)?this.getForm(t):document.querySelector("form.code-consent");null!==n&&n.querySelectorAll("input[type=checkbox]:not([disabled])").forEach((function(t){t.checked=e}))},toggleCategory:function(t){var e=t.target.checked;t.target.closest("fieldset").querySelectorAll("input[type=checkbox]").forEach((function(t){t.checked=e}))},toggleCode:function(t){if(t.target.checked){let e=t.target.closest("fieldset.category").querySelector("input[name^=skin_code_cat]").value;-1===wanted_categories.indexOf(e)&&wanted_categories.push(e)}else{t.target.closest("fieldset.category").querySelector("input[name^=skin_code_cat]").checked=!1;var e=t.target.closest("fieldset").querySelectorAll("input[type=checkbox]"),n=!0;e.forEach((function(t){t.checked&&(n=!1)})),n&&(wanted_categories=wanted_categories.filter((function(e){return e!==t.target.closest("fieldset.category").querySelector("input[name^=skin_code_cat]").value})))}},getForm:function(t){return t?t.target.closest("form.code-consent"):document.querySelector("form.code-consent")},toggleModalForm:function(){let t=document.querySelector("#cookiemodal>.cookie-notice");if(null!==t&&null!==t.style){let e=t.style;"none"!==e.display?(e.display="none",this.showForm()):(e.display="",this.hideForm())}},hideForm:function(){this.getForm().style.display="none"},showForm:function(){this.getForm().style.display=""},submit:function(t){var e=this.getForm(t)?this.getForm(t):document.querySelector("form.code-consent"),n={categories:[],ids:[],shop_privacy_version:e.querySelector("input[name=shop_privacy_version]").value};e.querySelectorAll("input[type=checkbox]").forEach((function(t){if(t.checked){let e=t.name.match(/^skin_code_(id|cat)_(.*)$/);if(e)switch(e[1]){case"id":n.ids.push(e[2]);break;case"cat":n.categories.push(e[2])}}})),wanted_categories.forEach((function(t){n.categories.includes(t)||n.categories.push(t)})),document.cookie="code_consent="+encodeURIComponent(JSON.stringify(n)),t&&t.preventDefault(),"undefined"!=typeof cookiemodal&&(cookiemodal.style.display="none")}};readyFunctions={"app/helpers/shop/application_helper.rb":function(t){jQuery((function(){Cart.init(t.n,t.s,t.expire_path,t.g8_active),t.g8_active&&function(){function e(){i.open("GET","/heartbeat-active.json"),i.send(),n>0&&setTimeout(e,n)}var n=2e3,i=new XMLHttpRequest;i.withCredentials=!0,i.onload=function(){200===i.status&&(json=JSON.parse(i.responseText),(n=json.active_heartbeat)<2e3&&(n=2e3),json.valid||(window.location=t.expire_path,n=-1))},setTimeout(e,5e3)}()}))},"app/views/components/_product_cart.html.slim#if_flasherror":function(t){alert(t)},"app/views/shop/carts/_buttons.html.slim":function(){var t;$(document).on("ajax:success","#relogin",(function(){window.location.reload()})),$(document).on("click","button[data-omniauth-url]",(function(){var e=$(this).data("omniauthUrl");return t=window.open(e,"login-window","width=650,height=400"),!1})),$(window).on("message",(function(e){switch(e.originalEvent.data){case"logged_in":t.close(),window.location.href=$("a.proceed-to-checkout-btn").attr("href");break;case"failure":t.close(),alert("ALARM!")}}))},"app/views/shop/carts/_listing.html.slim":function(){jQuery((function(t){t(document).on("change","select.change_seat_variant",(function(){var e=t(this),n=e.data("putUrl"),i=e.attr("name"),r=e.val(),o={authenticity_token:t('meta[name="csrf-token"]').attr("content")};return o[i]=r,t.ajax({url:n,data:o,type:"put"}).then((function(e){t(".show_carts_container").html(e)})),e.replaceWith('<i class="fa fa-spinner fa-spin"></i>'),!1})),t(document).on("click","#show_apply_coupon_form",(function(){t(this).hide(),t("#apply_coupon_form").show()}))}))},"app/views/shop/checkout/thankyou.html.slim#create_an_account":function(){jQuery((function(t){t("form#loginpassword, form#setpassword").on("ajax:success",(function(){t("#create-an-account").slideUp((function(){window.location.reload()}))})).on("ajax:error",(function(t,e){alert(e.responseJSON.message)}))}))},"app/views/shop/checkout/thankyou.html.slim#if_not_a_customer":function(t){var e;$(document).on("click","button[data-omniauth-url]",(function(){var t=$(this).data("omniauthUrl");return e=window.open(t,"login-window","width=650,height=400"),!1})),$(window).on("message",(function(n){switch(n.originalEvent.data){case"logged_in":e.close(),$.post(t).then((function(){$("#create-an-account").remove(),window.location.reload()}),(function(t){alert(t.message)}));break;case"failure":e.close(),alert("ALARM!")}}))},"app/views/shop/merchants/_merchant_form.html.slim":function(){jQuery((function(t){t("#submit_merchant").addClass("disabled"),t("#register_checkbox").attr("checked",!1),t(document).on("change","#register_checkbox",(function(){t(this).is(":checked")?t("#submit_merchant").removeClass("disabled"):t("#submit_merchant").addClass("disabled")}))}))},"app/views/shop/omniauth_callbacks/notify_opener.html.slim#if_customer":function(){jQuery((function(){var t=window.location.protocol+"//"+window.location.host;window.opener.postMessage("logged_in",t)}))},"app/views/shop/omniauth_callbacks/notify_opener.html.slim#else":function(){jQuery((function(){var t=window.location.protocol+"//"+window.location.host;window.opener.postMessage("failure",t)}))},"app/views/shop/package_cart_items/show.html.slim":function(){$((function(){require(["toaster_frontend/shop/seating_plan/init"],(function(t){t()}))}))},"app/views/shop/personal/orders/show.html.slim#if_vouchers_complete_not_rdy_for_dl":function(t){jQuery((function(e){function n(){e.get(t,(function(t){t.ready?window.location.reload():window.setTimeout(n,5e3)}))}window.setTimeout(n,8e3)}))},"app/views/shop/personal/orders/show.html.slim#else":function(){jQuery((function(t){t("#edit_transport_company_vouchers_link").click((function(){return t.get(t(this).attr("href"),(function(e){t("#action_area").html(e)})),!1})),t(document).on("click","#passwork_show_listing",(function(){t("#passwork_listing").removeClass("hidden"),t("#passwork_show_listing").addClass("hidden")}))}))},"app/views/shop/personal/orders/c19_personalization.html.slim":function(){$(document).on("click",".copy-previous-data",(function(){var t=$(this),e=t.data("prevIndex"),n=$('.voucher-personalization-fields[data-index="'+e+'"]'),i=t.parents(".voucher-personalization-fields").first();return $(n).find("[data-attribute-name]").each((function(t,e){t=$(e);i.find('[data-attribute-name="'+t.data("attributeName")+'"]').val(t.val())})),t.hide("dissolve"),i.find("input.firstname").first().focus(),!1})),$(document).on("change","#really_change_to_online",(function(){$("#change_to_online_btn").prop("disabled",!$("#really_change_to_online").is(":checked"))}))},"app/views/shop/personal/orders/show.html.slim#cancel_items":function(){$(document).on("change","#acceptCancelTncs",(function(){$("#submitCancelForm").prop("disabled",!$("#acceptCancelTncs").is(":checked"))}))},"app/views/shop/personal/resale_offers/_form.html.slim":function(){jQuery((function(t){var e=t("#sum-price");t("input[data-price]").click((function(){var n=0,i=t("input[data-price]:checked");t("input[type=submit]").prop("disabled",0===i.length),i.each((function(){var e=t(this);n+=+e.data("price")})),n=n<1?(""+n).replace(".",","):(n=""+Math.round(100*n)).slice(0,n.length-2)+","+n.slice(-2),e.html(n),t("input#resale_price").val(n.replace(",","."))}))}))},"app/views/shop/personal/resale_offers/show.html.slim":function(){jQuery((function(t){t("div.row-fluid.align_children").each((function(){var e=t(this),n=0,i=e.children();i.each((function(){n=Math.max(this.clientHeight,n)})),i.css("min-height",n+"px")}))}))},"app/views/shop/personal/resales/show.html.slim":function(){jQuery((function(t){t("div.row-fluid.align_children").each((function(){var e=t(this),n=0,i=e.children();i.each((function(){n=Math.max(this.clientHeight,n)})),i.css("min-height",n+"px")}))}))},"app/views/shop/personal/resales/show.html.slim#if_resale_vouchers_complete_and_not_rdy_for_dl":function(t){jQuery((function(e){function n(){e.get(t,(function(t){t.ready?window.location.reload():window.setTimeout(n,1e3)}))}window.setTimeout(n,1e3)}))},"app/views/shop/products/_product_dp_1.html.slim":function(){$(document).on("click",".switch-to-seating",(function(){return $("#seating-tab").find("a").trigger("click"),!1})),$(document).on("click",".switch-to-variants",(function(){return $("#variants-tab").find("a").trigger("click"),!1}))},"app/views/shop/products/_product_dp_1.html.slim#if_sp_active":function(){$((function(){$("#seating-tab").find("a").trigger("click")}))},"app/views/shop/products/_seating_plan.html.slim":function(){jQuery((function(t){var e=!1;t(document).on("shown.bs.tab",(function(){e||(setTimeout((function(){e=!0,require(["toaster_frontend/shop/seating_plan/init"],(function(t){t()}))}),0),Hammer(document.body).on("doubletap",(function(e){if(t(e.target).is('rect[data-type="standingblock"], rect[data-type="StandingBlock"]'))return t('.nav-tabs a[href="#variants"]').tab("show"),!1})))})),t("#show-seating-plan-btn").click((function(e){return e.preventDefault(),t('#seating-tab a[href="#seating"]').tab("show"),!1}))}))},"app/views/shop/products/_variants_listing.html.slim":function(){jQuery((function(t){Modernizr.canvas||(t(".seating_plan_tr").hide(),t("#no_canvas_warning").show()),t("a[data-toggle-visible]").click((function(){return t(t(this).data("toggleVisible")).toggle(),!1}))}))},"app/views/shop/products/_variants_listing.html.slim#groupings":function(){jQuery((function(t){t("tr[data-grouping]").hide(),t("[data-grouping-select]").click((function(){var e=t(this),n=e.data("groupingSelect");t("[data-grouping-select]").removeClass("active"),e.addClass("active"),t("tr[data-grouping]").hide(),t('tr[data-grouping="'+n+'"]').show()}))}))},"app/views/shop/personal/orders/show_pbc19.html.slim":function(){$((function(){$("input").each((function(){"."==$(this).val()&&$(this).val("")}))}))},"app/views/shop/single_page_checkout/carts/get_status.html.slim":function(t){function e(){$.ajax({url:t,mimeType:"text/json",success:function(t){t.goto?window.location.href=t.goto:t.check_status&&window.setTimeout(e,4e3)}})}$((function(){$("#waitModal").modal(),window.setTimeout(e,6e3)}))},"app/views/shop/single_page_checkout/checkout/index.html.slim":function(){},"app/views/shop/stripe/new.html.slim":function(){jQuery((function(t){var e=t("#card-element").data("key"),n=Stripe(e),i=n.elements().create("card");i.mount("#card-element");var r=document.getElementById("cardholder-name"),o=document.getElementById("card-button"),a=o.dataset.secret;o.addEventListener("click",(function(){t("#payment-failure-alert").hide(),t("#stripe-data-form-container").hide(),t("#checkout-spinner").show(),n.handleCardPayment(a,i,{payment_method_data:{billing_details:{name:r.value}}}).then((function(e){e.error?(t("#stripe-data-form-container").show(),t("#payment-failure-alert").show(),t("#change-instead-of-retry").show(),t("#checkout-spinner").hide(),t("#actual-error-message").text(e.error.message)):t("#payment-success-form").submit()}))}))}))},"app/views/shop/upgrades/choose.html.slim":function(){jQuery((function(t){t("input#accepted_upgrade_conditions").change((function(){t("input#submit_upgrade").prop("disabled",!t(this).is(":checked"))}))}))},"app/views/shop/brands/index.html.slim":function(){function t(){var t=$(this).val().trim().toUpperCase();0==t.length?$(".brand-item").show():$(".brand-item").each((function(){var e=$(this);e.find(".title").text().toUpperCase().indexOf(t)>-1?e.show():e.hide()}))}$((function(){$("#brands-search").focus()})),$(document).on("keyup change","#brands-search",t),$(document).on("click","#clear-brand-filter",(function(){$("#brands-search").val("").change().focus()}))},"app/views/shop/locations/index.html.slim":function(){function t(){var t=$(this).val().trim().toUpperCase();0==t.length?$(".location-item").show():$(".location-item").each((function(){var e=$(this);e.find(".title").text().toUpperCase().indexOf(t)>-1?e.show():e.hide()}))}$((function(){$("#locations-search").focus()})),$(document).on("keyup change","#locations-search",t),$(document).on("click","#clear-location-filter",(function(){$("#locations-search").val("").change().focus()}))},"contentr/form_paragraph.html.slim":function(){$("input.form_date").each((function(t,e){var n=$(e);n.datetimepicker({format:"DD.MM.YYYY"}),n.parent().find(".remove").click((function(){n.val("").change()}))})),$(document).on("submit",".form_paragraph_reply",(function(){var t=$(this).find("input.required, select.required, textarea.required"),e=!1;return t.each((function(t,n){var i=$(n);i.closest(".form-group").removeClass("has-error"),i.val()&&0!=i.val().length||(i.closest(".form-group").addClass("has-error"),e=!0)})),!e})).bind("ajax:success",(function(t,e){var n=$(t.target);return n.find(".panel-body").html(e),n.find(".panel-footer").remove(),!1})).bind("ajax:error",(function(t,e){return $(t.target).closest(".actual_content").html(e.responseText),!1}))},"app/views/shop/products/password_protected.html.slim":function(){$(document).on("ajax:complete","#authenticate-product-form",(function(t,e){200==e.status&&window.location.reload(),$("#product-authentication-password-form").addClass("has-error")}))},"app/views/shop/personal/checkins/checkins/step2.html.slim":function(){},"app/views/shop/personal/checkins/checkins/show.html.slim":function(){window.setTimeout((function(){window.location.reload()}),3e3)},"app/views/shop/products/subscribe_to_product_waiting_queue":function(){function t(){var t=$("select#product_queue_entry_variant_id").find("option:selected"),e=parseInt(t.data("maxQuantity")),n=$("select#product_queue_entry_quantity");if(n&&0!=n.length){n.html("");for(var i=1;i<=e;i++)$(`<option value="${i}">${i}</option>`).appendTo(n)}}$(document).on("change","select#product_queue_entry_variant_id",t).on("ajax:success","#new_product_queue_entry",(function(t,e){if(e.goto)window.location.href=e.goto;else{var n=$(e).find("#new_product_queue_entry");console.log(n),$("#new_product_queue_entry").replaceWith(n)}})).on("change","#product_queue_entry_tnc_accepted",(function(){$("#submit-product-queue-btn").prop("disabled",!$(this).is(":checked"))})),$(t)},"app/views/shop/products/subscribe_to_product_waiting_queue_open_modal":function(){$((function(){window.setTimeout((function(){$("#productQueueModal").modal({show:!0})}),100)}))},"app/views/shop/personal/postponement_requests/show.html.slim":function(){var t=$("body").data("currencySymbol"),e=function(e){return(e.toFixed(2)+" "+t).replace(".",",")};$(document).on("change","input",(function(){var t=$("input.action-chooser:checked").get().reduce((function(t,e){return t+parseFloat($(e).data("amount"))}),0),n=$("input.action-chooser:checked").get().reduce((function(t,e){return t+parseFloat($(e).data("newAmount"))}),0);$("#amountSpan").text(t),$("#newAmountSpan").text(n),console.log([t,n]),$("#partly-donate").toggle(t-n>0),$("#needs-payment").toggle(t-n<0),$("#remaining-payment").text(e(n-t)),$("#remaining-balance").text(e(t-n)),$("#submit-request").prop("disabled",$(".postponement-request-item").length!=$("input.action-chooser:checked").length)}))},"app/views/shop/personal/voucher_swaps/new.html.slim":function(){$(document).on("change","#accept-tnc-cbx",(function(){$("#submit-voucher-swap-btn").prop("disabled",!$(this).prop("checked"))})).on("click",".toggler",(function(t){$(".toggled").toggleClass("hidden"),$('.toggled.hidden input[type="text"]').val(""),$('.toggled.hidden input[type="email"]').val(""),t.preventDefault()}))},"/app/views/shop/personal/orders/_items.html.slim":function(){$(document).on("click",".copy-to-clipboard",(function(){var t=$(this);t.parents(".input-group").first().find(".swap-code").select();document.execCommand("Copy"),t.addClass("btn-success"),window.setTimeout((()=>{t.removeClass("btn-success")}),1e3)})),$(document).on("click",".copy-link-to-clipboard",(function(){var t=$(this),e=t.parents(".input-group").first().find(".swap-code-link");e.show(),e.select(),document.execCommand("Copy"),e.hide(),t.addClass("btn-success"),window.setTimeout((()=>{t.removeClass("btn-success")}),1e3)}))},"/app/views/shop/personal/orders/_c19_personalization_form.html.slim":function(){$(document).on("click",".toggleReadonly",(function(){$(this).parents(".list-group-item").find("input").prop("readonly",!1),$(this).parent().hide()}))}},$("[data-use-javascript]").each((function(){readyFunctions[$(this).data("useJavascript")]($(this).data("jsParams"))}));