1!function(){function t(e){function t(){n.push([this,arguments]),i||t.execute()}var n=[],i=1,r=0,e=e;return t.execute=function(){if(!r){var t;for(r=1,i=0;t=n.shift();)e.apply(t[0],t[1]);r=0}},t.lock=function(){i=0},t}var r,e,l={},u=0,o=[],n=window.FD50={setup:function(t){e=t,n.init()},jquery:function(t){r||(r=t,n.init())},init:function(){u||r&&e&&(n.$=r.initialize(e),n.plugin.execute(),u=1)},plugin:t(function(t,e){e.apply(n,[r])}),module:t(function(t,e){r.module(t,e)}),installer:function(t,e,n){if(o[t]||(o[t]=[]),!e)return o[t];var i=l[t];if(i.registered)return i.install(e,n);o[t].push([e,n])},component:function(a,t){if(!a)return l;if(!t)return l[a];if("function"==typeof t)return(n=t).registered=!0,l[a]=n;function i(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];t[r]=function(t,e,n){return function(){return(n||s).push(o(t,this,arguments)),e}}(r,t,n)}return t}function e(e,n){return function(){var t=[o(e,this,arguments)];return s.push(t),i({},n,t)}}var n,s=[],o=function(t,e,n){return{method:t,context:this,args:n}};return s.execute=function(){for(var t=l[a],e=0;e<s.length;e++){var n=s[e];if("[object Array]"===Object.prototype.toString.call(n))for(var i=n,r=t,o=0;o<i.length;o++)r=r[i[o].method].apply(r,i[o].args);else t[n.method].apply(t,n.args)}},(n=i(function(){n.run.apply(this.arguments)},["run","ready","template","dialog"])).className=a,n.options=t,n.queue=s,n.module=e("module",["done","always","fail","progress"]),n.require=e("require",["library","script","stylesheet","language","template","app","view","done","always","fail","progress"]),window[a]=l[a]=n,u&&r.Component.register(n),n}}}(),FD50.setup({environment:window.ezb.environment,source:"local",mode:"production"==window.ezb.environment?"compressed":"uncompressed",path:window.ezb.rootUrl+"/media/com_easyblog/scripts/vendors",cdn:"",extension:".js",cdnPath:"",rootPath:window.ezb.rootUrl,basePath:window.ezb.rootUrl,indexUrl:window.ezb.rootUrl+"/index.php",token:window.ezb.token,locale:{lang:window.ezb.locale}}),FD50.component("EasyBlog",{environment:window.ezb.environment,source:"local",mode:(window.ezb.environment,"compressed"),version:"2.0",momentLang:window.ezb.momentLang,ajaxUrl:window.ezb.ajaxUrl,scriptVersioning:window.ezb.scriptVersioning,scriptVersion:window.ezb.version}),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(h,t){function s(t){var e=t.length,n=K.type(t);return"function"!==n&&!K.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t))}function e(t,n,i){if(K.isFunction(n))return K.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return K.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(ot.test(n))return K.filter(n,t,i);n=K.filter(n,t)}return K.grep(t,function(t){return 0<=K.inArray(t,n)!==i})}function n(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function i(){at.addEventListener?(at.removeEventListener("DOMContentLoaded",r,!1),h.removeEventListener("load",r,!1)):(at.detachEvent("onreadystatechange",r),h.detachEvent("onload",r))}function r(){!at.addEventListener&&"load"!==event.type&&"complete"!==at.readyState||(i(),K.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(vt,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:mt.test(n)?K.parseJSON(n):n)}catch(t){}K.data(t,e,n)}else n=void 0}return n}function u(t){for(var e in t)if(("data"!==e||!K.isEmptyObject(t[e]))&&"toJSON"!==e)return;return 1}function o(t,e,n,i){if(K.acceptData(t)){var r,o=K.expando,a=t.nodeType,s=a?K.cache:t,l=a?t[o]:t[o]&&o;if(l&&s[l]&&(i||s[l].data)||void 0!==n||"string"!=typeof e)return s[l=l||(a?t[o]=I.pop()||K.guid++:o)]||(s[l]=a?{}:{toJSON:K.noop}),"object"!=typeof e&&"function"!=typeof e||(i?s[l]=K.extend(s[l],e):s[l].data=K.extend(s[l].data,e)),l=s[l],i||(l.data||(l.data={}),l=l.data),void 0!==n&&(l[K.camelCase(e)]=n),"string"==typeof e?null==(r=l[e])&&(r=l[K.camelCase(e)]):r=l,r}}function a(t,e,n){if(K.acceptData(t)){var i,r,o=t.nodeType,a=o?K.cache:t,s=o?t[K.expando]:K.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){r=(e=K.isArray(e)?e.concat(K.map(e,K.camelCase)):e in i||(e=K.camelCase(e))in i?[e]:e.split(" ")).length;for(;r--;)delete i[e[r]];if(n?!u(i):!K.isEmptyObject(i))return}
1(n||(delete a[s].data,u(a[s])))&&(o?K.cleanData([t],!0):Q.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function c(){return!0}function d(){return!1}function f(){try{return at.activeElement}catch(t){}}function g(t){var e=jt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!=gt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!=gt?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||K.nodeName(i,e)?o.push(i):K.merge(o,m(i,e));return void 0===e||e&&K.nodeName(t,e)?K.merge([t],o):o}function v(t){_t.test(t.type)&&(t.defaultChecked=t.checked)}function p(t,e){return K.nodeName(t,"table")&&K.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!==K.find.attr(t,"type"))+"/"+t.type,t}function b(t){var e=zt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){for(var n,i=0;null!=(n=t[i]);i++)K._data(n,"globalEval",!e||K._data(e[i],"globalEval"))}function x(t,e){if(1===e.nodeType&&K.hasData(t)){var n,i,r,o=K._data(t),t=K._data(e,o),a=o.events;if(a)for(n in delete t.handle,t.events={},a)for(i=0,r=a[n].length;i<r;i++)K.event.add(e,n,a[n][i]);t.data&&(t.data=K.extend({},t.data))}}function _(t,e){t=K(e.createElement(t)).appendTo(e.body),e=h.getDefaultComputedStyle?h.getDefaultComputedStyle(t[0]).display:K.css(t[0],"display");return t.detach(),e}function C(t){var e=at,n=Ut[t];return n||("none"!==(n=_(t,e))&&n||((e=((Rt=(Rt||K("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||Rt[0].contentDocument).document).write(),e.close(),n=_(t,e),Rt.detach()),Ut[t]=n),n}function k(e,n){return{get:function(){var t=e();if(null!=t){if(!t)return(this.get=n).apply(this,arguments);delete this.get}}}}function E(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=ce.length;r--;)if((e=ce[r]+n)in t)return e;return i}function T(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)(i=t[a]).style&&(o[a]=K._data(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&yt(i)&&(o[a]=K._data(i,"olddisplay",C(i.nodeName)))):o[a]||(r=yt(i),(n&&"none"!==n||!r)&&K._data(i,"olddisplay",r?n:K.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 $(t,e,n){var i=ae.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function j(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+=K.css(t,n+wt[o],!0,r)),i?("content"===n&&(a-=K.css(t,"padding"+wt[o],!0,r)),"margin"!==n&&(a-=K.css(t,"border"+wt[o]+"Width",!0,r))):(a+=K.css(t,"padding"+wt[o],!0,r),"padding"!==n&&(a+=K.css(t,"border"+wt[o]+"Width",!0,r)));return a}function S(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Vt(t),a=Q.boxSizing()&&"border-box"===K.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(((r=Xt(t,e,o))<0||null==r)&&(r=t.style[e]),te.test(r))return r;i=a&&(Q.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+j(t,e,n||(a?"border":"content"),i,o)+"px"}function A(t,e,n,i,r){return new A.prototype.init(t,e,n,i,r)}function B(){return setTimeout(function(){de=void 0}),de=K.now()}function N(t,e){var n,i={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=wt[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function D(t,e,n){for(var i,r=(be[e]||[]).concat(be["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function O(r,t,e){var n,o,i=0,a=ye.length,s=K.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=de||B(),t=Math.max(0,u.startTime+u.duration-t),e=1-(t/u.duration||0),n=0,i=u.tweens.length;n<i;n++)u.tweens[n].run(e);return s.notifyWith(r,[u,e,t]),e<1&&i?t:(s.resolveWith(r,[u]),!1)},u=s.promise({elem:r,props:K.extend({},t),opts:K.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:de||B(),duration:e.duration,tweens:[],createTween:function(t,e){t=K.Tween(r,u.opts,t,e,u.opts.specialEasing[t]||u.o
1pts.easing);return u.tweens.push(t),t},stop:function(t){var e=0,n=t?u.tweens.length:0;if(o)return this;for(o=!0;e<n;e++)u.tweens[e].run(1);return t?s.resolveWith(r,[u,t]):s.rejectWith(r,[u,t]),this}}),c=u.props;for(!function(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=K.camelCase(n)],o=t[n],K.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=K.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}(c,u.opts.specialEasing);i<a;i++)if(n=ye[i].call(u,r,c,u.opts))return n;return K.map(c,D,u),K.isFunction(u.opts.start)&&u.opts.start.call(r,u),K.fx.timer(K.extend(l,{elem:r,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function P(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(ft)||[];if(K.isFunction(e))for(;n=r[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function L(e,i,r,o){function a(t){var n;return s[t]=!0,K.each(e[t]||[],function(t,e){e=e(i,r,o);return"string"!=typeof e||l||s[e]?l?!(n=e):void 0:(i.dataTypes.unshift(e),a(e),!1)}),n}var s={},l=e===qe;return a(i.dataTypes[0])||!s["*"]&&a("*")}function F(t,e){var n,i,r=K.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n=n||{})[i]=e[i]);return n&&K.extend(!0,t,n),t}function H(){try{return new h.XMLHttpRequest}catch(t){}}function z(t){return K.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}function M(t,e){return e.toUpperCase()}var I=[],q=I.slice,R=I.concat,W=I.push,U=I.indexOf,V={},X=V.toString,J=V.hasOwnProperty,G="".trim,Q={},Y="1.11.1pre",K=function(t,e){return new K.fn.init(t,e)},Z=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,tt=/^-ms-/,et=/-([\da-z])/gi;K.fn=K.prototype={jquery:Y,constructor:K,selector:"",length:0,toArray:function(){return q.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:q.call(this)},pushStack:function(t){t=K.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t,e){return K.each(this,t,e)},map:function(n){return this.pushStack(K.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:W,sort:I.sort,splice:I.splice},K.extend=K.fn.extend=function(){var t,e,n,i,r,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[a]||{},a++),"object"==typeof o||K.isFunction(o)||(o={}),a===s&&(o=this,a--);a<s;a++)if(null!=(i=arguments[a]))for(n in i)r=o[n],o!==(e=i[n])&&(l&&e&&(K.isPlainObject(e)||(t=K.isArray(e)))?(r=t?(t=!1,r&&K.isArray(r)?r:[]):r&&K.isPlainObject(r)?r:{},o[n]=K.extend(l,r,e)):void 0!==e&&(o[n]=e));return o},K.extend({expando:"jQuery"+(Y+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===K.type(t)},isArray:Array.isArray||function(t){return"array"===K.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return 0<=t-parseFloat(t)},isEmptyObject:function(t){for(var e in t)return!1;return!0},isPlainObject:function(t){if(!t||"object"!==K.type(t)||t.nodeType||K.isWindow(t))return!1;try{if(t.constructor&&!J.call(t,"constructor")&&!J.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(Q.ownLast)for(var e in t)return J.call(t,e);for(e in t);return void 0===e||J.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?V[X.call(t)]||"object":typeof t},globalEval:function(t){t&&K.trim(t)&&(h.execScript||function(t){h.eval.call(h,t)})(t)},camelCase:function(t){return t.replace(tt,"ms-").replace(et,M)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,r=t.length,o=s(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:G&&!G.call("\ufeff ")?function(t){return null==t?"":G.call(t)}:function(t){return null==t?"":(t+"").replace(Z,"")},makeArray:function(t,e){e=e||[];return null!=t&&(s(Object(t))?K.merge(e,"string"==typeof t?[t]:t):W.call(e,t)),e},inArray:function(t,e,n){var i;if(e){if(U)return U.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[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,n){var i,r=0,o=t.length,a=[];if(s(t))for(;r<o;r++)null!=(i=e(t[r],r,n))&&a.push(i);else for(r in t)null!=(i=e(t[r],r,n))&&a.push(i);return R.apply([],a)},guid:1,proxy:function(t,e){var n,i;if("string"==typeof e&&(i=t[e],e=t,t=i),K.isFunction(t))return n=q.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(q.call(arguments)))}).guid=t.guid=t.guid||K.guid++,i},now:function(){return+new Date},support:Q}),K.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){V["[object "+e+"]"]=e.toLowerCase()});var nt=function(n){function w(t,e,n,i){var r,o,a,s,l,u,c;if((e?e.ownerDocument||e:F)!==S&&j(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(r=(e=e||S).nodeType)&&9!==r)return[];if(B&&!i){if(u=ht.exec(t))if(c=u[1]){if(9===r){if(!(s=e.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(c))&&P(e,s)&&s.id===c)return n.push(s),n}else{if(u[2])return G.apply(n,e.getElementsByTagName(t)),n;if((c=u[3])&&v.getElementsByClassName&&e.getElementsByClassName)return G.apply(n,e.getElementsByClassName(c)),n}
vendor: 4,420 bytes, line 1
1if(v.qsa&&(!N||!N.test(t))){if(l=s=L,u=e,c=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(a=f(t),(s=e.getAttribute("id"))?l=s.replace(mt,"\\$&"):e.setAttribute("id",l),l="[id='"+l+"'] ",o=a.length;o--;)a[o]=l+p(a[o]);u=gt.test(t)&&d(e.parentNode)||e,c=a.join(",")}if(c)try{return G.apply(n,u.querySelectorAll(c)),n}catch(t){}finally{s||e.removeAttribute("id")}}}return k(t.replace(rt,"$1"),e,n,i)}function t(){function n(t,e){return i.push(t+" ")>_.cacheLength&&delete n[i.shift()],n[t+" "]=e}var i=[];return n}function l(t){return t[L]=!0,t}function e(t){var e=S.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function i(t,e){for(var n=t.split("|"),i=t.length;i--;)_.attrHandle[n[i]]=e}function u(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function r(a){return l(function(o){return o=+o,l(function(t,e){for(var n,i=a([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}function d(t){return t&&typeof t.getElementsByTagName!==W&&t}function o(){}function f(t,e){var n,i,r,o,a,s,l,u=I[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],l=_.preFilter;a;){for(o in n&&!(i=ot.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=at.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(rt," ")}),a=a.slice(n.length)),_.filter)!(i=ct[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?w.error(t):I(t,s).slice(0)}function p(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(a,t,e){var s=t.dir,l=e&&"parentNode"===s,u=z++;return t.first?function(t,e,n){for(;t=t[s];)if(1===t.nodeType||l)return a(t,e,n)}:function(t,e,n){var i,r,o=[H,u];if(n){for(;t=t[s];)if((1===t.nodeType||l)&&a(t,e,n))return!0}else for(;t=t[s];)if(1===t.nodeType||l){if((i=(r=t[L]||(t[L]={}))[s])&&i[0]===H&&i[1]===u)return o[2]=i[2];if((r[s]=o)[2]=a(t,e,n))return!0}}}function g(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function x(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function y(p,h,g,m,v,t){return m&&!m[L]&&(m=y(m)),v&&!v[L]&&(v=y(v,t)),l(function(t,e,n,i){var r,o,a,s=[],l=[],u=e.length,c=t||function(t,e,n){for(var i=0,r=e.length;i<r;i++)w(t,e[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),d=!p||!t&&h?c:x(c,s,p,n,i),f=g?v||(t?p:u||m)?[]:e:d;if(g&&g(d,f,n,i),m)for(r=x(f,l),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(f[l[o]]=!(d[l[o]]=a));if(t){if(v||p){if(v){for(r=[],o=f.length;o--;)(a=f[o])&&r.push(d[o]=a);v(null,f=[],r,i)}for(o=f.length;o--;)(a=f[o])&&-1<(r=v?Y.call(t,a):s[o])&&(t[r]=!(e[r]=a))}}else f=x(f===e?f.splice(u,f.length):f),v?v(null,e,f,i):G.apply(e,f)})}function a(m,v){function t(t,e,n,i,r){var o,a,s,l=0,u="0",c=t&&[],d=[],f=E,p=t||b&&_.find.TAG("*",r),h=H+=null==f?1:Math.random()||.1,g=p.length;for(r&&(E=e!==S&&e);u!==g&&null!=(o=p[u]);u++){if(b&&o){for(a=0;s=m[a++];)if(s(o,e,n)){i.push(o);break}r&&(H=h)}y&&((o=!s&&o)&&l--,t&&c.push(o))}if(l+=u,y&&u!==l){for(a=0;s=v[a++];)s(c,d,e,n);if(t){if(0<l)for(;u--;)c[u]||d[u]||(d[u]=X.call(i));d=x(d)}G.apply(i,d),r&&!t&&0<d.length&&1<l+v.length&&w.uniqueSort(i)}return r&&(H=h,E=f),c}var y=0<v.length,b=0<m.length;return y?l(t):t}function m(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}var s,v,_,c,b,C,k,E,T,$,j,S,A,B,N,D,O,P,L="sizzle"+-new Date,F=n.document,H=0,z=0,M=t(),I=t(),q=t(),R=function(t,e){return t===e&&($=!0),0},W="undefined",U={}.hasOwnProperty,V=[],X=V.pop,J=V.push,G=V.push,Q=V.slice,Y=V.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Z="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",et=tt.replace("w","w#"),nt="\\["+Z+"*("+tt+")"+Z+"*(?:([*^$|!~]?=)"+Z+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+et+")|)|)"+Z+"*\\]",it=":("+tt+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+nt.replace(3,8)+")*)|.*)\\)|)",rt=new RegExp("^"+Z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Z+"+$","g"),ot=new RegExp("^"+Z+"*,"+Z+"*"),at=new RegExp("^"+Z+"*([>
1+~]|"+Z+")"+Z+"*"),st=new RegExp("="+Z+"*([^\\]'\"]*?)"+Z+"*\\]","g"),lt=new RegExp(it),ut=new RegExp("^"+et+"$"),ct={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt.replace("w","w*")+")"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Z+"*(even|odd|(([+-]|)(\\d*)n|)"+Z+"*(?:([+-]|)"+Z+"*(\\d+)|))"+Z+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+Z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Z+"*((?:-\\d)?\\d*)"+Z+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,ht=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,mt=/'|\\/g,vt=new RegExp("\\\\([\\da-f]{1,6}"+Z+"?|("+Z+")|.)","ig");try{G.apply(V=Q.call(F.childNodes),F.childNodes),V[F.childNodes.length].nodeType}catch(t){G={apply:V.length?function(t,e){J.apply(t,Q.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(s in v=w.support={},b=w.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},j=w.setDocument=function(t){var l=t?t.ownerDocument||t:F,t=l.defaultView;return l!==S&&9===l.nodeType&&l.documentElement?(A=(S=l).documentElement,B=!b(l),t&&t!==t.top&&(t.addEventListener?t.addEventListener("unload",function(){j()},!1):t.attachEvent&&t.attachEvent("onunload",function(){j()})),v.attributes=e(function(t){return t.className="i",!t.getAttribute("className")}),v.getElementsByTagName=e(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),v.getElementsByClassName=pt.test(l.getElementsByClassName)&&e(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),v.getById=e(function(t){return A.appendChild(t).id=L,!l.getElementsByName||!l.getElementsByName(L).length}),v.getById?(_.find.ID=function(t,e){if(typeof e.getElementById!==W&&B){t=e.getElementById(t);return t&&t.parentNode?[t]:[]}},_.filter.ID=function(t){var e=t.replace(vt,m);return function(t){return t.getAttribute("id")===e}}):(delete _.find.ID,_.filter.ID=function(t){var e=t.replace(vt,m);return function(t){t=typeof t.getAttributeNode!==W&&t.getAttributeNode("id");return t&&t.value===e}}),_.find.TAG=v.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==W)return e.getElementsByTagName(t)}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},_.find.CLASS=v.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==W&&B)return e.getElementsByClassName(t)},D=[],N=[],(v.qsa=pt.test(l.querySelectorAll))&&(e(function(t){t.innerHTML="<select t=''><option selected=''></option></select>",t.querySelectorAll("[t^='']").length&&N.push("[*^$]="+Z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+Z+"*(?:value|"+K+")"),t.querySelectorAll(":checked").length||N.push(":checked")}),e(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+Z+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(v.matchesSelector=pt.test(O=A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&e(function(t){v.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),D.push("!=",it)}),N=N.length&&new RegExp(N.join("|")),D=D.length&&new RegExp(D.join("|")),t=pt.test(A.compareDocumentPosition),P=t||pt.test(A.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},R=t?function(t,e){if(t===e)return $=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!v.sortDetached&&e.compareDocumentPosition(t)===n?t===l||t.ownerDocument===F&&P(F,t)?-1:e===l||e.ownerDocument===F&&P(F,e)?1:T?Y.call(T,t)-Y.call(T,e):0:4&n?-1:1)}:function(t,e){if(t===e)return $=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t===l?-1:e===l?1:r?-1:o?1:T?Y.call(T,t)-Y.call(T,e):0;if(r===o)return u(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?u(a[i],s[i]):a[i]===F?-1:s[i]===F?1:0}
vendor: 4,119 bytes, line 1
1,l):S},w.matches=function(t,e){return w(t,null,null,e)},w.matchesSelector=function(t,e){if((t.ownerDocument||t)!==S&&j(t),e=e.replace(st,"='$1']"),v.matchesSelector&&B&&(!D||!D.test(e))&&(!N||!N.test(e)))try{var n=O.call(t,e);if(n||v.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<w(e,S,null,[t]).length},w.contains=function(t,e){return(t.ownerDocument||t)!==S&&j(t),P(t,e)},w.attr=function(t,e){(t.ownerDocument||t)!==S&&j(t);var n=_.attrHandle[e.toLowerCase()],n=n&&U.call(_.attrHandle,e.toLowerCase())?n(t,e,!B):void 0;return void 0!==n?n:v.attributes||!B?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},w.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},w.uniqueSort=function(t){var e,n=[],i=0,r=0;if($=!v.detectDuplicates,T=!v.sortStable&&t.slice(0),t.sort(R),$){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return T=null,t},c=w.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},(_=w.selectors={cacheLength:50,createPseudo:l,match:ct,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(vt,m),t[3]=(t[4]||t[5]||"").replace(vt,m),"~="===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]||w.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]&&w.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return ct.CHILD.test(t[0])?null:(t[3]&&void 0!==t[4]?t[2]=t[4]:n&<.test(n)&&(e=f(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(vt,m).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=M[t+" "];return e||(e=new RegExp("(^|"+Z+")"+t+"("+Z+"|$)"))&&M(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==W&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=w.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1<t.indexOf(i):"$="===n?i&&t.slice(-i.length)===i:"~="===n?-1<(" "+t+" ").indexOf(i):"|="===n&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,t,e,h,g){var m="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===t;return 1===h&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,r,o,a,s,l,u=m!=v?"nextSibling":"previousSibling",c=t.parentNode,d=y&&t.nodeName.toLowerCase(),f=!n&&!y;if(c){if(m){for(;u;){for(o=t;o=o[u];)if(y?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&f){for(s=(i=(r=c[L]||(c[L]={}))[p]||[])[0]===H&&i[1],a=i[0]===H&&i[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){r[p]=[H,s,a];break}}else if(f&&(i=(t[L]||(t[L]={}))[p])&&i[0]===H)a=i[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((y?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++a||(f&&((o[L]||(o[L]={}))[p]=[H,a]),o!==t)););return(a-=g)===h||a%h==0&&0<=a/h}}},PSEUDO:function(t,o){var e,a=_.pseudos[t]||_.setFilters[t.toLowerCase()]||w.error("unsupported pseudo: "+t);return a[L]?a(o):1<a.length?(e=[t,t,"",o],_.setFilters.hasOwnProperty(t.toLowerCase())?l(function(t,e){for(var n,i=a(t,o),r=i.length;r--;)t[n=Y.call(t,i[r])]=!(e[n]=i[r])}):function(t){return a(t,0,e)}):a}},pseudos:{not:l(function(t){var i=[],r=[],s=C(t.replace(rt,"$1"));return s[L]?l(function(t,e,n,i){for(var r,o=s(t,null,i,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,e,n){return i[0]=t,s(i,null,n,r),!r.pop()}}),has:l(function(e){return function(t){return 0<w(e,t).length}}
1),contains:l(function(e){return function(t){return-1<(t.textContent||t.innerText||c(t)).indexOf(e)}}),lang:l(function(n){return ut.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(vt,m).toLowerCase(),function(t){var e;do{if(e=B?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===A},focus:function(t){return t===S.activeElement&&(!S.hasFocus||S.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!_.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:r(function(){return[0]}),last:r(function(t,e){return[e-1]}),eq:r(function(t,e,n){return[n<0?n+e:n]}),even:r(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:r(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:r(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:r(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[s]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(s);for(s in{submit:!0,reset:!0})_.pseudos[s]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(s);return o.prototype=_.filters=_.pseudos,_.setFilters=new o,C=w.compile=function(t,e){var n,i=[],r=[],o=q[t+" "];if(!o){for(n=(e=e||f(t)).length;n--;)((o=function t(e){for(var i,n,r,o=e.length,a=_.relative[e[0].type],s=a||_.relative[" "],l=a?1:0,u=h(function(t){return t===i},s,!0),c=h(function(t){return-1<Y.call(i,t)},s,!0),d=[function(t,e,n){return!a&&(n||e!==E)||((i=e).nodeType?u:c)(t,e,n)}];l<o;l++)if(n=_.relative[e[l].type])d=[h(g(d),n)];else{if((n=_.filter[e[l].type].apply(null,e[l].matches))[L]){for(r=++l;r<o&&!_.relative[e[r].type];r++);return y(1<l&&g(d),1<l&&p(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(rt,"$1"),n,l<r&&t(e.slice(l,r)),r<o&&t(e=e.slice(r)),r<o&&p(e))}d.push(n)}return g(d)}(e[n]))[L]?i:r).push(o);(o=q(t,a(r,i))).selector=t}return o},k=w.select=function(t,e,n,i){var r,o,a,s,l,u="function"==typeof t&&t,c=!i&&f(t=u.selector||t);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&v.getById&&9===e.nodeType&&B&&_.relative[o[1].type]){if(!(e=(_.find.ID(a.matches[0].replace(vt,m),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ct.needsContext.test(t)?0:o.length;r--&&(a=o[r],!_.relative[s=a.type]);)if((l=_.find[s])&&(i=l(a.matches[0].replace(vt,m),gt.test(o[0].type)&&d(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&p(o)))return G.apply(n,i),n;break}}return(u||C(t,c))(i,e,!B,n,gt.test(t)&&d(e.parentNode)||e),n},v.sortStable=L.split("").sort(R).join("")===L,v.detectDuplicates=!!$,j(),v.sortDetached=e(function(t){return 1&t.compareDocumentPosition(S.createElement("div"))}),e(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||i("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),v.attributes&&e(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||i("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),e(function(t){return null==t.getAttribute("disabled")})||i(K,function(t,e,n){if(!n)return!0===t[e]?e.toLowerCase():(e=t.getAttributeNode(e))&&e.specified?e.value:null}),w}(h);K.find=nt,K.expr=nt.selectors,K.expr[":"]=K.expr.pseudos,K.unique=nt.uniqueSort,K.text=nt.getText,K.isXMLDoc=nt.isXML,K.contains=nt.contains;var it=K.expr.match.needsContext,rt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ot=/^.[^:#\[\.,]*$/;K.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?K.find.matchesSelector(i,t)?[i]:[]:K.find.matches(t,K.grep(e,function(t){return 1===t.nodeType}))},K.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(K(t).filter(function(){for(e=0;e<r;e++)if(K.contains(i[e],this))return!0}));for(e=0;e<r;e++)K.find(t,i[e],n);return(n=this.pushStack(1<r?K.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(e(this,t||[],!1))},not:function(t){return this.pushStack(e(this,t||[],!0))},is:function(t){return!!e(this,"string"==typeof t&&it.test(t)?K(t):t||[],!1).length}});var at=h.document,st=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(K.fn.init=function(t,e){var n,i;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):K.isFunction(t)?void 0!==lt.ready?lt.ready(t):t(K):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),K.makeArray(t,this));if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:st.exec(t))||!n[1]&&e)return(!e||e.jquery?e||lt:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof K?e[0]:e,K.merge(this,K.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:at,!0)),rt.test(n[1])&&K.isPlainObject(e))for(n in e)K.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((i=at.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return lt.find(t);this.length=1,this[0]=i}return this.context=at,this.selector=t,this}).prototype=K.fn;var lt=K(at),ut=/^(?:parents|prev(?:Until|All))/,ct={children:!0,contents:!0,next:!0,prev:!0};K.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!K(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),K.fn.extend({has:function(t){var e,n=K(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(K.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=it.test(t)||"string"!=typeof t?K(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&K.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?K.unique(o):o)},index:function(t){return t?"string"==typeof t?K.inArray(this[0],K(t)):K.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(K.unique(K.merge(this.get(),K(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),K.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return K.dir(t,"parentNode")},parentsUntil:function(t,e,n){return K.dir(t,"parentNode",n)},next:function(t){return n(t,"nextSibling")},prev:function(t){return n(t,"previousSibling")},nextAll:function(t){return K.dir(t,"nextSibling")},prevAll:function(t){return K.dir(t,"previousSibling")},nextUntil:function(t,e,n){return K.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return K.dir(t,"previousSibling",n)},siblings:function(t){return K.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return K.sibling(t.firstChild)},contents:function(t){return K.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:K.merge([],t.childNodes)}},function(i,r){K.fn[i]=function(t,e){var n=K.map(this,r,t);return(e="Until"!==i.slice(-5)?t:e)&&"string"==typeof e&&(n=K.filter(e,n)),1<this.length&&(ct[i]||(n=K.unique(n)),ut.test(i)&&(n=n.reverse())),this.pushStack(n)}});var dt,ft=/\S+/g,pt={};K.Callbacks=function(r){var t,n;r="string"==typeof r?pt[r]||(n=pt[t=r]={},K.each(t.match(ft)||[],function(t,e){n[e]=!0}),n):K.extend({},r);function i(t){for(e=r.memory&&t,a=!0,l=u||0,u=0,s=c.length,o=!0;c&&l<s;l++)if(!1===c[l].apply(t[0],t[1])&&r.stopOnFalse){e=!1;break}o=!1,c&&(d?d.length&&i(d.shift()):e?c=[]:f.disable())}var o,e,a,s,l,u,c=[],d=!r.once&&[],f={add:function(){var t;return c&&(t=c.length,function i(t){K.each(t,function(t,e){var n=K.type(e);"function"===n?r.unique&&f.has(e)||c.push(e):e&&e.length&&"string"!==n&&i(e)})}(arguments),o?s=c.length:e&&(u=t,i(e))),this},remove:function(){return c&&K.each(arguments,function(t,e){for(var n;-1<(n=K.inArray(e,c,n));)c.splice(n,1),o&&(n<=s&&s--,n<=l&&l--)}),this},has:function(t){return t?-1<K.inArray(t,c):!(!c||!c.length)},empty:function(){return c=[],s=0,this},disable:function(){return c=d=e=void 0,this},disabled:function(){return!c},lock:function(){return d=void 0,e||f.disable(),this},locked:function(){return!d},fireWith:function(t,e){return!c||a&&!d||(e=[t,(e=e||[]).slice?e.slice():e],o?d.push(e):i(e)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!a}};return f},K.extend({Deferred:function(t){var o=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],r="pending",a={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var r=arguments;return K.Deferred(function(i){K.each(o,function(t,e){var n=K.isFunction(r[t])&&r[t];s[e[1]](function(){var t=n&&n.apply(this,arguments);t&&K.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[e[0]+"With"](this===a?i.promise():this,n?[t]:arguments)})}),r=null}).promise()},promise:function(t){return null!=t?K.extend(t,a):a}},s={};return a.pipe=a.then,K.each(o,function(t,e){var n=e[2],i=e[3];a[e[1]]=n.add,i&&n.add(function(){r=i},o[1^t][2].disable,o[2][2].lock),s[e[0]]=function(){return s[e[0]+"With"](this===s?a:this,arguments),this},s[e[0]+"With"]=n.fireWith}),a.promise(s),t&&t.call(s,s),s},when:function(t){function e(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?q.call(arguments):t,i===r?u.notifyWith(n,i):--l||u.resolveWith(n,i)}}var r,n,i,o=0,a=q.call(arguments),s=a.length,l=1!==s||t&&K.isFunction(t.promise)?s:0,u=1===l?t:K.Deferred();if(1<s)for(r=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)a[o]&&K.isFunction(a[o].promise)?a[o].promise().done(e(o,i,a)).fail(u.reject).progress(e(o,n,r)):--l;return l||u.resolveWith(i,a),u.promise()}}),K.fn.ready=function(t){return K.ready.promise().done(t),this},K.extend({isReady:!1,readyWait:1,holdReady:function(t){t?K.readyWait++:K.ready(!0)},ready:function(t){if(!0===t?!--K.readyWait:!K.isReady){if(!at.body)return setTimeout(K.ready);(K.isReady=!0)!==t&&0<--K.readyWait||(dt.resolveWith(at,[K]),K.fn.trigger&&K(at).trigger("ready").off("ready"))}}}),K.ready.promise=function(t){if(!dt)if(dt=K.Deferred(),"complete"===at.readyState)setTimeout(K.ready);else if(at.addEventListener)at.addEventListener("DOMContentLoaded",r,!1),h.addEventListener("load",r,!1);else{at.attachEvent("onreadystatechange",r),h.attachEvent("onload",r);var n=!1;try{n=null==h.frameElement&&at.documentElement}catch(t){}n&&n.doScroll&&!function e(){if(!K.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}i(),K.ready()}}()}return dt.promise(t)};var ht,gt="undefined";for(ht in K(Q))break;Q.ownLast="0"!==ht,Q.inlineBlockNeedsLayout=!1,K(function(){var t,e,n=at.getElementsByTagName("body")[0];n&&((t=at.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",e=at.createElement("div"),n.appendChild(t).appendChild(e),typeof e.style.zoom!=gt&&(e.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(Q.inlineBlockNeedsLayout=3===e.offsetWidth)&&(n.style.zoom=1)),n.removeChild(t))}),function(){var t=at.createElement("div");if(null==Q.deleteExpando){Q.deleteExpando=!0;try{delete t.test}catch(t){Q.deleteExpando=!1}}}(),K.acceptData=function(t){var e=K.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,vt=/([A-Z])/g;K.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?K.cache[t[K.expando]]:t[K.expando])&&!u(t)},data:function(t,e,n){return o(t,e,n)},removeData:function(t,e){return a(t,e)},_data:function(t,e,n){return o(t,e,n,!0)},_removeData:function(t,e){return a(t,e,!0)}}),K.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0!==t)return"object"==typeof t?this.each(function(){K.data(this,t)}):1<arguments.length?this.each(function(){K.data(this,t,e)}):o?l(o,t,K.data(o,t)):void 0;if(this.length&&(r=K.data(o),1===o.nodeType&&!K._data(o,"parsedAttrs"))){for(n=a.length;n--;)0===(i=a[n].name).indexOf("data-")&&l(o,i=K.camelCase(i.slice(5)),r[i]);K._data(o,"parsedAttrs",!0)}return r},removeData:function(t){return this.each(function(){K.removeData(this,t)})}}),K.extend({queue:function(t,e,n){var i;if(t)return i=K._data(t,e=(e||"fx")+"queue"),n&&(!i||K.isArray(n)?i=K._data(t,e,K.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=K.queue(t,e),i=n.length,r=n.shift(),o=K._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){K.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return K._data(t,n)||K._data(t,n,{empty:K.Callbacks("once memory").add(function(){K._removeData(t,e+"queue"),K._removeData(t,n)})})}}),K.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?K.queue(this[0],e):void 0===n?this:this.each(function(){var t=K.queue(this,e,n);K._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&K.dequeue(this,e)})},dequeue:function(t){return this.each(function(){K.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--r||o.resolveWith(a,[a])}var i,r=1,o=K.Deferred(),a=this,s=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=K._data(a[s],t+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(e)}});function yt(t,e){return"none"===K.css(t=e||t,"display")||!K.contains(t.ownerDocument,t)}var bt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=["Top","Right","Bottom","Left"],xt=K.access=function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;
1if("object"===K.type(n))for(s in r=!0,n)K.access(t,e,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,K.isFunction(i)||(a=!0),e=u?a?(e.call(t,i),null):(u=e,function(t,e,n){return u.call(K(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:u?e.call(t):l?e(t[0],n):o},_t=/^(?:checkbox|radio)$/i;!function(){var t=at.createDocumentFragment(),e=at.createElement("div"),n=at.createElement("input");if(e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a>",Q.leadingWhitespace=3===e.firstChild.nodeType,Q.tbody=!e.getElementsByTagName("tbody").length,Q.htmlSerialize=!!e.getElementsByTagName("link").length,Q.html5Clone="<:nav></:nav>"!==at.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),Q.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",Q.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",Q.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,Q.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){Q.noCloneEvent=!1}),e.cloneNode(!0).click()),null==Q.deleteExpando){Q.deleteExpando=!0;try{delete e.test}catch(t){Q.deleteExpando=!1}}}(),function(){var t,e,n=at.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})(Q[t+"Bubbles"]=(e="on"+t)in h)||(n.setAttribute(e,"t"),Q[t+"Bubbles"]=!1===n.attributes[e].expando)}();var Ct=/^(?:input|select|textarea)$/i,kt=/^key/,Et=/^(?:mouse|contextmenu)|click/,Tt=/^(?:focusinfocus|focusoutblur)$/,$t=/^([^.]*)(?:\.(.+)|)$/;K.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,p,h=K._data(t);if(h)for(n.handler&&(n=(s=n).handler,r=s.selector),n.guid||(n.guid=K.guid++),(o=h.events)||(o=h.events={}),(u=h.handle)||((u=h.handle=function(t){return typeof K==gt||t&&K.event.triggered===t.type?void 0:K.event.dispatch.apply(u.elem,arguments)}).elem=t),a=(e=(e||"").match(ft)||[""]).length;a--;)d=p=(c=$t.exec(e[a])||[])[1],f=(c[2]||"").split(".").sort(),d&&(l=K.event.special[d]||{},d=(r?l.delegateType:l.bindType)||d,l=K.event.special[d]||{},c=K.extend({type:d,origType:p,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&K.expr.match.needsContext.test(r),namespace:f.join(".")},s),(p=o[d])||((p=o[d]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,i,f,u)||(t.addEventListener?t.addEventListener(d,u,!1):t.attachEvent&&t.attachEvent("on"+d,u))),l.add&&(l.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,c):p.push(c),K.event.global[d]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,p,h,g,m=K.hasData(t)&&K._data(t);if(m&&(c=m.events)){for(u=(e=(e||"").match(ft)||[""]).length;u--;)if(p=g=(s=$t.exec(e[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=K.event.special[p]||{},f=c[p=(i?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!r&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(t,a));l&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,h,m.handle)||K.removeEvent(t,p,m.handle),delete c[p])}else for(p in c)K.event.remove(t,p+e[u],n,i,!0);K.isEmptyObject(c)&&(delete m.handle,K._removeData(t,"events"))}},trigger:function(t,e,n,i){var r,o,a,s,l,u,c=[n||at],d=J.call(t,"type")?t.type:t,f=J.call(t,"namespace")?t.namespace.split("."):[],p=l=n=n||at;if(3!==n.nodeType&&8!==n.nodeType&&!Tt.test(d+K.event.triggered)&&(0<=d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[K.expando]?t:new K.Event(d,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=f.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:K.makeArray(e,[t]),s=K.event.special[d]||{},i||!s.trigger||!1!==s.trigger.apply(n,e))){if(!i&&!s.noBubble&&!K.isWindow(n)){for(a=s.delegateType||d,Tt.test(a+d)||(p=p.parentNode);p;p=p.parentNode)c.push(p),l=p;l===(n.ownerDocument||at)&&c.push(l.defaultView||l.parentWindow||h)}for(u=0;(p=c[u++])&&!t.isPropagationStopped();)t.type=1<u?a:s.bindType||d,(r=(K._data(p,"events")||{})[t.type]&&K._data(p,"handle"))&&r.apply(p,e),(r=o&&p[o])&&r.apply&&K.acceptData(p)&&(t.result=r.apply(p,e),!1===t.result&&t.preventDefault());if(t.type=d,!i&&!t.isDefaultPrevented()&&(!s._default||!1===s._default.apply(c.pop(),e))&&K.acceptData(n)&&o&&n[d]&&!K.isWindow(n)){(l=n[o])&&(n[o]=null),K.event.triggered=d;try{n[d]()}catch(t){}K.event.triggered=void 0,l&&(n[o]=l)}return t.result}},dispatch:function(t){t=K.event.fix(t);var e,n,i,r,o,a=q.call(arguments),s=(K._data(this,"events")||{})[t.type]||[],l=K.event.special[t.type]||{};if((a[0]=t).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(o=K.event.handlers.call(this,t,s),e=0;(i=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,r=0;(n=i.handlers[r++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,void 0!==(n=((K.event.special[n.origType]||{}).handle||n.handler).apply(i.elem,a))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.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&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],o=0;o<s;o++)void 0===r[n=(i=e[o]).selector+" "]&&(r[n]=i.needsContext?0<=K(n,this).index(l):K.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[K.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Et.test(r)?this.mouseHooks:kt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new K.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];
1return t.target||(t.target=o.srcElement||at),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r=e.button,o=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||at).documentElement,n=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?e.toElement:o),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==f()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===f()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(K.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return K.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){t=K.extend(new K.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?K.event.trigger(t,null,e):K.event.dispatch.call(e,t),t.isDefaultPrevented()&&n.preventDefault()}},K.removeEvent=at.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){e="on"+e;t.detachEvent&&(typeof t[e]==gt&&(t[e]=null),t.detachEvent(e,n))},K.Event=function(t,e){if(!(this instanceof K.Event))return new K.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&(!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault())?c:d):this.type=t,e&&K.extend(this,e),this.timeStamp=t&&t.timeStamp||K.now(),this[K.expando]=!0},K.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=c,this.stopPropagation()}}
1,K.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,r){K.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||K.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),Q.submitBubbles||(K.event.special.submit={setup:function(){if(K.nodeName(this,"form"))return!1;K.event.add(this,"click._submit keypress._submit",function(t){t=t.target,t=K.nodeName(t,"input")||K.nodeName(t,"button")?t.form:void 0;t&&!K._data(t,"submitBubbles")&&(K.event.add(t,"submit._submit",function(t){t._submit_bubble=!0}),K._data(t,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&K.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(K.nodeName(this,"form"))return!1;K.event.remove(this,"._submit")}}),Q.changeBubbles||(K.event.special.change={setup:function(){if(Ct.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(K.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),K.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),K.event.simulate("change",this,t,!0)})),!1;K.event.add(this,"beforeactivate._change",function(t){t=t.target;Ct.test(t.nodeName)&&!K._data(t,"changeBubbles")&&(K.event.add(t,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||K.event.simulate("change",this.parentNode,t,!0)}),K._data(t,"changeBubbles",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return K.event.remove(this,"._change"),!Ct.test(this.nodeName)}}),Q.focusinBubbles||K.each({focus:"focusin",blur:"focusout"},function(n,i){function r(t){K.event.simulate(i,t.target,K.event.fix(t),!0)}K.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=K._data(t,i);e||t.addEventListener(n,r,!0),K._data(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=K._data(t,i)-1;e?K._data(t,i,e):(t.removeEventListener(n,r,!0),K._removeData(t,i))}}}),K.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=d;else if(!i)return this;return 1===r&&(a=i,(i=function(t){return K().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=K.guid++)),this.each(function(){K.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,K(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=d),this.each(function(){K.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this},trigger:function(t,e){return this.each(function(){K.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return K.event.trigger(t,e,n,!0)}});var jt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",St=/ jQuery\d+="(?:null|\d+)"/g,At=new RegExp("<(?:"+jt+")[\\s/>]","i"),Bt=/^\s+/,Nt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Dt=/<([\w:]+)/,Ot=/<tbody/i,Pt=/<|&#?\w+;/,Lt=/<(?:script|style|link)/i,Ft=/checked\s*(?:[^=]|=\s*.checked.)/i,Ht=/^$|\/(?:java|ecma)script/i,zt=/^true\/(.*)/,Mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,It={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:Q.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},qt=g(at).appendChild(at.createElement("div"));It.optgroup=It.option,It.tbody=It.tfoot=It.colgroup=It.caption=It.thead,It.th=It.td,K.extend({clone:function(t,e,n){var i,r,o,a,s,l=K.contains(t.ownerDocument,t);if(Q.html5Clone||K.isXMLDoc(t)||!At.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(qt.innerHTML=t.outerHTML,qt.removeChild(o=qt.firstChild)),!(Q.noCloneEvent&&Q.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||K.isXMLDoc(t)))for(i=m(o),s=m(t),a=0;null!=(r=s[a]);++a)i[a]&&function(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!Q.noCloneEvent&&e[K.expando]){for(i in(r=K._data(e)).events)K.removeEvent(e,i,r.handle);e.removeAttribute(K.expando)}"script"===n&&e.text!==t.text?(y(e).text=t.text,b(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),Q.html5Clone&&t.innerHTML&&!K.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&_t.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}
1(r,i[a]);if(e)if(n)for(s=s||m(t),i=i||m(o),a=0;null!=(r=s[a]);a++)x(r,i[a]);else x(t,o);return 0<(i=m(o,"script")).length&&w(i,!l&&m(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,d=t.length,f=g(e),p=[],h=0;h<d;h++)if((o=t[h])||0===o)if("object"===K.type(o))K.merge(p,o.nodeType?[o]:o);else if(Pt.test(o)){for(s=s||f.appendChild(e.createElement("div")),l=(Dt.exec(o)||["",""])[1].toLowerCase(),c=It[l]||It._default,s.innerHTML=c[1]+o.replace(Nt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!Q.leadingWhitespace&&Bt.test(o)&&p.push(e.createTextNode(Bt.exec(o)[0])),!Q.tbody)for(r=(o="table"!==l||Ot.test(o)?"<table>"!==c[1]||Ot.test(o)?0:s:s.firstChild)&&o.childNodes.length;r--;)K.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(K.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(e.createTextNode(o));for(s&&f.removeChild(s),Q.appendChecked||K.grep(m(p,"input"),v),h=0;o=p[h++];)if((!i||-1===K.inArray(o,i))&&(a=K.contains(o.ownerDocument,o),s=m(f.appendChild(o),"script"),a&&w(s),n))for(r=0;o=s[r++];)Ht.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(t,e){for(var n,i,r,o,a=0,s=K.expando,l=K.cache,u=Q.deleteExpando,c=K.event.special;null!=(n=t[a]);a++)if((e||K.acceptData(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?K.event.remove(n,i):K.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!=gt?n.removeAttribute(s):n[s]=null,I.push(r))}}}),K.fn.extend({text:function(t){return xt(this,function(t){return void 0===t?K.text(this):this.empty().append((this[0]&&this[0].ownerDocument||at).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||p(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=p(this,t)).insertBefore(t,e.firstChild)})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?K.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||K.cleanData(m(n)),n.parentNode&&(e&&K.contains(n.ownerDocument,n)&&w(m(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&K.cleanData(m(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&K.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return K.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)return 1===e.nodeType?e.innerHTML.replace(St,""):void 0;if("string"==typeof t&&!Lt.test(t)&&(Q.htmlSerialize||!At.test(t))&&(Q.leadingWhitespace||!Bt.test(t))&&!It[(Dt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Nt,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(K.cleanData(m(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,K.cleanData(m(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,i){n=R.apply([],n);var t,e,r,o,a,s,l=0,u=this.length,c=this,d=u-1,f=n[0],p=K.isFunction(f);if(p||1<u&&"string"==typeof f&&!Q.checkClone&&Ft.test(f))return this.each(function(t){var e=c.eq(t);p&&(n[0]=f.call(this,t,e.html())),e.domManip(n,i)});if(u&&(t=(s=K.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===s.childNodes.length&&(s=t),t)){for(r=(o=K.map(m(s,"script"),y)).length;l<u;l++)e=s,l!==d&&(e=K.clone(e,!0,!0),r&&K.merge(o,m(e,"script"))),i.call(this[l],e,l);if(r)for(a=o[o.length-1].ownerDocument,K.map(o,b),l=0;l<r;l++)e=o[l],Ht.test(e.type||"")&&!K._data(e,"globalEval")&&K.contains(a,e)&&(e.src?K._evalUrl&&K._evalUrl(e.src):K.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Mt,"")));s=t=null}return this}}),K.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){K.fn[t]=function(t){for(var e,n=0,i=[],r=K(t),o=r.length-1;n<=o;n++)e=n===o?this:this.clone(!0),K(r[n])[a](e),W.apply(i,e.get());return this.pushStack(i)}});var Rt,Wt,Ut={};(he=at.createElement("div")).innerHTML=" <link/><table></table><a href='/a'>a</a>
1<input type='checkbox'/>",(pe=he.getElementsByTagName("a")[0]).style.cssText="float:left;opacity:.5",Q.opacity=/^0.5/.test(pe.style.opacity),Q.cssFloat=!!pe.style.cssFloat,he.style.backgroundClip="content-box",he.cloneNode(!0).style.backgroundClip="",Q.clearCloneStyle="content-box"===he.style.backgroundClip,pe=he=null,Q.shrinkWrapBlocks=function(){var t,e,n;if(null==Wt){if(!(t=at.getElementsByTagName("body")[0]))return;e=at.createElement("div"),n=at.createElement("div"),t.appendChild(e).appendChild(n),Wt=!1,typeof n.style.zoom!=gt&&(n.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0;width:1px;padding:1px;zoom:1",n.innerHTML="<div></div>",n.firstChild.style.width="5px",Wt=3!==n.offsetWidth),t.removeChild(e),t=n=null}return Wt};var Vt,Xt,Jt,Gt,Qt,Yt,Kt,Zt=/^margin/,te=new RegExp("^("+bt+")(?!px)[a-z%]+$","i"),ee=/^(top|right|bottom|left)$/;function ne(){var t,e,n=at.getElementsByTagName("body")[0];n&&(t=at.createElement("div"),e=at.createElement("div"),t.style.cssText=Kt,n.appendChild(t).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",K.swap(n,null!=n.style.zoom?{zoom:1}:{},function(){Gt=4===e.offsetWidth}),Yt=!(Qt=!0),h.getComputedStyle&&(Yt="1%"!==(h.getComputedStyle(e,null)||{}).top,Qt="4px"===(h.getComputedStyle(e,null)||{width:"4px"}).width),n.removeChild(t),e=null)}h.getComputedStyle?(Vt=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},Xt=function(t,e,n){var i,r=t.style,o=(n=n||Vt(t))?n.getPropertyValue(e)||n[e]:void 0;return n&&(""!==o||K.contains(t.ownerDocument,t)||(o=K.style(t,e)),te.test(o)&&Zt.test(e)&&(i=r.width,t=r.minWidth,e=r.maxWidth,r.minWidth=r.maxWidth=r.width=o,o=n.width,r.width=i,r.minWidth=t,r.maxWidth=e)),void 0===o?o:o+""}):at.documentElement.currentStyle&&(Vt=function(t){return t.currentStyle},Xt=function(t,e,n){var i,r,o,a=t.style;return null==(o=(n=n||Vt(t))?n[e]:void 0)&&a&&a[e]&&(o=a[e]),te.test(o)&&!ee.test(e)&&(i=a.left,(n=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":o,o=a.pixelLeft+"px",a.left=i,n&&(r.left=n)),void 0===o?o:o+""||"auto"}),Y=at.createElement("div"),Kt="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",Y.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(nt=Y.getElementsByTagName("a")[0]).style.cssText="float:left;opacity:.5",Q.opacity=/^0.5/.test(nt.style.opacity),Q.cssFloat=!!nt.style.cssFloat,Y.style.backgroundClip="content-box",Y.cloneNode(!0).style.backgroundClip="",Q.clearCloneStyle="content-box"===Y.style.backgroundClip,nt=Y=null,K.extend(Q,{reliableHiddenOffsets:function(){if(null!=Jt)return Jt;var t,e,n,i=at.createElement("div"),r=at.getElementsByTagName("body")[0];return r?(i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(t=at.createElement("div")).style.cssText=Kt,r.appendChild(t).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(e=i.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",n=0===e[0].offsetHeight,e[0].style.display="",e[1].style.display="none",Jt=n&&0===e[0].offsetHeight,r.removeChild(t),i=r=null,Jt):void 0},boxSizing:function(){return null==Gt&&ne(),Gt},boxSizingReliable:function(){return null==Qt&&ne(),Qt},pixelPosition:function(){return null==Yt&&ne(),Yt},reliableMarginRight:function(){var t,e,n,i,r=!0;if(h.getComputedStyle){if(!(t=at.getElementsByTagName("body")[0]))return;e=at.createElement("div"),n=at.createElement("div"),e.style.cssText=Kt,t.appendChild(e).appendChild(n),(i=n.appendChild(at.createElement("div"))).style.cssText=n.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0",i.style.marginRight=i.style.width="0",n.style.width="1px",r=!parseFloat((h.getComputedStyle(i,null)||{}).marginRight),t.removeChild(e)}return r}}),K.swap=function(t,e,n,i){var r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.apply(t,i||[]),e)t.style[r]=o[r];return i};
1var ie=/alpha\([^)]*\)/i,re=/opacity\s*=\s*([^)]*)/,oe=/^(none|table(?!-c[ea]).+)/,ae=new RegExp("^("+bt+")(.*)$","i"),se=new RegExp("^([+-])=("+bt+")","i"),le={position:"absolute",visibility:"hidden",display:"block"},ue={letterSpacing:0,fontWeight:400},ce=["Webkit","O","Moz","ms"];K.extend({cssHooks:{opacity:{get:function(t,e){if(e){t=Xt(t,"opacity");return""===t?"1":t}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:Q.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=K.camelCase(e),l=t.style;if(e=K.cssProps[s]||(K.cssProps[s]=E(l,s)),a=K.cssHooks[e]||K.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];if("string"===(o=typeof n)&&(r=se.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(K.css(t,e)),o="number"),null!=n&&n==n&&("number"!==o||K.cssNumber[s]||(n+="px"),Q.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,i)))))try{l[e]="",l[e]=n}catch(t){}}},css:function(t,e,n,i){var r,o=K.camelCase(e);return e=K.cssProps[o]||(K.cssProps[o]=E(t.style,o)),"normal"===(r=void 0===(r=(o=K.cssHooks[e]||K.cssHooks[o])&&"get"in o?o.get(t,!0,n):r)?Xt(t,e,i):r)&&e in ue&&(r=ue[e]),""===n||n?(e=parseFloat(r),!0===n||K.isNumeric(e)?e||0:r):r}}),K.each(["height","width"],function(t,r){K.cssHooks[r]={get:function(t,e,n){if(e)return 0===t.offsetWidth&&oe.test(K.css(t,"display"))?K.swap(t,le,function(){return S(t,r,n)}):S(t,r,n)},set:function(t,e,n){var i=n&&Vt(t);return $(0,e,n?j(t,r,n,Q.boxSizing()&&"border-box"===K.css(t,"boxSizing",!1,i),i):0)}}}),Q.opacity||(K.cssHooks.opacity={get:function(t,e){return re.test((e&&t.currentStyle?t.currentStyle:t.style).filter||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=K.isNumeric(e)?"alpha(opacity="+100*e+")":"",t=i&&i.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===K.trim(t.replace(ie,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=ie.test(t)?t.replace(ie,r):t+" "+r)}}),K.cssHooks.marginRight=k(Q.reliableMarginRight,function(t,e){if(e)return K.swap(t,{display:"inline-block"},Xt,[t,"marginRight"])}),K.each({margin:"",padding:"",border:"Width"},function(r,o){K.cssHooks[r+o]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+wt[e]+o]=i[e]||i[e-2]||i[0];return n}},Zt.test(r)||(K.cssHooks[r+o].set=$)}),K.fn.extend({css:function(t,e){return xt(this,function(t,e,n){var i,r,o={},a=0;if(K.isArray(e)){for(i=Vt(t),r=e.length;a<r;a++)o[e[a]]=K.css(t,e[a],!1,i);return o}return void 0!==n?K.style(t,e,n):K.css(t,e)},t,e,1<arguments.length)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){yt(this)?K(this).show():K(this).hide()})}}),(K.Tween=A).prototype={constructor:A,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(K.cssNumber[n]?"":"px")},cur:function(){var t=A.propHooks[this.prop];return(t&&t.get?t:A.propHooks._default).get(this)},run:function(t){var e,n=A.propHooks[this.prop];return this.options.duration?this.pos=e=K.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:A.propHooks._default).set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=K.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){K.fx.step[t.prop]?K.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[K.cssProps[t.prop]]||K.cssHooks[t.prop])?K.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},K.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},K.fx=A.prototype.init,K.fx.step={};var de,fe,pe,he,ge=/^(?:toggle|show|hide)$/,me=new RegExp("^(?:([+-])=|)("+bt+")([a-z%]*)$","i"),ve=/queueHooks$/,ye=[function(e,t,n){var i,r,o,a,s,l,u,c,d=this,f={},p=e.style,h=e.nodeType&&yt(e),g=K._data(e,"fxshow");for(i in n.queue||(null==(s=K._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,K.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=K.css(e,"display"),c=C(e.nodeName),"inline"===(u="none"===u?c:u)&&"none"===K.css(e,"float")&&(Q.inlineBlockNeedsLayout&&"inline"!==c?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",Q.shrinkWrapBlocks()||d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),t)if(r=t[i],ge.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;h=!0}f[i]=g&&g[i]||K.style(e,i)}if(!K.isEmptyObject(f))for(i in g?"hidden"in g&&(h=g.hidden):g=K._data(e,"fxshow",{}),o&&(g.hidden=!h),h?K(e).show():d.done(function(){K(e).hide()}),d.done(function(){for(var t in K._removeData(e,"fxshow"),f)K.style(e,t,f[t])}),f)a=D(h?g[i]:0,i,d),i in g||(g[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}],be={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),e=me.exec(e),r=e&&e[3]||(K.cssNumber[t]?"":"px"),o=(K.cssNumber[t]||"px"!==r&&+i)&&me.exec(K.css(n.elem,t)),a=1,s=20;if(o&&o[3]!==r)for(r=r||o[3],e=e||[],o=+i||1;o/=a=a||".5",K.style(n.elem,t,o+r),a!==(a=n.cur()/i)&&1!==a&&--s;);return e&&(o=n.start=+o||+i||0,n.unit=r,n.end=e[1]?o+(e[1]+1)*e[2]:+e[2]),n}]};K.Animation=K.extend(O,{tweener:function(t,e){for(var n,i=0,r=(t=K.isFunction(t)?(e=t,["*"]):t.split(" ")).length;i<r;i++)n=t[i],be[n]=be[n]||[],be[n].unshift(e)},prefilter:function(t,e){e?ye.unshift(t):ye.push(t)}}),K.speed=function(t,e,n){var i=t&&"object"==typeof t?K.extend({},t):{complete:n||!n&&e||K.isFunction(t)&&t,duration:t,easing:n&&e||e&&!K.isFunction(e)&&e};return i.duration=K.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in K.fx.speeds?K.fx.speeds[i.duration]:K.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){K.isFunction(i.old)&&i.old.call(this),i.queue&&K.dequeue(this,i.queue)},i},K.fn.extend({fadeTo:function(t,e,n,i){return this.filter(yt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var r=K.isEmptyObject(e),o=K.speed(t,n,i),i=function(){var t=O(this,K.extend({},e),o);(r||K._data(this,"finish"))&&t.stop(!0)};return i.finish=i,r||!1===o.queue?this.each(i):this.queue(o.queue,i)},stop:function(r,t,o){function a(t){var e=t.stop;delete t.stop,e(o)}return"string"!=typeof r&&(o=t,t=r,r=void 0),t&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=K.timers,i=K._data(this);if(e)i[e]&&i[e].stop&&a(i[e]);else for(e in i)i[e]&&i[e].stop&&ve.test(e)&&a(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(o),t=!1,n.splice(e,1));!t&&o||K.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=K._data(this),n=e[a+"queue"],i=e[a+"queueHooks"],r=K.timers,o=n?n.length:0;for(e.finish=!0,K.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===a&&(r[t].anim.stop(!0),r.splice(t,1)
1);for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),K.each(["toggle","show","hide"],function(t,i){var r=K.fn[i];K.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(N(i,!0),t,e,n)}}),K.each({slideDown:N("show"),slideUp:N("hide"),slideToggle:N("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){K.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),K.timers=[],K.fx.tick=function(){var t,e=K.timers,n=0;for(de=K.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||K.fx.stop(),de=void 0},K.fx.timer=function(t){K.timers.push(t),t()?K.fx.start():K.timers.pop()},K.fx.interval=13,K.fx.start=function(){fe=fe||setInterval(K.fx.tick,K.fx.interval)},K.fx.stop=function(){clearInterval(fe),fe=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fn.delay=function(i,t){return i=K.fx&&K.fx.speeds[i]||i,this.queue(t=t||"fx",function(t,e){var n=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},(he=at.createElement("div")).setAttribute("className","t"),he.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",pe=he.getElementsByTagName("a")[0],nt=(Y=at.createElement("select")).appendChild(at.createElement("option")),bt=he.getElementsByTagName("input")[0],pe.style.cssText="top:1px",Q.getSetAttribute="t"!==he.className,Q.style=/top/.test(pe.getAttribute("style")),Q.hrefNormalized="/a"===pe.getAttribute("href"),Q.checkOn=!!bt.value,Q.optSelected=nt.selected,Q.enctype=!!at.createElement("form").enctype,Y.disabled=!0,Q.optDisabled=!nt.disabled,(bt=at.createElement("input")).setAttribute("value",""),Q.input=""===bt.getAttribute("value"),bt.value="t",bt.setAttribute("type","radio"),Q.radioValue="t"===bt.value;var we=/\r/g;K.fn.extend({val:function(e){var n,t,i,r=this[0];return arguments.length?(i=K.isFunction(e),this.each(function(t){1===this.nodeType&&(null==(t=i?e.call(this,t,K(this).val()):e)?t="":"number"==typeof t?t+="":K.isArray(t)&&(t=K.map(t,function(t){return null==t?"":t+""})),(n=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):r?(n=K.valHooks[r.type]||K.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(r,"value"))?t:"string"==typeof(t=r.value)?t.replace(we,""):null==t?"":t:void 0}}),K.extend({valHooks:{option:{get:function(t){var e=K.find.attr(t,"value");return null!=e?e:K.text(t)}},select:{get:function(t){for(var e,n=t.options,i=t.selectedIndex,r="select-one"===t.type||i<0,o=r?null:[],a=r?i+1:n.length,s=i<0?a:r?i:0;s<a;s++)if(((e=n[s]).selected||s===i)&&(Q.optDisabled?!e.disabled:null===e.getAttribute("disabled"))&&(!e.parentNode.disabled||!K.nodeName(e.parentNode,"optgroup"))){if(e=K(e).val(),r)return e;o.push(e)}return o},set:function(t,e){for(var n,i,r=t.options,o=K.makeArray(e),a=r.length;a--;)if(i=r[a],0<=K.inArray(K.valHooks.option.get(i),o))try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),K.each(["radio","checkbox"],function(){K.valHooks[this]={set:function(t,e){if(K.isArray(e))return t.checked=0<=K.inArray(K(t).val(),e)}},Q.checkOn||(K.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xe,_e,Ce=K.expr.attrHandle,ke=/^(?:checked|selected)$/i,Ee=Q.getSetAttribute,Te=Q.input;K.fn.extend({attr:function(t,e){return xt(this,K.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){K.removeAttr(this,t)})}}),K.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute==gt?K.prop(t,e,n):(1===o&&K.isXMLDoc(t)||(e=e.toLowerCase(),i=K.attrHooks[e]||(K.expr.match.bool.test(e)?_e:xe)),void 0===n?!(i&&"get"in i&&null!==(r=i.get(t,e)))&&null==(r=K.find.attr(t,e))?void 0:r:null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void K.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(ft);if(o&&1===t.nodeType)for(;n=o[r++];)i=K.propFix[n]||n,K.expr.match.bool.test(n)?Te&&Ee||!ke.test(n)?t[i]=!1:t[K.camelCase("default-"+n)]=t[i]=!1:K.attr(t,n,""),t.removeAttribute(Ee?n:i)},attrHooks:{type:{set:function(t,e){if(!Q.radioValue&&"radio"===e&&K.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),_e={set:function(t,e,n){return!1===e?K.removeAttr(t,n):Te&&Ee||!ke.test(n)?t.setAttribute(!Ee&&K.propFix[n]||n,n):t[K.camelCase("default-"+n)]=t[n]=!0,n}},K.each(K.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Ce[e]||K.find.attr;Ce[e]=Te&&Ee||!ke.test(e)?function(t,e,n){var i,r;return n||(r=Ce[e],Ce[e]=i,i=null!=o(t,e,n)?e.toLowerCase():null,Ce[e]=r),i}:function(t,e,n){if(!n)return t[K.camelCase("default-"+e)]?e.toLowerCase():null}}),Te&&Ee||(K.attrHooks.value={set:function(t,e,n){if(!K.nodeName(t,"input"))return xe&&xe.set(t,e,n);t.defaultValue=e}}),Ee||(xe={set:function(t,e,n){var i=t.getAttributeNode(n);if(i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n))return e}},Ce.id=Ce.name=Ce.coords=function(t,e,n){if(!n)return(e=t.getAttributeNode(e))&&""!==e.value?e.value:null},K.valHooks.button={get:function(t,e){e=t.getAttributeNode(e);if(e&&e.specified)return e.value},set:xe.set},K.attrHooks.contenteditable={set:function(t,e,n){xe.set(t,""!==e&&e,n)}},K.each(["width","height"],function(t,n){K.attrHooks[n]={set:function(t,e){if(""===e)return t.setAttribute(n,"auto"),e}}})),Q.style||(K.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}}
1);var $e=/^(?:input|select|textarea|button|object)$/i,je=/^(?:a|area)$/i;K.fn.extend({prop:function(t,e){return xt(this,K.prop,t,e,1<arguments.length)},removeProp:function(t){return t=K.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),K.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!K.isXMLDoc(t))&&(e=K.propFix[e]||e,r=K.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=K.find.attr(t,"tabindex");return e?parseInt(e,10):$e.test(t.nodeName)||je.test(t.nodeName)&&t.href?0:-1}}}}),Q.hrefNormalized||K.each(["href","src"],function(t,e){K.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),Q.optSelected||(K.propHooks.selected={get:function(t){t=t.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),K.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){K.propFix[this.toLowerCase()]=this}),Q.enctype||(K.propFix.enctype="encoding");var Se=/[\t\r\n\f]/g;K.fn.extend({addClass:function(e){var t,n,i,r,o,a,s=0,l=this.length,u="string"==typeof e&&e;if(K.isFunction(e))return this.each(function(t){K(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(ft)||[];s<l;s++)if(i=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(Se," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=K.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,i,r,o,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof e&&e;if(K.isFunction(e))return this.each(function(t){K(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(ft)||[];s<l;s++)if(i=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(Se," "):"")){for(o=0;r=t[o++];)for(;0<=i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a=e?K.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(r,e){var o=typeof r;return"boolean"==typeof e&&"string"==o?e?this.addClass(r):this.removeClass(r):K.isFunction(r)?this.each(function(t){K(this).toggleClass(r.call(this,t,this.className,e),e)}):this.each(function(){if("string"==o)for(var t,e=0,n=K(this),i=r.match(ft)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else o!=gt&&"boolean"!=o||(this.className&&K._data(this,"__className__",this.className),this.className=!this.className&&!1!==r&&K._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(Se," ").indexOf(e))return!0;return!1}}),K.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,n){K.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),K.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},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)}});var Ae=K.now(),Be=/\?/,Ne=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;K.parseJSON=function(t){if(h.JSON&&h.JSON.parse)return h.JSON.parse(t+"");var r,o=null,e=K.trim(t+"");return e&&!K.trim(e.replace(Ne,function(t,e,n,i){return 0===(o=r&&e?0:o)?t:(r=n||e,o+=!i-!n,"")}))?Function("return "+e)():K.error("Invalid JSON: "+t)},K.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{h.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||K.error("Invalid XML: "+t),e};var De,Oe,Pe=/#.*$/,Le=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,He=/^(?:GET|HEAD)$/,ze=/^\/\//,Me=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ie={},qe={},Re="*/".concat("*");try{Oe=location.href}catch(t){(Oe=at.createElement("a")).href="",Oe=Oe.href}De=Me.exec(Oe.toLowerCase())||[],K.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(De[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Re,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":K.parseJSON,"text xml":K.parseXML}
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?F(F(t,K.ajaxSettings),e):F(K.ajaxSettings,t)},ajaxPrefilter:P(Ie),ajaxTransport:P(qe),ajax:function(t,e){function n(t,e,n,i){var r,o,a,s=e;2!==b&&(b=2,c&&clearTimeout(c),f=void 0,u=i||"",w.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(a=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}i=i||a}o=o||i}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,w,n)),a=function(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.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}}(p,a,w,i),i?(p.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(K.lastModified[l]=n),(n=w.getResponseHeader("etag"))&&(K.etag[l]=n)),204===t||"HEAD"===p.type?s="nocontent":304===t?s="notmodified":(s=a.state,r=a.data,i=!(o=a.error))):(o=s,!t&&s||(s="error",t<0&&(t=0))),w.status=t,w.statusText=(e||s)+"",i?m.resolveWith(h,[r,s,w]):m.rejectWith(h,[w,s,o]),w.statusCode(y),y=void 0,d&&g.trigger(i?"ajaxSuccess":"ajaxError",[w,p,i?r:o]),v.fireWith(h,[w,s]),d&&(g.trigger("ajaxComplete",[w,p]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0);var i,l,u,c,d,f,r,p=K.ajaxSetup({},e=e||{}),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?K(h):K.event,m=K.Deferred(),v=K.Callbacks("once memory"),y=p.statusCode||{},o={},a={},b=0,s="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!r)for(r={};e=Fe.exec(u);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?u:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=a[n]=a[n]||t,o[t]=e),this},overrideMimeType:function(t){return b||(p.mimeType=t),this},statusCode:function(t){if(t)if(b<2)for(var e in t)y[e]=[y[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){t=t||s;return f&&f.abort(t),n(0,t),this}};if(m.promise(w).complete=v.add,w.success=w.done,w.error=w.fail,p.url=((t||p.url||Oe)+"").replace(Pe,"").replace(ze,De[1]+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=K.trim(p.dataType||"*").toLowerCase().match(ft)||[""],null==p.crossDomain&&(t=Me.exec(p.url.toLowerCase()),p.crossDomain=!(!t||t[1]===De[1]&&t[2]===De[2]&&(t[3]||("http:"===t[1]?"80":"443"))===(De[3]||("http:"===De[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=K.param(p.data,p.traditional)),L(Ie,p,e,w),2===b)return w;for(i in(d=p.global)&&0==K.active++&&K.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!He.test(p.type),l=p.url,p.hasContent||(p.data&&(l=p.url+=(Be.test(l)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Le.test(l)?l.replace(Le,"$1_="+Ae++):l+(Be.test(l)?"&":"?")+"_="+Ae++)),p.ifModified&&(K.lastModified[l]&&w.setRequestHeader("If-Modified-Since",K.lastModified[l]),K.etag[l]&&w.setRequestHeader("If-None-Match",K.etag[l])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Re+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(!1===p.beforeSend.call(h,w,p)||2===b))return w.abort();for(i in s="abort",{success:1,error:1,complete:1})w[i](p[i]);return f=L(qe,p,e,w),w.send=function(){w.readyState=1,d&&g.trigger("ajaxSend",[w,p]),p.async&&0<p.timeout&&(c=setTimeout(function(){w.abort("timeout")},p.timeout));try{b=1,f.send(o,n)}catch(t){if(!(b<2))throw t;n(-1,t)}}
1,f?!1!==e.autostart&&w.send():n(-1,"No Transport"),w},getJSON:function(t,e,n){return K.get(t,e,n,"json")},getScript:function(t,e){return K.get(t,void 0,e,"script")}}),K.each(["get","post"],function(t,r){K[r]=function(t,e,n,i){return K.isFunction(e)&&(i=i||n,n=e,e=void 0),K.ajax({url:t,type:r,dataType:i,data:e,success:n})}}),K.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){K.fn[e]=function(t){return this.on(e,t)}}),K._evalUrl=function(t){return K.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},K.fn.extend({wrapAll:function(e){return K.isFunction(e)?this.each(function(t){K(this).wrapAll(e.call(this,t))}):(this[0]&&(t=K(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)),this);var t},wrapInner:function(n){return K.isFunction(n)?this.each(function(t){K(this).wrapInner(n.call(this,t))}):this.each(function(){var t=K(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=K.isFunction(e);return this.each(function(t){K(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()}}),K.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!Q.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||K.css(t,"display"))},K.expr.filters.visible=function(t){return!K.expr.filters.hidden(t)};var We=/%20/g,Ue=/\[\]$/,Ve=/\r?\n/g,Xe=/^(?:submit|button|image|reset|file)$/i,Je=/^(?:input|select|textarea|keygen)/i;K.param=function(t,e){function n(t,e){e=K.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var i,r=[];if(void 0===e&&(e=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(t)||t.jquery&&!K.isPlainObject(t))K.each(t,function(){n(this.name,this.value)});else for(i in t)!function n(i,t,r,o){if(K.isArray(t))K.each(t,function(t,e){r||Ue.test(i)?o(i,e):n(i+"["+("object"==typeof e?t:"")+"]",e,r,o)});else if(r||"object"!==K.type(t))o(i,t);else for(var e in t)n(i+"["+e+"]",t[e],r,o)}(i,t[i],e,n);return r.join("&").replace(We,"+")},K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=K.prop(this,"elements");return t?K.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!K(this).is(":disabled")&&Je.test(this.nodeName)&&!Xe.test(t)&&(this.checked||!_t.test(t))}).map(function(t,e){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:n.replace(Ve,"\r\n")}}).get()}}),K.ajaxSettings.xhr=void 0!==h.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&H()||function(){try{return new h.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:H;var Ge=0,Qe={},nt=K.ajaxSettings.xhr();h.ActiveXObject&&K(h).on("unload",function(){for(var t in Qe)Qe[t](void 0,!0)}),Q.cors=!!nt&&"withCredentials"in nt,(nt=Q.ajax=!!nt)&&K.ajaxTransport(function(l){var u;if(!l.crossDomain||Q.cors)return{send:function(t,o){var e,a=l.xhr(),s=++Ge;if(a.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(e in l.xhrFields)a[e]=l.xhrFields[e];for(e in l.mimeType&&a.overrideMimeType&&a.overrideMimeType(l.mimeType),l.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)void 0!==t[e]&&a.setRequestHeader(e,t[e]+"");a.send(l.hasContent&&l.data||null),u=function(t,e){var n,i,r;if(u&&(e||4===a.readyState))if(delete Qe[s],u=void 0,a.onreadystatechange=K.noop,e)4!==a.readyState&&a.abort();else{r={},n=a.status,"string"==typeof a.responseText&&(r.text=a.responseText);try{i=a.statusText}catch(t){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=r.text?200:404}r&&o(n,i,r,a.getAllResponseHeaders())},l.async?4===a.readyState?setTimeout(u):a.onreadystatechange=Qe[s]=u:u()},abort:function(){u&&u(void 0,!0)}}}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return K.globalEval(t),t}}}),K.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),K.ajaxTransport("script",function(e){if(e.crossDomain){var i,r=at.head||K("head")[0]||at.documentElement;return{send:function(t,n){(i=at.createElement("script")).async=!0,e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(t,e){!e&&i.readyState&&!/loaded|complete/.test(i.readyState)||(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,e||n(200,"success"))}
1,r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}}});var Ye=[],Ke=/(=)\?(?=&|$)|\?\?/;K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||K.expando+"_"+Ae++;return this[t]=!0,t}}),K.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,o,a=!1!==t.jsonp&&(Ke.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ke.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=K.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ke,"$1"+i):!1!==t.jsonp&&(t.url+=(Be.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||K.error(i+" was not called"),o[0]},t.dataTypes[0]="json",r=h[i],h[i]=function(){o=arguments},n.always(function(){h[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(i)),o&&K.isFunction(r)&&r(o[0]),o=r=void 0}),"script"}),K.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||at;var i=rt.exec(t),n=!n&&[];return i?[e.createElement(i[1])]:(i=K.buildFragment([t],e,n),n&&n.length&&K(n).remove(),K.merge([],i.childNodes))};var Ze=K.fn.load;K.fn.load=function(t,e,n){if("string"!=typeof t&&Ze)return Ze.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return 0<=s&&(i=t.slice(s,t.length),t=t.slice(0,s)),K.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<a.length&&K.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?K("<div>").append(K.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},K.expr.filters.animated=function(e){return K.grep(K.timers,function(t){return e===t.elem}).length};var tn=h.document.documentElement;return K.offset={setOffset:function(t,e,n){var i,r,o,a,s=K.css(t,"position"),l=K(t),u={};"static"===s&&(t.style.position="relative"),o=l.offset(),i=K.css(t,"top"),a=K.css(t,"left"),a=("absolute"===s||"fixed"===s)&&-1<K.inArray("auto",[i,a])?(r=(s=l.position()).top,s.left):(r=parseFloat(i)||0,parseFloat(a)||0),null!=(e=K.isFunction(e)?e.call(t,n,o):e).top&&(u.top=e.top-o.top+r),null!=e.left&&(u.left=e.left-o.left+a),"using"in e?e.using.call(t,u):l.css(u)}},K.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){K.offset.setOffset(this,e,t)});var t,n={top:0,left:0},i=this[0],r=i&&i.ownerDocument;return r?(t=r.documentElement,K.contains(t,i)?(typeof i.getBoundingClientRect!=gt&&(n=i.getBoundingClientRect()),r=z(r),{top:n.top+(r.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(r.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===K.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),(n=!K.nodeName(t[0],"html")?t.offset():n).top+=K.css(t[0],"borderTopWidth",!0),n.left+=K.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-K.css(i,"marginTop",!0),left:e.left-n.left-K.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||tn;
1t&&!K.nodeName(t,"html")&&"static"===K.css(t,"position");)t=t.offsetParent;return t||tn})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o=/Y/.test(r);K.fn[e]=function(t){return xt(this,function(t,e,n){var i=z(t);if(void 0===n)return i?r in i?i[r]:i.document.documentElement[e]:t[e];i?i.scrollTo(o?K(i).scrollLeft():n,o?n:K(i).scrollTop()):t[e]=n},e,t,arguments.length,null)}}),K.each(["top","left"],function(t,n){K.cssHooks[n]=k(Q.pixelPosition,function(t,e){if(e)return e=Xt(t,n),te.test(e)?K(t).position()[n]+"px":e})}),K.each({Height:"height",Width:"width"},function(o,a){K.each({padding:"inner"+o,content:a,"":"outer"+o},function(i,t){K.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return xt(this,function(t,e,n){var i;return K.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+o],i["scroll"+o],t.body["offset"+o],i["offset"+o],i["client"+o])):void 0===n?K.css(t,e,r):K.style(t,e,n,r)},a,n?t:void 0,n,null)}})}),K.fn.size=function(){return this.length},K.fn.andSelf=K.fn.addBack,K.uaMatch=function(t){t=t.toLowerCase();t=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:t[1]||"",version:t[2]||"0"}},bt={},(nt=K.uaMatch(navigator.userAgent)).browser&&(bt[nt.browser]=!0,bt.version=nt.version),bt.chrome?bt.webkit=!0:bt.webkit&&(bt.safari=!0),K.browser=bt,K.version="5.0",K.long_version="5.0.10",K.uid=function(t,e){return(t||"")+Math.random().toString().replace(".","")+(e||"")},K.globalNamespace=K.uid("Foundry"),(h[K.globalNamespace]=K).run=function(t){return K.isFunction(t)?t(K):null},K.initialize=function(t){K.initialized||(K.extend(K,t),"development"==K.environment&&(h.F=K),K.initialized=!0,FD50.module.execute())},FD50.jquery(K),"function"==typeof define&&define.amd&&define("jquery",[],function(){return K}),K}),FD50.plugin("lodash",function(n){function gn(t,e){return t.set(e[0],e[1]),t}function mn(t,e){return t.add(e),t}function vn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function yn(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function bn(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function wn(t,e){return!!(null==t?0:t.length)&&-1<En(t,e,0)}function xn(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function _n(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Cn(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function kn(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function En(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):function(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}(t,i,n)}function Tn(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function i(t){return t!=t}function $n(e){return function(t){return e(t)}}function jn(t,e){return t.has(e)}function Sn(t){var n=-1,i=Array(t.size);return t.forEach(function(t,e){i[++n]=[e,t]}),i}function An(e,n){return function(t){return e(n(t))}}function Bn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Nn(t){return g.test(t)?t.match(h)||[]:t.split("")}var Dn,On="Expected a function",Pn="__lodash_hash_undefined__",Ln="__lodash_placeholder__",Fn=9007199254740991,Hn=4294967295,zn=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Mn="[object Arguments]",In="[object Array]",qn="[object Boolean]",Rn="[object Date]",Wn="[object Error]",Un="[object Function]",Vn="[object GeneratorFunction]",Xn="[object Map]",Jn="[object Number]",Gn="[object Object]",Qn="[object Promise]",Yn="[object RegExp]",Kn="[object Set]",Zn="[object String]",ti="[object Symbol]",ei="[object WeakMap]",ni="[object ArrayBuffer]",ii="[object DataView]",ri="[object Float32Array]",oi="[object Float64Array
1]",ai="[object Int8Array]",si="[object Int16Array]",li="[object Int32Array]",ui="[object Uint8Array]",ci="[object Uint8ClampedArray]",di="[object Uint16Array]",fi="[object Uint32Array]",pi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hi=/^\w*$/,gi=/^\./,mi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vi=/[\\^$.*+?()[\]{}|]/g,yi=/^\s+|\s+$/g,bi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wi=/\{\n\/\* \[wrapped with (.+)\] \*/,xi=/,? & /,_i=/\\(\\)?/g,Ci=/\w*$/,ki=/^[-+]0x[0-9a-f]+$/i,Ei=/^0b[01]+$/i,Ti=/^\[object .+?Constructor\]$/,$i=/^0o[0-7]+$/i,ji=/^(?:0|[1-9]\d*)$/,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",r="\\ufe0e\\ufe0f",o="["+t+"]",a="["+e+"]",s="\\ud83c[\\udffb-\\udfff]",l="[^"+t+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",d="\\u200d",f="(?:"+a+"|"+s+")"+"?",p="["+r+"]?",f=p+f+("(?:"+d+"(?:"+[l,u,c].join("|")+")"+p+f+")*"),o="(?:"+[l+a+"?",a,u,c,o].join("|")+")",h=RegExp(s+"(?="+s+")|"+o+f,"g"),g=RegExp("["+d+t+e+r+"]"),Si=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ai={};Ai[ri]=Ai[oi]=Ai[ai]=Ai[si]=Ai[li]=Ai[ui]=Ai[ci]=Ai[di]=Ai[fi]=!0,Ai[Mn]=Ai[In]=Ai[ni]=Ai[qn]=Ai[ii]=Ai[Rn]=Ai[Wn]=Ai[Un]=Ai[Xn]=Ai[Jn]=Ai[Gn]=Ai[Yn]=Ai[Kn]=Ai[Zn]=Ai[ei]=!1;var Bi={};Bi[Mn]=Bi[In]=Bi[ni]=Bi[ii]=Bi[qn]=Bi[Rn]=Bi[ri]=Bi[oi]=Bi[ai]=Bi[si]=Bi[li]=Bi[Xn]=Bi[Jn]=Bi[Gn]=Bi[Yn]=Bi[Kn]=Bi[Zn]=Bi[ti]=Bi[ui]=Bi[ci]=Bi[di]=Bi[fi]=!0,Bi[Wn]=Bi[Un]=Bi[ei]=!1;var Ni=parseInt,t="object"==typeof global&&global&&global.Object===Object&&global,e="object"==typeof self&&self&&self.Object===Object&&self,Di=t||e||Function("return this")(),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=r&&"object"==typeof module&&module&&!module.nodeType&&module,Oi=e&&e.exports===r,m=Oi&&t.process,t=function(){try{return m&&m.binding&&m.binding("util")}catch(t){}}(),Pi=t&&t.isTypedArray,t=function t(e){function C(t){if(jt(t)&&!dn(t)&&!(t instanceof k)){if(t instanceof h)return t;if(le.call(t,"__wrapped__"))return dt(t)}return new h(t)}function o(){}function h(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=Dn}function k(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Hn,this.__views__=[]}function n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function m(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new a;++e<n;)this.add(t[e])}function v(t){t=this.__data__=new r(t);this.size=t.size}function i(t,e){var n,i=dn(t),r=!i&&cn(t),o=!i&&!r&&fn(t),a=!i&&!r&&!o&&pn(t),s=i||r||o||a,l=s?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,ee):[],u=l.length;for(n in t)!e&&!le.call(t,n)||s&&("length"==n||o&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||et(n,u))||l.push(n);return l}function y(t,e,n){var i=t[e];le.call(t,e)&&_t(i,n)&&(n!==Dn||e in t)||u(t,e,n)}function s(t,e){for(var n=t.length;n--;)if(_t(t[n][0],e))return n;return-1}function u(t,e,n){"__proto__"==e&&Ce?Ce(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function b(n,i,r,t,e,o){var a,s=1&i,l=2&i,u=4&i;if((a=r?e?r(n,t,e,o):r(n):a)!==Dn)return a;if(!$t(n))return n;var c,d,f,p=dn(n);if(p){if(a=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&le.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(n),!s)return I(n,a)}else{var h=Ze(n),t=h==Un||h==Vn;if(fn(n))return function(t,e){if(e)return t.slice();e=t.length,e=ge?ge(e):new t.constructor(e);return t.copy(e),e}(n,s);if(h==Gn||h==Mn||t&&!e){if(a=l||t?{}:"function"!=typeof(t=n).constructor||rt(t)?{}:qe(me(t)),!s)return l?(f=c=n,f=(d=a)&&q(f,zt(f),d),q(c,Ke(c),f)):(c=d=n,f=(f=a)&&q(c,Ht(c),f),q(d,Ye(d),f))}else{if(!Bi[h])return e?n:{};a=function(t,e,n,i){var r=t.constructor;switch(e){case ni:return M(t);case qn:case Rn:return new r(+t);case ii:return function(t,e){e=e?M(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,i);case ri:case oi:case ai:case si:case li:case ui:case ci:case di:case fi:return function(t,e){e=e?M(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}(t,i);case Xn:return function(t,e,n){return kn(e?n(Sn(t),1):Sn(t),gn,new t.constructor)}(t,i,n);case Jn:case Zn:return new r(t);case Yn:return function(t){var e=new t.constructor(t.source,Ci.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Kn:return function(t,e,n){return kn(e?n(Bn(t),1):Bn(t),mn,new t.constructor)}(t,i,n);case ti:return function(t){return Me?Zt(Me.call(t)):{}}(t)}}(n,h,b,s)}}s=(o=o||new v).get(n);if(s)return s;o.set(n,a);var g=p?Dn:(u?l?G:J:l?zt:Ht)(n);return yn(g||n,function(t,e){g&&(t=n[e=t]),y(a,e,b(t,i,r,e,n,o))}),a}function l(t,i){var r=[];return Xe(t,function(t,e,n){i(t,e,n)&&r.push(t)}),r}function c(t,e,n,i,r){var o=-1,a=t.length;for(n=n||tt,r=r||[];++o<a;){var s=t[o];0<e&&n(s)?1<e?c(s,e-1,n,i,r):Cn(r,s):i||(r[r.length]=s)}return r}function d(t,e){return t&&Je(t,e,Ht)}function f(e,t){return bn(t,function(t){return Et(e[t])})}function p(t,e){for(var n=0,i=(e=z(e,t)).length;null!=t&&n<i;)t=t[ut(e[n++])];return n&&n==i?t:Dn}function g(t,e,n){e=e(t);return dn(t)?e:Cn(e,n(t))}
1function w(t){return null==t?t===Dn?"[object Undefined]":"[object Null]":_e&&_e in Zt(t)?function(t){var e=le.call(t,_e),n=t[_e];try{t[_e]=Dn;var i=!0}catch(t){}var r=ce.call(t);i&&(e?t[_e]=n:delete t[_e]);return r}(t):ce.call(t)}function x(t,e){return null!=t&&le.call(t,e)}function _(t,e){return null!=t&&e in Zt(t)}function E(t,e,n){var i,r;e=z(e,t),i=t;e=null==(t=(r=e).length<2?i:p(i,function(t,e,n){var i=-1,r=t.length;e<0&&(e=r<-e?0:r+e);(n=r<n?r:n)<0&&(n+=r);r=n<e?0:n-e>>>0,e>>>=0;var o=Gt(r);for(;++i<r;)o[i]=t[i+e];return o}(r,0,-1)))?t:t[ut(pt(e))];return null==e?Dn:vn(e,t,n)}function T(t){return jt(t)&&w(t)==Mn}function $(t,e,n,i,r){return t===e||(null==t||null==e||!jt(t)&&!jt(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=dn(t),s=dn(e),l=a?In:Ze(t),u=s?In:Ze(e),c=(l=l==Mn?Gn:l)==Gn,s=(u=u==Mn?Gn:u)==Gn,u=l==u;if(u&&fn(t)){if(!fn(e))return!1;c=!(a=!0)}if(u&&!c)return o=o||new v,a||pn(t)?V(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case ii:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ni:return t.byteLength==e.byteLength&&o(new he(t),new he(e))?!0:!1;case qn:case Rn:case Jn:return _t(+t,+e);case Wn:return t.name==e.name&&t.message==e.message;case Yn:case Zn:return t==e+"";case Xn:var s=Sn;case Kn:var l=1&i;if(s=s||Bn,t.size!=e.size&&!l)return!1;l=a.get(t);if(l)return l==e;i|=2,a.set(t,e);s=V(s(t),s(e),i,r,o,a);return a.delete(t),s;case ti:if(Me)return Me.call(t)==Me.call(e)}return!1}(t,e,l,n,i,r,o);if(!(1&n)){c=c&&le.call(t,"__wrapped__"),s=s&&le.call(e,"__wrapped__");
1if(c||s){c=c?t.value():t,s=s?e.value():e;return o=o||new v,r(c,s,n,i,o)}}return u&&(o=o||new v,function(t,e,n,i,r,o){var a=1&n,s=J(t),l=s.length,u=J(e).length;if(l!=u&&!a)return!1;var c=l;for(;c--;){var d=s[c];if(!(a?d in e:le.call(e,d)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var p=!0;o.set(t,e),o.set(e,t);var h=a;for(;++c<l;){d=s[c];var g,m=t[d],v=e[d];if(!((g=i?a?i(v,m,d,e,t,o):i(m,v,d,t,e,o):g)===Dn?m===v||r(m,v,n,i,o):g)){p=!1;break}h=h||"constructor"==d}p&&!h&&(u=t.constructor,f=e.constructor,u!=f&&"constructor"in t&&"constructor"in e&&!("function"==typeof u&&u instanceof u&&"function"==typeof f&&f instanceof f)&&(p=!1));return o.delete(t),o.delete(e),p}(t,e,n,i,r,o))}(t,e,n,i,$,r))}function j(t){var e;return $t(t)&&(e=t,!(ue&&ue in e))&&(Et(t)?de:Ti).test(ct(t))}function S(t){return"function"==typeof t?t:null==t?qt:"object"==typeof t?dn(t)?function(n,i){if(it(n)&&ot(i))return at(ut(n),i);return function(t){var e=Lt(t,n);return e===Dn&&e===i?Ft(t,n):$(i,e,3)}}(t[0],t[1]):function(e){var n=function(t){var e=Ht(t),n=e.length;for(;n--;){var i=e[n],r=t[i];e[n]=[i,r,ot(r)]}return e}(e);if(1==n.length&&n[0][2])return at(n[0][0],n[0][1]);return function(t){return t===e||function(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=Zt(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],u=t[l],c=s[1];if(a&&s[2]){if(u===Dn&&!(l in t))return!1}else{var d,f=new v;if(!((d=i?i(u,c,l,t,e,f):d)===Dn?$(c,u,3,i,f):d))return!1}}return!0}(t,e,n)}}(t):Vt(t)}function A(t){if(!rt(t))return Te(t);var e,n=[];for(e in Zt(t))le.call(t,e)&&"constructor"!=e&&n.push(e);return n}function B(t){if(!$t(t))return function(t){var e=[];if(null!=t)for(var n in Zt(t))e.push(n);return e}(t);var e,n=rt(t),i=[];for(e in t)("constructor"!=e||!n&&le.call(t,e))&&i.push(e);return i}function N(t,i){var r=-1,o=Ct(t)?Gt(t.length):[];return Xe(t,function(t,e,n){o[++r]=i(t,e,n)}),o}function D(t,i,n){var r=-1;return i=_n(i.length?i:[qt],$n(Q())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(N(t,function(e,t,n){return{criteria:_n(i,function(t){return t(e)}),index:++r,value:e}}),function(t,e){return function(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;for(;++i<a;){var l=function(t,e){if(t!==e){var n=t!==Dn,i=null===t,r=t==t,o=At(t),a=e!==Dn,s=null===e,l=e==e,u=At(e);if(!s&&!u&&!o&&e<t||o&&a&&l&&!s&&!u||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!u&&t<e||u&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}(r[i],o[i]);if(l){if(s<=i)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function O(n,t){return function(t,e,n){var i=-1,r=e.length,o={};for(;++i<r;){var a=e[i],s=p(t,a);n(s,a)&&function(t,e,n,i){if(!$t(t))return;e=z(e,t);var r=-1,o=e.length,a=o-1,s=t;for(;null!=s&&++r<o;){var l,u=ut(e[r]),c=n;r!=a&&(l=s[u],(c=i?i(l,u,s):Dn)===Dn&&(c=$t(l)?l:et(e[r+1])?[]:{})),y(s,u,c),s=s[u]}}(o,z(a,t),s)}return o}(n,t,function(t,e){return Ft(n,e)})}function P(t,e){return on(st(t,e,qt),t+"")}function L(t){if("string"==typeof t)return t;if(dn(t))return _n(t,L)+"";if(At(t))return Ie?Ie.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function F(t,e){var n=t;return kn(e,function(t,e){return e.func.apply(e.thisArg,Cn([t],e.args))},n=t instanceof k?t.value():n)}function H(t){return kt(t)?t:[]}function z(t,e){return dn(t)?t:it(t,e)?[t]:an(Pt(t))}function M(t){var e=new t.constructor(t.byteLength);return new he(e).set(new he(t)),e}function I(t,e){var n=-1,i=t.length;for(e=e||Gt(i);++n<i;)e[n]=t[n];return e}function q(t,e,n,i){var r=!n;n=n||{};for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):Dn;(r?u:y)(n,s,l=l===Dn?t[s]:l)}return n}function R(i){return function(){var t=arguments;switch(t.length){case 0:return new i;case 1:return new i(t[0]);case 2:return new i(t[0],t[1]);case 3:return new i(t[0],t[1],t[2]);case 4:return new i(t[0],t[1],t[2],t[3]);case 5:return new i(t[0],t[1],t[2],t[3],t[4]);case 6:return new i(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new i(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var e=qe(i.prototype),n=i.apply(e,t);return $t(n)?n:e}}function W(s,l,u,c,d,f,p,h,g,m){var v=128&l,y=1&l,b=2&l,w=24&l,x=512&l,_=b?Dn:R(s);return function t(){for(var e,n=arguments.length,i=Gt(n),r=n;r--;)i[r]=arguments[r];if(w&&(e=t,e=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(i,a=(le.call(C,"placeholder")?C:e).placeholder)),c&&(i=function(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,l=e.length,u=$e(o-a,0),c=Gt(l+u),d=!i;++s<l;)c[s]=e[s];for(;++r<a;)(d||r<o)&&(c[n[r]]=t[r]);for(;u--;)c[s++]=t[r++];return c}(i,c,d,w)),f&&(i=function(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,l=-1,u=e.length,c=$e(o-s,0),d=Gt(c+u),f=!i;++r<c;)d[r]=t[r];for(var p=r;++l<u;)d[p+l]=e[l];for(;++a<s;)(f||r<o)&&(d[p+n[a]]=t[r++]);return d}(i,f,p,w)),n-=e,w&&n<m){var o=function(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n];a!==e&&a!==Ln||(t[n]=Ln,o[r++]=n)}return o}(i,a);return function(t,e,n,i,r,o,a,s,l,u){var c=8&e;return e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4),u=[t,e,r,c?o:Dn,c?a:Dn,c?Dn:o,c?Dn:a,s,l,u],n=n.apply(Dn,u),function(t){var e=function(t){for(var e=t.name+"",n=Oe[e],i=le.call(Oe,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}(t),n=C[e];return"function"==typeof n&&e in k.prototype&&(t===n||(n=Qe(n))&&t===n[0])}(t)&&nn(n,u),n.placeholder=i,function(t,e,n){return on(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(1<n?"& ":"")+e[i],e=e.join(2<n?", ":" "),t.replace(bi,"{\n/* [wrapped with "+e+"] */\n")}(e+="",function(n,i){return yn(zn,function(t){var e="_."+t[0];i&t[1]&&!wn(n,e)&&n.push(e)}),n.sort()}(function(t){return(t=t.match(wi))?t[1].split(xi):[]}(e),n)))}(n,t,e)}(s,l,W,t.placeholder,u,i,o,h,g,m-n)}var a=y?u:this,o=b?a[s]:s,n=i.length;
vendor: 6,982 bytes, line 1
1return h?i=function(t,e){for(var n=t.length,i=je(e.length,n),r=I(t);i--;){var o=e[i];t[i]=et(o,n)?r[o]:Dn}return t}(i,h):x&&1<n&&i.reverse(),v&&g<n&&(i.length=g),(o=this&&this!==Di&&this instanceof t?_||R(o):o).apply(a,i)}}function U(t,e,n,i){return t===Dn||_t(t,oe[n])&&!le.call(i,n)?e:t}function V(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&s<l))return!1;l=o.get(t);if(l&&o.get(e))return l==e;var u=-1,c=!0,d=2&n?new m:Dn;for(o.set(t,e),o.set(e,t);++u<s;){var f,p=t[u],h=e[u];if((f=i?a?i(h,p,u,e,t,o):i(p,h,u,t,e,o):f)!==Dn){if(f)continue;c=!1;break}if(d){if(!function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return 1}(e,function(t,e){return!jn(d,e)&&(p===t||r(p,t,n,i,o))&&d.push(e)})){c=!1;break}}else if(p!==h&&!r(p,h,n,i,o)){c=!1;break}}return o.delete(t),o.delete(e),c}function X(t){return on(st(t,Dn,ft),t+"")}function J(t){return g(t,Ht,Ye)}function G(t){return g(t,zt,Ke)}function Q(t,e){var n=(n=C.iteratee||Rt)===Rt?S:n;return arguments.length?n(t,e):n}function Y(t,e){var n,i=t.__data__;return("string"==(t=typeof(n=e))||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function K(t,e){e=e,e=null==(t=t)?Dn:t[e];return j(e)?e:Dn}function Z(t,e,n){for(var i=-1,r=(e=z(e,t)).length,o=!1;++i<r;){var a=ut(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Tt(r)&&et(a,r)&&(dn(t)||cn(t))}function tt(t){return dn(t)||cn(t)||!!(we&&t&&t[we])}function et(t,e){return!!(e=null==e?Fn:e)&&("number"==typeof t||ji.test(t))&&-1<t&&t%1==0&&t<e}function nt(t,e,n){if($t(n)){var i=typeof e;return("number"==i?Ct(n)&&et(e,n.length):"string"==i&&e in n)&&_t(n[e],t)}}function it(t,e){if(!dn(t)){var n=typeof t;return"number"==n||"symbol"==n||"boolean"==n||null==t||At(t)||(hi.test(t)||!pi.test(t)||null!=e&&t in Zt(e))}}function rt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||oe)}function ot(t){return t==t&&!$t(t)}function at(e,n){return function(t){return null!=t&&(t[e]===n&&(n!==Dn||e in Zt(t)))}}function st(o,a,s){return a=$e(a===Dn?o.length-1:a,0),function(){for(var t=arguments,e=-1,n=$e(t.length-a,0),i=Gt(n);++e<n;)i[e]=t[a+e];for(var e=-1,r=Gt(a+1);++e<a;)r[e]=t[e];return r[a]=s(i),vn(o,this,r)}}function lt(n){var i=0,r=0;return function(){var t=Se(),e=16-(t-r);if(r=t,0<e){if(800<=++i)return arguments[0]}else i=0;return n.apply(Dn,arguments)}}function ut(t){if("string"==typeof t||At(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ct(t){if(null!=t){try{return se.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function dt(t){if(t instanceof k)return t.clone();var e=new h(t.__wrapped__,t.__chain__);return e.__actions__=I(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ft(t){return(null==t?0:t.length)?c(t,1):[]}function pt(t){var e=null==t?0:t.length;return e?t[e-1]:Dn}function ht(t,e){return t&&t.length&&e&&e.length?function(t,e,n,i){var r=i?Tn:En,o=-1,a=e.length,s=t;for(t===e&&(e=I(e)),n&&(s=_n(t,$n(n)));++o<a;)for(var l=0,u=e[o],c=n?n(u):u;-1<(l=r(s,c,l,i));)s!==t&&be.call(s,l,1),be.call(t,l,1);return t}(t,e):t}function gt(t){return null==t?t:Ae.call(t)}function mt(t){t=C(t);return t.__chain__=!0,t}function vt(t,e){return e(t)}function yt(t,e){return(dn(t)?yn:Xe)(t,Q(e,3))}function bt(i,n,t){function r(t){var e=l,n=u;return l=u=Dn,h=t,d=i.apply(n,e)}function o(t){var e=t-p;return p===Dn||n<=e||e<0||m&&c<=t-h}function a(){var t,e=sn();if(o(e))return s(e);f=rn(a,(e=n-((t=e)-p),m?je(e,c-(t-h)):e))}function s(t){return f=Dn,v&&l?r(t):(l=u=Dn,d)}function e(){var t=sn(),e=o(t);if(l=arguments,u=this,p=t,e){if(f===Dn)return h=e=p,f=rn(a,n),g?r(e):d;if(m)return f=rn(a,n),r(p)}return f===Dn&&(f=rn(a,n)),d}var l,u,c,d,f,p,h=0,g=!1,m=!1,v=!0;if("function"!=typeof i)throw new ne(On);return n=Ot(n)||0,$t(t)&&(g=!!t.leading,m="maxWait"in t,c=m?$e(Ot(t.maxWait)||0,n):c,v="trailing"in t?!!t.trailing:v),e.cancel=function(){f!==Dn&&Ge(f),h=0,l=p=u=f=Dn},e.flush=function(){return f===Dn?d:s(sn())},e}function wt(i,r){if("function"!=typeof i||null!=r&&"function"!=typeof r)throw new ne(On);function o(){var t=arguments,e=r?r.apply(this,t):t[0],n=o.cache;return n.has(e)?n.get(e):(t=i.apply(this,t),o.cache=n.set(e,t)||n,t)}return o.cache=new(wt.Cache||a),o}function xt(e){if("function"!=typeof e)throw new ne(On);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function _t(t,e){return t===e||t!=t&&e!=e}function Ct(t){return null!=t&&Tt(t.length)&&!Et(t)}function kt(t){return jt(t)&&Ct(t)}function Et(t){if(!$t(t))return!1;t=w(t);return t==Un||t==Vn||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Tt(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=Fn}function $t(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function jt(t){return null!=t&&"object"==typeof t}function St(t){return"string"==typeof t||!dn(t)&&jt(t)&&w(t)==Zn}function At(t){return"symbol"==typeof t||jt(t)&&w(t)==ti}function Bt(t){if(!t)return[];if(Ct(t))return(St(t)?Nn:I)(t);if(xe&&t[xe])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[xe]());var e=Ze(t);return(e==Xn?Sn:e==Kn?Bn:Mt)(t)}function Nt(t){return t?(t=Ot(t))!==1/0&&t!==-1/0?t==t?t:0:17976931348623157e292*(t<0?-1:1):0===t?t:0}function Dt(t){var e=Nt(t),t=e%1;return e==e?t?e-t:e:0}function Ot(t){if("number"==typeof t)return t;if(At(t))return NaN;if("string"!=typeof(t=$t(t)?$t(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e:t))return 0===t?t:+t;t=t.replace(yi,"");var e=Ei.test(t);return e||$i.test(t)?Ni(t.slice(2),e?2:8):ki.test(t)?NaN:+t}function Pt(t){return null==t?"":L(t)}function Lt(t,e,n){e=null==t?Dn:p(t,e);return e===Dn?n:e}function Ft(t,e){return null!=t&&Z(t,e,_)}function Ht(t){return(Ct(t)?i:A)(t)}function zt(t){return Ct(t)?i(t,!0):B(t)}function Mt(t){return null==t?[]:_n(Ht(e=t),function(t){return e[t]});var e}function It(t){return function(){return t}}function qt(t){return t}function Rt(t){return S("function"==typeof t?t:b(t,1))}function Wt(i,e,t){var n=Ht(e),r=f(e,n);null!=t||$t(e)&&(r.length||!n.length)||(t=e,e=i,i=this,r=f(e,Ht(e)));var o=!($t(t)&&"chain"in t&&!t.chain),a=Et(i);return yn(r,function(t){var n=e[t];i[t]=n,a&&(i.prototype[t]=function(){var t=this.__chain__;if(o||t){var e=i(this.__wrapped__);return(e.__actions__=I(this.__actions__)).push({func:n,args:arguments,thisArg:i}),e.__chain__=t,e}return n.apply(i,Cn([this.value()],arguments))})}),i}function Ut(){}function Vt(t){return it(t)?(n=ut(t),function(t){return null==t?Dn:t[n]}):(e=t,function(t){return p(t,e)});var e,n}function Xt(){return[]}function Jt(){return!1}var Gt=(e=null==e?Di:Li.defaults(Di.Object(),e,Li.pick(Di,Si))).Array,Qt=e.Date,Yt=(e.Error,e.Function),Kt=e.Math,Zt=e.Object,te=e.RegExp,ee=e.String,ne=e.TypeError,ie=Gt.prototype,re=Yt.prototype,oe=Zt.prototype,ae=e["__c
1ore-js_shared__"],se=re.toString,le=oe.hasOwnProperty,ue=(Ee=/[^.]+$/.exec(ae&&ae.keys&&ae.keys.IE_PROTO||""))?"Symbol(src)_1."+Ee:"",ce=oe.toString,de=(se.call(Zt),Di._,te("^"+se.call(le).replace(vi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$")),fe=Oi?e.Buffer:Dn,pe=e.Symbol,he=e.Uint8Array,ge=fe?fe.allocUnsafe:Dn,me=An(Zt.getPrototypeOf,Zt),ve=Zt.create,ye=oe.propertyIsEnumerable,be=ie.splice,we=pe?pe.isConcatSpreadable:Dn,xe=pe?pe.iterator:Dn,_e=pe?pe.toStringTag:Dn,Ce=function(){try{var t=K(Zt,"defineProperty");return t({},"",{}),t}catch(t){}}(),Yt=e.clearTimeout!==Di.clearTimeout&&e.clearTimeout,re=Qt&&Qt.now!==Di.Date.now&&Qt.now,ae=e.setTimeout!==Di.setTimeout&&e.setTimeout,ke=(Kt.ceil,Kt.floor,Zt.getOwnPropertySymbols),Ee=fe?fe.isBuffer:Dn,Te=(e.isFinite,ie.join,An(Zt.keys,Zt)),$e=Kt.max,je=Kt.min,Se=Qt.now,Ae=(e.parseInt,Kt.random,ie.reverse),te=K(e,"DataView"),Be=K(e,"Map"),fe=K(e,"Promise"),Qt=K(e,"Set"),Kt=K(e,"WeakMap"),Ne=K(Zt,"create"),De=Kt&&new Kt,Oe={},Pe=ct(te),Le=ct(Be),Fe=ct(fe),He=ct(Qt),ze=ct(Kt),e=pe?pe.prototype:Dn,Me=e?e.valueOf:Dn,Ie=e?e.toString:Dn,qe=function(t){if(!$t(t))return{};if(ve)return ve(t);Re.prototype=t;t=new Re;return Re.prototype=Dn,t};function Re(){}C.prototype=o.prototype,C.prototype.constructor=C,h.prototype=qe(o.prototype),h.prototype.constructor=h,k.prototype=qe(o.prototype),k.prototype.constructor=k,n.prototype.clear=function(){this.__data__=Ne?Ne(null):{},this.size=0},n.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},n.prototype.get=function(t){var e=this.__data__;if(Ne){var n=e[t];return n===Pn?Dn:n}return le.call(e,t)?e[t]:Dn},n.prototype.has=function(t){var e=this.__data__;return Ne?e[t]!==Dn:le.call(e,t)},n.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ne&&e===Dn?Pn:e,this},r.prototype.clear=function(){this.__data__=[],this.size=0},r.prototype.delete=function(t){var e=this.__data__;return!((t=s(e,t))<0)&&(t==e.length-1?e.pop():be.call(e,t,1),--this.size,!0)},r.prototype.get=function(t){var e=this.__data__;return(t=s(e,t))<0?Dn:e[t][1]},r.prototype.has=function(t){return-1<s(this.__data__,t)},r.prototype.set=function(t,e){var n=this.__data__,i=s(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},a.prototype.clear=function(){this.size=0,this.__data__={hash:new n,map:new(Be||r),string:new n}},a.prototype.delete=function(t){return t=Y(this,t).delete(t),this.size-=t?1:0,t},a.prototype.get=function(t){return Y(this,t).get(t)},a.prototype.has=function(t){return Y(this,t).has(t)},a.prototype.set=function(t,e){var n=Y(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},m.prototype.add=m.prototype.push=function(t){return this.__data__.set(t,Pn),this},m.prototype.has=function(t){return this.__data__.has(t)},v.prototype.clear=function(){this.__data__=new r,this.size=0},v.prototype.delete=function(t){var e=this.__data__,t=e.delete(t);return this.size=e.size,t},v.prototype.get=function(t){return this.__data__.get(t)},v.prototype.has=function(t){return this.__data__.has(t)},v.prototype.set=function(t,e){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!Be||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(t,e),this.size=n.size,this};var We,Ue,Ve,Xe=(We=d,function(t,e){if(null==t)return t;if(!Ct(t))return We(t,e);for(var n=t.length,i=Ue?n:-1,r=Zt(t);(Ue?i--:++i<n)&&!1!==e(r[i],i,r););return t}),Je=function(t,e,n){for(var i=-1,r=Zt(t),o=n(t),a=o.length;a--;){var s=o[Ve?a:++i];if(!1===e(r[s],s,r))break}return t},pe=De?function(t,e){return De.set(t,e),t}:qt,e=Ce?function(t,e){return Ce(t,"toString",{configurable:!0,enumerable:!1,value:It(e),writable:!0})}:qt,Ge=Yt||function(t){return Di.clearTimeout(t)},Qe=De?function(t){return De.get(t)}:Ut,Ye=ke?function(e){return null==e?[]:(e=Zt(e),bn(ke(e),function(t){return ye.call(e,t)}))}:Xt,Ke=ke?function(t){for(var e=[];t;)Cn(e,Ye(t)),t=me(t);return e}:Xt,Ze=w;(te&&Ze(new te(new ArrayBuffer(1)))!=ii||Be&&Ze(new Be)!=Xn||fe&&Ze(fe.resolve())!=Qn||Qt&&Ze(new Qt)!=Kn||Kt&&Ze(new Kt)!=ei)&&(Ze=function(t){var e=w(t),t=e==Gn?t.constructor:Dn,t=t?ct(t):"";if(t)switch(t){case Pe:return ii;case Le:return Xn;case Fe:return Qn;case He:return Kn;case ze:return ei}return e});var tn,en,nn=lt(pe),rn=ae||function(t,e){return Di.setTimeout(t,e)},on=lt(e),an=(en=(tn=wt(tn=function(t){var r=[];return gi.test(t)&&r.push(""),t.replace(mi,function(t,e,n,i){r.push(n?i.replace(_i,"$1"):e||t)}),r},function(t){return 500===en.size&&en.clear(),t})).cache,tn),Qt=P(function(t){var e=_n(t,H);return e.length&&e[0]===t[0]?function(t,e,n){for(var i=n?xn:wn,r=t[0].length,o=t.length,a=o,s=Gt(o),l=1/0,u=[];a--;){var c=t[a];a&&e&&(c=_n(c,$n(e))),l=je(c.length,l),s[a]=!n&&(e||120<=r&&120<=c.length)?new m(a&&c):Dn}var c=t[0],d=-1,f=s[0];t:for(;++d<r&&u.length<l;
1){var p=c[d],h=e?e(p):p,p=n||0!==p?p:0;if(!(f?jn(f,h):i(u,h,n))){for(a=o;--a;){var g=s[a];if(!(g?jn(g,h):i(t[a],h,n)))continue t}f&&f.push(h),u.push(p)}}return u}(e):[]}),Kt=P(ht),pe=P(function(t,e){return kt(t)?function(t,e,n,i){var r=-1,o=wn,a=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=_n(e,$n(n))),i?(o=xn,a=!1):200<=e.length&&(o=jn,a=!1,e=new m(e));t:for(;++r<s;){var c=t[r],d=null==n?c:n(c),c=i||0!==c?c:0;if(a&&d==d){for(var f=u;f--;)if(e[f]===d)continue t;l.push(c)}else o(e,d,i)||l.push(c)}return l}(t,e):[]}),ae=(X(function(e){function t(t){return function(t,e){for(var n=-1,i=e.length,r=Gt(i),o=null==t;++n<i;)r[n]=o?Dn:Lt(t,e[n]);return r}(t,e)}var n=e.length,i=n?e[0]:0,r=this.__wrapped__;return!(1<n||this.__actions__.length)&&r instanceof k&&et(i)?((r=r.slice(i,+i+(n?1:0))).__actions__.push({func:vt,args:[t],thisArg:Dn}),new h(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push(Dn),t})):this.thru(t)}),P(function(t,e){if(null==t)return[];var n=e.length;return 1<n&&nt(t,e[0],e[1])?e=[]:2<n&&nt(e[0],e[1],e[2])&&(e=[e[0]]),D(t,c(e,1),[])})),sn=re||function(){return Di.Date.now()},e=P(function(t,e,n){return function(t,e,n){if("function"!=typeof t)throw new ne(On);return rn(function(){t.apply(Dn,n)},e)}(t,Ot(e)||0,n)});
vendor: 4,269 bytes, line 1
1wt.Cache=a;var ln,un,cn=T(function(){return arguments}())?T:function(t){return jt(t)&&le.call(t,"callee")&&!ye.call(t,"callee")},dn=Gt.isArray,fn=Ee||Jt,pn=Pi?$n(Pi):function(t){return jt(t)&&Tt(t.length)&&!!Ai[w(t)]},hn=(ln=function(t,e,n,i){q(e,zt(e),t,i)},P(function(t,e){var n=-1,i=e.length,r=1<i?e[i-1]:Dn,o=2<i?e[2]:Dn,r=3<ln.length&&"function"==typeof r?(i--,r):Dn;for(o&&nt(e[0],e[1],o)&&(r=i<3?Dn:r,i=1),t=Zt(t);++n<i;){var a=e[n];a&&ln(t,a,n,r)}return t})),re=P(function(t){return t.push(Dn,U),vn(hn,Dn,t)}),Ee=X(function(t,e){return null==t?{}:O(t,e)});return C.assignInWith=hn,C.chain=mt,C.constant=It,C.debounce=bt,C.defaults=re,C.delay=e,C.filter=function(t,e){return(dn(t)?bn:l)(t,Q(e,3))},C.flatten=ft,C.intersection=Qt,C.iteratee=Rt,C.keys=Ht,C.keysIn=zt,C.map=function(t,e){return(dn(t)?_n:N)(t,Q(e,3))},C.memoize=wt,C.mixin=Wt,C.negate=xt,C.pick=Ee,C.property=Vt,C.pull=Kt,C.pullAll=ht,C.reverse=gt,C.sortBy=ae,C.tap=function(t,e){return e(t),t},C.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new ne(On);return $t(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),bt(t,e,{leading:i,maxWait:e,trailing:r})},C.thru=vt,C.toArray=Bt,C.values=Mt,C.without=pe,C.extendWith=hn,Wt(C,C),C.eq=_t,C.forEach=yt,C.get=Lt,C.has=function(t,e){return null!=t&&Z(t,e,x)},C.hasIn=Ft,C.identity=qt,C.indexOf=function(t,e,n){var i=null==t?0:t.length;return i?(n=null==n?0:Dt(n),En(t,e,n=n<0?$e(i+n,0):n)):-1},C.isArguments=cn,C.isArray=dn,C.isArrayLike=Ct,C.isArrayLikeObject=kt,C.isBoolean=function(t){return!0===t||!1===t||jt(t)&&w(t)==qn},C.isBuffer=fn,C.isEmpty=function(t){if(null==t)return!0;if(Ct(t)&&(dn(t)||"string"==typeof t||"function"==typeof t.splice||fn(t)||pn(t)||cn(t)))return!t.length;var e,n=Ze(t);if(n==Xn||n==Kn)return!t.size;if(rt(t))return!A(t).length;for(e in t)if(le.call(t,e))return!1;return!0},C.isFunction=Et,C.isLength=Tt,C.isObject=$t,C.isObjectLike=jt,C.isString=St,C.isSymbol=At,C.isTypedArray=pn,C.isUndefined=function(t){return t===Dn},C.last=pt,C.stubArray=Xt,C.stubFalse=Jt,C.noop=Ut,C.now=sn,C.runInContext=t,C.toFinite=Nt,C.toInteger=Dt,C.toNumber=Ot,C.toString=Pt,C.each=yt,Wt(C,(un={},d(C,function(t,e){le.call(C.prototype,e)||(un[e]=t)}),un),{chain:!1}),C.VERSION="4.17.4",yn(["drop","take"],function(n,i){k.prototype[n]=function(t){t=t===Dn?1:$e(Dt(t),0);var e=this.__filtered__&&!i?new k(this):this.clone();return e.__filtered__?e.__takeCount__=je(t,e.__takeCount__):e.__views__.push({size:je(t,Hn),type:n+(e.__dir__<0?"Right":"")}),e},k.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),yn(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;k.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Q(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),yn(["head","last"],function(t,e){var n="take"+(e?"Right":"");k.prototype[t]=function(){return this[n](1).value()[0]}}),yn(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");k.prototype[t]=function(){return this.__filtered__?new k(this):this[n](1)}}),k.prototype.compact=function(){return this.filter(qt)},k.prototype.find=function(t){return this.filter(t).head()},k.prototype.findLast=function(t){return this.reverse().find(t)},k.prototype.invokeMap=P(function(e,n){return"function"==typeof e?new k(this):this.map(function(t){return E(t,e,n)})}),k.prototype.reject=function(t){return this.filter(xt(Q(t)))},k.prototype.slice=function(t,e){t=Dt(t);var n=this;return n.__filtered__&&(0<t||e<0)?new k(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==Dn?(e=Dt(e))<0?n.dropRight(-e):n.take(e-t):n)},k.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},k.prototype.toArray=function(){return this.take(Hn)},d(k.prototype,function(u,t){var c=/^(?:filter|find|map|reject)|While$/.test(t),d=/^(?:head|last)$/.test(t),f=C[d?"take"+("last"==t?"Right":""):t],p=d||/^find/.test(t);f&&(C.prototype[t]=function(){function t(t){return t=f.apply(C,Cn([t],n)),d&&a?t[0]:t}var e=this.__wrapped__,n=d?[1]:arguments,i=e instanceof k,r=n[0],o=i||dn(e);o&&c&&"function"==typeof r&&1!=r.length&&(i=o=!1);var a=this.__chain__,s=!!this.__actions__.length,r=p&&!a,s=i&&!s;if(p||!o)return r&&s?u.apply(this,n):(l=this.thru(t),r?d?l.value()[0]:l.value():l);
1var e=s?e:new k(this),l=u.apply(e,n);return l.__actions__.push({func:vt,args:[t],thisArg:Dn}),new h(l,a)})}),yn(["pop","push","shift","sort","splice","unshift"],function(t){var n=ie[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);C.prototype[t]=function(){var e=arguments;if(!r||this.__chain__)return this[i](function(t){return n.apply(dn(t)?t:[],e)});var t=this.value();return n.apply(dn(t)?t:[],e)}}),d(k.prototype,function(t,e){var n,i=C[e];i&&(n=i.name+"",(Oe[n]||(Oe[n]=[])).push({name:e,func:i}))}),Oe[W(Dn,2).name]=[{name:"wrapper",func:Dn}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=I(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=I(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=I(this.__views__),t},k.prototype.reverse=function(){var t;return this.__filtered__?((t=new k(this)).__dir__=-1,t.__filtered__=!0):(t=this.clone()).__dir__*=-1,t},k.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=dn(t),i=e<0,r=n?t.length:0,o=function(t,e,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=je(e,t+a);break;case"takeRight":t=$e(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=(o=o.end)-a,l=i?o:a-1,u=this.__iteratees__,c=u.length,d=0,f=je(s,this.__takeCount__);if(!n||!i&&r==s&&f==s)return F(t,this.__actions__);var p=[];t:for(;s--&&d<f;){for(var h=-1,g=t[l+=e];++h<c;){var m=u[h],v=m.iteratee,m=m.type,v=v(g);if(2==m)g=v;else if(!v){if(1==m)continue t;break t}}p[d++]=g}return p},C.prototype.chain=function(){return mt(this)},C.prototype.commit=function(){return new h(this.value(),this.__chain__)},C.prototype.next=function(){this.__values__===Dn&&(this.__values__=Bt(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?Dn:this.__values__[this.__index__++]}},C.prototype.plant=function(t){for(var e,n=this;n instanceof o;){var i=dt(n);i.__index__=0,i.__values__=Dn,e?r.__wrapped__=i:e=i;var r=i,n=n.__wrapped__}return r.__wrapped__=t,e},C.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof k){t=t;return(t=(t=this.__actions__.length?new k(this):t).reverse()).__actions__.push({func:vt,args:[gt],thisArg:Dn}),new h(t,this.__chain__)}return this.thru(gt)},C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=function(){return F(this.__wrapped__,this.__actions__)},C.prototype.first=C.prototype.head,xe&&(C.prototype[xe]=function(){return this}),C},Li=t();(Li=n._=t()).pluck=Li.map,n.each(Li,function(t,e){Object.hasOwnProperty.call(Li,t)&&!/VERSION/.test(name)&&(n[t]||(n[t]=e))})}),FD50.plugin("bootstrap",function(r){var i,t=r;function e(t,e){var n;return this.$element=i(t),this.$note=i('<div class="alert"></div>'),this.options=i.extend(!0,i.fn.notify.defaults,e),this.options.transition?("fade"==this.options.transition?this.$note.addClass("in"):this.$note).addClass(this.options.transition):this.$note.addClass("fade").addClass("in"),this.options.type?this.$note.addClass("alert-"+this.options.type):this.$note.addClass("alert-success"),this.options.message||""===this.$element.data("message")?"object"==typeof this.options.message&&(this.options.message.html?this.$note.html(this.options.message.html):this.options.message.text?this.$note.text(this.options.message.text):this.$note.html(this.options.message)):this.$note.html(this.$element.data("message")),this.options.closable&&(n=i('<a class="close pull-right" href="javascript: void(0);">×</a>')),i(n).on("click",i.proxy(onClose,this)),this.$note.prepend(n),this}!function(i){"use strict";i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;i(this).one(i.support.transition.end,function(){e=!0});return setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.support.transition=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return{end:n[t]}}()})}(t),function(o){"use strict";function i(t){o(t).on("click",e,this.close)}var e='[data-bp-dismiss="alert"]';i.prototype.close=function(t){function e(){r.trigger("closed.bs.alert").remove()}var n=o(this),i=(i=n.attr("data-target"))||(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""),r=o(i);t&&t.preventDefault(),(r=!r.length?n.hasClass("alert")?n:n.parent():r).trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(r.removeClass("in"),o.support.transition&&r.hasClass("fade")?r.one(o.support.transition.end,e).emulateTransitionEnd(150):e())};var t=o.fn.alert;o.fn.alert=function(n){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new i(this)),"string"==typeof n&&e[n].call(t)})},o.fn.alert.Constructor=i,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,i.prototype.close)}(t),function(i){"use strict";function r(t,e){this.$element=i(t),this.options=i.extend({},r.DEFAULTS,e)}r.DEFAULTS={loadingText:"loading..."},r.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.is("input")?"val":"html",r=n.data();t+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[t]||this.options[t]),setTimeout(function(){"loadingText"==t?n.addClass(e).attr(e,e):n.removeClass(e).removeAttr(e)},0)},r.prototype.toggle=function(){var t,e=this.$element.closest('[data-bp-toggle="buttons"]'),n=!0;e.length&&("radio"===(t=this.$element.find("input")).prop("type")&&(t.prop("checked")&&this.$element.hasClass("active")?n=!1:e.find(".active").removeClass("active")),n&&t.prop("checked",!this.$element.hasClass("active")).trigger("change")),n&&this.$element.toggleClass("active")};var t=i.fn.button;i.fn.button=function(n){return this.each(function(){var t=i(this),e=t.data("bs.button");e||t.data("bs.button",e=new r(this,"object"==typeof n&&n)),"toggle"==n?e.toggle(
1):n&&e.setState(n)})},i.fn.button.Constructor=r,i.fn.button.noConflict=function(){return i.fn.button=t,this},i(document).on("click.bs.button.data-api","[data-bp-toggle^=button]",function(t){var e=i(t.target);(e=!e.hasClass("btn")?e.closest(".btn"):e).button("toggle"),t.preventDefault()})}(t),function(s){"use strict";function o(t,e){this.$element=s(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",s.proxy(this.pause,this)).on("mouseleave",s.proxy(this.cycle,this))}o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},o.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(s.proxy(this.next,this),this.options.interval)),this},o.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},o.prototype.to=function(t){var e=this,n=this.getActiveIndex();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(n<t?"next":"prev",s(this.$items[t]))},o.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&s.support.transition.end&&(this.$element.trigger(s.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},o.prototype.next=function(){if(!this.sliding)return this.slide("next")},o.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},o.prototype.slide=function(t,e){var n=this.$element.find(".item.active"),i=e||n[t](),r=this.interval,o="next"==t?"left":"right",e="next"==t?"first":"last",a=this;if(!i.length){if(!this.options.wrap)return;i=this.$element.find(".item")[e]()}this.sliding=!0,r&&this.pause();e=s.Event("slide.bs.carousel",{relatedTarget:i[0],direction:o});if(!i.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var t=s(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")})),s.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(e),e.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,n.addClass(o),i.addClass(o),n.one(s.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(e),e.isDefaultPrevented())return;n.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return r&&this.cycle(),this}};var t=s.fn.carousel;s.fn.carousel=function(r){return this.each(function(){var t=s(this),e=t.data("bs.carousel"),n=s.extend({},o.DEFAULTS,t.data(),"object"==typeof r&&r),i="string"==typeof r?r:n.slide;e||t.data("bs.carousel",e=new o(this,n)),"number"==typeof r?e.to(r):i?e[i]():n.interval&&e.pause().cycle()})},s.fn.carousel.Constructor=o,s.fn.carousel.noConflict=function(){return s.fn.carousel=t,this},s(document).on("click.bs.carousel.data-api","[data-bp-slide], [data-bp-slide-to]",function(t){var e,n=s(this),i=s(n.attr("data-target")||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")),r=s.extend({},i.data(),n.data());(e=n.attr("data-bp-slide-to"))&&(r.interval=!1),i.carousel(r),(e=n.attr("data-bp-slide-to"))&&i.data("bs.carousel").to(e),t.preventDefault()}),s(window).on("load",function(){s('[data-bp-ride="carousel"]').each(function(){var t=s(this);t.carousel(t.data())})})}(t),function(a){"use strict";function r(t,e){this.$element=a(t),this.options=a.extend({},r.DEFAULTS,e),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()}r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=a.Event("show.bs.collapse");if(this.$element.triggerHandler(t),!t.isDefaultPrevented()){t=this.$parent&&this.$parent.find("> .panel > .in");if(t&&t.length){var e=t.data("bs.collapse");if(e&&e.transitioning)return;t.collapse("hide"),e||t.data("bs.collapse",null)}var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0),this.transitioning=1;e=function(){this.$element.removeClass("collapsing").addClass("in")[n]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return e.call(this);
1t=a.camelCase(["scroll",n].join("-"));this.$element.one(a.support.transition.end,a.proxy(e,this)).emulateTransitionEnd(350)[n](this.$element[0][t])}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.triggerHandler(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;t=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};if(!a.support.transition)return t.call(this);this.$element[e](0).one(a.support.transition.end,a.proxy(t,this)).emulateTransitionEnd(350)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=a.fn.collapse;a.fn.collapse=function(i){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),n=a.extend({},r.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.collapse",e=new r(this,n)),"string"==typeof i&&e[i]()})},a.fn.collapse.Constructor=r,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api","[data-eb-toggle=collapse]",function(t){var e=a(this),n=e.attr("data-target")||t.preventDefault()||(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""),i=a(n),r=i.data("bs.collapse"),t=r?"toggle":e.data(),o=e.attr("data-parent"),n=o&&a(o);r&&r.transitioning||(n&&n.find('[data-eb-toggle=collapse][data-parent="'+o+'"]').not(e).addClass("collapsed"),e[i.hasClass("in")?"addClass":"removeClass"]("collapsed")),i.collapse(t)})}(t),function(r){"use strict";function o(){(!window["Foundry/Bootstrap"]||0<r(t).length)&&r(t).remove(),r(s).each(function(t){var e=a(r(this));e.hasClass("open")&&(e.triggerHandler(t=r.Event("hide.bs.dropdown")),t.isDefaultPrevented()||e.removeClass("open").trigger("hidden.bs.dropdown"))})}function a(t){var e=t.attr("data-target"),e=(e=e||(e=t.attr("href"))&&/#/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))&&r(e);return e&&e.length?e:t.parent()}function i(t){r(t).on("click.bs.dropdown",this.toggle)}var t=".dropdown-backdrop",s="[data-bp-toggle=dropdown]";i.prototype.toggle=function(t){var e=r(this);if(!e.is(".disabled, :disabled")){var n=a(e),i=n.hasClass("open");if(o(),!i){if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&r('<div class="dropdown-backdrop"/>').insertAfter(r(this)).on("click",o),n.triggerHandler(t=r.Event("show.bs.dropdown")),t.isDefaultPrevented())return;n.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},i.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var e=r(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=a(e),i=n.hasClass("open");if(!i||27==t.keyCode)return 27==t.which&&n.find(s).focus(),e.click();e=r("[role=menu] li:not(.divider):visible a",n);e.length&&(n=e.index(e.filter(":focus")),38==t.keyCode&&0<n&&n--,40==t.keyCode&&n<e.length-1&&n++,e.eq(n=!~n?0:n).focus())}}};var e=r.fn.dropdown;r.fn.dropdown=function(n){return this.each(function(){var t=r(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},r.fn.dropdown.Constructor=i,r.fn.dropdown.noConflict=function(){return r.fn.dropdown=e,this},r(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown_ form, .dropdown-static",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,i.prototype.toggle).on("keydown.bs.dropdown.data-api",s+", [role=menu]",i.prototype.keydown)}(t),function(o){"use strict";function a(t,e){this.options=e,this.$element=o(t),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)}a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(t){return this[this.isShown?"hide":"show"](t)},a.prototype.show=function(n){var i=this,t=o.Event("show.bs.modal",{relatedTarget:n});this.$element.triggerHandler(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-bp-dismiss="modal"]',o.proxy(this.hide,this)),this.backdrop(function(){var t=o.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(document.body),i.$element.show(),t&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var e=o.Event("shown.bs.modal",{relatedTarget:n});
1t?i.$element.find(".modal-dialog").one(o.support.transition.end,function(){i.$element.focus().trigger(e)}).emulateTransitionEnd(300):i.$element.focus().trigger(e)}))},a.prototype.hide=function(t){t&&t.preventDefault(),t=o.Event("hide.bs.modal"),this.$element.triggerHandler(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),o(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one(o.support.transition.end,o.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},a.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",o.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},a.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(t){var e,n=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=o.support.transition&&n,this.$backdrop=o('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",o.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one(o.support.transition.end,t).emulateTransitionEnd(150):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(o.support.transition.end,t).emulateTransitionEnd(150):t()):t&&t()};var t=o.fn.modal;o.fn.modal=function(i,r){return this.each(function(){var t=o(this),e=t.data("bs.modal"),n=o.extend({},a.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new a(this,n)),"string"==typeof i?e[i](r):n.show&&e.show(r)})},o.fn.modal.Constructor=a,o.fn.modal.noConflict=function(){return o.fn.modal=t,this},o(document).on("click.bs.modal.data-api",'[data-bp-toggle="modal"]',function(t){var e=o(this),n=e.attr("href"),i=o(e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),n=i.data("modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},i.data(),e.data());t.preventDefault(),i.modal(n,this).one("hide",function(){e.is(":visible")&&e.focus()})}),o(document).on("show.bs.modal",".modal.bs",function(){o(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal.bs",function(){o(document.body).removeClass("modal-open")})}(t),function(c){"use strict";function i(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)}i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},i.prototype.init=function(t,e,n){this.enabled=!0,this.type=t,this.$element=c(e),this.options=this.getOptions(n);for(var i=this.options.trigger.split(" "),r=i.length;r--;){var o,a=i[r];"click"==a?this.$element.on("click."+this.type,this.options.selector,c.proxy(this.toggle,this)):"manual"!=a&&(o="hover"==a?"mouseleave":"blur",this.$element.on(("hover"==a?"mouseenter":"focus")+"."+this.type,this.options.selector,c.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,c.proxy(this.leave,this)))}this.options.selector?this._options=c.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(t){return(t=c.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},i.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&c.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},i.prototype.enter=function(t){var e=t instanceof this.constructor?t:c(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()}
1,e.options.delay.show)},i.prototype.leave=function(t){var e=t instanceof this.constructor?t:c(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)},i.prototype.show=function(){var t,e,n,i,r,o,a,s,l,u=c.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.triggerHandler(u),u.isDefaultPrevented()||(t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,(o=(r=/\s?auto?\s?/i).test(s))&&(s=s.replace(r,"")||"top"),t.detach().css({top:0,left:0,display:"block"}).addClass(s.split("-")[0]),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),e=this.getPosition(),n=t[0].offsetWidth,l=t[0].offsetHeight,o&&(a=this.$element.parent(),i=s,u=document.documentElement.scrollTop||document.body.scrollTop,r="body"==this.options.container?window.innerWidth:a.outerWidth(),o="body"==this.options.container?window.innerHeight:a.outerHeight(),a="body"==this.options.container?0:a.offset().left,s="bottom"==s&&e.top+e.height+l-u>o?"top":"top"==s&&e.top-u-l<0?"bottom":"right"==s&&e.right+n>r?"left":"left"==s&&e.left-n<a?"right":s,t.removeClass(i).addClass(s)),l=this.getCalculatedOffset(s,e,n,l),this.applyPlacement(l,s),this.$element.trigger("shown.bs."+this.type)))},i.prototype.applyPlacement=function(t,e){var n,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),t.top=t.top+a,t.left=t.left+s,i.offset(t).addClass("in");var l=i[0].offsetWidth,a=i[0].offsetHeight;"top"==e&&a!=o&&(n=!0,t.top=t.top+o-a),0===["top","bottom"].indexOf(e.split("-")[0])&&(t.left<(s=0)&&(s=-2*t.left,t.left=0,i.offset(t),l=i[0].offsetWidth,a=i[0].offsetHeight),this.replaceArrow(s-r+l,l,"left")),0===["left","right"].indexOf(e.split("-")[0])&&this.replaceArrow(a-o,a,"top"),n&&i.offset(t)},i.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},i.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")},i.prototype.hide=function(){function t(){"in"!=e.hoverState&&n.detach()}var e=this,n=this.tip(),i=c.Event("hide.bs."+this.type);if(this.$element.triggerHandler(i),!i.isDefaultPrevented())return n.removeClass("in"),c.support.transition&&this.$tip.hasClass("fade")?n.one(c.support.transition.end,t).emulateTransitionEnd(150):t(),this.$element.trigger("hidden.bs."+this.type),this},i.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","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(){var t=this.$element[0];return c.extend({},"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},i.prototype.getCalculatedOffset=function(t,e,n,i){return"left-top"==t?{top:e.top,left:e.left-n}:"left-bottom"==t?{top:e.top+e.height-i,left:e.left-n}:"right-top"==t?{top:e.top,left:e.left+e.width}:"right-bottom"==t?{top:e.top+e.height-i,left:e.left+e.width}:"top-left"==t?{top:e.top-i,left:e.left}:"top-right"==t?{top:e.top-i,left:e.left+e.width-n}:"bottom-left"==t?{top:e.top+e.height,left:e.left}:"bottom-right"==t?{top:e.top+e.height,left:e.left+e.width-n}:"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}},i.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)},i.prototype.tip=function(){return this.$tip=this.$tip||c(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(t){t=t?c(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;t.tip().hasClass("in")?t.leave(t):t.enter(t)},i.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var t=c.fn.tooltip;c.fn.tooltip=function(n){return this.each(function(){var t=c(this),e=t.data("bs.tooltip");e||t.data("bs.tooltip",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},c.fn.tooltip.Constructor=i,c.fn.tooltip.noConflict=function(){return c.fn.tooltip=t,this}}(t),function(i){"use strict";function r(t,e){this.init("popover",t,e)}if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");r.DEFAULTS=i.extend({},i.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div id="eb" class="eb-popover"><div class="arrow"></div><h3 class="eb-popover-title"></h3><div class="eb-popover-content"></div></div>'}),r.prototype=i.extend({},i.fn.tooltip.Constructor.prototype),(r.prototype.constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".eb-popover-title")[this.options.html?"html":"text"](e),t.find(".eb-popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".eb-popover-title").html()||t.find(".eb-popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.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)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},r.prototype.tip=function(){return this.$tip||(this.$tip=i(this.options.template)),this.$tip};var t=i.fn.popover;i.fn.popover=function(n){return this.each(function(){var t=i(this),e=t.data("bs.popover");e||t.data("bs.popover",e=new r(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},i.fn.popover.Constructor=r,i.fn.popover.noConflict=function(){return i.fn.popover=t,this}}(t),function(a){"use strict";function i(t){this.element=a(t)}i.prototype.show=function(){var t,e,n=this.element,i=n.closest("ul:not(.dropdown-menu)"),r=(r=n.data("target"))||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"");n.parent("li").hasClass("active")||(t=i.find(".active:last a")[0],e=a.Event("show.bs.tab",{relatedTarget:t}),n.triggerHandler(e),e.isDefaultPrevented()||(r=a(r),this.activate(n.parent("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"shown.bs.tab",relatedTarget:t})})))},i.prototype.activate=function(t,e,n){function i(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),n&&n()}
1var r=e.find("> .active"),o=n&&a.support.transition&&r.hasClass("fade");o?r.one(a.support.transition.end,i).emulateTransitionEnd(150):i(),r.removeClass("in")};var t=a.fn.tab;a.fn.tab=function(n){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new i(this)),"string"==typeof n&&e[n]()})},a.fn.tab.Constructor=i,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-bp-toggle="tab"], [data-bp-toggle="pill"]',function(t){t.preventDefault(),a(this).tab("show")})}(t),r(document).on("click.button.data-bp-api","[data-bp-toggle-value]",function(){var t=r(this),e=(t.siblings("[data-bp-toggle-value]"),t.parents('[data-bp-toggle="radio-buttons"]'));e.hasClass("disabled")||0<e.length&&(t=t.data("bp-toggle-value"),e.find("input[type=hidden]").val(t).trigger("change"))}),r(document).on("change.data-bp-input",'[data-bp-toggle="radio-buttons"] input[type=hidden]',function(){var t=r(this),e=t.siblings("[data-bp-toggle-value]");t.val();e.removeClass("active").filter('[data-bp-toggle-value="'+t.val()+'"]').addClass("active")}),r(document).on("mouseover.tooltip.data-eb-api","[data-eb-provide=tooltip]",function(t){var e=r(this),n=e.parents("#eb").is(".w320, .w480"),i=void 0!==e.data("html")&&e.data("html");n||e.tooltip({delay:{show:200,hide:100},html:i,animation:!1,template:'<div id="eb" class="eb tooltip tooltip-eb"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',container:"body"}).tooltip("show")}),r(document).on("mouseover.popover.data-eb-api","[data-eb-provide=popover]",function(){r(this).popover({delay:{show:200,hide:100},animation:!1,trigger:"hover",container:"body"}).popover("show")}),i=r,onClose=function(){this.options.onClose(),i(this.$note).remove(),this.options.onClosed()},e.prototype.show=function(){this.options.fadeOut.enabled&&this.$note.delay(this.options.fadeOut.delay||3e3).fadeOut("slow",i.proxy(onClose,this)),this.$element.append(this.$note),this.$note.alert()},e.prototype.hide=function(){this.options.fadeOut.enabled?this.$note.delay(this.options.fadeOut.delay||3e3).fadeOut("slow",i.proxy(onClose,this)):onClose.call(this)},i.fn.notify=function(t){return new e(this,t)},i.fn.notify.defaults={type:"success",closable:!0,transition:"fade",fadeOut:{enabled:!0,delay:3e3},message:null,onClose:function(){},onClosed:function(){}}}),FD50.plugin("utils",function(c){function e(t){this.items=t,this.start=0,this.end=t.length-1,this.node=null,this.stopped=!1}function n(){this.lastId=0}var r,o,i,a,s,l;function u(t){this.threads=[],this.threadCount=0,this.threadLimit=t.threadLimit||1,this.threadDelay=t.threadDelay||0}function d(t){return{r:(t=parseInt(-1<t.indexOf("#")?t.substring(1):t,16))>>16,g:(65280&t)>>8,b:255&t}}function f(t){var e={h:0,s:0,b:0},n=Math.min(t.r,t.g,t.b),i=Math.max(t.r,t.g,t.b),n=i-n;return e.b=i,e.s=0!=i?255*n/i:0,0!=e.s?(t.r==i?e.h=(t.g-t.b)/n:t.g==i?e.h=2+(t.b-t.r)/n:e.h=4+(t.r-t.g)/n,e.h*=60):e.h=360,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e}function p(t){var e={},n=t.h,i=255*t.s/100,r=255*t.b/100;return 0==i?e.r=e.g=e.b=r:(r=n%60*((t=r)-(i=(255-i)*r/255))/60,(n=360==n?0:n)<60?(e.r=t,e.b=i,e.g=i+r):n<120?(e.g=t,e.b=i,e.r=t-r):n<180?(e.g=t,e.r=i,e.b=i+r):n<240?(e.b=t,e.r=i,e.g=t-r):n<300?(e.b=t,e.g=i,e.r=i+r):n<360?(e.r=t,e.g=i,e.b=t-r):(e.r=0,e.g=0,e.b=0)),{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}}function h(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return c.each(n,function(t,e){1==e.length&&(n[t]="0"+e)}),n.join("")}function g(t){return t.split(".")[0]}function m(t){this.fnList={},this.events={},this.mode=t}c.extend(e.prototype,{isLooping:function(){return!this.stopped&&(1<Math.abs(this.start-this.end)&&(this.node=Math.floor((this.start+this.end)/2),!0))},flip:function(t){t?this.end=this.node-1:this.start=this.node+1},stop:function(){this.stop=!0}}),c.Bloop=function(t){return new e(t)},r=c.isFunction,n.prototype.queue=function(e){var n=this,i=c.uid();return n.lastId=i,function(){if(n.lastId===i){var t=arguments,t=r(e)?e.apply(this,t):t;return r(n.fn)?n.fn.apply(this,t):t}}},c.Enqueue=function(t){var e=new n;r(t)&&(e.fn=t);t=c.proxy(e.queue,e);return t.reset=function(){e.lastId=0},t},o={error:"error",warning:"warn",success:"log",info:"info"},c.Exception=function(t){var e=arguments,n=1==e.length,i=3==e.length;return t=c.isPlainObject(t)?t:{type:n?"error":e[0],message:n?e[0]:e[1]},i&&c.extend(t,e[2]),"development"==c.environment&&console[o[t.type]](t.message,t),t},c.IE=function(){var t=navigator.userAgent;if(t.match(/MSIE 9/))return 9;if(t.match(/MSIE 10/))return 10;
1if(t.match(/rv:11/i))return 11;for(var e=3,n=document.createElement("div"),i=n.getElementsByTagName("i");n.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",i[0];);return 4<e?e:void 0}(),c.Task=function(t){var e=c.extend(c.Deferred(),{data:{},list:[],add:function(t){t=c.extend(c.Deferred(),{name:t,item:void 0});return e.list.push(t),t},process:function(){return e._promise||(e._promise=c.when.apply(c,e.list).then(e.resolve,e.reject,e.progress)),e}},t);return e},c.extend(u.prototype,{add:function(t,e){c.isFunction(t)&&(t.type=e||"normal","deferred"==e&&(t.deferred=c.Deferred().always(c.proxy(this.next,this))),this.threads.push(t),this.run())},addDeferred:function(t){return this.add(t,"deferred")},next:function(){this.threadCount--,this.run()},run:function(){var e=this;setTimeout(function(){if(!(e.threads.length<1)&&e.threadCount<e.threadLimit){e.threadCount++;var t=e.threads.shift();try{t.call(t,t.deferred)}catch(t){console.error(t)}t.deferred||e.next()}},e.threadDelay)}}),c.Threads=function(t){return new u(t)},c.callback=function(t,e){if(c.isFunction(t)){var n=c.uid("cb");return window[n]=function(){return e||delete window[n],t.apply(null,arguments)},n}c.isString(t)&&"destroy"===t&&(n=e,delete window[n])},c.fn.switchClass=function(n,t){var t=t||"-",i=n.split(t)[0]+t,r=i.length;return this.each(function(){var t=c(this),e=c.map((t.attr("class")||"").split(" "),function(t){return t.slice(0,r)==i||""==t?null:t});e.push(n),t.attr("class",e.join(" "))})},c.fn.activateClass=function(t){return this.prevObject.removeClass(t),c(this).addClass(t)},c.fn.loading=function(){var t=this.attr("class"),e=this.data("loader");this.data("loading",!0),this.data("original",t),this.attr("class",e)},c.fn.doneLoading=function(){var t=this.data("original");this.attr("class",t),this.data("loading",!1)},c.fn.toggleLoading=function(){this.data("loading")||!1?this.doneLoading():this.loading()},c.fn.activateClass=function(t){return this.prevObject.removeClass(t),c(this).addClass(t)},c.extend(c,{hexToRgb:d,hexToHsb:function(t){return f(d(t))},rgbToHsb:f,hsbToRgb:p,rgbToHex:h,hsbToHex:function(t){return h(p(t))},fixHsb:function(t){return{h:Math.min(360,Math.max(0,t.h)),s:Math.min(100,Math.max(0,t.s)),b:Math.min(100,Math.max(0,t.b))}},fixRgb:function(t){return{r:Math.min(255,Math.max(0,t.r)),g:Math.min(255,Math.max(0,t.g)),b:Math.min(255,Math.max(0,t.b))}},fixHex:function(t){var e=6-t.length;if(3==e)for(var n,i=t.split(""),t="";n=i.shift();)t+=n+n;else for(;e--;)t="0"+t;return t.replace(/[^A-Fa-f0-9]/g,"0"),t}}),c.fn.htmlData=function(t,o){var a,o=void 0===o||o,s=new RegExp("^data-"+(t?t+"-":"")+"(.*)","i"),l={};return c.each(this[0].attributes,function(t,e){if(e.specified&&(a=e.name.match(s))&&a[1])if(o){var n,i=a[1].split("-"),r=l;for(max=i.length-1,t=0;t<=max;t++)n=i[t],t==max?r[n]=e.value:(r[n]||(r[n]={}),r=r[n])}else l[a[1]]=e.value}),l},c.fn.defineData=function(t,e){return void 0===this.data(t)&&this.data(t,e),this},c.deletes=function(n,t){c.each(t,function(t,e){delete n[e]})},c.fn.disabled=function(t){return void 0===t?this.is(":disabled")||this.hasClass("disabled"):this.prop("disabled",!!t).toggleClass("disabled",!!t)},c.fn.enabled=function(t){return void 0===t?!this.disabled():this.disabled(!t)},c.fn.tagName=function(){return(this[0]||{}).tagName},c.create=function(t){return c(document.createElement(t))},c.fn.editable=function(t){return c.isUndefined(t)?"true"===this.prop("contenteditable"):(this.prop("contenteditable",t),!1===t&&this.removeAttr("contenteditable"),this)},c.ns=function(t,e){return t.split(" ").join(e+" ")+e},c.getPointerPosition=function(t){return t.type.match("touch")?{x:t.originalEvent.changedTouches[0].pageX,y:t.originalEvent.changedTouches[0].pageY}:{x:t.pageX,y:t.pageY}},i="___eventable",a=["on","off","fire"],c.extend(m.prototype,{createEvent:function(t){return this.events[t]=c.Callbacks(this.mode)},on:function(t,e){if(!t||!c.isFunction(e))return this;var n=this.fnList;(n[t]||(n[t]=[])).push(e);t=g(t);return(this.events[t]||this.createEvent(t)).add(e),this},off:function(t){if(!t)return this;var n=g(t),i=this.events[n];if(!i)return this;function r(t){c.each(t,function(t,e){i.remove(e)})}return n!==t?c.each(this.fnList,function(t,e){-1<t.indexOf(n)&&r(e)}):r(this.fnList[t]),this},fire:function(t){var e=this.events[t];if(e)return e.fire.apply(e,c.makeArray(arguments).slice(1)),this},destroy:function(){for(name in this.events)this.events[name].disable()}}),c.eventable=function(t,e){var n=t[i];return n&&"destroy"===e?(n.destroy(),c.deletes(t,a),delete t[i]):(n=t[i]=new m(e),t.on=c.proxy(n.on,n),t.off=c.proxy(n.off,n),t.fire=c.proxy(n.fire,n),t)},c.fn.checked=function(n,i){return arguments.length<1?this.is(":checked"):(this.each(function(t){var e=c(this);"boolean"!=typeof n?(e.is("input[type=checkbox]")||e.is("input[type=radio]"))&&e.off("change.checked").on("change.checked",function(){try{return(e.is(":checked")?n:i).apply(e)}catch(t){}}):e.attr("checked",n).trigger("change")}),this)},c.fn.locate=function(t){var n="data";return c.each(this[0].attributes,function(t,e){if(e.specified&&"$"===e.value)return n=e.name,!1}),this.find("["+n+"-"+t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()+"]")},s=["overflow","overflow-x","overflow-y"],c.fn.noscroll=function(t){return void 0===t&&(t=!0),this.each(function(){var n=c(this),i=n.data("noscroll");!i&&t&&(i={},c.each(s,function(t,e){i[e]=n.css(e)}),n.data("noscroll",i)),t?c.each(s,function(t,e){n.css(e,"hidden")}):i&&n.css(i)})},c.fn.visible=function(t){var e=c(this),n=c(window);if(!(e.length<1)){var i=n.scrollTop(),r=i+n.height(),n=e.offset().top,e=n+e.height();return(!0===t?n:e)<=r&&i<=(!0===t?e:n)}},c.fn.where=c.fn.filterBy=function(t,e,n){n=n||"=",e="[data-"+t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()+n+e+"]";return this.filter(e)},c.fn.checked=function(n,i){return arguments.length<1?this.is(":checked"):(this.each(function(t){var e=c(this);"boolean"!=typeof n?(e.is("input[type=checkbox]")||e.is("input[type=radio]"))&&e.off("change.checked").on("change.checked",function(){try{return(e.is(":checked")?n:i).apply(e)}catch(t){}}):e.attr("checked",n).trigger("change")}),this)},c.fn.selectAll=function(){return this.each(function(){this.select()})},c.fn.unselect=function(){return this.each(function(){var t=this.value;this.value+=" ",this.value=t})},c.fn.toObject=c.fn.serializeObject=function(){var n={};return c.each(c(this).serializeArray(),function(t,e){n.hasOwnProperty(e.name)?(c.isArray(n[e.name])||(n[e.name]=[n[e.name]]),n[e.name].push(e.value)):n[e.name]=e.value}),n},c.fn.toJSON=c.fn.serializeJSON=function(){return JSON.stringify(c(this).serializeObject())},c.sanitizeHTML=function(t){return c(c.parseHTML(t,document,!0)).toHTML()},c.toHTML=function(t){return c("<div>").html(t).html()},c.fn.toHTML=function(){return c.toHTML(this.clone())},c.toXHTML=function(t,e){var n=t.innerHTML?String(t.innerHTML):t,i=n.match(/(<.+[^>])/g);if(i)for(var r=0;r<i.length;r+=1){var o,a=i[r];if(i[r]=i[r].replace(/([<|<\/].+?\w+).+[^>]/,function(t){return t}
1),o=i[r].match(/\=[a-zA-Z\.\:\[\]_\(\)\&\$\%#\@\!0-9\/]+[?\s+|?>]/g))for(var s=0,l=o.length;s<l;)i[r]=i[r].replace(o[s],o[s].replace(/(\=)([a-zA-Z\.\:\[\]_\(\)\&\$\%#\@\!0-9\/]+)?([\s+|?>])/g,function(){var t=Array.prototype.slice.call(arguments);return'="'+(e?t[2]:t[2].toLowerCase())+'"'+t[3]})),s+=1;n=n.replace(a,i[r])}return n},c.fn.xhtml=function(){return c.IE?c.toXHTML(this[0]):this.html()},c.buildHTML=function(t,e){if(t instanceof c)return t;var n,i=document;window.CloudFlare&&((n=c.buildHTML.iframe)&&n.contentDocument||((n=c.buildHTML.iframe=document.createElement("iframe")).style.display="none",document.body.appendChild(n)),i=n.contentDocument);var t=c.trim(t),r=[],t=c.buildFragment([t],i,r),o=c.merge([],t.childNodes);if(!e&&0<r.length){var a=i.createElement("script");a.text="try{"+c.callback(function(){c(r).remove()})+"();}catch(e){}";for(var s,l,u=o.length-1;(s=o[u--])&&("SCRIPT"===s.nodeName?l=o.push(a):1===s.nodeType&&(l=s.appendChild(a)),!l););l||o.push(a),r.push(a)}return c(o)},c.isDeferred=function(t){return t&&c.isFunction(t.always)},c.isNumeric=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},c.regExpEscape=function(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},(l=c.Ajax=function(t){t.autostart=!1;var e=c.ajax(t);return"function"==typeof e.send&&l.queue.addDeferred(function(t){e.send(),setTimeout(t.resolve,l.interval)}),e}).queue=c.Threads({threadLimit:1}),l.interval=1200,l.interval=0,c.cssUrl=function(t){return'url("'+encodeURI(t)+'")'},function(){c.fn.addTransitoryClass=function(t,e){var n=this.addClass(t);return setTimeout(function(){n.removeClass(t)},e||1),this};function n(t,e,n){var i=this;return setTimeout(function(){i[t+"Class"](e)},n||50),this}c.fn.addClassAfter=function(t,e){return n.call(this,"add",t,e)},c.fn.removeClassAfter=function(t,e){return n.call(this,"remove",t,e)};function i(t,e,n,i){var r=t?"-in":"-out";return this.addTransitoryClass(e.replace(/ /g,r+" ")+r,n||1e3)[(t?"add":"remove")+"ClassAfter"](e),i&&setTimeout(i,n),this}c.fn.addTransitionClass=function(t,e,n){return i.call(this,!0,t,e,n)},c.fn.removeTransitionClass=function(t,e,n){return i.call(this,!1,t,e,n)}}()}),FD50.plugin("uri",function(t){t.isUrl=function(t){return/^(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(t)};function h(t){"use strict";function s(t){return t=(t=decodeURIComponent(t)).replace("+"," ")}function a(t,e){for(var n,i,r,o=[],a=0;a<u.length;a++)n=u[a],i=s(n[0])===s(t),r=s(n[1])===s(e),(1!==arguments.length||i)&&(2!==arguments.length||i||r)||o.push(n);return u=o,this}function l(t,e,n){return 3===arguments.length&&-1!==n?(n=Math.min(n,u.length),u.splice(n,0,[t,e])):0<arguments.length&&u.push([t,e]),this}var u=function(t){var e,n,i,r,o,a=[];if(null==t||""===t)return a;for(n=(t=0===t.indexOf("?")?t.substring(1):t).toString().split(/[&;]/),e=0;e<n.length;e++)r=(o=(i=n[e]).split("="))[0],o=-1===i.indexOf("=")?null:null===o[1]?"":o[1],a.push([r,o]);return a}(t);return{getParamValue:function(t){for(var e,n=0;n<u.length;n++)if(e=u[n],s(t)===s(e[0]))return e[1]},getParamValues:function(t){for(var e,n=[],i=0;i<u.length;i++)e=u[i],s(t)===s(e[0])&&n.push(e[1]);return n},deleteParam:a,addParam:l,replaceParam:function(t,e,n){var i,r,o=-1;if(3===arguments.length){for(i=0;i<u.length;i++)if(r=u[i],s(r[0])===s(t)&&decodeURIComponent(r[1])===s(n)){o=i;break}a(t,n).addParam(t,e,o)}else{for(i=0;i<u.length;i++)if(r=u[i],s(r[0])===s(t)){o=i;break}a(t),l(t,e,o)}return this},toString:function(){for(var t,e="",n=0;n<u.length;n++)t=u[n],0<e.length&&(e+="&"),null===t[1]?e+=t[0]:e+=t.join("=");return 0<e.length?"?"+e:e}}}function g(n){"use strict";function i(t){return void 0!==t&&(f.protocol=t),f.protocol}function r(t){return null===(p=void 0!==t?t:p)?-1!==f.source.indexOf("//"):p}function o(t){return void 0!==t&&(f.userInfo=t),f.userInfo}function a(t){return void 0!==t&&(f.host=t),f.host}function s(t){return void 0!==t&&(f.port=t),f.port}function l(t){return void 0!==t&&(f.path=t),f.path}function u(t){return e=void 0!==t?new h(t):e}function c(t){return void 0!==t&&(f.anchor=t),f.anchor}function t(){function t(t){return null!==t&&""!==t}var e="";return t(i())?(e+=i(),i().indexOf(":")!==i().length-1&&(e+=":"),e+="//"):r()&&t(a())&&(e+="//"),t(o())&&t(a())&&(e+=o(),o().indexOf("@")!==o().length-1&&(e+="@")),t(a())&&(e+=a(),t(s())&&(e+=":"+s())),t(l())?e+=l():t(a())&&(t(u().toString())||t(c()))&&(e+="/"),t(u().toString())&&
1(0!==u().toString().indexOf("?")&&(e+="?"),e+=u().toString()),t(c())&&(0!==c().indexOf("#")&&(e+="#"),e+=c()),e}var d=/[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)?/gi,f=function(t){for(var e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],i="queryKey",n=/(?:^|&)([^&=]*)=?([^&]*)/g,r=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(t),o={},a=14;a--;)o[e[a]]=r[a]||"";return o[i]={},o[e[12]].replace(n,function(t,e,n){e&&(o[i][e]=n)}),o}(n||""),e=new h(f.query),p=null;return{protocol:i,hasAuthorityPrefix:r,userInfo:o,host:a,port:s,path:l,query:u,anchor:c,setProtocol:function(t){return i(t),this},setHasAuthorityPrefix:function(t){return r(t),this},setUserInfo:function(t){return o(t),this},setHost:function(t){return a(t),this},setPort:function(t){return s(t),this},setPath:function(t){return l(t),this},setQuery:function(t){return u(t),this},setAnchor:function(t){return c(t),this},getQueryParamValue:function(t){return u().getParamValue(t)},getQueryParamValues:function(t){return u().getParamValues(t)},deleteQueryParam:function(t,e){return 2===arguments.length?u().deleteParam(t,e):u().deleteParam(t),this},addQueryParam:function(t,e,n){return 3===arguments.length?u().addParam(t,e,n):u().addParam(t,e),this},replaceQueryParam:function(t,e,n){return 3===arguments.length?u().replaceParam(t,e,n):u().replaceParam(t,e),this},extract:function(t){var e=n.match(d)||[];return void 0===t?e:e[t]||""},toPath:function(t){if(void 0===t)return f.path;if("/"==t.substring(0,1))return f.path=t;var e,n=f.path.split("/"),i=t.split("/");for(""===n.slice(-1)[0]&&n.pop();e=i.shift();)switch(e){case"..":1<n.length&&n.pop();break;case".":break;default:n.push(e)}return f.path=n.join("/"),this},toString:t,clone:function(){return new g(t())}}}t.uri=function(t){return new g(t)}}),FD50.plugin("mvc",function($){function B5a(t,e,n){return void 0!==t[e]?t[e]:n&&(t[e]={})}function C5a(t){var e=typeof t;return t&&("function"==e||"object"==e)}var D5a,A5a,E5a,pga,qga,rga,sga,Ega,Vga,Wga,Xga,Yga,Zga,$ga,a6a,c6a;function _ga(t,e){return t.concat(Wga(e))}function b6a(t,r,e){for(var n in e=e||t,t)e[n]=Xga(t[n])&&Xga(r[n])&&a6a.test(t[n])?function(n,i){return function(){var t,e=this._super;return this._super=r[n],t=i.apply(this,arguments),this._super=e,t}}(n,t[n]):t[n]}A5a={undHash:/_|-/,colons:/::/,words:/([A-Z]+)([A-Z][a-z])/g,lowUp:/([a-z\d])([A-Z])/g,dash:/([a-z\d])([A-Z])/g,replacer:/\{([^\}]+)\}/g,dot:/\./},E5a=$.String=$.extend($.String||{},{getObject:D5a=function(t,e,n){var i,r,o,a=t?t.split(A5a.dot):[],s=a.length,l=0;if(e=$.isArray(e)?e:[e||window],0==s)return e[0];for(;i=e[l++];){for(o=0;o<s-1&&C5a(i);o++)i=B5a(i,a[o],n);if(C5a(i)&&void 0!==(r=B5a(i,a[o],n)))return!1===n&&delete i[a[o]],r}},capitalize:function(t,e){return t.charAt(0).toUpperCase()+t.substr(1)},camelize:function(t){return(t=E5a.classize(t)).charAt(0).toLowerCase()+t.substr(1)},classize:function(t,e){for(var n=t.split(A5a.undHash),i=0;i<n.length;i++)n[i]=E5a.capitalize(n[i]);return n.join(e||"")},niceName:function(t){return E5a.classize(t," ")},underscore:function(t){return t.replace(A5a.colons,"/").replace(A5a.words,"$1_$2").replace(A5a.lowUp,"$1_$2").replace(A5a.dash,"_").toLowerCase()},sub:function(t,n,i){var r=[];return r.push(t.replace(A5a.replacer,function(t,e){t=D5a(t,n,"boolean"==typeof i?!i:i)||D5a(e,n,"boolean"==typeof i?!i:i),e=typeof t;return"object"!=e&&"function"!=e||null===e?""+t:(r.push(t),"")})),r.length<=1?r[0]:r},_regs:A5a}),$.extend($,E5a),$.String.rsplit=function(t,e){for(var n,i=e.exec(t),r=[];null!==i;)n=i.index,e.lastIndex,0!==n&&(r.push(t.substring(0,n)),t=t.slice(n)),r.push(i[0]),t=t.slice(i[0].length),i=e.exec(t);return""!==t&&r.push(t),r},pga=/^\d+$/,qga=/([^\[\]]+)|(\[\])/g,rga=/\+/g,sga=/([^?#]*)(#.*)?$/,$.String=$.extend($.String||{},{deparam:function(t){if(!t||!sga.test(t))return{};for(var e={},n=t.split("&"),i=0;i<n.length;i++){var r=e,o=n[i].split("=");2!=o.length&&(o=[o[0],o.slice(1).join("=")]);for(var a=decodeURIComponent(o[0].replace(rga," ")),o=decodeURIComponent(o[1].replace(rga," ")),s=a.match(qga),l=0;l<s.length-1;l++){var u=s[l];r[u]||(r[u]=pga.test(s[l+1])||"[]"==s[l+1]?[]:{}),r=r[u]}lastPart=s[s.length-1],"[]"==lastPart?r.push(o):r[lastPart]=o}return e}}),Ega=$.cleanData,$.cleanData=function(t){for(var e,n=0;void 0!==(e=t[n]);n++)$(e).triggerHandler("destroyed");Ega(t)},$.cookie=function(t,e,n){if(void 0===e){var i=null;if(document.cookie&&""!=document.cookie)for(var r=document.cookie.split(";"),o=0;o<r.length;o++){var a=jQuery.trim(r[o]);if(a.substring(0,t.length+1)==t+"="){i=decodeURIComponent(a.substring(t.length+1));break}}if(jQuery.evalJSON&&i&&i.match(/^\s*\{/))try{i=jQuery.evalJSON(i)}catch(t){}return i}n=n||{},null===e&&(e="",n.expires=-1),"object"==typeof e&&jQuery.toJSON&&(e=j
1Query.toJSON(e));var s="";n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(u=new Date).setTime(u.getTime()+24*n.expires*60*60*1e3):u=n.expires,s="; expires="+u.toUTCString());var l=n.path?"; path="+n.path:"",u=n.domain?"; domain="+n.domain:"",n=n.secure?"; secure":"";document.cookie=[t,"=",encodeURIComponent(e),s,l,u,n].join("")},Vga=!1,Wga=$.makeArray,Xga=$.isFunction,Yga=$.isArray,Zga=$.extend,$ga=$.String.getObject,a6a=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/,c6a="prototype",clss=$.Class=function(){arguments.length&&clss.extend.apply(clss,arguments)},Zga(clss,{proxy:function(o){var a,s=Wga(arguments);return o=s.shift(),Yga(o)||(o=[o]),a=this,function(){for(var t,e,n=_ga(s,arguments),i=o.length,r=0;r<i;r++)(e=o[r])&&((t="string"==typeof e)&&a._set_called&&(a.called=e),n=(t?a[e]:e).apply(a,n||[]),r<i-1&&(n=!Yga(n)||n._use_call?[n]:n));return n}},newInstance:function(){var t,e=this.rawInstance();return e.setup&&(t=e.setup.apply(e,arguments)),e.init&&e.init.apply(e,Yga(t)?t:arguments),e},setup:function(t,e){return this.defaults=Zga(!0,{},t.defaults,this.defaults),arguments},rawInstance:function(){Vga=!0;var t=new this;return Vga=!1,t},extend:function(t,e,n){function i(){if(!Vga)return this.constructor!==i&&arguments.length?arguments.callee.extend.apply(arguments.callee,arguments):this.Class.newInstance.apply(this.Class,arguments)}"string"!=typeof t&&(n=e,e=t,t=null),n||(n=e,e=null),n=n||{};var r,o,a,s=this[c6a];for(r in Vga=!0,o=new this,Vga=!1,b6a(n,s,o),this)this.hasOwnProperty(r)&&(i[r]=this[r]);b6a(e,this,i),t&&(e&&e.root&&(a=e.root,$.isString(a)&&(a=$ga(a,window,!0))),l=(s=t.split(/\./)).pop(),s=$ga(s.join("."),a||window,!0),Zga(!0,i,(a=s)[l]),s[l]=i),Zga(i,{prototype:o,namespace:a,shortName:l,constructor:i,fullName:t});var l=(i[c6a].Class=i[c6a].constructor=i).setup.apply(i,_ga([this],arguments));return i.init&&i.init.apply(i,l||_ga([this],arguments)),i}}),clss.callback=clss[c6a].callback=clss[c6a].proxy=clss.proxy,function(){function s(t,e,n,i,r){return i?function(t,e,n,i,r){0===e.indexOf(">")&&(e=(t.data("directSelector")+" "||"")+e);var o=t.delegate&&t.undelegate?t:$(C(t)?[t]:t);return r?o.delegate(e,n,r,i):o.delegate(e,n,i),function(){o.undelegate(e,n,i),o=t=n=i=e=null}}(t,i,e,n,r):(a=e,s=n,r=r,u=(o=t).bind&&o.unbind?o:$(C(o)?[o]:o),0===a.indexOf(">")&&(a=a.substr(1),l=function(t){t.target===o&&s.apply(this,arguments)}),r?u.bind(a,r,l||s):u.bind(a,l||s),function(){u.unbind(a,l||s),o=a=s=l=null});var o,a,s,l,u}function l(t,e){var n="string"==typeof e?t[e]:e;return _(n)&&C(n[1])&&(n=n[1]),function(){return t.called=e,n.apply(t,[this.nodeName?$(this):this].concat(i.call(arguments,0)))}}function b(t){return u.underscore(t.replace($.globalNamespace+".","").replace(n,"_").replace(r,""))}function w(t,e){return $.data(t,"controllers",e)}var x=$.makeArray,_=$.isArray,C=$.isFunction,k=$.isString,g=$.extend,u=$.String,m=$.each,e=u.getObject,E="prototype",v="constructor",i=Array[E].slice,n=/\./g,r=/_?controllers?/gi,o=/^\S(.*)\s(.*)/,c=/\{([^\}]+)\}/g,d=/\{([^\.]+[\.][^\.]+)\}/g,f=/^(?:(.*?)\s)?([\w\.\:>]+)$/,a=$.globalNamespace+".Controller";$.Controller=function(t){var e=x(arguments),n={root:a},e=2<e.length?(n=$.extend(n,e[1]),e[2]):e[1];return n.namespace&&(t=n.namespace+"."+t),$.Controller.Class(t,n,e)};var T=a+".Class";$.Class(T,{setup:function(t,e){if(this._super.apply(this,arguments),this.shortName&&this.fullName!=T){for(var n=this.elements||[],i=0,r=this.defaults;element=n[i++];){var o=element.indexOf("{"),a=element.indexOf("}"),s=(element.length,element.slice(0,o)),l=element.slice(a+1),u=element.slice(o+1,a).split("|"),c=0,a=s.match(/^\^(\S*)\s(.*)/),d="";for(a&&(d=a[1]+"-",s=a[2]);e=u[c++];){var f="{"+$.camelize(d+e)+"}";$.has(r,f)||(r[f]=s+e+l)}}this._fullName=b(this.fullName),this._shortName=b(this.shortName);var p,h,g=this;k(this.pluginName)&&(h=this._fullName,v=this.pluginName,$.fn[v]||($.fn[v]=function(n){var i=x(arguments);if($.isString(n)&&"controller"===n){var t=w(this[0]);return t&&t[h]}return this.each(function(){var t=w(this),e=t&&t[h];e?$.isString(n)?(t=e[n],$.isFunction(t)&&t.apply(e,i.slice(1))):e.update.apply(e,i):g.newInstance.apply(g,[this].concat(i))})}));var m,v=x(arguments),y=this[E],v=v[3<v.length?3:2];for(p in C(v)&&(this.protoFactory=v,y=this.protoFactory.call(this,null)),this.actions={},y)"constructor"!=p&&this._isAction(p)&&(m=y[p],(C(m)||_(m)&&C(m[1]))&&(this.actions[p]=this._action(p)));$.module("$:/Controllers/"+this.fullName).resolve(this)}},hookup:function(t){return new this(t)},_isAction:function(t){return!!o.test(t)||(-1<$.inArray(t,this.listensTo)||$.event.special[t]||p[t])},_action:function(t,n){if(c.lastIndex=0,!n&&c.test(t))return null;var i,r,e=t=t.replace("{self} ","");n&&(a=!1,d.test(t)&&(r="",e=t.replace(d,function(t,e){e=e.split(".");return i=n["{"+e[0]+"}"]||{},r=$.isControllerInstance(i)?(i[e[1]]||{}).selector:r}).match(f),a=!!r,e=[i.element].concat(e||[])),a||(e=u.sub(t,[n,window])));var o=_(e),a=(o?e[1]:e).match(f),t=a[2];return{processor:p[t]||h,parts:a,delegate:o?e[0]:void 0}},processors:{},listensTo:[],defaults:{},hostname:"parent"},{setup:function(t,e){var n,i=this,r=i[v],o=(i[E],r._fullName);i.instanceId=$.uid(o+"_");var a,s,l,u,c=i.options=g(!0,{},r.defaults,r.defaultOptions,e),d=i.element=$(t);
1for(a in r.protoFactory&&(n=r.protoFactory.apply(r,[i,c,d]),g(!0,i,n)),(w(t)||w(t,{}))[o]=i,d.data("directSelector")||(f=$.uid("DS"),d.addClass(f).data("directSelector","."+f)),i.selectors={},c)a.match(/^\{.+\}$/)&&(s=a.replace(/^\{|\}$/g,""),l=c[a],k(l)?(u=i[s],i[s]=i.selectors[s]=function(e,i,t){i=/^(\.|\#)$/.test(i)?i+t:i;function r(t){var n=(r.baseElement||e.element).find(i);return $.isString(t)&&(n=n.filter(t)),$.isPlainObject(t)&&$.each(t,function(t,e){n=n.filterBy(t,e)}),n}return r.selector=i,r.css=function(){var e,t,n=r.cssRule;return n||(e=d.data("directSelector"),t=$.map(i.split(","),function(t){return e+" "+t}),(n=r.cssRule=$.cssRule(t)).important=!0),arguments.length?n.css.apply(n,arguments):n},r.inside=function(t){return $(t).find(i)},r.of=function(t){return $(t).parents(i).eq(0)},r.under=function(t){var e=[];return r().each(function(){$(this).parents().filter(t).length&&e.push(this)}),$(e)},$.isPlainObject(u)&&$.extend(r,u),r}(i,l,s)):i[s]=l);var f=c.view,p=i.view;i.view=function(){return p.apply(this,arguments)},m(f||{},function(n,t){i.view[n]=function(t){var e=x(arguments);return $.isBoolean(t)?e=e.slice(1):t=!1,i.view.apply(i,[t,n].concat(e))}}),$.extend(i,c.controller),i.pluginInstances={},i.called="init",i._bind();var h=i.init||$.noop;return i.init=function(){return i.init=h,result=h.apply(i,arguments),i.trigger("init."+r.fullName.toLowerCase(),[i]),result},[d,c].concat(x(arguments).slice(2))},on:function(t){var e=x(arguments),n=this.element,i=e.length;return 2==i?this._binder(n,t,e[1]):3==i&&k(e[1])?this._binder(n,t,e[2],e[1]):this._binder(e[1],t,e[2])},_bind:function(){var i=this,r=i[v],o=r.actions,a=i._bindings=[],s=i.element;m(o||{},function(t,e){var n;o.hasOwnProperty(t)&&(n=r.actions[t]||r._action(t,i.options),$.isControllerInstance(n.delegate)&&(n.delegate=n.delegate.element),a.push(n.processor(n.delegate||s,n.parts[2],n.parts[1],t,i)))});var e=l(this,"destroy");return s.bind("destroyed",e),a.push(function(t){$(t).unbind("destroyed",e)}),a.length},_binder:function(t,e,n,i){return"string"==typeof n&&(n=l(this,n)),this._bindings.push(s(t,e,n,i)),this._bindings.length},_unbind:function(){var n=this.element[0];m(this._bindings,function(t,e){e(n)}),this._bindings=[]},trigger:function(t){var e=this.element;if(e){var n=$.Event(t);return e.trigger.apply(e,[n].concat($.makeArray(arguments).slice(1))),n}},delegate:function(t,e,n,i){return"string"==typeof t&&(i=n,n=e,e=t,t=this.element),this._binder(t,n,i,e)},update:function(t){g(this.options,t),this._unbind(),this._bind()},destroy:function(){if(!this._destroyed){var t=this[v]._fullName;for(pname in this.pluginInstances)this.removePlugin(pname);this._destroyed=!0,this.element.removeClass(t),this._unbind(),delete this._actions,delete this.element.data("controllers")[t],$(this).triggerHandler("destroyed"),this.element=$()}},find:function(t){return this.element.find(t)},view:function(){var t,e=x(arguments),n=e,i=!1,r=this[v].component||$,o=this.options.view||{};return"boolean"==typeof e[0]&&(i=e[0],n=e.slice(1)),null==(n[0]=o[n[0]])?i?"":$(""):(t=r.View.apply(r,n),i?t:$($.parseHTML($.trim(t))))},getPlugin:function(t){return this.pluginInstances[t]},addSubscriber:function(t){var t=$.isArray(t)?t:[t||{}],n=this,i=this.Class.hostname,r={};return r["{"+i+"}"]=n,$.map(t,function(t,e){return!!$.isControllerInstance(t)&&(t.options[i]===this?t:(t[i]=n,t.update(r)))}),t},addPlugin:function(t,e,n){if(t){(e||n)&&!$.isPlainObject(e)||(n=e,e=[this.Class.root,this.Class.fullName,$.String.capitalize(t)].join(".")),$.isString(e)&&(e=$.getController(e));var i=$.isControllerInstance(e);if(C(e)||i){var r=(this.Class.pluginExtendsInstance?this.options:this.options.plugin||{})[t];n=$.extend(!0,{element:this.element},n,r);r=i?"instance":$.isController(e)?"controller":"function";this.trigger("addPlugin",[t,e,n,r]);var o,a=this.Class.hostname;switch(n["{"+a+"}"]=this,r){case"instance":(o=e).update(n),e[a]=this;break;case"controller":o=n.element.addController(e,n);break;case"function":o=e(this,n)}if(o)return this.pluginInstances[t]=o,this.Class.pluginExtendsInstance&&(this[t]=o),"function"!=r&&((i={})["{"+t+"}"]=o,this.update(i)),this.trigger("registerPlugin",[t,o,n,r]),o}}},removePlugin:function(t){var e=this.getPlugin(t);
1if(e)return this.trigger("removePlugin",[t,e]),delete this.pluginInstances[t],$.isFunction(e.destroy)?e.destroy():null},invokePlugin:function(t,e,n){var i=this.getPlugin(t);if(i&&$.isFunction(i[e]))return this.trigger("invokePlugin",[t,i,n]),i[e].apply(this,n)},getMessageGroup:function(){var t=$.isFunction(this.messageGroup)?this.messageGroup():this.element.find("[data-message-group]");return t=t.length<1?$("<div data-message-group></div>").prependTo(this.element):t},setMessage:function(t,e){var n,i,r={type:"warning",message:"",parent:this.getMessageGroup(),element:$('<div class="alert fade in"><button type="button" class="close" data-bs-dismiss="alert">Ã</button></div>')},o={},a=$.isDeferred(t),o=$.isPlainObject(t)&&!a?t:{message:t,type:e||"warning"},s=$.extend({},r,o),l=s.element;return $.isDeferred(t)?(n=arguments.callee,i=this,t.done(function(t,e){s.message=t,s.type=e||"warning",n.call(i,s),l.show()})):(l.addClass("alert-"+s.type).append(s.message),$("html").has(l).length<1&&l.appendTo(s.parent)),l},clearMessage:function(){this.getMessageGroup().empty()},_set_called:!0});var p=$.Controller.Class.processors,h=function(t,e,n,i,r){var o,a=r[i];return _(a)&&C(a[1])&&(o=a[0]),s(t,e,l(r,i),n,o)};m("change click contextmenu dblclick keydown keyup keypress mousedown mousemove mouseout mouseover mouseup reset resize scroll select submit focusin focusout mouseenter mouseleave".split(" "),function(t,e){p[e]=h});function y(t){return t.replace("$.Controller",a)}function j(t){if(k(t)&&(t=y(t),t=e(t)||e(a+"."+t)),S(t))return t}function S(t){return C(t)&&t.hasOwnProperty("_fullName")}function A(t){return $.map(t,function(t){return(_(t)?A:j)(t)})}$.getController=j,$.isController=function(t){return!!j(t)},$.isControllerInstance=function(t){return t&&t[v]&&S(t[v])},$.isControllerOf=function(t,e){if(!e)return!1;_(e)||(e=[e]);for(var n=0;n<e.length;n++)if(t instanceof j(e[n]))return!0;return!1},$.fn.extend({controllers:function(){var i=A(x(arguments)),r=[];return this.each(function(){var n=$.data(this,"controllers");m(n||{},function(t,e){n.hasOwnProperty(t)&&(i.length&&!$.isControllerOf(e,i)||r.push(e))})}),r},controller:function(t,e){return void 0===e?this.controllers(t)[0]:(this.addController.apply(this,arguments),this)},hasController:function(t){t=(j(t)||{})._fullName||(k(t)?b(y(t)):"");return!!t&&($(this).data("controllers")||{}).hasOwnProperty(t)},addController:function(e,n,i){var r=j(e);if(r){var o=[];return this.each(function(){var t;1===this.nodeType&&"SCRIPT"!=this.nodeName&&((t=$(this).controller(e))?o.push(t):(t=new r(this,n),C(i)&&i.apply(t,[$(this),t]),o.push(t)))}),1<o.length?o:o[0]}},removeController:function(e){return this.each(function(){for(var t=$(this).controllers(e);t.length;)t.shift().destroy()}),this},addControllerWhenAvailable:function(t){var e=this,n=arguments,i=$.Deferred();return $.isController(t)&&(t=t.fullName),k(t)?($.module("$:/Controllers/"+t).pipe(function(){var t=e.addController.apply(e,n);i.resolveWith(t,[e,t])},i.reject,i.fail),i):i.reject()},implement:function(){return this.addController.apply(this,arguments),this}}),function(){for(var t,e=["is","find"],n={};t=e.shift();)n[t]=$.fn[t],$.fn[t]=function(e){return function(t){return n[e].apply(this,(t||{}).hasOwnProperty("of")?[t.selector]:arguments)}}(t)}()}(),function(){function d(t){return t.replace(/^\/\//,"").replace(/[\/\.]/g,"_")}function f(t,e){if(!t.match(/[^\s]/))throw"$.View ERROR: There is no template or an empty template at "+e}var l=$.makeArray,n=1,p=$.View=function(t,r,o,a){"function"==typeof o&&(a=o,o=void 0);var e=c(r);if(e.length){var s=$.Deferred();return e.push(i(t,!0)),$.when.apply($,e).then(function(t){var e=l(arguments),n=e.pop()[0];if(u(r))r=h(t);else for(var i in r)u(r[i])&&(r[i]=h(e.shift()));n=n(r,o),s.resolve(n),a&&a(n)}),s.promise()}var n,e="function"==typeof a,s=i(t,e);return e?(n=s).done(function(t){a(t(r,o))}):s.done(function(t){n=t(r,o)}),n},i=function(t,e){return $.ajax({url:t,dataType:"view",async:e})},u=function(t){return t&&$.isFunction(t.always)},c=function(t){var e,n=[];if(u(t))return[t];for(e in t)u(t[e])&&n.push(t[e]);return n},h=function(t){return $.isArray(t)&&3===t.length&&"success"===t[1]?t[0]:t};$.ajaxTransport("view",function(t,n){function i(t){return t=u.renderer(o,t),p.cache&&(p.cached[o]=t),{view:t}}var r,o,a,e,s=n.url,l=s.match(/\.[\w\d]+$/);(l=(r=document.getElementById(s))?"."+r.type.match(/\/(x\-)?(.+)/)[2]:l)||(l=p.ext,s+=p.ext),o=d(s),s.match(/^\/\//)&&(e=s.substr(2),s="undefined"==typeof steal?"/"+e:steal.root.mapJoin(e)+"");var u=p.types[l],c=$.template()[n.url];return{send:function(t,e){return c?(u=p.types["."+c.type],e(200,"success",i(c.content))):p.cached[o]?e(200,"success",{view:p.cached[o]}):void(r?e(200,"success",i(r.innerHTML)):a=$.ajax({async:n.async,url:s,dataType:"text",error:function(){f("",s),e(404)},success:function(t){f(t,s),e(200,"success",i(t))}}))},abort:function(){a&&a.abort()}}}),$.extend(p,{hookups:{},hookup:function(t){var e=++n;return p.hookups[e]=t,e},cached:{}
1,cache:!0,register:function(t){this.types["."+t.suffix]=t,window.steal&&steal.type(t.suffix+" view js",function(t,e,n){var i=p.types["."+t.type],r=d(t.rootSrc+"");t.text=i.script(r,t.text),e()})},types:{},ext:".ejs",registerScript:function(t,e,n){return"$.View.preload('"+e+"',"+p.types["."+t].script(e,n)+");"},preload:function(t,n){p.cached[t]=function(t,e){return n.call(t,t,e)}}}),window.steal&&steal.type("view js",function(t,e,n){var i=p.types["."+t.type],r=d(t.rootSrc+"");t.text="steal('"+(i.plugin||"jquery/view/"+t.type)+"').then(function($){$.View.preload('"+r+"',"+t.text+");\n})",e()});var a={val:!0,text:!0},r=function(r){var o=$.fn[r];$.fn[r]=function(){var e,t,n=l(arguments),i=this;if(u(n[0]))return n[0].done(function(t){s.call(i,[t],o)}),this;if(g(n)){if(t=v(n))return e=n[t],n[t]=function(t){s.call(i,[t],o),e.call(i,t)},p.apply(p,n),this;if(t=p.apply(p,n),u(t))return t.done(function(t){s.call(i,[t],o)}),this;n=[t]}return a[r]?o.apply(this,n):s.call(this,n,o)}},s=function(t,e){var n,i;for(i in p.hookups)break;return i&&t[0]&&m(t[0])&&(n=p.hookups,p.hookups={},t[0]=$(t[0])),e=e.apply(this,t),n&&y(t[0],n),e},g=function(t){var e=typeof t[1];return"string"==typeof t[0]&&("object"==e||"function"==e)&&!o(t[1])},o=function(t){return t.nodeType||t.jquery},m=function(t){return!!o(t)||"string"==typeof t&&("<"===(t=$.trim(t)).substr(0,1)&&">"===t.substr(t.length-1,1)&&3<=t.length)},v=function(t){return"function"==typeof t[3]?3:"function"==typeof t[2]&&2},y=function(t,e){for(var n,i,r,o=0,a=(n=(t=t.filter(function(){return 3!=this.nodeType})).add("[data-view-id]",t)).length;o<a;o++)n[o].getAttribute&&(i=n[o].getAttribute("data-view-id"))&&(r=e[i])&&(r(n[o],i),delete e[i],n[o].removeAttribute("data-view-id"));$.extend(p.hookups,e)};$.fn.hookup=function(){var t=p.hookups;return p.hookups={},y(this,t),this},$.each(["prepend","append","after","before","text","html","replaceWith","val"],function(t,e){r(e)})}(),function(){var myEval=function(script){eval(script)},rSplit=$.String.rsplit,extend=$.extend,isArray=$.isArray,returnReg=/\r\n/g,retReg=/\r/g,newReg=/\n/g,nReg=/\n/,slashReg=/\\/g,quoteReg=/"/g,singleQuoteReg=/'/g,tabReg=/\t/g,leftBracket=/\{/g,rightBracket=/\}/g,quickFunc=/\s*\(([\$\w]+)\)\s*->([^\n]*)/,clean=function(t){return t.replace(slashReg,"\\\\").replace(newReg,"\\n").replace(quoteReg,'\\"').replace(tabReg,"\\t")},escapeHTML=function(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(quoteReg,""").replace(singleQuoteReg,"'")},$View=$.View,bracketNum=function(t){var e=t.match(leftBracket),t=t.match(rightBracket);return(e?e.length:0)-(t?t.length:0)},EJS=function(t){if(this.constructor!=EJS){var n=new EJS(t);return function(t,e){return n.render(t,e)}}"function"!=typeof t?(extend(this,EJS.options,t),this.template=compile(this.text,this.type,this.name)):this.template={fn:t}};$&&($.EJS=EJS),EJS.prototype.render=function(t,e){t=t||{},this._extra_helpers=e;e=new EJS.Helpers(t,e||{});return this.template.fn.call(t,t,e)},extend(EJS,{text:function(i){if("string"==typeof i)return i;if(null==i)return"";var t=(i.hookup?function(t,e){i.hookup.call(i,t,e)}:"function"==typeof i&&i)||isArray(i)&&function(t,e){for(var n=0;n<i.length;n++)i[n].hookup?i[n].hookup(t,e):i[n](t,e)};return t?"data-view-id='"+$View.hookup(t)+"'":i.toString?i.toString():""},clean:function(t){return"string"==typeof t?escapeHTML(t):"number"==typeof t?t:EJS.text(t)},options:{type:"[",ext:".ejs"}});var scan=function(t,e,n){for(var i=rSplit(e,nReg),r=0;r<i.length;r++)scanline(t,i[r],n)},scanline=function(t,e,n){t.lines++;for(var i,r=rSplit(e,t.splitter),o=0;o<r.length;o++)null!==(i=r[o])&&n(i,t)},makeScanner=function(t,e){var n={};return extend(n,{left:t+"%",right:"%"+e,dLeft:t+"%%",dRight:"%%"+e,eeLeft:t+"%==",eLeft:t+"%=",cmnt:t+"%#",cleanLeft:t+"%~",scan:scan,lines:0}),n.splitter=new RegExp("("+[n.dLeft,n.dRight,n.eeLeft,n.eLeft,n.cmnt,n.left,n.right+"\n",n.right,"\n"].join(")|(").replace(/\[/g,"\\[").replace(/\]/g,"\\]")+")"),n},compile=function(t,e,n){t=t.replace(returnReg,"\n").replace(retReg,"\n"),e=e||"[";function r(t){u.push(i,'"',clean(t),'");')}function o(){c=""}var i="___v1ew.push(",a=i,s="var ___v1ew = [];",l="return ___v1ew.join('')",u=new EJS.Buffer([s],[]),c="",d=null,f=[];scan(makeScanner(e,"["===e?"]":">"),t||"",function(t,e){if(null===d)switch(t){case"\n":r(c+="\n"),u.cr(),o();break;case e.left:case e.eLeft:case e.eeLeft:case e.cmnt:d=t,0<c.length&&r(c),o();break;case e.dLeft:c+=e.left;break;default:c+=t}else switch(t){case e.right:switch(d){case e.left:var n=bracketNum(c),i=f.length&&-1==n?f.pop():";";"));"===i&&u.push(l),u.push(c,i),1===n&&f.push(";");break;case e.eLeft:(n=bracketNum(c))&&f.push("));"),quickFunc.test(c)&&(c="function(__){var "+(i=c.match(quickFunc))[1]+"=$(__);"+i[2]+"}"),u.push(a,$.globalNamespace+".EJS.clean(",c,n?s:"));");break;case e.eeLeft:(n=bracketNum(c))&&f.push("));"),u.push(a,$.globalNamespace+".EJS.text(",c,n?s:"));")}d=null,o();break;case e.dRight:c+=e.right;break;default:c+=t}}),0<c.length&&u.push(i,'"',clean(c)+'");');t={out:"try { with(_VIEW) { with (_CONTEXT) {"+u.close()+" "+l+"}}}catch(e){e.lineNumber=null;throw e;}"};return myEval.call(t,"this.fn = (function(_CONTEXT,_VIEW){ var $ = "+$.globalNamespace+";"+t.out+"});"),t};EJS.Buffer=function(t,e){this.line=[],this.script=[],this.post=e,this.push.apply(this,t)},EJS.Buffer.prototype={push:function(){this.line.push.apply(this.line,arguments)},cr:function(){this.script.push(this.line.join(""),"\n"),this.line=[]},close:function(){return 0<this.line.length&&(this.script.push(this.line.join("")),this.line=[]),this.post.length&&this.push.apply(this,this.post),this.script.push(";"),this.script.join("")}},EJS.Helpers=function(t,e){this._data=t,this._extras=e,extend(this,e)},EJS.Helpers.prototype={plugin:function(t){var e=$.makeArray(arguments),n=e.shift();return function(t){t=$(t);t[n].apply(t,e)}},view:function(t,e,n){return n=n||this._extras,e=e||this._data,$View(t,e,n)}},$View.register({suffix:"ejs",script:function(t,e){return $.globalNamespace+".EJS(function(_CONTEXT,_VIEW) { "+new EJS({text:e,name:t}).template.out+" })"},renderer:function(t,e){return EJS({text:e,name:t})}})}(),function(){function s(t){return"object"==typeof t&&null!==t&&t}function l(i,r,o){return i instanceof $.Observe?a([i],o._namespace):i=new(p(i)?$.Observe.List:$.Observe)(i),i.bind("change"+o._namespace,function(t,e){var n=$.makeArray(arguments),t=n.shift();n[0]="*"===r?o.indexOf(i)+"."+n[0]:r+"."+n[0],$.event.trigger(t,n,o)}),i}function a(t,e){for(var n,i=0;i<t.length;i++)(n=t[i])&&n.unbind&&n.unbind("change"+e)}function u(){if(!r)return r=[],!0}function c(t,e,n){return!t._init&&(r?void r.push({t:t,ev:e,args:n}):$.event.trigger(e,n,t,!0))}function d(){var t,e=r.length,n=r.slice(0);r=null,o++;for(var i=0;i<e;i++)t=n[i],$.event.trigger({type:t.ev,batchNum:o},t.args,t.t)}function f(t,n,i){return t.each(function(t,e){i[t]=s(e)&&"function"==typeof e[n]?e[n]():e}),i}var p=$.isArray,h=$.makeArray,t=$.each,n=0,r=null,o=0;$.Class($.globalNamespace+".Observe",{init:function(t){this._data={},this._namespace=".observe"+ ++n,this._init=!0,this.attrs(t),delete this._init},attr:function(t,e){return void 0===e?this._get(t):(this._set(t,e),this)},each:function(){return t.apply(null,[this.__get()].concat(h(arguments)))},removeAttr:function(t){var e=p(t)?t:t.split("."),n=e.shift(),t=this._data[n];return e.length?t.removeAttr(e):(delete this._data[n],c(this,"change",[n,"remove",void 0,t]),t)},_get:function(t){var e=p(t)?t:(""+t).split("."),t=this.__get(e.shift());return e.length?t?t._get(e):void 0:t},__get:function(t){return t?this._data[t]:this._data},_set:function(t,e){var n=p(t)?t:(""+t).split("."),i=n.shift(),t=this.__get(i);if(s(t)&&n.length)t._set(n,e);else{if(n.length)throw"jQuery.Observe: set a property on an object that does not exist";e!==t&&(n=this.__get().hasOwnProperty(i)?"set":"add",this.__set(i,s(e)?l(e,i,this):e),c(this,"change",[i,n,e,t]),t&&a([t],this._namespace))}},__set:function(t,e){this._data[t]=e,t in this.constructor.prototype||(this[t]=e)},bind:function(t,e){return $.fn.bind.apply($([this]),arguments),this},unbind:function(t,e){return $.fn.unbind.apply($([this]),arguments),this},serialize:function(){return f(this,"serialize",{})},attrs:function(t,e){if(void 0===t)return f(this,"attrs",{});t=$.extend(!0,{},t);var n,i=u();for(n in this._data){var r=this._data[n],o=t[n];void 0!==o?(s(r)&&s(o)?r.attrs(o,e):r!=o&&this._set(n,o),delete t[n]):e&&this.removeAttr(n)}for(n in t)o=t[n],this._set(n,o);i&&d()}});function g(t){return t[0]&&$.isArray(t[0])?t[0]:h(t)}var e=$.Observe($.globalNamespace+".Observe.List",{init:function(t,e){this.length=0,this._namespace=".list"+ ++n,this._init=!0,this.bind("change",this.proxy("_changes")),this.push.apply(this,h(t||[])),$.extend(this,e),this.comparator&&this.sort(),delete this._init},_changes:function(t,e,n,i,r){if(this.comparator&&/^\d+./.test(e)){var o=+/^\d+/.exec(e)[0],a=this[o],s=this.sortedIndex(a);if(s!==o)return[].splice.call(this,o,1),[].splice.call(this,s,0,a),c(this,"move",[a,s,o]),t.stopImmediatePropagation(),void c(this,"change",[e.replace(/^\d+/,s),n,i,r])}-1===e.indexOf(".")&&("add"===n?c(this,n,[i,+e]):"remove"===n&&c(this,n,[r,+e]))},sortedIndex:function(t){for(var e=t.attr(this.comparator),n=0,i=0;i<this.length;i++)if(t!==this[i]){if(e<=this[i].attr(this.comparator))return i+n}else n=-1;return i+n},__get:function(t){return t?this[t]:this},__set:function(t,e){this[t]=e},serialize:function(){return f(this,"serialize",[])},splice:function(t,e){for(var n=h(arguments),i=2;i<n.length;i++){var r=n[i];s(r)&&(n[i]=l(r,"*",this))}void 0===e&&(e=n[1]=this.length-t);var o=[].splice.apply(this,n);return 0<e&&(c(this,"change",[""+t,"remove",void 0,o]),a(o,this._namespace)),2<n.length&&c(this,"change",[""+t,"add",n.slice(2),o]),o},attrs:function(t,e){if(void 0===t)return f(this,"attrs",[]);t=t.slice(0);for(var n=Math.min(t.length,this.length),i=u(),r=0;r<n;r++){var o=this[r],a=t[r];s(o)&&s(a)?o.attrs(a,e):o!=a&&this._set(r,a)}t.length>this.length?this.push(t.slice(this.length)):t.length<this.length&&e&&this.splice(t.length),i&&d()},sort:function(t,e){var n=this.comparator;[].sort.apply(this,n?[function(t,e){return(t=t[n])===(e=e[n])?0:t<e?-1:1}]:[]);e||c(this,"reset")}});t({push:"length",unshift:0},function(o,a){e.prototype[o]=function(){for(var t=g(arguments),e=a?this.length:0,n=0;n<t.length;n++){var i=t[n];s(i)&&(t[n]=l(i,"*",this))}if(1==t.length&&this.comparator){var r=this.sortedIndex(t[0]);return this.splice(r,0,t[0]),this.length}r=[][o].apply(this,t);return this.comparator&&1<t.length?(this.sort(null,!0),c(this,"reset",[t])):c(this,"change",[""+e,"add",t,void 0]),r}}),t({pop:"length",shift:0},function(n,i){e.prototype[n]=function(){var t=g(arguments),e=i&&this.length?this.length-1:0,t=[][n].apply(this,t);return c(this,"change",[""+e,"remove",void 0,[t]]),t&&t.unbind&&t.unbind("change"+this._namespace),t}}),e.prototype.indexOf=[].indexOf||function(t){return $.inArray(t,this)},$.O=function(t,e){return new(p(t)||t instanceof $.Observe.List?$.Observe.List:$.Observe)(t,e)}}()}),FD50.plugin("joomla",function(n){n.Joomla=function(t,e){if(n.isFunction(e))window.Joomla[t]=e;else{t=window.Joomla[t];if(n.isFunction(t))return t.apply(window,e)}}}),FD50.plugin("module",function(r){function e(t){var e=this,n=r.Callbacks("once memory");r.extend(this,r.Deferred(),{name:t,status:"pending",ready:function(t){!0===t&&n.fire.call(e,r),r.isFunction(t)&&n.add(t)}}),e.then(function(){e.exports=this,e.status="resolved"},function(){e.status="rejected"});var i=e.done;e.done=function(){e.required=!0;var t=e.factory;return t&&"ready"===e.status&&t.call(e,r),e.done=i,e.done.apply(this,arguments)}}function i(t,e){var n;if("string"==typeof t){if(n=i.get(t),void 0===e)return n;if(r.isFunction(e))return"resolved"==n.status||(n.factory=e,n.status="ready",n.ready("true"),n.required&&(n.status="executing",e.call(n,r))),n}r.isArray(t)&&(t=r.map(t,function(t){var e=i.get(r.isString(t)?t:t.name);if(e)return"pending"===e.status&&(e.status="ready"),r.isPlainObject(t)?t:void 0}),r.each(t,function(t,e){i(e.name,e.factory)}))}r.module=(r.extend(i,{registry:{},get:function(t){if(t)return r.isModule(t)&&(t=t.replace("module://","")),i.registry[t]||i.create(t)},create:function(t){return i.registry[t]=new e(t)},remove:function(t){delete i.registry[t]}}),i),r.isModule=function(t){return r.isString(t)?!!t.match("module://"):t&&t instanceof e}}),FD50.plugin("script",function(i){i.Script=function(t){var e=document.createElement("script");return e.text=i.isString(t)?t:i.callback(t)+"();",i(e)},i.script=function(){function e(t){(t=i.extend(this,t)).manager=i.Deferred(),i.extend(t,t.manager.promise()),t.load()}var n=document.getElementsByTagName("head")[0];document.getElementsByTagName("base")[0];return i.extend(e.prototype,{timeout:7e3,retry:3,retryCount:1,type:"text/javascript",async:!1,charset:"UTF-8",verbose:!1,head:n,insert:function(){var t=this.node;this.head.appendChild(t)},remove:function(){var t=this.node;setTimeout(function(){t.onload=t.onerror=t.onreadystatechange=null;try{n.removeChild(t)}catch(t){}},1e3)},load:function(){var t,e=this;e.endTime=void 0,e.startTime=new Date,e.node=t=document.createElement("script"),e.insert(),e._ready=i.proxy(e.ready,e),e._error=i.proxy(e.error,e),t.attachEvent&&!i.browser.opera?(t.attachEvent("onreadystatechange",e._ready),t.attachEvent("onerror",e._error)):(t.addEventListener("load",e._ready,!1),t.addEventListener("error",e._error,!1)),i(t).attr({type:e.type,async:e.async,charset:e.charset,src:e.url}),e.monitor()},monitor:function(){var t=this;t.retryCount>t.retry?t._error():setTimeout(function(){"resolved"!==t.state()&&(t.verbose&&console.warn("$.script: Load timeout. [Retry: "+t.retryCount+"]",t),t.remove(),t.retryCount++,t.load())},t.timeout*t.retryCount)},ready:function(t){var e=this.node;"load"!==t.type&&!/loaded|complete/.test(e.readyState)||(this.complete.call(this,t),this.manager.resolve(this))},error:function(t){this.verbose&&console.error("$.script: Unable to load ",this),this.complete.call(this,t),this.remove(),this.manager.reject(this)},complete:function(t){var e=this.node;this.endTime=new Date,e.detachEvent&&!i.browser.opera?(e.detachEvent("onreadystatechange",this._ready),e.detachEvent("onerror",this._error)):(e.removeEventListener("load",this._ready,!1),e.removeEventListener("error",this._error,!1))}}),function(t){if(void 0!==t)return new e(t="string"==typeof t?{url:t}:t)}}()}),FD50.plugin("template",function(i){function r(t,e){return void 0===t?r.templates:"string"==typeof e?(n=i.isPlainObject(e)?e:i.extend({},o,{name:t,content:e}),r.templates[t]=n):(n=r.templates[t]||{}).content||"";var n}var o;i.template=(o={content:"",type:"ejs"},i.extend(r,{templates:{},remove:function(t){delete r.templates[t]}}),r)}),FD50.plugin("require",function(a){function r(){var n=this,t=a.makeArray(arguments),t=a.isPlainObject(t[0])?(i=t[0],t.slice(1)):t,i=a.extend({},r.defaultOptions,n.options,i,{batch:n});a.each(t,function(t,e){e=new r.task(e,i);n.addTask(e),e.start()})}function n(){var t=a.makeArray(arguments),t=a.isPlainObject(t[0])?(e=t[0],t.slice(1)):t,e=a.extend({},n.defaultOptions,this.options,e,{batch:this}),e=new n.task(t,e);this.addTask(e),e.start()}function o(){var i=this,t=a.makeArray(arguments),t=a.isPlainObject(t[0])?(r=t[0],t.slice(1)):t,r=a.extend({},o.defaultOptions,i.options,r,{batch:i});a.each(t,function(t,e){var n=new o.task(e,r),e=o.images[n.url],n=e||n;i.addTask(n),e||(o.images[n.url]=n).start()})}a.require=function(){function i(t){return t=new n(t),i.batches[t.id]=t}var t=function(t){return a.uri(t).setAnchor("").setQuery("").toPath("../").toString()};a.extend(i,{defaultOptions:{path:(t=a.path||a("[require-path]").attr("require-path")||t(a("script:last").attr("src"))||t(window.location.href),t=/^(\/|\.)/.test(t)?a.uri(window.location.href).toPath(t).toString():t),timeout:1e4,retry:3,verbose:"development"==a.environment},setup:function(t){a.extend(i.defaultOptions,t)},batches:{},status:function(o){return a.each(i.batches,function(t,e){var n={pending:0,resolved:0,rejected:0,ready:0,total:0},i=[];a.each(e.tasks,function(t,e){state=e.module&&"ready"==e.module.status?"ready":e.state(),n[state]++,n.total++,i.push({state:state,content:"["+state+"] "+e.name})});var r=e.id+": "+e.state()+" ["+n.resolved+"/"+n.total+"]";o&&n[o]<1||(a.IE?(console.log('$.require
1.batches["'+e.id+'"]'),a.each(i,function(t,e){console.log(e.content)}),console.log("")):(console.groupCollapsed(r),console.log('$.require.batches["'+e.id+'"]',e),a.each(i,function(t,e){var n=e.state,i=e.content;if(!o||n==o)switch(n){case"pending":console.warn(i);break;case"rejected":console.error(i);break;default:console.info(i)}}),console.groupEnd(r)))}),"$.require.status(pending|resolved|rejected|ready);"},loaders:{},addLoader:function(t,e){i[t]=e,n.prototype[t]=function(){return this.autoFinalize(),e.apply(this,arguments),this},i.loaders[t]=i[t]=e},removeLoader:function(t){delete n.prototype[t],delete i[t]}});var r=0,n=function(t){var e=a.Callbacks("once memory"),n=!1;return a.extend(this,{id:++r,tasks:[],options:a.extend({},i.defaultOptions,t),autoFinalizeDuration:300,finalized:!1,required:function(t){return!0===t&&(n=e.fire()),a.isFunction(t)&&e.add(t),n}})};return a.extend(n.prototype,{addTask:function(t){a.isDeferred(t)&&(this.finalized||(this.tasks.push(t),t.batch=this))},autoFinalize:function(){var t=this,e=t.autoFinalizeDuration;!1!==e&&(clearTimeout(t.autoFinalizeTimer),t.autoFinalizeTimer=setTimeout(function(){t.finalize()},e))},finalize:function(){var t,e,n,i,r=this;r.finalized||(r.finalized=!0,t=r.manager=a.when.apply(null,r.tasks),e=t.promise(),n=a.Callbacks(),a.extend(r,e,{progress:n.add,notify:n.fire,done:function(){return r.required(!0),r.done=e.done,r.done.apply(r,arguments)}}),i=r.options.verbose,t.progress(function(t,e){i&&"rejected"==t&&console.warn("Require: Task "+e.name+" failed to load.",e)}).fail(function(){i&&console.warn("Require: Batch "+r.id+" failed.",r)}),setTimeout(function(){a.each(r.tasks,function(t,e){e.then(function(){r.notify("resolved",e)},function(){r.notify("rejected",e)},function(){r.notify("progress",e)})})},1))},expand:function(t,e){var t=a.makeArray(t),n=e||{},i=[],i=a.isPlainObject(t[0])?(n=a.extend(t[0],e),t.slice(1)):t;return{options:n,names:i}}}),a.each(["done","fail","progress","always","then"],function(t,e){n.prototype[e]=function(){return this.finalize(),this[e].apply(this,arguments)}}),i}(),a.require.addLoader("script",function(){var t=a.uri(a.indexUrl).host();t!==a.uri(document.location.href).host()&&t.match("xn--")&&(a.support.cors=!0);function o(){var n,i=this,t=a.makeArray(arguments),t=a.isPlainObject(t[0])?(r=t[0],t.slice(1)):t,r=a.extend({},o.defaultOptions,i.options,r,{batch:i});a.each(t,function(t,e){e=new o.task(e,r,n);i.addTask(e),r.serial&&void 0!==n?n.always(e.start):e.start(),n=e})}!0===document.createElement("script").async||"MozAppearance"in document.documentElement.style||window.opera;return a.extend(o,{defaultOptions:{path:"",extension:"compressed"==a.mode?"min.js":"js",serial:!1,async:!1,xhr:!1},setup:function(){a.extend(o.defaultOptions,options)},scripts:{},task:function(t,e,n){var i=a.extend(this,a.Deferred());i.name=t,i.options=e,i.taskBefore=n,a.isArray(t)&&(i.name=t[0]+"@"+t[1],i.moduleName=t[0],t[2]||(i.defineModule=!0,a.module.registry[i.moduleName]&&console.warn("$.require.script: "+i.moduleName+" exists! Using existing module instead."),i.options.xhr=!0),t=t[1],i.module=a.module(i.moduleName)),a.isUrl(t)?i.url=t:/^(\/|\.)/.test(t)?i.url=a.uri(i.options.path).toPath(t).toString():(i.url=a.uri(i.options.path).toPath("./"+t+"."+i.options.extension).toString(),i.module=a.module(t))}}),a.extend(o.task.prototype,{start:function(){var t=this.module;t&&"pending"!==t.status?this.waitForModule():this.load()},waitForModule:function(){var t=this,e=t.module;e.then(t.resolve,t.reject,t.notify),t.batch.required(function(){e.done(t.resolve)})},load:function(){var t,n=this,i=n.taskBefore;n.script=o.scripts[n.url]||(t=n.options.xhr?a.ajax({url:n.url,dataType:"text"}):a.script({url:n.url,type:"text/javascript",async:n.options.async,timeout:n.batch.options.timeout,retry:n.batch.options.retry,verbose:n.batch.options.verbose}),o.scripts[n.url]=t),n.script.done(function(t){function e(){n.module?n.waitForModule():n.resolve()}n.options.xhr&&(n.defineModule&&(n.module=a.module(n.moduleName,function(){a.globalEval(t),this.resolveWith(t)})),!n.options.async||i)?i.done(function(){a.globalEval(t),e()}):e()}).fail(function(){n.reject()})}}),o}()),a.require.addLoader("template",(a.extend(r,{defaultOptions:{path:"",extension:"htm"},setup:function(){a.extend(r.defaultOptions,options)},task:function(t,e){var n=a.extend(this,a.Deferred());n.name=t,n.options=e,a.isArray(t)&&(n.name=t[0],t=t[1]),a.isUrl(t)?n.url=t:/^(\/|\.)/.test(t)?n.url=a.uri(n.options.path).toPath(t).toString():n.url=a.uri(n.options.path).toPath("./"+t+"."+n.options.extension).toString()},loaders:{},loader:function(e){return a.isArray(e)?a.map(e,function(t){return r.loader(t)}):a.isPlainObject(e)?a.map(e,function(t,e){return r.loader(e).resolve(t)}):r.loaders[e]||(r.loaders[e]=a.Deferred().done(function(t){a.template(e,t)}))}}),a.extend(r.task.prototype,{start:function(){var t=r.loaders[this.name];return t||((t=r.loader(this.name)).xhr=a.Ajax({url:this.url,dataType:"text"}).then(t.resolve,t.reject).then(this.resolve,this.reject)),this.loader=t,this}}),r)),a.require.addLoader("language",(a.extend(n,{defaultOptions:{path:""},setup:function(){a.extend(n.defaultOptions,options)},loaders:{},task:function(t,e){var n=a.extend(this,a.Deferred());n.name=t.join(","),n.options=e,n.url=e.path,n.names=t},loader:function(e){return a.isArray(e)?a.map(e,function(t){return n.loader(t)}):a.isPlainObject(e)?a.map(e,function(t,e){return n.loader(e).resolve(t)}):n.loaders[e]||(n.loaders[e]=a.Deferred().done(function(t){a.language.add(e,t)}))}}),a.extend(n.task.prototype,{start:function(){var e=this,t=a.map(e.names,function(t){var e=n.loader(t);return e.push(e),/resolved|rejected/.test(e.state())?null:t});return e.fail(function(){a.each(t,function(t,e){n.loader(e).reject()})}),a.when.apply(null,[]).then(e.resolve,e.reject),t.length<1||(e.xhr=a.Ajax({url:e.url,type:"POST",data:{keys:t}}).done(function(t){a.isPlainObject(t)?n.loader(t):e.reject()}).fail(function(){e.reject()})),e}}
1),n)),a.require.addLoader("library",function(){var t=a.makeArray(arguments),e={},t=a.isPlainObject(t[0])?(e=t[0],t.slice(1)):t;return a.extend(e,{path:a.scriptPath}),this.script.apply(this,[e].concat(t))}),a.require.addLoader("image",(a.extend(o,{defaultOptions:{path:""},setup:function(){a.extend(o.defaultOptions,options)},images:{},task:function(t,e){var n=a.extend(this,a.Deferred());n.name=t,n.options=e,a.isUrl(t)?n.url=t:/^(\/|\.)/.test(t)?n.url=a.uri(n.options.path).toPath(t).toString():n.url=a.uri(n.options.path).toPath("./"+t).toString(),n.options.url=n.url}}),a.extend(o.task.prototype,{start:function(){var t=this;t.image=a(new Image).load(function(){t.resolve()}).error(function(){t.reject()}).attr("src",t.options.url)}}),o))}),FD50.plugin("iframe-transport",function(c){c.ajaxPrefilter(function(t,e,n){if(t.iframe)return"iframe"}),c.ajaxTransport("iframe",function(t,e,n){function a(){l&&u.replaceWith(function(t){return o.get(t)}),i.remove(),r.attr("src","javascript:false;").remove()}var i=null,r=null,s="iframe-"+c.now(),o=c(t.files).filter(":file:enabled"),l=0<o.length,u=null;return t.dataTypes.shift(),i=c("<form enctype='multipart/form-data' method='post'></form>").hide().attr({action:t.url,target:s}),"string"==typeof t.data&&0<t.data.length&&c.error("data must not be serialized"),c.each(t.data||{},function(n,t){c.isPlainObject(t)&&(n=t.name,t=t.value),c.isArray(t)||(t=[t]),c.each(t,function(t,e){c("<input type='hidden' />").attr({name:n,value:e}).appendTo(i)})}),c("<input type='hidden' value='IFrame' name='X-Requested-With' />").appendTo(i),l&&(u=o.after(function(t){return c(this).clone().prop("disabled",!0)}).next(),o.appendTo(i)),{send:function(t,o){(r=c("<iframe src='javascript:false;' name='"+s+"' id='"+s+"' style='display:none'></iframe>")).bind("load",function(){r.unbind("load").bind("load",function(){var t=this.contentWindow?this.contentWindow.document:this.contentDocument||this.document,e=t.documentElement||t.body,n=e.getElementsByTagName("textarea")[0],i=n?n.getAttribute("data-type"):null,r=n?n.getAttribute("data-status"):200,t=n?n.getAttribute("data-statusText"):"OK",e={html:e.innerHTML,text:i?n.value:e?e.textContent||e.innerText:null};a(),o(r,t,e,i?"Content-Type: "+i:null)}),i[0].submit()}),c("body").append(i,r)},abort:function(){null!==r&&(r.unbind("load").attr("src","javascript:false;"),a())}}})}),FD50.plugin("server",function($){var self=$.server=function(i){var r=$.Deferred(),t=$.extend(!0,{},self.defaultOptions,i,{success:function(){}}),t=r.xhr=$.Ajax(t).done(function(t){if("string"==typeof t)try{t=$.parseJSON(t)}catch(t){r.rejectWith(r,["Unable to parse Ajax commands.","error"])}var n;$.isArray(t)?(n=function(t){var e=t.type,e=self.parsers[e]||i[e];if($.isFunction(e))return e.apply(r,t.data)},t=$.map(t,function(t){return"notify"!=t.type?t:void n(t)}),$.each(t,function(t,e){n(e)})):r.rejectWith(r,["Invalid ajax commands.","error"]),"pending"===r.state()&&r.resolveWith(r)}).fail(function(t,e,n){r.rejectWith(r,[n,e])});return r.abort=t.abort,r};self.defaultOptions={type:"POST",data:{tmpl:"component",format:"ajax",no_html:1},cache:!1,contentType:"application/x-www-form-urlencoded",dataType:"json"},self.parsers={script:function(){var data=$.makeArray(arguments);if("string"!=typeof data[0]){var chain=window,chainBroken=!1;$.each(data,function(t,e){"Foundry"===e.property&&(e.property=$.globalNamespace),"Foundry"===e.method&&(e.method=$.globalNamespace);try{switch(e.type){case"get":chain=chain[e.property];break;case"set":chain[e.property]=e.value,chainBroken=!0;break;case"call":chain=chain[e.method].apply(chain,e.args)}}catch(t){chainBroken=!0}})}else try{eval(data[0])}catch(err){}},resolve:function(){this.resolveWith(this,arguments)},reject:function(){this.rejectWith(this,arguments)},notify:function(){this.notifyWith(this,arguments)},redirect:function(t){window.location=t}}}),FD50.plugin("component",function(a){var i=!1,s=a.Component=function(t,e){return arguments.length<1?s.registry:arguments.length<2?s.registry[t]:s.register(t,e)};s.registry={},s.proxy=function(t,e,n){t[e]=n,a.isFunction(n)&&(t[e]=a.proxy(n,t))},s.register=function(t,e){var n;a.isFunction(t)&&(t=(n=t).className,e=n.options);var i=s.registry[t]=window[t]=function(t){return a.isFunction(t)?t(a):component};if(a.each(s.prototype,function(t,e){s.proxy(i,t,e)}),i.$=a,i.options=e,i.className=t,i.identifier="easyblog",i.componentName="com_easyblog",i.prefix=i.identifier+"/",i.version=e.version,i.safeVersion=i.version.replace(/\./g,""),i.scriptVersion=e.scriptVersion,i.environment=e.environment||a.environment,i.mode=e.mode||a.mode,i.debug="development"===i.environment,i.console=s.console(i),i.language=e.language||a.locale.lang||"en",i.ajaxUrl=e.ajaxUrl||a.basePath+"/?option="+i.componentName,i.scriptPath=e.scriptPath||a.rootPath+"/media/"+i.componentName+"/scripts/",i.viewPath=e.viewPath||i.ajaxUrl+"&tmpl=component&no_html=1&controller=themes&task=getAjaxTemplate",i.scriptVersioning=e.scriptVersioning||!1,i.tasks=[],FD50.component(t,i),n)if(i.debug)n.queue.execute();else{for(var r,o=FD50.installer(t);r=o.shift();)i.install.apply(i,r);a.when(i.install("definitions"),i.install("scripts")).done(function(){n.queue.execute()})}},s.extend=function(n,i){s.prototype[n]=i,a.each(s.registry,function(t,e){s.proxy(e,n,i)})},a.template("component/console",'<div id="[%== component.identifier %]-console" class="foundry-console" style="display: none; z-index: 999999;"><div class="console-header"><div class="console-title">[%= component.className %] [%= component.version %]</div><div class="console-remove-button">x</div></div><div class="console-log-item-group"></div><style type="text/css">.foundry-console{position:fixed;width:50%;height:50%;bottom:0;left:0;background:white;box-shadow: 0 0 5px 0;margin-left: 25px;}.console-log-item-group{width: 100%;height: 100%;overflow-y:scroll;}.console-header{position: absolute;background:red;color:white;font-weight:bold;top:-24px;left: 0;line-height:24px;width:100%}.console-remove-button{text-align:center;cursor: pointer;display:block;width: 24px;float:right}.console-remove-button:hover{color: yellow}.console-title{padding: 0 5px;float:left}.console-log-item{padding: 5px}.console-log-item + .console-log-item{border-top: 1px solid #ccc}</style></div>'),s.console=function(t){return r=t,n.selector="#"+r.identifier+"-console",n.init=function(){return(o=a(n.selector)).length<1&&(o=a(a.View("component/console",{component:r})).appendTo("body")).find(".console-remove-button").click(function(){o.hide()}),n.element=o,arguments.callee},n.methods={log:function(t,e,n){e=e||"info";var i=o.find(".console-log-item-group"),t=a(document.createElement("div")).addClass("console-log-item type-"+e).attr("data-code",n).html(t);i.append(t),i[0].scrollTop=i[0].scrollHeight,r.debug&&o.show()},toggle:function(){o.toggle()},reset:function(){o.find(".console-log-item-group").empty()}},a.each(n.methods,function(t,e){n[t]=function(){return n.init(),e.apply(n,arguments)}}),n;function n(t){return arguments.length<1?n.toggle():n[t]&&n[t].apply(n,arguments)}var r,o};var e=a(document),t=s.prototype;a.extend(t,{run:function(t){return a.isFunction(t)?t(a):this},ready:(e.ready(function(){t.ready=t.run}),function(t){a.isFunction(t)&&e.ready(function(){t(a)})}),install:function(t,e){var n=this,i=n.tasks[t]||(n.tasks[t]=a.Deferred());if(!e)return i;function r(){return e(a,n),i.resolve()}if("definitions"==t)return r();a.when(n.install("definitions")).done(r)},token:function(){return window.ezb.csrfToken||Joomla.getOptions("csrf.token",window.ezb.token)},template:function(t){var e=this;return null==t?a.grep(a.template(),function(t){return 0==t.indexOf(e.prefix)}):(arguments[0]=e.prefix+t,a.template.apply(null,arguments))},require:function(t){var r=this,t=t||{},n=a.require(t),o={};return a.each(["library","script","language","template","done"],function(t,e){o[e]=n[e]}),n.library=function(){return o.script.apply(this,arguments),n},n.script=function(){var i=this.expand(arguments,{path:r.scriptPath}),t=a.map(i.names,function(t){if(a.isArray(t)||a.isUrl(t)||/^(\/|\.)/.test(t))return t;var e=i.options.extension||"production"==r.options.environment?"min.js":"js",n=r.scriptVersioning?"?"+r.scriptVersion+"=1":"";return[[r.prefix+t,a.uri(i.options.path).toPath("./"+t+"."+e+n).toString(),!0]]});return o.script.apply(n,[i.options].concat(t)),n},n.template=function(){var t=this.expand(arguments,{path:r.scriptPath});return o.template.apply(n,[t.options].concat(a.map(t.names,function(t){return[[r.prefix+t,t]]}))),n},n.done=function(e){return o.done.call(n,function(){void 0===window.ezb.csrfToken?!1===i?i=EasyBlog.ajax("site/controllers/base/csrf").done(function(t){window.ezb.csrfToken=t,r.ready(e)}):i.done(function(){r.ready(e)}):r.ready(e)})},n},module:function(t,e){if(!a.isArray(t)){t=this.prefix+t;return e?a.module.apply(null,[t,function(){e.call(this,a)}]):a.module(t)}}}),a.Component.extend("ajax",function(t,e,n){var i=this,r=new Date,o={url:i.ajaxUrl+"&_ts="+r.getTime(),data:a.extend(e,{option:i.componentName,namespace:t})};if((o=a.extend(!0,o,i.options.ajax)).data[i.token()]=1,o.data.hasOwnProperty("args")&&(o.data.args=a.toJSON(o.data.args
1)),a.isPlainObject(n)){if(n.type){switch(n.type){case"jsonp":n.dataType="jsonp",n.crossDomain=!0,o.data.transport="jsonp";break;case"iframe":n.iframe=!0,n.processData=!1,n.files=o.data.files,delete o.data.files,o.data.transport="iframe"}delete n.type}a.extend(o,n)}a.isFunction(n)&&(o.success=n);t=a.server(o);return t.progress(function(t,e,n){i.debug&&"debug"==e&&i.console.log(t,e,n)}),t}),a.Component.extend("Controller",function(){var t,e=a.makeArray(arguments),n=e[0];return 1==e.length?a.String.getObject(n):(e=2<e.length?(t=e[1],e[2]):(t={},e[1]),a.extend(t,{root:this.className+".Controller",component:this}),a.Controller.apply(this,[n,t,e]))}),a.Component.extend("View",function(t){return arguments.length<1?this.template():(arguments[0]=this.prefix+t,a.View.apply(this,arguments))}),FD50.module.execute(),a.each(FD50.component(),function(t,e){e.registered||a.Component.register(e)})}),FD50.plugin("static",function($){$.module(["autosize.input","dialog","image"]),FD50.module("autosize.input",function(r){function t(){function i(t,e){var n=this;n.input=r(t),n.options=r.extend(i.defaultOptions,e),n.mirror=r('<span class="autosize-input" style="position:absolute; top:-999px; left:0; white-space:pre;"/>'),r.each(["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent"],function(t,e){n.mirror[0].style[e]=n.input.css(e)}),r("body").append(n.mirror),n.input.bind("keydown keyup input",function(t){n.update()}),n.update()}i.defaultOptions={space:30},i.validTypes=["text","password","search","url","tel","email"],i.prototype.update=function(){var t=this.input,e=this.mirror,n=(n=t.val())||t.attr("placeholder");n!==e.text()&&(e.text(n),e=e.width()+this.options.space,t.width(e))},r.fn.autosizeInput=function(e){return this.each(function(){var t;"INPUT"==this.tagName&&-1<r.inArray(this.type,i.validTypes)&&((t=r(this)).data("autosizeInputInstance")||t.data("autosizeInputInstance",new i(this,e)))})},r(function(){r("input[data-autosize-input]").autosizeInput()})}t(),this.resolveWith(t)}),function(){var moduleFactory=function($){var module=this,exports=function(){var dialogHtml='<div id="eb" class="eb-dialog has-footer type-html active"><div class="eb-dialog-modal"><div class="eb-dialog-header"><div class="eb-dialog-header__grid"><div class="eb-dialog-back-button t-hidden"><i class="fdi fa fa-arrow-left"></i></div><div class="eb-dialog-header__cell"><span class="eb-dialog-title"></span></div><div class="eb-dialog-close-button"><span aria-hidden="true"><i class="fdi fa fa-times"></i></span></div></div></div><div class="eb-dialog-body"><div class="eb-dialog-container"><div class="eb-dialog-content"></div><div class="o-loader"></div><div class="o-empty"><div class="o-empty__content"><i class="o-empty__icon fa fa-exclamation-triangle"></i><div class="o-empty__text"><span class="eb-dialog-error-message"></span></div></div></div></div></div><div class="eb-dialog-footer"><div><div class="eb-dialog-footer-content"></div></div></div></div></div>',dialog_=".eb-dialog",dialogModal_=".eb-dialog-modal",dialogContent_=".eb-dialog-content",dialogHeader_=".eb-dialog-header",dialogFooter_=".eb-dialog-footer",dialogFooterContent_=".eb-dialog-footer-content",dialogCloseButton_=".eb-dialog-close-button",dialogBackButton_=".eb-dialog-back-button",dialogTitle_=".eb-dialog-title",dialogErrorMessage_=".eb-dialog-error-message",divider="eb-dialog-header--divider",isFailed="is-failed",isLoading="is-loading",rxBraces=/\{|\}/gi,self=EasyBlog.dialog=function(t){if(void 0===t)return self;$.isString(t)&&(t={content:t});var e=self.open;return(e=window.parentEasyBlogDialog?window.parentEasyBlogDialog.open:e).apply(self,[t]),self};$.extend(self,{defaultOptions:{title:"",content:"",buttons:"",buttonAlignment:"default",classname:"",width:"auto",height:"auto",back:!1,escapeKey:!0},open:function(e){var n=$(dialog_);n.length<1&&(dialogHtml=$(dialogHtml),$("body").addClass("has-eb-dialog"),window.ezb.mobile&&dialogHtml.addClass("is-mobile"),window.ezb.ios&&dialogHtml.addClass("is-iphone"),n=dialogHtml.appendTo("body"));e=$.extend({},self.defaultOptions,e);$(dialogTitle_).html(e.title);var t=$(dialogHeader_);t.removeClass(divider),e.title&&t.addClass(divider);var i=$(dialogFooterContent_);i.html(e.buttons),n.toggleClass("has-footer",!!e.buttons),i.toggleClass("eb-dialog-footer-content--space-evenly","center"==e.buttonAlignment),$(dialogBackButton_).addClass("t-hidden"),e.back&&$(dialogBackButton_).removeClass("t-hidden"),self.setBindings(e);var r=$(dialogContent_).empty(),o=e.content,a=self.getContentType(o);n.switchClass("si-theme--"+window.ezb.appearance),n.switchClass("type-"+a);var s=$(dialogModal_),l=e.width,u=e.height;
1switch($.isNumeric(u)&&(i=$(dialogFooter_),u+=t.height()+i.height()),s.css({width:l,height:u}),n.addClassAfter("active"),a){case"html":r.html(o),n.trigger("init");break;case"iframe":var c=$("<iframe>"),d=$("<div />").html(o).text();c.appendTo(r).one("load",function(){try{c[0].contentWindow.parentEasyBlogDialog=self}catch(t){}}).attr("src",d);break;case"deferred":return n.switchClass(isLoading),void o.done(function(t){$.isPlainObject(t)?self.reopen($.extend(!0,e,t)):$.isString(t)?(e.content=t,self.reopen(e)):n.switchClass(isFailed)}).fail(function(t){n.switchClass(isFailed);var e=$(dialogErrorMessage_);$.isString(t)&&e.html(t),$.isPlainObject(t)&&t.message&&e.html(t.message)}).always(function(){n.removeClass(isLoading)});case"dialog":d=self.parseXMLOptions(o);return void self.open($.extend(!0,e,d))}},reopen:function(t){self.close(),self.open(t)},close:function(){$("body").removeClass("has-eb-dialog"),self.unsetBindings(),$(dialog_).remove()},getContentType:function(t){return/<dialog>(.*?)/.test(t)?"dialog":$.isUrl(t)?"iframe":$.isDeferred(t)?"deferred":"html"},parseXMLOptions:function(xml){var xmlOptions=$.buildHTML(xml),newOptions={};return $.each(xmlOptions.children(),function(i,node){var node=$(node),key=$.String.camelize(this.nodeName.toLowerCase()),val=node.html(),type=node.attr("type");switch(type){case"json":try{val=$.parseJSON(val)}catch(e){}break;case"javascript":try{val=eval("(function($){ return "+$.trim(val)+" })("+$.globalNamespace+")")}catch(e){}break;case"text":val=node.text()}$.isNumeric(val)&&(val=parseFloat(val)),newOptions.buttonAlignment="default","BUTTONS"==this.nodeName&&(newOptions.buttonAlignment=node.attr("alignment")||"default"),newOptions[key]=val}),newOptions},bindings:{},setBindings:function(t){self.unsetBindings();var r,o,e=t.selectors,n=t.bindings;e&&n&&(r={parent:self},o=$(dialog_),$.each(e,function(t,e){t=t.replace(rxBraces,"");(r[t]=function(){return o.find(e)}).selector=e}),$.each(n,function(t,e){var n=t.split(" "),i=n[0].replace(rxBraces,""),t=n[1]+".eb.dialog",n=r[i];"init"==i&&o.on(i,function(){var t=[this].concat(arguments);e.apply(r,t)}),n&&(n=n.selector,o.on(t,n,function(){e.apply(r,[this].concat(arguments))}),self.bindings[t]=e)})),t.escapeKey&&$(document).on("keydown.eb.dialog",function(t){27==t.keyCode&&self.close()})},unsetBindings:function(){var n=$(dialog_);$.each(self.bindings,function(t,e){n.off(t)}),$(document).off("keydown.eb.dialog")}}),$(document).on("click",dialogCloseButton_,function(){self.close()}).on("click",dialog_,function(t){var e=$(dialog_);t.target==e[0]&&self.close()})};exports(),module.resolveWith(exports)};FD50.module("dialog",moduleFactory)}(),FD50.module("image",function(o){function t(){o.fn.image=function(t){t=o.Image[t];return t&&t.apply(this[0],o.makeArray(arguments).slice(1))},o.Image={get:function(t){var n="IMG"===this.nodeName,i=o(n?this:new Image),r=o.Deferred();return i.on("load",function(){var t;n||i.appendTo("body");var e={width:e=i.width(),height:t=i.height(),aspectRatio:e=e/t,orientation:t=1==e?"square":e<1?"tall":"wide"};i.css({position:"absolute",left:"-99999px"}).data(e).addClass("orientation-"+t).removeAttr("style"),n||i.detach(),r.resolve(i,e)}).on("error",function(){r.reject()}).attr("src",t),r},aspectRatio:function(t,e){return o.isPlainObject(t)&&(e=(t=t.width).height),t/e},orientation:function(t,e){return o.isPlainObject(t)&&(e=(t=t.width).height),t===e?"square":e<t?"wide":"tall"},resizeProportionate:function(t,e,n,i,r){var o=t,a=e,s=n/t,o=t*s,a=e*s;return("outer"==r?a<i:i<a)&&(o=t*(s=i/e),a=e*s),{top:(i-a)/2,left:(n-o)/2,width:o,height:a}},resizeWithin:function(t,e,n,i){return o.Image.resizeProportionate(t,e,n,i,"inner")},resizeToFill:function(t,e,n,i){return o.Image.resizeProportionate(t,e,n,i,"outer")}}}t(),this.resolveWith(t)})}),FD50.installer("EasyBlog","definitions",function(t){t.module(["easyblog/shared/foundry","easyblog/shared/gallery","easyblog/site/authors","easyblog/site/bookmarklet","easyblog/site/bookmarks","easyblog/site/dropcap","easyblog/site/gdpr","easyblog/site/layout/image/legacy","easyblog/site/layout/image/popup","easyblog/site/layout/tpl","easyblog/site/posts/entry","easyblog/site/posts/gallery","easyblog/site/posts/listings","easyblog/site/posts/pinterest","easyblog/site/posts/polls","easyblog/site/posts/posts","easyblog/site/posts/readingprogress","easyblog/site/posts/reports","easyblog/site/posts/tools","easyblog/site/reactions","easyblog/site/site","easyblog/site/slider","easyblog/site/subscribe","easyblog/site/vendors/affix","easyblog/site/vendors/ratings"])}),FD50.installer("EasyBlog","scripts",function(t){EasyBlog.module("shared/foundry",function(r){r(document).on("change.form.toggler","[data-eb-toggler-checkbox]",function(){var t=r(this),e=t.is(":checked"),t=t.parents("[data-eb-toggler]");0<t.length&&t.find("input[type=hidden]").val(e?1:0).trigger("change")}),r(document).on("change.form.toggler.value","[data-eb-toggler-checkbox] ~ input[type=hidden]",function(){var t=r(this),e=1==t.val(),n=t.siblings("[data-eb-toggler-checkbox]"),t=n.is(":checked");!e||t?!e&&t&&n.prop("checked",!1):n.prop("checked",!0)}),jQuery(document).on("fd.easyblog.toggler.disabled",function(t,e,n){EasyBlog.dialog({width:400,height:140,title:e,content:n})}),r(document).on("click","[data-eb-toggler]",function(t){var e=r(this),n=e.data("disabled"),i=e.data("disabledDesc");n&&0<i.length&&(e=e.data("disabledTitle"),fd.trigger("easyblog","toggler.disabled",[e,i]))}),jQuery(document).on("fd.easyblog.article.browse",function(t,e,n,i){window.insertArticle=function(t,e){n.val(e),i.val(t),EasyBlog.dialog().close()},EasyBlog.dialog({content:EasyBlog.ajax("admin/views/articles/browse")})}),jQuery(document).on("fd.easyblog.user.browse",function(t,e,n,i){window.insertUser=function(t,e){n.val(e),i.val(t),EasyBlog.dialog().close()},EasyBlog.dialog({content:EasyBlog.ajax("admin/views/bloggers/browse")})}),jQuery(document).on("fd.easyblog.textcopy.copied",function(t,e){(e=r(e)).attr("data-original-title",e.data("copied")).tooltip("show")}),jQuery(document).on("fd.easyblog.textcopy.mouseout",function(t,e){r(e).attr("data-original-title",r(e).data("c
1opy")).tooltip("show")}),jQuery(document).on("fd.easyblog.ratings.click",function(t,e,n){const i=e.closest("[data-rating-form]");var r=i.data("type"),e=i.data("id");EasyBlog.ajax("site/views/ratings/vote",{value:n,type:r,id:e}).done(function(t,e){i.addClass("voted"),i.find("[data-rating-text]").html(e),i.find("[data-rating-total]").text(t)})}),this.resolve()}),EasyBlog.module("shared/gallery",function(t){var e=this;EasyBlog.require().script("site/vendors/swiper").done(function(s){var l=".eb-gallery-viewport",n=EasyBlog.ImageGallery={setLayout:function(t){t.find(".eb-gallery-item").each(function(t){var e=s(this),n="rtl"==window.ezb.direction?"right":"left";e.css(n,100*t+"%")}),t.data("autoplay")&&this.autoplay.start(t)},autoplay:{start:function(t){var e=1e3*t.data("interval");n.autoplay.stop(t);e=setTimeout(function(){n.next(t),n.autoplay.start(t)},e);t.data("timer",e)},stop:function(t){t=t.data("timer");clearTimeout(t)}},checkAutoplay:function(t){var e=1e3*t.data("interval");this.stopMonitoringAutoplay(t),setTimeout(function(){n.next(t),n.startMonitoringAutoplay(t)},e)},go:function(t,e){},next:function(t){var e=n.getActiveIndex(t);n.go(t,e+1)},prev:function(t){var e=n.getActiveIndex(t);n.go(t,e-1)},setActiveIndex:function(t,e){n.getMenuItems(t).removeClass("active").eq(e).addClass("active")},getActiveIndex:function(t){t=n.getMenuItems(t).filter(".active").index();return t=t<0?0:t},getMenuItems:function(t){return t.find(".eb-gallery-menu-item")}};s(document).ready(function(t){s(".ebd-block[data-type=gallery]:not([data-eb-composer-block-menu]").each(function(){var t=s(this),e=t.data("uid"),n=t.closest(".ebd-block[data-type=gallery][data-uid="+e+"]"),i=t.find("[data-eb-gallery-container]"),r=t.find(".eb-gallery-menu"),o=t.find(".eb-gallery-button.eb-gallery-next-button"),a=t.find(".eb-gallery-button.eb-gallery-prev-button"),e=i.find(l).data("eb-gallery-initial-slide"),t=0;0<e&&(t=e);t=new Swiper(s(i),{pagination:{el:r,clickable:!0},navigation:{nextEl:o,prevEl:a},initialSlide:t});n.data("swiper",t)})}),e.resolve()})}),EasyBlog.module("site/authors",function(r){EasyBlog.Controller("Authors.Item",{defaultOptions:{"{subscribe}":"[data-author-subscribe]","{unsubscribe}":"[data-author-unsubscribe]"}},function(t,n){return{init:function(){n.id=t.element.data("id")},"{subscribe} click":function(){EasyBlog.dialog({content:EasyBlog.ajax("site/views/subscription/form",{id:n.id,type:"blogger"})})},"{unsubscribe} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/subscription/unsubscribe",{id:n.id,type:"blogger",email:r(t).data("email")})})}}}),EasyBlog.Controller("Authors.Listing",{defaultOptions:{"{item}":"[data-item]"}},function(t){return{init:function(){t.item().implement(EasyBlog.Controller.Authors.Listing.Item)}}}),EasyBlog.Controller("Authors.Listing.Item",{defaultOptions:{"{feature}":"[data-author-feature]","{unfeature}":"[data-author-unfeature]","{featuredTag}":"[data-featured-tag]","{subscribe}":"[data-author-subscribe]","{unsubscribe}":"[data-author-unsubscribe]"}},function(n,i){return{init:function(){i.id=n.element.data("id")},featureItem:function(){EasyBlog.ajax("site/views/featured/makeFeatured",{type:"blogger",id:i.id}).done(function(){n.feature().addClass("hide"),n.unfeature().removeClass("hide"),n.featuredTag().removeClass("hide")})},"{subscribe} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/subscription/form",{id:i.id,type:"blogger"})})},"{unsubscribe} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/subscription/unsubscribe",{id:i.id,type:"blogger",email:r(t).data("email")})})},"{feature} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/featured/confirm",{type:"blogger",id:i.id}),bindings:{"{submitButton} click":function(){n.featureItem(),EasyBlog.dialog().close()}}})},"{unfeature} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/featured/removeFeatured",{type:"blogger",id:i.id}),bindings:{"{closeButton} click":function(){n.unfeature().addClass("hide"),n.feature().removeClass("hide"),n.featuredTag().addClass("hide"),EasyBlog.dialog().close()}}})}}}),this.resolve()}),EasyBlog.module("site/bookmarklet",function(s){s.bookmarklet=function(t,e,n,i){n=this[e].call(s(t),n);n.attachEvent&&!s.browser.opera?n.attachEvent("onreadystatechange",i
1):n.addEventListener("load",i,!1)};var r,o,a=!(s.fn.bookmarklet=function(t,e,n){var i=this;s(document).ready(function(){s.bookmarklet[t].call(i,e,n)})}),l=!(s.bookmarklet.linkedin=function(t){var e=this[0],n=e.parentNode,i=document.createElement("script"),r=document.createElement("script"),t={type:"in/share","data-url":t.url,"data-counter":"large"==t.size?"top":"right"};s(i).attr(t),n.insertBefore(i,e),n.removeChild(e),a||(e=document.getElementsByTagName("head")[0],r=document.createElement("script"),e.appendChild(r),r.type="text/javascript",r.src="//platform.linkedin.com/in.js",a=!0)});s.bookmarklet.pocket=function(t){var e=this[0],n=e.parentNode,i=document.createElement("a"),r=document.createElement("script"),t={"data-pocket-label":"pocket","data-pocket-count":"large"==t.size?"vertical":"horizontal","data-save-url":t.url,"data-lang":"en"};s(i).addClass("pocket-btn").attr(t),n.insertBefore(i,e),n.removeChild(e),l||(e=document.getElementsByTagName("head")[0],r=document.createElement("script"),e.appendChild(r),r.type="text/javascript",r.src="//widgets.getpocket.com/v1/j/btn.js?v=1",l=!0)},window.trackTwitter=function(t){var e;t&&(t.target&&"IFRAME"==t.target.nodeName&&(e=extractParamFromUri(t.target.src,"url")),_gaq.push(["_trackSocial","twitter","tweet",e]))},s.bookmarklet.twitter=function(t){var e=this[0],n=e.parentNode,i=document.createElement("a"),r=document.createElement("script"),o="large"==t.size?"vertical":"horizontal",o={class:"twitter-share-button",href:"https://twitter.com/share","data-url":t.url,"data-counturl":t.url,"data-count":o,"data-via":t.via,"data-text":t.text};s(i).attr(o).html("Tweet"),n.insertBefore(i,e),n.insertBefore(r,e),n.removeChild(e);var a=window.twttr;return a||(s(r).attr({type:"text/javascript",src:"https://platform.twitter.com/widgets.js"}).appendTo("head"),a=window.twttr={_e:[],ready:function(t){a._e.push(t)}},t.tracking&&a.ready(function(t){a.events.bind("tweet",window.trackTwitter)})),r},s.bookmarklet.google=function(t){var e=this[0],n=e.parentNode,i=document.createElement("g:plusone"),t={size:"large"==t.size?"tall":"medium",href:t.href};return s(i).attr(t),n.insertBefore(i,e),n.removeChild(e),r?gapi&&gapi.plusone&&gapi.plusone.go(n):(clearTimeout(o),o=setTimeout(function(){var t=document.getElementsByTagName("head")[0],e=document.createElement("script");t.appendChild(e),e.type="text/javascript",e.src="//apis.google.com/js/plusone.js",r=!0},1e3)),e};function u(){clearTimeout(t),t=setTimeout(function(){},1e3)}var c,t,d=!(s.bookmarklet.facebook=function(t){function e(){t.tracking&&(window.FB.Event.subscribe("edge.create",function(t){_gaq.push(["_trackSocial","facebook","like",t])}),window.FB.Event.subscribe("edge.remove",function(t){_gaq.push(["_trackSocial","facebook","unlike",t])}),window.FB.Event.subscribe("message.send",function(t){_gaq.push(["_trackSocial","facebook","send",t])}))}var n,i=this[0],r=i.parentNode,o=document.createElement("fb:like"),a="large"==t.size?"box_count":"button_count";return s(o).attr({class:"fb-like","data-href":t.url,"data-send":t.send,"data-layout":a,"data-action":t.verb,"data-locale":t.locale,"data-colorscheme":t.theme,"data-show-faces":!1}),r.insertBefore(o,i),r.removeChild(i),window.FB?(u(),e()):(document.getElementById("fb-root")||s("<div id='fb-root'></div>").prependTo("body"),(o=document.getElementById("facebook-jssdk"))?c||(/xfbml/.test(o.src)||(n=window.fbAsyncInit,window.fbAsyncInit=function(){s.isFunction(n)&&n(),u(),e()}),c=!0):(r=document.getElementsByTagName("head")[0],o=document.createElement("script"),r.appendChild(o),o.id="facebook-jssdk",o.src="//connect.facebook.net/"+t.locale+"/sdk.js#xfbml=1&version=v3.0")),i}),e=!(s.bookmarklet.xing=function(t){var e=this[0],n=e.parentNode,i=document.createElement("div"),t={"data-url":t.url,"data-counter":"small"==t.size?"right":"top","data-type":"XING/Share"};s(i).attr(t).html(""),n.insertBefore(i,e),n.removeChild(e),d||(n=document.getElementsByTagName("head")[0],e=document.createElement("script"),n.appendChild(e),e.type="text/javascript",e.src="//www.xing-share.com/js/external/share.js",d=!0)});window.initVk=function(t){e||(VK.init({apiId:t,onlyWidgets:!0}),e=!0)},s.bookmarklet.vk=function(t){var e="large"==t.size?"vertical":"button";window.initVk(t.apiKey),VK.Widgets.Like(t.placeholder,{type:e})},this.resolve()}),EasyBlog.module("site/bookmarks",function(t){EasyBlog.Controller("Site.Bookmarks",{defaultOptions:{"{button}":"[data-bookmarks-button]"}},function(n,t){return{open:function(t){var e=screen.height/2-250,n=screen.width/2-250;window.open(t,"","width=500,height=500,left="+n+",top="+e)},"{button} click":function(t,e){t=t.data("url");n.open(t)}}}),this.resolve()}),EasyBlog.module("site/dropcap",function(e){e.getFirstTextBlock=function(t){t=t.find('.ebd-block[data-type="text"]');if(!(t.length<=0))return e(t[0])},e.getFirstParagraph=function(t){return t.find("> p").first()},this.resolve()}),EasyBlog.module("site/gdpr",function(t){t(document).on("click.gdpr.link","[data-gdpr-download-l
1ink]",function(){EasyBlog.dialog({content:EasyBlog.ajax("site/views/dashboard/confirmDownloadGDPR")})}),this.resolve()}),EasyBlog.module("site/layout/image/legacy",function(b){b(document).ready(function(){function t(){b(".easyblog-thumb-preview img, img.easyblog-image-caption, img[data-popup], img[data-style]").each(function(){var t=b(this),e=t.parent(),n=t.attr("src"),i=t.is(".speedcache-lazy"),r="";i&&(r=t.attr("data-speedcachelazy-src"));var o=t.is(".jch-lazyload"),a="";o&&(a=t.attr("data-src"));var s=t.is(".jspeed-img-lazyload"),l="";s&&(l=t.attr("data-src"));var u=b('<div class="eb-image">'),c=b('<div class="eb-image-figure">');c.appendTo(u);var d=b('<a class="eb-image-viewport"><img /></a>');d.appendTo(c);var f=e.is(".easyblog-thumb-preview"),p=!!t.attr("data-popup"),h=f||p;e.is("a:not(.easyblog-thumb-preview)");h?(m=t.attr("data-popup"),f&&(m=e.attr("href"),e.attr("data-popup")&&(m=e.attr("data-popup"))),c=(c=m.replace("https://","//")).replace("http://","//"),f=(f=window.eb.rootUrl.replace("https://","//")).replace("http://","//"),c.indexOf(f)<0&&(m=window.eb.rootUrl+"/"+m),d.addClass("eb-image-popup-button").attr({href:m,title:e.attr("title")})):d.attr({href:e.attr("href"),title:e.attr("title"),target:e.attr("target")});var g=u.find("img"),m=t.attr("width"),d=null!=m&&0<=m.indexOf("%");g.attr({src:n,width:m=d?"100%":m,height:t.attr("height"),alt:t.attr("alt")}),i&&(g.attr("data-speedcachelazy-src",r),g.addClass("speedcache-lazy speedcache-lazy-hidden")),o&&(g.attr("data-src",a),g.addClass("jch-lazyload")),s&&(g.attr("data-src",l),g.attr("src",l),g.addClass("jspeed-img-lazyloaded"));var v,s=t.is(".easyblog-image-caption");s&&(v=b('<div class="eb-image-caption"><span></span></div>'),y=t.attr("title"),v.appendTo(u).find("span").append(y),m?v.css("width",m):(v.hide(),g.on("load",function(){v.css("width",g.width()).show()})));l=t.attr("data-style")||(s?"gray":"");l&&u.addClass("style-"+l);var m=(m=(y=t).parent(),"none"!=(s="none"==(s=m.css("float"))?y.css("float"):s)||"auto"==(l=y[0].style).marginLeft&&"auto"==l.marginRight&&(s="center"),"none"==s&&(void 0!==(s=m.attr("align"))&&"none"!=s||(s=y.attr("align"))),s=/none|middle/.test(s)?"center":s),y=b('<div class="ebd-block ebd-block--legacy" data-type="image">'),s="auto";d&&(s=t.attr("width")),/left|right/.test(m)&&y.addClass("is-nested nest-"+m).css("width",s),/center/.test(m)&&y.addClass("is-"+m).css("text-align","center").css("width",s).css("display","block").css("margin-right","auto").css("margin-left","auto"),y.append(u),(h&&!p?e:t).replaceWith(y)})}t(),b(document).on("ebscroll.onAfterEntryLoad",function(){t()}),b(document).on("ebscroll.onAfterListingLoad",function(){t()})}),this.resolve()}),EasyBlog.module("site/layout/image/popup",function(f){var t="",p="",s="",u=".eb-image-popup",h=".eb-image-popup-button",l=".eb-image-popup-container",g=".eb-image-popup-footer",i=".eb-image-popup-thumbs",r=".eb-image-popup-thumb",m=".eb-image",c=".eb-image-viewport",d=".eb-image-caption > span",e="keyup.eb.imagepopup",n="click.eb.imagepopup",o="resize.eb.imagepopup",a="keydown.eb.imagepopup",v="data-eb-entry-cover",y=EasyBlog.ImagePopup={getDirection:function(){return"rtl"==window.ezb.direction?"right":"left"},init:function(){""==t&&(t=EasyBlog.template("site/layout/image/popup"),p=EasyBlog.template("site/layout/image/popup/thumb"),s=EasyBlog.template("site/layout/image/container"))},open:function(){y.init(),f("body").addClass("is-eb-photo-popup"),y.close(),f("body").noscroll(!0),f(window).off(e).on(e,function(t){27==t.which&&(y.close(),f("body").removeClass("is-eb-photo-popup"))}).off(n).on(n,function(t){f(t.target).parentsUntil(u).andSelf().filter(m).length||(y.close(),f("body").removeClass("is-eb-photo-popup"))}).off(o).on(o,function(t){y.refresh()}).off(a).on(a,function(t){var e,n,i;f(r).length&&(e=t.which,/37|38|39|40/.test(e)&&(n=f(r+".active"),/37|38/.test(e)&&(i=n.prev(r)),(i=/39|40/.test(e)?n.next(r):i).length&&y.openPopupThumb(i),t.preventDefault()))}),f(t).appendTo("body")},close:function(){f(window).off(e).off(n).off(o).off(a),f(u).data("destoyed",!0).remove(),f("body").noscroll(!1)},openThumbnails:function(t,a,s){y.open();var l,e=f(g),u=f(i),c=0,d=0;t.find(m).each(function(){var t=f(this),e=t.attr(v);if(void 0!==e&&!1!==e)return!0;var n=t.find(h);if(s&&0==n.length)return!0;var i=t.find("img").attr("src"),r=n.attr("href"),o=n.attr("title"),e=f("<img />"),n=t.find("picture"),o=f(p).attr("data-url",r).attr("data-caption",o);0<n.length&&(e=n.clone()),n.length<1&&e.attr("src",i),o.find("div").append(e),o.appendTo(u).end(),c+=o.outerWidth(!0),t[0]==a[0]&&(l=o),d++}),1<d&&e.show(),u.css("width",c),y.openPopupThumb(l)},openImage:function(t){y.open();var e=t.find(d),n=t.find(h),i=n.attr("href"),e=e.text();e=(e=e||n.attr("caption"))||n.attr("title"),y.showImage(t,i,e)},openPopupThumb:function(t){var e=t.attr("data-url"),n=t.attr("data-caption");f(r).removeClass("active"),t.addClass("active"),y.showImage(t,e,n),y._reposition()},showImage:function(t,e,n){var i=f(u),r=i.find(l);i.addClass("is-loading"),i.find(m).remove();var o=f(s),a=o.find(c);o.find(d).text(n).css("display",n?"block":"none"),o.addClass("style-popup").appendTo(r);o=f("<img>"),r=t.find("picture");0<r.length&&((t=r.clone()).find("img").on("load",function(){y.onImageLoad(i)}).on("error",function(){y.onImageError(i)}),o=t),r.length<1&&o.on("load",function(){y.onImageLoad(i)}).on("error",function(){y.onImageError(i)}).attr("src",e),o.appendTo(a)},onImageLoad:function(t){t.data("destroyed")||(t.removeClass("is-loading").addClass("is-preparing"),y.resize(),t.removeClassAfter("is-preparing"))},onImageError:function(t){t.removeClass("is-loading").addClass("is-failed")},refresh:function(){y.resize(),y.reposition()},resize:function(){var t=f(u),e=f(g),n=t.find(m),i=n.find("img"),r=e.height(),o=i.width(),a=i.height(),s=t.
1width(),l=t.height(),e=.75*l-r,t=.75*s/o;targetWidth=o*t,targetHeight=a*t,targetHeight>e&&(targetWidth=o*(t=e/a),targetHeight=a*t),i.css({width:targetWidth,height:targetHeight});a=n.width(),t=n.height()-r,i=this.getDirection();n.css("top",(l-t)/2-r),n.css(i,(s-a)/2)},reposition:function(){var t=f(g),e=f(i),n=f(r+".active");n.length<1||(t=t.width()/2,n=n.position().left+n.width()/2,e.css("left",t-n))},_reposition:f.debounce(function(){y.reposition()},350)};f(document).on("click",c,function(t){var e=f(this);"javascript:void(0)"===e.attr("href")&&e.siblings(h).click()}).on("click",h,function(t){var e,n,i;t.shiftKey||t.ctrlKey||t.metaKey||((n=(e=(i=f(this)).closest(m)).closest(".eb-thumbs")).length?y.openThumbnails(n,e):void 0!==(i=i.parent().attr(v))&&!1!==i?y.openImage(e):(i=e.parents("[data-blog-content], [data-blog-posts-item]"),y.openThumbnails(i,e,!0)),t.stopPropagation(),t.preventDefault())}).on("click",c,function(t){var e=f(this);e.attr("href")||(e=e.closest(m).find(h)).length&&(e.click(),t.stopPropagation(),t.preventDefault())}).on("click",r,function(t){var e=f(this);y.openPopupThumb(e),t.stopPropagation(),t.preventDefault()}).on("click",".eb-image-popup-close-button",function(){y.close(),f("body").removeClass("is-eb-photo-popup")}).on("click",l,function(t){var e=f(c);e.is(t.target)||0!==e.has(t.target).length||(y.close(),f("body").removeClass("is-eb-photo-popup"))}),this.resolve()}),EasyBlog.module("site/layout/tpl",function(n){var i=EasyBlog.template=function(t){if(t){if(i.cache.hasOwnProperty(t))return i.cache[t];var e=n.trim(n('.eb-template[data-name="'+t+'"]').detach().html());return e&&(i.cache[t]=e),e}};i.cache={},this.resolve()}),EasyBlog.module("site/posts/entry",function(t){var e=this;EasyBlog.require().done(function(l){EasyBlog.Controller("Entry",{defaultOptions:{autoload:!1,autoloadOffset:450,dropcap:null,windowHeight:null,documentHeight:null,ga_enabled:!1,ga_tracking_id:"",currentPageUrl:"","{posts}":"[data-eb-posts-wrapper]","{sections}":"[data-eb-post-section]","{pagination}":"[data-eb-pagination-loadmore]","{exclusion}":"[data-eb-pagination-exclusion]","{postContent}":".eb-entry-article[data-blog-content]"}},function(a,s){return{init:function(){a.initPinterest(s),a.initializeGallery(),a.initPolls(),s.dropcap&&a.initDropcaps(),1==s.autoload&&(s.windowHeight=void 0!==window.outerHeight?Math.max(window.outerHeight,l(window).height()):l(window).height(),s.documentHeight=l(document).height(),a.initUrlChanger(),s.documentHeight<s.windowHeight&&a.loadMore(),a.on("scroll.posts",window,l._.debounce(function(){a.loading||!a.pagination().visible()&&l(window).scrollTop()+s.windowHeight+s.autoloadOffset<s.documentHeight||a.loadMore()},10)))},initDropcaps:function(){EasyBlog.require().script("site/dropcap").done(function(){var t=a.postContent(),e=l.getFirstTextBlock(t);e?e.addClass("has-drop-cap"):(t=l.getFirstParagraph(t))&&t.addClass("has-drop-cap")})},initPolls:function(t,e){var n;s.isPollsEnabled&&!s.isPreview&&(n=(void 0===t?a.posts():t).find("[data-blog-content]"),EasyBlog.require().script("site/posts/polls").done(function(t){EasyBlog.polls.init(n,s.userId,e)}))},initializeGallery:function(t){EasyBlog.require().script("site/posts/gallery").done(function(){EasyBlog.gallery.hasGalleryBlock()&&EasyBlog.gallery.init(t)})},initUrlChanger:function(){var r,t=0,o=s.currentPageUrl;l(window).scroll(function(){window.clearTimeout(l.data("this","scrollTimer")),l.data(this,"scrollTimer",window.setTimeout(function(){r=l(window).scrollTop(),t<r?a.sections().each(function(t,e){if(l(e).offset().top+l(e).height()>r){var n=l(e).data("url"),i=l(e).data("pageTitle"),e=l(e).data("permalink");return n==o?!1:(history.replaceState(null,i,n),l("title").html(i),o=n,a.updateGA(e),!1)}}):r<t&&a.sections().each(function(t,e){if(l(e).offset().top+l(e).height()-s.windowHeight/2>r){var n=l(e).data("url"),i=l(e).data("pageTitle"),e=l(e).data("permalink");return n==o?!1:(history.replaceState(null,i,n),l("title").html(i),o=n,a.updateGA(e),!1)}}),t=r},250))})},loadMore:function(){var o=a.pagination().data("postId"),t=a.exclusion().val();o&&(a.loading=!0,a.pagination().addClass("is-loading"),EasyBlog.ajax("site/views/entry/loadmore",{id:o,exclusion:t}).done(function(t){var e=JSON.parse(t),t=l(e.contents),n=e.previousPostId,i=t.data("url"),r=t.data("postTitle"),i={id:o,title:r,url:i};l(document).trigger("ebscroll.onBeforeEntryLoad",[i]),a.pagination().data("postId",n),(t=l.buildHTML(t)).appendTo(a.posts()),n&&""!=n||a.pagination().remove(),a.parsePinterestBtn(),a.initExt(),a.initializeGallery(!0),a.initPolls(l(t),!0),a.exclusion().val(e.exclusion),s.documentHeight=l(document).height(),l(document).trigger("ebscroll.onAfterEntryLoad",[i])}).always(function(){a.pagination().removeClass("is-loading"),a.loading=!1,s.documentHeight<s.windowHeight&&a.loadMore()}))},parsePinterestBtn:function(){"function"==typeof window.parsePinterestBtn&&window.parsePinterestBtn()},initPinterest:function(t){EasyBlog.require().script("site/posts/pinterest").done(function(){EasyBlog.pinterest.hasEmbedBlocks()&&EasyBlog.pinterest.init()})},initExt:function(){void 0!==window.__sharethis__&&window.__sharethis__.initialize(),void 0!==window.addthis&&window.addthis.layers.refresh()},updateGA:function(t){s.ga_enabled&&window.ezb.gtag("config",s.ga_tracking_id,{page_path:t})},"{pagination} click":function(){a.loading||a.loadMore()}}}),e.resolve()})}),EasyBlog.module("site/posts/gallery",function(t){var e=".ebd-block[data-type=gallery]:not([data-eb-gallery-initialized]";EasyBlog.gallery={loaded:!1,init:function(t){EasyBlog.gallery.loaded&&!t||(EasyBlog.require().script("site/vendors/swiper").done(function(s){s(e).each(function(){var t=s(this),e=t.find(".eb-gallery-stage"),n=t.find(".eb-gallery-viewport"),i=t.find(".eb-gallery-item"),r=0;e.hasClass("swiper-container")||(e.addClass("swiper-container"),e.attr("data-eb-gallery-container",""),n.addClass("swiper-wrapper"),i.addClass("swiper-slide"),(o=n.attr("style"))&&((a=o.match(/(left|right)+:\s-(.*?)%;/))&&"undefined"!=a[2]&&(r=a[2]/100),n.css("left",""),n.css("right","")));var e=t.find("[data-eb-gallery-container]"),i=t.find(".eb-gallery-menu"),o=t.find(".eb-gallery-button.eb-gallery-next-button"),a=t.find(".eb-gallery-button.eb-gallery-prev-button"),n=n.data("eb-gallery-initial-slide");0<n&&(r=n);new Swiper(s(e),{pagination:{el:i,clickable:!0},navigation:{nextEl:o,prevEl:a},initialSlide:r});t.attr("data-eb-gallery-initialized","")})}),EasyBlog.gallery.loaded=!0)},hasGalleryBlock:function(){return 0<t(e).length}},this.resolve()}),EasyBlog.module("site/posts/listings",function(t){var e=this;EasyBlog.require().script("site/posts/posts").done(function(s){EasyBlog.Controller("Listings",{defaultOptions:{ratings:!1,autoload:!1,gdpr_enabled:!1,autoloadOffset:450,style:"default",windowHeight:null,documentHeight:null,"{posts}":"[data-blog-posts]","{sections}":"[data-eb-posts-section]","{postContent}":".eb-post-body","{pagination}":"[data-eb-pagination-loadmore]"}},function(a,i){return{init:function(){i.windowHeight=void 0!==window.outerHeight?Math.max(window.outerHeight,s(window).height()):s(window).height(),i.documentHeight=s(document).height(),a.posts().implement(EasyBlog.Controller.Posts,{ratings:i.ratings,gdpr_enabled:i.gdpr_enabled}),i.dropcap&&a.initDropcaps(),a.initPolls(),1==i.autoload&&(a.initUrlChanger(),i.documentHeight<i.windowHeight&&a.loadMore(),a.on("scroll.posts",window,s._.debounce(function(){a.loading||!a.pagination().visible()&&s(window).scrollTop()+i.windowHeight+i.autoloadOffset<i.documentHeight||a.loadMore()},10))),"column"===i.rowStyle&&"masonry"===i.columnStyle&&(a.initMasonry(),s(window).on("resize",a.initMasonry),s(document).on("ebscroll.onAfterListingLoad",a.initMasonry))},initMasonry:function(){EasyBlog.require().library("masonry","imagesloaded").done(function(){var t=a.posts();imagesLoaded(t[0],function(){msnry=new Masonry(t[0],{itemSelector:".eb-post-listing__item",columnWidth:".eb-post-listing__item",gutter:20,percentPosition:!0,resize:!1,isRTL:!1})})})},initPolls:function(t,e){var n;i.isPollsEnabled&&(n=void 0===t?a.posts():t,EasyBlog.require().script("site/posts/polls").done(function(t){EasyBlog.polls.init(n,i.userId,e)}))},initDropcaps:function(){EasyBlog.require().script("site/dropcap").done(function(){a.postContent().each(function(t,e){var e=s(e),n=s.getFirstTextBlock(e);n||(n=s.getFirstParagraph(e)).length?n.addClass("has-drop-cap"):e.contents().filter(function(t,e){return 3===this.nodeType&&!!s.trim(s(e).text())}).wrap('<p class="has-drop-cap">')})})},initializeGallery:function(t){EasyBlog.require().script("site/posts/gallery").done(function(){EasyBlog.gallery.hasGalleryBlock()&&EasyBlog.gallery.init(t)})},initUrlChanger:function(){var r,o="";s(window).scroll(function(){window.clearTimeout(s.data("this","scrollTimer")),s.data(this,"scrollTimer",window.setTimeout(function(){r=s(window).scrollTop(),a.sections().each(function(t,e){var n=(e=s(e)).offset().top,i=t+1,t=a.sections().eq(i),i=!1;if(0<t.length&&(i=t.offset().top),n<r&&!1===i||!1!==i&&r<i){e=e.data("url");return e==o?!1:(history.pushState("","",e),o=e,!1)}})},50))})}
1,loadMore:function(){var t=a.pagination().data("limitstart");t&&(a.loading=!0,a.pagination().addClass("is-loading"),EasyBlog.ajax("site/views/latest/loadmore",{limitstart:t,excludeIds:i.excludeIds||[],isGrid:i.isGrid||!1}).done(function(t){var e=JSON.parse(t),t=s(e.contents),e=e.limitstart;s(document).trigger("ebscroll.onBeforeListingLoad"),a.pagination().data("limitstart",e),(t=s.buildHTML(t)).appendTo(a.posts()).addController(EasyBlog.Controller.Posts,{ratings:i.ratings,gdpr_enabled:i.gdpr_enabled}),""==e&&a.pagination().remove(),a.parsePinterestBtn(),a.initExt(),a.initializeGallery(!0),a.initPolls(s(t),!0),i.documentHeight=s(document).height(),s(document).trigger("ebscroll.onAfterListingLoad")}).always(function(){a.pagination().removeClass("is-loading"),a.loading=!1,i.documentHeight<i.windowHeight&&a.loadMore()}))},parsePinterestBtn:function(){"function"==typeof window.parsePinterestBtn&&window.parsePinterestBtn()},initExt:function(){void 0!==window.__sharethis__&&window.__sharethis__.initialize(),void 0!==window.addthis&&window.addthis.layers.refresh()},"{pagination} click":function(){a.loading||a.loadMore()}}}),e.resolve()})}),EasyBlog.module("site/posts/pinterest",function(t){EasyBlog.pinterest={loaded:!1,init:function(){var t,e;EasyBlog.pinterest.loaded||(t=document.getElementsByTagName("script")[0],(e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="//assets.pinterest.com/js/pinit.js",e.setAttribute("data-pin-build","parsePinterestBtn"),t.parentNode.insertBefore(e,t),EasyBlog.pinterest.loaded=!0)},hasEmbedBlocks:function(){return 0<t(".ebd-block[data-type=pinterest]").length}},this.resolve()}),EasyBlog.module("site/posts/polls",function(r){EasyBlog.polls={loaded:!1,init:function(e,n,t){var i;EasyBlog.polls.loaded&&!t||(i=[],0<(t=e.find("[data-poll-wrapper]")).length&&t.each(function(t,e){e=(e=r(e)).data("id");i.push(e)}),i.length<1||EasyBlog.require().script("site/polls").done(function(t){e.find("[data-poll-wrapper]").implement(EasyBlog.Controller.Polls,{userId:n}),EasyBlog.polls.loaded=!0}))}},this.resolve()}),EasyBlog.module("site/posts/posts",function(t){var e=this;EasyBlog.require().script("site/posts/tools","site/posts/reports","site/vendors/ratings").done(function(s){EasyBlog.Controller("Posts",{defaultOptions:{gdpr_enabled:!1,"{item}":"[data-blog-posts-item]","{revision}":"[data-revision-item]","{approvePost}":"[data-blog-moderate-approve]","{rejectPost}":"[data-blog-moderate-reject]","{publishPost}":"[data-blog-preview-publish]","{submitApproval}":"[data-blog-preview-submit-approval]","{trashPost}":"[data-blog-preview-trash]","{useRevision}":"[data-blog-preview-userevision]","{deleteRevision}":"[data-blog-preview-deleterevision]","{ratings}":"[data-rating-form]"}},function(n,t){return{init:function(){n.tools=n.addPlugin("tools"),n.reports=n.addPlugin("reports"),n.id=n.item().data("id"),n.uid=n.item().data("uid"),1==t.gdpr_enabled&&n.initializeGDPR(),t.ratings&&n.initializeRatings(),n.initPinterest(t),n.initializeGallery(),n.initTabsSwitching()},initializeRatings:function(){n.ratings().implement(EasyBlog.Controller.Ratings)},initTabsSwitching:function(){var t=document.location.toString();t.match("#")&&s('.nav-tabs a[href="#'+t.split("#")[1]+'"]').tab("show")},initializeGDPR:function(){var t=n.find("[data-blog-content]").find("iframe");(t=(t=t.length<1?n.find("[data-blog-posts-item]").find("iframe"):t).length<1?n.find("iframe"):t).each(function(t,e){var n=s(e),i=n.data("src");if(!(i=!i||void 0===i?n.attr("src"):i))return!0;var r=document.createElement("a");if(r.href=i,"true"===s.cookie("eb.gdpr.iframe_consent."+r.host))return!0;n.attr("src"," "),n.addClass("hide");var e=s("[data-gdpr-template]").clone(),o=n.parent();o.append(e.html()),o.addClass("has-gdpr-notice");var a=o.find("[data-gdpr-notice-container]"),e=(e=a.find("[data-gdpr-template-title]").data("title-template")).replace("{url}",r.host);a.find("[data-gdpr-template-title]").html(e),a.find("[data-gdpr-direct-link]").attr("href",i),a.find("[data-gdpr-template-agree]").on("click.eb.gdpr",function(){s.cookie("eb.gdpr.iframe_consent."+r.host,!0),a.remove(),n.attr("src",i),n.removeClass("hide"),o.removeClass("has-gdpr-notice")})})},initPinterest:function(t){EasyBlog.require().script("site/posts/pinterest").done(function(){EasyBlog.pinterest.hasEmbedBlocks()&&EasyBlog.pinterest.init()})},initializeGallery:function(t){EasyBlog.require().script("site/posts/gallery").done(function(){EasyBlog.gallery.hasGalleryBlock()&&EasyBlog.gallery.init(t)})},"{approvePost} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/d
1ashboard/confirmApproveBlog",{"ids[]":n.uid}),bindings:{"{submitButton} click":function(){this.form().submit()}}})},"{rejectPost} click":function(t,e){EasyBlog.dialog({content:EasyBlog.ajax("site/views/dashboard/confirmRejectBlog",{"ids[]":n.uid}),bindings:{"{submitButton} click":function(){this.form().submit()}}})},"{publishPost} click":function(t,e){EasyBlog.ajax("site/views/entry/publish",{id:n.id}).done(function(){})},"{submitApproval} click":function(t,e){EasyBlog.ajax("site/views/entry/submitApproval",{id:n.id}).done(function(){})},"{trashPost} click":function(t,e){EasyBlog.ajax("site/views/entry/trash",{id:n.id}).done(function(){})},"{useRevision} click":function(t,e){t=s(t).parents("[data-revision-item]"),t=s(t).data("id");EasyBlog.dialog({content:EasyBlog.ajax("site/views/entry/confirmUseRevision",{uid:n.id+"."+t})})},"{deleteRevision} click":function(t,e){var n=s(t).parents("[data-revision-item]"),i=s(n).data("id");EasyBlog.dialog({content:EasyBlog.ajax("site/views/revisions/deleteRevision",{id:i}),bindings:{"{submitButton} click":function(){EasyBlog.ajax("site/controllers/posts/deleteRevision",{id:i}).done(function(){s(n).remove(),EasyBlog.dialog().close()})}}})}}}),e.resolve()})}),EasyBlog.module("site/posts/readingprogress",function(t){var e=this;EasyBlog.require().script("site/vendors/affix").done(function(t){EasyBlog.Controller("Posts.Readingprogress",{defaultOptions:{autoload:!1,"{progressBar}":"[data-blog-reading-progress]","{blogContent}":"[data-blog-reading-container]","{affix}":"[data-eb-spy=affix]"}},function(n,i){return{init:function(){n.bar=n.element.find(n.progressBar.selector),n.content=n.element.find(n.blogContent.selector),t(document).height(),n.content.height(),n.content.offset().top,setTimeout(function(){n.initProgressBar(),n.initEvent(),n.updateHeader()},250)},initProgressBar:function(){n.bar.attr({max:n.getMax()}),n.updateProgressBar()},initEvent:function(){t(window).resize(function(){n.updateHeader()}),t(document).on("scroll",function(){n.updateProgressBar()}),t(window).resize(function(){n.bar.attr({max:n.getMax(),value:n.getValue()})})},updateProgressBar:function(){var t=n.getValue();n.bar.attr({value:n.getValue()}),0<t&&t<=n.getMax()?n.bar.parent().removeClass("hide"):n.bar.parent().addClass("hide")},updateHeader:function(){var t=n.element.width(),e=n.affix().offset();n.affix().css("width",t);t=0;i.autoload&&(t=e.top-20),n.affix().affix({offset:{top:t}})},getMax:function(){return i.autoload||n.getBottomMargin()>t(window).height()?n.content.height()-150:t(document).height()-t(window).height()},getValue:function(){return i.autoload||n.getBottomMargin()>t(window).height()?t(window).scrollTop()-n.content.offset().top+20:t(window).scrollTop()},getBottomMargin:function(){return t(document).height()-(n.content.height()+n.content.offset().top)}}}),e.resolve()})}),EasyBlog.module("site/posts/reports",function(t){EasyBlog.Controller("Posts.Reports",{defaultOptions:{"{report}":"[data-blog-report]"}},function(e){return{"{report} click":function(t){t=e.parent.item.of(t).data("id");EasyBlog.dialog({content:EasyBlog.ajax("site/views/reports/form",{id:t,type:"post"}),bindings:{}})}}}),this.resolve()}),EasyBlog.module("site/posts/tools",function(n){EasyBlog.Controller("Posts.Tools",{defaultOptions:{"{delete}":"[data-entry-delete]","{publish}":"[data-entry-publish]","{unpublish}":"[data-entry-unpublish]","{feature}":"[data-entry-feature]","{unfeature}":"[data-entry-unfeature]","{unarchive}":"[data-entry-unarchive]","{archive}":"[data-entry-archive]","{favourite}":"[data-entry-favourite]","{unfavourite}":"[data-entry-unfavourite]"}},function(i){return{init:function(){},"{unarchive} click":function(t){var e=i.parent.item.of(t).data("id"),t=t.data("return");EasyBlog.dialog({content:EasyBlog.ajax("site/views/entry/confirmUnarchive",{id:e,return:t})})},"{archive} click":function(t){var e=i.parent.item.of(t).data("id"),t=n(t).data("return");EasyBlog.dialog({content:EasyBlog.ajax("site/views/entry/confirmArchive",{id:e,return:t})})},"{delete} click":function(t){var e=i.parent.item.of(t).data("id"),t=n(t).data("return");
1EasyBlog.dialog({content:EasyBlog.ajax("site/views/entry/confirmDelete",{id:e,return:t})})},"{favourite} click":function(n){var t=i.parent.item.of(n).data("id"),e=n.data("action");EasyBlog.ajax("site/controllers/posts/"+e,{ids:[t]}).done(function(t,e){n.toggleClass("is-favourited"),n.data("action",t),n.attr("data-original-title",e)})},"{feature} click":function(t){var e=i.parent.item.of(t).data("id"),t=n(t).data("return");EasyBlog.ajax("site/controllers/posts/feature",{ids:[e],return:t})},"{unfeature} click":function(t){var e=i.parent.item.of(t).data("id"),t=n(t).data("return");EasyBlog.ajax("site/controllers/posts/unfeature",{ids:[e],return:t})},"{publish} click":function(t){var e=i.parent.item.of(t).data("id"),t=t.data("return");EasyBlog.dialog({content:EasyBlog.ajax("site/views/entry/confirmPublish",{id:e,return:t})})},"{unpublish} click":function(t){var e=i.parent.item.of(t).data("id"),t=t.data("return");EasyBlog.dialog({content:EasyBlog.ajax("site/views/entry/confirmUnpublish",{id:e,return:t})})}}}),this.resolve()}),EasyBlog.module("site/reactions",function(t){EasyBlog.Controller("Reactions",{defaultOptions:{"{reaction}":"[data-reaction]","{alert}":"[data-alert]","{selected}":"[data-current-reaction]"}},function(r,o){return{getPostId:function(){return r.element.data("id")},getCounter:function(t){return r.getResponse(t).find("[data-count]")},getCount:function(t){return parseInt(r.getCounter(t).text())},getResponse:function(t){return r.reaction("[data-id="+t+"]")},getAlert:function(){return r.element.find(r.alert.selector)},setAlert:function(t,e){void 0===e&&(e="success"),r.getAlert().removeClass("hide alert-success alert-danger").addClass("alert-"+e).html(t)},increment:function(t){var e=r.getCounter(t),t=r.getCount(t);e.text(t+1)},decrement:function(t){var e=r.getCounter(t),t=r.getCount(t);e.text(t-1)},"{reaction} click":function(t,e){var n,i;o.allowed?(n=t.data("id"),i=r.getPostId(),t.data("reaction"),EasyBlog.ajax("site/controllers/reactions/save",{postId:i,reactionId:n}).done(function(t){r.increment(n),r.getResponse(n).addClass("is-active"),t&&(r.decrement(t),r.getResponse(t).removeClass("is-active"))})):EasyBlog.dialog({width:450,content:o.disallowedMessage})}}}),this.resolve()}),EasyBlog.require().library("dialog","ui/position").script("site/layout/tpl","site/layout/image/popup","site/layout/image/legacy","site/subscribe","site/gdpr","site/slider","shared/foundry").done(function(t){document.documentElement.classList.add("si-theme--"+window.ezb.appearance)}),EasyBlog.module("site/slider",function(t){var e=this;EasyBlog.require().script("site/vendors/swiper").done(function(c){function d(t,e,n){var i,r,o,a,s=n.data("slides-per-view"),l=n.data("direction"),u=n.find("[data-thumbs]");0<u.length&&(r=u.data("space-between"),o=u.data("watch-slides-visibility"),a=u.data("watch-slides-progress"),l={freeMode:1==u.data("free-mode"),slidesPerView:s||"auto",direction:l||"horizontal",slideToClickedSlide:!0},r&&(l.spaceBetween=r),o&&(l.watchSlidesVisibility=o),a&&(l.watchSlidesProgress=a),i=new Swiper(u,l),e.thumbs={swiper:i});var c=new Swiper(t,e),d=n.find("[data-featured-next]"),f=n.find("[data-featured-previous]");return c.on("slideChange",function(){d.removeClass("eb-gallery-button--disabled"),f.removeClass("eb-gallery-button--disabled"),c.isBeginning&&f.addClass("eb-gallery-button--disabled"),c.isEnd&&d.addClass("eb-gallery-button--disabled")}),c.snapGrid[c.snapGrid.length-1]=c.slidesGrid[c.slidesGrid.length-1],c}var t=c("[data-eb-slider]");0<t.length&&t.each(function(t,n){var i=(n=c(n)).find("[data-container]"),e=n.data("slides-per-view"),r=n.closest(".sp-menu-item").length,o={freeMode:1==n.data("free-mode"),slidesPerView:e||"auto",observer:!0,observeParents:!0,observeSlideChildren:!0};r<=0&&0!=n.data("autoplay")&&(l=1e3*parseInt(n.data("interval")),o.autoplay={delay:l});e=n.find("[data-eb-slider-pagination]");0<e.length&&(o.pagination={el:e,clickable:!0,renderBullet:function(t,e){return'<li class="eb-gallery-menu-item '+e+'">'+(t+1)+"</li>"}});var a=d(i,o,n),s=n.find("[data-eb-slider-custom-pagination]");0<s.length&&(a.on("slideChange",function(){s.removeClass("active"),s.filter("[data-index="+a.activeIndex+"]").addClass("active")}),s.on("click",function(){var t=c(this).data("index");a.slideTo(t)}));var l=n.find("[data-featured-next]"),e=n.find("[data-featured-previous]");0<l.length&&l.on("click",function(){a.slideNext()}),0<e.length&&e.on("click",function(){a.slidePrev()}),(r=n.closest(".sp-menu-item").length)&&c("li.sp-menu-item > a").on("mouseover",function(t){var e;void 0!==a&&(void 0!==o.thumbs&&void 0!==o.thumbs.swiper&&o.thumbs.swiper.destroy(),a.destroy(),0!=n.data("autoplay")&&(e=1e3*parseInt(n.data("interval")),o.autoplay={delay:e}),a=d(i,o,n))});var u=n.find("[data-ratings]");0<u.length&&EasyBlog.require().script("site/vendors/ratings").done(function(t){u.find("[data-rating-form]").implement(EasyBlog.Controller.Ratings)})}),e.resolve()})}),EasyBlog.module("site/subscribe",function(n){n(document).on("click.eb.subscribe","[data-blog-subscribe]",function(){var t=n(this).data("type"),e=n(this).data("id");EasyBlog.dialog({content:EasyBlog.ajax("site/views/subscription/form",{type:t,id:e})})}),n(document).on("click.eb.unsubscribe","[data-blog-unsubscribe]",function(){var t=n(this).data("subscription-id"),e=n(this).data("return");
1EasyBlog.dialog({content:EasyBlog.ajax("site/views/subscription/confirmUnsubscribe",{id:t,return:e}),bindings:{"{submitButton} click":function(){this.form().submit()}}})}),this.resolve()}),EasyBlog.module("site/vendors/affix",function(t){!function(a){"use strict";function s(t,e){this.options=a.extend({},s.DEFAULTS,e),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(t),this.affixed=this.unpin=null,this.checkPosition()}s.RESET="affix affix-top affix-bottom",s.DEFAULTS={offset:0},s.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},s.prototype.checkPosition=function(){var t,e,n,i,r,o;this.$element.is(":visible")&&(t=a(document).height(),e=this.$window.scrollTop(),n=this.$element.offset(),o=(i=this.options.offset).top,r=i.bottom,"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top()),"function"==typeof r&&(r=i.bottom()),o=!(null!=this.unpin&&e+this.unpin<=n.top)&&(null!=r&&n.top+this.$element.height()>=t-r?"bottom":null!=o&&e<=o&&"top"),this.affixed!==o&&(this.unpin&&this.$element.css("top",""),this.affixed=o,this.unpin="bottom"==o?n.top-e:null,this.$element.removeClass(s.RESET).addClass("affix"+(o?"-"+o:"")),"bottom"==o&&this.$element.offset({top:document.body.offsetHeight-r-this.$element.height()})))};var t=a.fn.affix;a.fn.affix=function(n){return this.each(function(){var t=a(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new s(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},a.fn.affix.Constructor=s,a.fn.affix.noConflict=function(){return a.fn.affix=t,this},a(window).on("load",function(){a('[data-eb-spy="affix"]').each(function(){var t=a(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),t.affix(e)})})}(t),this.resolve()}),EasyBlog.module("site/vendors/ratings",function(t){EasyBlog.Controller("Ratings",{defaultOptions:{"{showRating}":"[data-rating-voters]","{totalRating}":"[data-rating-total]"}},function(t,e){return{init:function(){e.type=t.element.data("type"),e.uid=t.element.data("id"),jQuery(document).trigger("fd.init.ratings",[t.element.find("[data-fd-rating]")])},"{showRating} click":function(){parseInt(t.totalRating().text(),10)<=0||EasyBlog.dialog({content:EasyBlog.ajax("site/views/ratings/voters",{uid:e.uid,type:e.type})})}}}),this.resolve()})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.