PageSourceSearch

https://www.hippos.fi/app/themes/hippos/assets/dist/vendor.js?ver=1790146453

js hippos.fi collected 2026-10-02 06:58:06 UTC 366,148 bytes, 2 lines download raw bytes

vendor: 4,445 bytes, lines 1-2
1/*! For license information please see vendor.js.LICENSE.txt */
2(self.webpackChunkthe_dustpress_theme=self.webpackChunkthe_dustpress_theme||[]).push([[121],{660(t,e,i){var n,s,r;!function(){"use strict";s=[i(669)],n=function(t){t.ui=t.ui||{};t.ui.version="1.13.3";var e=0,i=Array.prototype.hasOwnProperty,n=Array.prototype.slice;t.cleanData=(s=t.cleanData,function(e){var i,n,r;for(r=0;null!=(n=e[r]);r++)(i=t._data(n,"events"))&&i.remove&&t(n).triggerHandler("remove");s(e)}),t.widget=function(e,i,n){var s,r,o,a={},l=e.split(".")[0],h=l+"-"+(e=e.split(".")[1]);return n||(n=i,i=t.Widget),Array.isArray(n)&&(n=t.extend.apply(null,[{}].concat(n))),t.expr.pseudos[h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},s=t[l][e],r=t[l][e]=function(t,e){if(!this||!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,s,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),(o=new i).options=t.widget.extend({},o.options),t.each(n,function(t,e){a[t]="function"==typeof e?function(){function n(){return i.prototype[t].apply(this,arguments)}function s(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,r=this._superApply;return this._super=n,this._superApply=s,t=e.apply(this,arguments),this._super=i,this._superApply=r,t}}():e}),r.prototype=t.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||e},a,{constructor:r,namespace:l,widgetName:e,widgetFullName:h}),s?(t.each(s._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete s._childConstructors):i._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var s,r,o=n.call(arguments,1),a=0,l=o.length;a<l;a++)for(s in o[a])r=o[a][s],i.call(o[a],s)&&void 0!==r&&(t.isPlainObject(r)?e[s]=t.isPlainObject(e[s])?t.widget.extend({},e[s],r):t.widget.extend({},r):e[s]=r);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(r){var o="string"==typeof r,a=n.call(arguments,1),l=this;return o?this.length||"instance"!==r?this.each(function(){var i,n=t.data(this,s);return"instance"===r?(l=n,!1):n?"function"!=typeof n[r]||"_"===r.charAt(0)?t.error("no such method '"+r+"' for "+e+" widget instance"):(i=n[r].apply(n,a))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(a.length&&(r=t.widget.extend.apply(null,[r].concat(a))),this.each(function(){var e=t.data(this,s);e?(e.option(r||{}),e._init&&e._init()):t.data(this,s,new i(r,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,s,r,o=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(o={},n=e.split("."),e=n.shift(),n.length){for(s=o[e]=t.widget.extend({},this.options[e]),r=0;r<n.length-1;r++)s[n[r]]=s[n[r]]||{},s=s[n[r]];if(e=n.pop(),1===arguments.length)return void 0===s[e]?null:s[e];s[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=i}return this._setOptions(o),this},_setOptions:function(t){var e;
vendor: 4,062 bytes, line 2
2for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,n,s;for(i in e)s=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&s&&s.length&&(n=t(s.get()),this._removeClass(s,i),n.addClass(this._classes({element:n,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var i=[],n=this;function s(){var i=[];e.element.each(function(e,s){t.map(n.classesElementLookup,function(t){return t}).some(function(t){return t.is(s)})||i.push(s)}),n._on(t(i),{remove:"_untrackClassesElement"})}function r(r,o){var a,l;for(l=0;l<r.length;l++)a=n.classesElementLookup[r[l]]||t(),e.add?(s(),a=t(t.uniqueSort(a.get().concat(e.element.get())))):a=t(a.not(e.element).get()),n.classesElementLookup[r[l]]=a,i.push(r[l]),o&&e.classes[r[l]]&&i.push(e.classes[r[l]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&r(e.keys.match(/\S+/g)||[],!0),e.extra&&r(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(n,s){-1!==t.inArray(e.target,s)&&(i.classesElementLookup[n]=t(s.not(e.target).get()))}),this._off(t(e.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){n="boolean"==typeof n?n:i;var s="string"==typeof t||null===t,r={extra:s?e:i,keys:s?t:e,element:s?this.element:t,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(e,i,n){var s,r=this;"boolean"!=typeof e&&(n=i,i=e,e=!1),n?(i=s=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,s=this.widget()),t.each(n,function(n,o){function a(){if(e||!0!==r.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof o?r[o]:o).apply(r,arguments)}"string"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||t.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+r.eventNamespace,u=l[2];u?s.on(h,u,a):i.on(h,a)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?n[t]:t).apply(n,arguments)}var n=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,n){var s,r,o=this.options[e];if(n=n||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(s in r)s in i||(i[s]=r[s]);return this.element.trigger(i,n),!("function"==typeof o&&!1===o.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(n,s,r){var o;"string"==typeof s&&(s={effect:s});var a=s?!0===s||"number"==typeof s?i:s.effect||i:e;"number"==typeof(s=s||{})?s={duration:s}:!0===s&&(s={}),o=!t.isEmptyObject(s),s.complete=r,s.delay&&n.delay(s.delay),o&&t.effects&&t.effects.effect[a]?n[e](s):a!==e&&n[a]?n[a](s.duration,s.easing,r):n.queue(function(i){t(this)[e](),r&&r.call(n[0]),i()})}});var s;t.widget;
vendor: 4,350 bytes, line 2
2!function(){var e,i=Math.max,n=Math.abs,s=/left|center|right/,r=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,h=t.fn.position;function u(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function c(e,i){return parseInt(t.css(e,i),10)||0}function f(t){return null!=t&&t===t.window}function d(t){var e=t[0];return 9===e.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:f(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}t.position={scrollbarWidth:function(){if(void 0!==e)return e;var i,n,s=t("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),r=s.children()[0];return t("body").append(s),i=r.offsetWidth,s.css("overflow","scroll"),i===(n=r.offsetWidth)&&(n=s[0].clientWidth),s.remove(),e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),s="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:s?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=f(i[0]),s=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:s,offset:!n&&!s?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return h.apply(this,arguments);var l,f,p,g,m,v,_="string"==typeof(e=t.extend({},e)).of?t(document).find(e.of):t(e.of),b=t.position.getWithinInfo(e.within),y=t.position.getScrollInfo(b),w=(e.collision||"flip").split(" "),x={};return v=d(_),_[0].preventDefault&&(e.at="left top"),f=v.width,p=v.height,g=v.offset,m=t.extend({},g),t.each(["my","at"],function(){var t,i,n=(e[this]||"").split(" ");1===n.length&&(n=s.test(n[0])?n.concat(["center"]):r.test(n[0])?["center"].concat(n):["center","center"]),n[0]=s.test(n[0])?n[0]:"center",n[1]=r.test(n[1])?n[1]:"center",t=o.exec(n[0]),i=o.exec(n[1]),x[this]=[t?t[0]:0,i?i[0]:0],e[this]=[a.exec(n[0])[0],a.exec(n[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===e.at[0]?m.left+=f:"center"===e.at[0]&&(m.left+=f/2),"bottom"===e.at[1]?m.top+=p:"center"===e.at[1]&&(m.top+=p/2),l=u(x.at,f,p),m.left+=l[0],m.top+=l[1],this.each(function(){var s,r,o=t(this),a=o.outerWidth(),h=o.outerHeight(),d=c(this,"marginLeft"),v=c(this,"marginTop"),k=a+d+c(this,"marginRight")+y.width,C=h+v+c(this,"marginBottom")+y.height,D=t.extend({},m),I=u(x.my,o.outerWidth(),o.outerHeight());"right"===e.my[0]?D.left-=a:"center"===e.my[0]&&(D.left-=a/2),"bottom"===e.my[1]?D.top-=h:"center"===e.my[1]&&(D.top-=h/2),D.left+=I[0],D.top+=I[1],s={marginLeft:d,marginTop:v},t.each(["left","top"],function(i,n){t.ui.position[w[i]]&&t.ui.position[w[i]][n](D,{targetWidth:f,targetHeight:p,elemWidth:a,elemHeight:h,collisionPosition:s,collisionWidth:k,collisionHeight:C,offset:[l[0]+I[0],l[1]+I[1]],my:e.my,at:e.at,within:b,elem:o})}),e.using&&(r=function(t){var s=g.left-D.left,r=s+f-a,l=g.top-D.top,u=l+p-h,c={target:{element:_,left:g.left,top:g.top,width:f,height:p},element:{element:o,left:D.left,top:D.top,width:a,height:h},horizontal:r<0?"left":s>0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};f<a&&n(s+r)<f&&(c.horizontal="center"),p<h&&n(l+u)<p&&(c.vertical="middle"),i(n(s),n(r))>i(n(l),n(u))?c.important="horizontal":c.important="vertical",e.using.call(this,t,c)}),o.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var n,s=e.within,r=s.isWindow?s.scrollLeft:s.offset.left,o=s.width,a=t.left-e.collisionPosition.marginLeft,l=r-a,h=a+e.collisionWidth-o-r;e.collisionWidth>o?l>0&&h<=0?(n=t.left+l+e.collisionWidth-o-r,t.left+=l-n):t.left=h>0&&l<=0?r:l>h?r+o-e.collisionWidth:r:l>0?t.left+=l:h>0?t.left-=h:t.left=i(t.left-a,t.left)},top:function(t,e){var n,s=e.within,r=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,a=t.top-e.collisionPosition.marginTop,l=r-a,h=a+e.collisionHeight-o-r;e.collisionHeight>o?l>0&&h<=0?(n=t.top+l+e.collisionHeight-o-r,t.top+=l-n):t.top=h>0&&l<=0?r:l>h?r+o-e.collisionHeight:r:l>
vendor: 4,117 bytes, line 2
20?t.top+=l:h>0?t.top-=h:t.top=i(t.top-a,t.top)}},flip:{left:function(t,e){var i,s,r=e.within,o=r.offset.left+r.scrollLeft,a=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,h=t.left-e.collisionPosition.marginLeft,u=h-l,c=h+e.collisionWidth-a-l,f="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];u<0?((i=t.left+f+d+p+e.collisionWidth-a-o)<0||i<n(u))&&(t.left+=f+d+p):c>0&&((s=t.left-e.collisionPosition.marginLeft+f+d+p-l)>0||n(s)<c)&&(t.left+=f+d+p)},top:function(t,e){var i,s,r=e.within,o=r.offset.top+r.scrollTop,a=r.height,l=r.isWindow?r.scrollTop:r.offset.top,h=t.top-e.collisionPosition.marginTop,u=h-l,c=h+e.collisionHeight-a-l,f="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,d="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,p=-2*e.offset[1];u<0?((s=t.top+f+d+p+e.collisionHeight-a-o)<0||s<n(u))&&(t.top+=f+d+p):c>0&&((i=t.top-e.collisionPosition.marginTop+f+d+p-l)>0||n(i)<c)&&(t.top+=f+d+p)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}();t.ui.position,t.extend(t.expr.pseudos,{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,n){return!!t.data(e,n[3])}}),t.fn.extend({disableSelection:(_="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(_+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var r,o=t,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",l={},h=l.toString,u=/^([\-+])=\s*(\d+\.?\d*)/,c=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),t[4]?(parseInt(t[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16),t[4]?(parseInt(t[4]+t[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],f=o.Color=function(t,e,i,n){return new o.Color.fn.parse(t,e,i,n)},d={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},p={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},g=f.support={},m=o("<p>")[0],v=o.each;var _;function b(t){return null==t?t+"":"object"==typeof t?l[h.call(t)]||"object":typeof t}function y(t,e,i){var n=p[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:Math.min(n.max,Math.max(0,t)))}function w(t){var e=f(),i=e._rgba=[];return t=t.toLowerCase(),v(c,function(n,s){var r,o=s.re.exec(t),a=o&&s.parse(o),l=s.space||"rgba";if(a)return r=e[l](a),e[d[l].cache]=r[d[l].cache],i=e._rgba=r._rgba,!1}),i.length?("0,0,0,0"===i.join()&&o.extend(i,r.transparent),e):r[t]}function x(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}m.style.cssText="background-color:rgba(1,1,1,.5)",g.rgba=m.style.backgroundColor.indexOf("rgba")>-1,v(d,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()}
vendor: 9,394 bytes, line 2
2),f.fn=o.extend(f.prototype,{parse:function(t,e,i,n){if(void 0===t)return this._rgba=[null,null,null,null],this;(t.jquery||t.nodeType)&&(t=o(t).css(e),e=void 0);var s=this,a=b(t),l=this._rgba=[];return void 0!==e&&(t=[t,e,i,n],a="array"),"string"===a?this.parse(w(t)||r._default):"array"===a?(v(d.rgba.props,function(e,i){l[i.idx]=y(t[i.idx],i)}),this):"object"===a?(v(d,t instanceof f?function(e,i){t[i.cache]&&(s[i.cache]=t[i.cache].slice())}:function(e,i){var n=i.cache;v(i.props,function(e,r){if(!s[n]&&i.to){if("alpha"===e||null==t[e])return;s[n]=i.to(s._rgba)}s[n][r.idx]=y(t[e],r,!0)}),s[n]&&o.inArray(null,s[n].slice(0,3))<0&&(null==s[n][3]&&(s[n][3]=1),i.from&&(s._rgba=i.from(s[n])))}),this):void 0},is:function(t){var e=f(t),i=!0,n=this;return v(d,function(t,s){var r,o=e[s.cache];return o&&(r=n[s.cache]||s.to&&s.to(n._rgba)||[],v(s.props,function(t,e){if(null!=o[e.idx])return i=o[e.idx]===r[e.idx]})),i}),i},_space:function(){var t=[],e=this;return v(d,function(i,n){e[n.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var i=f(t),n=i._space(),s=d[n],r=0===this.alpha()?f("transparent"):this,o=r[s.cache]||s.to(r._rgba),a=o.slice();return i=i[s.cache],v(s.props,function(t,n){var s=n.idx,r=o[s],l=i[s],h=p[n.type]||{};null!==l&&(null===r?a[s]=l:(h.mod&&(l-r>h.mod/2?r+=h.mod:r-l>h.mod/2&&(r-=h.mod)),a[s]=y((l-r)*e+r,n)))}),this[n](a)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=f(t)._rgba;return f(o.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=o.map(this._rgba,function(t,e){return null!=t?t:e>2?1:0});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=o.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+o.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),f.fn.parse.prototype=f.fn,d.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,s=t[1]/255,r=t[2]/255,o=t[3],a=Math.max(n,s,r),l=Math.min(n,s,r),h=a-l,u=a+l,c=.5*u;return e=l===a?0:n===a?60*(s-r)/h+360:s===a?60*(r-n)/h+120:60*(n-s)/h+240,i=0===h?0:c<=.5?h/u:h/(2-u),[Math.round(e)%360,i,c,o??1]},d.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],s=t[3],r=n<=.5?n*(1+i):n+i-n*i,o=2*n-r;return[Math.round(255*x(o,r,e+1/3)),Math.round(255*x(o,r,e)),Math.round(255*x(o,r,e-1/3)),s]},v(d,function(t,e){var i=e.props,n=e.cache,s=e.to,r=e.from;f.fn[t]=function(t){if(s&&!this[n]&&(this[n]=s(this._rgba)),void 0===t)return this[n].slice();var e,o=b(t),a="array"===o||"object"===o?t:arguments,l=this[n].slice();return v(i,function(t,e){var i=a["object"===o?t:e.idx];null==i&&(i=l[e.idx]),l[e.idx]=y(i,e)}),r?((e=f(r(l)))[n]=l,e):f(l)},v(i,function(e,i){f.fn[e]||(f.fn[e]=function(n){var s,r,o,a,l=b(n);return r=(s=this[a="alpha"===e?this._hsla?"hsla":"rgba":t]())[i.idx],"undefined"===l?r:("function"===l&&(l=b(n=n.call(this,r))),null==n&&i.empty?this:("string"===l&&(o=u.exec(n))&&(n=r+parseFloat(o[2])*("+"===o[1]?1:-1)),s[i.idx]=n,this[a](s)))})})}),f.hook=function(t){var e=t.split(" ");v(e,function(t,e){o.cssHooks[e]={set:function(t,i){var n,s,r="";if("transparent"!==i&&("string"!==b(i)||(n=w(i)))){if(i=f(n||i),!g.rgba&&1!==i._rgba[3]){for(s="backgroundColor"===e?t.parentNode:t;(""===r||"transparent"===r)&&s&&s.style;)try{r=o.css(s,"backgroundColor"),s=s.parentNode}catch(t){}i=i.blend(r&&"transparent"!==r?r:"_default")}i=i.toRgbaString()}try{t.style[e]=i}catch(t){}}},o.fx.step[e]=function(t){t.colorInit||(t.start=f(t.elem,e),t.end=f(t.end),t.colorInit=!0),o.cssHooks[e].set(t.elem,t.start.transition(t.end,t.pos))}})},f.hook(a),o.cssHooks.borderColor={expand:function(t){var e={};return v(["Top","Right","Bottom","Left"],function(i,n){e["border"+n+"Color"]=t}),e}},r=o.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};var k="ui-effects-",C="ui-effects-style",D="ui-effects-animated";t.effects={effect:{}},function(){var e=["add","remove","toggle"],i={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function n(t){return t.replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})}function s(t){var e,i,s=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,r={};if(s&&s.length&&s[0]&&s[s[0]])for(i=s.length;i--;)"string"==typeof s[e=s[i]]&&(r[n(e)]=s[e]);else for(e in s)"string"==typeof s[e]&&(r[e]=s[e]);return r}function r(e,n){var s,r,o={};for(s in n)r=n[s],e[s]!==r&&(i[s]||!t.fx.step[s]&&isNaN(parseFloat(r))||(o[s]=r));return o}t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(o.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(i,n,o,a){var l=t.speed(n,o,a);return this.queue(function(){var n,o=t(this),a=o.attr("class")||"",h=l.children?o.find("*").addBack():o;h=h.map(function(){return{el:t(this),start:s(this)}}),(n=function(){t.each(e,function(t,e){i[e]&&o[e+"Class"](i[e])})})(),h=h.map(function(){return this.end=s(this.el[0]),this.diff=r(this.start,this.end),this}),o.attr("class",a),h=h.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,h.get()).done(function(){n(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(o[0])})})},t.fn.extend({addClass:function(e){return function(i,n,s,r){return n?t.effects.animateClass.call(this,{add:i},n,s,r):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,n,s,r){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,s,r):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(i,n,s,r,o){return"boolean"==typeof n||void 0===n?s?t.effects.animateClass.call(this,n?{add:i}:{remove:i},s,r,o):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:i},n,s,r)}}(t.fn.toggleClass),switchClass:function(e,i,n,s,r){return t.effects.animateClass.call(this,{add:i,remove:e},n,s,r)}})}(),function(){function e(e,i,n,s){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),"function"==typeof i&&(s=i,n=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(s=n,n=i,i={}),"function"==typeof n&&(s=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:"number"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=s||i.complete,e}function i(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||("string"==typeof e&&!t.effects.effect[e]||("function"==typeof e||"object"==typeof e&&!e.effect))}function n(t,e){var i=e.outerWidth(),n=e.outerHeight(),s=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,i,n,0];return{top:parseFloat(s[1])||0,right:"auto"===s[2]?i:parseFloat(s[2]),bottom:"auto"===s[3]?n:parseFloat(s[3]),left:parseFloat(s[4])||0}}t.expr&&t.expr.pseudos&&t.expr.pseudos.animated&&(t.expr.pseudos.animated=function(e){return function(i){return!!t(i).data(D)||e(i)}}(t.expr.pseudos.animated)),!1!==t.uiBackCompat&&t.extend(t.effects,{save:function(t,e){for(var i=0,n=e.length;i<n;i++)null!==e[i]&&t.data(k+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,n=0,s=e.length;n<s;n++)null!==e[n]&&(i=t.data(k+e[n]),t.css(e[n],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")},n=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),s={width:e.width(),height:e.height()},r=document.activeElement;try{r.id}catch(t){r=document.body}return e.wrap(n),(e[0]===r||t.contains(e[0],r))&&t(r).trigger("focus"),n=e.parent(),"static"===e.css("position")?(n.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(s),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus")),e}}),t.extend(t.effects,{version:"1.13.3",define:function(e,i,n){return n||(n=i,i="effect"),t.effects.effect[e]=n,t.effects.effect[e].mode=i,n}
vendor: 5,508 bytes, line 2
2,scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(e||100)/100:1,s="vertical"!==i?(e||100)/100:1;return{height:t.height()*s,width:t.width()*n,outerHeight:t.outerHeight()*s,outerWidth:t.outerWidth()*n}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var n=t.queue();e>1&&n.splice.apply(n,[1,0].concat(n.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data(C,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(C)||"",t.removeData(C)},mode:function(t,e){var i=t.is(":hidden");return"toggle"===e&&(e=i?"show":"hide"),(i?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createPlaceholder:function(e){var i,n=e.css("position"),s=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",i=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(k+"placeholder",i)),e.css({position:n,left:s.left,top:s.top}),i},removePlaceholder:function(t){var e=k+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,i,n,s){return s=s||{},t.each(i,function(t,i){var r=e.cssUnit(i);r[0]>0&&(s[i]=r[0]*n+r[1])}),s}}),t.fn.extend({effect:function(){var i=e.apply(this,arguments),n=t.effects.effect[i.effect],s=n.mode,r=i.queue,o=r||"fx",a=i.complete,l=i.mode,h=[],u=function(e){var i=t(this),n=t.effects.mode(i,l)||s;i.data(D,!0),h.push(n),s&&("show"===n||n===s&&"hide"===n)&&i.show(),s&&"none"===n||t.effects.saveStyle(i),"function"==typeof e&&e()};if(t.fx.off||!n)return l?this[l](i.duration,a):this.each(function(){a&&a.call(this)});function c(e){var r=t(this);function o(){r.removeData(D),t.effects.cleanUp(r),"hide"===i.mode&&r.hide(),u()}function u(){"function"==typeof a&&a.call(r[0]),"function"==typeof e&&e()}i.mode=h.shift(),!1===t.uiBackCompat||s?"none"===i.mode?(r[l](),u()):n.call(r[0],i,o):(r.is(":hidden")?"hide"===l:"show"===l)?(r[l](),u()):n.call(r[0],i,u)}return!1===r?this.each(u).each(c):this.queue(o,u).queue(o,c)},show:function(t){return function(n){if(i(n))return t.apply(this,arguments);var s=e.apply(this,arguments);return s.mode="show",this.effect.call(this,s)}}(t.fn.show),hide:function(t){return function(n){if(i(n))return t.apply(this,arguments);var s=e.apply(this,arguments);return s.mode="hide",this.effect.call(this,s)}}(t.fn.hide),toggle:function(t){return function(n){if(i(n)||"boolean"==typeof n)return t.apply(this,arguments);var s=e.apply(this,arguments);return s.mode="toggle",this.effect.call(this,s)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(n=[parseFloat(i),e])}),n},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):n(this.css("clip"),this)},transfer:function(e,i){var n=t(this),s=t(e.to),r="fixed"===s.css("position"),o=t("body"),a=r?o.scrollTop():0,l=r?o.scrollLeft():0,h=s.offset(),u={top:h.top-a,left:h.left-l,height:s.innerHeight(),width:s.innerWidth()},c=n.offset(),f=t("<div class='ui-effects-transfer'></div>");f.appendTo("body").addClass(e.className).css({top:c.top-a,left:c.left-l,height:n.innerHeight(),width:n.innerWidth(),position:r?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){f.remove(),"function"==typeof i&&i()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=n(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),I={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){I[e]=function(e){return Math.pow(e,t+2)}}),t.extend(I,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(I,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?i(2*t)/2:1-i(-2*t+2)/2}});var I;t.effects,t.effects.define("blind","hide",function(e,i){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},s=t(this),r=e.direction||"up",o=s.cssClip(),a={clip:t.extend({},o)},l=t.effects.createPlaceholder(s);
vendor: 4,227 bytes, line 2
2a.clip[n[r][0]]=a.clip[n[r][1]],"show"===e.mode&&(s.cssClip(a.clip),l&&l.css(t.effects.clipToBox(a)),a.clip=o),l&&l.animate(t.effects.clipToBox(a),e.duration,e.easing),s.animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("bounce",function(e,i){var n,s,r,o=t(this),a=e.mode,l="hide"===a,h="show"===a,u=e.direction||"up",c=e.distance,f=e.times||5,d=2*f+(h||l?1:0),p=e.duration/d,g=e.easing,m="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,_=0,b=o.queue().length;for(t.effects.createPlaceholder(o),r=o.css(m),c||(c=o["top"===m?"outerHeight":"outerWidth"]()/3),h&&((s={opacity:1})[m]=r,o.css("opacity",0).css(m,v?2*-c:2*c).animate(s,p,g)),l&&(c/=Math.pow(2,f-1)),(s={})[m]=r;_<f;_++)(n={})[m]=(v?"-=":"+=")+c,o.animate(n,p,g).animate(s,p,g),c=l?2*c:c/2;l&&((n={opacity:0})[m]=(v?"-=":"+=")+c,o.animate(n,p,g)),o.queue(i),t.effects.unshift(o,b,d+1)}),t.effects.define("clip","hide",function(e,i){var n,s={},r=t(this),o=e.direction||"vertical",a="both"===o,l=a||"horizontal"===o,h=a||"vertical"===o;n=r.cssClip(),s.clip={top:h?(n.bottom-n.top)/2:n.top,right:l?(n.right-n.left)/2:n.right,bottom:h?(n.bottom-n.top)/2:n.bottom,left:l?(n.right-n.left)/2:n.left},t.effects.createPlaceholder(r),"show"===e.mode&&(r.cssClip(s.clip),s.clip=n),r.animate(s,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("drop","hide",function(e,i){var n,s=t(this),r="show"===e.mode,o=e.direction||"left",a="up"===o||"down"===o?"top":"left",l="up"===o||"left"===o?"-=":"+=",h="+="===l?"-=":"+=",u={opacity:0};t.effects.createPlaceholder(s),n=e.distance||s["top"===a?"outerHeight":"outerWidth"](!0)/2,u[a]=l+n,r&&(s.css(u),u[a]=h+n,u.opacity=1),s.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("explode","hide",function(e,i){var n,s,r,o,a,l,h=e.pieces?Math.round(Math.sqrt(e.pieces)):3,u=h,c=t(this),f="show"===e.mode,d=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/u),g=Math.ceil(c.outerHeight()/h),m=[];function v(){m.push(this),m.length===h*u&&_()}for(n=0;n<h;n++)for(o=d.top+n*g,l=n-(h-1)/2,s=0;s<u;s++)r=d.left+s*p,a=s-(u-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*p,top:-n*g}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:g,left:r+(f?a*p:0),top:o+(f?l*g:0),opacity:f?0:1}).animate({left:r+(f?0:a*p),top:o+(f?0:l*g),opacity:f?1:0},e.duration||500,e.easing,v);function _(){c.css({visibility:"visible"}),t(m).remove(),i()}}),t.effects.define("fade","toggle",function(e,i){var n="show"===e.mode;t(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("fold","hide",function(e,i){var n=t(this),s=e.mode,r="show"===s,o="hide"===s,a=e.size||15,l=/([0-9]+)%/.exec(a),h=!!e.horizFirst?["right","bottom"]:["bottom","right"],u=e.duration/2,c=t.effects.createPlaceholder(n),f=n.cssClip(),d={clip:t.extend({},f)},p={clip:t.extend({},f)},g=[f[h[0]],f[h[1]]],m=n.queue().length;l&&(a=parseInt(l[1],10)/100*g[o?0:1]),d.clip[h[0]]=a,p.clip[h[0]]=a,p.clip[h[1]]=0,r&&(n.cssClip(p.clip),c&&c.css(t.effects.clipToBox(p)),p.clip=f),n.queue(function(i){c&&c.animate(t.effects.clipToBox(d),u,e.easing).animate(t.effects.clipToBox(p),u,e.easing),i()}).animate(d,u,e.easing).animate(p,u,e.easing).queue(i),t.effects.unshift(n,m,4)}),t.effects.define("highlight","show",function(e,i){var n=t(this),s={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(s.opacity=0),t.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(s,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("size",function(e,i){var n,s,r,o=t(this),a=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],h=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=e.mode,c="effect"!==u,f=e.scale||"both",d=e.origin||["middle","center"],p=o.css("position"),g=o.position(),m=t.effects.scaledDimensions(o),v=e.from||m,_=e.to||t.effects.scaledDimensions(o,0);t.effects.createPlaceholder(o),"show"===u&&(r=v,v=_,_=r),s={from:{y:v.height/m.height,x:v.width/m.width}
vendor: 5,948 bytes, line 2
2,to:{y:_.height/m.height,x:_.width/m.width}},"box"!==f&&"both"!==f||(s.from.y!==s.to.y&&(v=t.effects.setTransition(o,l,s.from.y,v),_=t.effects.setTransition(o,l,s.to.y,_)),s.from.x!==s.to.x&&(v=t.effects.setTransition(o,h,s.from.x,v),_=t.effects.setTransition(o,h,s.to.x,_))),"content"!==f&&"both"!==f||s.from.y!==s.to.y&&(v=t.effects.setTransition(o,a,s.from.y,v),_=t.effects.setTransition(o,a,s.to.y,_)),d&&(n=t.effects.getBaseline(d,m),v.top=(m.outerHeight-v.outerHeight)*n.y+g.top,v.left=(m.outerWidth-v.outerWidth)*n.x+g.left,_.top=(m.outerHeight-_.outerHeight)*n.y+g.top,_.left=(m.outerWidth-_.outerWidth)*n.x+g.left),delete v.outerHeight,delete v.outerWidth,o.css(v),"content"!==f&&"both"!==f||(l=l.concat(["marginTop","marginBottom"]).concat(a),h=h.concat(["marginLeft","marginRight"]),o.find("*[width]").each(function(){var i=t(this),n=t.effects.scaledDimensions(i),r={height:n.height*s.from.y,width:n.width*s.from.x,outerHeight:n.outerHeight*s.from.y,outerWidth:n.outerWidth*s.from.x},o={height:n.height*s.to.y,width:n.width*s.to.x,outerHeight:n.height*s.to.y,outerWidth:n.width*s.to.x};s.from.y!==s.to.y&&(r=t.effects.setTransition(i,l,s.from.y,r),o=t.effects.setTransition(i,l,s.to.y,o)),s.from.x!==s.to.x&&(r=t.effects.setTransition(i,h,s.from.x,r),o=t.effects.setTransition(i,h,s.to.x,o)),c&&t.effects.saveStyle(i),i.css(r),i.animate(o,e.duration,e.easing,function(){c&&t.effects.restoreStyle(i)})})),o.animate(_,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=o.offset();0===_.opacity&&o.css("opacity",v.opacity),c||(o.css("position","static"===p?"relative":p).offset(e),t.effects.saveStyle(o)),i()}})}),t.effects.define("scale",function(e,i){var n=t(this),s=e.mode,r=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==s?0:100),o=t.extend(!0,{from:t.effects.scaledDimensions(n),to:t.effects.scaledDimensions(n,r,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(o.from.opacity=1,o.to.opacity=0),t.effects.effect.size.call(this,o,i)}),t.effects.define("puff","hide",function(e,i){var n=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,n,i)}),t.effects.define("pulsate","show",function(e,i){var n=t(this),s=e.mode,r="show"===s,o=r||"hide"===s,a=2*(e.times||5)+(o?1:0),l=e.duration/a,h=0,u=1,c=n.queue().length;for(!r&&n.is(":visible")||(n.css("opacity",0).show(),h=1);u<a;u++)n.animate({opacity:h},l,e.easing),h=1-h;n.animate({opacity:h},l,e.easing),n.queue(i),t.effects.unshift(n,c,a+1)}),t.effects.define("shake",function(e,i){var n=1,s=t(this),r=e.direction||"left",o=e.distance||20,a=e.times||3,l=2*a+1,h=Math.round(e.duration/l),u="up"===r||"down"===r?"top":"left",c="up"===r||"left"===r,f={},d={},p={},g=s.queue().length;for(t.effects.createPlaceholder(s),f[u]=(c?"-=":"+=")+o,d[u]=(c?"+=":"-=")+2*o,p[u]=(c?"-=":"+=")+2*o,s.animate(f,h,e.easing);n<a;n++)s.animate(d,h,e.easing).animate(p,h,e.easing);s.animate(d,h,e.easing).animate(f,h/2,e.easing).queue(i),t.effects.unshift(s,g,l+1)}),t.effects.define("slide","show",function(e,i){var n,s,r=t(this),o={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},a=e.mode,l=e.direction||"left",h="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,c=e.distance||r["top"===h?"outerHeight":"outerWidth"](!0),f={};t.effects.createPlaceholder(r),n=r.cssClip(),s=r.position()[h],f[h]=(u?-1:1)*c+s,f.clip=r.cssClip(),f.clip[o[l][1]]=f.clip[o[l][0]],"show"===a&&(r.cssClip(f.clip),r.css(h,f[h]),f.clip=n,f[h]=s),r.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:i})});!1!==t.uiBackCompat&&t.effects.define("transfer",function(e,i){t(this).transfer(e,i)});function T(t){for(var e=t.css("visibility");"inherit"===e;)e=(t=t.parent()).css("visibility");return"visible"===e}t.ui.focusable=function(e,i){var n,s,r,o,a,l=e.nodeName.toLowerCase();return"area"===l?(s=(n=e.parentNode).name,!(!e.href||!s||"map"!==n.nodeName.toLowerCase())&&((r=t("img[usemap='#"+s+"']")).length>0&&r.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(o=!e.disabled)&&(a=t(e).closest("fieldset")[0])&&(o=!a.disabled):o="a"===l&&e.href||i,o&&t(e).is(":visible")&&T(t(e)))},t.extend(t.expr.pseudos,{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}});t.ui.focusable,t.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element._form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};t.expr.pseudos||(t.expr.pseudos=t.expr[":"]);t.uniqueSort||(t.uniqueSort=t.unique);if(!t.escapeSelector){var S=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,P=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};t.escapeSelector=function(t){return(t+"").replace(S,P)}}t.fn.even&&t.fn.odd||t.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}});t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.labels=function(){var e,i,n,s,r;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(s=this.eq(0).parents("label"),(n=this.attr("id"))&&(r=(e=this.eq(0).parents().last(
vendor: 5,849 bytes, line 2
2)).add(e.length?e.siblings():this.siblings()),i="label[for='"+t.escapeSelector(n)+"']",s=s.add(r.find(i).addBack(i))),this.pushStack(s)):this.pushStack([])},t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&r.length?r:t(this[0].ownerDocument||document)},t.extend(t.expr.pseudos,{tabbable:function(e){var i=t.attr(e,"tabindex"),n=null!=i;return(!n||i>=0)&&t.ui.focusable(e,n)}}),t.fn.extend({uniqueId:(M=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++M)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.widget("ui.accordion",{version:"1.13.3",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(t){return t.find("> li > :first-child").add(t.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,i,n=this.options.icons;n&&(e=t("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header),e.prependTo(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeClass(i,n.header)._addClass(i,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,n=this.headers.length,s=this.headers.index(e.target),r=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:r=this.headers[(s+1)%n];break;case i.LEFT:case i.UP:r=this.headers[(s-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:r=this.headers[0];break;case i.END:r=this.headers[n-1]}r&&(t(e.target).attr("tabIndex",-1),t(r).attr("tabIndex",0),t(r).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=t()):!1===e.active?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,i=this.options,n=i.heightStyle,s=this.element.parent();this.active=this._findActive(i.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),i=e.uniqueId().attr("id"),n=e.next(),s=n.uniqueId().attr("id");e.attr("aria-controls",s),n.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===n?(e=s.height(),this.element.siblings(":visible").each(function(){var i=t(this),n=i.
vendor: 4,976 bytes, line 2
2css("position");"absolute"!==n&&"fixed"!==n&&(e-=i.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(e=0,this.headers.next().each(function(){var i=t(this).is(":visible");i||t(this).show(),e=Math.max(e,t(this).css("height","").height()),i||t(this).hide()}).height(e))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i,n,s=this.options,r=this.active,o=t(e.currentTarget),a=o[0]===r[0],l=a&&s.collapsible,h=l?t():o.next(),u=r.next(),c={oldHeader:r,oldPanel:u,newHeader:l?t():o,newPanel:h};e.preventDefault(),a&&!s.collapsible||!1===this._trigger("beforeActivate",e,c)||(s.active=!l&&this.headers.index(o),this.active=a?t():o,this._toggle(c),this._removeClass(r,"ui-accordion-header-active","ui-state-active"),s.icons&&(i=r.children(".ui-accordion-header-icon"),this._removeClass(i,null,s.icons.activeHeader)._addClass(i,null,s.icons.header)),a||(this._removeClass(o,"ui-accordion-header-collapsed")._addClass(o,"ui-accordion-header-active","ui-state-active"),s.icons&&(n=o.children(".ui-accordion-header-icon"),this._removeClass(n,null,s.icons.header)._addClass(n,null,s.icons.activeHeader)),this._addClass(o.next(),"ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=n,this.options.animate?this._animate(i,n,e):(n.hide(),i.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){var n,s,r,o=this,a=0,l=t.css("box-sizing"),h=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},c=h&&u.down||u,f=function(){o._toggleComplete(i)};return"number"==typeof c&&(r=c),"string"==typeof c&&(s=c),s=s||c.easing||u.easing,r=r||c.duration||u.duration,e.length?t.length?(n=t.show().outerHeight(),e.animate(this.hideProps,{duration:r,easing:s,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:r,easing:s,complete:f,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?"content-box"===l&&(a+=i.now):"content"!==o.options.heightStyle&&(i.now=Math.round(n-e.outerHeight()-a),a=0)}})):e.animate(this.hideProps,r,s,f):t.animate(this.showProps,r,s,f)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.widget("ui.menu",{version:"1.13.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(e){var i=t(e.target),n=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(e){this._delay(function(){!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)}
vendor: 5,933 bytes, line 2
2)},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(e){if(!this.previousFilter&&(e.clientX!==this.lastMousePosition.x||e.clientY!==this.lastMousePosition.y)){this.lastMousePosition={x:e.clientX,y:e.clientY};var i=t(e.target).closest(".ui-menu-item"),n=t(e.currentTarget);i[0]===n[0]&&(n.is(".ui-state-active")||(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n)))}},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,n,s,r,o=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:o=!1,n=this.previousFilter||"",r=!1,s=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),s===n?r=!0:s=n+s,i=this._filterMenuItems(s),(i=r&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(s=String.fromCharCode(e.keyCode),i=this._filterMenuItems(s)),i.length?(this.focus(e,i),this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,n,s,r=this,o=this.options.icons.submenu,a=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=a.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),n=t("<span>").data("ui-menu-submenu-caret",!0);r._addClass(n,"ui-menu-icon","ui-icon "+o),i.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(e=a.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=t(this);r._isDivider(e)&&r._addClass(e,"ui-menu-divider","ui-widget-content")}),s=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(s,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,n,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),s=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,n,s,r,o,a;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,s=e.offset().top-this.activeMenu.offset().top-i-n,r=this.activeMenu.scrollTop(),o=this.activeMenu.height(),a=e.outerHeight(),s<0?this.activeMenu.scrollTop(r+s):s+a>o&&this.activeMenu.scrollTop(r+s-o+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(e),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n},i?0:this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
2se")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this._menuItems(this.active.children(".ui-menu")).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(t){return(t||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").last():this.active[t+"All"](".ui-menu-item").first()),n&&n.length&&this.active||(n=this._menuItems(this.activeMenu)[e]()),this.focus(i,n)},nextPage:function(e){var i,n,s;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,s=this.element.innerHeight(),0===t.fn.jquery.indexOf("3.2.")&&(s+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n-s<0}),this.focus(e,i)):this.focus(e,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var i,n,s;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,s=this.element.innerHeight(),0===t.fn.jquery.indexOf("3.2.")&&(s+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n+s>0}),this.focus(e,i)):this.focus(e,this._menuItems(this.activeMenu).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)},_filterMenuItems:function(e){var i=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return n.test(String.prototype.trim.call(t(this).children(".ui-menu-item-wrapper").text()))})}});var M;t.widget("ui.autocomplete",{version:"1.13.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var e,i,n,s=this.element[0].nodeName.toLowerCase(),r="textarea"===s,o="input"===s;this.isMultiLine=r||!o&&this._isContentEditable(this.element),this.valueMethod=this.element[r||o?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(s){if(this.element.prop("readOnly"))return e=!0,n=!0,void(i=!0);e=!1,n=!1,i=!1;var r=t.ui.keyCode;switch(s.keyCode){case r.PAGE_UP:e=!0,this._move("previousPage",s);break;case r.PAGE_DOWN:e=!0,this._move("nextPage",s);break;case r.UP:e=!0,this._keyEvent("previous",s);break;case r.DOWN:e=!0,this._keyEvent("next",s);break;case r.ENTER:this.menu.active&&(e=!0,s.preventDefault(),this.menu.select(s));break;case r.TAB:this.menu.active&&this.menu.select(s);break;case r.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(s),s.preventDefault());break;default:i=!0,this._searchTimeout(s)}},keypress:function(n){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||n.preventDefault());if(!i){var s=t.ui.keyCode;switch(n.keyCode){case s.PAGE_UP:this._move("previousPage",n);break;case s.PAGE_DOWN:this._move("nextPage",n);break;case s.UP:this._keyEvent("previous",n);break;case s.DOWN:this._keyEvent("next",n)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 12,129 bytes, line 2
2)},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(e,i){var n,s;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)});s=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:s})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value),(n=i.item.attr("aria-label")||s.value)&&String.prototype.trim.call(n).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(t("<div>").text(n))},100))},menuselect:function(e,i){var n=i.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=n})),!1!==this._trigger("select",e,{item:n})&&this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,n=this;Array.isArray(this.options.source)?(e=this.options.source,this.source=function(i,n){n(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,s){n.xhr&&n.xhr.abort(),n.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){s(t)},error:function(){s([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),n=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||i||n)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=++this.requestIndex;return function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var n=this;t.each(i,function(t,i){n._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<div>").text(i.label)).appendTo(e)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var n=new RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return n.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(t("<div>").text(i))},100))}});t.ui.autocomplete;var A=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.13.3",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,function(n,s){var r,o={};if(s)return"controlgroupLabel"===n?((r=e.element.find(s)).each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),e._addClass(r,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(r.get()))):void(t.fn[n]&&(o=e["_"+n+"Options"]?e["_"+n+"Options"]("middle"):{classes:{}},e.element.find(s).each(function(){var s=t(this),r=s[n]("instance"),a=t.widget.extend({},o);if("button"!==n||!s.parent(".ui-spinner").length){r||(r=s[n]()[n]("instance")),r&&(a.classes=e._resolveClassesValues(a.classes,r)),s[n](a);var l=s[n]("widget");t.data(l[0],"ui-controlgroup-data",r||s[n]("instance")),i.push(l[0])}})))}),this.childWidgets=t(t.uniqueSort(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var i=t(this).data("ui-controlgroup-data");i&&i[e]&&i[e]()})},_updateCornerClass:function(t,e){var i="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",n=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,i),this._addClass(t,null,n)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var n={};return t.each(e,function(t){var s=i.options.classes[t]||"";s=String.prototype.trim.call(s.replace(A,"")),n[t]=(s+" "+e[t]).replace(/\s+/g," ")}),n},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,n){var s=e[n]().data("ui-controlgroup-data");if(s&&i["_"+s.widgetName+"Options"]){var r=i["_"+s.widgetName+"Options"](1===e.length?"only":n);r.classes=i._resolveClassesValues(r.classes,s),s.element[s.widgetName](r)}else i._updateCornerClass(e[n](),n)}),this._callChildMethod("refresh"))}});t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.13.3",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,n,s=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",(n=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=n.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(s.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(s.disabled=e),s},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();
vendor: 1,426 bytes, line 2
2this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,i="input[name='"+t.escapeSelector(e)+"']";return e?(this.form.length?t(this.form[0].elements).filter(i):t(i).filter(function(){return 0===t(this)._form().length})).not(this.element):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>
2"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]);t.ui.checkboxradio;t.widget("ui.button",{version:"1.13.3",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,i){var n="iconPosition"!==e,s=n?this.options.iconPosition:i,r="top"===s||"bottom"===s;this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,i),this._attachIcon(s),r?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 10,306 bytes, line 2
2pace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(s))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=void 0===t.showLabel?this.options.showLabel:t.showLabel,i=void 0===t.icon?this.options.icon:t.icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.trigger("blur"))},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==t.uiBackCompat&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){"text"!==t?("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",e)}}),t.fn.button=function(e){return function(i){var n="string"==typeof i,s=Array.prototype.slice.call(arguments,1),r=this;return n?this.length||"instance"!==i?this.each(function(){var e,n=t(this).attr("type"),o="checkbox"!==n&&"radio"!==n?"button":"checkboxradio",a=t.data(this,"ui-"+o);return"instance"===i?(r=a,!1):a?"function"!=typeof a[i]||"_"===i.charAt(0)?t.error("no such method '"+i+"' for button widget instance"):(e=a[i].apply(a,s))!==a&&void 0!==e?(r=e&&e.jquery?r.pushStack(e.get()):e,!1):void 0:t.error("cannot call methods on button prior to initialization; attempted to call method '"+i+"'")}):r=void 0:(s.length&&(i=t.widget.extend.apply(null,[i].concat(s))),this.each(function(){var n=t(this).attr("type"),s="checkbox"!==n&&"radio"!==n?"button":"checkboxradio",r=t.data(this,"ui-"+s);if(r)r.option(i||{}),r._init&&r._init();else{if("button"===s)return void e.call(t(this),i);t(this).checkboxradio(t.extend({icon:!1},i))}})),r}}(t.fn.button),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var z;t.ui.button;function E(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}function O(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=W(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function W(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,H)}function H(){t.datepicker._isDisabledDatepicker(z.inline?z.dpDiv.parent()[0]:z.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function N(e,i){for(var n in t.extend(e,i),i)null==i[n]&&(e[n]=i[n]);return e}t.extend(t.ui,{datepicker:{version:"1.13.3"}}),t.extend(O.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return N(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,s,r;s="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(r=this._newInst(t(e),s)).settings=t.extend({},i||{}),"input"===n?this._connectDatepicker(e,r):s&&this._inlineDatepicker(e,r)},_newInst:function(e,i){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?W(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,s,r,o=this._get(i,"appendText"),a=this._get(i,"isRTL");i.append&&i.append.remove(),o&&(i.append=t("<span>").addClass(this._appendClass).text(o),e[a?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(s=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),this._get(i,"buttonImageOnly")?i.trigger=t("<img>").addClass(this._triggerClass).attr({src:r,alt:s,title:s}):(i.trigger=t("<button type='button'>").addClass(this._triggerClass),r?i.trigger.html(t("<img>").attr({src:r,alt:s,title:s})):i.trigger.text(s)),e[a?"before":"after"](i.trigger),i.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,s,r=new Date(2009,11,20),o=this._get(t,"dateFormat");o.match(/[DM]/)&&(e=function(t){for(i=0,n=0,s=0;s<t.length;s++)t[s].length>i&&(i=t[s].length,n=s);return n},r.setMonth(e(this._get(t,o.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(e(this._get(t,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),t.input.attr("size",this._formatDate(t,r).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,n,s,r){var o,a,l,h,u,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>
2"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(c=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",c)),N(c.settings,s||{}),i=i&&i.constructor===Date?this._formatDate(c,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(a=document.documentElement.clientWidth,l=document.documentElement.clientHeight,h=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+h,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",c),this},_destroyDatepicker:function(e){var i,n=t(e),s=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===i?(s.append.remove(),s.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),z===s&&(z=null,this._curInst=null))},_enableDatepicker:function(e){var i,n,s=t(e),r=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!1,r.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,n,s=t(e),r=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!0,r.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,i,n){var s,r,o,a,l=this._getInst(e);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?t.extend({},t.datepicker._defaults):l?"all"===i?t.extend({},l.settings):this._get(l,i):null;s=i||{},"string"==typeof i&&((s={})[i]=n),l&&(this._curInst===l&&this._hideDatepicker(),r=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(l,"min"),a=this._getMinMaxDate(l,"max"),N(l.settings,s),null!==o&&void 0!==s.dateFormat&&void 0===s.minDate&&(l.settings.minDate=this._formatDate(l,o)),null!==a&&void 0!==s.dateFormat&&void 0===s.maxDate&&(l.settings.maxDate=this._formatDate(l,a)),"disabled"in s&&(s.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),l),this._autoSize(l),this._setDate(l,r),this._updateAlternate(l),this._updateDatepicker(l))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,n,s,r=t.datepicker._getInst(e.target),o=!0,a=r.dpDiv.is(".ui-datepicker-rtl");if(r._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),o=!1;break;case 13:return(s=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",r.dpDiv))[0]&&t.datepicker._selectDay(e.target,r.selectedMonth,r.selectedYear,s[0]),(i=t.datepicker._get(r,"onSelect"))?(n=t.datepicker._formatDate(r),i.apply(r.input?r.input[0]:null,[n,r])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(r,"stepBigMonths"):-t.datepicker._get(r,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(r,"stepBigMonths"):+t.datepicker._get(r,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?1:-1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(r,"stepBigMonths"):-t.datepicker._get(r,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?-1:1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(r,"stepBigMonths"):+t.datepicker._get(r,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,n,s=t.datepicker._getInst(e.target);if(t.datepicker._get(s,"constrainInput"))return i=t.datepicker._possibleChars(t.datepicker._get(s,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!i||i.indexOf(n)>-1},_doKeyUp:function(e){var i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i))&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(e){var i,n,s,r,o,a,l;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),t.datepicker._isDisabledDatepicker(e)||t.datepicker._lastInput===e)||(i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(s=(n=t.datepicker._get(i,"beforeShow"))?n.apply(e,[e,i]):{})&&(N(i.settings,s),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),r=!1,t(e).parents().each(function(){return!(r|="fixed"===t(this).css("position"))}),o={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),o=t.datepicker._checkOffset(i,o,r),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":r?"fixed":"absolute",display:"none",left:o.left+"px",to
vendor: 4,849 bytes, line 2
2p:o.top+"px"}),i.inline||(a=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",E(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[a]?i.dpDiv.show(a,t.datepicker._get(i,"showOptions"),l):i.dpDiv[a||"show"](a?l:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i)))},_updateDatepicker:function(e){this.maxRows=4,z=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var i,n=this._getNumberOfMonths(e),s=n[1],r=17,o=e.dpDiv.find("."+this._dayOverClass+" a"),a=t.datepicker._get(e,"onUpdateDatepicker");o.length>0&&H.apply(o.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),s>1&&e.dpDiv.addClass("ui-datepicker-multi-"+s).css("width",r*s+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year").first().replaceWith(e.yearshtml),i=e.yearshtml=null},0)),a&&a.apply(e.input?e.input[0]:null,[e])},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,n){var s=e.dpDiv.outerWidth(),r=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),h=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?s-o:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+a?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+s>l&&l>s?Math.abs(i.left+s-l):0),i.top-=Math.min(i.top,i.top+r>h&&h>r?Math.abs(r+a):0),i},_findPos:function(e){for(var i,n=this._getInst(e),s=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.pseudos.hidden(e));)e=e[s?"previousSibling":"nextSibling"];return[(i=t(e).offset()).left,i.top]},_hideDatepicker:function(e){var i,n,s,r,o=this._curInst;!o||e&&o!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(o,"showAnim"),n=this._get(o,"duration"),s=function(){t.datepicker._tidyDialog(o)},t.effects&&(t.effects.effect[i]||t.effects[i])?o.dpDiv.hide(i,t.datepicker._get(o,"showOptions"),n,s):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,s),i||s(),this._datepickerShowing=!1,(r=this._get(o,"onClose"))&&r.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id===t.datepicker._mainDivId||0!==i.parents("#"+t.datepicker._mainDivId).length||i.hasClass(t.datepicker.markerClassName)||i.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!i.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===n)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var s=t(e),r=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(r,i,n),this._updateDatepicker(r))},_gotoToday:function(e){var i,n=t(e),s=this._getInst(n[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(i=new Date,s.selectedDay=i.getDate(),s.drawMonth=s.selectedMonth=i.getMonth(),s.drawYear=s.selectedYear=i.getFullYear()),this._notifyChange(s),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var s=t(e),r=this._getInst(s[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(s)},_selectDay:function(e,i,n,s){var r,o=t(e);t(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((r=this._getInst(o[0])).selectedDay=r.currentDay=parseInt(t("a",s).attr("data-date")),r.selectedMonth=r.currentMonth=i,r.selectedYear=r.currentYear=n,this._selectDate(e,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var n,s=t(e),r=this._getInst(s[0]);i=null!=i?i:this._formatDate(r),r.input&&r.input.val(i),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[
vendor: 4,746 bytes, line 2
2i,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,n,s,r=this._get(e,"altField");r&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),s=this.formatDate(i,n,this._getFormatConfig(e)),t(document).find(r).val(s))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var s,r,o,a,l=0,h=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),c=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,f=(n?n.dayNames:null)||this._defaults.dayNames,d=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,p=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,_=-1,b=!1,y=function(t){var i=s+1<e.length&&e.charAt(s+1)===t;return i&&s++,i},w=function(t){var e=y(t),n="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,s=new RegExp("^\\d{"+("y"===t?n:1)+","+n+"}"),r=i.substring(l).match(s);if(!r)throw"Missing number at position "+l;return l+=r[0].length,parseInt(r[0],10)},x=function(e,n,s){var r=-1,o=t.map(y(e)?s:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(o,function(t,e){var n=e[1];if(i.substr(l,n.length).toLowerCase()===n.toLowerCase())return r=e[0],l+=n.length,!1}),-1!==r)return r+1;throw"Unknown name at position "+l},k=function(){if(i.charAt(l)!==e.charAt(s))throw"Unexpected literal at position "+l;l++};for(s=0;s<e.length;s++)if(b)"'"!==e.charAt(s)||y("'")?k():b=!1;else switch(e.charAt(s)){case"d":v=w("d");break;case"D":x("D",c,f);break;case"o":_=w("o");break;case"m":m=w("m");break;case"M":m=x("M",d,p);break;case"y":g=w("y");break;case"@":g=(a=new Date(w("@"))).getFullYear(),m=a.getMonth()+1,v=a.getDate();break;case"!":g=(a=new Date((w("!")-this._ticksTo1970)/1e4)).getFullYear(),m=a.getMonth()+1,v=a.getDate();break;case"'":y("'")?k():b=!0;break;default:k()}if(l<i.length&&(o=i.substr(l),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===g?g=(new Date).getFullYear():g<100&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g<=u?0:-100)),_>-1)for(m=1,v=_;;){if(v<=(r=this._getDaysInMonth(g,m-1)))break;m++,v-=r}if((a=this._daylightSavingAdjust(new Date(g,m-1,v))).getFullYear()!==g||a.getMonth()+1!==m||a.getDate()!==v)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";var n,s=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+1<t.length&&t.charAt(n+1)===e;return i&&n++,i},h=function(t,e,i){var n=""+e;if(l(t))for(;n.length<i;)n="0"+n;return n},u=function(t,e,i,n){return l(t)?n[e]:i[e]},c="",f=!1;if(e)for(n=0;n<t.length;n++)if(f)"'"!==t.charAt(n)||l("'")?c+=t.charAt(n):f=!1;else switch(t.charAt(n)){case"d":c+=h("d",e.getDate(),2);break;case"D":c+=u("D",e.getDay(),s,r);break;case"o":c+=h("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":c+=h("m",e.getMonth()+1,2);break;case"M":c+=u("M",e.getMonth(),o,a);break;case"y":c+=l("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":c+=e.getTime();break;case"!":c+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?c+="'":f=!0;break;default:c+=t.charAt(n)}return c},_possibleChars:function(t){var e,i="",n=!1,s=function(i){var n=e+1<t.length&&t.charAt(e+1)===i;return n&&e++,n};for(e=0;e<t.length;e++)if(n)"'"!==t.charAt(e)||s("'")?i+=t.charAt(e):n=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":s("'")?i+="'":n=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,
vendor: 10,312 bytes, line 2
2s=this._getDefaultDate(t),r=s,o=this._getFormatConfig(t);try{r=this.parseDate(i,n,o)||s}catch(t){n=e?"":n}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=n?r.getDate():0,t.currentMonth=n?r.getMonth():0,t.currentYear=n?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,n){var s=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},r=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(t){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,s=n.getFullYear(),r=n.getMonth(),o=n.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=a.exec(i);l;){switch(l[2]||"d"){case"d":case"D":o+=parseInt(l[1],10);break;case"w":case"W":o+=7*parseInt(l[1],10);break;case"m":case"M":r+=parseInt(l[1],10),o=Math.min(o,t.datepicker._getDaysInMonth(s,r));break;case"y":case"Y":s+=parseInt(l[1],10),o=Math.min(o,t.datepicker._getDaysInMonth(s,r))}l=a.exec(i)}return new Date(s,r,o)},o=null==i||""===i?n:"string"==typeof i?r(i):"number"==typeof i?isNaN(i)?n:s(i):new Date(i.getTime());return(o=o&&"Invalid Date"===o.toString()?n:o)&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,r=t.selectedYear,o=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=o.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=o.getMonth(),t.drawYear=t.selectedYear=t.currentYear=o.getFullYear(),s===t.selectedMonth&&r===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var i,n,s,r,o,a,l,h,u,c,f,d,p,g,m,v,_,b,y,w,x,k,C,D,I,T,S,P,M,A,z,E,O,W,H,N,R,j,L,F=new Date,B=this._daylightSavingAdjust(new Date(F.getFullYear(),F.getMonth(),F.getDate())),Y=this._get(e,"isRTL"),q=this._get(e,"showButtonPanel"),U=this._get(e,"hideIfNoPrevNext"),$=this._get(e,"navigationAsDateFormat"),K=this._getNumberOfMonths(e),V=this._get(e,"showCurrentAtPos"),X=this._get(e,"stepMonths"),G=1!==K[0]||1!==K[1],Z=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(e,"min"),Q=this._getMinMaxDate(e,"max"),tt=e.drawMonth-V,et=e.drawYear;if(tt<0&&(tt+=12,et--),Q)for(i=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-K[0]*K[1]+1,Q.getDate())),i=J&&i<J?J:i;this._daylightSavingAdjust(new Date(et,tt,1))>i;)--tt<0&&(tt=11,et--);for(e.drawMonth=tt,e.drawYear=et,n=this._get(e,"prevText"),n=$?this.formatDate(n,this._daylightSavingAdjust(new Date(et,tt-X,1)),this._getFormatConfig(e)):n,s=this._canAdjustMonth(e,-1,et,tt)?t("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:n}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")).text(n))[0].outerHTML:U?"":t("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:n}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")).text(n))[0].outerHTML,r=this._get(e,"nextText"),r=$?this.formatDate(r,this._daylightSavingAdjust(new Date(et,tt+X,1)),this._getFormatConfig(e)):r,o=this._canAdjustMonth(e,1,et,tt)?t("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:r}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")).text(r))[0].outerHTML:U?"":t("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:r}).append(t("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")).text(r))[0].outerHTML,a=this._get(e,"currentText"),l=this._get(e,"gotoCurrent")&&e.currentDay?Z:B,a=$?this.formatDate(a,l,this._getFormatConfig(e)):a,h="",e.inline||(h=t("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(e,"closeText"))[0].outerHTML),u="",q&&(u=t("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(Y?h:"").append(this._isInRange(e,l)?t("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(a):"").append(Y?"":h)[0].outerHTML),c=parseInt(this._get(e,"firstDay"),10),c=isNaN(c)?0:c,f=this._get(e,"showWeek"),d=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),g=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),v=this._get(e,"beforeShowDay"),_=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),y=this._getDefaultDate(e),w="",k=0;k<K[0];k++){for(C="",this.maxRows=4,D=0;D<K[1];D++){if(I=this._daylightSavingAdjust(new Date(et,tt,e.selectedDay)),T=" ui-corner-all",S="",G){if(S+="<div class='ui-datepicker-group",K[1]>1)switch(D){case 0:S+=" ui-datepicker-group-first",T=" ui-corner-"+(Y?"right":"left");break;case K[1]-1:S+=" ui-datepicker-group-last",T=" ui-corner-"+(Y?"left":"right");break;default:S+=" ui-datepicker-group-middle",T=""}S+="'>"}for(S+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===k?Y?o:s:"")+(/all|right/.test(T)&&0===k?Y?s:o:"")+this._generateMonthYearHeader(e,tt,et,J,Q,k>0||D>0,g,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",P=f?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",x=0;x<7;x++)P+="<th scope='col'"+((x+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+d[M=(x+c)%7]+"'>"+p[M]+"</span></th>";for(S+=P+"</tr></thead><tbody>",A=this._getDaysInMonth(et,tt),et===e.selectedYear&&tt===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),z=(this._getFirstDayOfMonth(et,tt)-c+7)%7,E=Math.ceil((z+A)/7),O=G&&this.maxRows>E?this.maxRows:E,this.maxRows=O,W=this._daylightSavingAdjust(new Date(et,tt,1-z)),H=0;H<O;H++){for(S+="<tr>",N=f?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(W)+"</td>":"",x=0;x<7;x++)R=v?v.apply(e.input?e.input[0]:null,[W]):[!0,""],L=(j=W.getMonth()!==tt)&&!b||!R[0]||J&&W<J||Q&&W>Q,N+="<td class='"+((x+c+6)%7>=5?" ui-datepicker-week-end":"")+(j?" ui-datepicker-other-month":"")+(W.getTime()===I.getTime()&&tt===e.selectedMonth&&e._keyEvent||y.getTime()===W.getTime()&&y.getTime()===I.getTime()?" "+this._dayOverClass:"")+(L?" "+this._unselectableClass+" ui-state-disabled":"")+(j&&!_?"":" "+R[1]+(W.getTime()===Z.getTime()?" "+this._currentClass:"")+(W.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(j&&!_||!R[2]?"":" title='"+R[2].replace(/'/g,"&#39;")+"'")+(L?"":" data-handler='selectDay' data-event='click' data-month='"+W.getMonth()+"' data-year='"+W.getFullYear()+"'")+">"+(j&&!_?"&#xa0;":L?"<span class='ui-state-default'>"+W.getDate()+"</span>":"<a class='ui-state-default"+(W.getTime()===B.getTime()?" ui-state-highlight":"")+(W.getTime()===Z.getTime()?" ui-state-active":"")+(j?" ui-priority-secondary":"")+"' href='#' aria-current='"+(W.getTime()===Z.getTime()?"true":"false")+"' data-date='"+W.getDate()+"'>"+W.getDate()+"</a>")+"</td>",W.setDate(W.getDate()+1),W=this._daylightSavingAdjust(W);S+=N+"</tr>"}++tt>11&&(tt=0,et++),C+=S+="</tbody></table>"+(G?"</div>"+(K[0]>0&&D===K[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}w+=C}return w+=u,e._keyEvent=!1,w},_generateMonthYearHeader:function(t,e,i,n,s,r,o,a){var l,h,u,c,f,d,p,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b=this._get(t,"selectMonthLabel"),y=this._get(t,"selectYearLabel"),w="<div class='ui-datepicker-title'>",x="";if(r||!m)x+="<span class='ui-datepicker-month'>"+o[e]+"</span>";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,x+="<select class='ui-datepicker-month' aria-label='"+b+"' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!h||u<=s.getMonth())&&(x+="<option value='"+u+"'"+(u===e?" selected='selected'":"")+">"+a[u]+"</option>");x+="</select>"}if(_||(w+=x+(!r&&m&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",r||!v)w+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(c=this._get(t,"yearRange").split(":"),f=(new Date).getFullYear(),d=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?f+parseInt(t,10):parseInt(t,10);return isNaN(e)?f:e},p=d(c[0]),g=Math.max(p,d(c[1]||"")),p=n?Math.max(p,n.getFullYear()):p,g=s?Math.min(g,s.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' aria-label='"+y+"' data-handler='selectYear' data-event='change'>";p<=g;p++)t.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";t.yearshtml+="</select>",w+=t.yearshtml,t.yearshtml=null}return w+=this._get(t,"yearSuffix"),_&&(w+=(!r&&m&&v?"":"&#xa0;")+x),w+="</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),s=t.selectedMonth+("M"===i?e:0),r=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),o=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,r)));t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)}
vendor: 11,719 bytes, line 2
2,_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),s=i&&e<i?i:e;return n&&s>n?n:s},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),r=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(t,r)},_isInRange:function(t,e){var i,n,s=this._getMinMaxDate(t,"min"),r=this._getMinMaxDate(t,"max"),o=null,a=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),o=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!s||e.getTime()>=s.getTime())&&(!r||e.getTime()<=r.getTime())&&(!o||e.getFullYear()>=o)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new O,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.13.3";t.datepicker,t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var R=!1;t(document).on("mouseup",function(){R=!1});t.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!R){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,n=1===e.which,s=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&t(e.target).closest(this.options.cancel).length;return!(n&&!s&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),R=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,R=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,n){var s,r=t.ui[e].prototype;for(s in n)r.plugins[s]=r.plugins[s]||[],r.plugins[s].push([i,n[s]])},call:function(t,e,i,n){var s,r=t.plugins[e];if(r&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(s=0;s<r.length;s++)t.options[r[s][0]]&&r[s][1].apply(t.element,i)}},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")};t.widget("ui.draggable",t.ui.mouse,{version:"1.13.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var i=this.options;return!(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==i._trigger("stop",e)&&i._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n="function"==typeof i.helper,s=n?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&s[0]===this.element[0]&&this._setPositionRelative(),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}
vendor: 4,612 bytes, line 2
2),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,s=this.options,r=this.document[0];this.relativeContainer=null,s.containment?"window"!==s.containment?"document"!==s.containment?s.containment.constructor!==Array?("parent"===s.containment&&(s.containment=this.helper[0].parentNode),(n=(i=t(s.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=s.containment:this.containment=[0,0,t(r).width()-this.helperProportions.width-this.margins.left,(t(r).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n,s,r,o=this.options,a=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),o.grid&&(s=o.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,h=i?s-this.offset.click.top>=i[1]||s-this.offset.click.top>i[3]?s:s-this.offset.click.top>=i[1]?s-o.grid[1]:s+o.grid[1]:s,r=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)
vendor: 4,883 bytes, line 2
2/o.grid[0])*o.grid[0]:this.originalPageX,l=i?r-this.offset.click.left>=i[0]||r-this.offset.click.left>i[2]?r:r-this.offset.click.left>=i[0]?r-o.grid[0]:r+o.grid[0]:r),"y"===o.axis&&(l=this.originalPageX),"x"===o.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,n){var s=t.extend({},i,{item:n.element});n.sortables=[],t(n.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,s))})},stop:function(e,i,n){var s=t.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,t.each(n.sortables,function(){var t=this;t.isOver?(t.isOver=0,n.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,s))})},drag:function(e,i,n){t.each(n.sortables,function(){var s=!1,r=this;r.positionAbs=n.positionAbs,r.helperProportions=n.helperProportions,r.offset.click=n.offset.click,r._intersectsWith(r.containerCache)&&(s=!0,t.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==r&&this._intersectsWith(this.containerCache)&&t.contains(r.element[0],this.element[0])&&(s=!1),s})),s?(r.isOver||(r.isOver=1,n._parent=i.helper.parent(),r.currentItem=i.helper.appendTo(r.element).data("ui-sortable-item",!0),r.options._helper=r.options.helper,r.options.helper=function(){return i.helper[0]},e.target=r.currentItem[0],r._mouseCapture(e,!0),r._mouseStart(e,!0,!0),r.offset.click.top=n.offset.click.top,r.offset.click.left=n.offset.click.left,r.offset.parent.left-=n.offset.parent.left-r.offset.parent.left,r.offset.parent.top-=n.offset.parent.top-r.offset.parent.top,n._trigger("toSortable",e),n.dropped=r.element,t.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,r.fromOutside=n),r.currentItem&&(r._mouseDrag(e),i.position=r.position)):r.isOver&&(r.isOver=0,r.cancelHelperRemoval=!0,r.options._revert=r.options.revert,r.options.revert=!1,r._trigger("out",e,r._uiHash(r)),r._mouseStop(e,!0),r.options.revert=r.options._revert,r.options.helper=r.options._helper,r.placeholder&&r.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(e),i.position=n._generatePosition(e,!0),n._trigger("fromSortable",e),n.dropped=!1,t.each(n.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,n){var s=t("body"),r=n.options;s.css("cursor")&&(r._cursor=s.css("cursor")),s.css("cursor",r.cursor)},stop:function(e,i,n){var s=n.options;s._cursor&&t("body").css("cursor",s._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("opacity")&&(r._opacity=s.css("opacity")),s.css("opacity",r.opacity)},stop:function(e,i,n){var s=n.options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,n){var s=n.options,r=!1,o=n.scrollParentNotHidden[0],a=n.document[0];o!==a&&"HTML"!==o.tagName?(s.axis&&"x"===s.axis||(n.overflowOffset.top+o.offsetHeight-e.pageY<s.scrollSensitivity?o.scrollTop=r=o.scrollTop+s.scrollSpeed:e.pageY-n.overflowOffset.top<s.scrollSensitivity&&(o.scrollTop=r=o.scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(n.overflowOffset.left+o.offsetWidth-e.pageX<s.scrollSensitivity?o.scrollLeft=r=o.scrollLeft+s.scrollSpeed:e.pageX-n.overflowOffset.left<s.scrollSensitivity&&(o.scrollLeft=r=o.scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-t
vendor: 7,401 bytes, line 2
2(a).scrollTop()<s.scrollSensitivity?r=t(a).scrollTop(t(a).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(a).scrollTop())<s.scrollSensitivity&&(r=t(a).scrollTop(t(a).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(e.pageX-t(a).scrollLeft()<s.scrollSensitivity?r=t(a).scrollLeft(t(a).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(a).scrollLeft())<s.scrollSensitivity&&(r=t(a).scrollLeft(t(a).scrollLeft()+s.scrollSpeed)))),!1!==r&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(n,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,n){var s=n.options;n.snapElements=[],t(s.snap.constructor!==String?s.snap.items||":data(ui-draggable)":s.snap).each(function(){var e=t(this),i=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})})},drag:function(e,i,n){var s,r,o,a,l,h,u,c,f,d,p=n.options,g=p.snapTolerance,m=i.offset.left,v=m+n.helperProportions.width,_=i.offset.top,b=_+n.helperProportions.height;for(f=n.snapElements.length-1;f>=0;f--)h=(l=n.snapElements[f].left-n.margins.left)+n.snapElements[f].width,c=(u=n.snapElements[f].top-n.margins.top)+n.snapElements[f].height,v<l-g||m>h+g||b<u-g||_>c+g||!t.contains(n.snapElements[f].item.ownerDocument,n.snapElements[f].item)?(n.snapElements[f].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=!1):("inner"!==p.snapMode&&(s=Math.abs(u-b)<=g,r=Math.abs(c-_)<=g,o=Math.abs(l-v)<=g,a=Math.abs(h-m)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:h}).left)),d=s||r||o||a,"outer"!==p.snapMode&&(s=Math.abs(u-_)<=g,r=Math.abs(c-b)<=g,o=Math.abs(l-m)<=g,a=Math.abs(h-v)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:h-n.helperProportions.width}).left)),!n.snapElements[f].snapping&&(s||r||o||a||d)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=s||r||o||a||d)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var s,r=n.options,o=t.makeArray(t(r.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});o.length&&(s=parseInt(t(o[0]).css("zIndex"),10)||0,t(o).each(function(e){t(this).css("zIndex",s+e)}),this.css("zIndex",s+o.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("zIndex")&&(r._zIndex=s.css("zIndex")),s.css("zIndex",r.zIndex)},stop:function(e,i,n){var s=n.options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}});t.ui.draggable;t.widget("ui.resizable",t.ui.mouse,{version:"1.13.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var n=i&&"left"===i?"scrollLeft":"scrollTop",s=!1;if(e[n]>0)return!0;try{e[n]=1,s=e[n]>0,e[n]=0}catch(t){}return s},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){i.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var e,i,n,s,r,o=this.options,a=this;if(this.handles=o.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this._addedHandles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},i=0;i<n.length;i++)s="ui-resizable-"+(e=String.prototype.trim.call(n[i])),r=t("<div>"),this._addClass(r,"ui-resizable-handle "+s),r.css({zIndex:o.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(r),this._addedHandles=this._addedHandles.add(r));this._renderAxis=function(e){var i,n,s,r;for(i in e=e||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=t(this.handles[i],this.element),r=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),s=["padding",/ne|nw|n
vendor: 4,417 bytes, line 2
2/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(s,r),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){a.resizing||(this.className&&(r=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=r&&r[1]?r[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var i,n,s=!1;for(i in this.handles)((n=t(this.handles[i])[0])===e.target||t.contains(n,e.target))&&(s=!0);return!this.options.disabled&&s},_mouseStart:function(e){var i,n,s,r=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),r.containment&&(i+=t(r.containment).scrollLeft()||0,n+=t(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:i,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,n,s=this.originalMousePosition,r=this.axis,o=e.pageX-s.left||0,a=e.pageY-s.top||0,l=this._change[r];return this._updatePrevProperties(),!!l&&(i=l.apply(this,[e,o,a]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var i,n,s,r,o,a,l,h=this.options,u=this;return this._helper&&(s=(n=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:u.sizeDiff.height,r=n?0:u.sizeDiff.width,o={width:u.helper.width()-r,height:u.helper.height()-s},a=parseFloat(u.element.css("left"))+(u.position.left-u.originalPosition.left)||null,l=parseFloat(u.element.css("top"))+(u.position.top-u.originalPosition.top)||null,h.animate||this.element.css(t.extend(o,{top:l,left:a})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.helper.css(t),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px",this.helper.width(t.width)),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px",this.helper.height(t.height)),t},_updateVirtualBoundaries:function(t){var e,i,n,s,r,o=this.options;r={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||t)&&(e=r.minHeight*this.aspectRatio,n=r.minWidth/this.aspectRatio,i=r.maxHeight*this.aspectRatio,s=r.maxWidth/this.aspectRatio,e>r.minWidth&&(r.minWidth=e),n>r.minHeight&&(r.minHeight=n),i<r.maxWidth&&(r.maxWidth=i),s<r.maxHeight&&(r.maxHeight=s)),this._vBoundaries=r},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 5,125 bytes, line 2
2=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,r=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,o=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return r&&(t.width=e.minWidth),o&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),r&&h&&(t.left=a-e.minWidth),n&&h&&(t.left=a-e.maxWidth),o&&u&&(t.top=l-e.minHeight),s&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],s=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(s[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,s=i._proportionallyResizeElements,r=s.length&&/textarea/i.test(s[0].nodeName),o=r&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,a=r?0:i.sizeDiff.width,l={width:i.size.width-a,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,u=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,u&&h?{top:u,left:h}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&t(s[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,s,r,o,a,l=t(this).resizable("instance"),h=l.options,u=l.element,c=h.containment,f=c instanceof t?c.get(0):/parent/.test(c)?u.parent().get(0):c;f&&(l.containerElement=t(f),/document/.test(c)||c===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(f),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){i[t]=l._num(e.css("padding"+n))}),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHe
vendor: 2,703 bytes, line 2
2ight()-i[3],width:e.innerWidth()-i[1]},n=l.containerOffset,s=l.containerSize.height,r=l.containerSize.width,o=l._hasScroll(f,"left")?f.scrollWidth:r,a=l._hasScroll(f)?f.scrollHeight:s,l.parentData={element:f,left:n.left,top:n.top,width:o,height:a}))},resize:function(e){var i,n,s,r,o=t(this).resizable("instance"),a=o.options,l=o.containerOffset,h=o.position,u=o._aspectRatio||e.shiftKey,c={top:0,left:0},f=o.containerElement,d=!0;f[0]!==document&&/static/.test(f.css("position"))&&(c=l),h.left<(o._helper?l.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-c.left),u&&(o.size.height=o.size.width/o.aspectRatio,d=!1),o.position.left=a.helper?l.left:0),h.top<(o._helper?l.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio,d=!1),o.position.top=o._helper?l.top:0),s=o.containerElement.get(0)===o.element.parent().get(0),r=/relative|absolute/.test(o.containerElement.css("position")),s&&r?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=o.element.offset().top),i=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-c.left:o.offset.left-l.left)),n=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-c.top:o.offset.top-l.top)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,u&&(o.size.height=o.size.width/o.aspectRatio,d=!1)),n+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-n,u&&(o.size.width=o.size.height*o.aspectRatio,d=!1)),d||(o.position.left=o.prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.width,o.size.height=o.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,s=e.containerPosition,r=e.containerElement,o=t(e.helper),a=o.offset(),l=o.outerWidth()-e.sizeDiff.width,h=o.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(r.css("position"))&&t(this).css({left:a.left-s.left-n.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(r.css("position"))&&t(this).css({left:a.left-s.left-n.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.css("width")),height:parseFloat(e.css("height")),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var n=t(this).resizable("instance"),s=n.options,r=n.originalSize,o=n.originalPosition,a={height:n.size.height-r.height||0,width:n.size.width-r.width||0,top:n.position.top-o.top||0,left
vendor: 7,802 bytes, line 2
2:n.position.left-o.left||0};t(s.alsoResize).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),s={},r=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(r,function(t,e){var i=(n[e]||0)+(a[e]||0);i&&i>=0&&(s[e]=i||null)}),e.css(s)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),n=i.options,s=i.size,r=i.originalSize,o=i.originalPosition,a=i.axis,l="number"==typeof n.grid?[n.grid,n.grid]:n.grid,h=l[0]||1,u=l[1]||1,c=Math.round((s.width-r.width)/h)*h,f=Math.round((s.height-r.height)/u)*u,d=r.width+c,p=r.height+f,g=n.maxWidth&&n.maxWidth<d,m=n.maxHeight&&n.maxHeight<p,v=n.minWidth&&n.minWidth>d,_=n.minHeight&&n.minHeight>p;n.grid=l,v&&(d+=h),_&&(p+=u),g&&(d-=h),m&&(p-=u),/^(se|s|e)$/.test(a)?(i.size.width=d,i.size.height=p):/^(ne)$/.test(a)?(i.size.width=d,i.size.height=p,i.position.top=o.top-f):/^(sw)$/.test(a)?(i.size.width=d,i.size.height=p,i.position.left=o.left-c):((p-u<=0||d-h<=0)&&(e=i._getPaddingPlusBorderDimensions(this)),p-u>0?(i.size.height=p,i.position.top=o.top-f):(p=u-e.height,i.size.height=p,i.position.top=o.top+r.height-p),d-h>0?(i.size.width=d,i.position.left=o.left-c):(d=h-e.width,i.size.width=d,i.position.left=o.left+r.width-d))}});t.ui.resizable;t.widget("ui.dialog",{version:"1.13.3",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;i<0&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,i){var n=!1,s=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),r=Math.max.apply(null,s);return r>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",r+1),n=!0),n&&!i&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=t.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||t.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(t){t.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var i=this.uiDialog.find(":tabbable"),n=i.first(),s=i.last();e.target!==s[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){s.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prepe
vendor: 6,920 bytes, line 2
2ndTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||Array.isArray(i)&&!i.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(t.each(i,function(i,n){var s,r;n="function"==typeof n?{click:n,text:i}:n,n=t.extend({type:"button"},n),s=n.click,r={icon:n.icon,iconPosition:n.iconPosition,showLabel:n.showLabel,icons:n.icons,text:n.text},delete n.click,delete n.icon,delete n.iconPosition,delete n.showLabel,delete n.icons,"boolean"==typeof n.text&&delete n.text,t("<button></button>",n).button(r).appendTo(e.uiButtonSet).on("click",function(){s.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var e=this,i=this.options;function n(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,s){e._addClass(t(this),"ui-dialog-dragging"),e._blockFrames(),e._trigger("dragStart",i,n(s))},drag:function(t,i){e._trigger("drag",t,n(i))},stop:function(s,r){var o=r.offset.left-e.document.scrollLeft(),a=r.offset.top-e.document.scrollTop();i.position={my:"left top",at:"left"+(o>=0?"+":"")+o+" top"+(a>=0?"+":"")+a,of:e.window},e._removeClass(t(this),"ui-dialog-dragging"),e._unblockFrames(),e._trigger("dragStop",s,n(r))}})},_makeResizable:function(){var e=this,i=this.options,n=i.resizable,s=this.uiDialog.css("position"),r="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";function o(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:r,start:function(i,n){e._addClass(t(this),"ui-dialog-resizing"),e._blockFrames(),e._trigger("resizeStart",i,o(n))},resize:function(t,i){e._trigger("resize",t,o(i))},stop:function(n,s){var r=e.uiDialog.offset(),a=r.left-e.document.scrollLeft(),l=r.top-e.document.scrollTop();i.height=e.uiDialog.height(),i.width=e.uiDialog.width(),i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(l>=0?"+":"")+l,of:e.window},e._removeClass(t(this),"ui-dialog-resizing"),e._unblockFrames(),e._trigger("resizeStop",n,o(s))}}).css("position",s)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);-1!==i&&e.splice(i,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,s={};t.each(e,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(n=!0),t in i.resizableRelatedOptions&&(s[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,i){var n,s,r=this.uiDialog;"disabled"!==e&&(this._super(e,i),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=r.is(":data(ui-draggable)"))&&!i&&r.draggable("destroy"),!n&&i&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((s=r.is(":data(ui-resizable)"))&&!i&&r.resizable("destroy"),s&&"string"==typeof i&&r.resizable("option","handles",i),s||!1===i||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=t.fn.jquery.substring(0,4),i=!0;this._delay(function(){i=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(t){if(!i){var n=this._trackingInstances()[0];n._allowInteraction(t)||(t.preventDefault(),n._focusTabbable(),"3.4."!==e&&"3.5."!==e&&"3.6."!==e||n._delay(n._restoreTabbableFocus))}}.bind(this)),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==t.uiBackCompat&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});t.ui.dialog;t.widget("ui.droppable",{version:"1.13.3",widgetEventPrefix:"drop",o
vendor: 17,710 bytes, line 2
2ptions:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof i?i:function(t){return t.is(i)},this.proportions=function(){if(!arguments.length)return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});t=arguments[0]},this._addToManager(e.scope),e.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if("accept"===e)this.accept="function"==typeof i?i:function(t){return t.is(i)};else if("scope"===e){var n=t.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var n=i||t.ui.ddmanager.current,s=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");if(i.options.greedy&&!i.options.disabled&&i.options.scope===n.options.scope&&i.accept.call(i.element[0],n.currentItem||n.element)&&t.ui.intersect(n,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,e))return s=!0,!1}),!s&&(!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(n)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),t.ui.intersect=function(){function t(t,e,i){return t>=e&&t<e+i}return function(e,i,n,s){if(!i.offset)return!1;var r=(e.positionAbs||e.position.absolute).left+e.margins.left,o=(e.positionAbs||e.position.absolute).top+e.margins.top,a=r+e.helperProportions.width,l=o+e.helperProportions.height,h=i.offset.left,u=i.offset.top,c=h+i.proportions().width,f=u+i.proportions().height;switch(n){case"fit":return h<=r&&a<=c&&u<=o&&l<=f;case"intersect":return h<r+e.helperProportions.width/2&&a-e.helperProportions.width/2<c&&u<o+e.helperProportions.height/2&&l-e.helperProportions.height/2<f;case"pointer":return t(s.pageY,u,i.proportions().height)&&t(s.pageX,h,i.proportions().width);case"touch":return(o>=u&&o<=f||l>=u&&l<=f||o<u&&l>f)&&(r>=h&&r<=c||a>=h&&a<=c||r<h&&a>c);default:return!1}}}(),t.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,i){var n,s,r=t.ui.ddmanager.droppables[e.options.scope]||[],o=i?i.type:null,a=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(n=0;n<r.length;n++)if(!(r[n].options.disabled||e&&!r[n].accept.call(r[n].element[0],e.currentItem||e.element))){for(s=0;s<a.length;s++)if(a[s]===r[n].element[0]){r[n].proportions().height=0;continue t}r[n].visible="none"!==r[n].element.css("display"),r[n].visible&&("mousedown"===o&&r[n]._activate.call(r[n],i),r[n].offset=r[n].element.offset(),r[n].proportions({width:r[n].element[0].offsetWidth,height:r[n].element[0].offsetHeight}))}},drop:function(e,i){var n=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance,i)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),n},dragStart:function(e,i){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,s,r,o=t.ui.intersect(e,this,this.options.tolerance,i),a=!o&&this.isover?"isout":o&&!this.isover?"isover":null;a&&(this.options.greedy&&(s=this.options.scope,(r=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===s})).length&&((n=t(r[0]).droppable("instance")).greedyChild="isover"===a)),n&&"isover"===a&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[a]=!0,this["isout"===a?"isover":"isout"]=!1,this["isover"===a?"_over":"_out"].call(this,i),n&&"isout"===a&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}},!1!==t.uiBackCompat&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});t.ui.droppable,t.widget("ui.progressbar",{version:"1.13.3",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(i.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),t.widget("ui.selectable",t.ui.mouse,{version:"1.13.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e.elementPos=t(e.element[0]).offset(),e.selectees=t(e.options.filter,e.element[0]),e._addClass(e.selectees,"ui-selectee"),e.selectees.each(function(){var i=t(this),n=i.offset(),s={left:n.left-e.elementPos.left,top:n.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:i,left:s.left,top:s.top,right:s.left+i.outerWidth(),bottom:s.top+i.outerHeight(),startselected:!1,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var i=this,n=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(n.filter,this.element[0]),this._trigger("start",e),t(n.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),n.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var n=t.data(this,"selectable-item");n.startselected=!0,e.metaKey||e.ctrlKey||(i._removeClass(n.$element,"ui-selected"),n.selected=!1,i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,i._trigger("unselecting",e,{unselecting:n.element}))}),t(e.target).parents().addBack().each(function(){var n,s=t.data(this,"selectable-item");if(s)return n=!e.metaKey&&!e.ctrlKey||!s.$element.hasClass("ui-selected"),i._removeClass(s.$element,n?"ui-unselecting":"ui-selected")._addClass(s.$element,n?"ui-selecting":"ui-unselecting"),s.unselecting=!n,s.selecting=n,s.selected=n,n?i._trigger("selecting",e,{selecting:s.element}):i._trigger("unselecting",e,{unselecting:s.element}),!1}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,n=this,s=this.options,r=this.opos[0],o=this.opos[1],a=e.pageX,l=e.pageY;return r>a&&(i=a,a=r,r=i),o>l&&(i=l,l=o,o=i),this.helper.css({left:r,top:o,width:a-r,height:l-o}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),h=!1,u={};i&&i.element!==n.element[0]&&(u.left=i.left+n.elementPos.left,u.right=i.right+n.elementPos.left,u.top=i.top+n.elementPos.top,u.bottom=i.bottom+n.elementPos.top,"touch"===s.tolerance?h=!(u.left>a||u.right<r||u.top>l||u.bottom<o):"fit"===s.tolerance&&(h=u.left>r&&u.right<a&&u.top>o&&u.bottom<l),h?(i.selected&&(n._removeClass(i.$element,"ui-selected"),i.selected=!1),i.unselecting&&(n._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1),i.selecting||(n._addClass(i.$element,"ui-selecting"),i.selecting=!0,n._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,n._addClass(i.$element,"ui-selected"),i.selected=!0):(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,i.startselected&&(n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0),n._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(n._removeClass(i.$element,"ui-selected"),i.selected=!1,n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1,n.startselected=!1,i._trigger("unselected",e,{unselected:n.element})}),t(".ui-selecting",this.element[0]).each(function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-selecting")._addClass(n.$element,"ui-selected"),n.selecting=!1,n.selected=!0,n.startselected=!0,i._trigger("selected",e,{selected:n.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.13.3",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var e,i=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.trigger("focus"),t.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=t("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){i._rendered||i._refreshMenu()})},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,i){t.preventDefault(),e._setSelection(),e._select(i.item.data("ui-selectmenu-item"),t)},focus:function(t,i){var n=i.item.data("ui-selectmenu-item");null!=e.focusIndex&&n.index!==e.focusIndex&&(e._trigger("focus",t,{item:n}),e.isOpen||e._select(n,t)),e.focusIndex=n.index,e.button.attr("aria-activedescendant",e.menuItems.eq(n.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var i=t("<span>");return this._setText(i,e.label),this._addClass(i,"ui-selectmenu-text"),i},_renderMenu:function(e,i){var n=this,s="";t.each(i,function(i,r){var o;r.optgroup!==s&&(o=t("<li>",{text:r.optgroup}),n._addClass(o,"ui-selectmenu-optgroup","ui-menu-divider"+(r.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),o.appendTo(e),s=r.optgroup),n._renderItemData(e,r)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,i){var n=t("<li>"),s=t("<div>",{title:i.element.attr("title")});return i.disabled&&this._addClass(n,null,"ui-state-disabled"),i.hidden?n.prop("hidden",!0):this._setText(s,i.label),n.append(s).appendTo(e)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var i,n,s=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),s+=":not(.ui-state-disabled)"),(n="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](s).eq(-1):i[t+"All"](s).eq(0)).length&&this.menuInstance.focus(e,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 4,372 bytes, line 2
2,_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.trigger("focus"))},_documentClick:{mousedown:function(e){this.isOpen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(e){var i=!0;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),i=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),i=!1}i&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var i=this.button.find("span.ui-icon");this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;!1!==t?(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var i=this,n=[];e.each(function(e,s){n.push(i._parseOption(t(s),e))}),this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),hidden:i.prop("hidden")||t.prop("hidden"),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.13.3",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
vendor: 10,683 bytes, line 2
2,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,n=this.options,s=this.element.find(".ui-slider-handle"),r="<span tabindex='0'></span>",o=[];for(i=n.values&&n.values.length||1,s.length>i&&(s.slice(i).remove(),s=s.slice(0,i)),e=s.length;e<i;e++)o.push(r);this.handles=s.add(t(o.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:Array.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,n,s,r,o,a,l,h=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(i),s=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(n-h.values(e));(s>i||s===i&&(e===h._lastChangedValue||h.values(e)===u.min))&&(s=i,r=t(this),o=e)}),!1!==this._start(e,o)&&(this._mouseSliding=!0,this._handleIndex=o,this._addClass(r,null,"ui-state-active"),r.trigger("focus"),a=r.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-a.left-r.width()/2,top:e.pageY-a.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,s,r;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(n=i/e)>1&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),s=this._valueMax()-this._valueMin(),r=this._valueMin()+n*s,this._trimAlignValue(r)},_uiHash:function(t,e,i){var n={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==e?e:this.values(t),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var n,s=this.value(),r=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),s=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(n,i):Math.max(n,i)),r[e]=i),i!==s&&!1!==this._trigger("slide",t,this._uiHash(e,i,r))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(t,e){var i,n,s;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(t):this.value();for(i=this.options.values,n=arguments[0],s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,e){var i,n=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(t,e),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(e),this.handles.css("horizontal"===e?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;i>=0;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=i>0?e:-e),parseFloat(n.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;(t=Math.round((t-e)/i)*i+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,n,s,r,o=this.options.range,a=this.options,l=this,h=!this._animateOff&&a.animate,u={};this._hasMultipleValues()?this.handles.each(function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[h?"animate":"css"](u,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===n&&l.range.stop(1,1)[h?"animate":"css"]({left:i+"%"},a.animate),1===n&&l.range[h?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:a.animate})):(0===n&&l.range.stop(1,1)[h?"animate":"css"]({bottom:i+"%"},a.animate),1===n&&l.range[h?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:a.animate}))),e=i}):(n=this.value(),s=this._valueMin(),r=this._valueMax(),i=r!==s?(n-s)/(r-s)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[h?"animate":"css"](u,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:i+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:100-i+"%"},a.animate),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:i+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:100-i+"%"},a.animate))},_handleEvents:{keydown:function(e){var i,n,s,r=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,r)))return}switch(s=this.options.step,i=n=this._hasMultipleValues()?this.values(r):this.value(),e.keyCode){case t.ui.keyCode.HOME:n=this._valueMin();break;case t.ui.keyCode.END:n=this._valueMax();break;case t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===this._valueMax())return;n=this._trimAlignValue(i+s);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===this._valueMin())return;n=this._trimAlignValue(i-s)}this._slide(e,r,n)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.13.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null}
vendor: 8,346 bytes, line 2
2,_isOverAxis:function(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var n=null,s=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each(function(){if(t.data(this,r.widgetName+"-item")===r)return n=t(this),!1}),t.data(e.target,r.widgetName+"-item")===r&&(n=t(e.target)),!!n&&(!(this.options.handle&&!i&&(t(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(s=!0)}),!s))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,i,n){var s,r,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=t("parent"!==o.appendTo?o.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),t.extend(this.offset,{parent:this._getParentOffset()}),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",o.cursor),this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(r)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(t){var e=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),i},_mouseDrag:function(e){var i,n,s,r,o=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),o.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},i=this.items.length-1;i>=0;i--)if(s=(n=this.items[i]).item[0],(r=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===s||t.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],s))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,s=this.placeholder.offset(),r=this.options.axis,o={};r&&"x"!==r||(o.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(o.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&n.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!n.length&&e.key&&n.push(e.key+"="),n.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each(function(){n.push(t(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,r=t.left,o=r+t.width,a=t.to
vendor: 10,887 bytes, line 2
2p,l=a+t.height,h=this.offset.click.top,u=this.offset.click.left,c="x"===this.options.axis||n+h>a&&n+h<l,f="y"===this.options.axis||e+u>r&&e+u<o,d=c&&f;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?d:r<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e,i,n="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!n||!s)&&(e=this.dragDirection.vertical,i=this.dragDirection.horizontal,this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this.dragDirection.vertical,s=this.dragDirection.horizontal;return this.floating&&s?"right"===s&&i||"left"===s&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,s,r,o=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(n=(s=t(l[i],this.document[0])).length-1;n>=0;n--)(r=t.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&a.push(["function"==typeof r.options.items?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);function h(){o.push(this)}for(a.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;i>=0;i--)a[i][0].each(h);return t(o)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,n,s,r,o,a,l,h,u=this.items,c=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(i=f.length-1;i>=0;i--)for(n=(s=t(f[i],this.document[0])).length-1;n>=0;n--)(r=t.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&(c.push(["function"==typeof r.options.items?r.options.items.call(r.element[0],e,{item:this.currentItem}):t(r.options.items,r.element),r]),this.containers.push(r));for(i=c.length-1;i>=0;i--)for(o=c[i][1],n=0,h=(a=c[i][0]).length;n<h;n++)(l=t(a[n])).data(this.widgetName+"-item",o),u.push({item:l,instance:o,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){var i,n,s,r;for(i=this.items.length-1;i>=0;i--)n=this.items[i],this.currentContainer&&n.instance!==this.currentContainer&&n.item[0]!==this.currentItem[0]||(s=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=s.outerWidth(),n.height=s.outerHeight()),r=s.offset(),n.left=r.left,n.top=r.top)},refreshPositions:function(t){var e,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;e>=0;e--)i=this.containers[e].element.offset(),this.containers[e].containerCache.left=i.left,this.containers[e].containerCache.top=i.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(e){var i,n,s=(e=e||this).options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,n=e.currentItem[0].nodeName.toLowerCase(),s.placeholder={element:function(){var s=t("<"+n+">",e.document[0]);return e._addClass(s,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(s,"ui-sortable-helper"),"tbody"===n?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(s)):"tr"===n?e._createTrPlaceholder(e.currentItem,s):"img"===n&&s.attr("src",e.currentItem.attr("src")),i||s.css("visibility","hidden"),s},update:function(t,r){i&&!s.forcePlaceholderSize||(r.height()&&(!s.forcePlaceholderSize||"tbody"!==n&&"tr"!==n)||r.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),r.width()||r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var n=this;e.children().each(function(){t("<td>&#160;</td>",n.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(e){var i,n,s,r,o,a,l,h,u,c,f=null,d=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(f&&t.contains(this.containers[i].element[0],f.element[0]))continue;f=this.containers[i],d=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(s=1e4,r=null,o=(u=f.floating||this._isFloating(this.currentItem))?"left":"top",a=u?"width":"height",c=u?"pageX":"pageY",n=this.items.length-1;n>=0;n--)t.contains(this.containers[d].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[o],h=!1,e[c]-l>this.items[n][a]/2&&(h=!0),Math.abs(e[c]-l)<s&&(s=Math.abs(e[c]-l),r=this.items[n],this.direction=h?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return void(this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var i=this.options,n="function"==typeof i.helper?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||this.appendTo[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!i.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!i.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,s=this.options;"parent"===s.containment&&(s.containment=this.helper[0].parentNode),"document"!==s.containment&&"window"!==s.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===s.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===s.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(s.containment)||(e=t(s.containment)[0],i=t(s.containment).offset(),n="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),
vendor: 4,288 bytes, line 2
210)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var n="absolute"===e?1:-1,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(s[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:s.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:s.scrollLeft())*n}},_generatePosition:function(e){var i,n,s=this.options,r=e.pageX,o=e.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(r=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(r=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),s.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/s.grid[1])*s.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-s.grid[1]:i+s.grid[1]:i,n=this.originalPageX+Math.round((r-this.originalPageX)/s.grid[0])*s.grid[0],r=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-s.grid[0]:n+s.grid[0]:n)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function s(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;
vendor: 2,164 bytes, line 2
2i--)e||n.push(s("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(s("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}});function j(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.13.3",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),i=this.element;return t.each(["min","max","step"],function(t,n){var s=i.attr(n);null!=s&&s.length&&(e[n]=s)}),e}
vendor: 19,388 bytes, line 2
2,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(e,i){var n=t.ui.safeActiveElement(this.document[0]);if(this.element[0]===n&&i){if(!this.spinning&&!this._start(e))return!1;this._spin((i>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){var i;function n(){this.element[0]===t.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}i=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(e)&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(t(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,i.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?"function"==typeof e?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return i=t-(e=null!==n.min?n.min:0),t=e+(i=Math.round(i/n.step)*n.step),t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i,n,s;if("culture"===t||"numberFormat"===t)return i=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(i));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(n=this.buttons.first().find(".ui-icon"),this._removeClass(n,null,this.options.icons.up),this._addClass(n,null,e.up),s=this.buttons.last().find(".ui-icon"),this._removeClass(s,null,this.options.icons.down),this._addClass(s,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:j(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:j(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:j(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:j(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:j(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());j(this._value).call(this,t)},widget:function(){return this.uiSpinner}}),!1!==t.uiBackCompat&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});t.ui.spinner;t.widget("ui.tabs",{version:"1.13.3",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var t=/#.*$/;return function(e){var i,n;i=e.href.replace(t,""),n=location.href.replace(t,"");try{i=decodeURIComponent(i)}catch(t){}try{n=decodeURIComponent(n)}catch(t){}return e.hash.length>1&&i===n}}(),_create:function(){var e=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),Array.isArray(i.disabled)&&(i.disabled=t.uniqueSort(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(i.active):this.active=t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===e&&(n&&this.tabs.each(function(i,s){if(t(s).attr("aria-controls")===n)return e=i,!1}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==e&&-1!==e||(e=!!this.tabs.length&&0)),!1!==e&&-1===(e=this.tabs.index(this.tabs.eq(e)))&&(e=!i&&0),!i&&!1===e&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),s=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:s=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,s),e.ctrlKey||e.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){var n=this.tabs.length-1;function s(){return e>n&&(e=0),e<0&&(e=n),e}for(;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"!==t?(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._activate(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,i=this.tabs,n=this.anchors,s=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(i,n){var s,r,o,a=t(n).uniqueId().attr("id"),l=t(n).closest("li"),h=l.attr("aria-controls");e._isLocal(n)?(o=(s=n.hash).substring(1),r=e.element.find(e._sanitizeSelector(s))):(s="#"+(o=l.attr("aria-controls")||t({}).uniqueId()[0].id),(r=e.element.find(s)).length||(r=e._createPanel(o)).insertAfter(e.panels[i-1]||e.tablist),r.attr("aria-live","polite")),r.length&&(e.panels=e.panels.add(r)),h&&l.data("ui-tabs-aria-controls",h),l.attr({"aria-controls":o,"aria-labelledby":a}),r.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(n.not(this.anchors)),this._off(s.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var i,n,s;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),s=0;n=this.tabs[s];s++)i=t(n),!0===e||-1!==t.inArray(s,e)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,n=this.element.parent();"fill"===e?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),n=e.css("position");"absolute"!==n&&"fixed"!==n&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,n=this.active,s=t(e.currentTarget).closest("li"),r=s[0]===n[0],o=r&&i.collapsible,a=o?t():this._getPanelForTab(s),l=n.length?this._getPanelForTab(n):t(),h={oldTab:n,oldPanel:l,newTab:o?t():s,newPanel:a};e.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||r&&!i.collapsible||!1===this._trigger("beforeActivate",e,h)||(i.active=!o&&this.tabs.index(s),this.active=r?t():s,this.xhr&&this.xhr.abort(),l.length||a.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(s),e),this._toggle(e,h))},_toggle:function(e,i){var n=this,s=i.newPanel,r=i.oldPanel;function o(){n.running=!1,n._trigger("activate",e,i)}function a(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&n.options.show?n._show(s,n.options.show,o):(s.show(),o())}this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){n._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r.hide(),a()),r.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),s.length&&r.length?i.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var i,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),i=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var i=this.options.disabled;!1!==i&&(void 0===e?i=!1:(e=this._getIndex(e),i=Array.isArray(i)?t.map(i,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,i){return i!==e?i:null})),this._setOptionDisabled(i))},disable:function(e){var i=this.options.disabled;if(!0!==i){if(void 0===e)i=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,i))return;i=Array.isArray(i)?t.merge([e],i).sort():[e]}this._setOptionDisabled(i)}},load:function(e,i){e=this._getIndex(e);var n=this,s=this.tabs.eq(e),r=s.find(".ui-tabs-anchor"),o=this._getPanelForTab(s),a={tab:s,panel:o},l=function(t,e){"abort"===e&&n.panels.stop(!1,!0),n._removeClass(s,"ui-tabs-loading"),o.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr};this._isLocal(r[0])||(this.xhr=t.ajax(this._ajaxSettings(r,i,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(s,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(t,e,s){setTimeout(function(){o.html(t),n._trigger("load",i,a),l(s,e)},1)}).fail(function(t,e){setTimeout(function(){l(t,e)},1)})))},_ajaxSettings:function(e,i,n){var s=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,r){return s._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:r},n))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});t.ui.tabs;t.widget("ui.tooltip",{version:"1.13.3",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title");return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,e){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",String.prototype.trim.call(i.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),s=t.inArray(i,n);-1!==s&&n.splice(s,1),e.removeData("ui-tooltip-id"),(n=String.prototype.trim.call(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var n=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){n._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,n){var s=t.Event("blur");
vendor: 4,547 bytes, line 2
2s.target=s.currentTarget=n.element[0],e.close(s,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);n.length&&!n.data("ui-tooltip-id")&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&n.parents().each(function(){var e,n=t(this);n.data("ui-tooltip-open")&&((e=t.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),n.attr("title")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr("title")},n.attr("title",""))}),this._registerCloseHandlers(e,n),this._updateContent(n,e))},_updateContent:function(t,e){var i,n=this.options.content,s=this,r=e?e.type:null;if("string"==typeof n||n.nodeType||n.jquery)return this._open(e,t,n);(i=n.call(t[0],function(i){s._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=r),this._open(e,t,i))})}))&&this._open(e,t,i)},_open:function(e,i,n){var s,r,o,a,l=t.extend({},this.options.position);function h(t){l.of=t,r.is(":hidden")||r.position(l)}n&&((s=this._find(i))?s.tooltip.find(".ui-tooltip-content").html(n):(i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),s=this._tooltip(i),r=s.tooltip,this._addDescribedBy(i,r.attr("id")),r.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(a=t("<div>").html(r.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),a.removeAttr("id").find("[id]").removeAttr("id"),a.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:h}),h(e)):r.position(t.extend({of:i},this.options.position)),r.hide(),this._show(r,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(o=this.delayedShow=setInterval(function(){r.is(":visible")&&(h(l.of),clearInterval(o))},13)),this._trigger("open",e,{tooltip:r})))},_registerCloseHandlers:function(e,i){var n={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var n=t.Event(e);n.currentTarget=i[0],this.close(n,!0)}}};i[0]!==this.element[0]&&(n.remove=function(){var t=this._find(i);t&&this._removeTooltip(t.tooltip)}),e&&"mouseover"!==e.type||(n.mouseleave="close"),e&&"focusin"!==e.type||(n.focusout="close"),this._on(!0,i,n)},close:function(e){var i,n=this,s=t(e?e.currentTarget:this.element),r=this._find(s);r?(i=r.tooltip,r.closing||(clearInterval(this.delayedShow),s.data("ui-tooltip-title")&&!s.attr("title")&&s.attr("title",s.data("ui-tooltip-title")),this._removeDescribedBy(s),r.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){n._removeTooltip(t(this))}),s.removeData("ui-tooltip-open"),this._off(s,"mouseleave focusout keyup"),s[0]!==this.element[0]&&this._off(s,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete n.parents[e]}),r.closing=!0,this._trigger("close",e,{tooltip:i}),r.hiding||(r.closing=!1))):s.removeData("ui-tooltip-open")},_tooltip:function(e){var i=t("<div>").attr("role","tooltip"),n=t("<div>").appendTo(i),s=i.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[s]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){clearInterval(this.delayedShow),t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(i,n){var s=t.Event("blur"),r=n.element;s.target=s.currentTarget=r[0],e.close(s,!0),t("#"+i).remove(),r.data("ui-tooltip-title")&&(r.attr("title")||r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==t.uiBackCompat&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}});t.ui.tooltip},void 0===(r="function"==typeof n?n.apply(e,s):n)||(t.exports=r)}()}
2,879(t){!function(e){var i=function(t,e,i){"use strict";var n,s;if(function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in s=t.lazySizesConfig||t.lazysizesConfig||{},i)e in s||(s[e]=i[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:s,noSupport:!0};var r=e.documentElement,o=t.HTMLPictureElement,a="addEventListener",l="getAttribute",h=t[a].bind(t),u=t.setTimeout,c=t.requestAnimationFrame||u,f=t.requestIdleCallback,d=/^picture$/i,p=["load","error","lazyincluded","_lazyloaded"],g={},m=Array.prototype.forEach,v=function(t,e){return g[e]||(g[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),g[e].test(t[l]("class")||"")&&g[e]},_=function(t,e){v(t,e)||t.setAttribute("class",(t[l]("class")||"").trim()+" "+e)},b=function(t,e){var i;(i=v(t,e))&&t.setAttribute("class",(t[l]("class")||"").replace(i," "))},y=function(t,e,i){var n=i?a:"removeEventListener";i&&y(t,e),p.forEach(function(i){t[n](i,e)})},w=function(t,i,s,r,o){var a=e.createEvent("Event");return s||(s={}),s.instance=n,a.initEvent(i,!r,!o),a.detail=s,t.dispatchEvent(a),a},x=function(e,i){var n;!o&&(n=t.picturefill||s.pf)?(i&&i.src&&!e[l]("srcset")&&e.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},k=function(t,e){return(getComputedStyle(t,null)||{})[e]},C=function(t,e,i){for(i=i||t.offsetWidth;i<s.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},D=(_t=[],bt=[],yt=_t,wt=function(){var t=yt;for(yt=_t.length?bt:_t,mt=!0,vt=!1;t.length;)t.shift()();mt=!1},xt=function(t,i){mt&&!i?t.apply(this,arguments):(yt.push(t),vt||(vt=!0,(e.hidden?u:c)(wt)))},xt._lsFlush=wt,xt),I=function(t,e){return e?function(){D(t)}:function(){var e=this,i=arguments;D(function(){t.apply(e,i)})}},T=function(t){var e,n=0,r=s.throttleDelay,o=s.ricTimeout,a=function(){e=!1,n=i.now(),t()},l=f&&o>49?function(){f(a,{timeout:o}),o!==s.ricTimeout&&(o=s.ricTimeout)}:I(function(){u(a)},!0);return function(t){var s;(t=!0===t)&&(o=33),e||(e=!0,(s=r-(i.now()-n))<0&&(s=0),t||s<9?l():u(l,s))}},S=function(t){var e,n,s=99,r=function(){e=null,t()},o=function(){var t=i.now()-n;t<s?u(o,s-t):(f||r)(r)};return function(){n=i.now(),e||(e=u(o,s))}},P=(V=/^img$/i,X=/^iframe$/i,G="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),Z=0,J=0,Q=0,tt=-1,et=function(t){Q--,(!t||Q<0||!t.target)&&(Q=0)},it=function(t){return null==K&&(K="hidden"==k(e.body,"visibility")),K||!("hidden"==k(t.parentNode,"visibility")&&"hidden"==k(t,"visibility"))},nt=function(t,i){var n,s=t,o=it(t);for(Y-=i,$+=i,q-=i,U+=i;o&&(s=s.offsetParent)&&s!=e.body&&s!=r;)(o=(k(s,"opacity")||1)>0)&&"visible"!=k(s,"overflow")&&(n=s.getBoundingClientRect(),o=U>n.left&&q<n.right&&$>n.top-1&&Y<n.bottom+1);return o},st=function(){var t,i,o,a,h,u,c,f,d,p,g,m,v=n.elements;if((j=s.loadMode)&&Q<8&&(t=v.length)){for(i=0,tt++;i<t;i++)if(v[i]&&!v[i]._lazyRace)if(!G||n.prematureUnveil&&n.prematureUnveil(v[i]))ft(v[i]);else if((f=v[i][l]("data-expand"))&&(u=1*f)||(u=J),p||(p=!s.expand||s.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:s.expand,n._defEx=p,g=p*s.expFactor,m=s.hFac,K=null,J<g&&Q<1&&tt>2&&j>2&&!e.hidden?(J=g,tt=0):J=j>1&&tt>1&&Q<6?p:Z),d!==u&&(F=innerWidth+u*m,B=innerHeight+u,c=-1*u,d=u),o=v[i].getBoundingClientRect(),($=o.bottom)>=c&&(Y=o.top)<=B&&(U=o.right)>=c*m&&(q=o.left)<=F&&($||U||q||Y)&&(s.loadHidden||it(v[i]))&&(N&&Q<3&&!f&&(j<3||tt<4)||nt(v[i],u))){if(ft(v[i]),h=!0,Q>9)break}else!h&&N&&!a&&Q<4&&tt<4&&j>2&&(H[0]||s.preloadAfterLoad)&&(H[0]||!f&&($||U||q||Y||"auto"!=v[i][l](s.sizesAttr)))&&(a=H[0]||v[i]);a&&!h&&ft(a)}},rt=T(st),ot=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(et(t),_(e,s.loadedClass),b(e,s.loadingClass),y(e,lt),w(e,"lazyloaded"))},at=I(ot),lt=function(t){at({target:t.target})},ht=function(t,e){var i=t.getAttribute("data-load-mode")||s.iframeLoadMode;0==i?t.contentWindow.location.replace(e):1==i&&(t.src=e)},ut=function(t){var e,i=t[l](s.srcsetAttr);(e=s.customMedia[t[l]("data-media")||t[l]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)}
2,ct=I(function(t,e,i,n,r){var o,a,h,c,f,p;(f=w(t,"lazybeforeunveil",e)).defaultPrevented||(n&&(i?_(t,s.autosizesClass):t.setAttribute("sizes",n)),a=t[l](s.srcsetAttr),o=t[l](s.srcAttr),r&&(c=(h=t.parentNode)&&d.test(h.nodeName||"")),p=e.firesLoad||"src"in t&&(a||o||c),f={target:t},_(t,s.loadingClass),p&&(clearTimeout(R),R=u(et,2500),y(t,lt,!0)),c&&m.call(h.getElementsByTagName("source"),ut),a?t.setAttribute("srcset",a):o&&!c&&(X.test(t.nodeName)?ht(t,o):t.src=o),r&&(a||c)&&x(t,{src:o})),t._lazyRace&&delete t._lazyRace,b(t,s.lazyClass),D(function(){var e=t.complete&&t.naturalWidth>1;p&&!e||(e&&_(t,s.fastLoadedClass),ot(f),t._lazyCache=!0,u(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&Q--},!0)}),ft=function(t){if(!t._lazyRace){var e,i=V.test(t.nodeName),n=i&&(t[l](s.sizesAttr)||t[l]("sizes")),r="auto"==n;(!r&&N||!i||!t[l]("src")&&!t.srcset||t.complete||v(t,s.errorClass)||!v(t,s.lazyClass))&&(e=w(t,"lazyunveilread").detail,r&&M.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,Q++,ct(t,e,r,n,i))}},dt=S(function(){s.loadMode=3,rt()}),pt=function(){3==s.loadMode&&(s.loadMode=2),dt()},gt=function(){N||(i.now()-L<999?u(gt,999):(N=!0,s.loadMode=3,rt(),h("scroll",pt,!0)))},{_:function(){L=i.now(),n.elements=e.getElementsByClassName(s.lazyClass),H=e.getElementsByClassName(s.lazyClass+" "+s.preloadClass),h("scroll",rt,!0),h("resize",rt,!0),h("pageshow",function(t){if(t.persisted){var i=e.querySelectorAll("."+s.loadingClass);i.length&&i.forEach&&c(function(){i.forEach(function(t){t.complete&&ft(t)})})}}),t.MutationObserver?new MutationObserver(rt).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[a]("DOMNodeInserted",rt,!0),r[a]("DOMAttrModified",rt,!0),setInterval(rt,999)),h("hashchange",rt,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){e[a](t,rt,!0)}),/d$|^c/.test(e.readyState)?gt():(h("load",gt),e[a]("DOMContentLoaded",rt),u(gt,2e4)),n.elements.length?(st(),D._lsFlush()):rt()},checkElems:rt,unveil:ft,_aLSL:pt}),M=(E=I(function(t,e,i,n){var s,r,o;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),d.test(e.nodeName||""))for(r=0,o=(s=e.getElementsByTagName("source")).length;r<o;r++)s[r].setAttribute("sizes",n);i.detail.dataAttr||x(t,i.detail)}),O=function(t,e,i){var n,s=t.parentNode;s&&(i=C(t,s,i),(n=w(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=n.detail.width)&&i!==t._lazysizesWidth&&E(t,s,n,i))},W=S(function(){var t,e=z.length;if(e)for(t=0;t<e;t++)O(z[t])}),{_:function(){z=e.getElementsByClassName(s.autosizesClass),h("resize",W)},checkElems:W,updateElem:O}),A=function(){!A.i&&e.getElementsByClassName&&(A.i=!0,M._(),P._())};var z,E,O,W;var H,N,R,j,L,F,B,Y,q,U,$,K,V,X,G,Z,J,Q,tt,et,it,nt,st,rt,ot,at,lt,ht,ut,ct,ft,dt,pt,gt;var mt,vt,_t,bt,yt,wt,xt;return u(function(){s.init&&A()}),n={cfg:s,autoSizer:M,loader:P,init:A,uP:x,aC:_,rC:b,hC:v,fire:w,gW:C,rAF:D}}(e,e.document,Date);e.lazySizes=i,t.exports&&(t.exports=i)}("undefined"!=typeof window?window:{})},543(t,e,i){var n;t=i.nmd(t),function(){var s,r="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,h=32,u=64,c=128,f=256,d=1/0,p=9007199254740991,g=NaN,m=4294967295,v=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",h],["partialRight",u],["rearg",f]],_="[object Arguments]",b="[object Array]",y="[object Boolean]",w="[object Date]",x="[object Error]",k="[object Function]",C="[object GeneratorFunction]",D="[object Map]",I="[object Number]",T="[object Object]",S="[object Promise]",P="[object RegExp]",M="[object Set]",A="[object String]",z="[object Symbol]",E="[object WeakMap]",O="[object ArrayBuffer]",W="[object DataView]",H="[object Float32Array]",N="[object Float64Array]",R="[object Int8Array]",j="[object Int16Array]",L="[object Int32Array]",F="[object Uint8Array]",B="[object Uint8ClampedArray]",Y="[object Uint16Array]",q="[object Uint32Array]",U=/\b__p \+= '';/g,$=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,G=RegExp(V.source),Z=RegExp(X.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,st=/[\\^$.*+?()[\]{}|]/g,rt=RegExp(st.source),ot=/^\s+/,at=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ht=/\{\n\/\* \[wrapped with (.+)\] \*/,ut=/,? & /,ct=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ft=/[()=,{}\[\]\/\s]/,dt=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,mt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,_t=/^\[object .+?Constructor\]$/,bt=/^0o[0-7]+$/i,yt=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 62,021 bytes, line 2
27f]/g,xt=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,Ct="\\ud800-\\udfff",Dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",It="\\u2700-\\u27bf",Tt="a-z\\xdf-\\xf6\\xf8-\\xff",St="A-Z\\xc0-\\xd6\\xd8-\\xde",Pt="\\ufe0e\\ufe0f",Mt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",At="['’]",zt="["+Ct+"]",Et="["+Mt+"]",Ot="["+Dt+"]",Wt="\\d+",Ht="["+It+"]",Nt="["+Tt+"]",Rt="[^"+Ct+Mt+Wt+It+Tt+St+"]",jt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+Ct+"]",Ft="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+St+"]",qt="\\u200d",Ut="(?:"+Nt+"|"+Rt+")",$t="(?:"+Yt+"|"+Rt+")",Kt="(?:['’](?:d|ll|m|re|s|t|ve))?",Vt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xt="(?:"+Ot+"|"+jt+")"+"?",Gt="["+Pt+"]?",Zt=Gt+Xt+("(?:"+qt+"(?:"+[Lt,Ft,Bt].join("|")+")"+Gt+Xt+")*"),Jt="(?:"+[Ht,Ft,Bt].join("|")+")"+Zt,Qt="(?:"+[Lt+Ot+"?",Ot,Ft,Bt,zt].join("|")+")",te=RegExp(At,"g"),ee=RegExp(Ot,"g"),ie=RegExp(jt+"(?="+jt+")|"+Qt+Zt,"g"),ne=RegExp([Yt+"?"+Nt+"+"+Kt+"(?="+[Et,Yt,"$"].join("|")+")",$t+"+"+Vt+"(?="+[Et,Yt+Ut,"$"].join("|")+")",Yt+"?"+Ut+"+"+Kt,Yt+"+"+Vt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Wt,Jt].join("|"),"g"),se=RegExp("["+qt+Ct+Dt+Pt+"]"),re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ae=-1,le={};le[H]=le[N]=le[R]=le[j]=le[L]=le[F]=le[B]=le[Y]=le[q]=!0,le[_]=le[b]=le[O]=le[y]=le[W]=le[w]=le[x]=le[k]=le[D]=le[I]=le[T]=le[P]=le[M]=le[A]=le[E]=!1;var he={};he[_]=he[b]=he[O]=he[W]=he[y]=he[w]=he[H]=he[N]=he[R]=he[j]=he[L]=he[D]=he[I]=he[T]=he[P]=he[M]=he[A]=he[z]=he[F]=he[B]=he[Y]=he[q]=!0,he[x]=he[k]=he[E]=!1;var ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ce=parseFloat,fe=parseInt,de="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,pe="object"==typeof self&&self&&self.Object===Object&&self,ge=de||pe||Function("return this")(),me=e&&!e.nodeType&&e,ve=me&&t&&!t.nodeType&&t,_e=ve&&ve.exports===me,be=_e&&de.process,ye=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||be&&be.binding&&be.binding("util")}catch(t){}}(),we=ye&&ye.isArrayBuffer,xe=ye&&ye.isDate,ke=ye&&ye.isMap,Ce=ye&&ye.isRegExp,De=ye&&ye.isSet,Ie=ye&&ye.isTypedArray;function Te(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function Se(t,e,i,n){for(var s=-1,r=null==t?0:t.length;++s<r;){var o=t[s];e(n,o,i(o),t)}return n}function Pe(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t}function Me(t,e){for(var i=null==t?0:t.length;i--&&!1!==e(t[i],i,t););return t}function Ae(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(!e(t[i],i,t))return!1;return!0}function ze(t,e){for(var i=-1,n=null==t?0:t.length,s=0,r=[];++i<n;){var o=t[i];e(o,i,t)&&(r[s++]=o)}return r}function Ee(t,e){return!!(null==t?0:t.length)&&Ye(t,e,0)>-1}function Oe(t,e,i){for(var n=-1,s=null==t?0:t.length;++n<s;)if(i(e,t[n]))return!0;return!1}function We(t,e){for(var i=-1,n=null==t?0:t.length,s=Array(n);++i<n;)s[i]=e(t[i],i,t);return s}function He(t,e){for(var i=-1,n=e.length,s=t.length;++i<n;)t[s+i]=e[i];return t}function Ne(t,e,i,n){var s=-1,r=null==t?0:t.length;for(n&&r&&(i=t[++s]);++s<r;)i=e(i,t[s],s,t);return i}function Re(t,e,i,n){var s=null==t?0:t.length;for(n&&s&&(i=t[--s]);s--;)i=e(i,t[s],s,t);return i}function je(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1}var Le=Ke("length");function Fe(t,e,i){var n;return i(t,function(t,i,s){if(e(t,i,s))return n=i,!1}),n}function Be(t,e,i,n){for(var s=t.length,r=i+(n?1:-1);n?r--:++r<s;)if(e(t[r],r,t))return r;return-1}function Ye(t,e,i){return e==e?function(t,e,i){var n=i-1,s=t.length;for(;++n<s;)if(t[n]===e)return n;return-1}(t,e,i):Be(t,Ue,i)}function qe(t,e,i,n){for(var s=i-1,r=t.length;++s<r;)if(n(t[s],e))return s;return-1}function Ue(t){return t!=t}function $e(t,e){var i=null==t?0:t.length;return i?Ge(t,e)/i:g}function Ke(t){return function(e){return null==e?s:e[t]}}function Ve(t){return function(e){return null==t?s:t[e]}}function Xe(t,e,i,n,s){return s(t,function(t,s,r){i=n?(n=!1,t):e(i,t,s,r)}),i}function Ge(t,e){for(var i,n=-1,r=t.length;++n<r;){var o=e(t[n]);o!==s&&(i=i===s?o:i+o)}return i}function Ze(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}function Je(t){return t?t.slice(0,gi(t)+1).replace(ot,""):t}function Qe(t){return function(e){return t(e)}}function ti(t,e){return We(e,function(e){return t[e]})}function ei(t,e){return t.has(e)}function ii(t,e){for(var i=-1,n=t.length;++i<n&&Ye(e,t[i],0)>-1;);return i}function ni(t,e){for(var i=t.length;i--&&Ye(e,t[i],0)>-1;);return i}var si=Ve({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ri=Ve({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function oi(t){return"\\"+ue[t]}function ai(t){return se.test(t)}function li(t){var e=-1,i=Array(t.size);return t.forEach(function(t,n){i[++e]=[n,t]}),i}function hi(t,e){return function(i){return t(e(i))}}function ui(t,e){for(var i=-1,n=t.length,s=0,r=[];++i<n;){var o=t[i];o!==e&&o!==a||(t[i]=a,r[s++]=i)}return r}function ci(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=t}),i}function fi(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=[t,t]}),i}function di(t){return ai(t)?function(t){var e=ie.lastIndex=0;for(;ie.test(t);)++e;return e}(t):Le(t)}function pi(t){return ai(t)?function(t){return t.match(ie)||[]}(t):function(t){return t.split("")}(t)}function gi(t){for(var e=t.length;e--&&at.test(t.charAt(e)););return e}var mi=Ve({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vi=function t(e){var i,n=(e=null==e?ge:vi.defaults(ge.Object(),e,vi.pick(ge,oe))).Array,at=e.Date,Ct=e.Error,Dt=e.Function,It=e.Math,Tt=e.Object,St=e.RegExp,Pt=e.String,Mt=e.TypeError,At=n.prototype,zt=Dt.prototype,Et=Tt.prototype,Ot=e["__core-js_shared__"],Wt=zt.toString,Ht=Et.hasOwnProperty,Nt=0,Rt=(i=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",jt=Et.toString,Lt=Wt.call(Tt),Ft=ge._,Bt=St("^"+Wt.call(Ht).replace(st,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Yt=_e?e.Buffer:s,qt=e.Symbol,Ut=e.Uint8Array,$t=Yt?Yt.allocUnsafe:s,Kt=hi(Tt.getPrototypeOf,Tt),Vt=Tt.create,Xt=Et.propertyIsEnumerable,Gt=At.splice,Zt=qt?qt.isConcatSpreadable:s,Jt=qt?qt.iterator:s,Qt=qt?qt.toStringTag:s,ie=function(){try{var t=fr(Tt,"defineProperty");return t({},"",{}),t}catch(t){}}(),se=e.clearTimeout!==ge.clearTimeout&&e.clearTimeout,ue=at&&at.now!==ge.Date.now&&at.now,de=e.setTimeout!==ge.setTimeout&&e.setTimeout,pe=It.ceil,me=It.floor,ve=Tt.getOwnPropertySymbols,be=Yt?Yt.isBuffer:s,ye=e.isFinite,Le=At.join,Ve=hi(Tt.keys,Tt),_i=It.max,bi=It.min,yi=at.now,wi=e.parseInt,xi=It.random,ki=At.reverse,Ci=fr(e,"DataView"),Di=fr(e,"Map"),Ii=fr(e,"Promise"),Ti=fr(e,"Set"),Si=fr(e,"WeakMap"),Pi=fr(Tt,"create"),Mi=Si&&new Si,Ai={},zi=Rr(Ci),Ei=Rr(Di),Oi=Rr(Ii),Wi=Rr(Ti),Hi=Rr(Si),Ni=qt?qt.prototype:s,Ri=Ni?Ni.valueOf:s,ji=Ni?Ni.toString:s;function Li(t){if(ia(t)&&!Uo(t)&&!(t instanceof qi)){if(t instanceof Yi)return t;if(Ht.call(t,"__wrapped__"))return jr(t)}return new Yi(t)}var Fi=function(){function t(){}return function(e){if(!ea(e))return{};if(Vt)return Vt(e);t.prototype=e;var i=new t;return t.prototype=s,i}}();function Bi(){}function Yi(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=s}function qi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Ui(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function $i(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Ki(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Vi(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new Ki;++e<i;)this.add(t[e])}function Xi(t){var e=this.__data__=new $i(t);this.size=e.size}function Gi(t,e){var i=Uo(t),n=!i&&qo(t),s=!i&&!n&&Xo(t),r=!i&&!n&&!s&&ua(t),o=i||n||s||r,a=o?Ze(t.length,Pt):[],l=a.length;for(var h in t)!e&&!Ht.call(t,h)||o&&("length"==h||s&&("offset"==h||"parent"==h)||r&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||br(h,l))||a.push(h);return a}function Zi(t){var e=t.length;return e?t[Xn(0,e-1)]:s}function Ji(t,e){return Wr(Ms(t),ln(e,0,t.length))}function Qi(t){return Wr(Ms(t))}function tn(t,e,i){(i!==s&&!Fo(t[e],i)||i===s&&!(e in t))&&on(t,e,i)}function en(t,e,i){var n=t[e];Ht.call(t,e)&&Fo(n,i)&&(i!==s||e in t)||on(t,e,i)}function nn(t,e){for(var i=t.length;i--;)if(Fo(t[i][0],e))return i;return-1}function sn(t,e,i,n){return dn(t,function(t,s,r){e(n,t,i(t),r)}),n}function rn(t,e){return t&&As(e,za(e),t)}function on(t,e,i){"__proto__"==e&&ie?ie(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}function an(t,e){for(var i=-1,r=e.length,o=n(r),a=null==t;++i<r;)o[i]=a?s:Ta(t,e[i]);return o}function ln(t,e,i){return t==t&&(i!==s&&(t=t<=i?t:i),e!==s&&(t=t>=e?t:e)),t}function hn(t,e,i,n,r,o){var a,l=1&e,h=2&e,u=4&e;if(i&&(a=r?i(t,n,r,o):i(t)),a!==s)return a;if(!ea(t))return t;var c=Uo(t);if(c){if(a=function(t){var e=t.length,i=new t.constructor(e);e&&"string"==typeof t[0]&&Ht.call(t,"index")&&(i.index=t.index,i.input=t.input);return i}(t),!l)return Ms(t,a)}else{var f=gr(t),d=f==k||f==C;if(Xo(t))return Cs(t,l);if(f==T||f==_||d&&!r){if(a=h||d?{}:vr(t),!l)return h?function(t,e){return As(t,pr(t),e)}(t,function(t,e){return t&&As(e,Ea(e),t)}(a,t)):function(t,e){return As(t,dr(t),e)}(t,rn(a,t))}else{if(!he[f])return r?t:{};a=function(t,e,i){var n=t.constructor;switch(e){case O:return Ds(t);case y:case w:return new n(+t);case W:return function(t,e){var i=e?Ds(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}(t,i);case H:case N:case R:case j:case L:case F:case B:case Y:case q:return Is(t,i);case D:return new n;case I:case A:return new n(t);case P:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case M:return new n;case z:return s=t,Ri?Tt(Ri.call(s)):{}}var s}(t,f,l)}}o||(o=new Xi);var p=o.get(t);if(p)return p;o.set(t,a),aa(t)?t.forEach(function(n){a.add(hn(n,e,i,n,t,o))}):na(t)&&t.forEach(function(n,s){a.set(s,hn(n,e,i,s,t,o))});var g=c?s:(u?h?rr:sr:h?Ea:za)(t);return Pe(g||t,function(n,s){g&&(n=t[s=n]),en(a,s,hn(n,e,i,s,t,o))}),a}function un(t,e,i){var n=i.length;if(null==t)return!n;for(t=Tt(t);n--;){var r=i[n],o=e[r],a=t[r];if(a===s&&!(r in t)||!o(a))return!1}return!0}function cn(t,e,i){if("function"!=typeof t)throw new Mt(r);return Ar(function(){t.apply(s,i)},e)}function fn(t,e,i,n){var s=-1,r=Ee,o=!0,a=t.length,l=[],h=e.length;if(!a)return l;i&&(e=We(e,Qe(i))),n?(r=Oe,o=!1):e.length>=200&&(r=ei,o=!1,e=new Vi(e));t:for(;++s<a;){var u=t[s],c=null==i?u:i(u);if(u=n||0!==u?u:0,o&&c==c){for(var f=h;f--;)if(e[f]===c)continue t;l.push(u)}else r(e,c,n)||l.push(u)}return l}Li.templateSettings={escape:J,evaluate:Q,interpolate:tt,variable:"",imports:{_:Li}},Li.prototype=Bi.prototype,Li.prototype.constructor=Li,Yi.prototype=Fi(Bi.prototype),Yi.prototype.constructor=Yi,qi.prototype=Fi(Bi.prototype),qi.prototype.constructor=qi,Ui.prototype.clear=function(){this.__data__=Pi?Pi(null):{},this.size=0},Ui.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ui.prototype.get=function(t){var e=this.__data__;if(Pi){var i=e[t];return i===o?s:i}return Ht.call(e,t)?e[t]:s},Ui.prototype.has=function(t){var e=this.__data__;return Pi?e[t]!==s:Ht.call(e,t)},Ui.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Pi&&e===s?o:e,this},$i.prototype.clear=function(){this.__data__=[],this.size=0},$i.prototype.delete=function(t){var e=this.__data__,i=nn(e,t);return!(i<0)&&(i==e.length-1?e.pop():Gt.call(e,i,1),--this.size,!0)},$i.prototype.get=function(t){var e=this.__data__,i=nn(e,t);return i<0?s:e[i][1]},$i.prototype.has=function(t){return nn(this.__data__,t)>-1},$i.prototype.set=function(t,e){var i=this.__data__,n=nn(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this},Ki.prototype.clear=function(){this.size=0,this.__data__={hash:new Ui,map:new(Di||$i),string:new Ui}},Ki.prototype.delete=function(t){var e=ur(this,t).delete(t);return this.size-=e?1:0,e},Ki.prototype.get=function(t){return ur(this,t).get(t)},Ki.prototype.has=function(t){return ur(this,t).has(t)},Ki.prototype.set=function(t,e){var i=ur(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this},Vi.prototype.add=Vi.prototype.push=function(t){return this.__data__.set(t,o),this},Vi.prototype.has=function(t){return this.__data__.has(t)},Xi.prototype.clear=function(){this.__data__=new $i,this.size=0},Xi.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},Xi.prototype.get=function(t){return this.__data__.get(t)},Xi.prototype.has=function(t){return this.__data__.has(t)},Xi.prototype.set=function(t,e){var i=this.__data__;if(i instanceof $i){var n=i.__data__;if(!Di||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new Ki(n)}return i.set(t,e),this.size=i.size,this};var dn=Os(wn),pn=Os(xn,!0);function gn(t,e){var i=!0;return dn(t,function(t,n,s){return i=!!e(t,n,s)}),i}function mn(t,e,i){for(var n=-1,r=t.length;++n<r;){var o=t[n],a=e(o);if(null!=a&&(l===s?a==a&&!ha(a):i(a,l)))var l=a,h=o}return h}function vn(t,e){var i=[];return dn(t,function(t,n,s){e(t,n,s)&&i.push(t)}),i}function _n(t,e,i,n,s){var r=-1,o=t.length;for(i||(i=_r),s||(s=[]);++r<o;){var a=t[r];e>0&&i(a)?e>1?_n(a,e-1,i,n,s):He(s,a):n||(s[s.length]=a)}return s}var bn=Ws(),yn=Ws(!0);function wn(t,e){return t&&bn(t,e,za)}function xn(t,e){return t&&yn(t,e,za)}function kn(t,e){return ze(e,function(e){return Jo(t[e])})}function Cn(t,e){for(var i=0,n=(e=ys(e,t)).length;null!=t&&i<n;)t=t[Nr(e[i++])];return i&&i==n?t:s}function Dn(t,e,i){var n=e(t);return Uo(t)?n:He(n,i(t))}function In(t){return null==t?t===s?"[object Undefined]":"[object Null]":Qt&&Qt in Tt(t)?function(t){var e=Ht.call(t,Qt),i=t[Qt];try{t[Qt]=s;var n=!0}catch(t){}var r=jt.call(t);n&&(e?t[Qt]=i:delete t[Qt]);return r}(t):function(t){return jt.call(t)}(t)}function Tn(t,e){return t>e}function Sn(t,e){return null!=t&&Ht.call(t,e)}function Pn(t,e){return null!=t&&e in Tt(t)}function Mn(t,e,i){for(var r=i?Oe:Ee,o=t[0].length,a=t.length,l=a,h=n(a),u=1/0,c=[];l--;){var f=t[l];l&&e&&(f=We(f,Qe(e))),u=bi(f.length,u),h[l]=!i&&(e||o>=120&&f.length>=120)?new Vi(l&&f):s}f=t[0];var d=-1,p=h[0];t:for(;++d<o&&c.length<u;){var g=f[d],m=e?e(g):g;if(g=i||0!==g?g:0,!(p?ei(p,m):r(c,m,i))){for(l=a;--l;){var v=h[l];if(!(v?ei(v,m):r(t[l],m,i)))continue t}p&&p.push(m),c.push(g)}}return c}function An(t,e,i){var n=null==(t=Sr(t,e=ys(e,t)))?t:t[Nr(Gr(e))];return null==n?s:Te(n,t,i)}function zn(t){return ia(t)&&In(t)==_}function En(t,e,i,n,r){return t===e||(null==t||null==e||!ia(t)&&!ia(e)?t!=t&&e!=e:function(t,e,i,n,r,o){var a=Uo(t),l=Uo(e),h=a?b:gr(t),u=l?b:gr(e),c=(h=h==_?T:h)==T,f=(u=u==_?T:u)==T,d=h==u;if(d&&Xo(t)){if(!Xo(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Xi),a||ua(t)?ir(t,e,i,n,r,o):function(t,e,i,n,s,r,o){switch(i){case W:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case O:return!(t.byteLength!=e.byteLength||!r(new Ut(t),new Ut(e)));case y:case w:case I:return Fo(+t,+e);case x:return t.name==e.name&&t.message==e.message;case P:case A:return t==e+"";case D:var a=li;case M:var l=1&n;if(a||(a=ci),t.size!=e.size&&!l)return!1;var h=o.get(t);if(h)return h==e;n|=2,o.set(t,e);var u=ir(a(t),a(e),n,s,r,o);return o.delete(t),u;case z:if(Ri)return Ri.call(t)==Ri.call(e)}return!1}(t,e,h,i,n,r,o);if(!(1&i)){var p=c&&Ht.call(t,"__wrapped__"),g=f&&Ht.call(e,"__wrapped__");if(p||g){var m=p?t.value():t,v=g?e.value():e;return o||(o=new Xi),r(m,v,i,n,o)}}if(!d)return!1;return o||(o=new Xi),function(t,e,i,n,r,o){var a=1&i,l=sr(t),h=l.length,u=sr(e),c=u.length;if(h!=c&&!a)return!1;var f=h;for(;f--;){var d=l[f];if(!(a?d in e:Ht.call(e,d)))return!1}var p=o.get(t),g=o.get(e);if(p&&g)return p==e&&g==t;var m=!0;o.set(t,e),o.set(e,t);var v=a;for(;++f<h;){var _=t[d=l[f]],b=e[d];if(n)var y=a?n(b,_,d,e,t,o):n(_,b,d,t,e,o);if(!(y===s?_===b||r(_,b,i,n,o):y)){m=!1;break}v||(v="constructor"==d)}if(m&&!v){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return o.delete(t),o.delete(e),m}(t,e,i,n,r,o)}(t,e,i,n,En,r))}function On(t,e,i,n){var r=i.length,o=r,a=!n;if(null==t)return!o;for(t=Tt(t);r--;){var l=i[r];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++r<o;){var h=(l=i[r])[0],u=t[h],c=l[1];if(a&&l[2]){if(u===s&&!(h in t))return!1}else{var f=new Xi;if(n)var d=n(u,c,h,t,e,f);if(!(d===s?En(c,u,3,n,f):d))return!1}}return!0}function Wn(t){return!(!ea(t)||(e=t,Rt&&Rt in e))&&(Jo(t)?Bt:_t).test(Rr(t));var e}function Hn(t){return"function"==typeof t?t:null==t?sl:"object"==typeof t?Uo(t)?Bn(t[0],t[1]):Fn(t):dl(t)}function Nn(t){if(!Cr(t))return Ve(t);var e=[];for(var i in Tt(t))Ht.call(t,i)&&"constructor"!=i&&e.push(i);return e}function Rn(t){if(!ea(t))return function(t){var e=[];if(null!=t)for(var i in Tt(t))e.push(i);return e}(t);var e=Cr(t),i=[];for(var n in t)("constructor"!=n||!e&&Ht.call(t,n))&&i.push(n);return i}function jn(t,e){return t<e}function Ln(t,e){var i=-1,s=Ko(t)?n(t.length):[];return dn(t,function(t,n,r){s[++i]=e(t,n,r)}),s}function Fn(t){var e=cr(t);return 1==e.length&&e[0][2]?Ir(e[0][0],e[0][1]):function(i){return i===t||On(i,t,e)}}function Bn(t,e){return wr(t)&&Dr(e)?Ir(Nr(t),e):function(i){var n=Ta(i,t);return n===s&&n===e?Sa(i,t):En(e,n,3)}}function Yn(t,e,i,n,r){t!==e&&bn(e,function(o,a){if(r||(r=new Xi),ea(o))!function(t,e,i,n,r,o,a){var l=Pr(t,i),h=Pr(e,i),u=a.get(h);if(u)return void tn(t,i,u);var c=o?o(l,h,i+"",t,e,a):s,f=c===s;if(f){var d=Uo(h),p=!d&&Xo(h),g=!d&&!p&&ua(h);c=h,d||p||g?Uo(l)?c=l:Vo(l)?c=Ms(l):p?(f=!1,c=Cs(h,!0)):g?(f=!1,c=Is(h,!0)):c=[]:ra(h)||qo(h)?(c=l,qo(l)?c=_a(l):ea(l)&&!Jo(l)||(c=vr(h))):f=!1}f&&(a.set(h,c),r(c,h,n,o,a),a.delete(h));tn(t,i,c)}(t,e,a,i,Yn,n,r);else{var l=n?n(Pr(t,a),o,a+"",t,e,r):s;l===s&&(l=o),tn(t,a,l)}},Ea)}function qn(t,e){var i=t.length;if(i)return br(e+=e<0?i:0,i)?t[e]:s}function Un(t,e,i){e=e.length?We(e,function(t){return Uo(t)?function(e){return Cn(e,1===t.length?t[0]:t)}:t}):[sl];var n=-1;e=We(e,Qe(hr()));var s=Ln(t,function(t,i,s){var r=We(e,function(e){return e(t)});return{criteria:r,index:++n,value:t}});return function(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t}(s,function(t,e){return function(t,e,i){var n=-1,s=t.criteria,r=e.criteria,o=s.length,a=i.length;for(;++n<o;){var l=Ts(s[n],r[n]);if(l)return n>=a?l:l*("desc"==i[n]?-1:1)}return t.index-e.index}(t,e,i)})}function $n(t,e,i){for(var n=-1,s=e.length,r={};++n<s;){var o=e[n],a=Cn(t,o);i(a,o)&&ts(r,ys(o,t),a)}return r}function Kn(t,e,i,n){var s=n?qe:Ye,r=-1,o=e.length,a=t;for(t===e&&(e=Ms(e)),i&&(a=We(t,Qe(i)));++r<o;)for(var l=0,h=e[r],u=i?i(h):h;(l=s(a,u,l,n))>-1;)a!==t&&Gt.call(a,l,1),Gt.call(t,l,1);return t}function Vn(t,e){for(var i=t?e.length:0,n=i-1;i--;){var s=e[i];if(i==n||s!==r){var r=s;br(s)?Gt.call(t,s,1):fs(t,s)}}return t}function Xn(t,e){return t+me(xi()*(e-t+1))}function Gn(t,e){var i="";if(!t||e<1||e>p)return i;do{e%2&&(i+=t),(e=me(e/2))&&(t+=t)}while(e);return i}function Zn(t,e){return zr(Tr(t,e,sl),t+"")}function Jn(t){return Zi(Fa(t))}function Qn(t,e){var i=Fa(t);return Wr(i,ln(e,0,i.length))}function ts(t,e,i,n){if(!ea(t))return t;for(var r=-1,o=(e=ys(e,t)).length,a=o-1,l=t;null!=l&&++r<o;){var h=Nr(e[r]),u=i;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(r!=a){var c=l[h];(u=n?n(c,h,l):s)===s&&(u=ea(c)?c:br(e[r+1])?[]:{})}en(l,h,u),l=l[h]}return t}var es=Mi?function(t,e){return Mi.set(t,e),t}:sl,is=ie?function(t,e){return ie(t,"toString",{configurable:!0,enumerable:!1,value:el(e),writable:!0})}:sl;function ns(t){return Wr(Fa(t))}function ss(t,e,i){var s=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var o=n(r);++s<r;)o[s]=t[s+e];return o}function rs(t,e){var i;return dn(t,function(t,n,s){return!(i=e(t,n,s))}),!!i}function os(t,e,i){var n=0,s=null==t?n:t.length;if("number"==typeof e&&e==e&&s<=2147483647){for(;n<s;){var r=n+s>>>1,o=t[r];null!==o&&!ha(o)&&(i?o<=e:o<e)?n=r+1:s=r}return s}return as(t,e,sl,i)}function as(t,e,i,n){var r=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=i(e))!=e,l=null===e,h=ha(e),u=e===s;r<o;){var c=me((r+o)/2),f=i(t[c]),d=f!==s,p=null===f,g=f==f,m=ha(f);if(a)var v=n||g;else v=u?g&&(n||d):l?g&&d&&(n||!p):h?g&&d&&!p&&(n||!m):!p&&!m&&(n?f<=e:f<e);v?r=c+1:o=c}return bi(o,4294967294)}function ls(t,e){for(var i=-1,n=t.length,s=0,r=[];++i<n;){var o=t[i],a=e?e(o):o;if(!i||!Fo(a,l)){var l=a;r[s++]=0===o?0:o}}return r}function hs(t){return"number"==typeof t?t:ha(t)?g:+t}function us(t){if("string"==typeof t)return t;if(Uo(t))return We(t,us)+"";if(ha(t))return ji?ji.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function cs(t,e,i){var n=-1,s=Ee,r=t.length,o=!0,a=[],l=a;if(i)o=!1,s=Oe;else if(r>=200){var h=e?null:Gs(t);if(h)return ci(h);o=!1,s=ei,l=new Vi}else l=e?[]:a;t:for(;++n<r;){var u=t[n],c=e?e(u):u;if(u=i||0!==u?u:0,o&&c==c){for(var f=l.length;f--;)if(l[f]===c)continue t;e&&l.push(c),a.push(u)}else s(l,c,i)||(l!==a&&l.push(c),a.push(u))}return a}function fs(t,e){var i=-1,n=(e=ys(e,t)).length;if(!n)return!0;for(;++i<n;){var s=Nr(e[i]);if("__proto__"===s&&!Ht.call(t,"__proto__"))return!1;if(("constructor"===s||"prototype"===s)&&i<n-1)return!1}var r=Sr(t,e);return null==r||delete r[Nr(Gr(e))]}function ds(t,e,i,n){return ts(t,e,i(Cn(t,e)),n)}function ps(t,e,i,n){for(var s=t.length,r=n?s:-1;(n?r--:++r<s)&&e(t[r],r,t););return i?ss(t,n?0:r,n?r+1:s):ss(t,n?r+1:0,n?s:r)}function gs(t,e){var i=t;return i instanceof qi&&(i=i.value()),Ne(e,function(t,e){return e.func.apply(e.thisArg,He([t],e.args))},i)}function ms(t,e,i){var s=t.length;if(s<2)return s?cs(t[0]):[];for(var r=-1,o=n(s);++r<s;)for(var a=t[r],l=-1;++l<s;)l!=r&&(o[r]=fn(o[r]||a,t[l],e,i));return cs(_n(o,1),e,i)}function vs(t,e,i){for(var n=-1,r=t.length,o=e.length,a={};++n<r;){var l=n<o?e[n]:s;i(a,t[n],l)}return a}function _s(t){return Vo(t)?t:[]}function bs(t){return"function"==typeof t?t:sl}function ys(t,e){return Uo(t)?t:wr(t,e)?[t]:Hr(ba(t))}var ws=Zn;function xs(t,e,i){var n=t.length;return i=i===s?n:i,!e&&i>=n?t:ss(t,e,i)}var ks=se||function(t){return ge.clearTimeout(t)};function Cs(t,e){if(e)return t.slice();var i=t.length,n=$t?$t(i):new t.constructor(i);return t.copy(n),n}function Ds(t){var e=new t.constructor(t.byteLength);return new Ut(e).set(new Ut(t)),e}function Is(t,e){var i=e?Ds(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function Ts(t,e){if(t!==e){var i=t!==s,n=null===t,r=t==t,o=ha(t),a=e!==s,l=null===e,h=e==e,u=ha(e);if(!l&&!u&&!o&&t>e||o&&a&&h&&!l&&!u||n&&a&&h||!i&&h||!r)return 1;if(!n&&!o&&!u&&t<e||u&&i&&r&&!n&&!o||l&&i&&r||!a&&r||!h)return-1}return 0}function Ss(t,e,i,s){for(var r=-1,o=t.length,a=i.length,l=-1,h=e.length,u=_i(o-a,0),c=n(h+u),f=!s;++l<h;)c[l]=e[l];for(;++r<a;)(f||r<o)&&(c[i[r]]=t[r]);for(;u--;)c[l++]=t[r++];return c}function Ps(t,e,i,s){for(var r=-1,o=t.length,a=-1,l=i.length,h=-1,u=e.length,c=_i(o-l,0),f=n(c+u),d=!s;++r<c;)f[r]=t[r];for(var p=r;++h<u;)f[p+h]=e[h];for(;++a<l;)(d||r<o)&&(f[p+i[a]]=t[r++]);return f}function Ms(t,e){var i=-1,s=t.length;for(e||(e=n(s));++i<s;)e[i]=t[i];return e}function As(t,e,i,n){var r=!i;i||(i={});for(var o=-1,a=e.length;++o<a;){var l=e[o],h=n?n(i[l],t[l],l,i,t):s;h===s&&(h=t[l]),r?on(i,l,h):en(i,l,h)}return i}function zs(t,e){return function(i,n){var s=Uo(i)?Se:sn,r=e?e():{};return s(i,t,hr(n,2),r)}}function Es(t){return Zn(function(e,i){var n=-1,r=i.length,o=r>1?i[r-1]:s,a=r>2?i[2]:s;for(o=t.length>3&&"function"==typeof o?(r--,o):s,a&&yr(i[0],i[1],a)&&(o=r<3?s:o,r=1),e=Tt(e);++n<r;){var l=i[n];l&&t(e,l,n,o)}return e})}function Os(t,e){return function(i,n){if(null==i)return i;if(!Ko(i))return t(i,n);for(var s=i.length,r=e?s:-1,o=Tt(i);(e?r--:++r<s)&&!1!==n(o[r],r,o););return i}}function Ws(t){return function(e,i,n){for(var s=-1,r=Tt(e),o=n(e),a=o.length;a--;){var l=o[t?a:++s];if(!1===i(r[l],l,r))break}return e}}function Hs(t){return function(e){var i=ai(e=ba(e))?pi(e):s,n=i?i[0]:e.charAt(0),r=i?xs(i,1).join(""):e.slice(1);return n[t]()+r}}function Ns(t){return function(e){return Ne(Ja(qa(e).replace(te,"")),t,"")}}function Rs(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var i=Fi(t.prototype),n=t.apply(i,e);return ea(n)?n:i}}function js(t){return function(e,i,n){var r=Tt(e);if(!Ko(e)){var o=hr(i,3);e=za(e),i=function(t){return o(r[t],t,r)}}var a=t(e,i,n);return a>-1?r[o?e[a]:a]:s}}function Ls(t){return nr(function(e){var i=e.length,n=i,o=Yi.prototype.thru;for(t&&e.reverse();n--;){var a=e[n];if("function"!=typeof a)throw new Mt(r);if(o&&!l&&"wrapper"==ar(a))var l=new Yi([],!0)}for(n=l?n:i;++n<i;){var h=ar(a=e[n]),u="wrapper"==h?or(a):s;l=u&&xr(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ar(u[0])].apply(l,u[3]):1==a.length&&xr(a)?l[h]():l.thru(a)}return function(){var t=arguments,n=t[0];if(l&&1==t.length&&Uo(n))return l.plant(n).value();for(var s=0,r=i?e[s].apply(this,t):n;++s<i;)r=e[s].call(this,r);return r}})}function Fs(t,e,i,r,o,a,l,h,u,f){var d=e&c,p=1&e,g=2&e,m=24&e,v=512&e,_=g?s:Rs(t);return function c(){for(var b=arguments.length,y=n(b),w=b;w--;)y[w]=arguments[w];if(m)var x=lr(c),k=function(t,e){for(var i=t.length,n=0;i--;)t[i]===e&&++n;return n}(y,x);if(r&&(y=Ss(y,r,o,m)),a&&(y=Ps(y,a,l,m)),b-=k,m&&b<f){var C=ui(y,x);return Vs(t,e,Fs,c.placeholder,i,y,C,h,u,f-b)}var D=p?i:this,I=g?D[t]:t;return b=y.length,h?y=function(t,e){var i=t.length,n=bi(e.length,i),r=Ms(t);for(;n--;){var o=e[n];t[n]=br(o,i)?r[o]:s}return t}(y,h):v&&b>1&&y.reverse(),d&&u<b&&(y.length=u),this&&this!==ge&&this instanceof c&&(I=_||Rs(I)),I.apply(D,y)}}function Bs(t,e){return function(i,n){return function(t,e,i,n){return wn(t,function(t,s,r){e(n,i(t),s,r)}),n}(i,t,e(n),{})}}function Ys(t,e){return function(i,n){var r;if(i===s&&n===s)return e;if(i!==s&&(r=i),n!==s){if(r===s)return n;"string"==typeof i||"string"==typeof n?(i=us(i),n=us(n)):(i=hs(i),n=hs(n)),r=t(i,n)}return r}}function qs(t){return nr(function(e){return e=We(e,Qe(hr())),Zn(function(i){var n=this;return t(e,function(t){return Te(t,n,i)})})})}function Us(t,e){var i=(e=e===s?" ":us(e)).length;if(i<2)return i?Gn(e,t):e;var n=Gn(e,pe(t/di(e)));return ai(e)?xs(pi(n),0,t).join(""):n.slice(0,t)}function $s(t){return function(e,i,r){return r&&"number"!=typeof r&&yr(e,i,r)&&(i=r=s),e=pa(e),i===s?(i=e,e=0):i=pa(i),function(t,e,i,s){for(var r=-1,o=_i(pe((e-t)/(i||1)),0),a=n(o);o--;)a[s?o:++r]=t,t+=i;return a}(e,i,r=r===s?e<i?1:-1:pa(r),t)}}function Ks(t){return function(e,i){return"string"==typeof e&&"string"==typeof i||(e=va(e),i=va(i)),t(e,i)}}function Vs(t,e,i,n,r,o,a,l,c,f){var d=8&e;e|=d?h:u,4&(e&=~(d?u:h))||(e&=-4);var p=[t,e,r,d?o:s,d?a:s,d?s:o,d?s:a,l,c,f],g=i.apply(s,p);return xr(t)&&Mr(g,p),g.placeholder=n,Er(g,t,e)}function Xs(t){var e=It[t];return function(t,i){if(t=va(t),(i=null==i?0:bi(ga(i),292))&&ye(t)){var n=(ba(t)+"e").split("e");return+((n=(ba(e(n[0]+"e"+(+n[1]+i)))+"e").split("e"))[0]+"e"+(+n[1]-i))}return e(t)}}var Gs=Ti&&1/ci(new Ti([,-0]))[1]==d?function(t){return new Ti(t)}:hl;function Zs(t){return function(e){var i=gr(e);return i==D?li(e):i==M?fi(e):function(t,e){return We(e,function(e){return[e,t[e]]})}(e,t(e))}}function Js(t,e,i,o,d,p,g,m){var v=2&e;if(!v&&"function"!=typeof t)throw new Mt(r);var _=o?o.length:0;if(_||(e&=-97,o=d=s),g=g===s?g:_i(ga(g),0),m=m===s?m:ga(m),_-=d?d.length:0,e&u){var b=o,y=d;o=d=s}var w=v?s:or(t),x=[t,e,i,o,d,b,y,p,g,m];if(w&&function(t,e){var i=t[1],n=e[1],s=i|n,r=s<131,o=n==c&&8==i||n==c&&i==f&&t[7].length<=e[8]||384==n&&e[7].length<=e[8]&&8==i;if(!r&&!o)return t;1&n&&(t[2]=e[2],s|=1&i?0:4);var l=e[3];if(l){var h=t[3];t[3]=h?Ss(h,l,e[4]):l,t[4]=h?ui(t[3],a):e[4]}(l=e[5])&&(h=t[5],t[5]=h?Ps(h,l,e[6]):l,t[6]=h?ui(t[5],a):e[6]);(l=e[7])&&(t[7]=l);n&c&&(t[8]=null==t[8]?e[8]:bi(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=s}(x,w),t=x[0],e=x[1],i=x[2],o=x[3],d=x[4],!(m=x[9]=x[9]===s?v?0:t.length:_i(x[9]-_,0))&&24&e&&(e&=-25),e&&1!=e)k=8==e||e==l?function(t,e,i){var r=Rs(t);return function o(){for(var a=arguments.length,l=n(a),h=a,u=lr(o);h--;)l[h]=arguments[h];var c=a<3&&l[0]!==u&&l[a-1]!==u?[]:ui(l,u);return(a-=c.length)<i?Vs(t,e,Fs,o.placeholder,s,l,c,s,s,i-a):Te(this&&this!==ge&&this instanceof o?r:t,this,l)}}(t,e,m):e!=h&&33!=e||d.length?Fs.apply(s,x):function(t,e,i,s){var r=1&e,o=Rs(t);return function e(){for(var a=-1,l=arguments.length,h=-1,u=s.length,c=n(u+l),f=this&&this!==ge&&this instanceof e?o:t;++h<u;)c[h]=s[h];for(;l--;)c[h++]=arguments[++a];return Te(f,r?i:this,c)}}(t,e,i,o);else var k=function(t,e,i){var n=1&e,s=Rs(t);return function e(){return(this&&this!==ge&&this instanceof e?s:t).apply(n?i:this,arguments)}}(t,e,i);return Er((w?es:Mr)(k,x),t,e)}function Qs(t,e,i,n){return t===s||Fo(t,Et[i])&&!Ht.call(n,i)?e:t}function tr(t,e,i,n,r,o){return ea(t)&&ea(e)&&(o.set(e,t),Yn(t,e,s,tr,o),o.delete(e)),t}function er(t){return ra(t)?s:t}function ir(t,e,i,n,r,o){var a=1&i,l=t.length,h=e.length;if(l!=h&&!(a&&h>l))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var f=-1,d=!0,p=2&i?new Vi:s;for(o.set(t,e),o.set(e,t);++f<l;){var g=t[f],m=e[f];if(n)var v=a?n(m,g,f,e,t,o):n(g,m,f,t,e,o);if(v!==s){if(v)continue;d=!1;break}if(p){if(!je(e,function(t,e){if(!ei(p,e)&&(g===t||r(g,t,i,n,o)))return p.push(e)})){d=!1;break}}else if(g!==m&&!r(g,m,i,n,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function nr(t){return zr(Tr(t,s,Ur),t+"")}function sr(t){return Dn(t,za,dr)}function rr(t){return Dn(t,Ea,pr)}var or=Mi?function(t){return Mi.get(t)}:hl;function ar(t){for(var e=t.name+"",i=Ai[e],n=Ht.call(Ai,e)?i.length:0;n--;){var s=i[n],r=s.func;if(null==r||r==t)return s.name}return e}function lr(t){return(Ht.call(Li,"placeholder")?Li:t).placeholder}function hr(){var t=Li.iteratee||rl;return t=t===rl?Hn:t,arguments.length?t(arguments[0],arguments[1]):t}function ur(t,e){var i,n,s=t.__data__;return("string"==(n=typeof(i=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?s["string"==typeof e?"string":"hash"]:s.map}function cr(t){for(var e=za(t),i=e.length;i--;){var n=e[i],s=t[n];e[i]=[n,s,Dr(s)]}return e}function fr(t,e){var i=function(t,e){return null==t?s:t[e]}(t,e);return Wn(i)?i:s}var dr=ve?function(t){return null==t?[]:(t=Tt(t),ze(ve(t),function(e){return Xt.call(t,e)}))}:ml,pr=ve?function(t){for(var e=[];t;)He(e,dr(t)),t=Kt(t);return e}:ml,gr=In;function mr(t,e,i){for(var n=-1,s=(e=ys(e,t)).length,r=!1;++n<s;){var o=Nr(e[n]);if(!(r=null!=t&&i(t,o)))break;t=t[o]}return r||++n!=s?r:!!(s=null==t?0:t.length)&&ta(s)&&br(o,s)&&(Uo(t)||qo(t))}function vr(t){return"function"!=typeof t.constructor||Cr(t)?{}:Fi(Kt(t))}function _r(t){return Uo(t)||qo(t)||!!(Zt&&t&&t[Zt])}function br(t,e){var i=typeof t;return!!(e=e??p)&&("number"==i||"symbol"!=i&&yt.test(t))&&t>-1&&t%1==0&&t<e}function yr(t,e,i){if(!ea(i))return!1;var n=typeof e;return!!("number"==n?Ko(i)&&br(e,i.length):"string"==n&&e in i)&&Fo(i[e],t)}function wr(t,e){if(Uo(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!ha(t))||(it.test(t)||!et.test(t)||null!=e&&t in Tt(e))}function xr(t){var e=ar(t),i=Li[e];if("function"!=typeof i||!(e in qi.prototype))return!1;if(t===i)return!0;var n=or(i);return!!n&&t===n[0]}(Ci&&gr(new Ci(new ArrayBuffer(1)))!=W||Di&&gr(new Di)!=D||Ii&&gr(Ii.resolve())!=S||Ti&&gr(new Ti)!=M||Si&&gr(new Si)!=E)&&(gr=function(t){var e=In(t),i=e==T?t.constructor:s,n=i?Rr(i):"";if(n)switch(n){case zi:return W;case Ei:return D;case Oi:return S;case Wi:return M;case Hi:return E}return e});var kr=Ot?Jo:vl;function Cr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Et)}function Dr(t){return t==t&&!ea(t)}function Ir(t,e){return function(i){return null!=i&&(i[t]===e&&(e!==s||t in Tt(i)))}}function Tr(t,e,i){return e=_i(e===s?t.length-1:e,0),function(){for(var s=arguments,r=-1,o=_i(s.length-e,0),a=n(o);++r<o;)a[r]=s[e+r];r=-1;for(var l=n(e+1);++r<e;)l[r]=s[r];return l[e]=i(a),Te(t,this,l)}}function Sr(t,e){return e.length<2?t:Cn(t,ss(e,0,-1))}function Pr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Mr=Or(es),Ar=de||function(t,e){return ge.setTimeout(t,e)},zr=Or(is);function Er(t,e,i){var n=e+"";return zr(t,function(t,e){var i=e.length;if(!i)return t;var n=i-1;return e[n]=(i>1?"& ":"")+e[n],e=e.join(i>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(n,function(t,e){return Pe(v,function(i){var n="_."+i[0];e&i[1]&&!Ee(t,n)&&t.push(n)}),t.sort()}(function(t){var e=t.match(ht);return e?e[1].split(ut):[]}(n),i)))}function Or(t){var e=0,i=0;return function(){var n=yi(),r=16-(n-i);if(i=n,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(s,arguments)}}function Wr(t,e){var i=-1,n=t.length,r=n-1;for(e=e===s?n:e;++i<e;){var o=Xn(i,r),a=t[o];t[o]=t[i],t[i]=a}return t.length=e,t}var Hr=function(t){var e=Wo(t,function(t){return 500===i.size&&i.clear(),t}),i=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(nt,function(t,i,n,s){e.push(n?s.replace(dt,"$1"):i||t)}),e});function Nr(t){if("string"==typeof t||ha(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Rr(t){if(null!=t){try{return Wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function jr(t){if(t instanceof qi)return t.clone();var e=new Yi(t.__wrapped__,t.__chain__);return e.__actions__=Ms(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Lr=Zn(function(t,e){return Vo(t)?fn(t,_n(e,1,Vo,!0)):[]}),Fr=Zn(function(t,e){var i=Gr(e);return Vo(i)&&(i=s),Vo(t)?fn(t,_n(e,1,Vo,!0),hr(i,2)):[]}),Br=Zn(function(t,e){var i=Gr(e);return Vo(i)&&(i=s),Vo(t)?fn(t,_n(e,1,Vo,!0),s,i):[]});function Yr(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var s=null==i?0:ga(i);return s<0&&(s=_i(n+s,0)),Be(t,hr(e,3),s)}function qr(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=n-1;return i!==s&&(r=ga(i),r=i<0?_i(n+r,0):bi(r,n-1)),Be(t,hr(e,3),r,!0)}function Ur(t){return(null==t?0:t.length)?_n(t,1):[]}function $r(t){return t&&t.length?t[0]:s}var Kr=Zn(function(t){var e=We(t,_s);return e.length&&e[0]===t[0]?Mn(e):[]}),Vr=Zn(function(t){var e=Gr(t),i=We(t,_s);return e===Gr(i)?e=s:i.pop(),i.length&&i[0]===t[0]?Mn(i,hr(e,2)):[]}),Xr=Zn(function(t){var e=Gr(t),i=We(t,_s);return(e="function"==typeof e?e:s)&&i.pop(),i.length&&i[0]===t[0]?Mn(i,s,e):[]});function Gr(t){var e=null==t?0:t.length;return e?t[e-1]:s}var Zr=Zn(Jr);function Jr(t,e){return t&&t.length&&e&&e.length?Kn(t,e):t}var Qr=nr(function(t,e){var i=null==t?0:t.length,n=an(t,e);return Vn(t,We(e,function(t){return br(t,i)?+t:t}).sort(Ts)),n});function to(t){return null==t?t:ki.call(t)}var eo=Zn(function(t){return cs(_n(t,1,Vo,!0))}),io=Zn(function(t){var e=Gr(t);return Vo(e)&&(e=s),cs(_n(t,1,Vo,!0),hr(e,2))}),no=Zn(function(t){var e=Gr(t);return e="function"==typeof e?e:s,cs(_n(t,1,Vo,!0),s,e)});function so(t){if(!t||!t.length)return[];var e=0;return t=ze(t,function(t){if(Vo(t))return e=_i(t.length,e),!0}),Ze(e,function(e){return We(t,Ke(e))})}function ro(t,e){if(!t||!t.length)return[];var i=so(t);return null==e?i:We(i,function(t){return Te(e,s,t)})}var oo=Zn(function(t,e){return Vo(t)?fn(t,e):[]}),ao=Zn(function(t){return ms(ze(t,Vo))}),lo=Zn(function(t){var e=Gr(t);return Vo(e)&&(e=s),ms(ze(t,Vo),hr(e,2))}),ho=Zn(function(t){var e=Gr(t);return e="function"==typeof e?e:s,ms(ze(t,Vo),s,e)}),uo=Zn(so);var co=Zn(function(t){var e=t.length,i=e>1?t[e-1]:s;return i="function"==typeof i?(t.pop(),i):s,ro(t,i)});function fo(t){var e=Li(t);return e.__chain__=!0,e}function po(t,e){return e(t)}var go=nr(function(t){var e=t.length,i=e?t[0]:0,n=this.__wrapped__,r=function(e){return an(e,t)};return!(e>1||this.__actions__.length)&&n instanceof qi&&br(i)?((n=n.slice(i,+i+(e?1:0))).__actions__.push({func:po,args:[r],thisArg:s}),new Yi(n,this.__chain__).thru(function(t){return e&&!t.length&&t.push(s),t})):this.thru(r)});var mo=zs(function(t,e,i){Ht.call(t,i)?++t[i]:on(t,i,1)});var vo=js(Yr),_o=js(qr);function bo(t,e){return(Uo(t)?Pe:dn)(t,hr(e,3))}function yo(t,e){return(Uo(t)?Me:pn)(t,hr(e,3))}var wo=zs(function(t,e,i){Ht.call(t,i)?t[i].push(e):on(t,i,[e])});var xo=Zn(function(t,e,i){var s=-1,r="function"==typeof e,o=Ko(t)?n(t.length):[];return dn(t,function(t){o[++s]=r?Te(e,t,i):An(t,e,i)}),o}),ko=zs(function(t,e,i){on(t,i,e)});function Co(t,e){return(Uo(t)?We:Ln)(t,hr(e,3))}var Do=zs(function(t,e,i){t[i?0:1].push(e)},function(){return[[],[]]});var Io=Zn(function(t,e){if(null==t)return[];var i=e.length;return i>1&&yr(t,e[0],e[1])?e=[]:i>2&&yr(e[0],e[1],e[2])&&(e=[e[0]]),Un(t,_n(e,1),[])}),To=ue||function(){return ge.Date.now()};function So(t,e,i){return e=i?s:e,e=t&&null==e?t.length:e,Js(t,c,s,s,s,s,e)}function Po(t,e){var i;if("function"!=typeof e)throw new Mt(r);return t=ga(t),function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=s),i}}var Mo=Zn(function(t,e,i){var n=1;if(i.length){var s=ui(i,lr(Mo));n|=h}return Js(t,n,e,i,s)}),Ao=Zn(function(t,e,i){var n=3;if(i.length){var s=ui(i,lr(Ao));n|=h}return Js(e,n,t,i,s)});function zo(t,e,i){var n,o,a,l,h,u,c=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new Mt(r);function g(e){var i=n,r=o;return n=o=s,c=e,l=t.apply(r,i)}function m(t){var i=t-u;return u===s||i>=e||i<0||d&&t-c>=a}function v(){var t=To();if(m(t))return _(t);h=Ar(v,function(t){var i=e-(t-u);return d?bi(i,a-(t-c)):i}(t))}function _(t){return h=s,p&&n?g(t):(n=o=s,l)}function b(){var t=To(),i=m(t);if(n=arguments,o=this,u=t,i){if(h===s)return function(t){return c=t,h=Ar(v,e),f?g(t):l}(u);if(d)return ks(h),h=Ar(v,e),g(u)}return h===s&&(h=Ar(v,e)),l}return e=va(e)||0,ea(i)&&(f=!!i.leading,a=(d="maxWait"in i)?_i(va(i.maxWait)||0,e):a,p="trailing"in i?!!i.trailing:p),b.cancel=function(){h!==s&&ks(h),c=0,n=u=o=h=s},b.flush=function(){return h===s?l:_(To())},b}var Eo=Zn(function(t,e){return cn(t,1,e)}),Oo=Zn(function(t,e,i){return cn(t,va(e)||0,i)});function Wo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Mt(r);var i=function(){var n=arguments,s=e?e.apply(this,n):n[0],r=i.cache;if(r.has(s))return r.get(s);var o=t.apply(this,n);return i.cache=r.set(s,o)||r,o};return i.cache=new(Wo.Cache||Ki),i}function Ho(t){if("function"!=typeof t)throw new Mt(r);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Wo.Cache=Ki;var No=ws(function(t,e){var i=(e=1==e.length&&Uo(e[0])?We(e[0],Qe(hr())):We(_n(e,1),Qe(hr()))).length;return Zn(function(n){for(var s=-1,r=bi(n.length,i);++s<r;)n[s]=e[s].call(this,n[s]);return Te(t,this,n)})}),Ro=Zn(function(t,e){var i=ui(e,lr(Ro));return Js(t,h,s,e,i)}),jo=Zn(function(t,e){var i=ui(e,lr(jo));return Js(t,u,s,e,i)}),Lo=nr(function(t,e){return Js(t,f,s,s,s,e)});function Fo(t,e){return t===e||t!=t&&e!=e}var Bo=Ks(Tn),Yo=Ks(function(t,e){return t>=e}),qo=zn(function(){return arguments}())?zn:function(t){return ia(t)&&Ht.call(t,"callee")&&!Xt.call(t,"callee")},Uo=n.isArray,$o=we?Qe(we):function(t){return ia(t)&&In(t)==O};function Ko(t){return null!=t&&ta(t.length)&&!Jo(t)}function Vo(t){return ia(t)&&Ko(t)}var Xo=be||vl,Go=xe?Qe(xe):function(t){return ia(t)&&In(t)==w};function Zo(t){if(!ia(t))return!1;var e=In(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Jo(t){if(!ea(t))return!1;var e=In(t);return e==k||e==C||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Qo(t){return"number"==typeof t&&t==ga(t)}function ta(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function ea(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ia(t){return null!=t&&"object"==typeof t}var na=ke?Qe(ke):function(t){return ia(t)&&gr(t)==D};function sa(t){return"number"==typeof t||ia(t)&&In(t)==I}function ra(t){if(!ia(t)||In(t)!=T)return!1;var e=Kt(t);if(null===e)return!0;var i=Ht.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&Wt.call(i)==Lt}var oa=Ce?Qe(Ce):function(t){return ia(t)&&In(t)==P};var aa=De?Qe(De):function(t){return ia(t)&&gr(t)==M};function la(t){return"string"==typeof t||!Uo(t)&&ia(t)&&In(t)==A}function ha(t){return"symbol"==typeof t||ia(t)&&In(t)==z}var ua=Ie?Qe(Ie):function(t){return ia(t)&&ta(t.length)&&!!le[In(t)]};var ca=Ks(jn),fa=Ks(function(t,e){return t<=e});function da(t){if(!t)return[];if(Ko(t))return la(t)?pi(t):Ms(t);if(Jt&&t[Jt])return function(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}(t[Jt]());var e=gr(t);return(e==D?li:e==M?ci:Fa)(t)}function pa(t){return t?(t=va(t))===d||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ga(t){var e=pa(t),i=e%1;return e==e?i?e-i:e:0}function ma(t){return t?ln(ga(t),0,m):0}function va(t){if("number"==typeof t)return t;if(ha(t))return g;if(ea(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ea(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Je(t);var i=vt.test(t);return i||bt.test(t)?fe(t.slice(2),i?2:8):mt.test(t)?g:+t}function _a(t){return As(t,Ea(t))}function ba(t){return null==t?"":us(t)}var ya=Es(function(t,e){if(Cr(e)||Ko(e))As(e,za(e),t);else for(var i in e)Ht.call(e,i)&&en(t,i,e[i])}),wa=Es(function(t,e){As(e,Ea(e),t)}),xa=Es(function(t,e,i,n){As(e,Ea(e),t,n)}),ka=Es(function(t,e,i,n){As(e,za(e),t,n)}),Ca=nr(an);var Da=Zn(function(t,e){t=Tt(t);var i=-1,n=e.length,r=n>2?e[2]:s;for(r&&yr(e[0],e[1],r)&&(n=1);++i<n;)for(var o=e[i],a=Ea(o),l=-1,h=a.length;++l<h;){var u=a[l],c=t[u];(c===s||Fo(c,Et[u])&&!Ht.call(t,u))&&(t[u]=o[u])}return t}),Ia=Zn(function(t){return t.push(s,tr),Te(Wa,s,t)});function Ta(t,e,i){var n=null==t?s:Cn(t,e);return n===s?i:n}function Sa(t,e){return null!=t&&mr(t,e,Pn)}var Pa=Bs(function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=jt.call(e)),t[e]=i},el(sl)),Ma=Bs(function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=jt.call(e)),Ht.call(t,e)?t[e].push(i):t[e]=[i]},hr),Aa=Zn(An);function za(t){return Ko(t)?Gi(t):Nn(t)}function Ea(t){return Ko(t)?Gi(t,!0):Rn(t)}var Oa=Es(function(t,e,i){Yn(t,e,i)}),Wa=Es(function(t,e,i,n){Yn(t,e,i,n)}),Ha=nr(function(t,e){var i={};if(null==t)return i;var n=!1;e=We(e,function(e){return e=ys(e,t),n||(n=e.length>1),e}),As(t,rr(t),i),n&&(i=hn(i,7,er));for(var s=e.length;s--;)fs(i,e[s]);return i});var Na=nr(function(t,e){return null==t?{}:function(t,e){return $n(t,e,function(e,i){return Sa(t,i)})}(t,e)});function Ra(t,e){if(null==t)return{};var i=We(rr(t),function(t){return[t]});return e=hr(e),$n(t,i,function(t,i){return e(t,i[0])})}var ja=Zs(za),La=Zs(Ea);function Fa(t){return null==t?[]:ti(t,za(t))}var Ba=Ns(function(t,e,i){return e=e.toLowerCase(),t+(i?Ya(e):e)});function Ya(t){return Za(ba(t).toLowerCase())}function qa(t){return(t=ba(t))&&t.replace(wt,si).replace(ee,"")}var Ua=Ns(function(t,e,i){return t+(i?"-":"")+e.toLowerCase()}),$a=Ns(function(t,e,i){return t+(i?" ":"")+e.toLowerCase()}),Ka=Hs("toLowerCase");var Va=Ns(function(t,e,i){return t+(i?"_":"")+e.toLowerCase()});var Xa=Ns(function(t,e,i){return t+(i?" ":"")+Za(e)});var Ga=Ns(function(t,e,i){return t+(i?" ":"")+e.toUpperCase()}),Za=Hs("toUpperCase");function Ja(t,e,i){return t=ba(t),(e=i?s:e)===s?function(t){return re.test(t)}(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.match(ct)||[]}(t):t.match(e)||[]}var Qa=Zn(function(t,e){try{return Te(t,s,e)}catch(t){return Zo(t)?t:new Ct(t)}}),tl=nr(function(t,e){return Pe(e,function(e){e=Nr(e),on(t,e,Mo(t[e],t))}),t});function el(t){return function(){return t}}var il=Ls(),nl=Ls(!0);function sl(t){return t}function rl(t){return Hn("function"==typeof t?t:hn(t,1))}var ol=Zn(function(t,e){return function(i){return An(i,t,e)}}),al=Zn(function(t,e){return function(i){return An(t,i,e)}});function ll(t,e,i){var n=za(e),s=kn(e,n);null!=i||ea(e)&&(s.length||!n.length)||(i=e,e=t,t=this,s=kn(e,za(e)));var r=!(ea(i)&&"chain"in i&&!i.chain),o=Jo(t);return Pe(s,function(i){var n=e[i];t[i]=n,o&&(t.prototype[i]=function(){var e=this.__chain__;if(r||e){var i=t(this.__wrapped__);return(i.__actions__=Ms(this.__actions__)).push({func:n,args:arguments,thisArg:t}),i.__chain__=e,i}return n.apply(t,He([this.value()],arguments))})}),t}function hl(){}var ul=qs(We),cl=qs(Ae),fl=qs(je);function dl(t){return wr(t)?Ke(Nr(t)):function(t){return function(e){return Cn(e,t)}}(t)}var pl=$s(),gl=$s(!0);function ml(){return[]}function vl(){return!1}var _l=Ys(function(t,e){return t+e},0),bl=Xs("ceil"),yl=Ys(function(t,e){return t/e},1),wl=Xs("floor");var xl,kl=Ys(function(t,e){return t*e},1),Cl=Xs("round"),Dl=Ys(function(t,e){return t-e},0);return Li.after=function(t,e){if("function"!=typeof e)throw new Mt(r);return t=ga(t),function(){if(--t<1)return e.apply(this,arguments)}},Li.ary=So,Li.assign=ya,Li.assignIn=wa,Li.assignInWith=xa,Li.assignWith=ka,Li.at=Ca,Li.before=Po,Li.bind=Mo,Li.bindAll=tl,Li.bindKey=Ao,Li.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Uo(t)?t:[t]},Li.chain=fo,Li.chunk=function(t,e,i){e=(i?yr(t,e,i):e===s)?1:_i(ga(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,a=0,l=n(pe(r/e));o<r;)l[a++]=ss(t,o,o+=e);return l},Li.compact=function(t){for(var e=-1,i=null==t?0:t.length,n=0,s=[];++e<i;){var r=t[e];r&&(s[n++]=r)}return s},Li.concat=function(){var t=arguments.length;if(!t)return[];for(var e=n(t-1),i=arguments[0],s=t;s--;)e[s-1]=arguments[s];return He(Uo(i)?Ms(i):[i],_n(e,1))},Li.cond=function(t){var e=null==t?0:t.length,i=hr();return t=e?We(t,function(t){if("function"!=typeof t[1])throw new Mt(r);return[i(t[0]),t[1]]}):[],Zn(function(i){for(var n=-1;++n<e;){var s=t[n];if(Te(s[0],this,i))return Te(s[1],this,i)}})},Li.conforms=function(t){return function(t){var e=za(t);return function(i){return un(i,t,e)}}(hn(t,1))},Li.constant=el,Li.countBy=mo,Li.create=function(t,e){var i=Fi(t);return null==e?i:rn(i,e)},Li.curry=function t(e,i,n){var r=Js(e,8,s,s,s,s,s,i=n?s:i);return r.placeholder=t.placeholder,r},Li.curryRight=function t(e,i,n){var r=Js(e,l,s,s,s,s,s,i=n?s:i);return r.placeholder=t.placeholder,r},Li.debounce=zo,Li.defaults=Da,Li.defaultsDeep=Ia,Li.defer=Eo,Li.delay=Oo,Li.difference=Lr,Li.differenceBy=Fr,Li.differenceWith=Br,Li.drop=function(t,e,i){var n=null==t?0:t.length;return n?ss(t,(e=i||e===s?1:ga(e))<0?0:e,n):[]},Li.dropRight=function(t,e,i){var n=null==t?0:t.length;return n?ss(t,0,(e=n-(e=i||e===s?1:ga(e)))<0?0:e):[]},Li.dropRightWhile=function(t,e){return t&&t.length?ps(t,hr(e,3),!0,!0):[]},Li.dropWhile=function(t,e){return t&&t.length?ps(t,hr(e,3),!0):[]},Li.fill=function(t,e,i,n){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&yr(t,e,i)&&(i=0,n=r),function(t,e,i,n){var r=t.length;for((i=ga(i))<0&&(i=-i>r?0:r+i),(n=n===s||n>r?r:ga(n))<0&&(n+=r),n=i>n?0:ma(n);i<n;)t[i++]=e;return t}(t,e,i,n)):[]},Li.filter=function(t,e){return(Uo(t)?ze:vn)(t,hr(e,3))},Li.flatMap=function(t,e){return _n(Co(t,e),1)},Li.flatMapDeep=function(t,e){return _n(Co(t,e),d)},Li.flatMapDepth=function(t,e,i){return i=i===s?1:ga(i),_n(Co(t,e),i)},Li.flatten=Ur,Li.flattenDeep=function(t){return(null==t?0:t.length)?_n(t,d):[]},Li.flattenDepth=function(t,e){return(null==t?0:t.length)?_n(t,e=e===s?1:ga(e)):[]},Li.flip=function(t){return Js(t,512)},Li.flow=il,Li.flowRight=nl,Li.fromPairs=function(t){for(var e=-1,i=null==t?0:t.length,n={};++e<i;){var s=t[e];on(n,s[0],s[1])}return n},Li.functions=function(t){return null==t?[]:kn(t,za(t))},Li.functionsIn=function(t){return null==t?[]:kn(t,Ea(t))},Li.groupBy=wo,Li.initial=function(t){return(null==t?0:t.length)?ss(t,0,-1):[]},Li.intersection=Kr,Li.intersectionBy=Vr,Li.intersectionWith=Xr,Li.invert=Pa,Li.invertBy=Ma,Li.invokeMap=xo,Li.iteratee=rl,Li.keyBy=ko,Li.keys=za,Li.keysIn=Ea,Li.map=Co,Li.mapKeys=function(t,e){var i={};return e=hr(e,3),wn(t,function(t,n,s){on(i,e(t,n,s),t)}),i},Li.mapValues=function(t,e){var i={};return e=hr(e,3),wn(t,function(t,n,s){on(i,n,e(t,n,s))}),i},Li.matches=function(t){return Fn(hn(t,1))},Li.matchesProperty=function(t,e){return Bn(t,hn(e,1))},Li.memoize=Wo,Li.merge=Oa,Li.mergeWith=Wa,Li.method=ol,Li.methodOf=al,Li.mixin=ll,Li.negate=Ho,Li.nthArg=function(t){return t=ga(t),Zn(function(e){return qn(e,t)})},Li.omit=Ha,Li.omitBy=function(t,e){return Ra(t,Ho(hr(e)))},Li.once=function(t){return Po(2,t)},Li.orderBy=function(t,e,i,n){return null==t?[]:(Uo(e)||(e=null==e?[]:[e]),Uo(i=n?s:i)||(i=null==i?[]:[i]),Un(t,e,i))},Li.over=ul,Li.overArgs=No,Li.overEvery=cl,Li.overSome=fl,Li.partial=Ro,Li.partialRight=jo,Li.partition=Do,Li.pick=Na,Li.pickBy=Ra,Li.property=dl,Li.propertyOf=function(t){return function(e){return null==t?s:Cn(t,e)}},Li.pull=Zr,Li.pullAll=Jr,Li.pullAllBy=function(t,e,i){return t&&t.length&&e&&e.length?Kn(t,e,hr(i,2)):t},Li.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?Kn(t,e,s,i):t},Li.pullAt=Qr,Li.range=pl,Li.rangeRight=gl,Li.rearg=Lo,Li.reject=function(t,e){return(Uo(t)?ze:vn)(t,Ho(hr(e,3)))},Li.remove=function(t,e){var i=[];if(!t||!t.length)return i;var n=-1,s=[],r=t.length;for(e=hr(e,3);++n<r;){var o=t[n];e(o,n,t)&&(i.push(o),s.push(n))}return Vn(t,s),i},Li.rest=function(t,e){if("function"!=typeof t)throw new Mt(r);return Zn(t,e=e===s?e:ga(e))},Li.reverse=to,Li.sampleSize=function(t,e,i){return e=(i?yr(t,e,i):e===s)?1:ga(e),(Uo(t)?Ji:Qn)(t,e)},Li.set=function(t,e,i){return null==t?t:ts(t,e,i)},Li.setWith=function(t,e,i,n){return n="function"==typeof n?n:s,null==t?t:ts(t,e,i,n)},Li.shuffle=function(t){return(Uo(t)?Qi:ns)(t)},Li.slice=function(t,e,i){var n=null==t?0:t.length;return n?(i&&"number"!=typeof i&&yr(t,e,i)?(e=0,i=n):(e=null==e?0:ga(e),i=i===s?n:ga(i)),ss(t,e,i)):[]},Li.sortBy=Io,Li.sortedUniq=function(t){return t&&t.length?ls(t):[]},Li.sortedUniqBy=function(t,e){return t&&t.length?ls(t,hr(e,2)):[]},Li.split=function(t,e,i){return i&&"number"!=typeof i&&yr(t,e,i)&&(e=i=s),(i=i===s?m:i>>>0)?(t=ba(t))&&("string"==typeof e||null!=e&&!oa(e))&&!(e=us(e))&&ai(t)?xs(pi(t),0,i):t.split(e,i):[]},Li.spread=function(t,e){if("function"!=typeof t)throw new Mt(r);return e=null==e?0:_i(ga(e),0),Zn(function(i){var n=i[e],s=xs(i,0,e);return n&&He(s,n),Te(t,this,s)})},Li.tail=function(t){var e=null==t?0:t.length;return e?ss(t,1,e):[]},Li.take=function(t,e,i){return t&&t.length?ss(t,0,(e=i||e===s?1:ga(e))<0?0:e):[]},Li.takeRight=function(t,e,i){var n=null==t?0:t.length;return n?ss(t,(e=n-(e=i||e===s?1:ga(e)))<0?0:e,n):[]},Li.takeRightWhile=function(t,e){return t&&t.length?ps(t,hr(e,3),!1,!0):[]},Li.takeWhile=function(t,e){return t&&t.length?ps(t,hr(e,3)):[]},Li.tap=function(t,e){return e(t),t},Li.throttle=function(t,e,i){var n=!0,s=!0;if("function"!=typeof t)throw new Mt(r);return ea(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),zo(t,e,{leading:n,maxWait:e,trailing:s})},Li.thru=po,Li.toArray=da,Li.toPairs=ja,Li.toPairsIn=La,Li.toPath=function(t){return Uo(t)?We(t,Nr):ha(t)?[t]:Ms(Hr(ba(t)))},Li.toPlainObject=_a,Li.transform=function(t,e,i){var n=Uo(t),s=n||Xo(t)||ua(t);if(e=hr(e,4),null==i){var r=t&&t.constructor;i=s?n?new r:[]:ea(t)&&Jo(r)?Fi(Kt(t)):{}}return(s?Pe:wn)(t,function(t,n,s){return e(i,t,n,s)}),i},Li.unary=function(t){return So(t,1)},Li.union=eo,Li.unionBy=io,Li.unionWith=no,Li.uniq=function(t){return t&&t.length?cs(t):[]},Li.uniqBy=function(t,e){return t&&t.length?cs(t,hr(e,2)):[]},Li.uniqWith=function(t,e){return e="function"==typeof e?e:s,t&&t.length?cs(t,s,e):[]},Li.unset=function(t,e){return null==t||fs(t,e)},Li.unzip=so,Li.unzipWith=ro,Li.update=function(t,e,i){return null==t?t:ds(t,e,bs(i))},Li.updateWith=function(t,e,i,n){return n="function"==typeof n?n:s,null==t?t:ds(t,e,bs(i),n)},Li.values=Fa,Li.valuesIn=function(t){return null==t?[]:ti(t,Ea(t))},Li.without=oo,Li.words=Ja,Li.wrap=function(t,e){return Ro(bs(e),t)},Li.xor=ao,Li.xorBy=lo,Li.xorWith=ho,Li.zip=uo,Li.zipObject=function(t,e){return vs(t||[],e||[],en)},Li.zipObjectDeep=function(t,e){return vs(t||[],e||[],ts)},Li.zipWith=co,Li.entries=ja,Li.entriesIn=La,Li.extend=wa,Li.extendWith=xa,ll(Li,Li),Li.add=_l,Li.attempt=Qa,Li.camelCase=Ba,Li.capitalize=Ya,Li.ceil=bl,Li.clamp=function(t,e,i){return i===s&&(i=e,e=s),i!==s&&(i=(i=va(i))==i?i:0),e!==s&&(e=(e=va(e))==e?e:0),ln(va(t),e,i)},Li.clone=function(t){return hn(t,4)},Li.cloneDeep=function(t){return hn(t,5)},Li.cloneDeepWith=function(t,e){return hn(t,5,e="function"==typeof e?e:s)},Li.cloneWith=function(t,e){return hn(t,4,e="function"==typeof e?e:s)},Li.conformsTo=function(t,e){return null==e||un(t,e,za(e))},Li.deburr=qa,Li.defaultTo=function(t,e){return null==t||t!=t?e:t},Li.divide=yl,Li.endsWith=function(t,e,i){t=ba(t),e=us(e);var n=t.length,r=i=i===s?n:ln(ga(i),0,n);return(i-=e.length)>=0&&t.slice(i,r)==e},Li.eq=Fo,Li.escape=function(t){return(t=ba(t))&&Z.test(t)?t.replace(X,ri):t},Li.escapeRegExp=function(t){return(t=ba(t))&&rt.test(t)?t.replace(st,"\\$&"):t},Li.every=function(t,e,i){var n=Uo(t)?Ae:gn;return i&&yr(t,e,i)&&(e=s),n(t,hr(e,3))},Li.find=vo,Li.findIndex=Yr,Li.findKey=function(t,e){return Fe(t,hr(e,3),wn)},Li.findLast=_o,Li.findLastIndex=qr,Li.findLastKey=function(t,e){return Fe(t,hr(e,3),xn)},Li.floor=wl,Li.forEach=bo,Li.forEachRight=yo,Li.forIn=function(t,e){return null==t?t:bn(t,hr(e,3),Ea)},Li.forInRight=function(t,e){return null==t?t:yn(t,hr(e,3),Ea)},Li.forOwn=function(t,e){return t&&wn(t,hr(e,3))},Li.forOwnRight=function(t,e){return t&&xn(t,hr(e,3))},Li.get=Ta,Li.gt=Bo,Li.gte=Yo,Li.has=function(t,e){return null!=t&&mr(t,e,Sn)},Li.hasIn=Sa,Li.head=$r,Li.identity=sl,Li.includes=function(t,e,i,n){t=Ko(t)?t:Fa(t),i=i&&!n?ga(i):0;var s=t.length;return i<0&&(i=_i(s+i,0)),la(t)?i<=s&&t.indexOf(e,i)>-1:!!s&&Ye(t,e,i)>-1},Li.indexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var s=null==i?0:ga(i);return s<0&&(s=_i(n+s,0)),Ye(t,e,s)},Li.inRange=function(t,e,i){return e=pa(e),i===s?(i=e,e=0):i=pa(i),function(t,e,i){return t>=bi(e,i)&&t<_i(e,i)}(t=va(t),e,i)},Li.invoke=Aa,Li.isArguments=qo,Li.isArray=Uo,Li.isArrayBuffer=$o,Li.isArrayLike=Ko,Li.isArrayLikeObject=Vo,Li.isBoolean=function(t){return!0===t||!1===t||ia(t)&&In(t)==y},Li.isBuffer=Xo,Li.isDate=Go,Li.isElement=function(t){return ia(t)&&1===t.nodeType&&!ra(t)},Li.isEmpty=function(t){if(null==t)return!0;if(Ko(t)&&(Uo(t)||"string"==typeof t||"function"==typeof t.splice||Xo(t)||ua(t)||qo(t)))return!t.length;var e=gr(t);if(e==D||e==M)return!t.size;if(Cr(t))return!Nn(t).length;for(var i in t)if(Ht.call(t,i))return!1;return!0},Li.isEqual=function(t,e){return En(t,e)},Li.isEqualWith=function(t,e,i){var n=(i="function"==typeof i?i:s)?i(t,e):s;return n===s?En(t,e,s,i):!!n},Li.isError=Zo,Li.isFinite=function(t){return"number"==typeof t&&ye(t)},Li.isFunction=Jo,Li.isInteger=Qo,Li.isLength=ta,Li.isMap=na,Li.isMatch=function(t,e){return t===e||On(t,e,cr(e))},Li.isMatchWith=function(t,e,i){return i="function"==typeof i?i:s,On(t,e,cr(e),i)},Li.isNaN=function(t){return sa(t)&&t!=+t},Li.isNative=function(t){if(kr(t))throw new Ct("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Wn(t)},Li.isNil=function(t){return null==t},Li.isNull=function(t){return null===t},Li.isNumber=sa,Li.isObject=ea,Li.isObjectLike=ia,Li.isPlainObject=ra,Li.isRegExp=oa,Li.isSafeInteger=function(t){return Qo(t)&&t>=-9007199254740991&&t<=p},Li.isSet=aa,Li.isString=la,Li.isSymbol=ha,Li.isTypedArray=ua,Li.isUndefined=function(t){return t===s},Li.isWeakMap=function(t){return ia(t)&&gr(t)==E},Li.isWeakSet=function(t){return ia(t)&&"[object WeakSet]"==In(t)},Li.join=function(t,e){return null==t?"":Le.call(t,e)},Li.kebabCase=Ua,Li.last=Gr,Li.lastIndexOf=function(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=n;return i!==s&&(r=(r=ga(i))<0?_i(n+r,0):bi(r,n-1)),e==e?function(t,e,i){for(var n=i+1;n--;)if(t[n]===e)return n;return n}(t,e,r):Be(t,Ue,r,!0)},Li.lowerCase=$a,Li.lowerFirst=Ka,Li.lt=ca,Li.lte=fa,Li.max=function(t){return t&&t.length?mn(t,sl,Tn):s},Li.maxBy=function(t,e){return t&&t.length?mn(t,hr(e,2),Tn):s},Li.mean=function(t){return $e(t,sl)},Li.meanBy=function(t,e){return $e(t,hr(e,2))},Li.min=function(t){return t&&t.length?mn(t,sl,jn):s},Li.minBy=function(t,e){return t&&t.length?mn(t,hr(e,2),jn):s},Li.stubArray=ml,Li.stubFalse=vl,Li.stubObject=function(){return{}},Li.stubString=function(){return""},Li.stubTrue=function(){return!0},Li.multiply=kl,Li.nth=function(t,e){return t&&t.length?qn(t,ga(e)):s},Li.noConflict=function(){return ge._===this&&(ge._=Ft),this},Li.noop=hl,Li.now=To,Li.pad=function(t,e,i){t=ba(t);var n=(e=ga(e))?di(t):0;if(!e||n>=e)return t;var s=(e-n)/2;return Us(me(s),i)+t+Us(pe(s),i)},Li.padEnd=function(t,e,i){t=ba(t);var n=(e=ga(e))?di(t):0;return e&&n<e?t+Us(e-n,i):t},Li.padStart=function(t,e,i){t=ba(t);var n=(e=ga(e))?di(t):0;return e&&n<e?Us(e-n,i)+t:t},Li.parseInt=function(t,e,i){return i||null==e?e=0:e&&(e=+e),wi(ba(t).replace(ot,""),e||0)},Li.random=function(t,e,i){if(i&&"boolean"!=typeof i&&yr(t,e,i)&&(e=i=s),i===s&&("boolean"==typeof e?(i=e,e=s):"boolean"==typeof t&&(i=t,t=s)),t===s&&e===s?(t=0,e=1):(t=pa(t),e===s?(e=t,t=0):e=pa(e)),t>e){var n=t;t=e,e=n}if(i||t%1||e%1){var r=xi();return bi(t+r*(e-t+ce("1e-"+((r+"").length-1))),e)}return Xn(t,e)},Li.reduce=function(t,e,i){var n=Uo(t)?Ne:Xe,s=arguments.length<3;return n(t,hr(e,4),i,s,dn)},Li.reduceRight=function(t,e,i){var n=Uo(t)?Re:Xe,s=arguments.length<3;return n(t,hr(e,4),i,s,pn)},Li.repeat=function(t,e,i){return e=(i?yr(t,e,i):e===s)?1:ga(e),Gn(ba(t),e)},Li.replace=function(){var t=arguments,e=ba(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Li.result=function(t,e,i){var n=-1,r=(e=ys(e,t)).length;for(r||(r=1,t=s);++n<r;){var o=null==t?s:t[Nr(e[n])];o===s&&(n=r,o=i),t=Jo(o)?o.call(t):o}return t},Li.round=Cl,Li.runInContext=t,Li.sample=function(t){return(Uo(t)?Zi:Jn)(t)},Li.size=function(t){if(null==t)return 0;if(Ko(t))return la(t)?di(t):t.length;var e=gr(t);return e==D||e==M?t.size:Nn(t).length},Li.snakeCase=Va,Li.some=function(t,e,i){var n=Uo(t)?je:rs;return i&&yr(t,e,i)&&(e=s),n(t,hr(e,3))},Li.sortedIndex=function(t,e){return os(t,e)},Li.sortedIndexBy=function(t,e,i){return as(t,e,hr(i,2))},Li.sortedIndexOf=function(t,e){var i=null==t?0:t.length;if(i){var n=os(t,e);if(n<i&&Fo(t[n],e))return n}return-1},Li.sortedLastIndex=function(t,e){return os(t,e,!0)},Li.sortedLastIndexBy=function(t,e,i){return as(t,e,hr(i,2),!0)},Li.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var i=os(t,e,!0)-1;if(Fo(t[i],e))return i}return-1},Li.startCase=Xa,Li.startsWith=function(t,e,i){return t=ba(t),i=null==i?0:ln(ga(i),0,t.length),e=us(e),t.slice(i,i+e.length)==e},Li.subtract=Dl,Li.sum=function(t){return t&&t.length?Ge(t,sl):0},Li.sumBy=function(t,e){return t&&t.length?Ge(t,hr(e,2)):0},Li.template=function(t,e,i){var n=Li.templateSettings;i&&yr(t,e,i)&&(e=s),t=ba(t),e=ka({},e,n,Qs);var r=ka({},e.imports,n.imports,Qs),o=za(r),a=ti(r,o);Pe(o,function(t){if(ft.test(t))throw new Ct("Invalid `imports` option passed into `_.template`")});var l,h,u=0,c=e.interpolate||xt,f="__p += '",d=St((e.escape||xt).source+"|"+c.source+"|"+(c===tt?pt:xt).source+"|"+(e.evaluate||xt).source+"|$","g"),p="//# sourceURL="+(Ht.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ae+"]")+"\n";t.replace(d,function(e,i,n,s,r,o){return n||(n=s),f+=t.slice(u,o).replace(kt,oi),i&&(l=!0,f+="' +\n__e("+i+") +\n'"),r&&(h=!0,f+="';\n"+r+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=o+e.length,e}),f+="';\n";var g=Ht.call(e,"variable")&&e.variable;if(g){if(ft.test(g))throw new Ct("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(h?f.replace(U,""):f).replace($,"$1").replace(K,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(h?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
2\n")+f+"return __p\n}";var m=Qa(function(){return Dt(o,p+"return "+f).apply(s,a)});if(m.source=f,Zo(m))throw m;return m},Li.times=function(t,e){if((t=ga(t))<1||t>p)return[];var i=m,n=bi(t,m);e=hr(e),t-=m;for(var s=Ze(n,e);++i<t;)e(i);return s},Li.toFinite=pa,Li.toInteger=ga,Li.toLength=ma,Li.toLower=function(t){return ba(t).toLowerCase()},Li.toNumber=va,Li.toSafeInteger=function(t){return t?ln(ga(t),-9007199254740991,p):0===t?t:0},Li.toString=ba,Li.toUpper=function(t){return ba(t).toUpperCase()},Li.trim=function(t,e,i){if((t=ba(t))&&(i||e===s))return Je(t);if(!t||!(e=us(e)))return t;var n=pi(t),r=pi(e);return xs(n,ii(n,r),ni(n,r)+1).join("")},Li.trimEnd=function(t,e,i){if((t=ba(t))&&(i||e===s))return t.slice(0,gi(t)+1);if(!t||!(e=us(e)))return t;var n=pi(t);return xs(n,0,ni(n,pi(e))+1).join("")},Li.trimStart=function(t,e,i){if((t=ba(t))&&(i||e===s))return t.replace(ot,"");if(!t||!(e=us(e)))return t;var n=pi(t);return xs(n,ii(n,pi(e))).join("")},Li.truncate=function(t,e){var i=30,n="...";if(ea(e)){var r="separator"in e?e.separator:r;i="length"in e?ga(e.length):i,n="omission"in e?us(e.omission):n}var o=(t=ba(t)).length;if(ai(t)){var a=pi(t);o=a.length}if(i>=o)return t;var l=i-di(n);if(l<1)return n;var h=a?xs(a,0,l).join(""):t.slice(0,l);if(r===s)return h+n;if(a&&(l+=h.length-l),oa(r)){if(t.slice(l).search(r)){var u,c=h;for(r.global||(r=St(r.source,ba(gt.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var f=u.index;h=h.slice(0,f===s?l:f)}}else if(t.indexOf(us(r),l)!=l){var d=h.lastIndexOf(r);d>-1&&(h=h.slice(0,d))}return h+n},Li.unescape=function(t){return(t=ba(t))&&G.test(t)?t.replace(V,mi):t},Li.uniqueId=function(t){var e=++Nt;return ba(t)+e},Li.upperCase=Ga,Li.upperFirst=Za,Li.each=bo,Li.eachRight=yo,Li.first=$r,ll(Li,(xl={},wn(Li,function(t,e){Ht.call(Li.prototype,e)||(xl[e]=t)}),xl),{chain:!1}),Li.VERSION="4.18.1",Pe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Li[t].placeholder=Li}),Pe(["drop","take"],function(t,e){qi.prototype[t]=function(i){i=i===s?1:_i(ga(i),0);var n=this.__filtered__&&!e?new qi(this):this.clone();return n.__filtered__?n.__takeCount__=bi(i,n.__takeCount__):n.__views__.push({size:bi(i,m),type:t+(n.__dir__<0?"Right":"")}),n},qi.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Pe(["filter","map","takeWhile"],function(t,e){var i=e+1,n=1==i||3==i;qi.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:hr(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}}),Pe(["head","last"],function(t,e){var i="take"+(e?"Right":"");qi.prototype[t]=function(){return this[i](1).value()[0]}}),Pe(["initial","tail"],function(t,e){var i="drop"+(e?"":"Right");qi.prototype[t]=function(){return this.__filtered__?new qi(this):this[i](1)}}),qi.prototype.compact=function(){return this.filter(sl)},qi.prototype.find=function(t){return this.filter(t).head()},qi.prototype.findLast=function(t){return this.reverse().find(t)},qi.prototype.invokeMap=Zn(function(t,e){return"function"==typeof t?new qi(this):this.map(function(i){return An(i,t,e)})}),qi.prototype.reject=function(t){return this.filter(Ho(hr(t)))},qi.prototype.slice=function(t,e){t=ga(t);var i=this;return i.__filtered__&&(t>0||e<0)?new qi(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==s&&(i=(e=ga(e))<0?i.dropRight(-e):i.take(e-t)),i)},qi.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},qi.prototype.toArray=function(){return this.take(m)},wn(qi.prototype,function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),r=Li[n?"take"+("last"==e?"Right":""):e],o=n||/^find/.test(e);r&&(Li.prototype[e]=function(){var e=this.__wrapped__,a=n?[1]:arguments,l=e instanceof qi,h=a[0],u=l||Uo(e),c=function(t){var e=r.apply(Li,He([t],a));return n&&f?e[0]:e};u&&i&&"function"==typeof h&&1!=h.length&&(l=u=!1);var f=this.__chain__,d=!!this.__actions__.length,p=o&&!f,g=l&&!d;if(!o&&u){e=g?e:new qi(this);var m=t.apply(e,a);return m.__actions__.push({func:po,args:[c],thisArg:s}),new Yi(m,f)}return p&&g?t.apply(this,a):(m=this.thru(c),p?n?m.value()[0]:m.value():m)})}),Pe(["pop","push","shift","sort","splice","unshift"],function(t){var e=At[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);Li.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var s=this.value();return e.apply(Uo(s)?s:[],t)}return this[i](function(i){return e.apply(Uo(i)?i:[],t)})}}),wn(qi.prototype,function(t,e){var i=Li[e];if(i){var n=i.name+"";Ht.call(Ai,n)||(Ai[n]=[]),Ai[n].push({name:e,func:i})}}),Ai[Fs(s,2).name]=[{name:"wrapper",func:s}],qi.prototype.clone=function(){var t=new qi(this.__wrapped__);return t.__actions__=Ms(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ms(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ms(this.__views__),t},qi.prototype.reverse=function(){if(this.__filtered__){var t=new qi(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},qi.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,i=Uo(t),n=e<0,s=i?t.length:0,r=function(t,e,
vendor: 6,606 bytes, line 2
2i){var n=-1,s=i.length;for(;++n<s;){var r=i[n],o=r.size;switch(r.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=bi(e,t+o);break;case"takeRight":t=_i(t,e-o)}}return{start:t,end:e}}(0,s,this.__views__),o=r.start,a=r.end,l=a-o,h=n?a:o-1,u=this.__iteratees__,c=u.length,f=0,d=bi(l,this.__takeCount__);if(!i||!n&&s==l&&d==l)return gs(t,this.__actions__);var p=[];t:for(;l--&&f<d;){for(var g=-1,m=t[h+=e];++g<c;){var v=u[g],_=v.iteratee,b=v.type,y=_(m);if(2==b)m=y;else if(!y){if(1==b)continue t;break t}}p[f++]=m}return p},Li.prototype.at=go,Li.prototype.chain=function(){return fo(this)},Li.prototype.commit=function(){return new Yi(this.value(),this.__chain__)},Li.prototype.next=function(){this.__values__===s&&(this.__values__=da(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?s:this.__values__[this.__index__++]}},Li.prototype.plant=function(t){for(var e,i=this;i instanceof Bi;){var n=jr(i);n.__index__=0,n.__values__=s,e?r.__wrapped__=n:e=n;var r=n;i=i.__wrapped__}return r.__wrapped__=t,e},Li.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof qi){var e=t;return this.__actions__.length&&(e=new qi(this)),(e=e.reverse()).__actions__.push({func:po,args:[to],thisArg:s}),new Yi(e,this.__chain__)}return this.thru(to)},Li.prototype.toJSON=Li.prototype.valueOf=Li.prototype.value=function(){return gs(this.__wrapped__,this.__actions__)},Li.prototype.first=Li.prototype.head,Jt&&(Li.prototype[Jt]=function(){return this}),Li}();ge._=vi,(n=function(){return vi}.call(e,i,e,t))===s||(t.exports=n)}.call(this)},20(t,e,i){"use strict";var n=i(540),s=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function h(t,e,i){var n,r={},h=null,u=null;for(n in void 0!==i&&(h=""+i),void 0!==e.key&&(h=""+e.key),void 0!==e.ref&&(u=e.ref),e)o.call(e,n)&&!l.hasOwnProperty(n)&&(r[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===r[n]&&(r[n]=e[n]);return{$$typeof:s,type:t,key:h,ref:u,props:r,_owner:a.current}}e.Fragment=r,e.jsx=h,e.jsxs=h},287(t,e){"use strict";var i=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function v(t,e,i){this.props=t,this.context=e,this.refs=m,this.updater=i||p}function _(){}function b(t,e,i){this.props=t,this.context=e,this.refs=m,this.updater=i||p}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},_.prototype=v.prototype;var y=b.prototype=new _;y.constructor=b,g(y,v.prototype),y.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function D(t,e,n){var s,r={},o=null,a=null;if(null!=e)for(s in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(o=""+e.key),e)x.call(e,s)&&!C.hasOwnProperty(s)&&(r[s]=e[s]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var h=Array(l),u=0;u<l;u++)h[u]=arguments[u+2];r.children=h}if(t&&t.defaultProps)for(s in l=t.defaultProps)void 0===r[s]&&(r[s]=l[s]);return{$$typeof:i,type:t,key:o,ref:a,props:r,_owner:k.current}}function I(t){return"object"==typeof t&&null!==t&&t.$$typeof===i}var T=/\/+/g;function S(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function P(t,e,s,r,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case n:l=!0}}if(l)return o=o(l=t),t=""===r?"."+S(l,0):r,w(o)?(s="",null!=t&&(s=t.replace(T,"$&/")+"/"),P(o,e,s,"",function(t){return t})):null!=o&&(I(o)&&(o=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(o,s+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+t)),e.push(o)),1;if(l=0,r=""===r?".":r+":",w(t))for(var h=0;h<t.length;h++){var u=r+S(a=t[h],h);l+=P(a,e,s,u,o)}else if(u=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=d&&t[d]||t["@@iterator"])?t:null}(t),"function"==typeof u)for(t=u.call(t),h=0;!(a=t.next()).done;)l+=P(a=a.value,e,s,u=r+S(a,h++),o);else if("object"===a)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return l}function M(t,e,i){if(null==t)return t;var n=[],s=0;return P(t,n,"","",function(t){return e.call(i,t,s++)}),n}function A(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var z={current:null},E={transition:null},O={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:E,ReactCurrentOwner:k};function W(){throw Error("act(...) is not supported in production builds of React.")}e.Children={map:M,forEach:function(t,e,i){M(t,function(){e.apply(this,arguments)},i)},count:function(t){var e=0;return M(t,function(){e++}),e},toArray:function(t){return M(t,function(t){return t})||[]},only:function(t){if(!I(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=v,e.Fragment=s,e.Profiler=o,e.PureComponent=b,e.StrictMode=r,e.Suspense=u,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,e.act=W,e.cloneElement=function(t,e,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var s=g({},t.props),r=t.key,o=t.ref,a=t._owner;if(null!=e){if(void 0!==e.ref&&(o=e.ref,a=k.current),void 0!==e.ke
vendor: 15,061 bytes, line 2
2y&&(r=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(h in e)x.call(e,h)&&!C.hasOwnProperty(h)&&(s[h]=void 0===e[h]&&void 0!==l?l[h]:e[h])}var h=arguments.length-2;if(1===h)s.children=n;else if(1<h){l=Array(h);for(var u=0;u<h;u++)l[u]=arguments[u+2];s.children=l}return{$$typeof:i,type:t.type,key:r,ref:o,props:s,_owner:a}},e.createContext=function(t){return(t={$$typeof:l,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=D,e.createFactory=function(t){var e=D.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:h,render:t}},e.isValidElement=I,e.lazy=function(t){return{$$typeof:f,_payload:{_status:-1,_result:t},_init:A}},e.memo=function(t,e){return{$$typeof:c,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=E.transition;E.transition={};try{t()}finally{E.transition=e}},e.unstable_act=W,e.useCallback=function(t,e){return z.current.useCallback(t,e)},e.useContext=function(t){return z.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return z.current.useDeferredValue(t)},e.useEffect=function(t,e){return z.current.useEffect(t,e)},e.useId=function(){return z.current.useId()},e.useImperativeHandle=function(t,e,i){return z.current.useImperativeHandle(t,e,i)},e.useInsertionEffect=function(t,e){return z.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return z.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return z.current.useMemo(t,e)},e.useReducer=function(t,e,i){return z.current.useReducer(t,e,i)},e.useRef=function(t){return z.current.useRef(t)},e.useState=function(t){return z.current.useState(t)},e.useSyncExternalStore=function(t,e,i){return z.current.useSyncExternalStore(t,e,i)},e.useTransition=function(){return z.current.useTransition()},e.version="18.3.1"},540(t,e,i){"use strict";t.exports=i(287)},848(t,e,i){"use strict";t.exports=i(20)},371(t,e,i){var n;!function(){function s(t,e,i){return t.call.apply(t.bind,arguments)}function r(t,e,i){if(!t)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),t.apply(e,i)}}return function(){return t.apply(e,arguments)}}function o(t,e,i){return(o=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?s:r).apply(null,arguments)}var a=Date.now||function(){return+new Date};function l(t,e){this.a=t,this.o=e||t,this.c=this.o.document}var h=!!window.FontFace;function u(t,e,i,n){if(e=t.c.createElement(e),i)for(var s in i)i.hasOwnProperty(s)&&("style"==s?e.style.cssText=i[s]:e.setAttribute(s,i[s]));return n&&e.appendChild(t.c.createTextNode(n)),e}function c(t,e,i){(t=t.c.getElementsByTagName(e)[0])||(t=document.documentElement),t.insertBefore(i,t.lastChild)}function f(t){t.parentNode&&t.parentNode.removeChild(t)}function d(t,e,i){e=e||[],i=i||[];for(var n=t.className.split(/\s+/),s=0;s<e.length;s+=1){for(var r=!1,o=0;o<n.length;o+=1)if(e[s]===n[o]){r=!0;break}r||n.push(e[s])}for(e=[],s=0;s<n.length;s+=1){for(r=!1,o=0;o<i.length;o+=1)if(n[s]===i[o]){r=!0;break}r||e.push(n[s])}t.className=e.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function p(t,e){for(var i=t.className.split(/\s+/),n=0,s=i.length;n<s;n++)if(i[n]==e)return!0;return!1}function g(t,e,i){function n(){a&&s&&r&&(a(o),a=null)}e=u(t,"link",{rel:"stylesheet",href:e,media:"all"});var s=!1,r=!0,o=null,a=i||null;h?(e.onload=function(){s=!0,n()},e.onerror=function(){s=!0,o=Error("Stylesheet failed to load"),n()}):setTimeout(function(){s=!0,n()},0),c(t,"head",e)}function m(t,e,i,n){var s=t.c.getElementsByTagName("head")[0];if(s){var r=u(t,"script",{src:e}),o=!1;return r.onload=r.onreadystatechange=function(){o||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(o=!0,i&&i(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&s.removeChild(r))},s.appendChild(r),setTimeout(function(){o||(o=!0,i&&i(Error("Script load timeout")))},n||5e3),r}return null}function v(){this.a=0,this.c=null}function _(t){return t.a++,function(){t.a--,y(t)}}function b(t,e){t.c=e,y(t)}function y(t){0==t.a&&t.c&&(t.c(),t.c=null)}function w(t){this.a=t||"-"}function x(t,e){this.c=t,this.f=4,this.a="n";var i=(e||"n4").match(/^([nio])([1-9])$/i);i&&(this.a=i[1],this.f=parseInt(i[2],10))}function k(t){var e=[];t=t.split(/,\s*/);for(var i=0;i<t.length;i++){var n=t[i].replace(/['"]/g,"");-1!=n.indexOf(" ")||/^\d/.test(n)?e.push("'"+n+"'"):e.push(n)}return e.join(",")}function C(t){return t.a+t.f}function D(t){var e="normal";return"o"===t.a?e="oblique":"i"===t.a&&(e="italic"),e}function I(t){var e=4,i="n",n=null;return t&&((n=t.match(/(normal|oblique|italic)/i))&&n[1]&&(i=n[1].substr(0,1).toLowerCase()),(n=t.match(/([1-9]00|normal|bold)/i))&&n[1]&&(/bold/i.test(n[1])?e=7:/[1-9]00/.test(n[1])&&(e=parseInt(n[1].substr(0,1),10)))),i+e}function T(t,e){this.c=t,this.f=t.o.document.documentElement,this.h=e,this.a=new w("-"),this.j=!1!==e.events,this.g=!1!==e.classes}function S(t){if(t.g){var e=p(t.f,t.a.c("wf","active")),i=[],n=[t.a.c("wf","loading")];e||i.push(t.a.c("wf","inactive")),d(t.f,i,n)}P(t,"inactive")}function P(t,e,i){t.j&&t.h[e]&&(i?t.h[e](i.c,C(i)):t.h[e]())}function M(){this.c={}}function A(t,e){this.c=t,this.f=e,this.a=u(this.c,"span",{"aria-hidden":"true"},this.f)}function z(t){c(t.c,"body",t.a)}function E(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+k(t.c)+";font-style:"+D(t)+";font-weight:"+t.f+"00;"}function O(t,e,i,n,s,r){this.g=t,this.j=e,this.a=n,this.c=i,this.f=s||3e3,this.h=r||void 0}function W(t,e,i,n,s,r,o){this.v=t,this.B=e,this.c=i,this.a=n,this.s=o||"BESbswy",this.f={},this.w=s||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new A(this.c,this.s),this.h=new A(this.c,this.s),this.j=new A(this.c,this.s),this.m=new A(this.c,this.s),t=E(t=new x(this.a.c+",serif",C(this.a))),this.g.a.style.cssText=t,t=E(t=new x(this.a.c+",sans-serif",C(this.a))),this.h.a.style.cssText=t,t=E(t=new x("serif",C(this.a))),this.j.a.style.cssText=t,t=E(t=new x("sans-serif",C(this.a))),this.m.a.style.cssText=t,z(this.g),z(this.h),z(this.j),z(this.m)}w.prototype.c=function(t){for(var e=[],i=0;i<arguments.length;i++)e.push(arguments[i].replace(/[\W_]+/g,"").toLowerCase());return e.join(this.a)},O.prototype.start=function(){var t=this.c.o.document,e=this,i=a(),n=new Promise(function(n,s){!function r(){a()-i>=e.f?s():t.fonts.load(function(t){return D(t)+" "+t.f+"00 300px "+k(t.c)}(e.a),e.h).then(function(t){1<=t.length?n():setTimeout(r,25)},function(){s()})}()}),s=null,r=new Promise(function(t,i){s=setTimeout(i,e.f)});Promise.race([r,n]).then(function(){s&&(clearTimeout(s),s=null),e.g(e.a)},function(){e.j(e.a)})};var H={D:"serif",C:"sans-serif"},N=null;function R(){if(null===N){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);N=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return N}function j(t,e,i){for(var n in H)if(H.hasOwnProperty(n)&&e===t.f[H[n]]&&i===t.f[H[n]])return!0;return!1}function L(t){var e,i=t.g.a.offsetWidth,n=t.h.a.offsetWidth;(e=i===t.f.serif&&n===t.f["sans-serif"])||(e=R()&&j(t,i,n)),e?a()-t.A>=t.w?R()&&j(t,i,n)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?F(t,t.v):F(t,t.B):function(t){setTimeout(o(function(){L(this)},t),50)}(t):F(t,t.v)}function F(t,e){setTimeout(o(function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.m.a),e(this.a)},t),0)}function B(t,e,i){this.c=t,this.a=e,this.f=0,this.m=this.j=!1,this.s=i}W.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),L(this)};var Y=null;function q(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&d(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),P(t,"active")):S(t.a))}function U(t){this.j=t,this.a=new M,this.h=0,this.f=this.g=!0}function $(t,e,i,n,s){var r=0==--t.h;(t.f||t.g)&&setTimeout(function(){var t=s||null,a=n||{};if(0===i.length&&r)S(e.a);else{e.f+=i.length,r&&(e.j=r);var l,h=[];for(l=0;l<i.length;l++){var u=i[l],c=a[u.c],f=e.a,p=u;if(f.g&&d(f.f,[f.a.c("wf",p.c,C(p).toString(),"loading")]),P(f,"fontloading",p),f=null,null===Y)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);Y=p?42<parseInt(p[1],10):!g}else Y=!1;f=Y?new O(o(e.g,e),o(e.h,e),e.c,u,e.s,c):new W(o(e.g,e),o(e.h,e),e.c,u,e.s,t,c),h.push(f)}for(l=0;l<h.length;l++)h[l].start()}},0)}function K(t,e){this.c=t,this.a=e}function V(t,e){this.c=t,this.a=e}function X(t,e){this.c=t||G,this.a=[],this.f=[],this.g=e||""}B.prototype.g=function(t){var e=this.a;e.g&&d(e.f,[e.a.c("wf",t.c,C(t).toString(),"active")],[e.a.c("wf",t.c,C(t).toString(),"loading"),e.a.c("wf",t.c,C(t).toString(),"inactive")]),P(e,"fontactive",t),this.m=!0,q(this)},B.prototype.h=function(t){var e=this.a;if(e.g){var i=p(e.f,e.a.c("wf",t.c,C(t).toString(),"active")),n=[],s=[e.a.c("wf",t.c,C(t).toString(),"loading")];i||n.push(e.a.c("wf",t.c,C(t).toString(),"inactive")),d(e.f,n,s)}P(e,"fontinactive",t),q(this)},U.prototype.load=function(t){this.c=new l(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(t,e,i){var n=[],s=i.timeout;!function(t){t.g&&d(t.f,[t.a.c("wf","loading")]),P(t,"loading")}(e);n=function(t,e,i){var n,s=[];for(n in e)if(e.hasOwnProperty(n)){var r=t.c[n];r&&s.push(r(e[n],i))}return s}(t.a,i,t.c);var r=new B(t.c,e,s);for(t.h=n.length,e=0,i=n.length;e<i;e++)n[e].load(function(e,i,n){$(t,r,e,i,n)})}(this,new T(this.c,t),t)},K.prototype.load=function(t){function e(){if(r["__mti_fntLst"+n]){var i,s=r["__mti_fntLst"+n](),o=[];if(s)for(var a=0;a<s.length;a++){var l=s[a].fontfamily;null!=s[a].fontStyle&&null!=s[a].fontWeight?(i=s[a].fontStyle+s[a].fontWeight,o.push(new x(l,i))):o.push(new x(l))}t(o)}else setTimeout(function(){e()},50)}var i=this,n=i.a.projectId,s=i.a.version;if(n){var r=i.c.o;m(this.c,(i.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(s?"?v="+s:""),function(s){s?t([]):(r["__MonotypeConfiguration__"+n]=function(){return i.a},e())}).id="__MonotypeAPIScript__"+n}else t([])},V.prototype.load=function(t){var e,i,n=this.a.urls||[],s=this.a.families||[],r=this.a.testStrings||{},o=new v;for(e=0,i=n.length;e<i;e++)g(this.c,n[e],_(o));var a=[];for(e=0,i=s.length;e<i;e++)if((n=s[e].split(":"))[1])for(var l=n[1].split(","),h=0;h<l.length;h+=1)a.push(new x(n[0],l[h]));else a.push(new x(n[0]));b(o,function(){t(a,r)})};var G="https://fonts.googleapis.com/css";function Z(t){this.f=t,this.a=[],this.c={}}var J={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Q={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},tt={i:"i",italic:"i",n:"n",normal:"n"},et=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function it(t,e){this.c=t,this.a=e}var nt={Arimo:!0,Cousine:!0,Tinos:!0};function st(t,e){this.c=t,this.a=e}function rt(t,e){this.c=t,this.f=e,this.a=[]}it.prototype.load=function(t){var e=new v,i=this.c,n=new X(this.a.api,this.a.text),s=this.a.families;!function(t,e){for(var i=e.length,n=0;n<i;n++){var s=e[n].split(":");3==s.length&&t.f.push(s.pop());var r="";2==s.length&&""!=s[1]&&(r=":"),t.a.push(s.join(r))}}(n,s);var r=new Z(s);!function(t){for(var e=t.f.length,i=0;i<e;i++){var n=t.f[i].split(":"),s=n[0].replace(/\+/g," "),r=["n4"];if(2<=n.length){var o;if(o=[],a=n[1])for(var a,l=(a=a.split(",")).length,h=0;h<l;h++){var u;if((u=a[h]).match(/^[\w-]+$/))if(null==(c=et.exec(u.toLowerCase())))u="";else{if(u=null==(u=c[2])||""==u?"n":tt[u],null==(c=c[1])||""==c)c="4";else var c=Q[c]||(isNaN(c)?"4":c.substr(0,1));u=[u,c].join("")}else u="";u&&o.push(u)}0<o.length&&(r=o),3==n.length&&(o=[],0<(n=(n=n[2])?n.split(","):o).length&&(n=J[n[0]])&&(t.c[s]=n))}for(t.c[s]||(n=J[s])&&(t.c[s]=n),n=0;n<r.length;n+=1)t.a.push(new x(s,r[n]))}}(r),g(i,function(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var e=t.a.length,i=[],n=0;n<e;n++)i.push(t.a[n].replace(/ /g,"+"));return e=t.c+"?family="+i.join("%7C"),0<t.f.length&&(e+="&subset="+t.f.join(",")),0<t.g.length&&(e+="&text="+encodeURIComponent(t.g)),e}(n),_(e)),b(e,function(){t(r.a,r.c,nt)})},st.prototype.load=function(t){var e=this.a.id,i=this.c.o;e?m(this.c,(this.a.api||"https://use.typekit.net")+"/"+e+".js",function(e){if(e)t([]);else if(i.Typekit&&i.Typekit.config&&i.Typekit.config.fn){e=i.Typekit.config.fn;for(var n=[],s=0;s<e.length;s+=2)for(var r=e[s],o=e[s+1],a=0;a<o.length;a++)n.push(new x(r,o[a]));try{i.Typekit.load({events:!1,classes:!1,async:!0})}catch(t){}t(n)}},2e3):t([])},rt.prototype.load=function(t){var e=this.f.id,i=this.c.o,n=this;e?(i.__webfontfontdeckmodule__||(i.__webfontfontdeckmodule__={}),i.__webfontfontdeckmodule__[e]=function(e,i){for(var s=0,r=i.fonts.length;s<r;++s){var o=i.fonts[s];n.a.push(new x(o.name,I("font-weight:"+o.weight+";font-style:"+o.style)))}t(n.a)},m(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(t){return t.o.location.hostname||t.a.location.hostname}(this.c)+"/"+e+".js",function(e){e&&t([])})):t([])};var ot=new U(window);ot.a.c.custom=function(t,e){return new V(e,t)},ot.a.c.fontdeck=function(t,e){return new rt(e,t)},ot.a.c.monotype=function(t,e){return new K(e,t)},ot.a.c.typekit=function(t,e){return new st(e,t)},ot.a.c.google=function(t,e){return new it(e,t)};var at={load:o(ot.load,ot)};void 0===(n=function(){return at}.call(e,i,e,t))||(t.exports=n)}()},436(t,e,i){"use strict";i.d(e,{W7:()=>z});var n,s=i(540),r=i(848),o={indicator:(t,e,i)=>({background:`linear-gradient(to ${i}, rgba(255, 255, 255, 0), ${e.color})`,opacity:"0",display:"flex"}),hide:t=>{t.style.opacity="0",t.style.pointerEvents="none",t.style.transition||(t.style.transition="opacity 300ms linear")},show:t=>{t.style.opacity="1",t.style.pointerEvents="auto"}},a=(t,e=null)=>{0},l="hide-indicate-scrollbar",h=(t,e)=>{t.parentNode.insertBefore(e,t),e.append(t)},u=(t,e,i,n,s)=>{const r=document.createElementNS("http://www.w3.org/2000/svg","line");return s&&r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-width","20"),r.setAttribute("x1",t),r.setAttribute("y1",e),r.setAttribute("x2",i),r.setAttribute("y2",n),r},c={arrow:{position:"center",icon:"arrow-rounded",color:"#000000"},color:"#FFFFFF",width:"20px",click:{denominator:2},hideScrollbar:!0,moveStylesToWrapper:!1},f=["left","right","top","bottom"],d=t=>
2"left"===t||"right"===t,p=t=>"top"===t||"bottom"===t,g={left:180,right:0,top:270,bottom:90},m=(t,e)=>{Object.keys(e).forEach(i=>{t.style[i]=e[i]})},v=(t,e,i=!1)=>{const n={},s=d(t),r=p(t);s&&(n.top="0"),r&&(n.left="0");const o=i?"1px":e.width;return n.width=s?o:"100%",n.height=r?o:"100%",n},_={indicator:(t,e,i)=>{const n={position:"absolute",display:"none",cursor:e.click?"pointer":"inherit",[i]:"0"};return d(i)?(n.alignItems=e.arrow&&"center"!==e.arrow.position?`flex-${e.arrow.position}`:"center",n.justifyContent="center"):(n.justifyContent=e.arrow&&"center"!==e.arrow.position?`flex-${e.arrow.position}`:"center",n.alignItems="center"),{...n,...v(i,e)}},hide:t=>{t.style.display="none"},show:t=>{t.style.display="flex"},arrow:(t,e,i)=>({width:"12px",height:"12px",display:"block",transform:`rotate(${g[i]}deg)`}),outerWrapper:(t,e,i,n)=>{const s={position:"relative"};return n&&(s.display="inline"===n?"inline-block":n),s},element:(t,e,i,n)=>{const s={};return n&&(s.display="inline"===n?"inline-block":n,s.verticalAlign="top"),i||"scroll"===t.style.overflow||(s.overflow="auto"),i&&(s.position="relative",s.display="inline-block",s.verticalAlign="top"),s},innerWrapper:(t,e,i)=>{const n={position:"relative",display:"inline-flex",verticalAlign:"top"};return i&&t&&"scroll"!==t.style.overflow&&(n.overflow="auto"),n},observer:(t,e,i)=>({position:"absolute",pointerEvents:"none",[i]:"0",...v(i,e,!0)})},b=(t,...e)=>{if("object"==typeof t)return t;const i=t(...e);return"object"==typeof i?i:void 0},y=(t,e,i,...n)=>{let s;i.theme&&i.theme[e]&&(s=b(i.theme[e],t,i,...n));let r=((t,e,i,n)=>["show","hide"].includes(t)&&i.theme[t]?{}:b(_[t],e,i,...n))(e,t,i,n);"object"==typeof i.inlineStyles&&"object"==typeof i.inlineStyles[e]&&(r={...r,...i.inlineStyles[e]});const o=s?{...r,...s}:r;o&&Object.keys(o).length&&m(t,o)},w=(t,e,i)=>{d(t)?((t,e,i)=>{const n=e.scrollLeft;let s=e.offsetWidth/i;"left"===t&&(s=-s),e.scrollTo({left:n+s,behavior:"smooth"})})(t,e,i):((t,e,i)=>{const n=e.scrollTop;let s=e.offsetHeight/i;"top"===t&&(s=-s),e.scrollTo({top:n+s,behavior:"smooth"})})(t,e,i)},x=(t,e,i)=>{if(!i.options.click)return;const{denominator:n}=i.options.click,s=i.table?i.innerWrapper:i.element;i.options.click&&e.addEventListener("click",w.bind(null,t,s,n))},k=({element:t,options:e,table:i,inline:n})=>{if(i)return(({element:t,options:e})=>{const i=e.outerWrapper??document.createElement("div");y(i,"outerWrapper",e,!0,!1),e.outerWrapper||h(t,i);const n=e.innerWrapper??document.createElement("div");return y(n,"innerWrapper",e,!0,!1),n.style.overflow="auto",n.style.display="",e.innerWrapper||h(t,n),{outerWrapper:i,innerWrapper:n}})({element:t,options:e});const s=e.outerWrapper??document.createElement("div");y(s,"outerWrapper",e,i,n),e.outerWrapper||h(t,s);const r=e.innerWrapper??document.createElement("div");return y(r,"innerWrapper",e,i,n),e.innerWrapper||((t,e)=>{e.innerHTML=t.innerHTML,t.innerHTML="",t.appendChild(e)})(t,r),{outerWrapper:s,innerWrapper:r}},C=(t,e)=>{const i=(t=>"table"===t.tagName.toLowerCase())(t),s=(t=>{const e=window.getComputedStyle(t).getPropertyValue("display");return!!e.startsWith("inline")&&e})(t),r=()=>{const t={};return f.forEach(e=>{t[e]=document.createElement("span")}),t},{outerWrapper:o,innerWrapper:a}=k({element:t,options:e,table:i,inline:s});if(((t,e,i)=>{i.moveStylesToWrapper&&(e.className+=` ${t.className}`,t.className="",e.style.cssText+=t.style.cssText,t.style.cssText=null)})(t,o,e),y(t,"element",e,i,s),e.hideScrollbar){const e=i?a:t;(t=>{m(t,{"-ms-overflow-style":"none","scrollbar-width":"none"})})(e),(t=>{if(t.classList.add(l),n)return;n=document.createElement("style");const{sheet:e}=document.head.appendChild(n);e.insertRule(`.${l}::-webkit-scrollbar { display: none; }`)})(e)}return{outerWrapper:o,innerWrapper:a,element:t,indicator:r(),observer:r(),options:e,table:i,inline:s}},D=(t,e,i)=>{const n=t.options.arrow;if(!n)return;let s=null;n.image?(s=document.createElement("img"),s.src=n.image,s.alt=`indicate arrow ${i}`):n.markup&&""!==n.markup?"string"==typeof n.markup?(s=document.createElement("span"),s.innerHTML=n.markup):s=n.markup:s=((t,e)=>{const i=document.createElementNS("http://www.w3.org/2000/svg","svg");return i.setAttribute("viewBox","0 0 120 120"),i.setAttribute("stroke",e),"arrow-rounded"===t?(i.appendChild(u("10","60","110","60",!0)),i.appendChild(u("108.213","57.3553","61.5442","10.6863",!0)),i.appendChild(u("61.5442","109.213","108.213","62.5442",!0))
2):"pointer-rounded"===t?(i.appendChild(u("43.1421","11","91.2254","59.0833",!0)),i.appendChild(u("91.2254","60.1421","43.1421","108.225",!0))):"arrow"===t?(i.appendChild(u("0","60","120","60")),i.appendChild(u("62.9289","112.929","113.284","62.5736")),i.appendChild(u("113.284","57.4264","62.929","7.07109"))):(i.appendChild(u("37.0711","6.92893","96.8923","66.7502")),i.appendChild(u("96.468","53.0711","37.0711","112.468"))),i})(n.icon,n.color),y(s,"arrow",t.options,i),e.append(s)},I=(t,e)=>{const i=[];e.forEach(e=>f.forEach(n=>{e.target===t.observer[n]&&i.push({direction:n,visible:e.isIntersecting})})),i.forEach(e=>{e.visible?y(t.indicator[e.direction],"hide",t.options):y(t.indicator[e.direction],"show",t.options)})},T=t=>{const e=new IntersectionObserver(I.bind(null,t),{root:t.table?t.innerWrapper:t.element,rootMargin:"0px",threshold:.1});t.intersectionObserver=e,f.forEach(i=>e.observe(t.observer[i]))},S=new Map,P=new Map,M=t=>{if("string"==typeof t){const e=document.querySelectorAll(t);if(e.length)return e}return t instanceof NodeList&&t.length?t:t instanceof HTMLElement&&t.isConnected?[t]:(a(0,{element:t}),!1)},A=(t,e)=>{if(((t,e)=>{let i=!1;return S.get(e)&&(i=!0),t.moveStylesToWrapper&&!i&&e.childNodes.length>0&&S.get(e.childNodes[0])&&(i=!0),i&&a(0,{element:e}),i})(t,e))return;const i=C(e,t);(t=>{f.forEach(e=>{const i=t.indicator[e];y(i,"indicator",t.options,e),t.outerWrapper.append(i),x(e,i,t),D(t,i,e)})})(i),(t=>{f.forEach(e=>{const i=t.observer[e];y(i,"observer",t.options,e),t.table?t.element.append(i):t.innerWrapper.append(i)})})(i),S.set(e,i),P.set(i.outerWrapper,i),T(i)},z=(t,e)=>{const i=M(t),n=((t={})=>{const e={...c,...t};return"object"==typeof e.arrow&&(e.arrow={...c.arrow,...e.arrow}),"object"==typeof e.click&&(e.click={...c.click,...e.click}),!0===e.arrow&&(e.arrow=c.arrow),!0===e.click&&(e.click=c.click),e.theme&&"object"!=typeof e.theme?(a(0,{theme:e.theme}),delete e.theme):e.theme||(e.theme=o),e})(e);i&&(IntersectionObserver?i.forEach(A.bind(null,n)):a())},E="hide-indicate-scrollbar",O=(t,e)=>{if("undefined"===t&&(t=void 0),t||e)return[t,e&&E].filter(Boolean).join(" ")},W={position:"center",icon:"arrow-rounded",color:"#000000"},H={left:180,right:0,top:270,bottom:90};function N({icon:t,color:e,markup:i,image:n,direction:s,theme:o}){const a={width:12,height:12,display:"block",transform:`rotate(${H[s]}deg)`,...o.arrow};return n?(0,r.jsx)("img",{style:a,src:n,alt:`indicate arrow ${s}`}):i?(0,r.jsx)("span",{style:a,children:i}):"arrow-rounded"===t?(0,r.jsxs)("svg",{style:a,viewBox:"0 0 120 120",stroke:e,children:[(0,r.jsx)("line",{strokeWidth:20,strokeLinecap:"round",x1:"10",y1:"60",x2:"110",y2:"60"}),(0,r.jsx)("line",{strokeWidth:20,strokeLinecap:"round",x1:"108.213",y1:"57.3553",x2:"61.5442",y2:"10.6863"}),(0,r.jsx)("line",{strokeWidth:20,strokeLinecap:"round",x1:"61.5442",y1:"109.213",x2:"108.213",y2:"62.5442"})]}):"pointer-rounded"===t?(0,r.jsxs)("svg",{style:a,viewBox:"0 0 120 120",stroke:e,children:[(0,r.jsx)("line",{strokeWidth:20,strokeLinecap:"round",x1:"43.1421",y1:"11",x2:"91.2254",y2:"59.0833"}),(0,r.jsx)("line",{strokeWidth:20,strokeLinecap:"round",x1:"91.2254",y1:"60.1421",x2:"43.1421",y2:"108.225"})]}):"arrow"===t?(0,r.jsxs)("svg",{style:a,viewBox:"0 0 120 120",stroke:e,children:[(0,r.jsx)("line",{strokeWidth:20,x1:"0",y1:"60",x2:"120",y2:"60"}),(0,r.jsx)("line",{strokeWidth:20,x1:"62.9289",y1:"112.929",x2:"113.284",y2:"62.5736"}),(0,r.jsx)("line",{strokeWidth:20,x1:"113.284",y1:"57.4264",x2:"62.929",y2:"7.07109"})]}):(0,r.jsxs)("svg",{style:a,viewBox:"0 0 120 120",stroke:e,children:[(0,r.jsx)("line",{strokeWidth:20,x1:"37.0711",y1:"6.92893",x2:"96.8923",y2:"66.7502"}),(0,r.jsx)("line",{strokeWidth:20,x1:"96.468",y1:"53.0711",x2:"37.0711",y2:"112.468"})]})}var R=t=>{const e=t.position??"center";return"center"===e?e:`flex-${e}`};
2function j({observersRef:t,as:e="span",theme:i}){return(0,r.jsx)(r.Fragment,{children:f.map(n=>(0,r.jsx)(e,{ref:t[n],style:{position:"absolute",top:d(n)?"0":"auto",left:p(n)?"0":"auto",[n]:"0",width:p(n)?"100%":1,height:d(n)?"100%":1,...i.observer}},n))})}function L({visibility:t,click:e,arrow:i,indicatorsRef:n,handleIndicatorClick:s,width:o,color:a,theme:l}){return(0,r.jsx)(r.Fragment,{children:f.map((h,u)=>(0,r.jsx)("span",{style:{display:"flex",opacity:t[h]?1:0,pointerEvents:t[h]?"auto":"none",background:`linear-gradient(to ${h}, rgba(255, 255, 255, 0), ${a})`,transition:"opacity 300ms linear",position:"absolute",cursor:e?"pointer":"inherit",top:d(h)?"0":"auto",left:p(h)?"0":"auto",[h]:"0",alignItems:R(i),justifyContent:R(i),width:d(h)?o:"100%",height:p(h)?o:"100%",...l.indicator,...t[h]?l.show&&l.show(n[u]):l.show&&l.hide(n[u])},role:"button","aria-label":`Scroll ${h}.`,tabIndex:0,onKeyDown:()=>{},ref:n[u],onClick:e?()=>s(h):null,children:i&&(0,r.jsx)(N,{...W,...i,direction:h,theme:l})},h))})}(0,s.forwardRef)(({as:t="div",children:e,childAsElement:i,horizontal:n=!1,vertical:o=!1,click:l={scrollDenominator:4},color:h="#FFFFFF",width:u="20px",style:c,innerStyle:p,outerStyle:g,outerWrapperProps:m,innerWrapperProps:v,arrow:_=W,hideScrollbar:b=!0,className:y,moveStylesToWrapper:w=!1,theme:x={},...k},C)=>{const D=(0,s.useRef)(),I=(0,s.useRef)(),T=(0,s.useRef)(),S=(0,s.useRef)([]),P=(M=t,!(!(A=c&&c.display)||!A.startsWith("inline"))||["a","code","cite","span","strong","b","textarea"].includes(String(M)));var M,A;const z=f.reduce((t,e)=>(t[e]=(0,s.useRef)(),t),{}),[H,N]=(0,s.useState)(((t,e)=>({top:!1,right:!e,bottom:!t,left:!1}))(n,o)),R=(0,s.useRef)(H);let F=null;const B=(0,s.useCallback)(t=>{const e=d(t),i=e?I.current.scrollLeft:I.current.scrollTop,n=l.scrollDenominator;let s=(e?I.current.offsetWidth:I.current.offsetHeight)/n;"left"!==t&&"top"!==t||(s=-s),I.current.scrollTo({[e?"left":"top"]:i+s,behavior:"smooth"})},[]);!0===_&&(_=W);const Y=(0,s.useCallback)(t=>{const e=[],i={...R.current};t.forEach(t=>f.forEach(i=>{t.target===z[i].current&&e.push({direction:i,visible:t.isIntersecting})})),e.forEach(t=>{t.visible?i[t.direction]=!1:i[t.direction]=!0}),i.top===R.current.top&&i.right===R.current.right&&i.bottom===R.current.bottom&&i.left===R.current.left||(R.current=i,N(i))},[H,z,R]),q=(0,s.useCallback)(t=>{const e=new IntersectionObserver(Y,{root:t,rootMargin:"0px",threshold:.1});return f.forEach(t=>{e.observe(z[t].current)}),()=>e.disconnect()},[]);if((0,s.useEffect)(()=>q(I?.current??C?.current),[]),i&&((t,e)=>{let i=!0;return 1!==s.Children.count(t)&&(a(0,{children:t}),i=!1),i&&s.Children.toArray(t)[0].type.toString()===Symbol("react.fragment").toString()&&(a(0,{children:t}),i=!1),e||(a(),i=!1),i})(e,C)){const t=s.Children.toArray(e.props.children);t.push((0,r.jsx)(j,{observersRef:z,theme:x},"observers")),F=(0,s.cloneElement)(e,{...k,className:y,children:(0,s.createElement)("div",{style:{...!w&&e.props.style,display:"inline-flex",position:"relative",verticalAlign:"top",...p,...x.innerWrapper},ref:T,...v},t),style:{position:"relative",overflow:"auto",verticalAlign:"top",...b&&{msOverflowStyle:"none",scrollbarWidth:"none"},...c,...x.element}})}else F="table"===t?(0,r.jsx)("div",{ref:I,style:{position:"relative",overflow:"auto",verticalAlign:"top",...c,...x.element},children:(0,r.jsxs)("table",{ref:T,style:{display:"inline-block",position:"relative",verticalAlign:"top",...p,...x.innerWrapper},children:[e,(0,r.jsx)(j,{as:"tbody",observersRef:z,theme:x})]})}):P?(0,r.jsx)("div",{ref:I,style:{...c,display:"inline-block",overflow:"auto",verticalAlign:"top",...x.element},children:(0,s.createElement)(t,{ref:T,style:{position:"relative",verticalAlign:"top",display:"inline-flex",...p,...x.innerWrapper}},(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)(j,{observersRef:z,theme:x})]}))}):(0,s.createElement)(t,{ref:I,className:O(y,b),style:{overflow:"auto",...b&&{msOverflowStyle:"none",scrollbarWidth:"none"},...c,...x.element},...k},(0,r.jsxs)("div",{style:{position:"relative",display:"inline-flex",verticalAlign:"top",...p,...x.innerWrapper},ref:T,...v,children:[e,(0,r.jsx)(j,{observersRef:z,theme:x})]}));return(0,r.jsxs)("div",{style:{...g,position:"relative",...P&&{display:"inline-block"},...x.outerWrapper,...i&&w&&e.props.style},ref:D,...m,children:[b&&(0,r.jsx)("style",{children:`.${E}::-webkit-scrollbar { display: none; }`}),F,(0,r.jsx)(L,{visibility:H,click:l,arrow:_,indicatorsRef:S,handleIndicatorClick:B,width:u,color:h,theme:x})]})})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.