Repository navigation
Expand file tree
/
Copy pathall.568db2c2.js
More file actions
11 lines (11 loc) · 320 KB
/
Copy pathall.568db2c2.js
File metadata and controls
11 lines (11 loc) · 320 KB
1
2
3
4
5
6
7
8
9
10
11
if(!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e="length"in t&&t.length,n=Z.type(t);return"function"!==n&&!Z.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}function i(t,e,n){if(Z.isFunction(e))return Z.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return Z.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(at.test(e))return Z.filter(e,t,n);e=Z.filter(e,t)}return Z.grep(t,function(t){return G.call(e,t)>=0!==n})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function o(t){var e=dt[t]={};return Z.each(t.match(pt)||[],function(t,n){e[n]=!0}),e}function s(){Q.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1),Z.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+a.uid++}function u(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(wt,"-$1").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:bt.test(n)?Z.parseJSON(n):n)}catch(r){}yt.set(t,e,n)}else n=void 0;return n}function c(){return!0}function l(){return!1}function h(){try{return Q.activeElement}catch(t){}}function f(t,e){return Z.nodeName(t,"table")&&Z.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function p(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function d(t){var e=Rt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function g(t,e){for(var n=0,i=t.length;i>n;n++)mt.set(t[n],"globalEval",!e||mt.get(e[n],"globalEval"))}function v(t,e){var n,i,r,o,s,a,u,c;if(1===e.nodeType){if(mt.hasData(t)&&(o=mt.access(t),s=mt.set(e,o),c=o.events)){delete s.handle,s.events={};for(r in c)for(n=0,i=c[r].length;i>n;n++)Z.event.add(e,r,c[r][n])}yt.hasData(t)&&(a=yt.access(t),u=Z.extend({},a),yt.set(e,u))}}function m(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&Z.nodeName(t,e)?Z.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&_t.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function b(e,n){var i,r=Z(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:Z.css(r[0],"display");return r.detach(),o}function w(t){var e=Q,n=Ft[t];return n||(n=b(t,e),"none"!==n&&n||(Ht=(Ht||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=Ht[0].contentDocument,e.write(),e.close(),n=b(t,e),Ht.detach()),Ft[t]=n),n}function E(t,e,n){var i,r,o,s,a=t.style;return n=n||Ut(t),n&&(s=n.getPropertyValue(e)||n[e]),n&&(""!==s||Z.contains(t.ownerDocument,t)||(s=Z.style(t,e)),Wt.test(s)&&Bt.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function T(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function C(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,r=Xt.length;r--;)if(e=Xt[r]+n,e in t)return e;return i}function _(t,e,n){var i=zt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function x(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=Z.css(t,n+Tt[o],!0,r)),i?("content"===n&&(s-=Z.css(t,"padding"+Tt[o],!0,r)),"margin"!==n&&(s-=Z.css(t,"border"+Tt[o]+"Width",!0,r))):(s+=Z.css(t,"padding"+Tt[o],!0,r),"padding"!==n&&(s+=Z.css(t,"border"+Tt[o]+"Width",!0,r)));return s}function S(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Ut(t),s="border-box"===Z.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=E(t,e,o),(0>r||null==r)&&(r=t.style[e]),Wt.test(r))return r;i=s&&(Y.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+x(t,e,n||(s?"border":"content"),i,o)+"px"}function N(t,e){for(var n,i,r,o=[],s=0,a=t.length;a>s;s++)i=t[s],i.style&&(o[s]=mt.get(i,"olddisplay"),n=i.style.display,e?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&Ct(i)&&(o[s]=mt.access(i,"olddisplay",w(i.nodeName)))):(r=Ct(i),"none"===n&&r||mt.set(i,"olddisplay",r?n:Z.css(i,"display"))));for(s=0;a>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[s]||"":"none"));return t}function A(t,e,n,i,r){return new A.prototype.init(t,e,n,i,r)}function k(){return setTimeout(function(){Yt=void 0}),Yt=Z.now()}function I(t,e){var n,i=0,r={height:t};for(e=e?1:0;4>i;i+=2-e)n=Tt[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function O(t,e,n){for(var i,r=(ne[e]||[]).concat(ne["*"]),o=0,s=r.length;s>o;o++)if(i=r[o].call(n,e,t))return i}function D(t,e,n){var i,r,o,s,a,u,c,l,h=this,f={},p=t.style,d=t.nodeType&&Ct(t),g=mt.get(t,"fxshow");n.queue||(a=Z._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,Z.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=Z.css(t,"display"),l="none"===c?mt.get(t,"olddisplay")||w(t.nodeName):c,"inline"===l&&"none"===Z.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],Jt.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(d?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;d=!0}f[i]=g&&g[i]||Z.style(t,i)}else c=void 0;if(Z.isEmptyObject(f))"inline"===("none"===c?w(t.nodeName):c)&&(p.display=c);else{g?"hidden"in g&&(d=g.hidden):g=mt.access(t,"fxshow",{}),o&&(g.hidden=!d),d?Z(t).show():h.done(function(){Z(t).hide()}),h.done(function(){var e;mt.remove(t,"fxshow");for(e in f)Z.style(t,e,f[e])});for(i in f)s=O(d?g[i]:0,i,h),i in g||(g[i]=s.start,d&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function L(t,e){var n,i,r,o,s;for(n in t)if(i=Z.camelCase(n),r=e[i],o=t[n],Z.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),s=Z.cssHooks[i],s&&"expand"in s){o=s.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function j(t,e,n){var i,r,o=0,s=ee.length,a=Z.Deferred().always(function(){delete u.elem}),u=function(){if(r)return!1;for(var e=Yt||k(),n=Math.max(0,c.startTime+c.duration-e),i=n/c.duration||0,o=1-i,s=0,u=c.tweens.length;u>s;s++)c.tweens[s].run(o);return a.notifyWith(t,[c,o,n]),1>o&&u?n:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Z.extend({},e),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Yt||k(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Z.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)c.tweens[n].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),l=c.props;for(L(l,c.opts.specialEasing);s>o;o++)if(i=ee[o].call(c,t,l,c.opts))return i;return Z.map(l,O,c),Z.isFunction(c.opts.start)&&c.opts.start.call(t,c),Z.fx.timer(Z.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function P(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(pt)||[];if(Z.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function R(t,e,n,i){function r(a){var u;return o[a]=!0,Z.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||s||o[c]?s?!(u=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),u}var o={},s=t===be;return r(e.dataTypes[0])||!o["*"]&&r("*")}function M(t,e){var n,i,r=Z.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&Z.extend(!0,t,i),t}function q(t,e,n){for(var i,r,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){u.unshift(r);break}if(u[0]in n)o=u[0];else{for(r in n){if(!u[0]||t.converters[r+" "+u[0]]){o=r;break}s||(s=r)}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function H(t,e,n,i){var r,o,s,a,u,c={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(r in c)if(a=r.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[r]:c[r]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(h){return{state:"parsererror",error:s?h:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function F(t,e,n,i){var r;if(Z.isArray(e))Z.each(e,function(e,r){n||_e.test(t)?i(t,r):F(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==Z.type(e))i(t,e);else for(r in e)F(t+"["+r+"]",e[r],n,i)}function B(t){return Z.isWindow(t)?t:9===t.nodeType&&t.defaultView}var W=[],U=W.slice,V=W.concat,z=W.push,G=W.indexOf,$={},K=$.toString,X=$.hasOwnProperty,Y={},Q=t.document,J="2.1.4",Z=function(t,e){return new Z.fn.init(t,e)},tt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,et=/^-ms-/,nt=/-([\da-z])/gi,it=function(t,e){return e.toUpperCase()};Z.fn=Z.prototype={jquery:J,constructor:Z,selector:"",length:0,toArray:function(){return U.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:U.call(this)},pushStack:function(t){var e=Z.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Z.each(this,t,e)},map:function(t){return this.pushStack(Z.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(U.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:W.sort,splice:W.splice},Z.extend=Z.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||Z.isFunction(s)||(s={}),a===u&&(s=this,a--);u>a;a++)if(null!=(t=arguments[a]))for(e in t)n=s[e],i=t[e],s!==i&&(c&&i&&(Z.isPlainObject(i)||(r=Z.isArray(i)))?(r?(r=!1,o=n&&Z.isArray(n)?n:[]):o=n&&Z.isPlainObject(n)?n:{},s[e]=Z.extend(c,o,i)):void 0!==i&&(s[e]=i));return s},Z.extend({expando:"jQuery"+(J+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===Z.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!Z.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return"object"===Z.type(t)&&!t.nodeType&&!Z.isWindow(t)&&!(t.constructor&&!X.call(t.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?$[K.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;t=Z.trim(t),t&&(1===t.indexOf("use strict")?(e=Q.createElement("script"),e.text=t,Q.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(et,"ms-").replace(nt,it)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,o=0,s=t.length,a=n(t);if(i){if(a)for(;s>o&&(r=e.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(a)for(;s>o&&(r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(tt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?Z.merge(i,"string"==typeof t?[t]:t):z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:G.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],o=0,s=t.length,a=!n;s>o;o++)i=!e(t[o],o),i!==a&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,s=t.length,a=n(t),u=[];if(a)for(;s>o;o++)r=e(t[o],o,i),null!=r&&u.push(r);else for(o in t)r=e(t[o],o,i),null!=r&&u.push(r);return V.apply([],u)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),Z.isFunction(t)?(i=U.call(arguments,2),r=function(){return t.apply(e||this,i.concat(U.call(arguments)))},r.guid=t.guid=t.guid||Z.guid++,r):void 0},now:Date.now,support:Y}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){$["[object "+e+"]"]=e.toLowerCase()});var rt=function(t){function e(t,e,n,i){var r,o,s,a,u,c,h,p,d,g;if((e?e.ownerDocument||e:F)!==D&&O(e),e=e||D,n=n||[],a=e.nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return n;if(!i&&j){if(11!==a&&(r=yt.exec(t)))if(s=r[1]){if(9===a){if(o=e.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(s))&&q(e,o)&&o.id===s)return n.push(o),n}else{if(r[2])return J.apply(n,e.getElementsByTagName(t)),n;if((s=r[3])&&E.getElementsByClassName)return J.apply(n,e.getElementsByClassName(s)),n}if(E.qsa&&(!P||!P.test(t))){if(p=h=H,d=e,g=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=x(t),(h=e.getAttribute("id"))?p=h.replace(wt,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",u=c.length;u--;)c[u]=p+f(c[u]);d=bt.test(t)&&l(e.parentNode)||e,g=c.join(",")}if(g)try{return J.apply(n,d.querySelectorAll(g)),n}catch(v){}finally{h||e.removeAttribute("id")}}}return N(t.replace(ut,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>T.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[H]=!0,t}function r(t){var e=D.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)T.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||$)-(~t.sourceIndex||$);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function l(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function f(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=W++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,s){var a,u,c=[B,o];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(u=e[H]||(e[H]={}),(a=u[i])&&a[0]===B&&a[1]===o)return c[2]=a[2];if(u[i]=c,c[2]=t(e,n,s))return!0}}}function d(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function g(t,n,i){for(var r=0,o=n.length;o>r;r++)e(t,n[r],i);return i}function v(t,e,n,i,r){for(var o,s=[],a=0,u=t.length,c=null!=e;u>a;a++)(o=t[a])&&(!n||n(o,i,r))&&(s.push(o),c&&e.push(a));return s}function m(t,e,n,r,o,s){return r&&!r[H]&&(r=m(r)),o&&!o[H]&&(o=m(o,s)),i(function(i,s,a,u){var c,l,h,f=[],p=[],d=s.length,m=i||g(e||"*",a.nodeType?[a]:a,[]),y=!t||!i&&e?m:v(m,f,t,a,u),b=n?o||(i?t:d||r)?[]:s:y;if(n&&n(y,b,a,u),r)for(c=v(b,p),r(c,[],a,u),l=c.length;l--;)(h=c[l])&&(b[p[l]]=!(y[p[l]]=h));if(i){if(o||t){if(o){for(c=[],l=b.length;l--;)(h=b[l])&&c.push(y[l]=h);o(null,b=[],c,u)}for(l=b.length;l--;)(h=b[l])&&(c=o?tt(i,h):f[l])>-1&&(i[c]=!(s[c]=h))}}else b=v(b===s?b.splice(d,b.length):b),o?o(null,s,b,u):J.apply(s,b)})}function y(t){for(var e,n,i,r=t.length,o=T.relative[t[0].type],s=o||T.relative[" "],a=o?1:0,u=p(function(t){return t===e},s,!0),c=p(function(t){return tt(e,t)>-1},s,!0),l=[function(t,n,i){var r=!o&&(i||n!==A)||((e=n).nodeType?u(t,n,i):c(t,n,i));return e=null,r}];r>a;a++)if(n=T.relative[t[a].type])l=[p(d(l),n)];else{if(n=T.filter[t[a].type].apply(null,t[a].matches),n[H]){for(i=++a;r>i&&!T.relative[t[i].type];i++);return m(a>1&&d(l),a>1&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ut,"$1"),n,i>a&&y(t.slice(a,i)),r>i&&y(t=t.slice(i)),r>i&&f(t))}l.push(n)}return d(l)}function b(t,n){var r=n.length>0,o=t.length>0,s=function(i,s,a,u,c){var l,h,f,p=0,d="0",g=i&&[],m=[],y=A,b=i||o&&T.find.TAG("*",c),w=B+=null==y?1:Math.random()||.1,E=b.length;for(c&&(A=s!==D&&s);d!==E&&null!=(l=b[d]);d++){if(o&&l){for(h=0;f=t[h++];)if(f(l,s,a)){u.push(l);break}c&&(B=w)}r&&((l=!f&&l)&&p--,i&&g.push(l))}if(p+=d,r&&d!==p){for(h=0;f=n[h++];)f(g,m,s,a);if(i){if(p>0)for(;d--;)g[d]||m[d]||(m[d]=Y.call(u));m=v(m)}J.apply(u,m),c&&!i&&m.length>0&&p+n.length>1&&e.uniqueSort(u)}return c&&(B=w,A=y),g};return r?i(s):s}var w,E,T,C,_,x,S,N,A,k,I,O,D,L,j,P,R,M,q,H="sizzle"+1*new Date,F=t.document,B=0,W=0,U=n(),V=n(),z=n(),G=function(t,e){return t===e&&(I=!0),0},$=1<<31,K={}.hasOwnProperty,X=[],Y=X.pop,Q=X.push,J=X.push,Z=X.slice,tt=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",rt=it.replace("w","w#"),ot="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",st=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),ut=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ct=new RegExp("^"+nt+"*,"+nt+"*"),lt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ht=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(st),pt=new RegExp("^"+rt+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},gt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,Et=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),Tt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},Ct=function(){O()};try{J.apply(X=Z.call(F.childNodes),F.childNodes),X[F.childNodes.length].nodeType}catch(_t){J={apply:X.length?function(t,e){Q.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}E=e.support={},_=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},O=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:F;return i!==D&&9===i.nodeType&&i.documentElement?(D=i,L=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",Ct,!1):n.attachEvent&&n.attachEvent("onunload",Ct)),j=!_(i),E.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),E.getElementsByTagName=r(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),E.getElementsByClassName=mt.test(i.getElementsByClassName),E.getById=r(function(t){return L.appendChild(t).id=H,!i.getElementsByName||!i.getElementsByName(H).length}),E.getById?(T.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&j){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},T.filter.ID=function(t){var e=t.replace(Et,Tt);return function(t){return t.getAttribute("id")===e}}):(delete T.find.ID,T.filter.ID=function(t){var e=t.replace(Et,Tt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),T.find.TAG=E.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):E.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},T.find.CLASS=E.getElementsByClassName&&function(t,e){return j?e.getElementsByClassName(t):void 0},R=[],P=[],(E.qsa=mt.test(i.querySelectorAll))&&(r(function(t){L.appendChild(t).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||P.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+H+"-]").length||P.push("~="),t.querySelectorAll(":checked").length||P.push(":checked"),t.querySelectorAll("a#"+H+"+*").length||P.push(".#.+[+~]")}),r(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&P.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),P.push(",.*:")})),(E.matchesSelector=mt.test(M=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&r(function(t){E.disconnectedMatch=M.call(t,"div"),M.call(t,"[s!='']:x"),R.push("!=",st)}),P=P.length&&new RegExp(P.join("|")),R=R.length&&new RegExp(R.join("|")),e=mt.test(L.compareDocumentPosition),q=e||mt.test(L.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},G=e?function(t,e){if(t===e)return I=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!E.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===F&&q(F,t)?-1:e===i||e.ownerDocument===F&&q(F,e)?1:k?tt(k,t)-tt(k,e):0:4&n?-1:1)}:function(t,e){if(t===e)return I=!0,0;var n,r=0,o=t.parentNode,a=e.parentNode,u=[t],c=[e];if(!o||!a)return t===i?-1:e===i?1:o?-1:a?1:k?tt(k,t)-tt(k,e):0;if(o===a)return s(t,e);for(n=t;n=n.parentNode;)u.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;u[r]===c[r];)r++;return r?s(u[r],c[r]):u[r]===F?-1:c[r]===F?1:0},i):D},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==D&&O(t),n=n.replace(ht,"='$1']"),!(!E.matchesSelector||!j||R&&R.test(n)||P&&P.test(n)))try{var i=M.call(t,n);if(i||E.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,D,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==D&&O(t),q(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==D&&O(t);var n=T.attrHandle[e.toLowerCase()],i=n&&K.call(T.attrHandle,e.toLowerCase())?n(t,e,!j):void 0;return void 0!==i?i:E.attributes||!j?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(I=!E.detectDuplicates,k=!E.sortStable&&t.slice(0),t.sort(G),I){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return k=null,t},C=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=C(e);return n},T=e.selectors={cacheLength:50,createPseudo:i,match:dt,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(Et,Tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Et,Tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=x(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(Et,Tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=U[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&U(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(at," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,u){var c,l,h,f,p,d,g=o!==s?"nextSibling":"previousSibling",v=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!u&&!a;if(v){if(o){for(;g;){for(h=e;h=h[g];)if(a?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;d=g="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?v.firstChild:v.lastChild],s&&y){for(l=v[H]||(v[H]={}),c=l[t]||[],p=c[0]===B&&c[1],f=c[0]===B&&c[2],h=p&&v.childNodes[p];h=++p&&h&&h[g]||(f=p=0)||d.pop();)if(1===h.nodeType&&++f&&h===e){l[t]=[B,p,f];break}}else if(y&&(c=(e[H]||(e[H]={}))[t])&&c[0]===B)f=c[1];else for(;(h=++p&&h&&h[g]||(f=p=0)||d.pop())&&((a?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++f||(y&&((h[H]||(h[H]={}))[t]=[B,f]),h!==e)););return f-=r,f===i||f%i===0&&f/i>=0}}},PSEUDO:function(t,n){var r,o=T.pseudos[t]||T.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[H]?o(n):o.length>1?(r=[t,t,"",n],T.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),s=r.length;s--;)i=tt(t,r[s]),t[i]=!(e[i]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=S(t.replace(ut,"$1"));return r[H]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(Et,Tt),function(e){return(e.textContent||e.innerText||C(e)).indexOf(t)>-1}}),lang:i(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Et,Tt).toLowerCase(),function(e){var n;do if(n=j?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},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,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!T.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},T.pseudos.nth=T.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})T.pseudos[w]=u(w);return h.prototype=T.filters=T.pseudos,T.setFilters=new h,x=e.tokenize=function(t,n){var i,r,o,s,a,u,c,l=V[t+" "];if(l)return n?0:l.slice(0);for(a=t,u=[],c=T.preFilter;a;){(!i||(r=ct.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),i=!1,(r=lt.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(ut," ")}),a=a.slice(i.length));for(s in T.filter)!(r=dt[s].exec(a))||c[s]&&!(r=c[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):V(t,u).slice(0)},S=e.compile=function(t,e){var n,i=[],r=[],o=z[t+" "];if(!o){for(e||(e=x(t)),n=e.length;n--;)o=y(e[n]),o[H]?i.push(o):r.push(o);o=z(t,b(r,i)),o.selector=t}return o},N=e.select=function(t,e,n,i){var r,o,s,a,u,c="function"==typeof t&&t,h=!i&&x(t=c.selector||t);if(n=n||[],1===h.length){if(o=h[0]=h[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&E.getById&&9===e.nodeType&&j&&T.relative[o[1].type]){if(e=(T.find.ID(s.matches[0].replace(Et,Tt),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=dt.needsContext.test(t)?0:o.length;r--&&(s=o[r],!T.relative[a=s.type]);)if((u=T.find[a])&&(i=u(s.matches[0].replace(Et,Tt),bt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(r,1),t=i.length&&f(o),!t)return J.apply(n,i),n;break}}return(c||S(t,h))(i,e,!j,n,bt.test(t)&&l(e.parentNode)||e),n},E.sortStable=H.split("").sort(G).join("")===H,E.detectDuplicates=!!I,O(),E.sortDetached=r(function(t){return 1&t.compareDocumentPosition(D.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),E.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);Z.find=rt,Z.expr=rt.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=rt.uniqueSort,Z.text=rt.getText,Z.isXMLDoc=rt.isXML,Z.contains=rt.contains;var ot=Z.expr.match.needsContext,st=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,at=/^.[^:#\[\.,]*$/;Z.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Z.find.matchesSelector(i,t)?[i]:[]:Z.find.matches(t,Z.grep(e,function(t){return 1===t.nodeType}))},Z.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;
if("string"!=typeof t)return this.pushStack(Z(t).filter(function(){for(e=0;n>e;e++)if(Z.contains(r[e],this))return!0}));for(e=0;n>e;e++)Z.find(t,r[e],i);return i=this.pushStack(n>1?Z.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ot.test(t)?Z(t):t||[],!1).length}});var ut,ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,lt=Z.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ct.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||ut).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof Z?e[0]:e,Z.merge(this,Z.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:Q,!0)),st.test(n[1])&&Z.isPlainObject(e))for(n in e)Z.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return i=Q.getElementById(n[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=Q,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):Z.isFunction(t)?"undefined"!=typeof ut.ready?ut.ready(t):t(Z):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),Z.makeArray(t,this))};lt.prototype=Z.fn,ut=Z(Q);var ht=/^(?:parents|prev(?:Until|All))/,ft={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&Z(t).is(n))break;i.push(t)}return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),Z.fn.extend({has:function(t){var e=Z(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(Z.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],s=ot.test(t)||"string"!=typeof t?Z(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?Z.unique(o):o)},index:function(t){return t?"string"==typeof t?G.call(Z(t),this[0]):G.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Z.unique(Z.merge(this.get(),Z(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Z.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Z.dir(t,"parentNode")},parentsUntil:function(t,e,n){return Z.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return Z.dir(t,"nextSibling")},prevAll:function(t){return Z.dir(t,"previousSibling")},nextUntil:function(t,e,n){return Z.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return Z.dir(t,"previousSibling",n)},siblings:function(t){return Z.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Z.sibling(t.firstChild)},contents:function(t){return t.contentDocument||Z.merge([],t.childNodes)}},function(t,e){Z.fn[t]=function(n,i){var r=Z.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Z.filter(i,r)),this.length>1&&(ft[t]||Z.unique(r),ht.test(t)&&r.reverse()),this.pushStack(r)}});var pt=/\S+/g,dt={};Z.Callbacks=function(t){t="string"==typeof t?dt[t]||o(t):Z.extend({},t);var e,n,i,r,s,a,u=[],c=!t.once&&[],l=function(o){for(e=t.memory&&o,n=!0,a=r||0,r=0,s=u.length,i=!0;u&&s>a;a++)if(u[a].apply(o[0],o[1])===!1&&t.stopOnFalse){e=!1;break}i=!1,u&&(c?c.length&&l(c.shift()):e?u=[]:h.disable())},h={add:function(){if(u){var n=u.length;!function o(e){Z.each(e,function(e,n){var i=Z.type(n);"function"===i?t.unique&&h.has(n)||u.push(n):n&&n.length&&"string"!==i&&o(n)})}(arguments),i?s=u.length:e&&(r=n,l(e))}return this},remove:function(){return u&&Z.each(arguments,function(t,e){for(var n;(n=Z.inArray(e,u,n))>-1;)u.splice(n,1),i&&(s>=n&&s--,a>=n&&a--)}),this},has:function(t){return t?Z.inArray(t,u)>-1:!(!u||!u.length)},empty:function(){return u=[],s=0,this},disable:function(){return u=c=e=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,e||h.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!u||n&&!c||(e=e||[],e=[t,e.slice?e.slice():e],i?c.push(e):l(e)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},Z.extend({Deferred:function(t){var e=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return Z.Deferred(function(n){Z.each(e,function(e,o){var s=Z.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&Z.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?Z.extend(t,i):i}},r={};return i.pipe=i.then,Z.each(e,function(t,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=s.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=U.call(arguments),s=o.length,a=1!==s||t&&Z.isFunction(t.promise)?s:0,u=1===a?t:Z.Deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?U.call(arguments):r,i===e?u.notifyWith(n,i):--a||u.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>r;r++)o[r]&&Z.isFunction(o[r].promise)?o[r].promise().done(c(r,i,o)).fail(u.reject).progress(c(r,n,e)):--a;return a||u.resolveWith(i,o),u.promise()}});var gt;Z.fn.ready=function(t){return Z.ready.promise().done(t),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(t){t?Z.readyWait++:Z.ready(!0)},ready:function(t){(t===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,t!==!0&&--Z.readyWait>0||(gt.resolveWith(Q,[Z]),Z.fn.triggerHandler&&(Z(Q).triggerHandler("ready"),Z(Q).off("ready"))))}}),Z.ready.promise=function(e){return gt||(gt=Z.Deferred(),"complete"===Q.readyState?setTimeout(Z.ready):(Q.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1))),gt.promise(e)},Z.ready.promise();var vt=Z.access=function(t,e,n,i,r,o,s){var a=0,u=t.length,c=null==n;if("object"===Z.type(n)){r=!0;for(a in n)Z.access(t,e,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,Z.isFunction(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(Z(t),n)})),e))for(;u>a;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:c?e.call(t):u?e(t[0],n):o};Z.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},a.uid=1,a.accepts=Z.acceptData,a.prototype={key:function(t){if(!a.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=a.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(i){e[this.expando]=n,Z.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,r=this.key(t),o=this.cache[r];if("string"==typeof e)o[e]=n;else if(Z.isEmptyObject(o))Z.extend(this.cache[r],e);else for(i in e)o[i]=e[i];return o},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,Z.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,o=this.key(t),s=this.cache[o];if(void 0===e)this.cache[o]={};else{Z.isArray(e)?i=e.concat(e.map(Z.camelCase)):(r=Z.camelCase(e),e in s?i=[e,r]:(i=r,i=i in s?[i]:i.match(pt)||[])),n=i.length;for(;n--;)delete s[i[n]]}},hasData:function(t){return!Z.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var mt=new a,yt=new a,bt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,wt=/([A-Z])/g;Z.extend({hasData:function(t){return yt.hasData(t)||mt.hasData(t)},data:function(t,e,n){return yt.access(t,e,n)},removeData:function(t,e){yt.remove(t,e)},_data:function(t,e,n){return mt.access(t,e,n)},_removeData:function(t,e){mt.remove(t,e)}}),Z.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=yt.get(o),1===o.nodeType&&!mt.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=Z.camelCase(i.slice(5)),u(o,i,r[i])));mt.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){yt.set(this,t)}):vt(this,function(e){var n,i=Z.camelCase(t);if(o&&void 0===e){if(n=yt.get(o,t),void 0!==n)return n;if(n=yt.get(o,i),void 0!==n)return n;if(n=u(o,i,void 0),void 0!==n)return n}else this.each(function(){var n=yt.get(this,i);yt.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&yt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){yt.remove(this,t)})}}),Z.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=mt.get(t,e),n&&(!i||Z.isArray(n)?i=mt.access(t,e,Z.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=Z.queue(t,e),i=n.length,r=n.shift(),o=Z._queueHooks(t,e),s=function(){Z.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return mt.get(t,n)||mt.access(t,n,{empty:Z.Callbacks("once memory").add(function(){mt.remove(t,[e+"queue",n])})})}}),Z.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Z.queue(this[0],t):void 0===e?this:this.each(function(){var n=Z.queue(this,t,e);Z._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Z.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Z.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=Z.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)n=mt.get(o[s],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Tt=["Top","Right","Bottom","Left"],Ct=function(t,e){return t=e||t,"none"===Z.css(t,"display")||!Z.contains(t.ownerDocument,t)},_t=/^(?:checkbox|radio)$/i;!function(){var t=Q.createDocumentFragment(),e=t.appendChild(Q.createElement("div")),n=Q.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),Y.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",Y.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var xt="undefined";Y.focusinBubbles="onfocusin"in t;var St=/^key/,Nt=/^(?:mouse|pointer|contextmenu)|click/,At=/^(?:focusinfocus|focusoutblur)$/,kt=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(t,e,n,i,r){var o,s,a,u,c,l,h,f,p,d,g,v=mt.get(t);if(v)for(n.handler&&(o=n,n=o.handler,r=o.selector),n.guid||(n.guid=Z.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(e){return typeof Z!==xt&&Z.event.triggered!==e.type?Z.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(pt)||[""],c=e.length;c--;)a=kt.exec(e[c])||[],p=g=a[1],d=(a[2]||"").split(".").sort(),p&&(h=Z.event.special[p]||{},p=(r?h.delegateType:h.bindType)||p,h=Z.event.special[p]||{},l=Z.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Z.expr.match.needsContext.test(r),namespace:d.join(".")},o),(f=u[p])||(f=u[p]=[],f.delegateCount=0,h.setup&&h.setup.call(t,i,d,s)!==!1||t.addEventListener&&t.addEventListener(p,s,!1)),h.add&&(h.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,l):f.push(l),Z.event.global[p]=!0)},remove:function(t,e,n,i,r){var o,s,a,u,c,l,h,f,p,d,g,v=mt.hasData(t)&&mt.get(t);if(v&&(u=v.events)){for(e=(e||"").match(pt)||[""],c=e.length;c--;)if(a=kt.exec(e[c])||[],p=g=a[1],d=(a[2]||"").split(".").sort(),p){for(h=Z.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,f=u[p]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)l=f[o],!r&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||i&&i!==l.selector&&("**"!==i||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,h.remove&&h.remove.call(t,l));s&&!f.length&&(h.teardown&&h.teardown.call(t,d,v.handle)!==!1||Z.removeEvent(t,p,v.handle),delete u[p])}else for(p in u)Z.event.remove(t,p+e[c],n,i,!0);Z.isEmptyObject(u)&&(delete v.handle,mt.remove(t,"events"))}},trigger:function(e,n,i,r){var o,s,a,u,c,l,h,f=[i||Q],p=X.call(e,"type")?e.type:e,d=X.call(e,"namespace")?e.namespace.split("."):[];if(s=a=i=i||Q,3!==i.nodeType&&8!==i.nodeType&&!At.test(p+Z.event.triggered)&&(p.indexOf(".")>=0&&(d=p.split("."),p=d.shift(),d.sort()),c=p.indexOf(":")<0&&"on"+p,e=e[Z.expando]?e:new Z.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:Z.makeArray(n,[e]),h=Z.event.special[p]||{},r||!h.trigger||h.trigger.apply(i,n)!==!1)){if(!r&&!h.noBubble&&!Z.isWindow(i)){for(u=h.delegateType||p,At.test(u+p)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(i.ownerDocument||Q)&&f.push(a.defaultView||a.parentWindow||t)}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)e.type=o>1?u:h.bindType||p,l=(mt.get(s,"events")||{})[e.type]&&mt.get(s,"handle"),l&&l.apply(s,n),l=c&&s[c],l&&l.apply&&Z.acceptData(s)&&(e.result=l.apply(s,n),e.result===!1&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||h._default&&h._default.apply(f.pop(),n)!==!1||!Z.acceptData(i)||c&&Z.isFunction(i[p])&&!Z.isWindow(i)&&(a=i[c],a&&(i[c]=null),Z.event.triggered=p,i[p](),Z.event.triggered=void 0,a&&(i[c]=a)),e.result}},dispatch:function(t){t=Z.event.fix(t);var e,n,i,r,o,s=[],a=U.call(arguments),u=(mt.get(this,"events")||{})[t.type]||[],c=Z.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(s=Z.event.handlers.call(this,t,u),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(o.namespace))&&(t.handleObj=o,t.data=o.data,i=((Z.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==t.type){for(i=[],n=0;a>n;n++)o=e[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?Z(r,this).index(u)>=0:Z.find(r,this,null,[u]).length),i[r]&&i.push(o);i.length&&s.push({elem:u,handlers:i})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},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 offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Q,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[Z.expando])return t;var e,n,i,r=t.type,o=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=Nt.test(r)?this.mouseHooks:St.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new Z.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=Q),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==h()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return Z.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=Z.extend(new Z.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?Z.event.trigger(r,null,e):Z.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},Z.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},Z.Event=function(t,e){return this instanceof Z.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:l):this.type=t,e&&Z.extend(this,e),this.timeStamp=t&&t.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(t,e)},Z.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Z.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return(!r||r!==i&&!Z.contains(i,r))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),Y.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){Z.event.simulate(e,t.target,Z.event.fix(t),!0)};Z.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=mt.access(i,e);r||i.addEventListener(t,n,!0),mt.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=mt.access(i,e)-1;r?mt.access(i,e,r):(i.removeEventListener(t,n,!0),mt.remove(i,e))}}}),Z.fn.extend({on:function(t,e,n,i,r){var o,s;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(s in t)this.on(s,e,n,t[s],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)),i===!1)i=l;else if(!i)return this;return 1===r&&(o=i,i=function(t){return Z().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=Z.guid++)),this.each(function(){Z.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,Z(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=l),this.each(function(){Z.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){Z.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?Z.event.trigger(t,e,n,!0):void 0}});var It=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ot=/<([\w:]+)/,Dt=/<|&#?\w+;/,Lt=/<(?:script|style|link)/i,jt=/checked\s*(?:[^=]|=\s*.checked.)/i,Pt=/^$|\/(?:java|ecma)script/i,Rt=/^true\/(.*)/,Mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,qt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};qt.optgroup=qt.option,qt.tbody=qt.tfoot=qt.colgroup=qt.caption=qt.thead,qt.th=qt.td,Z.extend({clone:function(t,e,n){var i,r,o,s,a=t.cloneNode(!0),u=Z.contains(t.ownerDocument,t);if(!(Y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Z.isXMLDoc(t)))for(s=m(a),o=m(t),i=0,r=o.length;r>i;i++)y(o[i],s[i]);if(e)if(n)for(o=o||m(t),s=s||m(a),i=0,r=o.length;r>i;i++)v(o[i],s[i]);else v(t,a);return s=m(a,"script"),s.length>0&&g(s,!u&&m(t,"script")),a},buildFragment:function(t,e,n,i){for(var r,o,s,a,u,c,l=e.createDocumentFragment(),h=[],f=0,p=t.length;p>f;f++)if(r=t[f],r||0===r)if("object"===Z.type(r))Z.merge(h,r.nodeType?[r]:r);else if(Dt.test(r)){for(o=o||l.appendChild(e.createElement("div")),s=(Ot.exec(r)||["",""])[1].toLowerCase(),a=qt[s]||qt._default,o.innerHTML=a[1]+r.replace(It,"<$1></$2>")+a[2],c=a[0];c--;)o=o.lastChild;Z.merge(h,o.childNodes),o=l.firstChild,o.textContent=""}else h.push(e.createTextNode(r));for(l.textContent="",f=0;r=h[f++];)if((!i||-1===Z.inArray(r,i))&&(u=Z.contains(r.ownerDocument,r),o=m(l.appendChild(r),"script"),u&&g(o),n))for(c=0;r=o[c++];)Pt.test(r.type||"")&&n.push(r);return l},cleanData:function(t){for(var e,n,i,r,o=Z.event.special,s=0;void 0!==(n=t[s]);s++){if(Z.acceptData(n)&&(r=n[mt.expando],r&&(e=mt.cache[r]))){if(e.events)for(i in e.events)o[i]?Z.event.remove(n,i):Z.removeEvent(n,i,e.handle);mt.cache[r]&&delete mt.cache[r]}delete yt.cache[n[yt.expando]]}}}),Z.fn.extend({text:function(t){return vt(this,function(t){return void 0===t?Z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=f(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=f(this,t);e.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?Z.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||Z.cleanData(m(n)),n.parentNode&&(e&&Z.contains(n.ownerDocument,n)&&g(m(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Z.cleanData(m(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Z.clone(this,t,e)})},html:function(t){return vt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Lt.test(t)&&!qt[(Ot.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(It,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(Z.cleanData(m(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,Z.cleanData(m(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=V.apply([],t);var n,i,r,o,s,a,u=0,c=this.length,l=this,h=c-1,f=t[0],g=Z.isFunction(f);if(g||c>1&&"string"==typeof f&&!Y.checkClone&&jt.test(f))return this.each(function(n){var i=l.eq(n);g&&(t[0]=f.call(this,n,i.html())),i.domManip(t,e)});if(c&&(n=Z.buildFragment(t,this[0].ownerDocument,!1,this),i=n.firstChild,1===n.childNodes.length&&(n=i),i)){for(r=Z.map(m(n,"script"),p),o=r.length;c>u;u++)s=n,u!==h&&(s=Z.clone(s,!0,!0),o&&Z.merge(r,m(s,"script"))),e.call(this[u],s,u);if(o)for(a=r[r.length-1].ownerDocument,Z.map(r,d),u=0;o>u;u++)s=r[u],Pt.test(s.type||"")&&!mt.access(s,"globalEval")&&Z.contains(a,s)&&(s.src?Z._evalUrl&&Z._evalUrl(s.src):Z.globalEval(s.textContent.replace(Mt,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Z.fn[t]=function(t){for(var n,i=[],r=Z(t),o=r.length-1,s=0;o>=s;s++)n=s===o?this:this.clone(!0),Z(r[s])[e](n),z.apply(i,n.get());return this.pushStack(i)}});var Ht,Ft={},Bt=/^margin/,Wt=new RegExp("^("+Et+")(?!px)[a-z%]+$","i"),Ut=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",s.innerHTML="",r.appendChild(o);var e=t.getComputedStyle(s,null);n="1%"!==e.top,i="4px"===e.width,r.removeChild(o)}var n,i,r=Q.documentElement,o=Q.createElement("div"),s=Q.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",Y.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(s),t.getComputedStyle&&Z.extend(Y,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return null==i&&e(),i},reliableMarginRight:function(){var e,n=s.appendChild(Q.createElement("div"));return n.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",s.style.width="1px",r.appendChild(o),e=!parseFloat(t.getComputedStyle(n,null).marginRight),r.removeChild(o),s.removeChild(n),e}}))}(),Z.swap=function(t,e,n,i){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=s[o];return r};var Vt=/^(none|table(?!-c[ea]).+)/,zt=new RegExp("^("+Et+")(.*)$","i"),Gt=new RegExp("^([+-])=("+Et+")","i"),$t={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=E(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=Z.camelCase(e),u=t.style;return e=Z.cssProps[a]||(Z.cssProps[a]=C(u,a)),s=Z.cssHooks[e]||Z.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:u[e]:(o=typeof n,"string"===o&&(r=Gt.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(Z.css(t,e)),o="number"),void(null!=n&&n===n&&("number"!==o||Z.cssNumber[a]||(n+="px"),Y.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(u[e]=n))))}},css:function(t,e,n,i){var r,o,s,a=Z.camelCase(e);return e=Z.cssProps[a]||(Z.cssProps[a]=C(t.style,a)),s=Z.cssHooks[e]||Z.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=E(t,e,i)),"normal"===r&&e in Kt&&(r=Kt[e]),""===n||n?(o=parseFloat(r),n===!0||Z.isNumeric(o)?o||0:r):r}}),Z.each(["height","width"],function(t,e){Z.cssHooks[e]={get:function(t,n,i){return n?Vt.test(Z.css(t,"display"))&&0===t.offsetWidth?Z.swap(t,$t,function(){return S(t,e,i)}):S(t,e,i):void 0},set:function(t,n,i){var r=i&&Ut(t);return _(t,n,i?x(t,e,i,"border-box"===Z.css(t,"boxSizing",!1,r),r):0)}}}),Z.cssHooks.marginRight=T(Y.reliableMarginRight,function(t,e){return e?Z.swap(t,{display:"inline-block"},E,[t,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(t,e){Z.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+Tt[i]+e]=o[i]||o[i-2]||o[0];return r}},Bt.test(t)||(Z.cssHooks[t+e].set=_)}),Z.fn.extend({css:function(t,e){return vt(this,function(t,e,n){var i,r,o={},s=0;if(Z.isArray(e)){for(i=Ut(t),r=e.length;r>s;s++)o[e[s]]=Z.css(t,e[s],!1,i);return o}return void 0!==n?Z.style(t,e,n):Z.css(t,e)},t,e,arguments.length>1)},show:function(){return N(this,!0)},hide:function(){return N(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ct(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=A,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||(Z.cssNumber[n]?"":"px")},cur:function(){var t=A.propHooks[this.prop];return t&&t.get?t.get(this):A.propHooks._default.get(this)},run:function(t){var e,n=A.propHooks[this.prop];return this.options.duration?this.pos=e=Z.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):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=Z.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){Z.fx.step[t.prop]?Z.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Z.cssProps[t.prop]]||Z.cssHooks[t.prop])?Z.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)}},Z.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Z.fx=A.prototype.init,Z.fx.step={};var Yt,Qt,Jt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+Et+")([a-z%]*)$","i"),te=/queueHooks$/,ee=[D],ne={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=Zt.exec(e),o=r&&r[3]||(Z.cssNumber[t]?"":"px"),s=(Z.cssNumber[t]||"px"!==o&&+i)&&Zt.exec(Z.css(n.elem,t)),a=1,u=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+i||1;do a=a||".5",s/=a,Z.style(n.elem,t,s+o);while(a!==(a=n.cur()/i)&&1!==a&&--u)}return r&&(s=n.start=+s||+i||0,n.unit=o,n.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),n}]};Z.Animation=Z.extend(j,{tweener:function(t,e){Z.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],ne[n]=ne[n]||[],ne[n].unshift(e)},prefilter:function(t,e){e?ee.unshift(t):ee.push(t)}}),Z.speed=function(t,e,n){var i=t&&"object"==typeof t?Z.extend({},t):{complete:n||!n&&e||Z.isFunction(t)&&t,duration:t,easing:n&&e||e&&!Z.isFunction(e)&&e};return i.duration=Z.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in Z.fx.speeds?Z.fx.speeds[i.duration]:Z.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){Z.isFunction(i.old)&&i.old.call(this),i.queue&&Z.dequeue(this,i.queue)},i},Z.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Ct).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=Z.isEmptyObject(t),o=Z.speed(e,n,i),s=function(){var e=j(this,Z.extend({},t),o);(r||mt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=Z.timers,s=mt.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&te.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));(e||!n)&&Z.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=mt.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=Z.timers,s=i?i.length:0;for(n.finish=!0,Z.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),
e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),Z.each(["toggle","show","hide"],function(t,e){var n=Z.fn[e];Z.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(I(e,!0),t,i,r)}}),Z.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Z.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Z.timers=[],Z.fx.tick=function(){var t,e=0,n=Z.timers;for(Yt=Z.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||Z.fx.stop(),Yt=void 0},Z.fx.timer=function(t){Z.timers.push(t),t()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Qt||(Qt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Qt),Qt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(t,e){return t=Z.fx?Z.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t=Q.createElement("input"),e=Q.createElement("select"),n=e.appendChild(Q.createElement("option"));t.type="checkbox",Y.checkOn=""!==t.value,Y.optSelected=n.selected,e.disabled=!0,Y.optDisabled=!n.disabled,t=Q.createElement("input"),t.value="t",t.type="radio",Y.radioValue="t"===t.value}();var ie,re,oe=Z.expr.attrHandle;Z.fn.extend({attr:function(t,e){return vt(this,Z.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Z.removeAttr(this,t)})}}),Z.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===xt?Z.prop(t,e,n):(1===o&&Z.isXMLDoc(t)||(e=e.toLowerCase(),i=Z.attrHooks[e]||(Z.expr.match.bool.test(e)?re:ie)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=Z.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void Z.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(pt);if(o&&1===t.nodeType)for(;n=o[r++];)i=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!Y.radioValue&&"radio"===e&&Z.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),re={set:function(t,e,n){return e===!1?Z.removeAttr(t,n):t.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(t,e){var n=oe[e]||Z.find.attr;oe[e]=function(t,e,i){var r,o;return i||(o=oe[e],oe[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,oe[e]=o),r}});var se=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(t,e){return vt(this,Z.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Z.propFix[t]||t]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,r,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return o=1!==s||!Z.isXMLDoc(t),o&&(e=Z.propFix[e]||e,r=Z.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){return t.hasAttribute("tabindex")||se.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),Y.optSelected||(Z.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var ae=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(t){var e,n,i,r,o,s,a="string"==typeof t&&t,u=0,c=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(pt)||[];c>u;u++)if(n=this[u],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ae," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=Z.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0===arguments.length||"string"==typeof t&&t,u=0,c=this.length;if(Z.isFunction(t))return this.each(function(e){Z(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(pt)||[];c>u;u++)if(n=this[u],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(ae," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");s=t?Z.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(Z.isFunction(t)?function(n){Z(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,r=Z(this),o=t.match(pt)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===xt||"boolean"===n)&&(this.className&&mt.set(this,"__className__",this.className),this.className=this.className||t===!1?"":mt.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(ae," ").indexOf(e)>=0)return!0;return!1}});var ue=/\r/g;Z.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=Z.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,Z(this).val()):t,null==r?r="":"number"==typeof r?r+="":Z.isArray(r)&&(r=Z.map(r,function(t){return null==t?"":t+""})),e=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=Z.valHooks[r.type]||Z.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(ue,""):null==n?"":n)):void 0}}),Z.extend({valHooks:{option:{get:function(t){var e=Z.find.attr(t,"value");return null!=e?e:Z.trim(Z.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,s=o?null:[],a=o?r+1:i.length,u=0>r?a:o?r:0;a>u;u++)if(n=i[u],!(!n.selected&&u!==r||(Y.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&Z.nodeName(n.parentNode,"optgroup"))){if(e=Z(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=Z.makeArray(e),s=r.length;s--;)i=r[s],(i.selected=Z.inArray(i.value,o)>=0)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(t,e){return Z.isArray(e)?t.checked=Z.inArray(Z(t).val(),e)>=0:void 0}},Y.checkOn||(Z.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),Z.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){Z.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),Z.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 ce=Z.now(),le=/\?/;Z.parseJSON=function(t){return JSON.parse(t+"")},Z.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{n=new DOMParser,e=n.parseFromString(t,"text/xml")}catch(i){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+t),e};var he=/#.*$/,fe=/([?&])_=[^&]*/,pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,de=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ge=/^(?:GET|HEAD)$/,ve=/^\/\//,me=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ye={},be={},we="*/".concat("*"),Ee=t.location.href,Te=me.exec(Ee.toLowerCase())||[];Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee,type:"GET",isLocal:de.test(Te[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":we,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":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?M(M(t,Z.ajaxSettings),e):M(Z.ajaxSettings,t)},ajaxPrefilter:P(ye),ajaxTransport:P(be),ajax:function(t,e){function n(t,e,n,s){var u,l,m,y,w,T=e;2!==b&&(b=2,a&&clearTimeout(a),i=void 0,o=s||"",E.readyState=t>0?4:0,u=t>=200&&300>t||304===t,n&&(y=q(h,E,n)),y=H(h,y,E,u),u?(h.ifModified&&(w=E.getResponseHeader("Last-Modified"),w&&(Z.lastModified[r]=w),w=E.getResponseHeader("etag"),w&&(Z.etag[r]=w)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=y.state,l=y.data,m=y.error,u=!m)):(m=T,(t||!T)&&(T="error",0>t&&(t=0))),E.status=t,E.statusText=(e||T)+"",u?d.resolveWith(f,[l,T,E]):d.rejectWith(f,[E,T,m]),E.statusCode(v),v=void 0,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[E,h,u?l:m]),g.fireWith(f,[E,T]),c&&(p.trigger("ajaxComplete",[E,h]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,s,a,u,c,l,h=Z.ajaxSetup({},e),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?Z(f):Z.event,d=Z.Deferred(),g=Z.Callbacks("once memory"),v=h.statusCode||{},m={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!s)for(s={};e=pe.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,m[t]=e),this},overrideMimeType:function(t){return b||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)v[e]=[v[e],t[e]];else E.always(t[E.status]);return this},abort:function(t){var e=t||w;return i&&i.abort(e),n(0,e),this}};if(d.promise(E).complete=g.add,E.success=E.done,E.error=E.fail,h.url=((t||h.url||Ee)+"").replace(he,"").replace(ve,Te[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=Z.trim(h.dataType||"*").toLowerCase().match(pt)||[""],null==h.crossDomain&&(u=me.exec(h.url.toLowerCase()),h.crossDomain=!(!u||u[1]===Te[1]&&u[2]===Te[2]&&(u[3]||("http:"===u[1]?"80":"443"))===(Te[3]||("http:"===Te[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Z.param(h.data,h.traditional)),R(ye,h,e,E),2===b)return E;c=Z.event&&h.global,c&&0===Z.active++&&Z.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!ge.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(le.test(r)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=fe.test(r)?r.replace(fe,"$1_="+ce++):r+(le.test(r)?"&":"?")+"_="+ce++)),h.ifModified&&(Z.lastModified[r]&&E.setRequestHeader("If-Modified-Since",Z.lastModified[r]),Z.etag[r]&&E.setRequestHeader("If-None-Match",Z.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||e.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+we+"; q=0.01":""):h.accepts["*"]);for(l in h.headers)E.setRequestHeader(l,h.headers[l]);if(h.beforeSend&&(h.beforeSend.call(f,E,h)===!1||2===b))return E.abort();w="abort";for(l in{success:1,error:1,complete:1})E[l](h[l]);if(i=R(be,h,e,E)){E.readyState=1,c&&p.trigger("ajaxSend",[E,h]),h.async&&h.timeout>0&&(a=setTimeout(function(){E.abort("timeout")},h.timeout));try{b=1,i.send(m,n)}catch(T){if(!(2>b))throw T;n(-1,T)}}else n(-1,"No Transport");return E},getJSON:function(t,e,n){return Z.get(t,e,n,"json")},getScript:function(t,e){return Z.get(t,void 0,e,"script")}}),Z.each(["get","post"],function(t,e){Z[e]=function(t,n,i,r){return Z.isFunction(n)&&(r=r||i,i=n,n=void 0),Z.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),Z._evalUrl=function(t){return Z.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(t){var e;return Z.isFunction(t)?this.each(function(e){Z(this).wrapAll(t.call(this,e))}):(this[0]&&(e=Z(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return this.each(Z.isFunction(t)?function(e){Z(this).wrapInner(t.call(this,e))}:function(){var e=Z(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=Z.isFunction(t);return this.each(function(n){Z(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},Z.expr.filters.visible=function(t){return!Z.expr.filters.hidden(t)};var Ce=/%20/g,_e=/\[\]$/,xe=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;Z.param=function(t,e){var n,i=[],r=function(t,e){e=Z.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(t)||t.jquery&&!Z.isPlainObject(t))Z.each(t,function(){r(this.name,this.value)});else for(n in t)F(n,t[n],e,r);return i.join("&").replace(Ce,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Z.prop(this,"elements");return t?Z.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Z(this).is(":disabled")&&Ne.test(this.nodeName)&&!Se.test(t)&&(this.checked||!_t.test(t))}).map(function(t,e){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(t){return{name:e.name,value:t.replace(xe,"\r\n")}}):{name:e.name,value:n.replace(xe,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Ae=0,ke={},Ie={0:200,1223:204},Oe=Z.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in ke)ke[t]()}),Y.cors=!!Oe&&"withCredentials"in Oe,Y.ajax=Oe=!!Oe,Z.ajaxTransport(function(t){var e;return Y.cors||Oe&&!t.crossDomain?{send:function(n,i){var r,o=t.xhr(),s=++Ae;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)o.setRequestHeader(r,n[r]);e=function(t){return function(){e&&(delete ke[s],e=o.onload=o.onerror=null,"abort"===t?o.abort():"error"===t?i(o.status,o.statusText):i(Ie[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=e(),o.onerror=e("error"),e=ke[s]=e("abort");try{o.send(t.hasContent&&t.data||null)}catch(a){if(e)throw a}},abort:function(){e&&e()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return Z.globalEval(t),t}}}),Z.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Z.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=Z("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),Q.head.appendChild(e[0])},abort:function(){n&&n()}}}});var De=[],Le=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=De.pop()||Z.expando+"_"+ce++;return this[t]=!0,t}}),Z.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,s,a=e.jsonp!==!1&&(Le.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Le.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=Z.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Le,"$1"+r):e.jsonp!==!1&&(e.url+=(le.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||Z.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,De.push(r)),s&&Z.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),Z.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||Q;var i=st.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=Z.buildFragment([t],e,r),r&&r.length&&Z(r).remove(),Z.merge([],i.childNodes))};var je=Z.fn.load;Z.fn.load=function(t,e,n){if("string"!=typeof t&&je)return je.apply(this,arguments);var i,r,o,s=this,a=t.indexOf(" ");return a>=0&&(i=Z.trim(t.slice(a)),t=t.slice(0,a)),Z.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&Z.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){o=arguments,s.html(i?Z("<div>").append(Z.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,o||[t.responseText,e,t])}),this},Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Z.fn[e]=function(t){return this.on(e,t)}}),Z.expr.filters.animated=function(t){return Z.grep(Z.timers,function(e){return t===e.elem}).length};var Pe=t.document.documentElement;Z.offset={setOffset:function(t,e,n){var i,r,o,s,a,u,c,l=Z.css(t,"position"),h=Z(t),f={};"static"===l&&(t.style.position="relative"),a=h.offset(),o=Z.css(t,"top"),u=Z.css(t,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(i=h.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(u)||0),Z.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(f.top=e.top-a.top+s),null!=e.left&&(f.left=e.left-a.left+r),"using"in e?e.using.call(t,f):h.css(f)}},Z.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Z.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;return o?(e=o.documentElement,Z.contains(e,i)?(typeof i.getBoundingClientRect!==xt&&(r=i.getBoundingClientRect()),n=B(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===Z.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Z.nodeName(t[0],"html")||(i=t.offset()),i.top+=Z.css(t[0],"borderTopWidth",!0),i.left+=Z.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-Z.css(n,"marginTop",!0),left:e.left-i.left-Z.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Pe;t&&!Z.nodeName(t,"html")&&"static"===Z.css(t,"position");)t=t.offsetParent;return t||Pe})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i="pageYOffset"===n;Z.fn[e]=function(r){return vt(this,function(e,r,o){var s=B(e);return void 0===o?s?s[n]:e[r]:void(s?s.scrollTo(i?t.pageXOffset:o,i?o:t.pageYOffset):e[r]=o)},e,r,arguments.length,null)}}),Z.each(["top","left"],function(t,e){Z.cssHooks[e]=T(Y.pixelPosition,function(t,n){return n?(n=E(t,e),Wt.test(n)?Z(t).position()[e]+"px":n):void 0})}),Z.each({Height:"height",Width:"width"},function(t,e){Z.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){Z.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||r===!0?"margin":"border");return vt(this,function(e,n,i){var r;return Z.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?Z.css(e,n,s):Z.style(e,n,i,s)},e,o?i:void 0,o,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var Re=t.jQuery,Me=t.$;return Z.noConflict=function(e){return t.$===Z&&(t.$=Me),e&&t.jQuery===Z&&(t.jQuery=Re),Z},typeof e===xt&&(t.jQuery=t.$=Z),Z}),jQuery.extend({highlight:function(t,e,n,i){if(3===t.nodeType){var r=t.data.match(e);if(r){var o=document.createElement(n||"span");o.className=i||"highlight";var s=t.splitText(r.index);s.splitText(r[0].length);var a=s.cloneNode(!0);return o.appendChild(a),s.parentNode.replaceChild(o,s),1}}else if(1===t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName)&&(t.tagName!==n.toUpperCase()||t.className!==i))for(var u=0;u<t.childNodes.length;u++)u+=jQuery.highlight(t.childNodes[u],e,n,i);return 0}}),jQuery.fn.unhighlight=function(t){var e={className:"highlight",element:"span"};return jQuery.extend(e,t),this.find(e.element+"."+e.className).each(function(){var t=this.parentNode;t.replaceChild(this.firstChild,this),t.normalize()}).end()},jQuery.fn.highlight=function(t,e){var n={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1};if(jQuery.extend(n,e),t.constructor===String&&(t=[t]),t=jQuery.grep(t,function(t,e){return""!=t}),t=jQuery.map(t,function(t,e){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}),0==t.length)return this;var i=n.caseSensitive?"":"i",r="("+t.join("|")+")";n.wordsOnly&&(r="\\b"+r+"\\b");var o=new RegExp(r,i);return this.each(function(){jQuery.highlight(this,o,n.element,n.className)})},!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.Tether=e()}(this,function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t){var e=getComputedStyle(t),n=e.position;if("fixed"===n)return t;for(var i=t;i=i.parentNode;){var r=void 0;try{r=getComputedStyle(i)}catch(o){}if("undefined"==typeof r||null===r)return i;var s=r,a=s.overflow,u=s.overflowX,c=s.overflowY;if(/(auto|scroll)/.test(a+c+u)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(r.position)>=0))return i}return document.body}function o(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var n=e.documentElement,i={},r=t.getBoundingClientRect();for(var o in r)i[o]=r[o];var s=_(e);return i.top-=s.top,i.left-=s.left,"undefined"==typeof i.width&&(i.width=document.body.scrollWidth-i.left-i.right),"undefined"==typeof i.height&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-n.clientTop,i.left=i.left-n.clientLeft,i.right=e.body.clientWidth-i.width-i.left,i.bottom=e.body.clientHeight-i.height-i.top,i}function s(t){return t.offsetParent||document.documentElement}function a(){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");u(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;n===i&&(i=e.clientWidth),document.body.removeChild(e);var r=n-i;return{width:r,height:r}}function u(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function c(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),i=f(t).replace(n," ");p(t,i)}}function l(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{c(t,e);var n=f(t)+(" "+e);p(t,n)}}function h(t,e){if("undefined"!=typeof t.classList)return t.classList.contains(e);var n=f(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function f(t){return t.className instanceof SVGAnimatedString?t.className.baseVal:t.className}function p(t,e){t.setAttribute("class",e)}function d(t,e,n){n.forEach(function(n){-1===e.indexOf(n)&&h(t,n)&&c(t,n)}),e.forEach(function(e){h(t,e)||l(t,e)})}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function v(){return"undefined"!=typeof performance&&"undefined"!=typeof performance.now?performance.now():+new Date}function m(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),i=0;e>i;i++)n[i]=arguments[i];return n.forEach(function(e){var n=e.top,i=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof i&&(i=parseFloat(i,10)),t.top+=n,t.left+=i}),t}function y(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}function b(t,e){return"scrollParent"===e?e=t.scrollParent:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),"undefined"!=typeof e.nodeType&&!function(){var t=o(e),n=t,i=getComputedStyle(e);e=[n.left,n.top,t.width+n.left,t.height+n.top],U.forEach(function(t,n){t=t[0].toUpperCase()+t.substr(1),"Top"===t||"Left"===t?e[n]+=parseFloat(i["border"+t+"Width"]):e[n]-=parseFloat(i["border"+t+"Width"])})}(),e}var w=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),E=void 0;"undefined"==typeof E&&(E={modules:[]});var T=function(){var t=0;return function(){return++t}}(),C={},_=function(t){var e=t._tetherZeroElement;"undefined"==typeof e&&(e=t.createElement("div"),e.setAttribute("data-tether-id",T()),u(e.style,{top:0,left:0,position:"absolute"}),t.body.appendChild(e),t._tetherZeroElement=e);var n=e.getAttribute("data-tether-id");if("undefined"==typeof C[n]){C[n]={};var i=e.getBoundingClientRect();for(var r in i)C[n][r]=i[r];S(function(){delete C[n]})}return C[n]},x=[],S=function(t){x.push(t)},N=function(){for(var t=void 0;t=x.pop();)t()},A=function(){function t(){i(this,t)}return w(t,[{key:"on",value:function(t,e,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];"undefined"==typeof this.bindings&&(this.bindings={}),"undefined"==typeof this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:i})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if("undefined"==typeof this.bindings||"undefined"==typeof this.bindings[t])if("undefined"==typeof e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if("undefined"!=typeof this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,i=Array(n>1?n-1:0),r=1;n>r;r++)i[r-1]=arguments[r];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],s=o.handler,a=o.ctx,u=o.once,c=a;"undefined"==typeof c&&(c=this),s.apply(c,i),u?this.bindings[t].splice(e,1):++e}}}}]),t}();E.Utils={getScrollParent:r,getBounds:o,getOffsetParent:s,extend:u,addClass:l,removeClass:c,hasClass:h,updateClasses:d,defer:S,flush:N,uniqueId:T,Evented:A,getScrollBarSize:a};var k=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(u){r=!0,o=u}finally{try{!i&&a["return"]&&a["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),w=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();if("undefined"==typeof E)throw new Error("You must include the utils.js file before tether.js");var I=E.Utils,r=I.getScrollParent,o=I.getBounds,s=I.getOffsetParent,u=I.extend,l=I.addClass,c=I.removeClass,d=I.updateClasses,S=I.defer,N=I.flush,a=I.getScrollBarSize,O=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","webkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var i=e[n];if(void 0!==t.style[i])return i}}(),D=[],L=function(){D.forEach(function(t){t.position(!1)}),N()};!function(){var t=null,e=null,n=null,i=function r(){return"undefined"!=typeof e&&e>16?(e=Math.min(e-16,250),void(n=setTimeout(r,250))):void("undefined"!=typeof t&&v()-t<10||("undefined"!=typeof n&&(clearTimeout(n),n=null),t=v(),L(),e=v()-t))};"undefined"!=typeof window&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,i)})}();var j={center:"center",left:"right",right:"left"},P={middle:"middle",top:"bottom",bottom:"top"},R={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},M=function(t,e){var n=t.left,i=t.top;return"auto"===n&&(n=j[e.left]),"auto"===i&&(i=P[e.top]),{left:n,top:i}},q=function(t){var e=t.left,n=t.top;return"undefined"!=typeof R[t.left]&&(e=R[t.left]),"undefined"!=typeof R[t.top]&&(n=R[t.top]),{left:e,top:n}},H=function(t){var e=t.split(" "),n=k(e,2),i=n[0],r=n[1];return{top:i,left:r}},F=H,B=function(){function t(e){var n=this;i(this,t),this.position=this.position.bind(this),D.push(this),this.history=[],this.setOptions(e,!1),E.modules.forEach(function(t){"undefined"!=typeof t.initialize&&t.initialize.call(n)}),this.position()}return w(t,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return"undefined"!=typeof e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],i={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=u(i,t);var o=this.options,s=o.element,a=o.target,c=o.targetModifier;if(this.element=s,this.target=a,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if("undefined"==typeof e[t])throw new Error("Tether Error: Both element and target must be defined");"undefined"!=typeof e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),l(this.element,this.getClass("element")),this.options.addTargetClasses!==!1&&l(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=F(this.options.targetAttachment),this.attachment=F(this.options.attachment),this.offset=H(this.options.offset),this.targetOffset=H(this.options.targetOffset),"undefined"!=typeof this.scrollParent&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParent=this.target:this.scrollParent=r(this.target),this.options.enabled!==!1&&this.enable(n)}},{key:"getTargetBounds",value:function(){if("undefined"==typeof this.targetModifier)return o(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=o(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),
e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,n=this.target;n===document.body?(n=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=o(n);var i=getComputedStyle(n),r=n.scrollWidth>n.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body,s=0;r&&(s=15);var a=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-s,e={width:15,height:.975*a*(a/n.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},u=0;408>a&&this.target===document.body&&(u=-11e-5*Math.pow(a,2)-.00727*a+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var c=this.target.scrollTop/(n.scrollHeight-a);return e.top=c*(a-e.height-u)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return"undefined"==typeof this._cache&&(this._cache={}),"undefined"==typeof this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0];this.options.addTargetClasses!==!1&&l(this.target,this.getClass("enabled")),l(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParent!==document&&this.scrollParent.addEventListener("scroll",this.position),t&&this.position()}},{key:"disable",value:function(){c(this.target,this.getClass("enabled")),c(this.element,this.getClass("enabled")),this.enabled=!1,"undefined"!=typeof this.scrollParent&&this.scrollParent.removeEventListener("scroll",this.position)}},{key:"destroy",value:function(){var t=this;this.disable(),D.forEach(function(e,n){return e===t?void D.splice(n,1):void 0})}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment;var i=["left","top","bottom","right","middle","center"];"undefined"!=typeof this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),"undefined"==typeof this._addAttachClasses&&(this._addAttachClasses=[]);var r=this._addAttachClasses;t.top&&r.push(this.getClass("element-attached")+"-"+t.top),t.left&&r.push(this.getClass("element-attached")+"-"+t.left),e.top&&r.push(this.getClass("target-attached")+"-"+e.top),e.left&&r.push(this.getClass("target-attached")+"-"+e.left);var o=[];i.forEach(function(t){o.push(n.getClass("element-attached")+"-"+t),o.push(n.getClass("target-attached")+"-"+t)}),S(function(){"undefined"!=typeof n._addAttachClasses&&(d(n.element,n._addAttachClasses,o),n.options.addTargetClasses!==!1&&d(n.target,n._addAttachClasses,o),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=M(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",function(){return o(t.element)}),r=i.width,u=i.height;if(0===r&&0===u&&"undefined"!=typeof this.lastSize){var c=this.lastSize;r=c.width,u=c.height}else this.lastSize={width:r,height:u};var l=this.cache("target-bounds",function(){return t.getTargetBounds()}),h=l,f=y(q(this.attachment),{width:r,height:u}),p=y(q(n),h),d=y(this.offset,{width:r,height:u}),g=y(this.targetOffset,h);f=m(f,d),p=m(p,g);for(var v=l.left+p.left-f.left,b=l.top+p.top-f.top,w=0;w<E.modules.length;++w){var T=E.modules[w],C=T.position.call(this,{left:v,top:b,targetAttachment:n,targetPos:l,elementPos:i,offset:f,targetOffset:p,manualOffset:d,manualTargetOffset:g,scrollbarSize:x,attachment:this.attachment});if(C===!1)return!1;"undefined"!=typeof C&&"object"==typeof C&&(b=C.top,v=C.left)}var _={page:{top:b,left:v},viewport:{top:b-pageYOffset,bottom:pageYOffset-b-u+innerHeight,left:v-pageXOffset,right:pageXOffset-v-r+innerWidth}},x=void 0;return document.body.scrollWidth>window.innerWidth&&(x=this.cache("scrollbar-size",a),_.viewport.bottom-=x.height),document.body.scrollHeight>window.innerHeight&&(x=this.cache("scrollbar-size",a),_.viewport.right-=x.width),(-1===["","static"].indexOf(document.body.style.position)||-1===["","static"].indexOf(document.body.parentElement.style.position))&&(_.page.bottom=document.body.scrollHeight-b-u,_.page.right=document.body.scrollWidth-v-r),"undefined"!=typeof this.options.optimizations&&this.options.optimizations.moveElement!==!1&&"undefined"==typeof this.targetModifier&&!function(){var e=t.cache("target-offsetparent",function(){return s(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return o(e)}),i=getComputedStyle(e),r=n,a={};if(["Top","Left","Bottom","Right"].forEach(function(t){a[t.toLowerCase()]=parseFloat(i["border"+t+"Width"])}),n.right=document.body.scrollWidth-n.left-r.width+a.right,n.bottom=document.body.scrollHeight-n.top-r.height+a.bottom,_.page.top>=n.top+a.top&&_.page.bottom>=n.bottom&&_.page.left>=n.left+a.left&&_.page.right>=n.right){var u=e.scrollTop,c=e.scrollLeft;_.offset={top:_.page.top-n.top+u-a.top,left:_.page.left-n.left+c-a.left}}}(),this.move(_),this.history.unshift(_),this.history.length>3&&this.history.pop(),e&&N(),!0}}},{key:"move",value:function(t){var e=this;if("undefined"!=typeof this.element.parentNode){var n={};for(var i in t){n[i]={};for(var r in t[i]){for(var o=!1,a=0;a<this.history.length;++a){var c=this.history[a];if("undefined"!=typeof c[i]&&!g(c[i][r],t[i][r])){o=!0;break}}o||(n[i][r]=!0)}}var l={top:"",left:"",right:"",bottom:""},h=function(t,n){var i="undefined"!=typeof e.options.optimizations,r=i?e.options.optimizations.gpu:null;if(r!==!1){var o=void 0,s=void 0;t.top?(l.top=0,o=n.top):(l.bottom=0,o=-n.bottom),t.left?(l.left=0,s=n.left):(l.right=0,s=-n.right),l[O]="translateX("+Math.round(s)+"px) translateY("+Math.round(o)+"px)","msTransform"!==O&&(l[O]+=" translateZ(0)")}else t.top?l.top=n.top+"px":l.bottom=n.bottom+"px",t.left?l.left=n.left+"px":l.right=n.right+"px"},f=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(l.position="absolute",h(n.page,t.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(l.position="fixed",h(n.viewport,t.viewport)):"undefined"!=typeof n.offset&&n.offset.top&&n.offset.left?!function(){l.position="absolute";var i=e.cache("target-offsetparent",function(){return s(e.target)});s(e.element)!==i&&S(function(){e.element.parentNode.removeChild(e.element),i.appendChild(e.element)}),h(n.offset,t.offset),f=!0}():(l.position="absolute",h({top:!0,left:!0},t.page)),!f){for(var p=!0,d=this.element.parentNode;d&&"BODY"!==d.tagName;){if("static"!==getComputedStyle(d).position){p=!1;break}d=d.parentNode}p||(this.element.parentNode.removeChild(this.element),document.body.appendChild(this.element))}var v={},m=!1;for(var r in l){var y=l[r],b=this.element.style[r];""!==b&&""!==y&&["top","left","bottom","right"].indexOf(r)>=0&&(b=parseFloat(b),y=parseFloat(y)),b!==y&&(m=!0,v[r]=y)}m&&S(function(){u(e.element.style,v)})}}}]),t}();B.modules=[],E.position=L;var W=u(B,E),k=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(u){r=!0,o=u}finally{try{!i&&a["return"]&&a["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),I=E.Utils,o=I.getBounds,u=I.extend,d=I.updateClasses,S=I.defer,U=["left","top","right","bottom"];E.modules.push({position:function(t){var e=this,n=t.top,i=t.left,r=t.targetAttachment;if(!this.options.constraints)return!0;var s=this.cache("element-bounds",function(){return o(e.element)}),a=s.height,c=s.width;if(0===c&&0===a&&"undefined"!=typeof this.lastSize){var l=this.lastSize;c=l.width,a=l.height}var h=this.cache("target-bounds",function(){return e.getTargetBounds()}),f=h.height,p=h.width,g=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&g.push(e),n&&g.push(n)}),g.forEach(function(t){["left","top","right","bottom"].forEach(function(e){g.push(t+"-"+e)})});var v=[],m=u({},r),y=u({},this.attachment);return this.options.constraints.forEach(function(t){var o=t.to,s=t.attachment,u=t.pin;"undefined"==typeof s&&(s="");var l=void 0,h=void 0;if(s.indexOf(" ")>=0){var d=s.split(" "),g=k(d,2);h=g[0],l=g[1]}else l=h=s;var w=b(e,o);("target"===h||"both"===h)&&(n<w[1]&&"top"===m.top&&(n+=f,m.top="bottom"),n+a>w[3]&&"bottom"===m.top&&(n-=f,m.top="top")),"together"===h&&(n<w[1]&&"top"===m.top&&("bottom"===y.top?(n+=f,m.top="bottom",n+=a,y.top="top"):"top"===y.top&&(n+=f,m.top="bottom",n-=a,y.top="bottom")),n+a>w[3]&&"bottom"===m.top&&("top"===y.top?(n-=f,m.top="top",n-=a,y.top="bottom"):"bottom"===y.top&&(n-=f,m.top="top",n+=a,y.top="top")),"middle"===m.top&&(n+a>w[3]&&"top"===y.top?(n-=a,y.top="bottom"):n<w[1]&&"bottom"===y.top&&(n+=a,y.top="top"))),("target"===l||"both"===l)&&(i<w[0]&&"left"===m.left&&(i+=p,m.left="right"),i+c>w[2]&&"right"===m.left&&(i-=p,m.left="left")),"together"===l&&(i<w[0]&&"left"===m.left?"right"===y.left?(i+=p,m.left="right",i+=c,y.left="left"):"left"===y.left&&(i+=p,m.left="right",i-=c,y.left="right"):i+c>w[2]&&"right"===m.left?"left"===y.left?(i-=p,m.left="left",i-=c,y.left="right"):"right"===y.left&&(i-=p,m.left="left",i+=c,y.left="left"):"center"===m.left&&(i+c>w[2]&&"left"===y.left?(i-=c,y.left="right"):i<w[0]&&"right"===y.left&&(i+=c,y.left="left"))),("element"===h||"both"===h)&&(n<w[1]&&"bottom"===y.top&&(n+=a,y.top="top"),n+a>w[3]&&"top"===y.top&&(n-=a,y.top="bottom")),("element"===l||"both"===l)&&(i<w[0]&&"right"===y.left&&(i+=c,y.left="left"),i+c>w[2]&&"left"===y.left&&(i-=c,y.left="right")),"string"==typeof u?u=u.split(",").map(function(t){return t.trim()}):u===!0&&(u=["top","left","right","bottom"]),u=u||[];var E=[],T=[];n<w[1]&&(u.indexOf("top")>=0?(n=w[1],E.push("top")):T.push("top")),n+a>w[3]&&(u.indexOf("bottom")>=0?(n=w[3]-a,E.push("bottom")):T.push("bottom")),i<w[0]&&(u.indexOf("left")>=0?(i=w[0],E.push("left")):T.push("left")),i+c>w[2]&&(u.indexOf("right")>=0?(i=w[2]-c,E.push("right")):T.push("right")),E.length&&!function(){var t=void 0;t="undefined"!=typeof e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),v.push(t),E.forEach(function(e){v.push(t+"-"+e)})}(),T.length&&!function(){var t=void 0;t="undefined"!=typeof e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),v.push(t),T.forEach(function(e){v.push(t+"-"+e)})}(),(E.indexOf("left")>=0||E.indexOf("right")>=0)&&(y.left=m.left=!1),(E.indexOf("top")>=0||E.indexOf("bottom")>=0)&&(y.top=m.top=!1),(m.top!==r.top||m.left!==r.left||y.top!==e.attachment.top||y.left!==e.attachment.left)&&e.updateAttachClasses(y,m)}),S(function(){e.options.addTargetClasses!==!1&&d(e.target,v,g),d(e.element,v,g)}),{top:n,left:i}}});var I=E.Utils,o=I.getBounds,d=I.updateClasses,S=I.defer;E.modules.push({position:function(t){var e=this,n=t.top,i=t.left,r=this.cache("element-bounds",function(){return o(e.element)}),s=r.height,a=r.width,u=this.getTargetBounds(),c=n+s,l=i+a,h=[];n<=u.bottom&&c>=u.top&&["left","right"].forEach(function(t){var e=u[t];(e===i||e===l)&&h.push(t)}),i<=u.right&&l>=u.left&&["top","bottom"].forEach(function(t){var e=u[t];(e===n||e===c)&&h.push(t)});var f=[],p=[],g=["left","top","right","bottom"];return f.push(this.getClass("abutted")),g.forEach(function(t){f.push(e.getClass("abutted")+"-"+t)}),h.length&&p.push(this.getClass("abutted")),h.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),S(function(){e.options.addTargetClasses!==!1&&d(e.target,p,f),d(e.element,p,f)}),!0}});var k=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(u){r=!0,o=u}finally{try{!i&&a["return"]&&a["return"]()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return E.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:e,left:n}));var r=void 0,o=void 0;if("string"==typeof i){i=i.split(" "),i[1]=i[1]||i[0];var s=i,a=k(s,2);r=a[0],o=a[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=i.top,o=i.left;return e+=r,n+=o,{top:e,left:n}}}}),W}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=3)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v3.0.0")}(jQuery),+function(t){"use strict";function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(t,e,n){for(var i=!0;i;){var r=t,o=e,s=n;i=!1,null===r&&(r=Function.prototype);var a=Object.getOwnPropertyDescriptor(r,o);if(void 0!==a){if("value"in a)return a.value;var u=a.get;if(void 0===u)return;return u.call(s)}var c=Object.getPrototypeOf(r);if(null===c)return;t=c,e=o,n=s,i=!0,a=c=void 0}},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(t){return(t[0]||t).nodeType}function i(){return{bindType:a.end,delegateType:a.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}}}function r(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in u)if(void 0!==t.style[e])return{end:u[e]};return!1}function o(e){var n=this,i=!1;return t(this).one(c.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||c.triggerTransitionEnd(n)},e),this}function s(){a=r(),t.fn.emulateTransitionEnd=o,c.supportsTransitionEnd()&&(t.event.special[c.TRANSITION_END]=i())}var a=!1,u={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){new Function("bs","return bs")(t.offsetHeight)},triggerTransitionEnd:function(e){t(e).trigger(a.end)},supportsTransitionEnd:function(){return Boolean(a)},typeCheckConfig:function(t,i,r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],a=i[o],u=void 0;if(u=a&&n(a)?"element":e(a),!new RegExp(s).test(u))throw new Error(t.toUpperCase()+": "+('Option "'+o+'" provided type "'+u+'" ')+('but expected type "'+s+'".'))}}};return s(),c}(jQuery),s=(function(t){var e="alert",i="4.0.0-alpha",s="bs.alert",a="."+s,u=".data-api",c=t.fn[e],l=150,h={DISMISS:'[data-dismiss="alert"]'},f={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+u},p={ALERT:"alert",FADE:"fade",IN:"in"},d=function(){function e(t){n(this,e),this._element=t}return r(e,[{key:"close",value:function(t){t=t||this._element;var e=this._getRootElement(t),n=this._triggerCloseEvent(e);n.isDefaultPrevented()||this._removeElement(e)}},{key:"dispose",value:function(){t.removeData(this._element,s),this._element=null}},{key:"_getRootElement",value:function(e){var n=o.getSelectorFromElement(e),i=!1;return n&&(i=t(n)[0]),i||(i=t(e).closest("."+p.ALERT)[0]),i}},{key:"_triggerCloseEvent",value:function(e){var n=t.Event(f.CLOSE);return t(e).trigger(n),n}},{key:"_removeElement",value:function(e){return t(e).removeClass(p.IN),o.supportsTransitionEnd()&&t(e).hasClass(p.FADE)?void t(e).one(o.TRANSITION_END,t.proxy(this._destroyElement,this,e)).emulateTransitionEnd(l):void this._destroyElement(e)}},{key:"_destroyElement",value:function(e){t(e).detach().trigger(f.CLOSED).remove()}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var i=t(this),r=i.data(s);r||(r=new e(this),i.data(s,r)),"close"===n&&r[n](this)})}},{key:"_handleDismiss",value:function(t){return function(e){e&&e.preventDefault(),t.close(this)}}},{key:"VERSION",get:function(){return i}}]),e}();return t(document).on(f.CLICK_DATA_API,h.DISMISS,d._handleDismiss(new d)),t.fn[e]=d._jQueryInterface,t.fn[e].Constructor=d,t.fn[e].noConflict=function(){return t.fn[e]=c,d._jQueryInterface},d}(jQuery),function(t){var e="button",i="4.0.0-alpha",o="bs.button",s="."+o,a=".data-api",u=t.fn[e],c={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},l={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},h={CLICK_DATA_API:"click"+s+a,FOCUS_BLUR_DATA_API:"focus"+s+a+" "+("blur"+s+a)},f=function(){function e(t){n(this,e),this._element=t}return r(e,[{key:"toggle",value:function(){var e=!0,n=t(this._element).closest(l.DATA_TOGGLE)[0];if(n){var i=t(this._element).find(l.INPUT)[0];if(i){if("radio"===i.type)if(i.checked&&t(this._element).hasClass(c.ACTIVE))e=!1;else{var r=t(n).find(l.ACTIVE)[0];r&&t(r).removeClass(c.ACTIVE)}e&&(i.checked=!t(this._element).hasClass(c.ACTIVE),t(this._element).trigger("change"))}}else this._element.setAttribute("aria-pressed",!t(this._element).hasClass(c.ACTIVE));e&&t(this._element).toggleClass(c.ACTIVE)}},{key:"dispose",value:function(){t.removeData(this._element,o),this._element=null}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var i=t(this).data(o);i||(i=new e(this),t(this).data(o,i)),"toggle"===n&&i[n]()})}},{key:"VERSION",get:function(){return i}}]),e}();return t(document).on(h.CLICK_DATA_API,l.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var n=e.target;t(n).hasClass(c.BUTTON)||(n=t(n).closest(l.BUTTON)),f._jQueryInterface.call(t(n),"toggle")}).on(h.FOCUS_BLUR_DATA_API,l.DATA_TOGGLE_CARROT,function(e){var n=t(e.target).closest(l.BUTTON)[0];t(n).toggleClass(c.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=u,f._jQueryInterface},f}(jQuery),function(t){var e="carousel",i="4.0.0-alpha",s="bs.carousel",a="."+s,u=".data-api",c=t.fn[e],l=600,h={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},f={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},p={NEXT:"next",PREVIOUS:"prev"},d={SLIDE:"slide"+a,SLID:"slid"+a,KEYDOWN:"keydown"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a,LOAD_DATA_API:"load"+a+u,CLICK_DATA_API:"click"+a+u},g={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"right",LEFT:"left",ITEM:"carousel-item"},v={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".next, .prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},m=function(){function u(e,i){n(this,u),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(i),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(v.INDICATORS)[0],this._addEventListeners()}return r(u,[{key:"next",value:function(){this._isSliding||this._slide(p.NEXT)}},{key:"nextWhenVisible",value:function(){document.hidden||this.next()}},{key:"prev",value:function(){this._isSliding||this._slide(p.PREVIOUS)}},{key:"pause",value:function(e){e||(this._isPaused=!0),t(this._element).find(v.NEXT_PREV)[0]&&o.supportsTransitionEnd()&&(o.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(t.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))}},{key:"to",value:function(e){var n=this;this._activeElement=t(this._element).find(v.ACTIVE_ITEM)[0];var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||0>e)){if(this._isSliding)return void t(this._element).one(d.SLID,function(){return n.to(e)});if(i===e)return this.pause(),void this.cycle();var r=e>i?p.NEXT:p.PREVIOUS;this._slide(r,this._items[e])}}},{key:"dispose",value:function(){t(this._element).off(a),t.removeData(this._element,s),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}},{key:"_getConfig",value:function(n){return n=t.extend({},h,n),o.typeCheckConfig(e,n,f),n}},{key:"_addEventListeners",value:function(){this._config.keyboard&&t(this._element).on(d.KEYDOWN,t.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(d.MOUSEENTER,t.proxy(this.pause,this)).on(d.MOUSELEAVE,t.proxy(this.cycle,this))}},{key:"_keydown",value:function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}}},{key:"_getItemIndex",value:function(e){return this._items=t.makeArray(t(e).parent().find(v.ITEM)),this._items.indexOf(e)}},{key:"_getItemByDirection",value:function(t,e){var n=t===p.NEXT,i=t===p.PREVIOUS,r=this._getItemIndex(e),o=this._items.length-1,s=i&&0===r||n&&r===o;if(s&&!this._config.wrap)return e;var a=t===p.PREVIOUS?-1:1,u=(r+a)%this._items.length;return-1===u?this._items[this._items.length-1]:this._items[u]}},{key:"_triggerSlideEvent",value:function(e,n){var i=t.Event(d.SLIDE,{relatedTarget:e,direction:n});return t(this._element).trigger(i),i}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(v.ACTIVE).removeClass(g.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&t(n).addClass(g.ACTIVE)}}},{key:"_slide",value:function(e,n){var i=this,r=t(this._element).find(v.ACTIVE_ITEM)[0],s=n||r&&this._getItemByDirection(e,r),a=Boolean(this._interval),u=e===p.NEXT?g.LEFT:g.RIGHT;if(s&&t(s).hasClass(g.ACTIVE))return void(this._isSliding=!1);var c=this._triggerSlideEvent(s,u);if(!c.isDefaultPrevented()&&r&&s){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(s);var h=t.Event(d.SLID,{relatedTarget:s,direction:u});o.supportsTransitionEnd()&&t(this._element).hasClass(g.SLIDE)?(t(s).addClass(e),o.reflow(s),t(r).addClass(u),t(s).addClass(u),t(r).one(o.TRANSITION_END,function(){t(s).removeClass(u).removeClass(e),t(s).addClass(g.ACTIVE),t(r).removeClass(g.ACTIVE).removeClass(e).removeClass(u),i._isSliding=!1,setTimeout(function(){return t(i._element).trigger(h)},0)}).emulateTransitionEnd(l)):(t(r).removeClass(g.ACTIVE),t(s).addClass(g.ACTIVE),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle()}}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this).data(s),i=t.extend({},h,t(this).data());"object"==typeof e&&t.extend(i,e);var r="string"==typeof e?e:i.slide;if(n||(n=new u(this,i),t(this).data(s,n)),"number"==typeof e)n.to(e);else if("string"==typeof r){if(void 0===n[r])throw new Error('No method named "'+r+'"');n[r]()}else i.interval&&(n.pause(),n.cycle())})}},{key:"_dataApiClickHandler",value:function(e){var n=o.getSelectorFromElement(this);if(n){var i=t(n)[0];if(i&&t(i).hasClass(g.CAROUSEL)){var r=t.extend({},t(i).data(),t(this).data()),a=this.getAttribute("data-slide-to");a&&(r.interval=!1),u._jQueryInterface.call(t(i),r),a&&t(i).data(s).to(a),e.preventDefault()}}}},{key:"VERSION",get:function(){return i}},{key:"Default",get:function(){return h}}]),u}();return t(document).on(d.CLICK_DATA_API,v.DATA_SLIDE,m._dataApiClickHandler),t(window).on(d.LOAD_DATA_API,function(){t(v.DATA_RIDE).each(function(){var e=t(this);m._jQueryInterface.call(e,e.data())})}),t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=c,m._jQueryInterface},m}(jQuery),function(t){var e="collapse",i="4.0.0-alpha",s="bs.collapse",a="."+s,u=".data-api",c=t.fn[e],l=600,h={toggle:!0,parent:""},f={toggle:"boolean",parent:"string"},p={SHOW:"show"+a,SHOWN:"shown"+a,HIDE:"hide"+a,HIDDEN:"hidden"+a,CLICK_DATA_API:"click"+a+u},d={IN:"in",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},g={WIDTH:"width",HEIGHT:"height"},v={ACTIVES:".panel > .in, .panel > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},m=function(){function a(e,i){n(this,a),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],'+('[data-toggle="collapse"][data-target="#'+e.id+'"]'))),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return r(a,[{key:"toggle",value:function(){t(this._element).hasClass(d.IN)?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(d.IN)){var n=void 0,i=void 0;if(this._parent&&(n=t.makeArray(t(v.ACTIVES)),n.length||(n=null)),!(n&&(i=t(n).data(s),i&&i._isTransitioning))){var r=t.Event(p.SHOW);if(t(this._element).trigger(r),!r.isDefaultPrevented()){n&&(a._jQueryInterface.call(t(n),"hide"),i||t(n).data(s,null));var u=this._getDimension();t(this._element).removeClass(d.COLLAPSE).addClass(d.COLLAPSING),this._element.style[u]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(d.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var c=function(){t(e._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).addClass(d.IN),e._element.style[u]="",e.setTransitioning(!1),t(e._element).trigger(p.SHOWN)};if(!o.supportsTransitionEnd())return void c();var h=u[0].toUpperCase()+u.slice(1),f="scroll"+h;t(this._element).one(o.TRANSITION_END,c).emulateTransitionEnd(l),this._element.style[u]=this._element[f]+"px"}}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(d.IN)){var n=t.Event(p.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension(),r=i===g.WIDTH?"offsetWidth":"offsetHeight";this._element.style[i]=this._element[r]+"px",o.reflow(this._element),t(this._element).addClass(d.COLLAPSING).removeClass(d.COLLAPSE).removeClass(d.IN),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(d.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var s=function(){e.setTransitioning(!1),t(e._element).removeClass(d.COLLAPSING).addClass(d.COLLAPSE).trigger(p.HIDDEN)};return this._element.style[i]=0,o.supportsTransitionEnd()?void t(this._element).one(o.TRANSITION_END,s).emulateTransitionEnd(l):void s()}}}},{key:"setTransitioning",value:function(t){this._isTransitioning=t}},{key:"dispose",value:function(){t.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}},{key:"_getConfig",value:function(n){return n=t.extend({},h,n),n.toggle=Boolean(n.toggle),o.typeCheckConfig(e,n,f),n}},{key:"_getDimension",value:function(){var e=t(this._element).hasClass(g.WIDTH);return e?g.WIDTH:g.HEIGHT}},{key:"_getParent",value:function(){var e=this,n=t(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(n).find(i).each(function(t,n){e._addAriaAndCollapsedClass(a._getTargetFromElement(n),[n])}),n}},{key:"_addAriaAndCollapsedClass",value:function(e,n){if(e){var i=t(e).hasClass(d.IN);e.setAttribute("aria-expanded",i),n.length&&t(n).toggleClass(d.COLLAPSED,!i).attr("aria-expanded",i)}}}],[{key:"_getTargetFromElement",value:function(e){var n=o.getSelectorFromElement(e);return n?t(n)[0]:null}},{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this),i=n.data(s),r=t.extend({},h,n.data(),"object"==typeof e&&e);if(!i&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),i||(i=new a(this,r),n.data(s,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})}},{key:"VERSION",get:function(){return i}},{key:"Default",get:function(){return h}}]),a}();return t(document).on(p.CLICK_DATA_API,v.DATA_TOGGLE,function(e){e.preventDefault();var n=m._getTargetFromElement(this),i=t(n).data(s),r=i?"toggle":t(this).data();m._jQueryInterface.call(t(n),r)}),t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=c,m._jQueryInterface},m}(jQuery),function(t){var e="dropdown",i="4.0.0-alpha",s="bs.dropdown",a="."+s,u=".data-api",c=t.fn[e],l={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click"+a+u,KEYDOWN_DATA_API:"keydown"+a+u},h={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",OPEN:"open"},f={BACKDROP:".dropdown-backdrop",DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",ROLE_MENU:'[role="menu"]',ROLE_LISTBOX:'[role="listbox"]',NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:'[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a'},p=function(){function e(t){n(this,e),this._element=t,this._addEventListeners()}return r(e,[{key:"toggle",value:function(){if(this.disabled||t(this).hasClass(h.DISABLED))return!1;var n=e._getParentFromElement(this),i=t(n).hasClass(h.OPEN);if(e._clearMenus(),i)return!1;if("ontouchstart"in document.documentElement&&!t(n).closest(f.NAVBAR_NAV).length){var r=document.createElement("div");r.className=h.BACKDROP,t(r).insertBefore(this),t(r).on("click",e._clearMenus)}var o={relatedTarget:this},s=t.Event(l.SHOW,o);return t(n).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),t(n).toggleClass(h.OPEN),t(n).trigger(t.Event(l.SHOWN,o)),!1)}},{key:"dispose",value:function(){t.removeData(this._element,s),t(this._element).off(a),this._element=null}},{key:"_addEventListeners",value:function(){t(this._element).on(l.CLICK,this.toggle)}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var i=t(this).data(s);if(i||t(this).data(s,i=new e(this)),"string"==typeof n){if(void 0===i[n])throw new Error('No method named "'+n+'"');i[n].call(this)}})}},{key:"_clearMenus",value:function(n){if(!n||3!==n.which){var i=t(f.BACKDROP)[0];i&&i.parentNode.removeChild(i);for(var r=t.makeArray(t(f.DATA_TOGGLE)),o=0;o<r.length;o++){var s=e._getParentFromElement(r[o]),a={relatedTarget:r[o]};if(t(s).hasClass(h.OPEN)&&!(n&&"click"===n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(s,n.target))){var u=t.Event(l.HIDE,a);t(s).trigger(u),u.isDefaultPrevented()||(r[o].setAttribute("aria-expanded","false"),t(s).removeClass(h.OPEN).trigger(t.Event(l.HIDDEN,a)))}}}}},{key:"_getParentFromElement",value:function(e){var n=void 0,i=o.getSelectorFromElement(e);return i&&(n=t(i)[0]),n||e.parentNode}},{key:"_dataApiKeydownHandler",value:function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(h.DISABLED))){var i=e._getParentFromElement(this),r=t(i).hasClass(h.OPEN);if(!r&&27!==n.which||r&&27===n.which){if(27===n.which){var o=t(i).find(f.DATA_TOGGLE)[0];t(o).trigger("focus")}return void t(this).trigger("click")}var s=t.makeArray(t(f.VISIBLE_ITEMS));if(s=s.filter(function(t){
return t.offsetWidth||t.offsetHeight}),s.length){var a=s.indexOf(n.target);38===n.which&&a>0&&a--,40===n.which&&a<s.length-1&&a++,~a||(a=0),s[a].focus()}}}},{key:"VERSION",get:function(){return i}}]),e}();return t(document).on(l.KEYDOWN_DATA_API,f.DATA_TOGGLE,p._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,f.ROLE_MENU,p._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,f.ROLE_LISTBOX,p._dataApiKeydownHandler).on(l.CLICK_DATA_API,p._clearMenus).on(l.CLICK_DATA_API,f.DATA_TOGGLE,p.prototype.toggle).on(l.CLICK_DATA_API,f.FORM_CHILD,function(t){t.stopPropagation()}),t.fn[e]=p._jQueryInterface,t.fn[e].Constructor=p,t.fn[e].noConflict=function(){return t.fn[e]=c,p._jQueryInterface},p}(jQuery),function(t){var e="modal",i="4.0.0-alpha",s="bs.modal",a="."+s,u=".data-api",c=t.fn[e],l=300,h=150,f={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},d={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,FOCUSIN:"focusin"+a,RESIZE:"resize"+a,CLICK_DISMISS:"click.dismiss"+a,KEYDOWN_DISMISS:"keydown.dismiss"+a,MOUSEUP_DISMISS:"mouseup.dismiss"+a,MOUSEDOWN_DISMISS:"mousedown.dismiss"+a,CLICK_DATA_API:"click"+a+u},g={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",IN:"in"},v={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed"},m=function(){function u(e,i){n(this,u),this._config=this._getConfig(i),this._element=e,this._dialog=t(e).find(v.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return r(u,[{key:"toggle",value:function(t){return this._isShown?this.hide():this.show(t)}},{key:"show",value:function(e){var n=this,i=t.Event(d.SHOW,{relatedTarget:e});t(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),t(document.body).addClass(g.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(d.CLICK_DISMISS,v.DATA_DISMISS,t.proxy(this.hide,this)),t(this._dialog).on(d.MOUSEDOWN_DISMISS,function(){t(n._element).one(d.MOUSEUP_DISMISS,function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(t.proxy(this._showElement,this,e)))}},{key:"hide",value:function(e){e&&e.preventDefault();var n=t.Event(d.HIDE);t(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),t(document).off(d.FOCUSIN),t(this._element).removeClass(g.IN),t(this._element).off(d.CLICK_DISMISS),t(this._dialog).off(d.MOUSEDOWN_DISMISS),o.supportsTransitionEnd()&&t(this._element).hasClass(g.FADE)?t(this._element).one(o.TRANSITION_END,t.proxy(this._hideModal,this)).emulateTransitionEnd(l):this._hideModal())}},{key:"dispose",value:function(){t.removeData(this._element,s),t(window).off(a),t(document).off(a),t(this._element).off(a),t(this._backdrop).off(a),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null}},{key:"_getConfig",value:function(n){return n=t.extend({},f,n),o.typeCheckConfig(e,n,p),n}},{key:"_showElement",value:function(e){var n=this,i=o.supportsTransitionEnd()&&t(this._element).hasClass(g.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.scrollTop=0,i&&o.reflow(this._element),t(this._element).addClass(g.IN),this._config.focus&&this._enforceFocus();var r=t.Event(d.SHOWN,{relatedTarget:e}),s=function(){n._config.focus&&n._element.focus(),t(n._element).trigger(r)};i?t(this._dialog).one(o.TRANSITION_END,s).emulateTransitionEnd(l):s()}},{key:"_enforceFocus",value:function(){var e=this;t(document).off(d.FOCUSIN).on(d.FOCUSIN,function(n){e._element===n.target||t(e._element).has(n.target).length||e._element.focus()})}},{key:"_setEscapeEvent",value:function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(d.KEYDOWN_DISMISS,function(t){27===t.which&&e.hide()}):this._isShown||t(this._element).off(d.KEYDOWN_DISMISS)}},{key:"_setResizeEvent",value:function(){this._isShown?t(window).on(d.RESIZE,t.proxy(this._handleUpdate,this)):t(window).off(d.RESIZE)}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._showBackdrop(function(){t(document.body).removeClass(g.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(d.HIDDEN)})}},{key:"_removeBackdrop",value:function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)}},{key:"_showBackdrop",value:function(e){var n=this,i=t(this._element).hasClass(g.FADE)?g.FADE:"";if(this._isShown&&this._config.backdrop){var r=o.supportsTransitionEnd()&&i;if(this._backdrop=document.createElement("div"),this._backdrop.className=g.BACKDROP,i&&t(this._backdrop).addClass(i),t(this._backdrop).appendTo(document.body),t(this._element).on(d.CLICK_DISMISS,function(t){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide()))}),r&&o.reflow(this._backdrop),t(this._backdrop).addClass(g.IN),!e)return;if(!r)return void e();t(this._backdrop).one(o.TRANSITION_END,e).emulateTransitionEnd(h)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(g.IN);var s=function(){n._removeBackdrop(),e&&e()};o.supportsTransitionEnd()&&t(this._element).hasClass(g.FADE)?t(this._backdrop).one(o.TRANSITION_END,s).emulateTransitionEnd(h):s()}else e&&e()}},{key:"_handleUpdate",value:function(){this._adjustDialog()}},{key:"_adjustDialog",value:function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px~")}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}},{key:"_checkScrollbar",value:function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this._isBodyOverflowing=document.body.clientWidth<t,this._scrollbarWidth=this._getScrollbarWidth()}},{key:"_setScrollbar",value:function(){var e=parseInt(t(v.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")}},{key:"_resetScrollbar",value:function(){document.body.style.paddingRight=this._originalBodyPadding}},{key:"_getScrollbarWidth",value:function(){var t=document.createElement("div");t.className=g.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}}],[{key:"_jQueryInterface",value:function(e,n){return this.each(function(){var i=t(this).data(s),r=t.extend({},u.Default,t(this).data(),"object"==typeof e&&e);if(i||(i=new u(this,r),t(this).data(s,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e](n)}else r.show&&i.show(n)})}},{key:"VERSION",get:function(){return i}},{key:"Default",get:function(){return f}}]),u}();return t(document).on(d.CLICK_DATA_API,v.DATA_TOGGLE,function(e){var n=this,i=void 0,r=o.getSelectorFromElement(this);r&&(i=t(r)[0]);var a=t(i).data(s)?"toggle":t.extend({},t(i).data(),t(this).data());"A"===this.tagName&&e.preventDefault();var u=t(i).one(d.SHOW,function(e){e.isDefaultPrevented()||u.one(d.HIDDEN,function(){t(n).is(":visible")&&n.focus()})});m._jQueryInterface.call(t(i),a,this)}),t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=c,m._jQueryInterface},m}(jQuery),function(t){var e="scrollspy",i="4.0.0-alpha",s="bs.scrollspy",a="."+s,u=".data-api",c=t.fn[e],l={offset:10,method:"auto",target:""},h={offset:"number",method:"string",target:"(string|element)"},f={ACTIVATE:"activate"+a,SCROLL:"scroll"+a,LOAD_DATA_API:"load"+a+u},p={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",NAV_LINK:"nav-link",NAV:"nav",ACTIVE:"active"},d={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},g={OFFSET:"offset",POSITION:"position"},v=function(){function u(e,i){n(this,u),this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(i),this._selector=this._config.target+" "+d.NAV_LINKS+","+(this._config.target+" "+d.DROPDOWN_ITEMS),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(f.SCROLL,t.proxy(this._process,this)),this.refresh(),this._process()}return r(u,[{key:"refresh",value:function(){var e=this,n=this._scrollElement!==this._scrollElement.window?g.POSITION:g.OFFSET,i="auto"===this._config.method?n:this._config.method,r=i===g.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var s=t.makeArray(t(this._selector));s.map(function(e){var n=void 0,s=o.getSelectorFromElement(e);return s&&(n=t(s)[0]),n&&(n.offsetWidth||n.offsetHeight)?[t(n)[i]().top+r,s]:void 0}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})}},{key:"dispose",value:function(){t.removeData(this._element,s),t(this._scrollElement).off(a),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}},{key:"_getConfig",value:function(n){if(n=t.extend({},l,n),"string"!=typeof n.target){var i=t(n.target).attr("id");i||(i=o.getUID(e),t(n.target).attr("id",i)),n.target="#"+i}return o.typeCheckConfig(e,n,h),n}},{key:"_getScrollTop",value:function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop}},{key:"_getScrollHeight",value:function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"_process",value:function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._scrollElement.offsetHeight;if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}if(this._activeTarget&&t<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;){var o=this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1]);o&&this._activate(this._targets[r])}}},{key:"_activate",value:function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",");n=n.map(function(t){return t+'[data-target="'+e+'"],'+(t+'[href="'+e+'"]')});var i=t(n.join(","));i.hasClass(p.DROPDOWN_ITEM)?(i.closest(d.DROPDOWN).find(d.DROPDOWN_TOGGLE).addClass(p.ACTIVE),i.addClass(p.ACTIVE)):i.parents(d.LI).find(d.NAV_LINKS).addClass(p.ACTIVE),t(this._scrollElement).trigger(f.ACTIVATE,{relatedTarget:e})}},{key:"_clear",value:function(){t(this._selector).filter(d.ACTIVE).removeClass(p.ACTIVE)}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this).data(s),i="object"==typeof e&&e||null;if(n||(n=new u(this,i),t(this).data(s,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})}},{key:"VERSION",get:function(){return i}},{key:"Default",get:function(){return l}}]),u}();return t(window).on(f.LOAD_DATA_API,function(){for(var e=t.makeArray(t(d.DATA_SPY)),n=e.length;n--;){var i=t(e[n]);v._jQueryInterface.call(i,i.data())}}),t.fn[e]=v._jQueryInterface,t.fn[e].Constructor=v,t.fn[e].noConflict=function(){return t.fn[e]=c,v._jQueryInterface},v}(jQuery),function(t){var e="tab",i="4.0.0-alpha",s="bs.tab",a="."+s,u=".data-api",c=t.fn[e],l=150,h={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK_DATA_API:"click"+a+u},f={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",FADE:"fade",IN:"in"},p={A:"a",LI:"li",DROPDOWN:".dropdown",UL:"ul:not(.dropdown-menu)",FADE_CHILD:"> .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},d=function(){function e(t){n(this,e),this._element=t}return r(e,[{key:"show",value:function(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!t(this._element).hasClass(f.ACTIVE)){var n=void 0,i=void 0,r=t(this._element).closest(p.UL)[0],s=o.getSelectorFromElement(this._element);r&&(i=t.makeArray(t(r).find(p.ACTIVE)),i=i[i.length-1]);var a=t.Event(h.HIDE,{relatedTarget:this._element}),u=t.Event(h.SHOW,{relatedTarget:i});if(i&&t(i).trigger(a),t(this._element).trigger(u),!u.isDefaultPrevented()&&!a.isDefaultPrevented()){s&&(n=t(s)[0]),this._activate(this._element,r);var c=function(){var n=t.Event(h.HIDDEN,{relatedTarget:e._element}),r=t.Event(h.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(r)};n?this._activate(n,n.parentNode,c):c()}}}},{key:"dispose",value:function(){t.removeClass(this._element,s),this._element=null}},{key:"_activate",value:function(e,n,i){var r=t(n).find(p.ACTIVE_CHILD)[0],s=i&&o.supportsTransitionEnd()&&(r&&t(r).hasClass(f.FADE)||Boolean(t(n).find(p.FADE_CHILD)[0])),a=t.proxy(this._transitionComplete,this,e,r,s,i);r&&s?t(r).one(o.TRANSITION_END,a).emulateTransitionEnd(l):a(),r&&t(r).removeClass(f.IN)}},{key:"_transitionComplete",value:function(e,n,i,r){if(n){t(n).removeClass(f.ACTIVE);var s=t(n).find(p.DROPDOWN_ACTIVE_CHILD)[0];s&&t(s).removeClass(f.ACTIVE),n.setAttribute("aria-expanded",!1)}if(t(e).addClass(f.ACTIVE),e.setAttribute("aria-expanded",!0),i?(o.reflow(e),t(e).addClass(f.IN)):t(e).removeClass(f.FADE),e.parentNode&&t(e.parentNode).hasClass(f.DROPDOWN_MENU)){var a=t(e).closest(p.DROPDOWN)[0];a&&t(a).find(p.DROPDOWN_TOGGLE).addClass(f.ACTIVE),e.setAttribute("aria-expanded",!0)}r&&r()}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var i=t(this),r=i.data(s);if(r||(r=r=new e(this),i.data(s,r)),"string"==typeof n){if(void 0===r[n])throw new Error('No method named "'+n+'"');r[n]()}})}},{key:"VERSION",get:function(){return i}}]),e}();return t(document).on(h.CLICK_DATA_API,p.DATA_TOGGLE,function(e){e.preventDefault(),d._jQueryInterface.call(t(this),"show")}),t.fn[e]=d._jQueryInterface,t.fn[e].Constructor=d,t.fn[e].noConflict=function(){return t.fn[e]=c,d._jQueryInterface},d}(jQuery),function(t){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");var e="tooltip",i="4.0.0-alpha",s="bs.tooltip",a="."+s,u=t.fn[e],c=150,l="bs-tether",h={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},f={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},p={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},d={IN:"in",OUT:"out"},g={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},v={FADE:"fade",IN:"in"},m={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},y={element:!1,enabled:!1},b={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},w=function(){function u(t,e){n(this,u),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return r(u,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(v.IN))return void this._leave(null,this);this._enter(null,this)}}},{key:"dispose",value:function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null}},{key:"show",value:function(){var e=this,n=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(n);var i=t.contains(this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!i)return;var r=this.getTipElement(),s=o.getUID(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&t(r).addClass(v.FADE);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(a);t(r).data(this.constructor.DATA_KEY,this).appendTo(document.body),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:c,element:r,target:this.element,classes:y,classPrefix:l,offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),o.reflow(r),this._tether.position(),t(r).addClass(v.IN);var h=function(){var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===d.OUT&&e._leave(null,e)};if(o.supportsTransitionEnd()&&t(this.tip).hasClass(v.FADE))return void t(this.tip).one(o.TRANSITION_END,h).emulateTransitionEnd(u._TRANSITION_DURATION);h()}}},{key:"hide",value:function(e){var n=this,i=this.getTipElement(),r=t.Event(this.constructor.Event.HIDE),s=function(){n._hoverState!==d.IN&&i.parentNode&&i.parentNode.removeChild(i),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),n.cleanupTether(),e&&e()};t(this.element).trigger(r),r.isDefaultPrevented()||(t(i).removeClass(v.IN),o.supportsTransitionEnd()&&t(this.tip).hasClass(v.FADE)?t(i).one(o.TRANSITION_END,s).emulateTransitionEnd(c):s(),this._hoverState="")}},{key:"isWithContent",value:function(){return Boolean(this.getTitle())}},{key:"getTipElement",value:function(){return this.tip=this.tip||t(this.config.template)[0]}},{key:"setContent",value:function(){var e=t(this.getTipElement());this.setElementContent(e.find(m.TOOLTIP_INNER),this.getTitle()),e.removeClass(v.FADE).removeClass(v.IN),this.cleanupTether()}},{key:"setElementContent",value:function(e,n){var i=this.config.html;"object"==typeof n&&(n.nodeType||n.jquery)?i?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[i?"html":"text"](n)}},{key:"getTitle",value:function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t}},{key:"cleanupTether",value:function(){this._tether&&this._tether.destroy()}},{key:"_getAttachment",value:function(t){return p[t.toUpperCase()]}},{key:"_setListeners",value:function(){var e=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,t.proxy(e.toggle,e));else if(n!==b.MANUAL){var i=n===b.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=n===b.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,t.proxy(e._enter,e)).on(r,e.config.selector,t.proxy(e._leave,e))}}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}},{key:"_enter",value:function(e,n){var i=this.constructor.DATA_KEY;return n=n||t(e.currentTarget).data(i),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?b.FOCUS:b.HOVER]=!0),t(n.getTipElement()).hasClass(v.IN)||n._hoverState===d.IN?void(n._hoverState=d.IN):(clearTimeout(n._timeout),n._hoverState=d.IN,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===d.IN&&n.show()},n.config.delay.show)):void n.show())}},{key:"_leave",value:function(e,n){var i=this.constructor.DATA_KEY;return n=n||t(e.currentTarget).data(i),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?b.FOCUS:b.HOVER]=!1),n._isWithActiveTrigger()?void 0:(clearTimeout(n._timeout),n._hoverState=d.OUT,n.config.delay&&n.config.delay.hide?void(n._timeout=setTimeout(function(){n._hoverState===d.OUT&&n.hide()},n.config.delay.hide)):void n.hide())}},{key:"_isWithActiveTrigger",value:function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}},{key:"_getConfig",value:function(n){return n=t.extend({},this.constructor.Default,t(this.element).data(),n),n.delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),o.typeCheckConfig(e,n,this.constructor.DefaultType),n}},{key:"_getDelegateConfig",value:function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this).data(s),i="object"==typeof e?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new u(this,i),t(this).data(s,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})}},{key:"VERSION",get:function(){return i}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return s}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return f}}]),u}();return t.fn[e]=w._jQueryInterface,t.fn[e].Constructor=w,t.fn[e].noConflict=function(){return t.fn[e]=u,w._jQueryInterface},w}(jQuery));!function(t){var o="popover",a="4.0.0-alpha",u="bs.popover",c="."+u,l=t.fn[o],h=t.extend({},s.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),f=t.extend({},s.DefaultType,{content:"(string|element|function)"}),p={FADE:"fade",IN:"in"},d={TITLE:".popover-title",CONTENT:".popover-content",ARROW:".popover-arrow"},g={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},v=function(s){function l(){n(this,l),i(Object.getPrototypeOf(l.prototype),"constructor",this).apply(this,arguments)}return e(l,s),r(l,[{key:"isWithContent",value:function(){return this.getTitle()||this._getContent()}},{key:"getTipElement",value:function(){return this.tip=this.tip||t(this.config.template)[0]}},{key:"setContent",value:function(){var e=t(this.getTipElement());this.setElementContent(e.find(d.TITLE),this.getTitle()),this.setElementContent(e.find(d.CONTENT),this._getContent()),e.removeClass(p.FADE).removeClass(p.IN),this.cleanupTether()}},{key:"_getContent",value:function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this).data(u),i="object"==typeof e?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new l(this,i),t(this).data(u,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})}},{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return o}},{key:"DATA_KEY",get:function(){return u}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return f}}]),l}(s);return t.fn[o]=v._jQueryInterface,t.fn[o].Constructor=v,t.fn[o].noConflict=function(){return t.fn[o]=l,v._jQueryInterface},v}(jQuery)}(jQuery),!function(){window.PR_SHOULD_USE_CONTINUATION=!0,function(){function t(t){function e(t){var e=t.charCodeAt(0);if(92!==e)return e;var n=t.charAt(1);return(e=h[n])?e:"0"<=n&&"7">=n?parseInt(t.substring(1),8):"u"===n||"x"===n?parseInt(t.substring(2),16):t.charCodeAt(1)}function n(t){return 32>t?(16>t?"\\x0":"\\x")+t.toString(16):(t=String.fromCharCode(t),"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t)}function i(t){var i=t.substring(1,t.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g);t=[];var r="^"===i[0],o=["["];r&&o.push("^");for(var r=r?1:0,s=i.length;r<s;++r){var a=i[r];if(/\\[bdsw]/i.test(a))o.push(a);else{var u,a=e(a);r+2<s&&"-"===i[r+1]?(u=e(i[r+2]),r+=2):u=a,t.push([a,u]),65>u||122<a||(65>u||90<a||t.push([32|Math.max(65,a),32|Math.min(u,90)]),97>u||122<a||t.push([Math.max(97,a)&-33,Math.min(u,122)&-33]))}}for(t.sort(function(t,e){return t[0]-e[0]||e[1]-t[1]}),i=[],s=[],r=0;r<t.length;++r)a=t[r],a[0]<=s[1]+1?s[1]=Math.max(s[1],a[1]):i.push(s=a);for(r=0;r<i.length;++r)a=i[r],o.push(n(a[0])),a[1]>a[0]&&(a[1]+1>a[0]&&o.push("-"),o.push(n(a[1])));return o.push("]"),o.join("")}function r(t){for(var e=t.source.match(/(?:\[(?:[^\x5C\x5D]|\\[\s\S])*\]|\\u[A-Fa-f0-9]{4}|\\x[A-Fa-f0-9]{2}|\\[0-9]+|\\[^ux0-9]|\(\?[:!=]|[\(\)\^]|[^\x5B\x5C\(\)\^]+)/g),r=e.length,a=[],u=0,c=0;u<r;++u){var l=e[u];"("===l?++c:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=c?a[l]=-1:e[u]=n(l))}for(u=1;u<a.length;++u)-1===a[u]&&(a[u]=++o);for(c=u=0;u<r;++u)l=e[u],"("===l?(++c,a[c]||(e[u]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=c&&(e[u]="\\"+a[l]);for(u=0;u<r;++u)"^"===e[u]&&"^"!==e[u+1]&&(e[u]="");if(t.ignoreCase&&s)for(u=0;u<r;++u)l=e[u],t=l.charAt(0),2<=l.length&&"["===t?e[u]=i(l):"\\"!==t&&(e[u]=l.replace(/[a-zA-Z]/g,function(t){return t=t.charCodeAt(0),"["+String.fromCharCode(t&-33,32|t)+"]"}));return e.join("")}for(var o=0,s=!1,a=!1,u=0,c=t.length;u<c;++u){var l=t[u];if(l.ignoreCase)a=!0;else if(/[a-z]/i.test(l.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){s=!0,a=!1;break}}for(var h={b:8,t:9,n:10,v:11,f:12,r:13},f=[],u=0,c=t.length;u<c;++u){if(l=t[u],l.global||l.multiline)throw Error(""+l);f.push("(?:"+r(l)+")")}return new RegExp(f.join("|"),a?"gi":"g")}function e(t,e){function n(t){var u=t.nodeType;if(1==u){if(!i.test(t.className)){for(u=t.firstChild;u;u=u.nextSibling)n(u);u=t.nodeName.toLowerCase(),"br"!==u&&"li"!==u||(r[a]="\n",s[a<<1]=o++,s[a++<<1|1]=t)}}else 3!=u&&4!=u||(u=t.nodeValue,u.length&&(u=e?u.replace(/\r\n?/g,"\n"):u.replace(/[ \t\r\n]+/g," "),r[a]=u,s[a<<1]=o,o+=u.length,s[a++<<1|1]=t))}var i=/(?:^|\s)nocode(?:\s|$)/,r=[],o=0,s=[],a=0;return n(t),{a:r.join("").replace(/\n$/,""),c:s}}function n(t,e,n,i,r){n&&(t={h:t,l:1,j:null,m:null,a:n,c:null,i:e,g:null},i(t),r.push.apply(r,t.g))}function i(t){for(var e=void 0,n=t.firstChild;n;n=n.nextSibling)var i=n.nodeType,e=1===i?e?t:n:3===i&&b.test(n.nodeValue)?t:e;return e===t?void 0:e}function r(e,i){function r(t){for(var e=t.i,c=t.h,l=[e,"pln"],h=0,f=t.a.match(o)||[],p={},d=0,g=f.length;d<g;++d){var v,m=f[d],y=p[m],b=void 0;if("string"==typeof y)v=!1;else{var w=s[m.charAt(0)];if(w)b=m.match(w[1]),y=w[0];else{for(v=0;v<a;++v)if(w=i[v],b=m.match(w[1])){y=w[0];break}b||(y="pln")}!(v=5<=y.length&&"lang-"===y.substring(0,5))||b&&"string"==typeof b[1]||(v=!1,y="src"),v||(p[m]=y)}if(w=h,h+=m.length,v){v=b[1];var E=m.indexOf(v),T=E+v.length;b[2]&&(T=m.length-b[2].length,E=T-v.length),y=y.substring(5),n(c,e+w,m.substring(0,E),r,l),n(c,e+w+E,v,u(y,v),l),n(c,e+w+T,m.substring(T),r,l)}else l.push(e+w,y)}t.g=l}var o,s={};!function(){for(var n=e.concat(i),r=[],a={},u=0,c=n.length;u<c;++u){var l=n[u],h=l[3];if(h)for(var f=h.length;0<=--f;)s[h.charAt(f)]=l;l=l[1],h=""+l,a.hasOwnProperty(h)||(r.push(l),a[h]=null)}r.push(/[\0-\uffff]/),o=t(r)}();var a=i.length;return r}function o(t){var e=[],n=[];t.tripleQuotedStrings?e.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):t.multiLineStrings?e.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):e.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),t.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var i=t.hashComments;if(i&&(t.cStyleComments?(1<i?e.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):e.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):e.push(["com",/^#[^\r\n]*/,null,"#"])),t.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null])),i=t.regexLiterals){var o=(i=1<i?"":"\n\r")?".":"[\\S\\s]";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+o+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+o+")*(?:\\x5D|$))+/")+")")])}return(i=t.types)&&n.push(["typ",i]),i=(""+t.keywords).replace(/^ | $/g,""),i.length&&n.push(["kwd",new RegExp("^(?:"+i.replace(/[\s,]+/g,"|")+")\\b"),null]),e.push(["pln",/^\s+/,null," \r\n\t "]),i="^.[^\\s\\w.$@'\"`/\\\\]*",t.regexLiterals&&(i+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(i),null]),r(e,n)}function s(t,e,n){function i(t){var e=t.nodeType;if(1!=e||o.test(t.className)){if((3==e||4==e)&&n){var u=t.nodeValue,c=u.match(s);c&&(e=u.substring(0,c.index),t.nodeValue=e,(u=u.substring(c.index+c[0].length))&&t.parentNode.insertBefore(a.createTextNode(u),t.nextSibling),r(t),e||t.parentNode.removeChild(t))}}else if("br"===t.nodeName)r(t),t.parentNode&&t.parentNode.removeChild(t);else for(t=t.firstChild;t;t=t.nextSibling)i(t)}function r(t){function e(t,n){var i=n?t.cloneNode(!1):t,r=t.parentNode;if(r){var r=e(r,1),o=t.nextSibling;r.appendChild(i);for(var s=o;s;s=o)o=s.nextSibling,r.appendChild(s)}return i}for(;!t.nextSibling;)if(t=t.parentNode,!t)return;t=e(t.nextSibling,0);for(var n;(n=t.parentNode)&&1===n.nodeType;)t=n;c.push(t)}for(var o=/(?:^|\s)nocode(?:\s|$)/,s=/\r\n?|\n/,a=t.ownerDocument,u=a.createElement("li");t.firstChild;)u.appendChild(t.firstChild);for(var c=[u],l=0;l<c.length;++l)i(c[l]);
e===(0|e)&&c[0].setAttribute("value",e);var h=a.createElement("ol");h.className="linenums",e=Math.max(0,e-1|0)||0;for(var l=0,f=c.length;l<f;++l)u=c[l],u.className="L"+(l+e)%10,u.firstChild||u.appendChild(a.createTextNode(" ")),h.appendChild(u);t.appendChild(h)}function a(t,e){for(var n=e.length;0<=--n;){var i=e[n];E.hasOwnProperty(i)?l.console&&console.warn("cannot override language handler %s",i):E[i]=t}}function u(t,e){return t&&E.hasOwnProperty(t)||(t=/^\s*</.test(e)?"default-markup":"default-code"),E[t]}function c(t){var n=t.j;try{var i=e(t.h,t.l),r=i.a;t.a=r,t.c=i.c,t.i=0,u(n,r)(t);var o=/\bMSIE\s(\d+)/.exec(navigator.userAgent),o=o&&8>=+o[1],n=/\n/g,s=t.a,a=s.length,i=0,c=t.c,h=c.length,r=0,f=t.g,p=f.length,d=0;f[p]=a;var g,v;for(v=g=0;v<p;)f[v]!==f[v+2]?(f[g++]=f[v++],f[g++]=f[v++]):v+=2;for(p=g,v=g=0;v<p;){for(var m=f[v],y=f[v+1],b=v+2;b+2<=p&&f[b+1]===y;)b+=2;f[g++]=m,f[g++]=y,v=b}f.length=g;var w=t.h;t="",w&&(t=w.style.display,w.style.display="none");try{for(;r<h;){var E,T=c[r+2]||a,C=f[d+2]||a,b=Math.min(T,C),_=c[r+1];if(1!==_.nodeType&&(E=s.substring(i,b))){o&&(E=E.replace(n,"\r")),_.nodeValue=E;var x=_.ownerDocument,S=x.createElement("span");S.className=f[d+1];var N=_.parentNode;N.replaceChild(S,_),S.appendChild(_),i<T&&(c[r+1]=_=x.createTextNode(s.substring(b,T)),N.insertBefore(_,S.nextSibling))}i=b,i>=T&&(r+=2),i>=C&&(d+=2)}}finally{w&&(w.style.display=t)}}catch(A){l.console&&console.log(A&&A.stack||A)}}var l=window,h=["break,continue,do,else,for,if,return,while"],f=[[h,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],p=[f,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],d=[f,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],g=[f,"abstract,as,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],f=[f,"debugger,eval,export,function,get,instanceof,null,set,undefined,var,with,Infinity,NaN"],v=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],m=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],h=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],y=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,b=/\S/,w=o({keywords:[p,g,d,f,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",v,m,h],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),E={};a(w,["default-code"]),a(r([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),"default-markup htm html mxml xhtml xml xsl".split(" ")),a(r([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),a(r([],[["atv",/^[\s\S]+/]]),["uq.val"]),a(o({keywords:p,hashComments:!0,cStyleComments:!0,types:y}),"c cc cpp cxx cyc m".split(" ")),a(o({keywords:"null,true,false"}),["json"]),a(o({keywords:g,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:y}),["cs"]),a(o({keywords:d,cStyleComments:!0}),["java"]),a(o({keywords:h,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),a(o({keywords:v,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),a(o({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),a(o({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),a(o({keywords:f,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]),a(o({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),a(r([],[["str",/^[\s\S]+/]]),["regex"]);var T=l.PR={createSimpleLexer:r,registerLangHandler:a,sourceDecorator:o,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:l.prettyPrintOne=function(t,e,n){n=n||!1,e=e||null;var i=document.createElement("div");return i.innerHTML="<pre>"+t+"</pre>",i=i.firstChild,n&&s(i,n,!0),c({j:e,m:n,h:i,l:1,a:null,i:null,c:null,g:null}),i.innerHTML},prettyPrint:l.prettyPrint=function(t,e){function n(){for(var e=l.PR_SHOULD_USE_CONTINUATION?p.now()+250:1/0;d<a.length&&p.now()<e;d++){for(var r=a[d],u=E,h=r;h=h.previousSibling;){var f=h.nodeType,T=(7===f||8===f)&&h.nodeValue;if(T?!/^\??prettify\b/.test(T):3!==f||/\S/.test(h.nodeValue))break;if(T){u={},T.replace(/\b(\w+)=([\w:.%+-]+)/g,function(t,e,n){u[e]=n});break}}if(h=r.className,(u!==E||v.test(h))&&!m.test(h)){for(f=!1,T=r.parentNode;T;T=T.parentNode)if(w.test(T.tagName)&&T.className&&v.test(T.className)){f=!0;break}if(!f){if(r.className+=" prettyprinted",f=u.lang,!f){var C,f=h.match(g);!f&&(C=i(r))&&b.test(C.tagName)&&(f=C.className.match(g)),f&&(f=f[1])}if(y.test(r.tagName))T=1;else var T=r.currentStyle,_=o.defaultView,T=(T=T?T.whiteSpace:_&&_.getComputedStyle?_.getComputedStyle(r,null).getPropertyValue("white-space"):0)&&"pre"===T.substring(0,3);_=u.linenums,(_="true"===_||+_)||(_=!!(_=h.match(/\blinenums\b(?::(\d+))?/))&&(!_[1]||!_[1].length||+_[1])),_&&s(r,_,T),c({j:f,h:r,m:_,l:T,a:null,i:null,c:null,g:null})}}}d<a.length?l.setTimeout(n,250):"function"==typeof t&&t()}for(var r=e||document.body,o=r.ownerDocument||document,r=[r.getElementsByTagName("pre"),r.getElementsByTagName("code"),r.getElementsByTagName("xmp")],a=[],u=0;u<r.length;++u)for(var h=0,f=r[u].length;h<f;++h)a.push(r[u][h]);var r=null,p=Date;p.now||(p={now:function(){return+new Date}});var d=0,g=/\blang(?:uage)?-([\w.]+)(?!\S)/,v=/\bprettyprint\b/,m=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,w=/^(?:pre|code|xmp)$/i,E={};n()}},p=l.define;"function"==typeof p&&p.amd&&p("google-code-prettify",[],function(){return T})}()}(),!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(i,r,function(e){return t[e]}.bind(null,r));return i},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),a=i(n(1)),u=i(n(3)),c=i(n(4)),l=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.resolveOptions(n),i.listenClick(t),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,u["default"]),s(e,[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===o(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,c["default"])(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a["default"]({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return r("action",t)}},{key:"defaultTarget",value:function(t){var e=r("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return r("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}();t.exports=l},function(t,e,n){"use strict";var i,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),s=n(2),a=(i=s)&&i.__esModule?i:{"default":i},u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return o(t,[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,a["default"])(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,a["default"])(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=u},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(t),i.removeAllRanges(),i.addRange(r),e=i.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function i(){r.off(t,i),e.apply(n,arguments)}var r=this;return i._=e,this.on(t,i,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,s=i.length;o<s;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}},t.exports=n},function(t,e,n){var i=n(5),r=n(6);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return f=e,p=n,(h=t).addEventListener(f,p),{destroy:function(){h.removeEventListener(f,p)}};if(i.nodeList(t))return u=t,c=e,l=n,Array.prototype.forEach.call(u,function(t){t.addEventListener(c,l)}),{destroy:function(){Array.prototype.forEach.call(u,function(t){t.removeEventListener(c,l)})}};if(i.string(t))return o=t,s=e,a=n,r(document.body,o,s,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,s,a,u,c,l,h,f,p}},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){function i(t,e,n,i,o){var s=function(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,s,o),{destroy:function(){t.removeEventListener(n,s,o)}}}var r=n(7);t.exports=function(t,e,n,r,o){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,r,o)}))}},function(t,e){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])}),self.window||(window=self),function(){"use strict";function t(){return function(){}}function e(t){return function(e){this[t]=e}}function n(t){return function(){return this[t]}}function i(t){return function(){return t}}function r(t){return void 0!==t}function o(){}function s(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var n=Object.prototype.toString.call(t);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof t.length&&"undefined"!=typeof t.splice&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||"undefined"!=typeof t.call&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&"undefined"==typeof t.call)return"object";return e}function a(t){return null===t}function u(t){return null!=t}function c(t){var e=s(t);return"array"==e||"object"==e&&"number"==typeof t.length}function l(t){return"string"==typeof t}function h(t){return"function"==s(t)}function f(t){return t[oc]||(t[oc]=++sc)}function p(t,e,n){return t.call.apply(t.bind,arguments)}function d(t,e,n){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,i),t.apply(e,n)}}return function(){return t.apply(e,arguments)}}function g(t,e,n){return g=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?p:d,g.apply(null,arguments)}function v(t,e){var n=Array.prototype.slice.call(arguments,1);return function(){var e=n.slice();return e.push.apply(e,arguments),t.apply(this,e)}}function m(t,e){var n=t.split("."),i=rc;n[0]in i||!i.execScript||i.execScript("var "+n[0]);for(var o;n.length&&(o=n.shift());)!n.length&&r(e)?i[o]=e:i=i[o]?i[o]:i[o]={}}function y(t,e){function n(){}n.prototype=e.prototype,t.hb=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.Yg=function(t,n,i){for(var r=Array(arguments.length-2),o=2;o<arguments.length;o++)r[o-2]=arguments[o];return e.prototype[n].apply(t,r)}}function b(t){if(Error.captureStackTrace)Error.captureStackTrace(this,b);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t))}function w(t){var e=0,n=ac(String(Ic)).split(".");t=ac(String(t)).split(".");for(var i=Math.max(n.length,t.length),r=0;0==e&&r<i;r++){var o=n[r]||"",s=t[r]||"",a=/(\d*)(\D*)/g,u=/(\d*)(\D*)/g;do{var c=a.exec(o)||["","",""],l=u.exec(s)||["","",""];if(0==c[0].length&&0==l[0].length)break;e=E(0==c[1].length?0:parseInt(c[1],10),0==l[1].length?0:parseInt(l[1],10))||E(0==c[2].length,0==l[2].length)||E(c[2],l[2])}while(0==e)}return e}function E(t,e){return t<e?-1:t>e?1:0}function T(t,e,n){this.rg=n,this.Rf=t,this.Mg=e,this.sd=0,this.hd=null}function C(t,e,n){return 2>=arguments.length?Array.prototype.slice.call(t,e):Array.prototype.slice.call(t,e,n)}function _(t){for(var e=[],n=0;n<t;n++)e[n]=0;return e}function x(t){for(var e=[],n=0;n<arguments.length;n++){var i=arguments[n];if("array"==s(i))for(var r=0;r<i.length;r+=8192)for(var o=x.apply(null,C(i,r,r+8192)),a=0;a<o.length;a++)e.push(o[a]);else e.push(i)}return e}function S(t){var e,n=[],i=0;for(e in t)n[i++]=t[e];return n}function N(t){return-1!=uc.indexOf(t)}function A(){return N("Opera")||N("OPR")}function k(){return(N("Chrome")||N("CriOS"))&&!A()&&!N("Edge")}function I(t){rc.setTimeout(function(){throw t},0)}function O(){var t=rc.MessageChannel;if("undefined"==typeof t&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!N("Presto")&&(t=function(){var t=document.createElement("IFRAME");t.style.display="none",t.src="",document.documentElement.appendChild(t);var e=t.contentWindow,t=e.document;t.open(),t.write(""),t.close();var n="callImmediate"+Math.random(),i="file:"==e.location.protocol?"*":e.location.protocol+"//"+e.location.host,t=g(function(t){"*"!=i&&t.origin!=i||t.data!=n||this.port1.onmessage()},this);e.addEventListener("message",t,!1),this.port1={},this.port2={postMessage:function(){e.postMessage(n,i)}}}),"undefined"!=typeof t&&!N("Trident")&&!N("MSIE")){var e=new t,n={},i=n;return e.port1.onmessage=function(){if(r(n.next)){n=n.next;var t=n.Ge;n.Ge=null,t()}},function(t){i.next={Ge:t},i=i.next,e.port2.postMessage(0)}}return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(t){var e=document.createElement("SCRIPT");e.onreadystatechange=function(){e.onreadystatechange=null,e.parentNode.removeChild(e),e=null,t(),t=null},document.documentElement.appendChild(e)}:function(t){rc.setTimeout(t,0)}}function D(){this.Cd=this.rc=null}function L(){this.next=this.scope=this.Ud=null}function j(t,e){yc||P(),bc||(yc(),bc=!0),wc.add(t,e)}function P(){if(rc.Promise&&rc.Promise.resolve){var t=rc.Promise.resolve(void 0);yc=function(){t.then(R)}}else yc=function(){var t=R;!h(rc.setImmediate)||rc.Window&&rc.Window.prototype&&!N("Edge")&&rc.Window.prototype.setImmediate==rc.setImmediate?(vc||(vc=O()),vc(t)):rc.setImmediate(t)}}function R(){for(var t=null;t=wc.remove();){try{t.Ud.call(t.scope)}catch(e){I(e)}mc.put(t)}bc=!1}function M(t,e){if(this.Sa=0,this.qf=void 0,this.Xc=this.fc=this.F=null,this.gd=this.Sd=!1,t!=o)try{var n=this;t.call(e,function(t){$(n,2,t)},function(t){$(n,3,t)})}catch(i){$(this,3,i)}}function q(){this.next=this.context=this.lc=this.Kc=this.child=null,this.Fd=!1}function H(t,e,n){var i=Ec.get();return i.Kc=t,i.lc=e,i.context=n,i}function F(t){if(t instanceof M)return t;var e=new M(o);return $(e,2,t),e}function B(t){return new M(function(e,n){n(t)})}function W(t,e,n){K(t,e,n,null)||j(v(e,t))}function U(t){return new M(function(e,n){var i=t.length,r=[];if(i)for(var o,s=function(t,n){i--,r[t]=n,0==i&&e(r)},a=function(t){n(t)},u=0;u<t.length;u++)o=t[u],W(o,v(s,u),a);else e(r)})}function V(){var t,e,n=new M(function(n,i){t=n,e=i});return new et(n,t,e)}function z(t,e){t.fc||2!=t.Sa&&3!=t.Sa||Y(t),t.Xc?t.Xc.next=e:t.fc=e,t.Xc=e}function G(t,e,n,i){var o=H(null,null,null);return o.child=new M(function(t,s){o.Kc=e?function(n){try{var r=e.call(i,n);t(r)}catch(o){s(o)}}:t,o.lc=n?function(e){try{var o=n.call(i,e);!r(o)&&e instanceof tt?s(e):t(o)}catch(a){s(a)}}:s}),o.child.F=t,z(t,o),o.child}function $(t,e,n){0==t.Sa&&(t==n&&(e=3,n=new TypeError("Promise cannot resolve to itself")),t.Sa=1,K(n,t.Sg,t.Tg,t)||(t.qf=n,t.Sa=e,t.F=null,Y(t),3!=e||n instanceof tt||Z(t,n)))}function K(t,e,n,i){if(t instanceof M)return z(t,H(e||o,n||null,i)),!0;var r;if(t)try{r=!!t.$goog_Thenable}catch(s){r=!1}else r=!1;if(r)return t.then(e,n,i),!0;if(r=typeof t,"object"==r&&null!=t||"function"==r)try{var a=t.then;if(h(a))return X(t,a,e,n,i),!0}catch(s){return n.call(i,s),!0}return!1}function X(t,e,n,i,r){function o(t){a||(a=!0,i.call(r,t))}function s(t){a||(a=!0,n.call(r,t))}var a=!1;try{e.call(t,s,o)}catch(u){o(u)}}function Y(t){t.Sd||(t.Sd=!0,j(t.Yf,t))}function Q(t){var e=null;return t.fc&&(e=t.fc,t.fc=e.next,e.next=null),t.fc||(t.Xc=null),e}function J(t,e,n){2==e?t.Kc.call(t.context,n):t.lc&&t.lc.call(t.context,n)}function Z(t,e){t.gd=!0,j(function(){t.gd&&Tc.call(null,e)})}function tt(t){b.call(this,t)}function et(t,e,n){this.ha=t,this.resolve=e,this.reject=n}function nt(t,e,n,i){n=n||function(t,e){return t==e},i=i||function(e){return t[e]};for(var r=t.length,o=e.length,s=[],a=0;a<r+1;a++)s[a]=[],s[a][0]=0;for(var u=0;u<o+1;u++)s[0][u]=0;for(a=1;a<=r;a++)for(u=1;u<=o;u++)n(t[a-1],e[u-1])?s[a][u]=s[a-1][u-1]+1:s[a][u]=Math.max(s[a-1][u],s[a][u-1]);for(var c=[],a=r,u=o;0<a&&0<u;)n(t[a-1],e[u-1])?(c.unshift(i(a-1,u-1)),a--,u--):s[a-1][u]>s[a][u-1]?a--:u--;return c}function it(t){return fc(arguments,function(t,e){return t+e},0)}function rt(t){return it.apply(null,arguments)/arguments.length}function ot(t){var e=arguments.length;if(2>e)return 0;var n=rt.apply(null,arguments);return it.apply(null,hc(arguments,function(t){return Math.pow(t-n,2)}))/(e-1)}function st(t){return Math.sqrt(ot.apply(null,arguments))}function at(){}function ut(t){if(t instanceof at)return t;if("function"==typeof t.sc)return t.sc(!1);if(c(t)){var e=0,n=new at;return n.next=function(){for(;;){if(e>=t.length)throw Cc;if(e in t)return t[e++];e++}},n}throw Error("Not implemented")}function ct(t,e){if(c(t))try{lc(t,e,void 0)}catch(n){if(n!==Cc)throw n}else{t=ut(t);try{for(;;)e.call(void 0,t.next(),void 0,t)}catch(n){if(n!==Cc)throw n}}}function lt(t){if(pc(arguments,function(t){return!t.length})||!arguments.length)return new at;var e=new at,n=arguments,i=_(n.length);return e.next=function(){if(i){for(var t=hc(i,function(t,e){return n[e][t]}),e=i.length-1;0<=e;e--){if(i[e]<n[e].length-1){i[e]++;break}if(0==e){i=null;break}i[e]=0}return t}throw Cc},e}function ht(t,e){this.l={},this.a=[],this.Ta=this.Gb=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var i=0;i<n;i+=2)this.set(arguments[i],arguments[i+1])}else t&&this.addAll(t)}function ft(t){return pt(t),t.a.concat()}function pt(t){if(t.Gb!=t.a.length){for(var e=0,n=0;e<t.a.length;){var i=t.a[e];dt(t.l,i)&&(t.a[n++]=i),e++}t.a.length=n}if(t.Gb!=t.a.length){for(var r={},n=e=0;e<t.a.length;)i=t.a[e],dt(r,i)||(t.a[n++]=i,r[i]=1),e++;t.a.length=n}}function dt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function gt(){return N("iPhone")&&!N("iPod")&&!N("iPad")}function vt(){var t=uc;return Ac?/rv\:([^\);]+)(\)|;)/.exec(t):Nc?/Edge\/([\d\.]+)/.exec(t):Sc?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(t):kc?/WebKit\/(\S+)/.exec(t):void 0}function mt(){this.pe=Pc||Lc||Dc,this.hg=!(this.pe||Sc&&!Oc[10]&&!(Oc[10]=0<=w(10))),!Sc||Oc[11]||(Oc[11]=0<=w(11)),this.Xg=jc||Pc,this.wg=r(window.Map)&&r(window.Map.prototype.values)&&r(window.Map.prototype.forEach)&&!this.pe,this.xg=r(window.Set)&&r(window.Set.prototype.values)&&r(window.Set.prototype.forEach)&&!this.pe}function yt(){return r(_c)||(_c=new mt),_c}function bt(){this.l=new ht,Object.defineProperty(this,"size",{get:function(){return this.l.Cc()}})}function wt(){return Rc?new window.Map:new bt}function Et(t){if(t instanceof bt)return ft(t.l);var e=0,n=Array(t.size);return t.forEach(function(t,i){n[e++]=i}),n}function Tt(t){if(t instanceof bt)return t.l.ra();var e=0,n=Array(t.size);return t.forEach(function(t){n[e++]=t}),n}function Ct(t,e){this.sa=t,this.m=e||this.Le()}function _t(t){return new Ct(t.id,t.value)}function xt(t){return new Ct((Mc++),t||{})}function St(t){if(null==t)return null;t=new Uint8Array(t);for(var e="",n=0;n<t.length;++n)var i=t[n].toString(16),e=e+(2>i.length?"0"+i:i);return e}function Nt(t,e,n,i,r){this.xd=t,this.lg=e,this.Vg=n,this.Tf=i,this.Lf=r}function At(t,e){this.zd=t,this.Qa=e||null,this.S=V(),this.xd=!1,this.za=null}function kt(t){try{xe(t.Qa)}catch(e){return B(e)}return It(t).then(function(t){return this.Qa.ka(),t}.bind(t))}function It(t){return Ot(t),Dt(t),t.vc()}function Ot(t){t.Qa.ib.forEach(function(t,e){var n=this.Qa.da().get(e),n=this.I(n.getName(),n.mb.bind(n),0),i=Tt(t.xa).map(function(t){return t.id()});0<i.length&&n.remove(i).ve(this.Te,this),i=Tt(t.ma).map(function(t){return t[1]}).concat(Tt(t.wa)),n.put(i).ve(this.Te,this)},t)}function Dt(t){Ee(t.Qa).forEach(function(t){var e=this.I(t.getName(),_t,1);e.remove([]),e.put(t.Ja())},t)}function Lt(t){this.Ng=t}function jt(t){if(t.ra&&"function"==typeof t.ra)return t.ra();if(l(t))return t.split("");if(c(t)){for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e}return S(t)}function Pt(t){this.l=new ht,t&&this.addAll(t)}function Rt(t){var e=typeof t;return"object"==e&&t||"function"==e?"o"+f(t):e.substr(0,1)+t}function Mt(t){this.Zb=new Pt(t),Object.defineProperty(this,"size",{get:function(){return this.Zb.Cc()}})}function qt(t){return Gc?r(t)?new window.Set(t):new window.Set:new Mt(t)}function Ht(t){if(t instanceof Mt)return t.Zb.ra();var e=0,n=Array(t.size);return t.forEach(function(t){n[e++]=t}),n}function Ft(t,e){if(e.size>t.size)return!1;var n=!0;return e.forEach(function(e){n=n&&t.has(e)}),n}function Bt(t,e){this.sa=t,this.m=e||{}}function Wt(t){var e=qt();return t.forEach(function(t){e.add(t>>9)}),Ht(e)}function Ut(t,e){e.forEach(function(t){this.m[t.id()]=t.Ja()},t)}function Vt(t,e){e.forEach(function(t){delete this.m[t]},t)}function zt(t){return new Bt(t.id,JSON.parse(t.value))}function Gt(t,e,n){this.Y=t,this.Ib=e,this.rf=n}function $t(t,e){var n=wt(),i=V(),r=Wt(e).map(function(t){return new M(function(e,i){var r;try{r=this.Y.get(t)}catch(o){return void i(o)}r.onerror=i,r.onsuccess=function(t){t=zt(t.target.result),n.set(t.W(),t),e()}},this)},t);return U(r).then(function(){i.resolve(n)}),i.ha}function Kt(t,e,n){t=t.b(Fc);var i=[n<<9,(n+1<<9)-1];return e=t.Ua(e,i[0],i[1]),n=new Bt(n),Ut(n,e),n}function Xt(t,e){return new Bt(e)}function Yt(t){this.V=t.b(Fc),this.D=t.b(Bc),this.g=t.b(zc)}function Qt(t,e){var n=e.getName();e.xa.forEach(function(t,e){this.V.remove(n,e)},t),e.wa.forEach(function(t){this.V.set(n,t)},t),e.ma.forEach(function(t){this.V.set(n,t[1])},t)}function Jt(t,e){var n=t.g.table(e.getName());ye(e).forEach(function(t){Zt(this,n,t)},t)}function Zt(t,e,n){var i=t.D.oc.get(e.getName())||[],r=0;i.forEach(function(t){try{te(t,n),r++}catch(e){throw i.slice(0,r).forEach(function(t){te(t,[n[1],n[0]])},this),e}},t)}function te(t,e){var n=null===e[1]?void 0:e[1].pb(t.getName()),i=null===e[0]?void 0:e[0].pb(t.getName());if(!r(i)&&r(n))t.add(n,e[1].id());else if(r(i)&&r(n)){if(null===n||null===i){if(n==i)return}else if(0==t.lb().compare(i,n))return;t.add(n,e[1].id()),t.remove(i,e[0].id())}else r(i)&&!r(n)&&t.remove(i,e[0].id());
}function ee(t,e){if(this.code=t,this.message="http://sn.im/2a0j3wn?c="+t,1<arguments.length)for(var n=1;n<=Math.min(4,arguments.length-1);++n)this.message+="&p"+(n-1)+"="+encodeURIComponent(arguments[n].toString().slice(0,64))}function ne(){this.l=wt(),this.size=0}function ie(t){this.D=t.b(Bc),this.g=t.b(zc),this.V=t.b(Fc),this.ad=null}function re(t,e,n){var i=e.Jb().zg;n.forEach(function(t){i.forEach(function(e){if(null==t.m[e.getName()])throw new ee(202,e.j())},this)},t)}function oe(t,e,n,i){e.Jb().Wd().forEach(function(t){t.timing==i&&se(this,t,n)},t)}function se(t,e,n){var i=ae(t,e);n.forEach(function(t){if(ue(t[0],t[1],e.name)&&(t=t[1].pb(e.name),null!==t&&!i.Oa(t)))throw new ee(203,e.name)},t)}function ae(t,e){null===t.ad&&(t.ad=wt());var n=t.ad.get(e.name)||null;return null===n&&(n=t.g.table(e.Wa)[e.Lc].Ca(),n=t.D.get(n.j()),t.ad.set(e.name,n)),n}function ue(t,e,n){return(null===t?null!==e:null===e)||t.pb(n)!=e.pb(n)}function ce(t,e,n,i){e=Iu(t.g.info(),e.getName(),0),null!==e&&(e=e.filter(function(t){return t.timing==i}),0!=e.length&&fe(t,e,n,function(t,e,n){if(e.Oa(n))throw new ee(203,t.name)}))}function le(t,e,n){if(e=Iu(t.g.info(),e.getName(),1),null===e)return null;var i=new ne;return fe(t,e,n,function(t,e,n){e=e.get(n),0<e.length&&i.Yb(t.He,e)}),i}function he(t,e,n){var i=new ne;return fe(t,n,e,function(t,e,n,r){e.get(n).forEach(function(e){i.set(e,{Td:t,Eg:r[1]})})}),i}function fe(t,e,n,i){e.forEach(function(t){var e=this.D.get(t.name),r=ae(this,t);n.forEach(function(n){if(ue(n[0],n[1],r.getName())){var o=n[0].pb(r.getName());i(t,e,o,n)}},this)},t)}function pe(t,e,n,i){0!=n.length&&(n=n.map(function(t){return[null,t]}),oe(t,e,n,i))}function de(t,e,n,i){0!=n.length&&(oe(t,e,n,i),ce(t,e,n,i))}function ge(t,e,n,i){0!=n.length&&(n=n.map(function(t){return[t,null]}),ce(t,e,n,i))}function ve(t,e,n){var i={ue:[],tf:new ne},r=new ne;r.Yb(e.getName(),n.map(function(t){return t.id()}));do{var o=new ne;r.keys().forEach(function(t){var e=this.g.table(t);t=r.get(t).map(function(t){return[this.V.get(t),null]},this),e=le(this,e,t),null!==e&&(i.ue.unshift.apply(i.ue,e.keys()),o.be(e))},t),r=o,i.tf.be(r)}while(0<r.size);return i}function me(t){this.wa=wt(),this.ma=wt(),this.xa=wt(),this.A=t}function ye(t){var e=[];return t.wa.forEach(function(t){e.push([null,t])}),t.ma.forEach(function(t){e.push(t)}),t.xa.forEach(function(t){e.push([t,null])}),e}function be(t){var e=new me(t.A);return t.wa.forEach(function(t){e["delete"](t)}),t.xa.forEach(function(t){e.add(t)}),t.ma.forEach(function(t){e.modify([t[1],t[0]])}),e}function we(t,e){this.$=wt(),e.forEach(function(t){this.$.set(t.getName(),t)},this),this.g=t.b(zc),this.V=t.b(Fc),this.D=t.b(Bc),this.Aa=new ie(t),this.jd=new Yt(t),this.ib=wt()}function Ee(t){var e=[];return Et(t.ib).map(function(t){return this.$.get(t)},t).forEach(function(t){t.Fb()&&(t.Da().forEach(function(t){e.push(this.D.get(t.j()))},this),e.push(this.D.get(t.getName()+".#")))},t),e}function Te(t,e,n){var i=e.getName(),r=t.ib.get(i)||new me(i);t.ib.set(i,r);try{Zt(t.jd,e,n)}catch(o){throw o}e=n[0];var s=n[1];null===e&&null!==s?(t.V.set(i,s),r.add(s)):null!==e&&null!==s?(t.V.set(i,s),r.modify(n)):null!==e&&null===s&&(t.V.remove(i,e.id()),r["delete"](e))}function Ce(t,e,n){if(e=Iu(t.g.info(),e.getName(),1),null!==e){var i=he(t.Aa,n,e);i.keys().forEach(function(t){i.get(t).forEach(function(e){var n=this.g.table(e.Td.He),i=this.V.get(t),r=n.mb(i.Ja());r.m[e.Td.yb]=e.Eg.m[e.Td.Lc],Te(this,n,[i,r])},this)},t)}}function _e(t,e,n){if(null!==Iu(t.g.info(),e.getName(),1)){e=ve(t.Aa,e,n);var i=e.tf;e.ue.forEach(function(t){var e=this.g.table(t);t=i.get(t).map(function(t){return this.V.get(t)},this),ge(this.Aa,e,t,0),t.forEach(function(t){Te(this,e,[t,null])},this)},t)}}function xe(t){t.ib.forEach(function(t){var e=this.$.get(t.getName());pe(this.Aa,e,Tt(t.wa),1),ge(this.Aa,e,Tt(t.xa),1),de(this.Aa,e,Tt(t.ma),1)},t)}function Se(t,e){if(!t.$.has(e.getName()))throw new ee(106,e.getName())}function Ne(t,e,n,i){this.from=t,this.o=e,this.ea=this.from!=Jc&&n,this.oa=this.o!=Jc&&i}function Ae(t){if(Oe(t))return[];var e=null,n=null;return t.from==Jc||(e=new Ne(Jc,t.from,(!1),(!t.ea))),t.o==Jc||(n=new Ne(t.o,Jc,(!t.oa),(!1))),[e,n].filter(function(t){return null!==t})}function ke(t,e){var n=Le(t.from,e.from,!0,t.ea,e.ea);if(0==n)return!0;var i=-1==n?t:e,n=1==n?t:e;return i.o==Jc||i.o>n.from||i.o==n.from&&!i.oa&&!n.ea}function Ie(){return new Ne(Jc,Jc,(!1),(!1))}function Oe(t){return t.from==Jc&&t.o==Jc}function De(t){return t.from==t.o&&t.from!=Jc&&!t.ea&&!t.oa}function Le(t,e,n,i,r){function o(t){return n?t:1==t?-1:1}return i=i||!1,r=r||!1,t==Jc?e==Jc?(i?!r:r)?o(i?1:-1):0:o(-1):e==Jc?o(1):t<e?-1:t==e?(i?!r:r)?o(i?1:-1):0:1}function je(t,e){var n=Le(t.from,e.from,!0,t.ea,e.ea);return 0==n&&(n=Le(t.o,e.o,!1,t.oa,e.oa)),n}function Pe(t){if(0==t.length)return[];t.sort(je);for(var e=Array(t.length+1),n=0;n<e.length;n++)e[n]=0==n?new Ne(Jc,t[n].from,(!1),(!0)):n==e.length-1?new Ne(t[n-1].o,Jc,(!0),(!1)):new Ne(t[n-1].o,t[n].from,(!0),(!0));return e}function Re(t){this.nc=[],r(t)&&this.add(t)}function Me(t,e){var n=[];return t.ra().map(function(t){return e.ra().map(function(e){var n;if(ke(t,e)){n=Ie();var i=Le(t.from,e.from,!0),i=0==i?t.ea?t:e:-1!=i?t:e;n.from=i.from,n.ea=i.ea,t.o==Jc||e.o==Jc?e=t.o==Jc?e:t:(i=Le(t.o,e.o,!1),e=0==i?t.oa?t:e:-1==i?t:e),n.o=e.o,n.oa=e.oa}else n=null;return n})}).forEach(function(t){n=n.concat(t)}),new Re(n.filter(function(t){return null!==t}))}function qe(t,e){this.entries=t,this.M=qt(e),this.Za=null}function He(t){return t.entries.map(function(t){return t.va.m})}function Fe(t){return t.entries.map(function(t){return t.va.id()})}function Be(t,e){return t.Za.get(e.j())}function We(){return null===Zc&&(Zc=new qe([],[])),Zc}function Ue(t){if(0==t.length)return We();for(var e=t.reduce(function(t,e){return t+e.entries.length},0),n=Array(e),i=0,e=t.map(function(t){var e=wt();return t.entries.forEach(function(t){n[i++]=t,e.set(t.id,t)}),e}),r=wt(),o=0;o<n.length;o++)e.every(function(t){return t.has(n[o].id)})&&r.set(n[o].id,n[o]);return new qe(Tt(r),Ht(t[0].M))}function Ve(t){if(0==t.length)return We();var e=wt();return t.forEach(function(t){t.entries.forEach(function(t){e.set(t.id,t)})}),new qe(Tt(e),Ht(t[0].M))}function ze(t,e){var n=1<e.length,i=t.map(function(t){return new Ge(t,n)});return new qe(i,e)}function Ge(t,e){this.va=t,this.id=tl++,this.Zd=e}function $e(t,e){var n=e.$a();return null!==n&&t.va.m.hasOwnProperty(n)?t.va.m[n]:t.Zd?t.va.m[Gr(e.I())][e.getName()]:t.va.m[e.getName()]}function Ke(t,e,n){var i=e.$a();if(null!=i)t.va.m[i]=n;else if(t.Zd){var i=Gr(e.I()),r=t.va.m[i];null==r&&(r={},t.va.m[i]=r),r[e.getName()]=n}else t.va.m[e.getName()]=n}function Xe(t,e,n,i){function r(t,e){if(t.Zd){var n,i=t.va.m;for(n in i)o[n]=i[n]}else o[e[0]]=t.va.m}var o={};return r(t,e),r(n,i),t=new Ct((-1),o),new Ge(t,(!0))}function Ye(t){this.fa=t}function Qe(){this.Ze=tn();var t=nn();this.ic=wt(),this.ic.set(1,en()),this.ic.set(2,on()),this.ic.set(4,t),this.ic.set(3,t),this.ic.set(5,rn())}function Je(){return null!=el||(el=new Qe),el}function Ze(t,e,n){return(t.ic.get(e)||null).get(n)||null}function tn(){function t(t){return t}var e=wt();return e.set(1,function(t){return null===t?null:t?1:0}),e.set(2,function(t){return null===t?null:t.getTime()}),e.set(3,t),e.set(4,t),e.set(5,t),e}function en(){var t=wt();return t.set("eq",function(t,e){return t==e}),t.set("neq",function(t,e){return t!=e}),t}function nn(){var t=en();return t.set("between",function(t,e){return null!==t&&null!==e[0]&&null!==e[1]&&(t>=e[0]&&t<=e[1])}),t.set("gte",function(t,e){return null!==t&&null!==e&&t>=e}),t.set("gt",function(t,e){return null!==t&&null!==e&&t>e}),t.set("in",function(t,e){return-1!=e.indexOf(t)}),t.set("lte",function(t,e){return null!==t&&null!==e&&t<=e}),t.set("lt",function(t,e){return null!==t&&null!==e&&t<e}),t}function rn(){var t=nn();return t.set("match",function(t,e){return null!==t&&null!==e&&new RegExp(e).test(t)}),t}function on(){var t=wt();return t.set("between",function(t,e){return null!==t&&null!==e[0]&&null!==e[1]&&(t.getTime()>=e[0].getTime()&&t.getTime()<=e[1].getTime())}),t.set("eq",function(t,e){return(null===t?-1:t.getTime())==(null===e?-1:e.getTime())}),t.set("gte",function(t,e){return null!==t&&null!==e&&t.getTime()>=e.getTime()}),t.set("gt",function(t,e){return null!==t&&null!==e&&t.getTime()>e.getTime()}),t.set("in",function(t,e){return e.some(function(e){return e.getTime()==t.getTime()})}),t.set("lte",function(t,e){return null!==t&&null!==e&&t.getTime()<=e.getTime()}),t.set("lt",function(t,e){return null!==t&&null!==e&&t.getTime()<e.getTime()}),t.set("neq",function(t,e){return(null===t?-1:t.getTime())!=(null===e?-1:e.getTime())}),t}function sn(){this.h=this.F=null}function an(t){for(var e=0;!a(t.getParent());)e++,t=t.getParent();return e}function un(t){return t.h||nl}function cn(t,e){return un(t)[e]||null}function ln(t,e,n){e.F=t,null===t.h?t.h=[e]:t.h.splice(n,0,e)}function hn(t,e){e.F=t,null===t.h?t.h=[e]:t.h.push(e)}function fn(t,e){var n=t.h&&t.h[e];return n?(n.F=null,t.h.splice(e,1),0==t.h.length&&(t.h=null),n):null}function pn(t,e,n){cn(t,n).F=null,e.F=t,t.h[n]=e}function dn(t,e,n){!1!==e.call(n,t)&&un(t).forEach(function(t){dn(t,e,n)})}function gn(){sn.call(this),this.sa=il++}function vn(t,e,n){gn.call(this),this.H=t,this.value=e,this.C=n,this.yc=Ze(Je(),this.H.J(),this.C),this.Va=!1,this.ec=e}function mn(t){var e=!1;if(t.value instanceof Ye||(e="array"!=s(t.value)||!t.value.some(function(t){return t instanceof Ye})),!e)throw new ee(501)}function yn(t,e){var n=qt(t.value),i=function(t){return null!==t&&n.has(t)!=this.Va}.bind(t),r=e.entries.filter(function(t){return i($e(t,this.H))},t);return new qe(r,e.s())}function bn(t,e){return 2==t.H.J()?e.getTime():e}function wn(t){this.ba=t,this.Yc=this.Ga=null}function En(t,e){return null===t.Ga&&null!=t.w&&(t.Ga=Tn(t.w)),t.Ga.get(e)||null}function Tn(t){var e=wt();return dn(t,function(t){e.set(t.W(),t)}),e}function Cn(t,e){e.w&&(t.w=e.w.Pb()),t.Yc=e}function _n(t,e){var n=t.w;null!=n&&dn(n,function(t){t instanceof vn&&t.bind(e)})}function xn(t){wn.call(this,t)}function Sn(t){var e="";return t.forEach(function(n,i){e+=n.H.j()+" ",e+=1==n.sb?"ASC":"DESC",i<t.length-1&&(e+=", ")}),e}function Nn(t,e){this.Ha=t,this.$=e}function An(t){var e=qt();return t.forEach(function(t){t.da().forEach(e.add.bind(e))}),e}function kn(t,e){this.global=t,this.Na=t.b(Hc),this.ud=e.map(function(t){return t.context}),this.jf=e.map(function(t){return t.je}),this.Nd=An(this.jf),this.xe=In(this),this.fb=V()}function In(t){return t.ud.some(function(t){return!(t instanceof xn)})?1:0}function On(t,e){kn.call(this,t,e),this.Lb=t.b(Vc)}function Dn(t,e){this.c=t,this.Lb=t.b(Vc),this.Ia=t.b(Uc),this.jd=new Yt(t),this.ib=e;var n=t.b(zc),i=this.ib.map(function(t){return n.table(t.getName())});this.$=qt(i),this.fb=V()}function Ln(t){this.c=t,this.Na=t.b(Hc),this.Ia=t.b(Uc)}function jn(t,e){this.Ta=t,this.i=e,this.Ya=wt()}function Pn(t,e){var n=V(),i=t;return e.length&&(i=t.child(e)),i.once("value",function(t){n.resolve(t.val())},function(t){n.reject(t)}),n.ha}function Rn(t,e,n){function i(t){t?r.reject(t):r.resolve()}n=n||!1;var r=V();return n?t.set(e,i):t.update(e,i),r.ha}function Mn(t,e,n){var i=t.Ya.get(e);return null!=i?function(){var t={},e=V();return this.i.orderByChild("T").equalTo(i).once("value",function(i){i.forEach(function(e){var i=n(e.val());t[parseInt(e.key(),10)]=i}),e.resolve(t)}),e.ha}.call(t).then(function(t){return t["@rev"]={R:++this.Ra},Rn(this.i,t)}.bind(t)):F()}function qn(t,e,n){At.call(this,e,n),this.i=t}function Hn(){this.Ba=wt()}function Fn(t,e){if(0==e.length)return Tt(t.Ba);var n=[];return e.forEach(function(t){t=this.Ba.get(t)||null,null===t||n.push(t)},t),n}function Bn(t,e){e.forEach(function(t){this.Ba.set(t.id(),t)},t)}function Wn(t,e){0==e.length||e.length==t.Ba.size?t.Ba.clear():e.forEach(function(t){this.Ba["delete"](t)},t)}function Un(t){return 0==t.Ba.size?0:Et(t.Ba).reduce(function(t,e){return t>e?t:e},0)}function Vn(t,e){this.g=t,this.Ff=e,this.Mc=wt(),this.Ra=-1,this.M=wt(),this.Ya=wt(),this.Kd=null}function zn(t){t.i.off(),t.i.on("child_removed",t.Bg.bind(t)),t.Ld&&(t.Ld.off(),t.Mc.clear()),t.Ld=t.i.orderByChild("R").startAt(t.Ra+1),t.Ld.on("value",t.ee.bind(t))}function Gn(t){Mc=Tt(t.M).map(function(t){return Un(t)}).reduce(function(t,e){return t>e?t:e},0)+1}function $n(t,e){var n=qt(),i=wt();return t.Ya.forEach(function(t,e){var r=this.M.get(e),o=new me(e);if(this.Mc.has(t)){var s=Ht(this.Mc.get(t));s.forEach(function(t){n.add(t)}),Fn(r,s).forEach(function(t){o["delete"](t)})}i.set(t,o)}.bind(t)),e.forEach(function(t){if("@rev"!=t.key()){var e=parseInt(t.key(),10);if(!n.has(e)){var r=t.val();t=i.get(r.T);var o=this.M.get(t.getName()),r=this.g.table(t.getName()).mb({id:e,value:r.P});o.getData().has(e)?t.modify([Fn(o,[e])[0],r]):t.add(r)}}}.bind(t)),Tt(i).filter(function(t){return!t.ld()})}function Kn(t,e){var n=V(),i=t.Ya.get(e),r=t.g.table(e);return t.i.orderByChild("T").equalTo(i).once("value",function(t){var i=new Hn,o=[];t.forEach(function(t){o.push(r.mb({id:parseInt(t.key(),10),value:t.val().P}))}),Bn(i,o),this.M.set(e,i),n.resolve()}.bind(t)),n.ha}function Xn(t){var e={};return e["@db"]={version:t.g.version()},e["@rev"]={R:1},t.Ra=1,e["@table"]={},t.g.pa().forEach(function(t,n){var i=t.getName();e["@table"][i]=n,this.M.set(i,new Hn),this.Ya.set(i,n)},t),e}function Yn(t,e,n,i){this.i=e,this.ja=n,this.Ta=t,this.Wc=i}function Qn(t,e,n,i){return new M(function(t,r){var o;try{var s=this.ja.objectStore(e);o=s.openCursor()}catch(a){return void r(a)}o.onsuccess=function(){var e=o.result;e?(n(e),e["continue"]()):(i(s),t())},o.onerror=r},t)}function Jn(t){var e=null;return e=t instanceof ArrayBuffer?St(t):t instanceof Date?t.getTime():t}function Zn(e,n,i){function r(t){var e,n=zt(t.value),r=n.m;for(e in r){var o=_t(r[e]);i(o),r[e]=o.Ja()}t.update(n.Ja())}function o(t){var e=_t(t.value);i(e),t.update(e.Ja())}return Qn(e,n,e.Wc?r:o,t())}function ti(t,e){var n=[];return new M(function(t,i){var r;try{r=this.ja.objectStore(e).openCursor()}catch(o){return void i(o)}r.onsuccess=function(){var e=r.result;if(e){if(this.Wc){var i;i=zt(e.value).m;for(var o in i)n.push(i[o])}else n.push(e.value);e["continue"]()}else t(n)}.bind(this),r.onerror=i},t)}function ei(t,e){this.Y=t,this.Ib=e}function ni(t){return new M(function(t,e){var n,i=[];try{n=this.Y.openCursor()}catch(r){return void e(r)}n.onerror=e,n.onsuccess=function(){var e=n.result;e?(i.push(this.Ib(e.value)),e["continue"]()):t(i)}.bind(this)},t)}function ii(t){return new M(function(t,e){var n;try{n=this.Y.getAll()}catch(i){return void e(i)}n.onerror=e,n.onsuccess=function(){var e=n.result.map(function(t){return this.Ib(t)},this);t(e)}.bind(this)},t)}function ri(t,e,n,i,r){At.call(this,n,r),this.c=t,this.ja=e,this.Wc=i,this.ja.oncomplete=this.S.resolve.bind(this.S),this.ja.onabort=this.S.reject.bind(this.S)}function oi(t,e){this.c=t,this.g=e,this.Hd=e.kf().Vf||!1}function si(t,e,n){var i=n.target.result;return n=new Yn(n.oldVersion,i,n.target.transaction,t.Hd),ai(i),t.g.pa().forEach(v(t.Of,i),t),e(n)}function ai(t){for(var e=[],n=0;n<t.objectStoreNames.length;++n){var i=t.objectStoreNames.item(n);-1!=i.indexOf(".")&&e.push(i)}e.forEach(function(e){try{t.deleteObjectStore(e)}catch(n){}})}function ui(t,e){t.objectStoreNames.contains(e)||t.createObjectStore(e,{keyPath:"id"})}function ci(t){var e=qt();return t.forEach(function(t){e.add(t.getName()),t.Fb()&&(t.Da().forEach(function(t){e.add(t.j())}),e.add($r(t)))}),Ht(e)}function li(t,e,n){At.call(this,e,n),this.Y=t,0==e&&this.S.resolve()}function hi(t){this.g=t,this.M=wt()}function fi(t,e){if(!t.M.has(e)){var n=new Hn;t.M.set(e,n)}}function pi(t){hi.call(this,t),this.rd=null}function di(t,e,n){this.ja=t,this.A='"'+e+'"',this.Ib=n}function gi(t,e,n){At.call(this,e,n),this.i=t,this.M=wt(),this.Od=[]}function vi(t){return t.replace(".","__d__").replace("#","__s__")}function mi(t,e,n,i){var r=V();return t.Od.push({Pg:e,Fg:n,transform:i,S:r}),r.ha}function yi(t,e,n){this.i=n,this.c=t,this.Ta=e}function bi(t){return new gi(t.i,1,new we(t.c,qt()))}function wi(t,e,n){var i=bi(t),r="UPDATE "+e+" SET value=? WHERE id=?";return t.gc(e).then(function(t){return t.forEach(function(t){t=n(t),mi(i,r,[JSON.stringify(t.value),t.id])}),i.ka()})}function Ei(t){mi(t,'SELECT tbl_name FROM sqlite_master WHERE type="table"',[],function(t){for(var e=Array(t.rows.length),n=0;n<e.length;++n)e[n]=t.rows.item(n).tbl_name;return e})}function Ti(t,e,n){this.c=t,this.g=e,this.Og=n||1}function Ci(t,e){var n=V(),i=new gi(t.i,1,new we(t.c,qt()));return mi(i,"CREATE TABLE IF NOT EXISTS __lf_ver(id INTEGER PRIMARY KEY, v INTEGER)",[]),mi(i,"SELECT v FROM __lf_ver WHERE id = 0",[]),i.ka().then(function(t){var i=0;t[1].rows.length&&(i=t[1].rows.item(0).v),i<this.g.version()?this.he(e,i).then(n.resolve.bind(n)):i>this.g.version()?n.reject(new ee(108)):n.resolve()}.bind(t),n.reject.bind(n)),n.ha}function _i(t){var e=t.g.pa(),n=new gi(t.i,1,new we(t.c,qt())),i=new gi(t.i,1,new we(t.c,qt()));return mi(n,"INSERT OR REPLACE INTO __lf_ver VALUES (0, ?)",[t.g.version()]),Ei(n),n.ka().then(function(t){var n=t[1];n.filter(function(t){return-1!=t.indexOf("__d__")}).forEach(function(t){mi(i,"DROP TABLE "+('"'+t+'"'),[])});var r=[],o=[],s=[];return e.map(function(t){-1==n.indexOf(t.getName())&&r.push(t.getName()),t.Fb&&(t.Da().forEach(function(t){t=vi(t.j()),r.push(t),o.push(t)}),t=vi($r(t)),r.push(t),s.push(t))}),r.forEach(function(t){mi(i,"CREATE TABLE "+('"'+t+'"')+"(id INTEGER PRIMARY KEY, value TEXT)",[])}),i.ka()})}function xi(t){this.l=wt(),this.bc=wt(),t.pa().forEach(function(t){this.bc.set(t.getName(),qt())},this)}function Si(t,e){return e.map(function(t){return this.get(t)},t)}function Ni(t,e,n){var i=0,r=t.length;for(n=n||Ai;i<r;){var o=i+r>>1;0>n(t[o],e)?i=o+1:r=o}return i==r&&t[i]==e?i:~i}function Ai(t,e){return t-e}function ki(t,e,n){return n=Ni(t,e,n),0>n&&(t.splice(-(n+1),0,e),!0)}function Ii(t,e,n,i){return t=e?t.reverse():t,null==n&&null==i?t:(n=Math.min(r(n)?n:t.length,t.length),0==n?[]:(i=Math.min(i||0,t.length),t.slice(i,i+n)))}function Oi(){this.ia=0}function Di(t,e){t.clear(),e.forEach(function(t){this.ia+=t.ia},t)}function Li(t,e,n,i){if(this.A=t,this.Z=e,this.Af=n,this.za=new Oi,i){if(t=511,t*=t*t,i.length>=t)throw new ee(6,t);i=Ui(this,i),this.ua=i=zi(i)}else this.clear()}function ji(t,e,n){if(!t.Z.Pd(e.a[n])){if(!(1<e.a[n].length))return null;if(null===e.a[n][0])return null}return[e.a[n],t.Af?[e.B[n]]:e.B[n]]}function Pi(t,e,n,i){return t=new Li(e,t,n),i=tr(i,t),t.ua=i,t}function Ri(t,e){this.sa=t,this.u=e,this.ob=0,this.ya=this.tb=this.F=null,this.a=[],this.B=[],this.h=[],this.bg=1==e.lb().$d()?this.Pe:this.Oe}function Mi(t){return new Ri((Mc++),t)}function qi(t){return 0==t.ob}function Hi(t){function e(t){return null!=t?t.sa.toString():"_"}var n=t.sa+"["+t.a.join("|")+"]",i=t.h.map(function(t){return t.sa}).join("|"),r=t.B.join("/"),o=e(t.tb)+"{",o=qi(t)?o+r:o+i,o=o+"}"+e(t.F);return t.ya&&(t=Hi(t.ya),n=n+" "+t[0],o=o+" "+t[1]),[n,o]}function Fi(t){return qi(t)?t:Fi(t.h[0])}function Bi(t){return qi(t)?t:Bi(t.h[t.h.length-1])}function Wi(t,e){e&&(e.tb=t),t&&(t.ya=e)}function Ui(t,e){for(var n=e.length,i=0,r=Mi(t),o=r;0<n;){var s=768<=n?511:257<=n&&511>=n?n:257,a=e.slice(i,i+s);r.a=a.map(function(t){return t.key}),r.B=a.map(function(t){return t.value}),i+=s,n-=s,0<n&&(s=Mi(r.u),Wi(r,s),r=s)}return o}function Vi(t){var e=t[0],n=Mi(e.u);for(n.ob=e.ob+1,n.h=t,e=0;e<t.length;++e)t[e].F=n,0<e&&n.a.push(t[e].a[0]);return n}function zi(t){var e=t,n=[];do n.push(e),e=e.ya;while(e);if(512>=n.length)e=Vi(n);else{var i=n.length,r=0,e=Mi(t.u);for(e.ob=t.ob+2;0<i;){t=768<=i?511:257<=i&&511>=i?i:257;var o=n.slice(r,r+t),s=Vi(o);s.F=e,e.h.length&&(e.a.push(o[0].a[0]),Wi(e.h[e.h.length-1],s)),e.h.push(s),r+=t,i-=t}}return e}function Gi(t){return qi(t)?t.a[0]:Gi(t.h[0])}function $i(t){t.a=[];for(var e=1;e<t.h.length;++e)t.a.push(Gi(t.h[e]))}function Ki(t,e,n,i){var o=Qi(t,e),s=qi(t);if(s){if(!t.u.Pa(t.a[o],e))return!1}else{var a=t.u.Pa(t.a[o],e)?o+1:o;if(!Ki(t.h[a],e,a,i))return!1;$i(t)}if(t.a.length>o&&t.u.Pa(t.a[o],e)){if(r(i)&&!t.u.La()&&s&&(a=t.B[o],i=Ni(a,i,void 0),0>i?i=!1:(a.splice(i,1),i=!0),i&&t.u.aa().remove(e,1),t.B[o].length))return!1;t.a.splice(o,1),s&&(s=t.u.La()?1:t.B[o].length,t.B.splice(o,1),t.u.aa().remove(e,s))}if(256>t.a.length&&null!==t.F){t:{if(e=null,t.ya&&256<t.ya.a.length)e=t.ya,o=i=0,s=t.a.length+1;else{if(!(t.tb&&256<t.tb.a.length)){e=!1;break t}e=t.tb,i=t.tb.a.length-1,o=qi(t)?i:i+1,s=0}t.a.splice(s,0,e.a[i]),e.a.splice(i,1),i=qi(t)?t.B:t.h,a=null,qi(t)?a=e.B:(a=e.h,a[o].F=t),i.splice(s,0,a[o]),a.splice(o,1),qi(e)||($i(e),$i(t)),e=!0}e||Xi(t,n)}return!0}function Xi(t,e){var n,i,r;t.ya&&511>t.ya.a.length?(n=t.ya,r=i=0):t.tb&&(n=t.tb,i=n.a.length,r=qi(n)?n.B.length:n.h.length),i=[i,0].concat(t.a),Array.prototype.splice.apply(n.a,i),i=null,qi(t)?i=t.B:(i=t.h,i.forEach(function(t){t.F=n})),i=[r,0].concat(i),Array.prototype.splice.apply(qi(n)?n.B:n.h,i),Wi(t.tb,t.ya),qi(n)||$i(n),-1!=e&&(t.F.a.splice(e,1),t.F.h.splice(e,1))}function Yi(t){var e=Mi(t.u),n=Mi(t.u);return e.F=t.F,e.ob=t.ob+1,e.a=[t.a[256]],e.h=[t,n],t.a.splice(256,1),n.F=e,n.ob=t.ob,n.a=t.a.splice(256),n.h=t.h.splice(257),n.h.forEach(function(t){t.F=n}),t.F=e,Wi(n,t.ya),Wi(t,n),e}function Qi(t,e){for(var n=0,i=t.a.length,r=t.u.lb();n<i;){var o=n+i>>1;-1==r.compare(t.a[o],e)?n=o+1:i=o}return n}function Ji(t,e,n,i){if(t.u.La())!e.reverse&&e.L?e.L--:n[e.count++]=t.B[i];else for(var r=0;r<t.B[i].length&&e.count<n.length;++r)!e.reverse&&e.L?e.L--:n[e.count++]=t.B[i][r]}function Zi(t,e,n,i,r){for(;i<r&&(e.reverse||!(e.count>=e.X));++i)Ji(t,e,n,i)}function tr(t,e){for(var n=e.aa(),i=t.map(function(t){var i=new Ri(t.id(),e);return i.a=t.m[0],i.B=t.m[1],i.a.forEach(function(t,r){n.add(t,e.La()?1:i.B[r].length)}),i}),r=0;r<i.length-1;++r)Wi(i[r],i[r+1]);return 1<i.length?zi(i[0]):i[0]}function er(t){this.Zc=0==t?ir:nr,this.ce=0==t?function(t){return null!=t?t.reverse():null}:function(t){return t||null},this.ie=0==t?or:rr}function nr(t,e){return t>e?1:t<e?-1:0}function ir(t,e){return nr(e,t)}function rr(t,e){return je(t,e)}function or(t,e){return je(e,t)}function sr(t){er.call(this,t),this.Zc=0==t?ur:ar}function ar(t,e){return null===t?null===e?0:-1:null===e?1:nr(t,e)}function ur(t,e){return ar(e,t)}function cr(t){this.qa=t.map(function(t){return new er(t)})}function lr(t,e,n,i){for(var r=0,o=0;o<t.qa.length&&0==r;++o)r=i(t.qa[o],e[o],n[o]);return r}function hr(t){cr.call(this,t),this.qa=t.map(function(t){return new sr(t)})}function fr(t){if(1==t.f.length)return new er(t.f[0].sb);var e=t.f.map(function(t){return t.sb});return t.f.some(function(t){return t.ba.kc()})?new hr(e):new cr(e)}function pr(t){this.fa=t,this.qb=qt(),this.Qc=new Oi,this.za=new Oi}function dr(t,e){for(var n=-1,i=0;i<e.length;++i)if(-2==e[i].id()){n=i;break}if(-1==n)throw new ee(102);var i=e[n].m,r=e.slice(0);r.splice(n,1);var n=t(r),o=new pr(n);return i.forEach(function(t){o.qb.add(t)}),o}function gr(t){this.A=t,this.vb=qt(),this.Z=new er(1)}function vr(t,e){var n=new gr(t);return e[0].m.forEach(function(t){n.add(t,t)}),n}function mr(t){this.Na=t.b(Hc),this.D=t.b(Bc),this.V=t.b(Fc)}function yr(t,e){var n=t.Na.Hb(0,[e]),i=n.I(e.getName(),e.mb.bind(e),0).get([]).then(function(t){this.V.Yb(e.getName(),t),br(this,e,t)}.bind(t));return n.ka(),i}function br(t,e,n){var i=t.D.oc.get(e.getName())||[];n.forEach(function(t){i.forEach(function(e){var n=t.pb(e.getName());e.add(n,t.id())})})}function wr(t,e){var n=t.Na.Hb(0,[e]),i=n.I(e.getName(),e.mb,0).get([]).then(function(t){this.V.Yb(e.getName(),t)}.bind(t)),r=e.Da().map(function(t){return Er(this,t,n)},t).concat(Tr(t,e,n));return n.ka(),U(r.concat(i))}function Er(t,e,n){n=n.I(e.j(),_t,1);var i=fr(e);return n.get([]).then(function(t){if(0<t.length){if(Vr(e)){var n=Pi.bind(void 0,i,e.j(),e.Gc);t=dr(n,t)}else t=Pi(i,e.j(),e.Gc,t);this.D.set(e.pc,t)}}.bind(t))}function Tr(t,e,n){return n.I($r(e),_t,1).get([]).then(function(t){0<t.length&&(t=vr($r(e),t),this.D.set(e.getName(),t))}.bind(t))}function Cr(){this.Y=wt(),this.oc=wt()}function _r(t,e){var n=[],i=null,r=null;return dn(t,function(t){var o=e(t);null==t.getParent()?r=o:hn(i,o);var s=t.getParent();null!==s&&un(s).length==un(i).length&&(s=n.indexOf(i),-1!=s&&n.splice(s,1)),1<un(t).length&&n.push(o),i=null===t.h?n[n.length-1]:o}),r}function xr(t){return Or(t,function(t){return null===t.h})}function Sr(t){var e=t.getParent(),n=0;null!==e&&(n=un(e).indexOf(t),e.removeChild(t));var i=un(t).slice();return i.forEach(function(i,r){t.removeChild(i),null===e||ln(e,i,n+r)}),{parent:e,children:i}}function Nr(t,e){un(t).slice().forEach(function(n){t.removeChild(n),hn(e,n)}),hn(t,e)}function Ar(t){var e=cn(t,0);return Sr(t),Nr(e,t),e}function kr(t,e,n){var i=cn(t,0),r=un(i).slice();return r.some(function(t){return e(t)})?(Sr(t),r.forEach(function(r,o){if(e(r)){var s=n(t);fn(i,o),hn(s,r),ln(i,s,o)}}),i):t}function Ir(t,e,n,i){var r=t.getParent();return null!==r&&(t=un(r).indexOf(t),fn(r,t),ln(r,n,t)),un(e).slice().forEach(function(t){e.removeChild(t),hn(i,t)}),n}function Or(t,e,n){function i(t){e(t)&&r.push(t),null!=n&&n(t)||un(t).forEach(i)}var r=[];return i(t),r}function Dr(t,e){var n=e||function(t){return t.toString()+"\n"},i="";return dn(t,function(t){for(var e=0;e<an(t);e++)i+="-";i+=n(t)}),i}function Lr(t){gn.call(this),this.rb=t,this.Va=!1}function jr(t,e){return"and"==t.rb?Ue(e):Ve(e)}function Pr(t){var e=null;return un(t).every(function(t){return!!(t instanceof vn&&t.nd())&&(null===e&&(e=t.H),e.j()==t.H.j())})}function Rr(t,e,n){gn.call(this),this.ga=t,this.na=e,this.C=n,this.de=null,t=Je(),this.yc=Ze(t,this.ga.J(),this.C),this.pg=t.Ze.get(this.ga.J())||null}function Mr(t,e,n){var i=null,r=null;if(-1!=e.s().indexOf(Gr(t.ga.I()))?(i=e,r=n):(i=n,r=e),i.entries.length>r.entries.length){t:{switch(e=t.ga,t.ga=t.na,t.na=e,e=t.C,t.C){case"gt":e="lt";break;case"lt":e="gt";break;case"gte":e="lte";break;case"lte":e="gte";break;default:break t}t.C=e,t.yc=Ze(Je(),t.ga.J(),t.C)}return[r,i]}return[i,r]}function qr(t){var e={};return t.nb().forEach(function(t){e[t.getName()]=null}),e}function Hr(t,e,n){null===t.de&&(t.de=qr(t.na.I()));var i=new Ge(new Ct((-1),t.de),(!1));return Xe(e,n,i,[Gr(t.na.I())])}function Fr(t,e,n,i){var r=[e,n];i||(r=Mr(t,e,n)),e=r[0],n=r[1];var r=e,o=n,s=t.ga,a=t.na;i&&(r=n,o=e,s=t.na,a=t.ga);var u=new ne,c=[];r.entries.forEach(function(t){var e=String($e(t,s));u.set(e,t)});var l=r.s(),h=o.s();return o.entries.forEach(function(t){var e=$e(t,a),n=String(e);null!==e&&u.has(n)?u.get(n).forEach(function(e){e=Xe(t,h,e,l),c.push(e)}):i&&c.push(Hr(this,t,h))}.bind(t)),t=e.s().concat(n.s()),new qe(c,t)}function Br(t,e,n,i,r){function o(t,e){var n=new Ge(e,1<l.length),n=Xe(t,h,n,l);c.push(n)}var s=i.fg.I(),a=e,u=n;-1!=e.s().indexOf(Gr(s))&&(a=n,u=e);var c=[],l=u.s(),h=a.s();return a.entries.forEach(function(t){var e=this.pg($e(t,i.yg)),e=i.index.get(e);0!=e.length&&(i.index.La()?o(t,r.get(e[0])):Si(r,e).forEach(o.bind(null,t)))},t),t=a.s().concat(u.s()),new qe(c,t)}function Wr(t,e,n){return null===e?new vn(t,e,n):r(e.j)?new Rr(t,e,n):new vn(t,e,n)}function Ur(t,e,n,i){this.pc=t,this.name=e,this.Gc=n,this.f=i}function Vr(t){return t.f.some(function(t){return t.ba.kc()})}function zr(t,e,n,i){this.A=t,this.ta=n,this.K=e,this.td=i,this.jb=null}function Gr(t){return t.jb||t.A}function $r(t){return t.A+".#"}function Kr(t,e){this.child=t,this.Ob=e,this.jb=null}function Xr(t){for(var e=[t];t instanceof Kr;)e.push(t.child),t=t.child;return e}function Yr(t){this.jb=t||null,this.U=new zr("#UnknownTable",[],[],(!1))}function Qr(t){return new Kr(t||new Yr,"COUNT")}function Jr(t){return new Kr(t,"DISTINCT")}function Zr(t,e){sn.call(this),this.Xf=e}function to(t,e,n){return new M(function(t){t(this.ca([],e,n))}.bind(t))}function eo(t,e,n){return cn(t,0).exec(e,n).then(function(t){return this.ca(t,e,n)}.bind(t))}function no(t,e,n){var i=un(t).map(function(t){return t.exec(e,n)});return U(i).then(function(t){var i=[];return t.forEach(function(t){for(var e=0;e<t.length;++e)i.push(t[e])}),this.ca(i,e,n)}.bind(t))}function io(t){Zr.call(this,0,1),this.De=t}function ro(t,e){this.Ma=t,this.K=e}function oo(t){t.K.forEach(function(t){t=Xr(t).reverse();for(var e=1;e<t.length;e++){var n=t[e],i=Xr(n).slice(-1)[0],r=n.child instanceof Kr?Be(this.Ma,n.child):this.Ma;if(null!==r.Za&&r.Za.has(n.j()))break;r=so(n.Ob,r,i),i=this.Ma,null===i.Za&&(i.Za=wt()),i.Za.set(n.j(),r)}},t)}function so(t,e,n){var i=null;switch(t){case"MIN":i=ao(e,n,function(t,e){return e<t?e:t});break;case"MAX":i=ao(e,n,function(t,e){return e>t?e:t});break;case"DISTINCT":i=fo(e,n);break;case"COUNT":i=uo(e,n);break;case"SUM":i=co(e,n);break;case"AVG":t=uo(e,n),0<t&&(i=co(e,n)/t);break;case"GEOMEAN":i=ho(e,n);break;default:i=lo(e,n)}return i}function ao(t,e,n){return t.entries.reduce(function(t,i){var r=$e(i,e);return null===r?t:null===t?r:n(t,r)},null)}function uo(t,e){return e instanceof Yr?t.entries.length:t.entries.reduce(function(t,n){return t+(a($e(n,e))?0:1)},0)}function co(t,e){return ao(t,e,function(t,e){return e+t})}function lo(t,e){var n=[];return t.entries.forEach(function(t){t=$e(t,e),null===t||n.push(t)}),0==n.length?null:st.apply(null,n)}function ho(t,e){var n=0,i=t.entries.reduce(function(t,i){var r=$e(i,e);return 0==r||null===r?t:(n++,t+Math.log(r))},0);return 0==n?null:Math.pow(Math.E,i/n)}function fo(t,e){var n=wt();return t.entries.forEach(function(t){var i=$e(t,e);n.set(i,t)}),new qe(Tt(n),t.s())}function po(t,e){this.Ha=t,this.$=e}function go(){sn.call(this)}function vo(t,e){sn.call(this),this.table=t,this.values=e}function mo(t,e){vo.call(this,t,e)}function yo(t){sn.call(this),this.table=t}function bo(t,e){sn.call(this),this.table=t,this.ye=e}function wo(t){sn.call(this),this.O=t}function Eo(t){sn.call(this),this.table=t}function To(){sn.call(this)}function Co(t,e){sn.call(this),this.f=t,this.Rb=e}function _o(t){sn.call(this),this.N=t}function xo(t){sn.call(this),this.f=t}function So(t){sn.call(this),this.f=t}function No(t){sn.call(this),this.X=t}function Ao(t){sn.call(this),this.L=t}function ko(t,e){sn.call(this),this.O=t,this.Tb=e}function Io(){}function Oo(){}function Do(t,e){if(0==un(e).length||"and"!=e.rb)return[e];var n=un(e).slice().map(function(t){return e.removeChild(t),Do(this,t)},t);return x(n)}function Lo(t,e){var n=null,i=null;return e.map(function(t,e){var r=new wo(t);0==e?n=r:hn(i,r),i=r},t),[n,i]}function jo(){}function Po(){Zr.call(this,0,0)}function Ro(t,e){kn.call(this,t,e),this.Ia=t.b(Uc),this.Lb=t.b(Vc)}function Mo(t,e){t.ud.forEach(function(t,n){t instanceof xn&&fu(this.Lb,t,e[n])},t)}function qo(t){wn.call(this,t)}function Ho(t,e,n){var i=Lu(t.ba.info(),e,1);Lu(t.ba.info(),e).forEach(n.add.bind(n)),i.forEach(function(t){Ho(this,t.getName(),n)},t)}function Fo(t){wn.call(this,t)}function Bo(t){wn.call(this,t)}function Wo(t,e){if(null==e)return"NULL";switch(t){case 1:return e?1:0;case 3:case 4:return e;case 0:return"'"+St(e)+"'";default:return"'"+e.toString()+"'"}}function Uo(t,e){var n=t.cc?"INSERT OR REPLACE":"INSERT",i=t.Ka.nb(),n=n+(" INTO "+t.Ka.getName()+"("),n=n+i.map(function(t){return t.getName()}).join(", "),n=n+") VALUES (";return t.values.map(function(t){var r=i.map(function(n){var i=t.m[n.getName()];return e?null!=i?"#":"NULL":Wo(n.J(),i)});return n+r.join(", ")+");"}).join("\n")}function Vo(t){switch(t){case"between":return"BETWEEN";case"eq":return"=";case"gte":return">=";case"gt":return">";case"in":return"IN";case"lte":return"<=";case"lt":return"<";case"match":return"LIKE";case"neq":return"<>";default:return"UNKNOWN"}}function zo(t,e,n,i){return t instanceof Ye?"?"+t.Ca().toString():i?null!=t?"#":"NULL":"match"==e?"'"+t.toString()+"'":"in"==e?"("+t.map(function(t){return Wo(n,t)}).join(", ")+")":"between"==e?Wo(n,t[0])+" AND "+Wo(n,t[1]):Wo(n,t).toString()}function Go(t,e){return un(t).map(function(t){return"("+Ko(t,e)+")"}).join("and"==t.rb?" AND ":" OR ")}function $o(t){return[t.ga.j(),Vo(t.C),t.na.j()].join(" ")}function Ko(t,e){if(t instanceof vn){
var n=t.H.j(),i=Vo(t.C),r=zo(t.value,t.C,t.H.J(),e);return"="==i&&"NULL"==r?[n,"IS NULL"].join(" "):"<>"==i&&"NULL"==r?[n,"IS NOT NULL"].join(" "):[n,i,r].join(" ")}if(t instanceof Lr)return Go(t,e);if(t instanceof Rr)return $o(t);throw new ee(357,(typeof t))}function Xo(t,e){var n=Ko(t,e);return n?" WHERE "+n:""}function Yo(t,e){var n="UPDATE "+t.table.getName()+" SET ",n=n+t.set.map(function(t){var e=t.H.j()+" = ";return-1!=t.Vc?e+"?"+t.Vc.toString():e+Wo(t.H.J(),t.value).toString()}).join(", ");return t.w&&(n+=Xo(t.w,e)),n+";"}function Qo(t,e){var n="*";if(t.f.length&&(n=t.f.map(function(t){return t.$a()?t.j()+" AS "+t.$a():t.j()}).join(", ")),n="SELECT "+n+" FROM ",null!=t.cb&&0!=t.cb.size?n+=Zo(t,e):(n+=t.from.map(Jo).join(", "),t.w&&(n+=Xo(t.w,e))),t.N)var i=t.N.map(function(t){return t.H.j()+(0==t.sb?" DESC":" ASC")}).join(", "),n=n+(" ORDER BY "+i);return t.la&&(i=t.la.map(function(t){return t.j()}).join(", "),n+=" GROUP BY "+i),t.X&&(n+=" LIMIT "+t.X.toString()),t.L&&(n+=" SKIP "+t.L.toString()),n+";"}function Jo(t){return Gr(t)!=t.getName()?t.getName()+" AS "+Gr(t):t.getName()}function Zo(t,e){for(var n=Or(t.w,function(t){return t instanceof Rr}),i=n.map($o),r=Jo(t.from[0]),o=1;o<t.from.length;o++)var s=Jo(t.from[o]),r=t.cb.has(n[i.length-o].W())?r+(" LEFT OUTER JOIN "+s):r+(" INNER JOIN "+s),r=r+(" ON ("+i[i.length-o]+")");return n=cn(t.w,0),n instanceof Rr||(r+=" WHERE "+Ko(n,e)),r}function ts(t,e){var n=e||!1,i=t.query.clone();if(i instanceof Fo)return Uo(i,n);if(i instanceof qo){var r="DELETE FROM "+i.from.getName();return i.w&&(r+=Xo(i.w,n)),r+";"}if(i instanceof Bo)return Yo(i,n);if(i instanceof xn)return Qo(i,n);throw new ee(358,(typeof i))}function es(t,e){this.global=t,this.Jg=t.b(Wc),this.Ia=t.b(Uc),this.query=e}function ns(t){if(null==t.hf){var e;e=t.Jg;var n=t.query,i=e.sg.create(n);e=e.Gg.create(i,n),t.hf=e}return t.hf}function is(t){es.call(this,t,new qo(t.b(zc)))}function rs(t,e){es.call(this,t,new Fo(t.b(zc))),this.query.cc=e||!1}function os(t){return ss("and",Array.prototype.slice.call(arguments))}function ss(t,e){var n=new Lr(t);return e.forEach(function(t){hn(n,t)}),n}function as(t,e){es.call(this,t,new xn(t.b(zc))),this.Ne=this.Bd=!1,this.query.f=e,us(this),hs(this)}function us(t){var e=t.query.f.filter(function(t){return t instanceof Kr&&"DISTINCT"==t.Ob},t);if(0!=e.length&&(1!=e.length||1!=t.query.f.length))throw new ee(524)}function cs(t){var e=t.query.f.filter(function(t){return!(t instanceof Kr)}).map(function(t){return t.j()}),n=!1;if(0==t.query.la.length||0==t.query.f.length)n=!0;else{var i=t.query.la.map(function(t){return t.j()});(n=e.some(function(t){return-1==i.indexOf(t)}))||(n=t.query.la.some(function(t){return t=t.J(),6==t||0==t}))}if(n)throw new ee(525)}function ls(t){var e=t.query.f.some(function(t){return t instanceof Kr},t);if(t=t.query.f.some(function(t){return!(t instanceof Kr)},t)||0==t.query.f.length,e&&t)throw new ee(526)}function hs(t){t.query.f.forEach(function(t){if(t instanceof Kr&&!ds(t.Ob,t.J()))throw new ee(527,t.j())},t)}function fs(t,e){if(null==t.query.from)throw new ee(e)}function ps(t,e){if(null!=t.query.w){var n=os(e,t.query.w);t.query.w=n}else t.query.w=e}function ds(t,e){switch(t){case"COUNT":case"DISTINCT":return!0;case"AVG":case"GEOMEAN":case"STDDEV":case"SUM":return 4==e||3==e;case"MAX":case"MIN":return 4==e||3==e||5==e||2==e}return!1}function gs(t,e){es.call(this,t,new Bo(t.b(zc))),this.query.table=e}function vs(t){this.query=t,this.Ha=null}function ms(t){vs.call(this,t)}function ys(t){vs.call(this,t)}function bs(t,e,n){this.Ha=t,this.ke=e,this.Xb=n}function ws(t,e){vs.call(this,t),this.Xb=e}function Es(){}function Ts(){this.Uc=qt()}function Cs(t,e,n,i){var r=n;if(Ss(e,n))r=Ar(n),Cs(t,e,n,i);else if(xs(n)){var o=[],r=kr(n,i,function(t){return t=new wo(t.O),o.push(t),t});o.forEach(function(t){Cs(this,e,t,i)},t)}return r}function _s(t,e,n){var i=qt();return xr(e).forEach(function(t){i.add(t.table)},t),e instanceof Eo&&i.add(e.table),Ft(i,n)}function xs(t){return t=cn(t,0),t instanceof To||t instanceof ko}function Ss(t,e){var n=cn(e,0);if(!(n instanceof wo))return!1;if(null==t.cb)return!0;var i=e.O instanceof Rr,n=t.cb.has(n.O.W());return i||!n}function Ns(t,e){vs.call(this,t),this.Xb=e,this.mf=this.cf=this.vf=this.ff=this.Ee=this.Se=this.uf=this.Ke=this.xf=null}function As(t){for(var e=[t.cf,t.vf,t.mf,t.ff,t.Ee,t.Se,t.uf,t.Ke],n=-1,i=null,r=0;r<e.length;r++){var o=e[r];null!==o&&(null===i?i=o:hn(e[n],o),n=r)}return t.xf.forEach(function(t){hn(e[n],t)}),i}function ks(t){t.xf=t.query.from.map(function(t){return new Eo(t)},t)}function Is(t){var e=t.query.f.filter(function(t){return t instanceof Kr});null!=t.query.N&&t.query.N.forEach(function(t){t.H instanceof Kr&&e.push(t.H)}),0<e.length&&(t.Ee=new xo(e))}function Os(){this.re=[new Oo,new jo,new Ts,new Es],this.Qd=[new Oo]}function Ds(t){Zr.call(this,0,1),this.U=t}function Ls(t,e){Zr.call(this,0,-1),this.table=e,this.D=t.b(Bc)}function js(t,e){Zr.call(this,0,-1),this.V=t.b(Fc),this.D=t.b(Bc),this.table=e}function Ps(t){this.c=t}function Rs(t){Zr.call(this,0,1),this.Re=t}function Ms(t,e){var n=new ne,i=function(t){return this.Re.map(function(e){return $e(t,e)},this).join(",")}.bind(t);return e.entries.forEach(function(t){n.set(i(t),t)},t),n.keys().map(function(t){return new qe(n.get(t),e.s())},t)}function qs(t,e,n){Zr.call(this,0,0),this.D=t.b(Bc),this.V=t.b(Fc),this.O=e,this.Tb=n,this.Ed="eq"==this.O.C?0:2,this.Ue=null}function Hs(t,e){t.Ed=1;var n=t.D.get(e.Ca().j());t.Ue={fg:e,yg:e==t.O.ga?t.O.na:t.O.ga,index:n}}function Fs(t){Zr.call(this,0,-1),this.nf=t}function Bs(){}function Ws(t){t=t.map(function(t){return t.ra()}),t=lt.apply(null,t);var e=[];return ct(t,function(t){e.push(t)}),e}function Us(t){this.Sb=t}function Vs(t,e){this.Sb=t,this.Ga=e,this.Md=this.af=null}function zs(t,e){var n=wt();return t.Ga.keys().forEach(function(t){var i=this.Ga.get(t).map(function(t){return En(e,t)},this),r=new Re([Ie()]);i.forEach(function(t){r=Me(r,t.we())}),n.set(t,r)},t),n}function Gs(t,e){var n=wt(),i=0;return t.Sb.f.forEach(function(t){n.set(t.ba.getName(),i),i++}),Et(e).sort(function(t,e){return n.get(t)-n.get(e)}).map(function(t){return e.get(t)})}function $s(t,e){this.yd=e,this.D=t.b(Bc)}function Ks(t){return t=t.D.get($r(t.yd)),Math.floor(.02*t.aa().ia)}function Xs(t,e,n){if(n=n.filter(t.mg,t),0==n.length)return null;if(t=Ys(t,n),0==t.length)return null;if(1==t.length)return t[0];var i=Number.MAX_VALUE;return t.reduce(function(t,n){var r=ta(n,e);return r<i?(i=r,n):t},null)}function Ys(t,e){return t.yd.Da().map(function(t){return t=new Qs(this.D,t),Zs(t,e),t},t).filter(function(t){if(null===t.Ga)t=!1;else{for(var e=!1,n=!0,i=0;i<t.bb.f.length;i++){var r=t.Ga.has(t.bb.f[i].ba.getName());if(e&&r){n=!1;break}r||(e=!0)}t=n}return t})}function Qs(t,e){this.D=t,this.bb=e,this.gg=qt(this.bb.f.map(function(t){return t.ba.getName()})),this.ae=this.Ga=null}function Js(t){return null===t.ae&&(t.ae=new Vs(t.bb,t.Ga)),t.ae}function Zs(t,e){e.forEach(function(t){var e=t.nb()[0].getName();this.gg.has(e)&&(null===this.Ga&&(this.Ga=new ne),this.Ga.set(e,t.W()))},t)}function ta(t,e){var n=Js(t).cd(e),i=t.D.get(t.bb.j());return n.reduce(function(t,e){return t+i.$c(e)},0)}function ea(t,e,n,i){Zr.call(this,0,-1),this.D=t.b(Bc),this.index=e,this.$e=n,this.oe=i,this.Tc=this.Sc=!1}function na(){Zr.call(this,0,0)}function ia(t){Zr.call(this,0,1),this.mc=t}function ra(t,e){Zr.call(this,0,1),this.V=t.b(Fc),this.U=e}function oa(t){this.c=t}function sa(t){var e=[];for(t=t.getParent();t;){if(t instanceof ia)e.push(t);else if(t instanceof qs)break;t=t.getParent()}return e}function aa(t,e,n,i){return(null===e.Ga?[]:e.Ga.values()).map(function(t){return n.get(t)}).forEach(Sr),e=new ea(t.c,e.bb,Js(e),(!1)),t=new ra(t.c,i.table),hn(t,e),Ir(i,i,t,e),e.ab()}function ua(t,e){Zr.call(this,0,-1),this.D=t.b(Bc),this.U=e}function ca(t,e,n){if(t=t.Jb().dd(),null===t?0:t.f[0].autoIncrement){var i=t.f[0].ba.getName();n=n.get(t.j()).max();var r=null===n?0:n[0];e.forEach(function(t){0!=t.m[i]&&null!=t.m[i]||(r++,t.m[i]=r)})}}function la(t,e){Zr.call(this,0,-1),this.D=t.b(Bc),this.U=e}function ha(){Zr.call(this,0,1)}function fa(t){Zr.call(this,0,1),this.N=t}function pa(t,e){this.Ma=t,this.K=e}function da(t){return t.K.some(function(t){return t instanceof Kr},t)?ga(t):va(t)}function ga(t){if(1==t.K.length&&"DISTINCT"==t.K[0].Ob)return t=Be(t.Ma,t.K[0]).entries.map(function(t){var e=new Ge(new Ct((-1),{}),1<this.Ma.M.size);return Ke(e,this.K[0],$e(t,this.K[0].child)),e},t),new qe(t,[]);var e=new Ge(new Ct((-1),{}),1<t.Ma.M.size);return t.K.forEach(function(t){var n=t instanceof Kr?Be(this.Ma,t):$e(this.Ma.entries[0],t);Ke(e,t,n)},t),new qe([e],t.Ma.s())}function va(t){var e=Array(t.Ma.entries.length),n=1<t.Ma.M.size;return t.Ma.entries.forEach(function(t,i){e[i]=new Ge(new Ct(t.va.id(),{}),n),this.K.forEach(function(n){Ke(e[i],n,$e(t,n))},this)},t),new qe(e,t.Ma.s())}function ma(t,e){var n=t.map(function(t){return da(new pa(t,e)).entries[0]});return new qe(n,t[0].s())}function ya(t,e){Zr.call(this,0,1),this.f=t,this.Rb=e}function ba(t){return t.f.some(function(t){return t instanceof Kr})||null!==t.Rb}function wa(){Zr.call(this,0,1)}function Ea(){}function Ta(t){return t=Or(t,function(t){return t instanceof ea},function(t){return t instanceof ya&&ba(t)||t instanceof fa||1!=un(t).length||t instanceof ia}),0<t.length?t[0]:null}function Ca(t){this.c=t}function _a(t,e){return Or(t.G,function(t){return t instanceof ia&&(t=En(e,t.mc),t instanceof Lr&&"or"==t.rb)})}function xa(t,e){return Or(t.G,function(t){return t instanceof js&&t.table.getName()==e})[0]||null}function Sa(t,e,n){e=En(n,e.mc);var i=e.s();if(1!=i.size)return null;var i=Ht(i)[0],r=new $s(t.c,i),o=null;return un(e).every(function(t){return t=Xs(r,n,[t]),null===t||(null===o?o=[t]:o.push(t)),null!==t})?o:null}function Na(t,e,n,i){var r=new ra(t.c,n.table),o=new na;return hn(r,o),i.forEach(function(t){t=new ea(this.c,t.bb,Js(t),(!1)),hn(o,t)},t),Sr(e),Ir(n,n,r,o),o.ab()}function Aa(t){this.c=t}function ka(t){return t=Or(t,function(t){return t instanceof ea},function(t){return 1!=un(t).length}),0<t.length?t[0]:null}function Ia(t){return t=Or(t,function(t){return t instanceof js},function(t){return 1!=un(t).length}),0<t.length?t[0]:null}function Oa(t,e){return r(e.N)?Or(t,function(t){return t instanceof fa})[0]:null}function Da(t,e){if(t.f.length!=e.length||!e.every(function(e,n){return e.H.getName()==t.f[n].ba.getName()}))return null;var n=La(e,t);return n[0]||n[1]?{bb:t,Xe:n[1]}:null}function La(t,e){var n=t.reduce(function(t,e){return t<<1|(0==e.sb?0:1)},0),i=e.f.reduce(function(t,e){return t<<1|(0==e.sb?0:1)},0),n=n^i;return[0==n,n==Math.pow(2,Math.max(t.length,e.f.length))-1]}function ja(t,e,n){this.Ha=t,this.ke=e,this.Xb=n}function Pa(t,e){Zr.call(this,0,1),this.U=t,this.Wg=e}function Ra(t){this.c=t,this.re=[new Bs,new oa(this.c),new Ca(this.c),new Aa(this.c),new Ea,new Ps(this.c)],this.Qd=[new oa(this.c)]}function Ma(t,e,n,i){return t=_r(e.ab(),t.vg.bind(t)),null!=i&&(t=new ja(t,n,i).jc()),new Nn(t,e.da())}function qa(t){this.sg=new Os,this.Gg=new Ra(t)}function Ha(){this.df=wt()}function Fa(t,e){var n=t.df.get(e.getName())||null;return null===n&&(n=new za,t.df.set(e.getName(),n)),n}function Ba(t,e,n,i){n.forEach(function(t){t=Fa(this,t),0==i?(t.eb=null,t.zc=e):3==i?(null===t.$b&&(t.$b=qt()),t.$b.add(e),null===t.Xa&&(t.Xa=qt()),t.Xa["delete"](e)):1==i?(null===t.Xa&&(t.Xa=qt()),t.Xa.add(e)):2==i&&(t.eb=e)},t)}function Wa(t,e,n,i){var r=!0;return n.forEach(function(t){if(r){t=Fa(this,t);var n=null===t.Xa||0==t.Xa.size;r=0==i?(null===t.$b||0==t.$b.size)&&n&&null===t.zc&&null!==t.eb&&t.eb==e:3==i?null===t.zc&&null===t.eb&&null!==t.Xa&&t.Xa.has(e):1==i?null===t.eb:n&&(null===t.eb||t.eb==e)}},t),r}function Ua(t,e,n,i){var r=Wa(t,e,n,i);return r&&Ba(t,e,n,i),r}function Va(t,e){e.forEach(function(t){Fa(this,t).eb=null},t)}function za(){this.$b=this.Xa=this.eb=this.zc=null}function Ga(){this.Wb=new Ya,this.Hc=new Ha}function $a(t,e){return(2>e.getPriority()||2>e.getPriority())&&Va(t.Hc,e.da()),t.Wb.Db(e),Ka(t),e.Qb().ha}function Ka(t){for(var e=t.Wb.ra(),n=0;n<e.length;n++){var i=e[n],r=!1;(r=0==i.J()?Xa(t,i,1,3):Xa(t,i,2,0))&&(t.Wb.remove(i),r=t,i.exec().then(r.Dg.bind(r,i),r.Cg.bind(r,i)))}}function Xa(t,e,n,i){var r=!1;return Ua(t.Hc,e.W(),e.da(),n)&&(r=Ua(t.Hc,e.W(),e.da(),i)),r}function Ya(){this.Wb=[]}function Qa(){this.Pc=wt()}function Ja(){return al||(al=new Qa),al}function Za(){var t=Ja();return Et(t.Pc)}function tu(t,e,n,i){return null!=t?null!=e?ou(t,e,n,i):ru(t):iu()}function eu(t){var e="";try{e=JSON.stringify(t)}catch(n){}return e}function nu(t){var e=Ja();return t=new Lt("ns_"+t),e.od(t)?e.b(t):null}function iu(){var t={};return Za().forEach(function(e){"ns_"==e.substring(0,3)&&(e=e.substring(3),t[e]=nu(e).b(zc).version())}),eu(t)}function ru(t){t=nu(t);var e={};if(null!=t){var n=t.b(Bc);t.b(zc).pa().forEach(function(t){e[t.getName()]=n.get($r(t)).aa().ia})}return eu(e)}function ou(t,e,n,i){var r=nu(t);if(t=[],null!=r){var o=null;try{o=r.b(zc).table(e)}catch(s){}null!=o&&(e=r.b(Bc),r=r.b(Fc),n=e.get($r(o)).Ua(void 0,!1,n,i),n.length&&(t=Si(r,n).map(function(t){return t.m})))}return eu(t)}function su(t,e){this.Rd=Je(),this.le=t,this.qd=e,this.K=au(this)}function au(t){if(0<t.le.f.length)return t.le.f;var e=[];return t.le.from.forEach(function(t){t.nb().forEach(function(t){e.push(t)})}),e}function uu(t,e,n){var i=null===e?[]:e.entries,r=nt(i,n.entries,t.Z.bind(t),function(t){return i[t]});e=[];for(var o=0,s=0;s<i.length;s++){var a=i[s];r[o]==a?o++:(a=t.qd.splice(o,1),a=cu(s,a,0,t.qd),e.push(a))}for(r=nt(i,n.entries,t.Z.bind(t),function(t,e){return n.entries[e]}),s=o=0;s<n.entries.length;s++)a=n.entries[s],r[o]==a?o++:(t.qd.splice(s,0,a.va.m),a=cu(s,[],1,t.qd),e.push(a));return e}function cu(t,e,n,i){return{addedCount:n,index:t,object:i,removed:e,type:"splice"}}function lu(){this.hc=wt()}function hu(t,e){var n=qt();e.forEach(function(t){n.add(t.getName())});var i=[];return t.hc.forEach(function(t){t=t.Ec(),t.context.from.some(function(t){return n.has(t.getName())})&&i.push(t)}),i}function fu(t,e,n){e=f(null!=e.Yc?e.Yc:e).toString(),t=t.hc.get(e)||null,null!==t&&du(t,n)}function pu(t){this.Jf=t,this.Jc=qt(),this.Ag=[],this.bf=null,this.Uf=new su(t.query,this.Ag)}function du(t,e){var n=uu(t.Uf,t.bf,e);t.bf=e,0<n.length&&t.Jc.forEach(function(t){t(n)})}function gu(t,e){var n=t.b(zc),i=e||{},r=new xi(n);t.ub(Fc,r);var r=null,o=!1;switch(null!=i.storeType?r=i.storeType:(r=yt(),r=r.hg?0:r.Xg?4:1),r){case 0:r=new oi(t,n);break;case 1:r=new hi(n);break;case 5:r=new pi(n);break;case 4:r=new Ti(t,n,i.webSqlDbSize);break;case 3:r=new Vn(n,i.firebase),o=!0;break;default:throw new ee(300)}t.ub(Hc,r);var s=new Cr;return t.ub(Bc,s),r.Ea(i.onUpgrade).then(function(){var e=new qa(t);return t.ub(Wc,e),e=new Ga,t.ub(Uc,e),e=new lu,t.ub(Vc,e),s.Ea(n)}).then(function(){if(o){var e=new Ln(t);e.Na.subscribe(e.ee.bind(e))}return i.enableInspector&&(window.top["#lfInspect"]=tu),new mr(t).Ea(n)})}function vu(t){this.c=t,this.g=t.b(zc),this.$=qt(this.g.pa()),this.fb=V()}function mu(t){var e=t.c.b(Bc),n=t.c.b(Fc),i={};return t.g.pa().forEach(function(t){var r=e.get($r(t)).Ua(),r=Si(n,r).map(function(t){return t.m});i[t.getName()]=r}),{name:t.g.name(),version:t.g.version(),tables:i}}function yu(t,e){this.c=t,this.g=t.b(zc),this.$=qt(this.g.pa()),this.fb=V(),this.Ba=e,this.Na=t.b(Hc),this.V=t.b(Fc),this.D=t.b(Bc)}function bu(t){var e,n=new we(t.c,t.$),n=t.Na.Hb(t.J(),Ht(t.$),n);for(e in t.Ba.tables){var i=t.g.table(e),r=t.Ba.tables[e].map(function(t){return i.Ab(t)}),o=n.I(e,i.mb,0);t.V.Yb(e,r);var s=t.D.oc.get(e)||[];r.forEach(function(t){s.forEach(function(e){var n=t.pb(e.getName());e.add(n,t.id())})}),o.put(r)}return n.ka()}function wu(t,e){this.c=t,this.Na=t.b(Hc),this.Ia=t.b(Uc),this.Lb=t.b(Vc),this.$=qt(e),this.Qa=new we(this.c,this.$),this.fb=V(),this.Ac=V(),this.Ae=V()}function Eu(t){return $a(t.Ia,t),t.Ae.ha}function Tu(t,e){var n=e.Ec();return n.je.ab().exec(t.Qa,n.context).then(function(t){return He(t[0])},function(t){this.Qa.Mb();var e=new tt(t.name);throw this.Ac.reject(e),t}.bind(t))}function Cu(t){this.c=t,this.Ia=t.b(Uc),this.Nb=null,this.Sa=0,0==ul.size&&(ul.set(0,qt([1,4])),ul.set(1,qt([2])),ul.set(2,qt([3,5,6])),ul.set(3,qt([2,7])),ul.set(4,qt([7])),ul.set(5,qt([7])),ul.set(6,qt([7])))}function _u(t,e){var n=ul.get(t.Sa)||null;if(null===n||!n.has(e))throw new ee(107,t.Sa,e);t.Sa=e}function xu(t){this.c=t,this.g=t.b(zc),this.kd=!1}function Su(t){if(!t.kd)throw new ee(2)}function Nu(t,e,n,i,r,o){this.U=t,this.A=e,this.Ye=n,this.We=i,this.zf=r,this.jb=o||null}function Au(t){this.g=t,this.Jd=new ne,this.ne=new ne,this.gf=new ne,this.Je=wt(),this.h=new ne,this.Fe=new ne,this.pf=new ne,this.Ie=new ne,ku(this)}function ku(t){t.g.pa().forEach(function(t){var e=t.getName();t.Jb().Wd().forEach(function(n){this.gf.set(e,this.g.table(n.Wa)),this.h.set(n.Wa,t),0==n.action?(this.ne.set(n.Wa,n),this.pf.set(n.Wa,t)):(this.Jd.set(n.Wa,n),this.Fe.set(n.Wa,t)),this.Je.set(t.getName()+"."+n.yb,n.Wa),this.Ie.set(n.Wa+"."+n.Lc,t.getName())},this)},t)}function Iu(t,e,n){return null!=n?1==n?t.Jd.get(e):t.ne.get(e):(n=t.Jd.get(e),t=t.ne.get(e),null===n&&null===t?null:(n||[]).concat(t||[]))}function Ou(t,e){var n=e.get(t);return null===n?[]:n}function Du(t,e){var n=qt();return e.forEach(function(t){(t=this.Je.get(t))&&n.add(t)},t),Ht(n).map(function(t){return this.g.table(t)},t)}function Lu(t,e,n){return null!=n?0==n?Ou(e,t.pf):Ou(e,t.Fe):Ou(e,t.h)}function ju(t,e){var n=qt();return e.forEach(function(t){(t=this.Ie.get(t))&&t.forEach(function(t){n.add(t)})},t),Ht(n).map(function(t){return this.g.table(t)},t)}function Pu(t,e,n){this.Hg=t,this.zg=e,this.ag=n}function Ru(t,e,n){var i=t.ref.split(".");if(2!=i.length)throw new ee(540,n);this.He=e,this.yb=t.local,this.Wa=i[0],this.Lc=i[1],this.name=e+"."+n,this.action=t.action,this.timing=t.timing}function Mu(t){Hu(t),this.Rd=Je(),this.A=t,this.K=wt(),this.Ad=qt(),this.qc=qt(),this.pd=qt(),this.Fa=null,this.ta=wt(),this.td=!1,this.Bb=[]}function qu(t){this.name=t.name,this.sb=t.order,this.autoIncrement=t.autoIncrement}function Hu(t){if(!/^[A-Za-z_][A-Za-z0-9_]*$/.test(t))throw new ee(502,t)}function Fu(t,e){if(e==t.A)throw new ee(546,e);if(t.K.has(e)||t.ta.has(e)||t.qc.has(e))throw new ee(503,t.A+"."+e)}function Bu(t,e){var n=!1;if(e.forEach(function(t){var e=this.K.get(t.name);if(n=n||t.autoIncrement,t.autoIncrement&&3!=e)throw new ee(504)},t),n&&1<e.length)throw new ee(505)}function Wu(t){if(null!==t.Fa){var e=t.ta.get(t.Fa).map(function(t){return t.name}),n=0;if(t.Bb.some(function(t,i){return n=i,-1!=e.indexOf(t.yb)},t))throw new ee(543,t.Bb[n].name)}}function Uu(t){if(null!==t.Fa){var e=function(t){return t.name},n=JSON.stringify(t.ta.get(t.Fa).map(e));t.ta.forEach(function(t,i){if(i!=this.Fa){var r=t.map(e);if(JSON.stringify(r)==n)throw new ee(544,this.A+"."+i)}},t)}}function Vu(t){null===t.Fa||t.ta.get(t.Fa).forEach(function(t){if(this.pd.has(t.name))throw new ee(545,this.A+"."+t.name)},t)}function zu(t,e){t.Bb.forEach(function(t){t.yb==e&&this.qc.add(t.name.split(".")[1])},t)}function Gu(t){return t.Bb}function $u(t,e,n,i,r){var o=e,o="string"==typeof e[0]?e.map(function(t){return new qu({name:t,order:null!=i?i:1,autoIncrement:r||!1})}):e.map(function(t){return new qu(t)});return o.forEach(function(t){if(!this.K.has(t.name))throw new ee(508,this.A,t.name);if(n){var e=this.K.get(t.name);if(0==e||6==e)throw new ee(509,this.A,t.name)}},t),o}function Ku(t){function e(){function e(e){return t.ta.get(e).map(function(t){return{ba:this[t.name],sb:t.sb,autoIncrement:t.autoIncrement}},this)}var n=Et(t.K).map(function(e){return this[e]=new Nu(this,e,t.Ad.has(e),t.pd.has(e),t.K.get(e)),this[e]},this),i=Et(t.ta).map(function(n){return new Ur(t.A,n,t.qc.has(n),e.call(this,n))},this);zr.call(this,t.A,n,i,t.td);var r=null===t.Fa?null:new Ur(t.A,t.Fa,(!0),e.call(this,t.Fa)),o=n.filter(function(e){return!t.pd.has(e.getName())});this.Nf=new Pu(r,o,t.Bb),this.sf=Xu(t,n,i)}return y(e,zr),e.prototype.Ab=function(t){return new this.sf((Mc++),t)},e.prototype.createRow=e.prototype.Ab,e.prototype.mb=function(t){var e={};return this.nb().forEach(function(n){var i=n.getName();n=n.J();var r=t.value[i];if(0==n)if(n=r,null!=n&&""!=n){0!=n.length%2&&(n="0"+n);for(var r=new ArrayBuffer(n.length/2),o=new Uint8Array(r),s=0,a=0;s<n.length;s+=2)o[a++]=parseInt(n.substr(s,2),16);n=r}else n=null;else n=2==n?null!=r?new Date(r):null:r;e[i]=n},this),new this.sf(t.id,e)},e.prototype.deserializeRow=e.prototype.mb,e.prototype.Jb=n("Nf"),e.prototype.getConstraint=e.prototype.Jb,e}function Xu(t,e,n){function i(t,i){this.K=e,this.ta=n,Ct.call(this,t,i)}y(i,Ct),i.prototype.Le=function(){var t={};return this.K.forEach(function(e){t[e.getName()]=e.kc()?null:Qc[e.J()]}),t},i.prototype.yf=function(){var t={};return this.K.forEach(function(e){var n=e.getName();e=e.J();var i=this.m[n];t[n]=0==e?null!=i?St(i):null:2==e?null!=i?i.getTime():null:6==e?null!=i?i:null:i},this),t};var r=function(t){var e=this.K.get(t.getName()),n=this.Rd.Ze.get(e)||null;return function(e){return n(e[t.getName()])}}.bind(t),o=function(t){var e=t.map(function(t){return r(t.ba)});return function(t){return e.map(function(e){return e(t)})}}.bind(t),s={};return n.forEach(function(t){var e=t.j();t=1==t.f.length?r(t.f[0].ba):o(t.f),s[e]=t}),i.prototype.pb=function(t){return-1!=t.indexOf("#")?this.id():s.hasOwnProperty(t)?s[t](this.m):null},i}function Yu(t,e){this.g=new nc(t,e),this.wb=wt(),this.Bc=!1,this.i=null}function Qu(t,e){e.Bb.forEach(function(t){var n=t.Wa;if(!this.wb.has(n))throw new ee(536,t.name);var n=this.wb.get(n).Cb(),i=t.Lc;if(!n.hasOwnProperty(i))throw new ee(537,t.name);if(e.Cb()[t.yb].J()!=n[i].J())throw new ee(538,t.name);if(!n[i].Gc())throw new ee(539,t.name)},t)}function Ju(t){t.Bc||(t.wb.forEach(function(t){Qu(this,t),t=t.Cb(),this.g.M.set(t.getName(),t)},t),Tt(t.wb).forEach(t.Mf,t),tc(t),t.wb.clear(),t.Bc=!0)}function Zu(t,e,n){e.ze||(e.ze=!0,e.fe=!0,e.Me.forEach(function(t){if(t=n.get(t),t.ze){if(t.fe&&e!=t)throw new ee(533)}else Zu(this,t,n)},t)),e.fe=!1}function tc(t){var e=wt();t.g.M.forEach(function(t,n){e.set(n,new ec(n))},t),t.wb.forEach(function(t,n){t.Bb.forEach(function(t){e.get(t.Wa).Me.add(n)})}),Tt(e).forEach(function(t){Zu(this,t,e)},t)}function ec(t){this.fe=this.ze=!1,this.Me=qt(),this.pc=t}function nc(t,e){this.A=t,this.Ta=e,this.M=wt(),this.lf={Vf:!1}}var ic,rc=this,oc="closure_uid_"+(1e9*Math.random()>>>0),sc=0;y(b,Error),b.prototype.name="CustomError";var ac=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};T.prototype.get=function(){var t;return 0<this.sd?(this.sd--,t=this.hd,this.hd=t.next,t.next=null):t=this.Rf(),t},T.prototype.put=function(t){this.Mg(t),this.sd<this.rg&&(this.sd++,t.next=this.hd,this.hd=t)};var uc,cc=Array.prototype.indexOf?function(t,e,n){return Array.prototype.indexOf.call(t,e,n)}:function(t,e,n){if(n=null==n?0:0>n?Math.max(0,t.length+n):n,l(t))return l(e)&&1==e.length?t.indexOf(e,n):-1;for(;n<t.length;n++)if(n in t&&t[n]===e)return n;return-1},lc=Array.prototype.forEach?function(t,e,n){Array.prototype.forEach.call(t,e,n)}:function(t,e,n){for(var i=t.length,r=l(t)?t.split(""):t,o=0;o<i;o++)o in r&&e.call(n,r[o],o,t)},hc=Array.prototype.map?function(t,e,n){return Array.prototype.map.call(t,e,n)}:function(t,e,n){for(var i=t.length,r=Array(i),o=l(t)?t.split(""):t,s=0;s<i;s++)s in o&&(r[s]=e.call(n,o[s],s,t));return r},fc=Array.prototype.reduce?function(t,e,n,i){return i&&(e=g(e,i)),Array.prototype.reduce.call(t,e,n)}:function(t,e,n,i){var r=n;return lc(t,function(n,o){r=e.call(i,r,n,o,t)}),r},pc=Array.prototype.some?function(t,e,n){return Array.prototype.some.call(t,e,n)}:function(t,e,n){for(var i=t.length,r=l(t)?t.split(""):t,o=0;o<i;o++)if(o in r&&e.call(n,r[o],o,t))return!0;return!1};t:{var dc=rc.navigator;if(dc){var gc=dc.userAgent;if(gc){uc=gc;break t}}uc=""}var vc,mc=new T(function(){return new L},function(t){t.reset()},100);D.prototype.add=function(t,e){var n=mc.get();n.set(t,e),this.Cd?this.Cd.next=n:this.rc=n,this.Cd=n},D.prototype.remove=function(){var t=null;return this.rc&&(t=this.rc,this.rc=this.rc.next,this.rc||(this.Cd=null),t.next=null),t},L.prototype.set=function(t,e){this.Ud=t,this.scope=e,this.next=null},L.prototype.reset=function(){this.next=this.scope=this.Ud=null};var yc,bc=!1,wc=new D;q.prototype.reset=function(){this.context=this.lc=this.Kc=this.child=null,this.Fd=!1};var Ec=new T(function(){return new q},function(t){t.reset()},100);M.prototype.then=function(t,e,n){return G(this,h(t)?t:null,h(e)?e:null,n)},M.prototype.then=M.prototype.then,M.prototype.$goog_Thenable=!0,M.prototype.ve=function(t,e){return G(this,null,t,e)},M.prototype.Sg=function(t){this.Sa=0,$(this,2,t)},M.prototype.Tg=function(t){this.Sa=0,$(this,3,t)},M.prototype.Yf=function(){for(var t=null;t=Q(this);){var e=this.Sa,n=this.qf;if(3==e&&t.lc&&!t.Fd)for(var i=void 0,i=this;i&&i.gd;i=i.F)i.gd=!1;if(t.child)t.child.F=null,J(t,e,n);else try{t.Fd?t.Kc.call(t.context):J(t,e,n)}catch(r){Tc.call(null,r)}Ec.put(t)}this.Sd=!1};var Tc=I;y(tt,b),tt.prototype.name="cancel";var Cc="StopIteration"in rc?rc.StopIteration:{message:"StopIteration",stack:""};at.prototype.next=function(){throw Cc},at.prototype.sc=function(){return this},ic=ht.prototype,ic.Cc=n("Gb"),ic.ra=function(){pt(this);for(var t=[],e=0;e<this.a.length;e++)t.push(this.l[this.a[e]]);return t},ic.Oa=function(t){return dt(this.l,t)},ic.ld=function(){return 0==this.Gb},ic.clear=function(){this.l={},this.Ta=this.Gb=this.a.length=0},ic.remove=function(t){return!!dt(this.l,t)&&(delete this.l[t],this.Gb--,this.Ta++,this.a.length>2*this.Gb&&pt(this),!0)},ic.get=function(t,e){return dt(this.l,t)?this.l[t]:e},ic.set=function(t,e){dt(this.l,t)||(this.Gb++,this.a.push(t),this.Ta++),this.l[t]=e},ic.addAll=function(t){var e;if(t instanceof ht)e=ft(t),t=t.ra();else{e=[];var n,i=0;for(n in t)e[i++]=n;t=S(t)}for(i=0;i<e.length;i++)this.set(e[i],t[i])},ic.forEach=function(t,e){for(var n=ft(this),i=0;i<n.length;i++){var r=n[i],o=this.get(r);t.call(e,o,r,this)}},ic.clone=function(){return new ht(this)},ic.sc=function(t){pt(this);var e=0,n=this.Ta,i=this,r=new at;return r.next=function(){if(n!=i.Ta)throw Error("The map has changed since the iterator was created");if(e>=i.a.length)throw Cc;var r=i.a[e++];return t?r:i.l[r]},r};var _c,xc=A(),Sc=N("Trident")||N("MSIE"),Nc=N("Edge"),Ac=N("Gecko")&&!(-1!=uc.toLowerCase().indexOf("webkit")&&!N("Edge"))&&!(N("Trident")||N("MSIE"))&&!N("Edge"),kc=-1!=uc.toLowerCase().indexOf("webkit")&&!N("Edge"),Ic=function(){if(xc&&rc.opera){var t,e=rc.opera.version;try{t=e()}catch(n){t=e}return t}return t="",(e=vt())&&(t=e?e[1]:""),Sc&&(e=(e=rc.document)?e.documentMode:void 0,e>parseFloat(t))?String(e):t}(),Oc={},Dc=gt()||N("iPod"),Lc=N("iPad"),jc=k(),Pc=N("Safari")&&!(k()||N("Coast")||A()||N("Edge")||N("Silk")||N("Android"))&&!(gt()||N("iPad")||N("iPod"));bt.prototype.clear=function(){this.l.clear()},bt.prototype.clear=bt.prototype.clear,bt.prototype["delete"]=function(t){return this.l.remove(t)},bt.prototype["delete"]=bt.prototype["delete"],bt.prototype.forEach=function(t,e){return this.l.forEach(t,e)},bt.prototype.forEach=bt.prototype.forEach,bt.prototype.get=function(t){return this.l.get(t)},bt.prototype.get=bt.prototype.get,bt.prototype.has=function(t){return this.l.Oa(t)},bt.prototype.has=bt.prototype.has,bt.prototype.set=function(t,e){return this.l.set(t,e)},bt.prototype.set=bt.prototype.set;var Rc=yt().wg,Mc=0;ic=Ct.prototype,ic.id=n("sa"),ic.Le=function(){return{}},ic.yf=n("m"),ic.Ja=function(){return{id:this.sa,value:this.yf()}},ic.pb=function(t){return"#"==t.substr(-1)?this.sa:null};var qc={};m("lf.TransactionType",qc),qc.READ_ONLY=0,qc.READ_WRITE=1,m("lf.TransactionStats",Nt),Nt.prototype.Qg=n("xd"),Nt.prototype.success=Nt.prototype.Qg,Nt.prototype.kg=n("lg"),Nt.prototype.insertedRowCount=Nt.prototype.kg,Nt.prototype.Ug=n("Vg"),Nt.prototype.updatedRowCount=Nt.prototype.Ug,Nt.prototype.Sf=n("Tf"),Nt.prototype.deletedRowCount=Nt.prototype.Sf,Nt.prototype.Kf=n("Lf"),Nt.prototype.changedTableCount=Nt.prototype.Kf,At.prototype.ka=function(){return(0==this.zd?this.vc():kt(this)).then(function(t){return this.xd=!0,t}.bind(this))},At.prototype.Te=function(t){this.S.reject(t)},At.prototype.aa=function(){if(null===this.za)if(this.xd)if(0==this.zd)this.za=new Nt((!0),0,0,0,0);else{var t=0,e=0,n=0,i=0;this.Qa.ib.forEach(function(r){i++,t+=r.wa.size,n+=r.ma.size,e+=r.xa.size}),this.za=new Nt((!0),t,n,e,i)}else this.za=new Nt((!1),0,0,0,0);return this.za},Lt.prototype.toString=n("Ng");var Hc=new Lt("backstore"),Fc=new Lt("cache"),Bc=new Lt("indexstore"),Wc=new Lt("engine"),Uc=new Lt("runner"),Vc=new Lt("observerregistry"),zc=new Lt("schema");ic=Pt.prototype,ic.Cc=function(){return this.l.Cc()},ic.add=function(t){this.l.set(Rt(t),t)},ic.addAll=function(t){t=jt(t);for(var e=t.length,n=0;n<e;n++)this.add(t[n])},ic.remove=function(t){return this.l.remove(Rt(t))},ic.clear=function(){this.l.clear()},ic.ld=function(){return this.l.ld()},ic.contains=function(t){return this.l.Oa(Rt(t))},ic.ra=function(){return this.l.ra()},ic.clone=function(){return new Pt(this)},ic.sc=function(){return this.l.sc(!1)},Mt.prototype.add=function(t){this.Zb.add(t)},Mt.prototype.add=Mt.prototype.add,Mt.prototype.clear=function(){this.Zb.clear()},Mt.prototype.clear=Mt.prototype.clear,Mt.prototype["delete"]=function(t){return this.Zb.remove(t)},Mt.prototype["delete"]=Mt.prototype["delete"],Mt.prototype.forEach=function(t,e){this.Zb.ra().forEach(t,e)},Mt.prototype.has=function(t){return this.Zb.contains(t)},Mt.prototype.has=Mt.prototype.has;var Gc=yt().xg;Bt.prototype.W=n("sa"),Bt.prototype.Ja=function(){return{id:this.sa,value:JSON.stringify(this.m)}},ic=Gt.prototype,ic.get=function(t){if(0==t.length)return this.Vd();var e=this.Ib;return $t(this,t).then(function(n){return t.map(function(t){var i=n.get(t>>9);return e(i.m[t])})})},ic.Vd=function(){return new M(function(t,e){var n,i=[];try{n=this.Y.openCursor()}catch(r){return void e(r)}n.onerror=e,n.onsuccess=function(){var e=n.result;if(e){var r;r=zt(e.value).m;for(var o in r)i.push(this.Ib(r[o]));e["continue"]()}else t(i)}.bind(this)},this)},ic.Vb=function(t){return new M(function(e,n){var i;try{i=t()}catch(r){return void n(r)}i.onsuccess=e,i.onerror=n},this)},ic.put=function(t){if(0==t.length)return F();var e=wt();return t.forEach(function(t){var n;n=t.id()>>9;var i=e.get(n)||null;null===i&&(i=this.rf(this.Y.name,n)),Ut(i,[t]),e.set(n,i)},this),t=Tt(e).map(function(t){return this.Vb(function(){return this.Y.put(t.Ja())}.bind(this))},this),U(t)},ic.remove=function(t){if(0==t.length)return this.Vb(function(){return this.Y.clear()}.bind(this));var e=wt();return t.forEach(function(t){var n=t>>9,i=e.get(n)||null;null===i&&(i=this.rf(this.Y.name,n)),Vt(i,[t]),e.set(n,i)},this),t=Tt(e).map(function(t){return this.Vb(function(){return 0==Object.keys(t.m).length?this.Y["delete"](t.W()):this.Y.put(t.Ja())}.bind(this))},this),U(t)},Yt.prototype.update=function(t){t.forEach(function(t){Jt(this,t),Qt(this,t)},this)};var $c={};m("lf.ConstraintAction",$c),$c.RESTRICT=0,$c.CASCADE=1;var Kc={};m("lf.ConstraintTiming",Kc),Kc.IMMEDIATE=0,Kc.DEFERRABLE=1;var Xc={};m("lf.Order",Xc),Xc.DESC=0,Xc.ASC=1;var Yc={};m("lf.Type",Yc),Yc.ARRAY_BUFFER=0,Yc.BOOLEAN=1,Yc.DATE_TIME=2,Yc.INTEGER=3,Yc.NUMBER=4,Yc.STRING=5,Yc.OBJECT=6;var Qc={0:null,1:!1,2:Object.freeze(new Date(0)),3:0,4:0,5:"",6:null};m("lf.type.DEFAULT_VALUES",Qc),y(ee,Error),ic=ne.prototype,ic.has=function(t){return this.l.has(t)},ic.set=function(t,e){var n=this.l.get(t)||null;return null===n&&(n=qt(),this.l.set(t,n)),n.has(e)||(n.add(e),this.size++),this},ic.Yb=function(t,e){var n=this.l.get(t)||null;return null===n&&(n=qt(),this.l.set(t,n)),e.forEach(function(t){n.has(t)||(n.add(t),this.size++)},this),this},ic.be=function(t){return t.keys().forEach(function(e){var n=t.get(e);this.Yb(e,n)},this),this},ic["delete"]=function(t,e){var n=this.l.get(t)||null;if(null===n)return!1;var i=n["delete"](e);return i&&(--this.size,
0==n.size&&this.l["delete"](t)),i},ic.get=function(t){return t=this.l.get(t)||null,null===t?null:Ht(t)},ic.clear=function(){this.l.clear(),this.size=0},ic.keys=function(){return Et(this.l)},ic.values=function(){var t=[];return this.l.forEach(function(e){t.push.apply(t,Ht(e))}),t},ic=me.prototype,ic.getName=n("A"),ic.add=function(t){if(this.xa.has(t.id())){var e=[this.xa.get(t.id()),t];this.ma.set(t.id(),e),this.xa["delete"](t.id())}else this.wa.set(t.id(),t)},ic.modify=function(t){var e=t[1],n=t[0].id();this.wa.has(n)?this.wa.set(n,e):(this.ma.has(n)&&(t=[this.ma.get(t[0].id())[0],e]),this.ma.set(n,t))},ic["delete"]=function(t){if(this.wa.has(t.id()))this.wa["delete"](t.id());else if(this.ma.has(t.id())){var e=this.ma.get(t.id())[0];this.ma["delete"](t.id()),this.xa.set(t.id(),e)}else this.xa.set(t.id(),t)},ic.be=function(t){t.wa.forEach(function(t){this.add(t)},this),t.ma.forEach(function(t){this.modify(t)},this),t.xa.forEach(function(t){this["delete"](t)},this)},ic.toString=function(){return"["+Et(this.wa).toString()+"], ["+Et(this.ma).toString()+"], ["+Et(this.xa).toString()+"]"},ic.ld=function(){return 0==this.wa.size&&0==this.xa.size&&0==this.ma.size},ic=we.prototype,ic.da=n("$"),ic.Db=function(t,e){Se(this,t),re(this.Aa,t,e),pe(this.Aa,t,e,0);for(var n=0;n<e.length;n++)Te(this,t,[null,e[n]])},ic.update=function(t,e){Se(this,t),re(this.Aa,t,e);var n=e.map(function(t){return[this.V.get(t.id()),t]},this);Ce(this,t,n),de(this.Aa,t,n,0),n.forEach(function(e){Te(this,t,e)},this)},ic.Xd=function(t,e){Se(this,t),re(this.Aa,t,e);for(var n=0;n<e.length;n++){var i,r=e[n],o=null,s=t.Jb().dd();if(null===s)i=null;else{i=this.Aa;var s=s.j(),a=r.pb(s);i=i.D.get(s).get(a),i=0==i.length?null:i[0]}null!=i?(o=this.V.get(i),r.sa=i,de(this.Aa,t,[[o,r]],0)):pe(this.Aa,t,[r],0),Te(this,t,[o,r])}},ic.remove=function(t,e){Se(this,t),_e(this,t,e),ge(this.Aa,t,e,0);for(var n=0;n<e.length;n++)Te(this,t,[e[n],null])},ic.ka=t(),ic.Mb=function(){var t=Tt(this.ib).map(function(t){return be(t)});this.jd.update(t)};var Jc=new(t());Ne.prototype.toString=function(){return(this.ea?"(":"[")+(this.from==Jc?"unbound":this.from)+", "+(this.o==Jc?"unbound":this.o)+(this.oa?")":"]")},Ne.prototype.reverse=function(){return new Ne(this.o,this.from,this.oa,this.ea)},Ne.prototype.contains=function(t){var e=this.o==Jc||t<this.o||t==this.o&&!this.oa;return(this.from==Jc||t>this.from||t==this.from&&!this.ea)&&e},Re.prototype.toString=function(){return this.nc.map(function(t){return t.toString()}).join(",")},Re.prototype.Oa=function(t){return this.nc.some(function(e){return e.contains(t)})},Re.prototype.ra=n("nc"),Re.prototype.add=function(t){if(0!=t.length)if(t=this.nc.concat(t),1==t.length)this.nc=t;else{t.sort(je);for(var e=[],n=t[0],i=1;i<t.length;++i)if(ke(n,t[i])){var r=t[i],o=Ie();if(n.from!=Jc&&r.from!=Jc){var s=Le(n.from,r.from,!0);1!=s?(o.from=n.from,o.ea=0!=s?n.ea:n.ea&&r.ea):(o.from=r.from,o.ea=r.ea)}n.o!=Jc&&r.o!=Jc&&(s=Le(n.o,r.o,!1),-1!=s?(o.o=n.o,o.oa=0!=s?n.oa:n.oa&&r.oa):(o.o=r.o,o.oa=r.oa)),n=o}else e.push(n),n=t[i];e.push(n),this.nc=e}},qe.prototype.s=function(){return Ht(this.M)};var Zc=null,tl=0;m("lf.bind",function(t){return new Ye(t)}),m("lf.Binder",Ye),Ye.prototype.Ca=n("fa");var el,nl=[];sn.prototype.getParent=n("F"),sn.prototype.ab=function(){for(var t=this;!a(t.getParent());)t=t.getParent();return t},sn.prototype.removeChild=function(t){return fn(this,un(this).indexOf(t))},y(gn,sn);var il=0;gn.prototype.W=n("sa"),y(vn,gn),ic=vn.prototype,ic.Pb=function(){var t=new vn(this.H,this.value,this.C);t.ec=this.ec,t.wd(this.Va);var e=this.W();return t.sa=e,t},ic.nb=function(t){return null!=t?(t.push(this.H),t):[this.H]},ic.s=function(t){return t=null!=t?t:qt(),t.add(this.H.I()),t},ic.wd=e("Va"),ic.eval=function(t){if(mn(this),"in"==this.C)return yn(this,t);var e=t.entries.filter(function(t){return this.yc($e(t,this.H),this.value)!=this.Va},this);return new qe(e,t.s())},ic.bind=function(t){if(this.ec instanceof Ye){var e=this.ec.Ca();if(t.length<=e)throw new ee(510);this.value=t[e]}else"array"==s(this.ec)&&(this.value=this.ec.map(function(e){if(e instanceof Ye){var n=e.Ca();if(t.length<=n)throw new ee(510);return t[e.Ca()]}return e}))},ic.toString=function(){return"value_pred("+this.H.j()+" "+this.C+(this.Va?"(complement)":"")+" "+this.value+")"},ic.nd=function(){return mn(this),null!==this.value&&("between"==this.C||"in"==this.C||"eq"==this.C||"gt"==this.C||"gte"==this.C||"lt"==this.C||"lte"==this.C)},ic.we=function(){var t=null;if("between"==this.C)t=new Ne(bn(this,this.value[0]),bn(this,this.value[1]),(!1),(!1));else{if("in"==this.C)return t=this.value.map(function(t){return new Ne(t,t,(!1),(!1))}),new Re(this.Va?Pe(t):t);t=bn(this,this.value),t="eq"==this.C?new Ne(t,t,(!1),(!1)):"gte"==this.C?new Ne(t,Jc,(!1),(!1)):"gt"==this.C?new Ne(t,Jc,(!0),(!1)):"lte"==this.C?new Ne(Jc,t,(!1),(!1)):new Ne(Jc,t,(!1),(!0))}return new Re(this.Va?Ae(t):[t])},wn.prototype.bind=function(){return this},y(xn,wn),xn.prototype.da=function(){return qt(this.from)},xn.prototype.clone=function(){var t=new xn(this.ba);return Cn(t,this),this.f&&(t.f=this.f.slice()),this.from&&(t.from=this.from.slice()),t.X=this.X,t.L=this.L,this.N&&(t.N=this.N.slice()),this.la&&(t.la=this.la.slice()),this.Ub&&(t.Ub=this.Ub),this.ac&&(t.ac=this.ac),t.cb=this.cb,t},xn.prototype.bind=function(t){return xn.hb.bind.call(this,t),null!=this.Ub&&(this.X=t[this.Ub.Ca()]),null!=this.ac&&(this.L=t[this.ac.Ca()]),_n(this,t),this},Nn.prototype.ab=n("Ha"),Nn.prototype.da=n("$"),ic=kn.prototype,ic.exec=function(){function t(){var o=i.shift();if(o){var s=r[n.length];return o.ab().exec(e,s).then(function(e){return n.push(e[0]),t()})}return F()}var e=0==this.xe?void 0:new we(this.global,this.Nd),n=[],i=this.jf.slice(),r=this.ud;return t().then(function(){return this.ja=this.Na.Hb(this.xe,Ht(this.Nd),e),this.ja.ka()}.bind(this)).then(function(){return this.ge(n),n}.bind(this),function(t){throw null!=e&&e.Mb(),t})},ic.J=n("xe"),ic.da=n("Nd"),ic.Qb=n("fb"),ic.W=function(){return f(this)},ic.ge=t(),ic.aa=function(){var t=null;return null!=this.ja&&(t=this.ja.aa()),null===t?new Nt((!1),0,0,0,0):t},y(On,kn),On.prototype.getPriority=i(0),On.prototype.ge=function(t){this.ud.forEach(function(e,n){fu(this.Lb,e,t[n])},this)},ic=Dn.prototype,ic.exec=function(){return this.jd.update(this.ib),this.Oc(),F()},ic.J=i(1),ic.da=n("$"),ic.Qb=n("fb"),ic.W=function(){return f(this)},ic.getPriority=i(1),ic.Oc=function(){var t=hu(this.Lb,this.$);0!=t.length&&(t=new On(this.c,t),$a(this.Ia,t))},Ln.prototype.ee=function(t){t=new Dn(this.c,t),$a(this.Ia,t)},m("lf.backstore.FirebaseRawBackStore",jn),jn.prototype.ed=n("i"),jn.prototype.fd=function(){throw new ee(351)},jn.prototype.Ea=function(t){return Pn(this.i,"@rev/R").then(function(t){return this.Ra=t,Pn(this.i,"@table")}.bind(this)).then(function(e){var n,i=0;for(n in e)this.Ya.set(n,e[n]),e[n]>i&&(i=e[n]);return t.pa().forEach(function(t){this.Ya.has(t.getName())||(e[t.getName()]=++i)},this),n=this.i.child("@table"),Rn(n,e)}.bind(this))},jn.prototype.wc=function(t){return Mn(this,t,i(null)).then(function(){return this.Ya["delete"](t),Rn(this.i.child("@table/"+t),null,!0)}.bind(this))},jn.prototype.dropTable=jn.prototype.wc,jn.prototype.tc=function(t,e,n){return Mn(this,t,function(t){var i=t.P;return i[e]=n,{R:this.Ra+1,T:t.T,P:i}}.bind(this))},jn.prototype.addTableColumn=jn.prototype.tc,jn.prototype.xc=function(t,e){return Mn(this,t,function(t){var n=t.P;return delete n[e],{R:this.Ra+1,T:t.T,P:n}}.bind(this))},jn.prototype.dropTableColumn=jn.prototype.xc,jn.prototype.Nc=function(t,e,n){return Mn(this,t,function(t){var i=t.P;return i[n]=i[e],delete i[e],{R:this.Ra+1,T:t.T,P:i}}.bind(this))},jn.prototype.renameTableColumn=jn.prototype.Nc,jn.prototype.Ab=function(){throw new ee(351)},jn.prototype.createRow=jn.prototype.Ab,jn.prototype.Fc=n("Ta"),jn.prototype.getVersion=jn.prototype.Fc,jn.prototype.gc=function(t){var e=V();return t=this.Ya.get(t),this.i.orderByChild("T").equalTo(t).once("value",function(t){var n=[];t.forEach(function(t){n.push(t.val().P)}),e.resolve(n)}),e.ha},jn.prototype.dump=function(){var t={},e=Et(this.Ya).map(function(e){return this.gc(e).then(function(n){t[e]=n})}.bind(this));return U(e).then(function(){return t})},jn.prototype.dump=jn.prototype.dump,y(qn,At),qn.prototype.I=function(t){return this.i.Dc(t)},qn.prototype.vc=function(){if(0==this.zd)return this.S.resolve(),this.S.ha;var t=this.Qa.ib;if(0==t.size)this.S.resolve();else{var e=this.i.Ra+1;this.i.Ra=e;var n={"@rev":{R:e}};t.forEach(function(t,i){var r=this.i.Ya.get(i);t.wa.forEach(function(t,i){n[i]={R:e,T:r,P:t.m}}),t.ma.forEach(function(t,i){n[i]={R:e,T:r,P:t[1].m}}),t.xa.forEach(function(t,e){n[e]=null})},this),this.i.i.update(n,function(n){null===n?this.S.resolve():(this.i.Ra=e-1,n=Tt(t).map(function(t){return Kn(this.i,t.getName())},this),U(n).then(this.S.reject.bind(this.S),this.S.reject.bind(this.S)))}.bind(this))}return this.S.ha},Hn.prototype.getData=n("Ba"),Hn.prototype.get=function(t){return F(Fn(this,t))},Hn.prototype.put=function(t){return Bn(this,t),F()},Hn.prototype.remove=function(t){return Wn(this,t),F()},ic=Vn.prototype,ic.Ea=function(t){this.i=this.Ff.child(this.g.name());var e=t||function(){return F()};return Pn(this.i,"@db/version").then(function(t){return null===t?Rn(this.i,Xn(this),!0).then(function(){var t=new jn(0,this.i);return e(t)}.bind(this)).then(function(){return this.Ea()}.bind(this)):t==this.g.version()?Pn(this.i,"@rev/R").then(function(t){return this.Ra=t,Pn(this.i,"@table")}.bind(this)).then(function(t){for(var e in t)this.Ya.set(e,t[e]);return t=this.g.pa().map(function(t){return Kn(this,t.getName())},this),U(t)}.bind(this)).then(function(){return Gn(this),zn(this),F()}.bind(this)):this.he(t,e).then(function(){return this.Ea()}.bind(this))}.bind(this))},ic.he=function(t,e){var n=new jn(t,this.i);return n.Ea(this.g).then(function(){return F()}.bind(this)).then(function(){return e(n)}).then(function(){var t=this.i.child("@db");return Rn(t,{version:this.g.version()},!0)}.bind(this))},ic.Bg=function(t){var e=t.val(),n=this.Mc.get(e.T)||null;null===n&&(n=qt(),this.Mc.set(e.T,n)),n.add(parseInt(t.key(),10))},ic.ee=function(t){var e=t.child("@rev/R").val();null!=e&&e!=this.Ra&&(this.Ra=e,t=$n(this,t),t.forEach(function(t){var e=this.M.get(t.getName()),n=Et(t.xa);0<n.length&&Wn(e,n);var i=Tt(t.wa);t.ma.forEach(function(t){i.push(t[1])}),Bn(e,i)},this),0<t.length&&this.Ic(t),zn(this))},ic.Hb=function(t,e,n){return new qn(this,t,n)},ic.Dc=function(t){var e=this.M.get(t)||null;if(null!==e)return e;throw new ee(101,t)},ic.close=t(),ic.subscribe=e("Kd"),ic.Ic=function(t){null!=this.Kd&&this.Kd(t)},m("lf.backstore.IndexedDBRawBackStore",Yn),Yn.prototype.ed=n("i"),Yn.prototype.getRawDBInstance=Yn.prototype.ed,Yn.prototype.fd=n("ja"),Yn.prototype.getRawTransaction=Yn.prototype.fd,Yn.prototype.wc=function(t){return new M(function(e,n){try{this.i.deleteObjectStore(t)}catch(i){return void n(i)}e()},this)},Yn.prototype.dropTable=Yn.prototype.wc,Yn.prototype.tc=function(t,e,n){var i=Jn(n);return Zn(this,t,function(t){t.m[e]=i})},Yn.prototype.addTableColumn=Yn.prototype.tc,Yn.prototype.xc=function(t,e){return Zn(this,t,function(t){delete t.m[e]})},Yn.prototype.dropTableColumn=Yn.prototype.xc,Yn.prototype.Nc=function(t,e,n){return Zn(this,t,function(t){t.m[n]=t.m[e],delete t.m[e]})},Yn.prototype.renameTableColumn=Yn.prototype.Nc,Yn.prototype.Ab=function(t){var e,n={};for(e in t)n[e]=Jn(t[e]);return xt(n)},Yn.prototype.createRow=Yn.prototype.Ab,Yn.prototype.Fc=n("Ta"),Yn.prototype.getVersion=Yn.prototype.Fc,Yn.prototype.dump=function(){for(var t=this.i.objectStoreNames,e=[],n=0;n<t.length;++n){var i=t.item(n);e.push(this.gc(i))}return U(e).then(function(e){var n={};return e.forEach(function(e,i){n[t.item(i)]=e}),n})},Yn.prototype.dump=Yn.prototype.dump,Yn.prototype.gc=function(t){return ti(this,t).then(function(t){return t.map(function(t){return t.value})})},ei.prototype.get=function(t){return 0==t.length?null!=this.Y.getAll?ii(this):ni(this):(t=t.map(function(t){return new M(function(e,n){var i;try{i=this.Y.get(t)}catch(r){return void n(r)}i.onerror=n,i.onsuccess=function(t){e(this.Ib(t.target.result))}.bind(this)},this)},this),U(t))},ei.prototype.Vb=function(t){return new M(function(e,n){var i;try{i=t()}catch(r){return void n(r)}i.onsuccess=e,i.onerror=n},this)},ei.prototype.put=function(t){return 0==t.length?F():(t=t.map(function(t){return this.Vb(function(){return this.Y.put(t.Ja())}.bind(this))},this),U(t))},ei.prototype.remove=function(t){return new M(function(e,n){var i=this.Y.count();i.onsuccess=function(i){return 0==t.length||i.target.result==t.length?this.Vb(function(){return this.Y.clear()}.bind(this)).then(e,n):(i=t.map(function(t){return this.Vb(function(){return this.Y["delete"](t)}.bind(this))},this),void U(i).then(e,n))}.bind(this),i.onerror=n},this)},y(ri,At),ri.prototype.I=function(t,e,n){return this.Wc?(n=null!=n?n:0,t=this.ja.objectStore(t),new Gt(t,e,0==n?v(Kt,this.c):Xt)):new ei(this.ja.objectStore(t),e)},ri.prototype.vc=function(){return this.S.ha},ic=oi.prototype,ic.Ea=function(e){var n=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;if(null==n)throw new ee(352);var i=e||function(){return F()};return new M(function(e,r){var o;try{o=n.open(this.g.name(),this.g.version())}catch(s){return void r(s)}o.onerror=function(t){t=t.target.error,r(new ee(361,t.name,t.message))},o.onupgradeneeded=function(e){si(this,i,e).then(t(),r)}.bind(this),o.onsuccess=function(t){this.i=t.target.result,this.qe().then(function(t){Mc=t+1,e(this.i)}.bind(this))}.bind(this)},this)},ic.Of=function(t,e){t.objectStoreNames.contains(e.getName())||t.createObjectStore(e.getName(),{keyPath:"id"}),e.Fb()&&(e.Da().forEach(function(e){ui(t,e.j())},this),ui(t,$r(e)))},ic.Hb=function(t,e,n){return e=this.i.transaction(ci(e),0==t?"readonly":"readwrite"),new ri(this.c,e,t,this.Hd,n)},ic.qe=function(t){function e(){if(0==i.length)return F();var t=i.shift();return n(t).then(e)}function n(e){return new M(function(n,i){var a;try{a=(t||r.transaction([e])).objectStore(e).openCursor(null,"prev")}catch(u){return void i(u)}a.onsuccess=function(t){(t=t.target.result)&&(o=Math.max(o,s(t))),n(o)},a.onerror=function(){n(o)}})}var i=this.g.pa().map(function(t){return t.getName()}),r=this.i,o=0,s=function(t){return this.Hd?(t=zt(t.value),Object.keys(t.m).reduce(function(t,e){return Math.max(t,e)},0)):t.key}.bind(this);return new M(function(t){e().then(function(){t(o)})})},ic.close=function(){this.i.close()},ic.Dc=function(){throw new ee(511)},ic.subscribe=t(),ic.Ic=t(),y(li,At),li.prototype.I=function(t){return this.Y.Dc(t)},li.prototype.vc=function(){return this.S.resolve(),this.S.ha},ic=hi.prototype,ic.Ea=function(){return this.g.pa().forEach(this.ig,this),F()},ic.Dc=function(t){var e=this.M.get(t)||null;if(null===e)throw new ee(101,t);return e},ic.Hb=function(t,e,n){return new li(this,t,n)},ic.ig=function(t){fi(this,t.getName()),t.Fb()&&(t.Da().forEach(function(t){fi(this,t.j())},this),fi(this,$r(t)))},ic.close=t(),ic.subscribe=t(),ic.Ic=t(),y(pi,hi),pi.prototype.subscribe=function(t){null===this.rd&&(this.rd=t)},pi.prototype.Ic=function(t){null===this.rd||this.rd(t)},di.prototype.get=function(t){var e=this.Ib;return mi(this.ja,"SELECT id, value FROM "+this.A+" "+(0==t.length?"":"WHERE id IN ("+t.join(",")+")"),[],function(t){for(var n=t.rows.length,i=Array(n),r=0;r<n;++r)i[r]=e({id:t.rows.item(r).id,value:JSON.parse(t.rows.item(r).value)});return i})},di.prototype.put=function(t){if(0==t.length)return F();var e="INSERT OR REPLACE INTO "+this.A+"(id, value) VALUES (?, ?)";return t.forEach(function(t){mi(this.ja,e,[t.id(),JSON.stringify(t.m)])},this),F()},di.prototype.remove=function(t){return mi(this.ja,"DELETE FROM "+this.A+" "+(0==t.length?"":"WHERE id IN ("+t.join(",")+")"),[]),F()},y(gi,At),gi.prototype.I=function(t,e){var n=this.M.get(t)||null;return null===n&&(n=new di(this,vi(t),e),this.M.set(t,n)),n},gi.prototype.vc=function(){var t=null,e=this.S.reject.bind(this.S),n=function(t,e){this.S.reject(e)}.bind(this),i=[],r=function(e,o){if(null!==t){var s=o;null!=t.transform&&null!=o&&(s=t.transform(o)),i.push(s),t.S.resolve(s)}0<this.Od.length?(t=s=this.Od.shift(),e.executeSql(s.Pg,s.Fg,r,n)):this.S.resolve(i)}.bind(this);return 0==this.zd?this.i.readTransaction(r,e):this.i.transaction(r,e),this.S.ha},m("lf.backstore.WebSqlRawBackStore",yi),yi.prototype.ed=n("i"),yi.prototype.getRawDBInstance=yi.prototype.ed,yi.prototype.fd=function(){throw new ee(356)},yi.prototype.getRawTransaction=yi.prototype.fd,yi.prototype.wc=function(t){var e=bi(this);return mi(e,"DROP TABLE "+t,[]),e.ka()},yi.prototype.dropTable=yi.prototype.wc,yi.prototype.gc=function(t){var e=bi(this);return mi(e,"SELECT id, value FROM "+t,[]),e.ka().then(function(t){for(var e=t[0].rows.length,n=Array(e),i=0;i<e;++i)n[i]={id:t[0].rows.item(i).id,value:JSON.parse(t[0].rows.item(i).value)};return F(n)})},yi.prototype.tc=function(t,e,n){var i=Jn(n);return wi(this,t,function(t){return t.value[e]=i,t})},yi.prototype.addTableColumn=yi.prototype.tc,yi.prototype.xc=function(t,e){return wi(this,t,function(t){return delete t.value[e],t})},yi.prototype.dropTableColumn=yi.prototype.xc,yi.prototype.Nc=function(t,e,n){return wi(this,t,function(t){return t.value[n]=t.value[e],delete t.value[e],t})},yi.prototype.renameTableColumn=yi.prototype.Nc,yi.prototype.Ab=function(t){var e,n={};for(e in t)n[e]=Jn(t[e]);return xt(n)},yi.prototype.createRow=yi.prototype.Ab,yi.prototype.Fc=n("Ta"),yi.prototype.getVersion=yi.prototype.Fc,yi.prototype.dump=function(){var t=V(),e=bi(this);Ei(e);var n={};return e.ka().then(function(e){e=e[0].filter(function(t){return"__lf_ver"!=t&&"__WebKitDatabaseInfoTable__"!=t}).map(function(t){return this.gc(t).then(function(e){n[t]=e})},this),U(e).then(function(){t.resolve(n)})}.bind(this)),t.ha},yi.prototype.dump=yi.prototype.dump,ic=Ti.prototype,ic.Ea=function(t){if(null==window.openDatabase)throw new ee(353);var e=t||function(){return F()};return new M(function(t,n){var i=window.openDatabase(this.g.name(),"",this.g.name(),this.Og);if(null==i)throw new ee(354);this.i=i,Ci(this,e).then(function(){this.qe().then(t,n)}.bind(this),function(t){if(t instanceof ee)throw t;throw new ee(354,t.message)})},this)},ic.Hb=function(t,e,n){if(null!=this.i)return new gi(this.i,t,n);throw new ee(2)},ic.close=t(),ic.Dc=function(){throw new ee(512)},ic.subscribe=function(){throw new ee(355)},ic.Ic=function(){throw new ee(355)},ic.he=function(t,e){return _i(this).then(function(){return t(new yi(this.c,e,this.i))}.bind(this))},ic.qe=function(){var t=0,e=V(),n=function(e){var n=new gi(this.i,0);return mi(n,"SELECT MAX(id) FROM "+('"'+e+'"'),[]),n.ka().then(function(e){e=e[0].rows.item(0)["MAX(id)"],t=Math.max(e,t)})}.bind(this),i=this.g.pa().map(function(t){return n(t.getName())});return U(i).then(function(){Mc=t+1,e.resolve()},function(t){e.reject(t)}),e.ha},ic=xi.prototype,ic.set=function(t,e){this.l.set(e.id(),e),this.bc.get(t).add(e.id())},ic.Yb=function(t,e){var n=this.bc.get(t);e.forEach(function(t){this.l.set(t.id(),t),n.add(t.id())},this)},ic.get=function(t){return this.l.get(t)||null},ic.Ua=function(t,e,n){var i=[],r=Math.min(e,n),o=Math.max(e,n);if(t=this.bc.get(t),t.size<o-r)t.forEach(function(t){t>=r&&t<=o&&(t=this.l.get(t),i.push(t))},this);else for(e=r;e<=o;++e)t.has(e)&&(n=this.l.get(e),i.push(n));return i},ic.remove=function(t,e){this.l["delete"](e),this.bc.get(t)["delete"](e)},ic.Cc=function(t){return null!=t?this.bc.get(t).size:this.l.size},ic.clear=function(){this.l.clear(),this.bc.clear()},Oi.prototype.add=function(t,e){this.ia+=e},Oi.prototype.remove=function(t,e){this.ia-=e},Oi.prototype.clear=function(){this.ia=0};var rl=[];ic=Li.prototype,ic.getName=n("A"),ic.toString=function(){return this.ua.toString()},ic.add=function(t,e){this.ua=this.ua.Db(t,e)},ic.set=function(t,e){this.ua=this.ua.Db(t,e,!0)},ic.remove=function(t,e){this.ua=this.ua.remove(t,e)},ic.get=function(t){return this.ua.get(t)},ic.$c=function(t){if(null==t)return this.aa().ia;if(t instanceof Ne){if(Oe(t))return this.aa().ia;if(De(t))return this.get(t.from).length}return this.Ua([t]).length},ic.aa=n("za"),ic.Vd=function(t,e,n,i){return n=Array(t),this.ua.fill({offset:e?this.za.ia-t-i:i,count:t,te:0},n),e?n.reverse():n},ic.Ua=function(t,e,n,i){var o=Fi(this.ua).a[0];if(!r(o)||0==n)return rl;e=e||!1,n=null!=n?Math.min(n,this.za.ia):this.za.ia,i=i||0;var s=Math.min(Math.max(this.za.ia-i,0),n);if(0==s)return rl;if(!r(t)||1==t.length&&t[0]instanceof Ne&&Oe(t[0]))return this.Vd(s,e,n,i);t=this.Z.wf(t);var a=Array(e?this.za.ia:s),u={count:0,X:a.length,reverse:e,L:i},c=1<this.lb().$d();return t.forEach(function(t){for(var e=this.Z.vd(t),e=this.Z.Yd(t)?o:e[0],e=this.ua.bg(e),n=0;null!=e&&u.count<u.X;){if(c){for(var i=e,r=t,s=u,l=a,h=i.u.lb(),f=-1,p=0;p<i.a.length;++p)if(h.Eb(i.a[p],r)){f=p;break}if(-1!=f)for(p=f;p<i.a.length&&s.count<s.X;++p)h.Eb(i.a[p],r)&&Ji(i,s,l,p)}else e.Ua(t,u,a);0!=u.L||e.md(t)?n=0:n++,e=2==n?null:e.next()}},this),a.length>u.count&&a.splice(u.count,a.length-u.count),e?Ii(a,e,n,i):a},ic.clear=function(){this.ua=Mi(this),this.za.clear()},ic.Oa=function(t){return this.ua.Oa(t)},ic.min=function(){return this.Kb(this.Z.min.bind(this.Z))},ic.max=function(){return this.Kb(this.Z.max.bind(this.Z))},ic.Kb=function(t){var e;t:{e=Fi(this.ua);var n=0;do if(n>=e.a.length)e=e.ya,n=0;else{var i=ji(this,e,n);if(null!==i){e=i;break t}n++}while(null!==e);e=null}t:{n=Bi(this.ua),i=n.a.length-1;do if(0>i)n=n.tb,i=0;else{var r=ji(this,n,i);if(null!==r){n=r;break t}i--}while(null!==n);n=null}return null===e||null===n?null:1==t(e[0],n[0])?e:n},ic.La=n("Af"),ic.lb=n("Z"),ic.Pa=function(t,e){return null!=t&&0==this.Z.compare(t,e)},ic.Ja=function(){for(var t=[],e=Fi(this.ua);e;)t.push(new Ct(e.sa,[e.a,e.B])),e=e.ya;return t},ic=Ri.prototype,ic.next=n("ya"),ic.toString=function(){var t="",e=Hi(this),t=t+(e[0]+"\n"+e[1]+"\n");return this.h.length&&(t+=this.h[0].toString()),t},ic.get=function(t){var e=Qi(this,t);if(qi(this)){var n=rl;return this.u.Pa(this.a[e],t)&&(n=n.concat(this.B[e])),n}return e=this.u.Pa(this.a[e],t)?e+1:e,this.h[e].get(t)},ic.Oa=function(t){var e=Qi(this,t);return!!this.u.Pa(this.a[e],t)||!qi(this)&&this.h[e].Oa(t)},ic.remove=function(t,e){if(Ki(this,t,-1,e),null===this.F){var n=this;return 1==this.h.length&&(n=this.h[0],n.F=null),n}return this},ic.Db=function(t,e,n){var i=Qi(this,t);if(qi(this)){if(this.u.Pa(this.a[i],t)){if(n)this.u.aa().remove(t,this.u.La()?1:this.B[i].length),this.B[i]=this.u.La()?e:[e];else{if(this.u.La())throw new ee(201);if(!ki(this.B[i],e))throw new ee(109)}return this.u.aa().add(t,1),this}return this.a.splice(i,0,t),this.B.splice(i,0,this.u.La()?e:[e]),this.u.aa().add(t,1),512==this.a.length?(i=Mi(this.u),t=Mi(this.u),t.ob=1,t.a=[this.a[256]],t.h=[this,i],t.F=this.F,this.F=t,i.a=this.a.splice(256),i.B=this.B.splice(256),i.F=t,Wi(i,this.ya),Wi(this,i),i=t):i=this,i}return i=this.u.Pa(this.a[i],t)?i+1:i,t=this.h[i].Db(t,e,n),qi(t)||1!=t.a.length||(this.a.splice(i,0,t.a[0]),t.h[1].F=this,t.h[0].F=this,this.h.splice(i,1,t.h[1]),this.h.splice(i,0,t.h[0])),512==this.a.length?Yi(this):this},ic.Pe=function(t){if(!qi(this)){var e=Qi(this,t);return this.u.Pa(this.a[e],t)&&e++,this.h[e].Pe(t)}return this},ic.Oe=function(t){if(!qi(this)){var e=Qi(this,t);return this.u.Pa(this.a[e],t)&&(t.some(function(t){return t==Jc})||e++),this.h[e].Oe(t)}return this},ic.Ua=function(t,e,n){function i(t){return t[0]?t[1]?0:1:-1}var r=this.u.lb(),o=0,s=this.a.length-1,a=this.a,u=i(r.zb(a[o],t)),c=i(r.zb(a[s],t));if(1!=u&&(-1!=u||-1!=c)){var l=function(t,e){var n=t+e>>1;return n==t?n+1:n},h=function(e,n,o){if(e>=n)return 0==o?n:-1;var s=i(r.zb(a[e],t));if(0==s)return e;if(1==s)return-1;if(s=l(e,n),s==n)return 0==o?n:-1;var u=i(r.zb(a[s],t));return 0==u?h(e,s,u):-1==u?h(s+1,n,o):h(e+1,s,u)},f=function(e,n){if(e>=n)return e;var o=i(r.zb(a[n],t));if(0==o)return n;if(-1==o)return e;if(o=l(e,n),o==n)return e;var s=i(r.zb(a[o],t));return 0==s?f(o,n):1==s?f(e,o-1):-1};0!=u&&(o=h(o+1,s,c)),-1!=o&&(s=f(o,s),-1!=s&&s>=o&&Zi(this,e,n,o,s+1))}},ic.fill=function(t,e){if(qi(this))for(var n=0;n<this.B.length&&0<t.count;++n)if(0<t.offset){if(t.offset-=this.u.La()?1:this.B[n].length,0>t.offset)for(var i=this.B[n].length+t.offset;i<this.B[n].length&&0<t.count;++i)e[t.te++]=this.B[n][i],t.count--}else if(this.u.La())e[t.te++]=this.B[n],t.count--;else for(i=0;i<this.B[n].length&&0<t.count;++i)e[t.te++]=this.B[n][i],t.count--;else for(n=0;n<this.h.length&&0<t.count;++n)this.h[n].fill(t,e)},ic.md=function(t){return this.u.lb().md(this.a[0],t)},ic=er.prototype,ic.zb=function(t,e){var n=this.ce(e),i=[n.from==Jc,n.o==Jc];if(!i[0]){var r=this.Zc(t,n.from);i[0]=n.ea?1==r:-1!=r}return i[1]||(r=this.Zc(t,n.o),i[1]=n.oa?-1==r:1!=r),i},ic.compare=function(t,e){return this.Zc(t,e)},ic.min=function(t,e){return t<e?1:t==e?0:-1},ic.max=function(t,e){return t>e?1:t==e?0:-1},ic.Eb=function(t,e){var n=this.zb(t,e);return n[0]&&n[1]},ic.md=function(t,e){return this.Eb(t,e)},ic.wf=function(t){return t.filter(function(t){return null!==t}).sort(function(t,e){return this.ie(t,e)}.bind(this))},ic.Yd=function(t){return this.ce(t).from==Jc},ic.vd=function(t){return t=this.ce(t),[t.from,t.o]},ic.Pd=function(t){return null!==t},ic.$d=i(1),ic.toString=function(){return this.compare==ir?"SimpleComparator_DESC":"SimpleComparator_ASC"},y(sr,er),sr.prototype.Eb=function(t,e){return null===t?Oe(e):sr.hb.Eb.call(this,t,e)},sr.prototype.Kb=function(t,e){return null===t?null===e?0:-1:null===e?1:null},sr.prototype.min=function(t,e){var n=this.Kb(t,e);return null===n&&(n=sr.hb.min.call(this,t,e)),n},sr.prototype.max=function(t,e){var n=this.Kb(t,e);return null===n&&(n=sr.hb.max.call(this,t,e)),n},ic=cr.prototype,ic.compare=function(t,e){return lr(this,t,e,function(t,e,n){return e==Jc||n==Jc?0:t.compare(e,n)})},ic.min=function(t,e){return lr(this,t,e,function(t,e,n){return t.min(e,n)})},ic.max=function(t,e){return lr(this,t,e,function(t,e,n){return t.max(e,n)})},ic.zb=function(t,e){for(var n=[!0,!0],i=0;i<this.qa.length&&(n[0]||n[1]);++i){var r=this.qa[i].zb(t[i],e[i]);n[0]=n[0]&&r[0],n[1]=n[1]&&r[1]}return n},ic.Eb=function(t,e){for(var n=!0,i=0;i<this.qa.length&&n;++i)n=this.qa[i].Eb(t[i],e[i]);return n},ic.md=function(t,e){return this.qa[0].Eb(t[0],e[0])},ic.wf=function(t){var e=t.filter(function(t){return t.every(u)});t=Array(this.qa.length);for(var n=0;n<t.length;n++)t[n]=e.map(function(t){return t[n]});for(t.forEach(function(t,e){t.sort(function(t,n){return this.qa[e].ie(t,n)}.bind(this))},this),e=Array(e.length),n=0;n<e.length;n++)e[n]=t.map(function(t){return t[n]});return e.sort(function(t,e){for(var n=0,i=0;i<this.qa.length&&0==n;++i)n=this.qa[i].ie(t[i],e[i]);return n}.bind(this))},ic.Yd=function(t){return this.qa[0].Yd(t[0])},ic.vd=function(t){var e=t.map(function(t,e){return this.qa[e].vd(t)[0]},this);return t=t.map(function(t,e){return this.qa[e].vd(t)[1]},this),[e,t]},ic.Pd=function(t){return t.every(function(t,e){return this.qa[e].Pd(t)},this)},ic.$d=function(){return this.qa.length},y(hr,cr),ic=pr.prototype,ic.getName=function(){return this.fa.getName()},ic.add=function(t,e){null===t?(this.qb.add(e),this.Qc.add(t,1)):this.fa.add(t,e)},ic.set=function(t,e){null===t?(this.qb.clear(),this.Qc.clear(),this.add(t,e)):this.fa.set(t,e)},ic.remove=function(t,e){null===t?e?(this.qb["delete"](e),this.Qc.remove(t,1)):(this.qb.clear(),this.Qc.clear()):this.fa.remove(t,e)},ic.get=function(t){return null===t?Ht(this.qb):this.fa.get(t)},ic.$c=function(t){return this.fa.$c(t)},ic.aa=function(){return Di(this.za,[this.fa.aa(),this.Qc]),this.za},ic.Ua=function(t,e,n,i){return e=this.fa.Ua(t,e,n,i),null!=t?e:e.concat(Ht(this.qb))},ic.clear=function(){this.qb.clear(),this.fa.clear()},ic.Oa=function(t){return null===t?0!=this.qb.size:this.fa.Oa(t)},ic.min=function(){return this.fa.min()},ic.max=function(){return this.fa.max()},ic.Ja=function(){return[new Ct((-2),Ht(this.qb))].concat(this.fa.Ja())},ic.lb=function(){return this.fa.lb()},ic.La=function(){return this.fa.La()},ic=gr.prototype,ic.getName=n("A"),ic.add=function(t){if("number"!=typeof t)throw new ee(103);this.vb.add(t)},ic.set=function(t,e){this.add(t,e)},ic.remove=function(t){this.vb["delete"](t)},ic.get=function(t){return this.Oa(t)?[t]:[]},ic.min=function(){return this.Kb(this.Z.min.bind(this.Z))},ic.max=function(){return this.Kb(this.Z.max.bind(this.Z))},ic.Kb=function(t){if(0==this.vb.size)return null;var e=Ht(this.vb).reduce(function(e,n){return null===e||1==t(n,e)?n:e},null);return[e,[e]]},ic.$c=function(){return this.vb.size},ic.Ua=function(t,e,n,i){var r=t||[Ie()];return t=Ht(this.vb).filter(function(t){return r.some(function(e){return this.Z.Eb(t,e)},this)},this),Ii(t,e,n,i)},ic.clear=function(){this.vb.clear()},ic.Oa=function(t){return this.vb.has(t)},ic.Ja=function(){return[new Ct(0,Ht(this.vb))]},ic.lb=n("Z"),ic.La=i(!0),ic.aa=function(){var t=new Oi;return t.ia=this.vb.size,t},mr.prototype.Ea=function(t){var e=t.pa(),n=function(){if(0==e.length)return F();var t=e.shift();return(t.Fb()?wr(this,t):yr(this,t)).then(n)}.bind(this);return n()},Cr.prototype.Ea=function(t){return t.pa().forEach(function(t){var e=[];this.oc.set(t.getName(),e);var n=$r(t);if(null===this.get(n)){var i=new gr(n);e.push(i),this.Y.set(n,i)}t.Da().forEach(function(t){var n;n=fr(t),n=new Li(t.j(),n,t.Gc),n=Vr(t)&&1==t.f.length?new pr(n):n,e.push(n),this.Y.set(t.j(),n)},this)},this),F()},Cr.prototype.get=function(t){return this.Y.get(t)||null},Cr.prototype.set=function(t,e){var n=this.oc.get(t)||null;null===n&&(n=[],this.oc.set(t,n));for(var i=null,r=0;r<n.length;r++)if(n[r].getName()==e.getName()){i=r;break}null!==i&&0<n.length?n.splice(i,1,e):n.push(e),this.Y.set(e.getName(),e)},y(Lr,gn),ic=Lr.prototype,ic.Pb=function(){return _r(this,function(t){if(t instanceof Lr){var e=new Lr(t.rb);return e.Va=t.Va,t=t.W(),e.sa=t,e}return t.Pb()})},ic.nb=function(t){var e=t||[];return dn(this,function(t){t!=this&&t.nb(e)}.bind(this)),t=qt(e),Ht(t)},ic.s=function(t){var e=null!=t?t:qt();return dn(this,function(t){t!=this&&t.s(e)}.bind(this)),e},ic.wd=function(t){this.Va!=t&&(this.Va=t,this.rb="and"==this.rb?"or":"and",un(this).forEach(function(e){return e.wd(t)}))},ic.eval=function(t){var e=un(this).map(function(e){return e.eval(t)});return jr(this,e)},ic.toString=function(){return"combined_pred_"+this.rb.toString()},ic.we=function(){if("or"==this.rb){var t=new Re;return un(this).forEach(function(e){e=e.we().ra(),t.add(e)}),t}return new Re},ic.nd=function(){return"or"==this.rb&&Pr(this)},y(Rr,gn),ic=Rr.prototype,ic.Pb=function(){var t=new Rr(this.ga,this.na,this.C),e=this.W();return t.sa=e,t},ic.nb=function(t){return null!=t?(t.push(this.ga),t.push(this.na),t):[this.ga,this.na]},ic.s=function(t){return t=null!=t?t:qt(),t.add(this.ga.I()),t.add(this.na.I()),t},ic.reverse=function(){var t=this.C;switch(this.C){case"gt":t="lt";break;case"lt":t="gt";break;case"gte":t="lte";break;case"lte":t="gte"}return new Rr(this.na,this.ga,t)},ic.eval=function(t){var e=t.entries.filter(function(t){var e=$e(t,this.ga);return t=$e(t,this.na),this.yc(e,t)},this);return new qe(e,t.s())},ic.toString=function(){return"join_pred("+this.ga.j()+" "+this.C+" "+this.na.j()+")"};var ol={};m("lf.schema.DataStoreType",ol),ol.INDEXED_DB=0,ol.MEMORY=1,ol.LOCAL_STORAGE=2,ol.FIREBASE=3,ol.WEB_SQL=4,ol.OBSERVABLE_STORE=5,Ur.prototype.j=function(){return this.pc+"."+this.name},m("lf.schema.Table",zr),zr.prototype.getName=n("A"),zr.prototype.getName=zr.prototype.getName,zr.prototype.$a=n("jb"),zr.prototype.uc=function(t){var e=new this.constructor(this.A);return e.jb=t,e.Kg=this.Kg,e},zr.prototype.as=zr.prototype.uc,zr.prototype.createRow=zr.prototype.Ab,zr.prototype.deserializeRow=zr.prototype.mb,zr.prototype.Da=n("ta"),zr.prototype.getIndices=zr.prototype.Da,zr.prototype.nb=n("K"),zr.prototype.getColumns=zr.prototype.nb,zr.prototype.getConstraint=zr.prototype.Jb,zr.prototype.Fb=n("td"),zr.prototype.persistentIndex=zr.prototype.Fb,ic=Kr.prototype,ic.getName=function(){return this.Ob+"("+this.child.getName()+")";
},ic.j=function(){return this.Ob+"("+this.child.j()+")"},ic.I=function(){return this.child.I()},ic.toString=function(){return this.j()},ic.J=function(){return this.child.J()},ic.$a=n("jb"),ic.Da=function(){return[]},ic.Ca=i(null),ic.kc=i(!1),ic.uc=function(t){return this.jb=t,this},Kr.prototype.as=Kr.prototype.uc,ic=Yr.prototype,ic.getName=i("*"),ic.j=function(){return this.getName()},ic.toString=function(){return this.j()},ic.I=n("U"),ic.J=i(4),ic.$a=n("jb"),ic.Da=function(){return[]},ic.Ca=i(null),ic.kc=i(!1),m("lf.fn.avg",function(t){return new Kr(t,"AVG")}),m("lf.fn.count",Qr),m("lf.fn.distinct",Jr),m("lf.fn.max",function(t){return new Kr(t,"MAX")}),m("lf.fn.min",function(t){return new Kr(t,"MIN")}),m("lf.fn.stddev",function(t){return new Kr(t,"STDDEV")}),m("lf.fn.sum",function(t){return new Kr(t,"SUM")}),m("lf.fn.geomean",function(t){return new Kr(t,"GEOMEAN")}),y(Zr,sn),Zr.prototype.exec=function(t,e){switch(this.Xf){case 1:return eo(this,t,e);case 0:return no(this,t,e);default:return to(this,t,e)}},Zr.prototype.toString=i("dummy_node"),Zr.prototype.Rc=function(){return this.toString()},y(io,Zr),io.prototype.toString=function(){return"aggregation("+this.De.map(function(t){return t.j()}).toString()+")"},io.prototype.ca=function(t){return t.forEach(function(t){oo(new ro(t,this.De))},this),t},po.prototype.ab=n("Ha"),po.prototype.da=n("$"),y(go,sn),y(vo,go),y(mo,vo),y(yo,go),yo.prototype.toString=function(){return"delete("+this.table.getName()+")"},y(bo,go),bo.prototype.toString=function(){var t=[];return this.ye&&(t=this.ye.map(function(t){return t.H.getName()},this)),"update("+this.table.getName()+", ["+t.join(",")+"])"},y(wo,go),wo.prototype.toString=function(){return"select("+this.O.toString()+")"},y(Eo,go),Eo.prototype.toString=function(){var t="table_access("+this.table.getName();return null===this.table.$a()||(t+=" as "+this.table.$a()),t+")"},y(To,go),To.prototype.toString=i("cross_product"),y(Co,go),Co.prototype.toString=function(){var t="project("+this.f.toString();if(null!==this.Rb)var e=this.Rb.map(function(t){return t.j()}).join(", "),t=t+(", groupBy("+e+")");return t+")"},y(_o,go),_o.prototype.toString=function(){return"order_by("+Sn(this.N)+")"},y(xo,go),xo.prototype.toString=function(){return"aggregation("+this.f.toString()+")"},y(So,go),So.prototype.toString=function(){return"group_by("+this.f.toString()+")"},y(No,go),No.prototype.toString=function(){return"limit("+this.X+")"},y(Ao,go),Ao.prototype.toString=function(){return"skip("+this.L+")"},y(ko,go),ko.prototype.toString=function(){return"join(type: "+(this.Tb?"outer":"inner")+", "+this.O.toString()+")"},y(Oo,Io),Oo.prototype.gb=function(t){return this.G=t,this.xb(this.G),this.G},Oo.prototype.xb=function(t){if(t instanceof wo){var e=Do(this,t.O),e=Lo(this,e);Ir(t,t,e[0],e[1]),t==this.G&&(this.G=e[0]),t=e[0]}un(t).forEach(function(t){this.xb(t)},this)},y(jo,Io),jo.prototype.gb=function(t,e){return 3>e.from.length?t:(this.G=t,this.xb(this.G),this.G)},jo.prototype.xb=function(t){if(t instanceof To)for(;2<un(t).length;){for(var e=new To,n=0;2>n;n++){var i=fn(t,0);hn(e,i)}ln(t,e,0)}un(t).forEach(function(t){this.xb(t)},this)},y(Po,Zr),Po.prototype.toString=i("cross_product"),Po.prototype.ca=function(t){var e=t[0],n=t[1];t=[];for(var i=e.s(),r=n.s(),o=0;o<e.entries.length;o++)for(var s=0;s<n.entries.length;s++){var a=Xe(e.entries[o],i,n.entries[s],r);t.push(a)}return e=e.s().concat(n.s()),[new qe(t,e)]},y(Ro,kn),Ro.prototype.getPriority=i(2),Ro.prototype.ge=function(t){0==this.J()?Mo(this,t):this.Oc()},Ro.prototype.Oc=function(){var t=hu(this.Lb,this.da());0!=t.length&&(t=new On(this.global,t),$a(this.Ia,t))},y(qo,wn),qo.prototype.da=function(){var t=qt();return t.add(this.from),Ho(this,this.from.getName(),t),t},qo.prototype.clone=function(){var t=new qo(this.ba);return Cn(t,this),t.from=this.from,t},qo.prototype.bind=function(t){return qo.hb.bind.call(this,t),_n(this,t),this},y(Fo,wn),Fo.prototype.da=function(){var t=qt();t.add(this.Ka);var e=this.ba.info();return Ou(this.Ka.getName(),e.gf).forEach(t.add.bind(t)),this.cc&&Lu(e,this.Ka.getName()).forEach(t.add.bind(t)),t},Fo.prototype.clone=function(){var t=new Fo(this.ba);return Cn(t,this),t.Ka=this.Ka,this.values&&(t.values=this.values instanceof Ye?this.values:this.values.slice()),t.cc=this.cc,t.dc=this.dc,t},Fo.prototype.bind=function(t){return Fo.hb.bind.call(this,t),this.dc&&(this.values=this.dc instanceof Ye?t[this.dc.Ca()]:this.dc.map(function(e){return e instanceof Ye?t[e.Ca()]:e})),this},y(Bo,wn),Bo.prototype.da=function(){var t=qt();t.add(this.table);var e=this.set.map(function(t){return t.H.j()}),n=this.ba.info();return Du(n,e).forEach(t.add.bind(t)),ju(n,e).forEach(t.add.bind(t)),t},Bo.prototype.clone=function(){var t=new Bo(this.ba);return Cn(t,this),t.table=this.table,t.set=this.set?this.set.slice():this.set,t},Bo.prototype.bind=function(t){return Bo.hb.bind.call(this,t),this.set.forEach(function(e){-1!=e.Vc&&(e.value=t[e.Vc])}),_n(this,t),this},m("lf.query.BaseBuilder",es),es.prototype.exec=function(){try{this.kb()}catch(t){return B(t)}return new M(function(t,e){var n=new Ro(this.global,[this.Ec()]);$a(this.Ia,n).then(function(e){t(He(e[0]))},e)},this)},es.prototype.exec=es.prototype.exec,es.prototype.Zf=function(){var t=function(t){return t.Rc(this.query)+"\n"}.bind(this);return Dr(ns(this).ab(),t)},es.prototype.explain=es.prototype.Zf,es.prototype.bind=function(t){return this.query.bind(t),this},es.prototype.bind=es.prototype.bind,es.prototype.Rg=function(t){return ts(this,t)},es.prototype.toSql=es.prototype.Rg,es.prototype.kb=t(),es.prototype.Ec=function(){return{context:this.query.clone(),je:ns(this)}},y(is,es),m("lf.query.DeleteBuilder",is),is.prototype.from=function(t){if(null!=this.query.from)throw new ee(515);return this.query.from=t,this},is.prototype.from=is.prototype.from,is.prototype.w=function(t){return this.Gd(),this.query.w=t,this},is.prototype.where=is.prototype.w,is.prototype.Gd=function(){if(null==this.query.from)throw new ee(548);if(null!=this.query.w)throw new ee(516)},is.prototype.kb=function(){if(is.hb.kb.call(this),null==this.query.from)throw new ee(517)},y(rs,es),m("lf.query.InsertBuilder",rs),rs.prototype.kb=function(){rs.hb.kb.call(this);var t=this.query;if(null==t.Ka||null==t.values)throw new ee(518);if(t.cc&&null===t.Ka.Jb().dd())throw new ee(519)},rs.prototype.Ka=function(t){if(null!=this.query.Ka)throw new ee(520);return this.query.Ka=t,this},rs.prototype.into=rs.prototype.Ka,rs.prototype.values=function(t){if(null!=this.query.values)throw new ee(521);return t instanceof Ye||t.some(function(t){return t instanceof Ye})?this.query.dc=t:this.query.values=t,this},rs.prototype.values=rs.prototype.values,m("lf.op.and",os),m("lf.op.or",function(t){return ss("or",Array.prototype.slice.call(arguments))}),m("lf.op.not",function(t){return t.wd(!0),t}),y(as,es),m("lf.query.SelectBuilder",as),as.prototype.kb=function(){as.hb.kb.call(this);var t=this.query;if(null==t.from)throw new ee(522);if(r(t.Ub)&&!r(t.X)||r(t.ac)&&!r(t.L))throw new ee(523);null!=this.query.la?cs(this):ls(this)},as.prototype.from=function(t){if(this.Ne)throw new ee(515);return this.Ne=!0,null==this.query.from&&(this.query.from=[]),this.query.from.push.apply(this.query.from,Array.prototype.slice.call(arguments)),this},as.prototype.from=as.prototype.from,as.prototype.w=function(t){if(fs(this,548),this.Bd)throw new ee(516);return this.Bd=!0,ps(this,t),this},as.prototype.where=as.prototype.w,as.prototype.jg=function(t,e){if(fs(this,542),this.Bd)throw new ee(547);return this.query.from.push(t),ps(this,e),this},as.prototype.innerJoin=as.prototype.jg,as.prototype.qg=function(t,e){if(fs(this,542),!(e instanceof Rr))throw new ee(541);if(this.Bd)throw new ee(547);this.query.from.push(t),null==this.query.cb&&(this.query.cb=qt());var n=e;return Gr(t)!=Gr(e.na.I())&&(n=e.reverse()),this.query.cb.add(n.W()),ps(this,n),this},as.prototype.leftOuterJoin=as.prototype.qg,as.prototype.X=function(t){if(null!=(this.query.X||this.query.Ub))throw new ee(528);if(t instanceof Ye)this.query.Ub=t;else{if(0>t)throw new ee(531);this.query.X=t}return this},as.prototype.limit=as.prototype.X,as.prototype.L=function(t){if(null!=(this.query.L||this.query.ac))throw new ee(529);if(t instanceof Ye)this.query.ac=t;else{if(0>t)throw new ee(531);this.query.L=t}return this},as.prototype.skip=as.prototype.L,as.prototype.N=function(t,e){return fs(this,549),null==this.query.N&&(this.query.N=[]),this.query.N.push({H:t,sb:null!=e?e:1}),this},as.prototype.orderBy=as.prototype.N,as.prototype.la=function(t){if(fs(this,549),null!=this.query.la)throw new ee(530);return null==this.query.la&&(this.query.la=[]),this.query.la.push.apply(this.query.la,Array.prototype.slice.call(arguments)),this},as.prototype.groupBy=as.prototype.la,as.prototype.clone=function(){var t=new as(this.global,this.query.f);return t.query=this.query.clone(),t.query.Yc=null,t},as.prototype.clone=as.prototype.clone,y(gs,es),m("lf.query.UpdateBuilder",gs),gs.prototype.set=function(t,e){var n={Vc:e instanceof Ye?e.Ca():-1,H:t,value:e};return null!=this.query.set?this.query.set.push(n):this.query.set=[n],this},gs.prototype.set=gs.prototype.set,gs.prototype.w=function(t){return this.Gd(),this.query.w=t,this},gs.prototype.where=gs.prototype.w,gs.prototype.Gd=function(){if(null!=this.query.w)throw new ee(516)},gs.prototype.kb=function(){if(gs.hb.kb.call(this),null==this.query.set)throw new ee(532);if(this.query.set.some(function(t){return t.value instanceof Ye}))throw new ee(501)},vs.prototype.jc=function(){return null===this.Ha&&(this.Ha=this.bd()),this.Ha},y(ms,vs),ms.prototype.bd=function(){return this.query.cc?new mo(this.query.Ka,this.query.values):new vo(this.query.Ka,this.query.values)},y(ys,vs),ys.prototype.bd=function(){var t=new bo(this.query.table,this.query.set),e=null!=this.query.w?new wo(this.query.w.Pb()):null,n=new Eo(this.query.table);return null===e?hn(t,n):(hn(e,n),hn(t,e)),t},bs.prototype.jc=function(){return this.Xb.forEach(function(t){this.Ha=t.gb(this.Ha,this.ke)},this),this.Ha},y(ws,vs),ws.prototype.bd=function(){var t=new yo(this.query.from),e=null!=this.query.w?new wo(this.query.w.Pb()):null,n=new Eo(this.query.from);return null===e?hn(t,n):(hn(e,n),hn(t,e)),new bs(t,this.query,this.Xb).jc()},y(Es,Io),Es.prototype.gb=function(t,e){return 2>e.from.length?t:(this.G=t,this.xb(this.G,e),this.G)},Es.prototype.xb=function(t,e){if(t instanceof wo&&t.O instanceof Rr){var n=t.O.W(),i=cn(t,0);i instanceof To&&(n=null!=e.cb&&e.cb.has(n),n=new ko(t.O,n),Ir(t,i,n,n),t==this.G&&(this.G=n),t=n)}un(t).forEach(function(t){this.xb(t,e)},this)},y(Ts,Io),Ts.prototype.gb=function(t,e){return r(e.w)?(this.Uc.clear(),this.G=t,this.xb(this.G,e),this.Uc.clear(),this.G):t},Ts.prototype.xb=function(t,e){var n=function(t){un(t).forEach(i)}.bind(this),i=function(t){if(!this.Uc.has(t)){if(t instanceof wo){var r=t.O.s(),o=function(t){return _s(this,t,r)}.bind(this),o=Cs(this,e,t,o);this.Uc.add(t),o!=t&&(a(o.getParent())&&(this.G=o),i(o))}n(t)}}.bind(this);i(t)},y(Ns,vs),Ns.prototype.bd=function(){ks(this),2<=this.query.from.length&&(this.Ke=new To),this.uf=null!=this.query.w?new wo(this.query.w.Pb()):null,this.query.N&&(this.ff=new _o(this.query.N)),null!=this.query.L&&0<this.query.L&&(this.vf=new Ao(this.query.L)),null!=this.query.X&&(this.cf=new No(this.query.X)),null!=this.query.la&&(this.Se=new So(this.query.la)),Is(this),this.mf=new Co(this.query.f||[],this.query.la||null);var t=As(this);return new bs(t,this.query,this.Xb).jc()},Os.prototype.create=function(t){var e=null;if(t instanceof Fo)e=new ms(t);else if(t instanceof qo)e=new ws(t,this.Qd);else if(t instanceof xn)e=new Ns(t,this.re);else{if(!(t instanceof Bo))throw new ee(513);e=new ys(t)}return e=e.jc(),new po(e,t.da())},y(Ds,Zr),Ds.prototype.toString=function(){return"delete("+this.U.getName()+")"},Ds.prototype.ca=function(t,e){var n=t[0].entries.map(function(t){return t.va});return e.remove(this.U,n),[We()]},y(Ls,Zr),Ls.prototype.toString=function(){return"get_row_count("+this.table.getName()+")"},Ls.prototype.ca=function(){var t=this.D.get($r(this.table)),e=new qe([],[this.table.getName()]),n=Qr(),t=t.aa().ia;return null===e.Za&&(e.Za=wt()),e.Za.set(n.j(),t),[e]},y(js,Zr),js.prototype.toString=function(){var t="table_access("+this.table.getName();return null===this.table.$a()||(t+=" as "+this.table.$a()),t+")"},js.prototype.ca=function(){var t=this.D.get($r(this.table)).Ua();return[ze(Si(this.V,t),[Gr(this.table)])]},y(Ps,Io),Ps.prototype.gb=function(t,e){if(this.G=t,!this.Id(e))return t;var n=Or(t,function(t){return t instanceof js})[0],i=new Ls(this.c,n.table);return Ir(n,n,i,i),this.G},Ps.prototype.Id=function(t){return 1==t.f.length&&1==t.from.length&&null==t.w&&null==t.X&&null==t.L&&null==t.la&&(t=t.f[0],t instanceof Kr&&"COUNT"==t.Ob&&t.child instanceof Yr)},y(Rs,Zr),Rs.prototype.toString=function(){return"groupBy("+this.Re.map(function(t){return t.j()}).toString()+")"},Rs.prototype.ca=function(t){return Ms(this,t[0])},y(qs,Zr);var sl=["hash","index_nested_loop","nested_loop"];qs.prototype.toString=function(){return"join(type: "+(this.Tb?"outer":"inner")+", impl: "+sl[this.Ed]+", "+this.O.toString()+")"},qs.prototype.ca=function(t){switch(this.Ed){case 0:return[Fr(this.O,t[0],t[1],this.Tb)];case 1:return[Br(this.O,t[0],t[1],this.Ue,this.V)];default:var e=this.O,n=t[0];t=t[1];var i=this.Tb,r=[n,t];i||(r=Mr(e,n,t)),n=r[0],t=r[1];for(var r=[],o=n.s(),s=t.s(),a=n.entries.length,u=t.entries.length,c=u+256-1>>8,l=0;l<c;){for(var h=0;h<a;h++){var f=!1,p=$e(n.entries[h],e.ga);if(null!==p)for(var d=Math.min(l+1<<8,u),g=l<<8;g<d;g++)if(e.yc(p,$e(t.entries[g],e.na))){var f=!0,v=Xe(n.entries[h],o,t.entries[g],s);r.push(v)}i&&!f&&r.push(Hr(e,n.entries[h],o))}l++}return e=n.s().concat(t.s()),[new qe(r,e)]}},y(Fs,Zr),Fs.prototype.toString=function(){return"no_op_step("+this.nf[0].s().join(",")+")"},Fs.prototype.ca=n("nf"),y(Bs,Io),Bs.prototype.gb=function(t,e){return this.G=t,this.Id(e)?(Or(t,function(t){return t instanceof qs}).forEach(this.Ig,this),this.G):t},Bs.prototype.Id=function(t){return 1<t.from.length},Bs.prototype.Ig=function(t){if("eq"==t.O.C&&!t.Tb){var e=function(e){return e instanceof js?(e=Gr(e.table)==Gr(t.O.na.I())?t.O.na:t.O.ga,a(e.Ca())?null:e):null},n=e(cn(t,0)),e=e(cn(t,1));if(null!==n||null!==e){e=null===e?n:e,Hs(t,e);var i=new qe([],[Gr(e.I())]);pn(t,new Fs([i]),e==n?0:1)}}},Us.prototype.cd=function(){return 1==this.Sb.f.length?[Ie()]:[this.Sb.f.map(function(){return Ie()})]},Vs.prototype.cd=function(t){if(this.af==t)return this.Md;for(var e=zs(this,t),n=this.Sb.f.length-1;0<=n;n--){var i=this.Sb.f[n];if(null!==(e.get(i.ba.getName())||null))break;e.set(i.ba.getName(),new Re([Ie()]))}return this.Md=1==this.Sb.f.length?Tt(e)[0].ra():Ws(Gs(this,e)),this.af=t,this.Md},$s.prototype.mg=function(t){return t instanceof vn?!(!t.nd()||t.H.I()!=this.yd||"in"==t.C&&t.value.length>Ks(this)):t instanceof Lr&&(!(!t.nd()||cn(t,0).H.I()!=this.yd)&&un(t).length<=Ks(this))},y(ea,Zr),ea.prototype.toString=function(){return"index_range_scan("+this.index.j()+", ?, "+(this.oe?"reverse":"natural")+(this.Sc?", limit:?":"")+(this.Tc?", skip:?":"")+")"},ea.prototype.Rc=function(t){var e=this.toString(),n=this.$e.cd(t),e=e.replace("?",n.toString());return this.Sc&&(e=e.replace("?",t.X.toString())),this.Tc&&(e=e.replace("?",t.L.toString())),e},ea.prototype.ca=function(t,e,n){return t=this.$e.cd(n),e=this.D.get(this.index.j()),n=(1==t.length&&t[0]instanceof Ne&&De(t[0])?Ii(e.get(t[0].from),!1,this.Sc?n.X:void 0,this.Tc?n.L:void 0):e.Ua(t,this.oe,this.Sc?n.X:void 0,this.Tc?n.L:void 0)).map(function(t){return new Ct(t,{})},this),[ze(n,[this.index.pc])]},y(na,Zr),na.prototype.toString=i("multi_index_range_scan()"),na.prototype.ca=function(t){var e=wt();t.forEach(function(t){t.entries.forEach(function(t){e.set(t.va.id(),t)})});var n=Tt(e);return[new qe(n,t[0].s())]},y(ia,Zr),ia.prototype.toString=i("select(?)"),ia.prototype.Rc=function(t){return t=En(t,this.mc),this.toString().replace("?",t.toString())},ia.prototype.ca=function(t,e,n){return[En(n,this.mc).eval(t[0])]},y(ra,Zr),ra.prototype.toString=function(){return"table_access_by_row_id("+this.U.getName()+")"},ra.prototype.ca=function(t){return[ze(Si(this.V,Fe(t[0])),[Gr(this.U)])]},y(oa,Io),oa.prototype.gb=function(t,e){return this.G=t,Or(t,function(t){return t instanceof js}).forEach(function(t){var n=sa(t);if(0!=n.length){var i=Xs(new $s(this.c,t.table),e,n.map(function(t){return En(e,t.mc)}));if(null!==i){var r=wt();n.forEach(function(t){r.set(t.mc,t)},this),this.G=aa(this,i,r,t)}}},this),this.G},y(ua,Zr),ua.prototype.toString=function(){return"insert("+this.U.getName()+")"},ua.prototype.ca=function(t,e,n){return ca(this.U,n.values,this.D),e.Db(this.U,n.values),[ze(n.values,[this.U.getName()])]},y(la,Zr),la.prototype.toString=function(){return"insert_replace("+this.U.getName()+")"},la.prototype.ca=function(t,e,n){return ca(this.U,n.values,this.D),e.Xd(this.U,n.values),[ze(n.values,[this.U.getName()])]},y(ha,Zr),ha.prototype.toString=i("limit(?)"),ha.prototype.Rc=function(t){return this.toString().replace("?",t.X.toString())},ha.prototype.ca=function(t,e,n){return t[0].entries.splice(n.X),t},y(fa,Zr),ic=fa.prototype,ic.toString=function(){return"order_by("+Sn(this.N)+")"},ic.ca=function(t){if(1==t.length){var e;e=t[0];for(var n=null,i=0;i<this.N.length;i++){var r=Jr(this.N[i].H);if(null!==e.Za&&e.Za.has(r.j())){n=r;break}}e=n,(null===e?t[0]:Be(t[0],e)).entries.sort(this.Wf.bind(this))}else t.sort(this.Lg.bind(this));return t},ic.Z=function(t,e){var n=null,i=null,r=null,o=-1;do o++,r=this.N[o].H,n=this.N[o].sb,i=t(r),r=e(r);while(i==r&&o+1<this.N.length);return i=i<r?-1:i>r?1:0,1==n?i:-i},ic.Lg=function(t,e){return this.Z(function(e){return e instanceof Kr?Be(t,e):$e(t.entries[t.entries.length-1],e)},function(t){return t instanceof Kr?Be(e,t):$e(e.entries[e.entries.length-1],t)})},ic.Wf=function(t,e){return this.Z(function(e){return $e(t,e)},function(t){return $e(e,t)})},y(ya,Zr),ya.prototype.toString=function(){var t="project("+this.f.toString();if(null!==this.Rb)var e=this.Rb.map(function(t){return t.j()}).join(", "),t=t+(", groupBy("+e+")");return t+")"},ya.prototype.ca=function(t){return 0==t.length?t=[We()]:1==t.length?(t=t[0],t=[0==this.f.length?t:da(new pa(t,this.f))]):t=[ma(t,this.f)],t},y(wa,Zr),wa.prototype.toString=i("skip(?)"),wa.prototype.Rc=function(t){return this.toString().replace("?",t.L.toString())},wa.prototype.ca=function(t,e,n){return[new qe(t[0].entries.slice(n.L),t[0].s())]},y(Ea,Io),Ea.prototype.gb=function(t,e){if(!r(e.X)&&!r(e.L))return t;var n=Ta(t);return null===n?t:(Or(t,function(t){return t instanceof ha||t instanceof wa}).forEach(function(t){t instanceof ha?n.Sc=!0:n.Tc=!0,Sr(t)},this),n.ab())},y(Ca,Io),Ca.prototype.gb=function(t,e){this.G=t;var n=_a(this,e);if(0==n.length)return this.G;var i=null,r=null,o=0;do r=n[o++],i=Sa(this,r,e);while(null===i&&o<n.length);return null===i?this.G:(n=xa(this,i[0].bb.pc),null===n?this.G:this.G=Na(this,r,n,i))},y(Aa,Io),Aa.prototype.gb=function(t,e){var n=Oa(t,e);if(null===n)return t;var i;t:{var r=n;if(i=Ia(cn(n,0)),null!==i){var o;o=n.N;for(var s=null,a=i.table.Da(),u=0;u<a.length&&null===s;u++)s=Da(a[u],o);if(o=s,null===o){i=r;break t}r=new ea(this.c,o.bb,new Us(o.bb),o.Xe),o=new ra(this.c,i.table),hn(o,r),Sr(n),r=Ir(i,i,o,r)}i=r}if(i==n)t:if(i=n,r=ka(cn(n,0)),null!==r){if(o=Da(r.index,n.N),null===o)break t;r.oe=o.Xe,i=Sr(n).parent}return i.ab()},ja.prototype.jc=function(){return this.Xb.forEach(function(t){this.Ha=t.gb(this.Ha,this.ke)},this),this.Ha},y(Pa,Zr),Pa.prototype.toString=function(){return"update("+this.U.getName()+")"},Pa.prototype.ca=function(t,e){var n=t[0].entries.map(function(t){var e=this.U.mb(t.va.Ja());return this.Wg.forEach(function(t){e.m[t.H.getName()]=t.value},this),e},this);return e.update(this.U,n),[We()]},Ra.prototype.create=function(t,e){var n=t.ab();if(n instanceof mo||n instanceof vo)return Ma(this,t,e);if(n instanceof Co||n instanceof No||n instanceof Ao)return Ma(this,t,e,this.re);if(n instanceof yo||n instanceof bo)return Ma(this,t,e,this.Qd);throw new ee(8)},Ra.prototype.vg=function(t){if(t instanceof Co)return new ya(t.f,t.Rb);if(t instanceof So)return new Rs(t.f);if(t instanceof xo)return new io(t.f);if(t instanceof _o)return new fa(t.N);if(t instanceof Ao)return new wa;if(t instanceof No)return new ha;if(t instanceof wo)return new ia(t.O.W());if(t instanceof To)return new Po;if(t instanceof ko)return new qs(this.c,t.O,t.Tb);if(t instanceof Eo)return new js(this.c,t.table);if(t instanceof yo)return new Ds(t.table);if(t instanceof bo)return new Pa(t.table,t.ye);if(t instanceof mo)return new la(this.c,t.table);if(t instanceof vo)return new ua(this.c,t.table);throw new ee(514)},Ha.prototype.releaseLock=function(t,e){e.forEach(function(e){Fa(this,e).releaseLock(t)},this)},za.prototype.releaseLock=function(t){this.zc==t&&(this.zc=null),this.eb==t&&(this.eb=null),null===this.Xa||this.Xa["delete"](t),null===this.$b||this.$b["delete"](t)},Ga.prototype.Dg=function(t,e){this.Hc.releaseLock(t.W(),t.da()),t.Qb().resolve(e),Ka(this)},Ga.prototype.Cg=function(t,e){this.Hc.releaseLock(t.W(),t.da()),t.Qb().reject(e),Ka(this)},Ya.prototype.Db=function(t){ki(this.Wb,t,function(t,e){var n=t.getPriority()-e.getPriority();return 0==n?t.W()-e.W():n})},Ya.prototype.ra=function(){return this.Wb.slice()},Ya.prototype.remove=function(t){var e=this.Wb;t=cc(e,t);var n;return(n=0<=t)&&Array.prototype.splice.call(e,t,1),n};var al;Qa.prototype.clear=function(){this.Pc.clear()},Qa.prototype.clear=Qa.prototype.clear,Qa.prototype.ub=function(t,e){return this.Pc.set(t.toString(),e),e},Qa.prototype.registerService=Qa.prototype.ub,Qa.prototype.b=function(t){var e=this.Pc.get(t.toString())||null;if(null===e)throw new ee(7,t.toString());return e},Qa.prototype.getService=Qa.prototype.b,Qa.prototype.od=function(t){return this.Pc.has(t.toString())},Qa.prototype.isRegistered=Qa.prototype.od,su.prototype.Z=function(t,e){return this.K.every(function(n){return Ze(this.Rd,n.J(),"eq")($e(t,n),$e(e,n))},this)},lu.prototype.Dd=function(t,e){var n=f(t.query).toString(),i=this.hc.get(n)||null;null===i&&(i=new pu(t),this.hc.set(n,i)),i.Dd(e)},lu.prototype.me=function(t,e){var n=f(t.query).toString(),i=this.hc.get(n)||null;i.me(e),0<i.Jc.size||this.hc["delete"](n)},pu.prototype.Dd=function(t){this.Jc.has(t)||this.Jc.add(t)},pu.prototype.me=function(t){return this.Jc["delete"](t)},pu.prototype.Ec=function(){var t=this.Jf;return{context:t.query,je:ns(t)}},ic=vu.prototype,ic.exec=function(){var t=mu(this),t=new Ge(new Ct((-1),t),(!0));return F([new qe([t],[])])},ic.J=i(0),ic.da=n("$"),ic.Qb=n("fb"),ic.W=function(){return f(this)},ic.getPriority=i(0),ic=yu.prototype,ic.exec=function(){if(!(this.Na instanceof oi||this.Na instanceof hi||this.Na instanceof Ti))throw new ee(300);var t;t:{t=this.g.pa();for(var e=0;e<t.length;++e)if(0<this.D.get($r(t[e])).aa().ia){t=!1;break t}t=!0}if(!t)throw new ee(110);if(this.g.name()!=this.Ba.name||this.g.version()!=this.Ba.version)throw new ee(111);if(null==this.Ba.tables)throw new ee(112);return bu(this)},ic.J=i(1),ic.da=n("$"),ic.Qb=n("fb"),ic.W=function(){return f(this)},ic.getPriority=i(0),ic=wu.prototype,ic.exec=function(){return this.Ae.resolve(),this.Ac.ha},ic.J=i(1),ic.da=n("$"),ic.Qb=n("fb"),ic.W=function(){return f(this)},ic.getPriority=i(2),ic.ka=function(){return this.ja=this.Na.Hb(this.J(),Ht(this.$),this.Qa),this.ja.ka().then(function(){this.Oc(),this.Ac.resolve()}.bind(this),function(t){this.Qa.Mb(),this.Ac.reject(t)}.bind(this)),this.fb.ha},ic.Mb=function(){return this.Qa.Mb(),this.Ac.resolve(),this.fb.ha},ic.Oc=function(){var t=hu(this.Lb,this.$);0!=t.length&&(t=new On(this.c,t),$a(this.Ia,t))},ic.aa=function(){var t=null;return null!=this.ja&&(t=this.ja.aa()),null===t?new Nt((!1),0,0,0,0):t},m("lf.proc.Transaction",Cu);var ul=wt();Cu.prototype.exec=function(t){_u(this,4);var e=[];try{t.forEach(function(t){t.kb(),e.push(t.Ec())},this)}catch(n){return _u(this,7),B(n)}return this.Nb=new Ro(this.c,e),$a(this.Ia,this.Nb).then(function(t){return _u(this,7),t.map(function(t){return He(t)})}.bind(this),function(t){throw _u(this,7),t}.bind(this))},Cu.prototype.exec=Cu.prototype.exec,Cu.prototype.Hf=function(t){return _u(this,1),this.Nb=new wu(this.c,t),Eu(this.Nb).then(function(){_u(this,2)}.bind(this))},Cu.prototype.begin=Cu.prototype.Hf,Cu.prototype.Gf=function(t){return _u(this,3),Tu(this.Nb,t).then(function(t){return _u(this,2),t}.bind(this),function(t){throw _u(this,7),t}.bind(this))},Cu.prototype.attach=Cu.prototype.Gf,Cu.prototype.ka=function(){return _u(this,5),this.Nb.ka().then(function(){_u(this,7)}.bind(this))},Cu.prototype.commit=Cu.prototype.ka,Cu.prototype.Mb=function(){return _u(this,6),this.Nb.Mb().then(function(){_u(this,7)}.bind(this))},Cu.prototype.rollback=Cu.prototype.Mb,Cu.prototype.aa=function(){if(7!=this.Sa)throw new ee(105);return this.Nb.aa()},Cu.prototype.stats=Cu.prototype.aa,m("lf.proc.Database",xu),xu.prototype.Ea=function(t){return this.c.ub(zc,this.g),gu(this.c,t).then(function(){return this.kd=!0,this.Ia=this.c.b(Uc),this}.bind(this))},xu.prototype.init=xu.prototype.Ea,xu.prototype.Cb=n("g"),xu.prototype.getSchema=xu.prototype.Cb,xu.prototype.select=function(t){return Su(this),new as(this.c,1!=arguments.length||null!=arguments[0]?Array.prototype.slice.call(arguments):[])},xu.prototype.select=xu.prototype.select,xu.prototype.Db=function(){return Su(this),new rs(this.c)},xu.prototype.insert=xu.prototype.Db,xu.prototype.Xd=function(){return Su(this),new rs(this.c,(!0))},xu.prototype.insertOrReplace=xu.prototype.Xd,xu.prototype.update=function(t){return Su(this),new gs(this.c,t)},xu.prototype.update=xu.prototype.update,xu.prototype["delete"]=function(){return Su(this),new is(this.c)},xu.prototype["delete"]=xu.prototype["delete"],xu.prototype.observe=function(t,e){Su(this),this.c.b(Vc).Dd(t,e)},xu.prototype.observe=xu.prototype.observe,xu.prototype.unobserve=function(t,e){Su(this),this.c.b(Vc).me(t,e)},xu.prototype.unobserve=xu.prototype.unobserve,xu.prototype.Qf=function(){return Su(this),new Cu(this.c)},xu.prototype.createTransaction=xu.prototype.Qf,xu.prototype.close=function(){try{this.c.b(Hc).close()}catch(t){}this.c.clear(),this.kd=!1},xu.prototype.close=xu.prototype.close,xu.prototype.$f=function(){Su(this);var t=new vu(this.c);return $a(this.Ia,t).then(function(t){return He(t[0])[0]})},xu.prototype["export"]=xu.prototype.$f,xu.prototype["import"]=function(t){return Su(this),t=new yu(this.c,t),$a(this.Ia,t).then(i(null))},xu.prototype["import"]=xu.prototype["import"],m("lf.schema.BaseColumn",Nu),ic=Nu.prototype,ic.getName=n("A"),ic.j=function(){return Gr(this.U)+"."+this.A},ic.toString=function(){return this.j()},ic.I=n("U"),ic.J=n("zf"),Nu.prototype.getType=Nu.prototype.J,Nu.prototype.$a=n("jb"),Nu.prototype.Da=function(){return null==this.ta&&(this.ta=[],this.I().Da().forEach(function(t){-1!=t.f.map(function(t){return t.ba.getName()}).indexOf(this.A)&&this.ta.push(t)},this)),this.ta},Nu.prototype.Ca=function(){if(!r(this.fa)){var t=this.Da().filter(function(t){return 1==t.f.length&&t.f[0].ba.getName()==this.getName()},this);this.fa=0<t.length?t[0]:null}return this.fa},Nu.prototype.kc=n("We"),Nu.prototype.isNullable=Nu.prototype.kc,Nu.prototype.Gc=n("Ye"),Nu.prototype.Pa=function(t){return Wr(this,t,"eq")},Nu.prototype.eq=Nu.prototype.Pa,Nu.prototype.ef=function(t){return Wr(this,t,"neq")},Nu.prototype.neq=Nu.prototype.ef,Nu.prototype.tg=function(t){return Wr(this,t,"lt")},Nu.prototype.lt=Nu.prototype.tg,Nu.prototype.ug=function(t){return Wr(this,t,"lte")},Nu.prototype.lte=Nu.prototype.ug,Nu.prototype.cg=function(t){return Wr(this,t,"gt")},Nu.prototype.gt=Nu.prototype.cg,Nu.prototype.dg=function(t){return Wr(this,t,"gte")},Nu.prototype.gte=Nu.prototype.dg,Nu.prototype.match=function(t){return Wr(this,t,"match")},Nu.prototype.match=Nu.prototype.match,Nu.prototype.If=function(t,e){return Wr(this,[t,e],"between")},Nu.prototype.between=Nu.prototype.If,Nu.prototype.eg=function(t){return Wr(this,t,"in")},Nu.prototype["in"]=Nu.prototype.eg,Nu.prototype.og=function(){return this.Pa(null)},Nu.prototype.isNull=Nu.prototype.og,Nu.prototype.ng=function(){return this.ef(null)},Nu.prototype.isNotNull=Nu.prototype.ng,Nu.prototype.uc=function(t){return new Nu(this.U,this.A,this.Ye,this.We,this.zf,t)},Nu.prototype.as=Nu.prototype.uc,m("lf.schema.Constraint",Pu),Pu.prototype.dd=n("Hg"),Pu.prototype.getPrimaryKey=Pu.prototype.dd,Pu.prototype.Wd=n("ag"),Pu.prototype.getForeignKeys=Pu.prototype.Wd,m("lf.schema.TableBuilder",Mu);var cl=qt([0,6]);Mu.prototype.Bf=function(t,e){return Hu(t),Fu(this,t),this.K.set(t,e),cl.has(e)&&this.Ce([t]),this},Mu.prototype.addColumn=Mu.prototype.Bf,Mu.prototype.Df=function(t,e){var n=this.A;return this.Fa="pk"+(n[0].toUpperCase()+n.substring(1)),Hu(this.Fa),Fu(this,this.Fa),n=$u(this,t,!0,void 0,e),Bu(this,n),1==n.length&&this.Ad.add(n[0].name),this.qc.add(this.Fa),this.ta.set(this.Fa,n),this},Mu.prototype.addPrimaryKey=Mu.prototype.Df,Mu.prototype.Cf=function(t,e){Hu(t),Fu(this,t);var n=new Ru(e,this.A,t);if(r(n.action)||(n.action=0),r(n.timing)||(n.timing=0),1==n.action&&1==n.timing)throw new ee(506);if(!this.K.has(n.yb))throw new ee(540,t);return this.Bb.push(n),this.Be(t,[n.yb],this.Ad.has(n.yb)),this},Mu.prototype.addForeignKey=Mu.prototype.Cf,Mu.prototype.Ef=function(t,e){Hu(t),Fu(this,t);var n=$u(this,e,!0);return 1==n.length&&(this.Ad.add(n[0].name),zu(this,n[0].name)),this.ta.set(t,n),this.qc.add(t),this},Mu.prototype.addUnique=Mu.prototype.Ef,Mu.prototype.Ce=function(t){return $u(this,t,!1).forEach(function(t){this.pd.add(t.name)},this),this},Mu.prototype.addNullable=Mu.prototype.Ce,Mu.prototype.Be=function(t,e,n,i){return Hu(t),Fu(this,t),e=$u(this,e,!0,i),n&&this.qc.add(t),this.ta.set(t,e),this},Mu.prototype.addIndex=Mu.prototype.Be,Mu.prototype.Fb=e("td"),Mu.prototype.persistentIndex=Mu.prototype.Fb,Mu.prototype.Cb=function(){return Wu(this),Uu(this),Vu(this),new(Ku(this))},Mu.prototype.getSchema=Mu.prototype.Cb,m("lf.schema.Builder",Yu),Yu.prototype.Mf=function(t){t.Bb.forEach(function(t){Gu(this.wb.get(t.Wa)).forEach(function(e){if(e.yb==t.Lc)throw new ee(534,t.name)},this)},this)},Yu.prototype.Cb=function(){return this.Bc||Ju(this),this.g},Yu.prototype.getSchema=Yu.prototype.Cb,Yu.prototype.Qe=function(){var t=new Lt("ns_"+this.g.name()),e=Ja(),n=null;return e.od(t)?n=e.b(t):(n=new Qa,e.ub(t,n)),n},Yu.prototype.getGlobal=Yu.prototype.Qe,Yu.prototype.connect=function(t){if(null!==this.i&&this.i.kd)throw new ee(113);if(null===this.i){var e=this.Qe();e.od(zc)||e.ub(zc,this.Cb()),this.i=new xu(e)}return this.i.Ea(t)},Yu.prototype.connect=Yu.prototype.connect,Yu.prototype.Pf=function(t){if(this.wb.has(t))throw new ee(503,t);if(this.Bc)throw new ee(535);return this.wb.set(t,new Mu(t)),this.wb.get(t)},Yu.prototype.createTable=Yu.prototype.Pf,Yu.prototype.se=function(t){if(this.Bc)throw new ee(535);return this.g.se(t),this},Yu.prototype.setPragma=Yu.prototype.se,m("lf.schema.DatabaseSchema",nc),nc.prototype.name=n("A"),nc.prototype.name=nc.prototype.name,nc.prototype.version=n("Ta"),nc.prototype.version=nc.prototype.version,nc.prototype.pa=function(){return Tt(this.M)},nc.prototype.tables=nc.prototype.pa,nc.prototype.table=function(t){if(!this.M.has(t))throw new ee(101,t);return this.M.get(t)},nc.prototype.table=nc.prototype.table,nc.prototype.info=function(){return this.Ve||(this.Ve=new Au(this)),this.Ve},nc.prototype.kf=n("lf"),nc.prototype.pragma=nc.prototype.kf,nc.prototype.se=e("lf"),m("lf.schema.create",function(t,e){return new Yu(t,e)}),M.prototype["catch"]=M.prototype.ve,M.prototype["catch"]=M.prototype["catch"];try{module&&(module.exports=lf)}catch(ll){}}.bind(window)(),function(){"use strict";function t(e,i){function r(t,e){return function(){return t.apply(e,arguments)}}var o;if(i=i||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=i.touchBoundary||10,this.layer=e,this.tapDelay=i.tapDelay||200,
this.tapTimeout=i.tapTimeout||700,!t.notNeeded(e)){for(var s=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,u=0,c=s.length;u<c;u++)a[s[u]]=r(a[s[u]],a);n&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,i){var r=Node.prototype.removeEventListener;"click"===t?r.call(e,t,n.hijacked||n,i):r.call(e,t,n,i)},e.addEventListener=function(t,n,i){var r=Node.prototype.addEventListener;"click"===t?r.call(e,t,n.hijacked||(n.hijacked=function(t){t.propagationStopped||n(t)}),i):r.call(e,t,n,i)}),"function"==typeof e.onclick&&(o=e.onclick,e.addEventListener("click",function(t){o(t)},!1),e.onclick=null)}}var e=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!e,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,r=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),o=i&&/OS [6-7]_\d/.test(navigator.userAgent),s=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(i&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var n,i;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),i=e.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(t),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,t.dispatchEvent(n)},t.prototype.determineEventType=function(t){return n&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;i&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,n;if(e=t.fastClickScrollParent,!e||!e.contains(t)){n=t;do{if(n.scrollHeight>n.offsetHeight){e=n,t.fastClickScrollParent=n;break}n=n.parentElement}while(n)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,n,o;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),n=t.targetTouches[0],i){if(o=window.getSelection(),o.rangeCount&&!o.isCollapsed)return!0;if(!r){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=n.pageX,this.touchStartY=n.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],n=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>n||Math.abs(e.pageY-this.touchStartY)>n},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,s,a,u,c,l=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,s=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,o&&(c=t.changedTouches[0],l=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||l,l.fastClickScrollParent=this.targetElement.fastClickScrollParent),a=l.tagName.toLowerCase(),"label"===a){if(e=this.findControl(l)){if(this.focus(l),n)return!1;l=e}}else if(this.needsFocus(l))return t.timeStamp-s>100||i&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(l),this.sendClick(l,t),i&&"select"===a||(this.targetElement=null,t.preventDefault()),!1);return!(!i||r||(u=l.fastClickScrollParent,!u||u.fastClickLastScrollTop===u.scrollTop))||(this.needsClick(l)||(t.preventDefault(),this.sendClick(l,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail||(e=this.onMouse(t),e||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;n&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,i,r,o;if("undefined"==typeof window.ontouchstart)return!0;if(i=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(e=document.querySelector("meta[name=viewport]")){if(e.content.indexOf("user-scalable=no")!==-1)return!0;if(i>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(s&&(r=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),r[1]>=10&&r[2]>=3&&(e=document.querySelector("meta[name=viewport]")))){if(e.content.indexOf("user-scalable=no")!==-1)return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction||(o=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],!!(o>=27&&(e=document.querySelector("meta[name=viewport]"),e&&(e.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))||("none"===t.style.touchAction||"manipulation"===t.style.touchAction))},t.attach=function(e,n){return new t(e,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}();