PageSourceSearch

https://shootingbar-ea-ak4774.com/wp-content/themes/sg001m/js/lib.min.js

js shootingbar-ea-ak4774.com collected 2026-10-07 23:15:49 UTC 439,742 bytes, 1 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).cssVars=t()}(this,function(){"use strict";function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}).apply(this,arguments)}function p(e,t){var i=1<arguments.length&&void 0!==t?t:{},n={mimeType:i.mimeType||null,onBeforeSend:i.onBeforeSend||Function.prototype,onSuccess:i.onSuccess||Function.prototype,onError:i.onError||Function.prototype,onComplete:i.onComplete||Function.prototype},s=Array.isArray(e)?e:[e],a=Array.apply(null,Array(s.length)).map(function(e){return null});function o(e){var t=e&&"<"===e.trim().charAt(0);return e&&!t}function r(e,t){n.onError(e,s[t],t)}function l(e,t){var i=n.onSuccess(e,s[t],t);e=!1===i?"":i||e,a[t]=e,-1===a.indexOf(null)&&n.onComplete(a)}var h=document.createElement("a");s.forEach(function(e,t){var i,s;h.setAttribute("href",e),h.href=String(h.href),Boolean(document.all&&!window.atob)&&h.host.split(":")[0]!==location.host.split(":")[0]?h.protocol===location.protocol?((i=new XDomainRequest).open("GET",e),i.timeout=0,i.onprogress=Function.prototype,i.ontimeout=Function.prototype,i.onload=function(){o(i.responseText)?l(i.responseText,t):r(i,t)},i.onerror=function(e){r(i,t)},setTimeout(function(){i.send()},0)):(console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(e,")")),r(null,t)):((s=new XMLHttpRequest).open("GET",e),n.mimeType&&s.overrideMimeType&&s.overrideMimeType(n.mimeType),n.onBeforeSend(s,e,t),s.onreadystatechange=function(){4===s.readyState&&(200===s.status&&o(s.responseText)||0===s.status&&o(s.responseText)?l(s.responseText,t):r(s,t))},s.send())})}function t(e){var s=/\/\*[\s\S]+?\*\//g,o=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,d={rootElement:e.rootElement||document,include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,skipDisabled:!1!==e.skipDisabled,useCSSOM:e.useCSSOM||!1,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},t=Array.apply(null,d.rootElement.querySelectorAll(d.include)).filter(function(e){return t=d.exclude,!(e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,t);var t}),l=Array.apply(null,Array(t.length)).map(function(e){return null});function h(){var e;-1===l.indexOf(null)&&(e=l.join(""),d.onComplete(e,l,t))}function c(e,i,s,t){var n=d.onSuccess(e,s,t);!function s(n,a,o,r){var l=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[],h=5<arguments.length&&void 0!==arguments[5]?arguments[5]:[],c=u(n,o,h);c.rules.length?p(c.absoluteUrls,{onBeforeSend:function(e,t,i){d.onBeforeSend(e,a,t)},onSuccess:function(i,e,t){var s=d.onSuccess(i,a,e),n=u(i=!1===s?"":s||i,e,h);
1return n.rules.forEach(function(e,t){i=i.replace(e,n.absoluteRules[t])}),i},onError:function(e,t,i){l.push({xhr:e,url:t}),h.push(c.rules[i]),s(n,a,o,r,l,h)},onComplete:function(e){e.forEach(function(e,t){n=n.replace(c.rules[t],e)}),s(n,a,o,r,l,h)}}):r(n,l)}(e=void 0!==n&&!1===Boolean(n)?"":n||e,s,t,function(e,t){null===l[i]&&(t.forEach(function(e){return d.onError(e.xhr,s,e.url)}),!d.filter||d.filter.test(e)?l[i]=e:l[i]="",h())})}function u(e,n,t){var i=2<arguments.length&&void 0!==t?t:[],a={};return a.rules=(e.replace(s,"").match(o)||[]).filter(function(e){return-1===i.indexOf(e)}),a.urls=a.rules.map(function(e){return e.replace(o,"$1")}),a.absoluteUrls=a.urls.map(function(e){return f(e,n)}),a.absoluteRules=a.rules.map(function(e,t){var i=a.urls[t],s=f(a.absoluteUrls[t],n);return e.replace(i,s)}),a}t.length?t.forEach(function(n,a){var e,o=n.getAttribute("href"),t=n.getAttribute("rel"),i="LINK"===n.nodeName&&o&&t&&-1!==t.toLowerCase().indexOf("stylesheet"),s=!1!==d.skipDisabled&&n.disabled,r="STYLE"===n.nodeName;i&&!s?p(o,{mimeType:"text/css",onBeforeSend:function(e,t,i){d.onBeforeSend(e,n,t)},onSuccess:function(e,t,i){var s=f(o);c(e,a,n,s)},onError:function(e,t,i){l[a]="",d.onError(e,n,t),h()}}):r&&!s?(e=n.textContent,d.useCSSOM&&(e=Array.apply(null,n.sheet.cssRules).map(function(e){return e.cssText}).join("")),c(e,a,n,location.href)):(l[a]="",h())}):d.onComplete("",[])}function f(e,t){var i=document.implementation.createHTMLDocument(""),s=i.createElement("base"),n=i.createElement("a");return i.head.appendChild(s),i.body.appendChild(n),s.href=t||document.baseURI||(document.querySelector("base")||{}).href||location.href,n.href=e,n.href}var m=e;function e(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var s=a(e,t,i);return s&&{start:s[0],end:s[1],pre:i.slice(0,s[0]),body:i.slice(s[0]+e.length,s[1]),post:i.slice(s[1]+t.length)}}function n(e,t){var i=t.match(e);return i?i[0]:null}function a(e,t,i){var s,n,a,o,r,l=i.indexOf(e),h=i.indexOf(t,l+1),c=l;if(0<=l&&0<h){for(s=[],a=i.length;0<=c&&!r;)c==l?(s.push(c),l=i.indexOf(e,c+1)):1==s.length?r=[s.pop(),h]:((n=s.pop())<a&&(a=n,o=h),h=i.indexOf(t,c+1)),c=l<h&&0<=l?l:h;s.length&&(r=[a,o])}return r}function r(a,e){var o=_({},{preserveStatic:!0,removeComments:!1},1<arguments.length&&void 0!==e?e:{});function r(e){throw new Error("CSS parse error: ".concat(e))}function l(e){var t=e.exec(a);if(t)return a=a.slice(t[0].length),t}function h(){return l(/^{\s*/)}function c(){return l(/^}/)}function d(){l(/^\s*/)}function u(){for(var e,t=[];e=function(){if(d(),"/"===a[0]&&"*"===a[1]){for(var e=2;a[e]&&("*"!==a[e]||"/"!==a[e+1]);)e++;if(!a[e])return r("end of comment is missing");var t=a.slice(2,e);return a=a.slice(e+2),{type:"comment",comment:t}}}();)t.push(e);return o.removeComments?[]:t}function p(){for(d();"}"===a[0];)r("extra closing bracket");var e=l(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(e){return e.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(e){return e.replace(/\u200C/g,",")})}function f(){if(!h())return r("missing '{'");for(var e,t=u();e=function(){if("@"===a[0])return n();l(/^([;\s]*)+/);var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=l(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=t[0].trim(),!l(/^:\s*/))return r("property missing ':'");var i=l(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),s={type:"declaration",property:t.replace(e,""),value:i?i[0].replace(e,"").trim():""};return l(/^[;\s]*/),s}}();)t.push(e),t=t.concat(u());return c()?t:r("missing '}'")}
1function t(){var e=l(/^@([-\w]+)?keyframes\s*/);if(e){var t=e[1];if(!(e=l(/^([-\w]+)\s*/)))return r("@keyframes missing name");var i,s=e[1];if(!h())return r("@keyframes missing '{'");for(var n=u();i=function(){d();for(var e,t=[];e=l(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),l(/^,\s*/);if(t.length)return{type:"keyframe",values:t,declarations:f()}}();)n.push(i),n=n.concat(u());return c()?{type:"keyframes",name:s,vendor:t,keyframes:n}:r("@keyframes missing '}'")}}function n(){if(d(),"@"===a[0]){var e=function(){var e=l(/^@(import|charset|namespace)\s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}()||function(){if(l(/^@font-face\s*/))return{type:"font-face",declarations:f()}}()||function(){var e=l(/^@media([^{]+)*/);if(e)return{type:"media",media:(e[1]||"").trim(),rules:i()}}()||t()||function(){var e=l(/^@supports *([^{]+)/);if(e)return{type:"supports",supports:e[1].trim(),rules:i()}}()||function(){var e=l(/^@([-\w]+)?document *([^{]+)/);if(e)return{type:"document",document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:i()}}()||function(){var e=l(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return{type:"custom-media",name:e[1].trim(),media:e[2].trim()}}()||function(){if(l(/^@host\s*/))return{type:"host",rules:i()}}()||function(){if(l(/^@page */))return{type:"page",selectors:p()||[],declarations:f()}}()||function(){var e=l(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(e)return{type:"page-margin-box",name:"".concat(e[1],"-").concat(e[2])+(e[3]?"-".concat(e[3]):""),declarations:f()}}();if(!e||o.preserveStatic)return e;return(e.declarations?e.declarations.some(function(e){return/var\(/.test(e.value)}):(e.keyframes||e.rules||[]).some(function(e){return(e.declarations||[]).some(function(e){return/var\(/.test(e.value)})}))?e:{}}}function i(e){if(!e&&!h())return r("missing '{'");for(var t,i=u();a.length&&(e||"}"!==a[0])&&(t=n()||function(){if(!o.preserveStatic){var e=m("{","}",a);if(e){var t=/:(?:root|host)(?![.:#(])/.test(e.pre)&&/--\S*\s*:/.test(e.body),i=/var\(/.test(e.body);if(!t&&!i)return a=a.slice(e.end+1),{}}}var s=p()||[],n=o.preserveStatic?f():f().filter(function(e){var t=s.some(function(e){return/:(?:root|host)(?![.:#(])/.test(e)})&&/^--\S/.test(e.property),i=/var\(/.test(e.value);return t||i});return s.length||r("selector missing"),{type:"rule",selectors:s,declarations:n}}());)t.type&&i.push(t),i=i.concat(u());return e||c()?i:r("missing '}'")}return{type:"stylesheet",stylesheet:{rules:i(!0),errors:[]}}}function l(e,t){var n=_({},{parseHost:!1,store:{},onWarning:function(){}},1<arguments.length&&void 0!==t?t:{}),i=new RegExp(":".concat(n.parseHost?"host":"root","$"));
vendor: 1,871 bytes, line 1
1return"string"==typeof e&&(e=r(e,n)),e.stylesheet.rules.forEach(function(e){"rule"===e.type&&e.selectors.some(function(e){return i.test(e)})&&e.declarations.forEach(function(e,t){var i=e.property,s=e.value;i&&0===i.indexOf("--")&&(n.store[i]=s)})}),n.store}function y(e,t,i){var a=1<arguments.length&&void 0!==t?t:"",o=2<arguments.length?i:void 0,r={charset:function(e){return"@charset "+e.name+";"},comment:function(e){return 0===e.comment.indexOf("__CSSVARSPONYFILL")?"/*"+e.comment+"*/":""},"custom-media":function(e){return"@custom-media "+e.name+" "+e.media+";"},declaration:function(e){return e.property+":"+e.value+";"},document:function(e){return"@"+(e.vendor||"")+"document "+e.document+"{"+s(e.rules)+"}"},"font-face":function(e){return"@font-face{"+s(e.declarations)+"}"},host:function(e){return"@host{"+s(e.rules)+"}"},import:function(e){return"@import "+e.name+";"},keyframe:function(e){return e.values.join(",")+"{"+s(e.declarations)+"}"},keyframes:function(e){return"@"+(e.vendor||"")+"keyframes "+e.name+"{"+s(e.keyframes)+"}"},media:function(e){return"@media "+e.media+"{"+s(e.rules)+"}"},namespace:function(e){return"@namespace "+e.name+";"},page:function(e){return"@page "+(e.selectors.length?e.selectors.join(", "):"")+"{"+s(e.declarations)+"}"},"page-margin-box":function(e){return"@"+e.name+"{"+s(e.declarations)+"}"},rule:function(e){var t=e.declarations;if(t.length)return e.selectors.join(",")+"{"+s(t)+"}"},supports:function(e){return"@supports "+e.supports+"{"+s(e.rules)+"}"}};function s(e){for(var t="",i=0;i<e.length;i++){var s=e[i];o&&o(s);var n=r[s.type](s);n&&(t+=n,n.length&&s.selectors&&(t+=a))}return t}return s(e.stylesheet.rules)}function w(e,t){var l=_({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},1<arguments.length&&void 0!==t?t:{});return"string"==typeof e&&(e=r(e,l)),function e(i,s){i.rules.forEac
1h(function(t){t.rules?e(t,s):t.keyframes?t.keyframes.forEach(function(e){"keyframe"===e.type&&s(e.declarations,t)}):t.declarations&&s(t.declarations,i)})}(e.stylesheet,function(e,t){for(var i=0;i<e.length;i++){var s,n=e[i],a=n.type,o=n.property,r=n.value;"declaration"===a&&(l.preserveVars||!o||0!==o.indexOf("--")?-1===r.indexOf("var(")||(s=function o(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},l=2<arguments.length?arguments[2]:void 0;if(-1===e.indexOf("var("))return e;var t=m("(",")",e);function i(e){var t=e.split(",")[0].replace(/[\s\n\t]/g,""),i=(e.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],s=Object.prototype.hasOwnProperty.call(r.variables,t)?String(r.variables[t]):void 0,n=s||(i?String(i):void 0),a=l||e;return s||r.onWarning('variable "'.concat(t,'" is undefined')),n&&"undefined"!==n&&0<n.length?o(n,r,a):"var(".concat(a,")")}if(t){if("var"!==t.pre.slice(-3))return t.pre+"(".concat(o(t.body,r),")")+o(t.post,r);var s=0===t.body.trim().length;return s?(r.onWarning("var() must contain a non-whitespace string"),e):t.pre.slice(0,-3)+i(t.body)+o(t.post,r)}return-1!==e.indexOf("var(")&&r.onWarning('missing closing ")" in the value "'.concat(e,'"')),e}(r,l))!==n.value&&(s=function(i){return(i.match(/calc\(([^)]+)\)/g)||[]).forEach(function(e){var t="calc".concat(e.split("calc").join(""));i=i.replace(e,t)}),i}(s),l.preserveVars?(e.splice(i,0,{type:a,property:o,value:s}),i++):n.value=s):(e.splice(i,1),i--))}}),y(e)}e.range=a;var h="undefined"!=typeof window,c=h&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),x={group:0,job:0},d={rootElement:h?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onError:function(){},onWarning:function(){},onSuccess:function(){},onComplete:function(){},onFinally:function(){}},C={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},S={dom:{},job:{},user:{}},T=!1,k=null,E=0,M=null,D=!1;function P(){var i,s,u,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a="cssVars(): ",p=_({},d,n);function f(e,t,i,s){!p.silent&&window.console&&console.error("".concat(a).concat(e,"\n"),t),p.onError(e,t,i,s)}function m(e){!p.silent&&window.console&&console.warn("".concat(a).concat(e)),p.onWarning(e)}function o(e){p.onFinally(Boolean(e),c,z()-p.__benchmark)}if(h){if(p.watch)return p.watch=d.watch,u=p,window.MutationObserver&&(k&&(k.disconnect(),k=null),(k=new MutationObserver(function(e){e.some(function(e){return d=!1,"attributes"===(o=e).type&&v(o.target)&&!g(o.target)&&(r="disabled"===o.attributeName,l="href"===o.attributeName,h="skip"===o.target.getAttribute("data-cssvars"),c="src"===o.target.getAttribute("data-cssvars"),r?d=!h&&!c:l&&(h?o.target.setAttribute("data-cssvars",""):c&&O(u.rootElement,!0),d=!0)),d||(a=!1,"childList"===e.type&&(s=b(e.target),n="out"===e.target.getAttribute("data-cssvars"),a=s&&!n),a)||(i=!1,"childList"===e.type&&(i=Array.apply(null,e.addedNodes).some(function(e){var t=1===e.nodeType&&e.hasAttribute("data-cssvars"),i=b(e)&&C.cssVars.test(e.textContent);return!t&&(v(e)||i)&&!g(e)})),i)||(t=!1,"childList"===e.type&&(t=Array.apply(null,e.removedNodes).some(function(e){var t,i,s=1===e.nodeType,n=s&&"out"===e.getAttribute("data-cssvars"),a=s&&"src"===e.getAttribute("data-cssvars"),o=a;return(a||n)&&(t=e.getAttribute("data-cssvars-group"),i=u.rootElement.querySelector('[data-cssvars-group="'.concat(t,'"]')),a&&O(u.rootElement,!0),i&&i.parentNode.removeChild(i)),o})),t);var t,i,s,n,a,o,r,l,h,c,d})&&P(u)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})),void P(p);if(!1===p.watch&&k&&(k.disconnect(),k=null),!p.__benchmark){if(T===p.rootElement)return void function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:100;
1clearTimeout(M),M=setTimeout(function(){e.__benchmark=null,P(e)},t)}(n);var e=Array.apply(null,p.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])'));p.__benchmark=z(),p.exclude=[k?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',"link[disabled]",p.exclude].filter(function(e){return e}).join(","),p.variables=function(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},s=/^-{2}/;return Object.keys(i).reduce(function(e,t){return e[s.test(t)?t:"--".concat(t.replace(/^-+/,""))]=i[t],e},{})}(p.variables),e.forEach(function(e){var t="STYLE"===e.tagName&&e.__cssVars.text,i=t&&e.textContent!==e.__cssVars.text;t&&i&&(e.sheet.disabled=!1,e.setAttribute("data-cssvars",""))}),k||(Array.apply(null,p.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach(function(e){var t=e.getAttribute("data-cssvars-group");t&&p.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(t,'"]'))||e.parentNode.removeChild(e)}),E&&e.length<E&&(E=e.length,S.dom={}))}"loading"!==document.readyState?c&&p.onlyLegacy?(i=!1,p.updateDOM&&(s=p.rootElement.host||(p.rootElement===document?document.documentElement:p.rootElement),Object.keys(p.variables).forEach(function(e){var t=p.variables[e];i=i||t!==getComputedStyle(s).getPropertyValue(e),s.style.setProperty(e,t)})),o(i)):!D&&(p.shadowDOM||p.rootElement.shadowRoot||p.rootElement.host)?t({rootElement:d.rootElement,include:d.include,exclude:p.exclude,skipDisabled:!1,onSuccess:function(e,t,i){return(e=((e=e.replace(C.cssComments,"").replace(C.cssMediaQueries,"")).match(C.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(e,t,i){l(e,{store:S.dom,onWarning:m}),D=!0,P(p)}}):(T=p.rootElement,t({rootElement:p.rootElement,include:p.include,exclude:p.exclude,skipDisabled:!1,onBeforeSend:p.onBeforeSend,onError:function(e,t,i){var s=e.responseURL||I(i,location.href),n=e.statusText?"(".concat(e.statusText,")"):"Unspecified Error"+(0===e.status?" (possibly CORS related)":"");f("CSS XHR Error: ".concat(s," ").concat(e.status," ").concat(n),t,e,s)},onSuccess:function(e,t,i){var s,n,a="LINK"===t.tagName,o="STYLE"===t.tagName&&e!==t.textContent,r=p.onSuccess(e,t,i);return e=void 0!==r&&!1===Boolean(r)?"":r||e,p.updateURLs&&(a||o)&&(n=i,((s=e).replace(C.cssComments,"").match(C.cssUrls)||[]).forEach(function(e){var t=e.replace(C.cssUrls,"$1"),i=I(t,n);s=s.replace(e,e.replace(t,i))}),e=s),e},onComplete:function(e,h){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],i=_({},S.dom,S.user);if(S.job={},t.forEach(function(e,t){var i=h[t];if(e.__cssVars=e.__cssVars||{},e.__cssVars.text=i,C.cssVars.test(i))try{var s=r(i,{preserveStatic:p.preserveStatic,removeComments:!0});l(s,{parseHost:Boolean(p.rootElement.host),store:S.dom,onWarning:m}),e.__cssVars.tree=s}catch(t){f(t.message,e)}}),_(S.job,S.dom),p.updateDOM?(_(S.user,p.variables),_(S.job,S.user)):(_(S.job,S.user,p.variables),_(i,p.variables)),0<x.job&&Boolean(Object.keys(S.job).length>Object.keys(i).length||Boolean(Object.keys(i).length&&Object.keys(S.job).some(function(e){return S.job[e]!==i[e]}))))O(p.rootElement),P(p);else{var c=[],d=[],u=!1;if(p.updateDOM&&x.job++,t.forEach(function(t,e){var i=!t.__cssVars.tree;if(t.__cssVars.tree)try{w(t.__cssVars.tree,_({},p,{variables:S.job,onWarning:m}));var s,n,a,o,r,l=y(t.__cssVars.tree);p.updateDOM?(s=h[e],n=C.cssVarFunc.test(s),t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),l.length&&n&&(a=t.getAttribute("data-cssvars-group")||++x.group,o=l.replace(/\s/g,""),r=p.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(a,'"]'))||document.createElement("style"),u=u||C.cssKeyframes.test(l),p.preserveStatic&&(t.sheet.disabled=!0),r.hasAttribute("data-cssvars")||r.setAttribute("data-cssvars","out"),o===t.textContent.replace(/\s/g,"")?(i=!0,r&&r.parentNode&&(t.removeAttribute("data-cssvars-group"),r.parentNode.removeChild(r))):o!==r.textContent.replace(/\s/g,"")&&([t,r].forEach(function(e){e.setAttribute("data-cssvars-job",x.job),e.setAttribute("data-cssvars-group",a)}),r.textContent=l,c.push(l),d.push(r),r.parentNode||t.parentNode.insertBefore(r,t.nextSibling)))):t.textContent.replace(/\s/g,"")!==l&&c.push(l)}catch(e){f(e.message,t)}i&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",x.job)}),E=p.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,p.shadowDOM)for(var s,n=[].concat(p.rootElement).concat(Array.apply(null,p.rootElement.querySelectorAll("*"))),a=0;s=n[a];++a){s.shadowRoot&&s.shadowRoot.querySelector("style")&&P(_({},p,{rootElement:s.shadowRoot}))}p.updateDOM&&u&&function(e){var t=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(e){return getComputedStyle(document.body)[e]})[0];if(t){for(var i=e.getElementsByTagName("*"),s=[],n="__CSSVARSPONYFILL-KEYFRAMES__",a=0,o=i.length;a<o;a++){var r=i[a];"none"!==getComputedStyle(r)[t]&&(r.style[t]+=n,s.push(r))}document.body.offsetHeight;for(var l=0,h=s.length;l<h;l++){var c=s[l].style;c[t]=c[t].replace(n,"")}}}(p.rootElement),T=!1,p.onComplete(c.join(""),d,JSON.parse(JSON.stringify(S.job)),z()-p.__benchmark),o(d.length)}}})):document.addEventListener("DOMContentLoaded",function e(t){P(n),document.removeEventListener("DOMContentLoaded",e)})}function g(e){var t=v(e)&&e.hasAttribute("disabled"),i=(e.sheet||{}).disabled;return t||i}function v(e){return"LINK"===e.tagName&&-1!==(e.getAttribute("rel")||"").indexOf("stylesheet")}function b(e){return"STYLE"===e.tagName}}function I(e,t){var i=1<arguments.length&&void 0!==t?t:location.href,s=document.implementation.createHTMLDocument(""),n=s.createElement("base"),a=s.createElement("a");return s.head.appendChild(n),s.body.appendChild(a),n.href=i,a.href=e,a.href}function z(){return h&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function O(e,t){var i=1<arguments.length&&void 0!==t&&t;Array.apply(null,e.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEac
vendor: 12,893 bytes, line 1
1h(function(e){return e.setAttribute("data-cssvars","")}),i&&(S.dom={})}return P.reset=function(){for(var e in x.job=0,x.group=0,T=!1,k&&(k.disconnect(),k=null),E=0,M=null,D=!1,S)S[e]={}},P}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(C){C.ui=C.ui||{};C.ui.version="1.12.1";var n,i=0,r=Array.prototype.slice;C.cleanData=(n=C.cleanData,function(e){for(var t,i,s=0;null!=(i=e[s]);s++)try{(t=C._data(i,"events"))&&t.remove&&C(i).triggerHandler("remove")}catch(e){}n(e)}),C.widget=function(e,i,t){var s,n,a,o={},r=e.split(".")[0],l=r+"-"+(e=e.split(".")[1]);return t||(t=i,i=C.Widget),C.isArray(t)&&(t=C.extend.apply(null,[{}].concat(t))),C.expr[":"][l.toLowerCase()]=function(e){return!!C.data(e,l)},C[r]=C[r]||{},s=C[r][e],n=C[r][e]=function(e,t){if(!this._createWidget)return new n(e,t);arguments.length&&this._createWidget(e,t)},C.extend(n,s,{version:t.version,_proto:C.extend({},t),_childConstructors:[]}),(a=new i).options=C.widget.extend({},a.options),C.each(t,function(t,s){function n(){return i.prototype[t].apply(this,arguments)}function a(e){return i.prototype[t].apply(this,e)}C.isFunction(s)?o[t]=function(){var e,t=this._super,i=this._superApply;return this._super=n,this._superApply=a,e=s.apply(this,arguments),this._super=t,this._superApply=i,e}:o[t]=s}),n.prototype=C.widget.extend(a,{widgetEventPrefix:s&&a.widgetEventPrefix||e},o,{constructor:n,namespace:r,widgetName:e,widgetFullName:l}),s?(C.each(s._childConstructors,function(e,t){var i=t.prototype;C.widget(i.namespace+"."+i.widgetName,n,t._proto)}),delete s._childConstructors):i._childConstructors.push(n),C.widget.bridge(e,n),n},C.widget.extend=function(e){for(var t,i,s=r.call(arguments,1),n=0,a=s.length;n<a;n++)for(t in s[n])i=s[n][t],s[n].hasOwnProperty(t)&&void 0!==i&&(C.isPlainObject(i)?e[t]=C.isPlainObject(e[t])?C.widget.extend({},e[t],i):C.widget.extend({},i):e[t]=i);return e},C.widget.bridge=function(a,t){var o=t.prototype.widgetFullName||a;C.fn[a]=function(i){var e="string"==typeof i,s=r.call(arguments,1),n=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=C.data(this,o);return"instance"===i?(n=t,!1):t?C.isFunction(t[i])&&"_"!==i.charAt(0)?(e=t[i].apply(t,s))!==t&&void 0!==e?(n=e&&e.jquery?n.pushStack(e.get()):e,!1):void 0:C.error("no such method '"+i+"' for "+a+" widget instance"):C.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=C.widget.extend.apply(null,[i].concat(s))),this.each(function(){var e=C.data(this,o);e?(e.option(i||{}),e._init&&e._init()):C.data(this,o,new t(i,this))})),n}},C.Widget=function(){},C.Widget._childConstructors=[],C.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=C(t||this.defaultElement||this)[0],this.element=C(t),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=C(),this.hoverable=C(),this.focusable=C(),this.classesElementLookup={},t!==this&&(C.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=C(t.style?t.ownerDocument:t.document||t),this.window=C(this.document[0].defaultView||this.document[0].parentWindow)),this.options=C.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:C.noop,_create:C.noop,_init:C.noop,destroy:function(){var i=this;this._destroy(),C.each(this.classesElementLookup,function(e,t){i._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:C.noop,widget:function(){return this.element},option:function(e,t){var i,s,n,a=e;if(0===arguments.length)return C.widget.extend({},this.options);if("string"==typeof e)if(a={},e=(i=e.split(".")).shift(),i.length){for(s=a[e]=C.widget.extend({},this.options[e]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(e=i.pop(),1===arguments.length)return void 0===s[e]?null:s[e];s[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=t}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,i,s;for(t in e)s=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&s&&s.length&&(i=C(s.get()),this._removeClass(s,t),i.addClass(this._classes({element:i,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(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(n){var a=[],o=this;function e(e,t){for(var i,s=0;s<e.length;s++)i=o.classesElementLookup[e[s]]||C(),i=n.add?C(C.unique(i.get().concat(n.element.get()))):C(i.not(n.element).get()),o.classesElementLookup[e[s]]=i,a.push(e[s]),t&&n.classes[e[s]]&&a.push(n.classes[e[s]])}return n=C.extend({element:this.element,classes:this.options.classes||{}},n),this._on(n.element,{remove:"_untrackClassesElement"}),n.keys&&e(n.keys.match(/\S+/g)||[],!0),n.extra&&e(n.extra.match(/\S+/g)||[]),a.join(" ")},_untrackClassesElement:function(i){var s=this;C.each(s.classesElementLookup,function(e,t){-1!==C.inArray(i.target,t)&&(s.classesElementLookup[e]=C(t.not(i.target).get()))})},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof e||null===e,a={extra:n?t:i,keys:n?e:t,element:n?this.element:e,add:s};return a.element.toggleClass(this._classes(a),s),this},_on:function(o,r,e){var l,h=this;"boolean"!=typeof o&&(e=r,r=o,o=!1),e?(r=l=C(r),this.bindings=this.bindings.add(r)):(e=r,r=this.element,l=this.widget()),C.each(e,function(e,t){function i(){if(o||!0!==h.options.disabled&&!C(this).hasClass("ui-state-disabled"))return("string"==typeof t?h[t]:t).apply(h,arguments)}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||C.guid++);var s=e.match(/^([\w:-]*)\s*(.*)$/),n=s[1]+h.eventNamespace,a=s[2];a?l.on(n,a,i):r.on(n,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=C(this.bindings.not(e).get()),this.focusable=C(this.focusable.not(e).get()),this.hoverable=C(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(C(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(C(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(C(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(C(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,i){var s,n,a=this.options[e];if(i=i||{},(t=C.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],n=t.originalEvent)for(s in n)s in t||(t[s]=n[s]);return this.element.trigger(t,i),!(C.isFunction(a)&&!1===a.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},C.each({show:"fadeIn",hide:"fadeOut"},function(a,o){C.Widget.prototype["_"+a]=function(t,e,i){var s;"string"==typeof e&&(e={effect:e});var n=e?!0!==e&&"number"!=typeof e&&e.effect||o:a;"number"==typeof(e=e||{})&&(e={duration:e}),s=!C.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),s&&C.effects&&C.effects.effect[n]?t[a](e):n!==a&&t[n]?t[n](e.duration,e.easing,i):t.queue(function(e){C(this)[a](),i&&i.call(t[0]),e()})}});var a,x,S,s,o,l,h,c,T;C.widget;function k(e,t,i){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?i/100:1)]}function E(e,t){return parseInt(C.css(e,t),10)||0}x=Math.max,S=Math.abs,s=/left|center|right/,o=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,c=/%$/,T=C.fn.position,C.position={scrollbarWidth:function(){if(void 0!==a)return a;var e,t,i=C("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),s=i.children()[0];return C("body").append(i),e=s.offsetWidth,i.css("overflow","scroll"),e===(t=s.offsetWidth)&&(t=i[0].clientWidth),i.remove(),a=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),s="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?C.position.scrollbarWidth():0,height:s?C.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=C(e||window),i=C.isWindow(t[0]),s=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:i,isDocument:s,offset:!i&&!s?C(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},C.fn.position=function(d){if(!d||!d.of)return T.apply(this,arguments);d=C.extend({},d);var u,p,f,m,g,e,t,v=C(d.of),b=C.position.getWithinInfo(d.within),_=C.position.getScrollInfo(b),y=(d.collision||"flip").split(" "),w={},i=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:C.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()};return v[0].preventDefault&&(d.at="left top"),p=i.width,f=i.height,m=i.offset,g=C.extend({},m),C.each(["my","at"],function(){var e,t,i=(d[this]||"").split(" ");1===i.length&&(i=s.test(i[0])?i.concat(["center"]):o.test(i[0])?["center"].concat(i):["center","center"]),i[0]=s.test(i[0])?i[0]:"center",i[1]=o.test(i[1])?i[1]:"center",e=l.exec(i[0]),t=l.exec(i[1]),w[this]=[e?e[0]:0,t?t[0]:0],d[this]=[h.exec(i[0])[0],h.exec(i[1])[0]]}),1===y.length&&(y[1]=y[0]),"right"===d.at[0]?g.left+=p:"center"===d.at[0]&&(g.left+=p/2),"bottom"===d.at[1]?g.top+=f:"center"===d.at[1]&&(g.top+=f/2),u=k(w.at,p,f),g.left+=u[0],g.top+=u[1],this.each(function(){var i,e,o=C(this),r=o.outerWidth(),l=o.outerHeight(),t=E(this,"marginLeft"),s=E(this,"marginTop"),n=r+t+E(this,"marginRight")+_.width,a=l+s+E(this,"marginBottom")+_.height,h=C.extend({},g),c=k(w.my,o.outerWidth(),o.outerHeight());"right"===d.my[0]?h.left-=r:"center"===d.my[0]&&(h.left-=r/2),"bottom"===d.my[1]?h.top-=l:"center"===d.my[1]&&(h.top-=l/2),h.left+=c[0],h.top+=c[1],i={marginLeft:t,marginTop:s},C.each(["left","top"],function(e,t){C.ui.position[y[e]]&&C.ui.position[y[e]][t](h,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:l,collisionPosition:i,collisionWidth:n,collisionHeight:a,offset:[u[0]+c[0],u[1]+c[1]],my:d.my,at:d.at,within:b,elem:o})}),d.using&&(e=function(e){var t=m.left-h.left,i=t+p-r,s=m.top-h.top,n=s+f-l,a={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:o,left:h.left,top:h.top,width:r,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:n<0?"top":0<s?"bottom":"middle"};p<r&&S(t+i)<p&&(a.horizontal="center"),f<l&&S(s+n)<f&&(a.vertical="middle"),x(S(t),S(i))>x(S(s),S(n))?a.important="horizontal":a.important="vertical",d.using.call(this,e,a)}),o.offset(C.extend(h,{using:e}))})},C.ui.position={fit:{left:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,o=e.left-t.collisionPosition.marginLeft,r=n-o,l=o+t.collisionWidth-a-n;t.collisionWidth>a?0<r&&l<=0?(i=e.left+r+t.collisionWidth-a-n,e.left+=r-i):e.left=!(0<l&&r<=0)&&l<r?n+a-t.collisionWidth:n:0<r?e.left+=r:0<l?e.left-=l:e.left=x(e.left-o,e.left)},top:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollTop:s.offset.top,a=t.within.height,o=e.top-t.collisionPosition.marginTop,r=n-o,l=o+t.collisionHeight-a-n;t.collisionHeight>a?0<r&&l<=0?(i=e.top+r+t.collisionHeight-a-n,e.top+=r-i):e.top=!(0<l&&r<=0)&&l<r?n+a-t.collisionHeight:n:0<r?e.top+=r:0<l?e.top-=l:e.top=x(e.top-o,e.top)}},flip:{left:function(e,t){var i,s,n=t.within,a=n.offset.left+n.scrollLeft,o=n.width,r=n.isWindow?n.scrollLeft:n.offset.left,l=e.left-t.collisionPosition.marginLeft,h=l-r,c=l+t.collisionWidth-o-r,d="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,u="left"
vendor: 4,104 bytes, line 1
1===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,p=-2*t.offset[0];h<0?((i=e.left+d+u+p+t.collisionWidth-o-a)<0||i<S(h))&&(e.left+=d+u+p):0<c&&(0<(s=e.left-t.collisionPosition.marginLeft+d+u+p-r)||S(s)<c)&&(e.left+=d+u+p)},top:function(e,t){var i,s,n=t.within,a=n.offset.top+n.scrollTop,o=n.height,r=n.isWindow?n.scrollTop:n.offset.top,l=e.top-t.collisionPosition.marginTop,h=l-r,c=l+t.collisionHeight-o-r,d="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,u="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,p=-2*t.offset[1];h<0?((s=e.top+d+u+p+t.collisionHeight-o-a)<0||s<S(h))&&(e.top+=d+u+p):0<c&&(0<(i=e.top-t.collisionPosition.marginTop+d+u+p-r)||S(i)<c)&&(e.top+=d+u+p)}},flipfit:{left:function(){C.ui.position.flip.left.apply(this,arguments),C.ui.position.fit.left.apply(this,arguments)},top:function(){C.ui.position.flip.top.apply(this,arguments),C.ui.position.fit.top.apply(this,arguments)}}};C.ui.position,C.extend(C.expr[":"],{data:C.expr.createPseudo?C.expr.createPseudo(function(t){return function(e){return!!C.data(e,t)}}):function(e,t,i){return!!C.data(e,i[3])}}),C.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e,d,u,p,f,t,m,g,v,b,_,y,w,M,D,P,I,z,O,A,H,L,N="ui-effects-",W="ui-effects-style",F="ui-effects-animated",$=C;function R(e,t,i){var s=v[t.type]||{};return null==e?i||!t.def?null:t.def:(e=s.floor?~~e:parseFloat(e),isNaN(e)?t.def:s.mod?(e+s.mod)%s.mod:e<0?0:s.max<e?s.max:e)}function B(o){var r=m(),l=r._rgba=[];return o=o.toLowerCase(),y(t,function(e,t){var i,s=t.re.exec(o),n=s&&t.parse(s),a=t.space||"rgba";if(n)return i=r[a](n),r[g[a].cache]=i[g[a].cache],l=r._rgba=i._rgba,!1}),l.length?("0,0,0,0"===l.join()&&d.extend(l,p.transparent),r):p[o]}function Y(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function j(e){var t,i,s=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,n={};if(s&&s.length&&s[0]&&s[s[0]])for(i=s.length;i--;)"string"==typeof s[t=s[i]]&&(n[C.camelCase(t)]=s[t]);else for(t in s)"string"==typeof s[t]&&(n[t]=s[t]);return n}function q(e,t,i,s){return C.isPlainObject(e)&&(e=(t=e).effect),e={effect:e},null==t&&(t={}),C.isFunction(t)&&(s=t,i=null,t={}),"number"!=typeof t&&!C.fx.speeds[t]||(s=i,i=t,t={}),C.isFunction(i)&&(s=i,i=null),t&&C.extend(e,t),i=i||t.duration,e.duration=C.fx.off?0:"number"==typeof i?i:i in C.fx.speeds?C.fx.speeds[i]:C.fx.speeds._default,e.complete=s||t.complete,e}function V(e){return!e||"number"==typeof e||C.fx.speeds[e]||("string"==typeof e&&!C.effects.effect[e]||(C.isFunction(e)||"object"==typeof e&&!e.effect))}function G(e,t){var i=t.outerWidth(),s=t.outerHeight(),n=/^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(e)||["",0,i,s,0];return{top:parseFloat(n[1])||0,right:"auto"===n[2]?i:parseFloat(n[2]),bottom:"auto"===n[3]?s:parseFloat(n[3]),left:parseFloat(n[4])||0}}C.effects={effect:{}},f=/^([\-+])=\s*(\d+\.?\d*)/,t=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],m=(d=$).Color=function(e,t,i,s){return new d.Color.fn.parse(e,t,i,s)},g={rgba:{props:{red:{idx:0,type:"byte"}
vendor: 5,848 bytes, line 1
1,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"}}}},v={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},b=m.support={},_=d("<p>")[0],y=d.each,_.style.cssText="background-color:rgba(1,1,1,.5)",b.rgba=-1<_.style.backgroundColor.indexOf("rgba"),y(g,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),m.fn=d.extend(m.prototype,{parse:function(n,e,t,i){if(n===u)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=d(n).css(e),e=u);var a=this,s=d.type(n),o=this._rgba=[];return e!==u&&(n=[n,e,t,i],s="array"),"string"===s?this.parse(B(n)||p._default):"array"===s?(y(g.rgba.props,function(e,t){o[t.idx]=R(n[t.idx],t)}),this):"object"===s?(y(g,n instanceof m?function(e,t){n[t.cache]&&(a[t.cache]=n[t.cache].slice())}:function(e,i){var s=i.cache;y(i.props,function(e,t){if(!a[s]&&i.to){if("alpha"===e||null==n[e])return;a[s]=i.to(a._rgba)}a[s][t.idx]=R(n[e],t,!0)}),a[s]&&d.inArray(null,a[s].slice(0,3))<0&&(a[s][3]=1,i.from&&(a._rgba=i.from(a[s])))}),this):void 0},is:function(e){var n=m(e),a=!0,o=this;return y(g,function(e,t){var i,s=n[t.cache];return s&&(i=o[t.cache]||t.to&&t.to(o._rgba)||[],y(t.props,function(e,t){if(null!=s[t.idx])return a=s[t.idx]===i[t.idx]})),a}),a},_space:function(){var i=[],s=this;return y(g,function(e,t){s[t.cache]&&i.push(e)}),i.pop()},transition:function(e,o){var t=(h=m(e))._space(),i=g[t],s=0===this.alpha()?m("transparent"):this,r=s[i.cache]||i.to(s._rgba),l=r.slice(),h=h[i.cache];return y(i.props,function(e,t){var i=t.idx,s=r[i],n=h[i],a=v[t.type]||{};null!==n&&(null===s?l[i]=n:(a.mod&&(a.mod/2<n-s?s+=a.mod:a.mod/2<s-n&&(s-=a.mod)),l[i]=R((n-s)*o+s,t)))}),this[t](l)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),s=m(e)._rgba;return m(d.map(t,function(e,t){return(1-i)*s[t]+i*e}))},toRgbaString:function(){var e="rgba(",t=d.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=d.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+d.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),m.fn.parse.prototype=m.fn,g.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/255,i=e[1]/255,s=e[2]/255,n=e[3],a=Math.max(t,i,s),o=Math.min(t,i,s),r=a-o,l=a+o,h=.5*l,c=o===a?0:t===a?60*(i-s)/r+360:i===a?60*(s-t)/r+120:60*(t-i)/r+240,d=0==r?0:h<=.5?r/l:r/(2-l);return[Math.round(c)%360,d,h,null==n?1:n]},g.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],s=e[2],n=e[3],a=s<=.5?s*(1+i):s+i-s*i,o=2*s-a;return[Math.round(255*Y(o,a,t+1/3)),Math.round(255*Y(o,a,t)),Math.round(255*Y(o,a,t-1/3)),n]},y(g,function(l,e){var i=e.props,o=e.cache,r=e.to,h=e.from;m.fn[l]=function(e){if(r&&!this[o]&&(this[o]=r(this._rgba)),e===u)return this[o].slice();var t,s=d.type(e),n="array"===s||"object"===s?e:arguments,a=this[o].slice();return y(i,function(e,t){var i=n["object"===s?e:t.idx];null==i&&(i=a[t.idx]),a[t.idx]=R(i,t)}),h?((t=m(h(a)))[o]=a,t):m(a)},y(i,function(o,r){m.fn[o]||(m.fn[o]=function(e){var t,i=d.type(e),s="alpha"===o?this._hsla?"hsla":"rgba":l,n=this[s](),a=n[r.idx];return"undefined"===i?a:("function"===i&&(e=e.call(this,a),i=d.type(e)),null==e&&r.empty?this:("string"===i&&(t=f.exec(e))&&(e=a+parseFloat(t[2])*("+"===t[1]?1:-1)),n[r.idx]=e,this[s](n)))})})}),m.hook=function(e){var t=e.split(" ");y(t,function(e,a){d.cssHooks[a]={set:function(e,t){var i,s,n="";if("transparent"!==t&&("string"!==d.type(t)||(i=B(t)))){if(t=m(i||t),!b.rgba&&1!==t._rgba[3]){for(s="backgroundColor"===a?e.parentNode:e;(""===n||"transparent"===n)&&s&&s.style;)try{n=d.css(s,"backgroundColor"),s=s.parentNode}catch(e){}t=t.blend(n&&"transparent"!==n?n:"_default")}t=t.toRgbaString()}try{e.style[a]=t}catch(e){}}},d.fx.step[a]=function(e){e.colorInit||(e.start=m(e.elem,a),e.end=m(e.end),e.colorInit=!0),d.cssHooks[a].set(e.elem,e.start.transition(e.end,e.pos))}})},m.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),d.cssHooks.borderColor={expand:function(i){var s={};return y(["Top","Right","Bottom","Left"],function(e,t){s["border"+t+"Color"]=i}),s}},p=d.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"},P=["add","remove","toggle"],I={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},C.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){C.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&($.style(e.elem,t,e.end),e.setAttr=!0)}}),C.fn.addBack||(C.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),C.effects.animateClass=function(n,e,t,i){var a=C.speed(e,t,i);return this.queue(function(){var i=C(this),e=i.attr("class")||"",t=(t=a.children?i.find("*").addBack():i).map(function(){return{el:C(this),start:j(this)}}),s=function(){C.each(P,function(e,t){n[t]&&i[t+"Class"](n[t])})};s(),t=t.map(function(){return this.end=j(this.el[0]),this.diff=function(e,t){var i,s,n={};
vendor: 18,644 bytes, line 1
1for(i in t)s=t[i],e[i]!==s&&(I[i]||!C.fx.step[i]&&isNaN(parseFloat(s))||(n[i]=s));return n}(this.start,this.end),this}),i.attr("class",e),t=t.map(function(){var e=this,t=C.Deferred(),i=C.extend({},a,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),C.when.apply(C,t.get()).done(function(){s(),C.each(arguments,function(){var t=this.el;C.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(i[0])})})},C.fn.extend({addClass:(D=C.fn.addClass,function(e,t,i,s){return t?C.effects.animateClass.call(this,{add:e},t,i,s):D.apply(this,arguments)}),removeClass:(M=C.fn.removeClass,function(e,t,i,s){return 1<arguments.length?C.effects.animateClass.call(this,{remove:e},t,i,s):M.apply(this,arguments)}),toggleClass:(w=C.fn.toggleClass,function(e,t,i,s,n){return"boolean"==typeof t||void 0===t?i?C.effects.animateClass.call(this,t?{add:e}:{remove:e},i,s,n):w.apply(this,arguments):C.effects.animateClass.call(this,{toggle:e},t,i,s)}),switchClass:function(e,t,i,s,n){return C.effects.animateClass.call(this,{add:t,remove:e},i,s,n)}}),C.expr&&C.expr.filters&&C.expr.filters.animated&&(C.expr.filters.animated=(z=C.expr.filters.animated,function(e){return!!C(e).data(F)||z(e)})),!1!==C.uiBackCompat&&C.extend(C.effects,{save:function(e,t){for(var i=0,s=t.length;i<s;i++)null!==t[i]&&e.data(N+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,s=0,n=t.length;s<n;s++)null!==t[s]&&(i=e.data(N+t[s]),e.css(t[s],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var s={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=C("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},n=document.activeElement;try{n.id}catch(e){n=document.body}return i.wrap(e),i[0]!==n&&!C.contains(i[0],n)||C(n).trigger("focus"),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(C.extend(s,{position:i.css("position"),zIndex:i.css("z-index")}),C.each(["top","left","bottom","right"],function(e,t){s[t]=i.css(t),isNaN(parseInt(s[t],10))&&(s[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(s).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!C.contains(e[0],t)||C(t).trigger("focus")),e}}),C.extend(C.effects,{version:"1.12.1",define:function(e,t,i){return i||(i=t,t="effect"),C.effects.effect[e]=i,C.effects.effect[e].mode=t,i},scaledDimensions:function(e,t,i){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var s="horizontal"!==i?(t||100)/100:1,n="vertical"!==i?(t||100)/100:1;return{height:e.height()*n,width:e.width()*s,outerHeight:e.outerHeight()*n,outerWidth:e.outerWidth()*s}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var s=e.queue();1<t&&s.splice.apply(s,[1,0].concat(s.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(W,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(W)||"",e.removeData(W)},mode:function(e,t){var i=e.is(":hidden");return"toggle"===t&&(t=i?"show":"hide"),(i?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var i,s;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=e[1]/t.width}return{x:s,y:i}},createPlaceholder:function(e){var t,i=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(i)&&(i="absolute",t=C("<"+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(N+"placeholder",t)),e.css({position:i,left:s.left,top:s.top}),t},removePlaceholder:function(e){var t=N+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(e){C.effects.restoreStyle(e),C.effects.removePlaceholder(e)},setTransition:function(s,e,n,a){return a=a||{},C.each(e,function(e,t){var i=s.cssUnit(t);0<i[0]&&(a[t]=i[0]*n+i[1])}),a}}),C.fn.extend({effect:function(){function e(e){var t=C(this),i=C.effects.mode(t,r)||a;t.data(F,!0),l.push(i),a&&("show"===i||i===a&&"hide"===i)&&t.show(),a&&"none"===i||C.effects.saveStyle(t),C.isFunction(e)&&e()}var s=q.apply(this,arguments),n=C.effects.effect[s.effect],a=n.mode,t=s.queue,i=t||"fx",o=s.complete,r=s.mode,l=[];if(C.fx.off||!n)return r?this[r](s.duration,o):this.each(function(){o&&o.call(this)});function h(e){var t=C(this);function i(){C.isFunction(o)&&o.call(t[0]),C.isFunction(e)&&e()}s.mode=l.shift(),!1===C.uiBackCompat||a?"none"===s.mode?(t[r](),i()):n.call(t[0],s,function(){t.removeData(F),C.effects.cleanUp(t),"hide"===s.mode&&t.hide(),i()}):(t.is(":hidden")?"hide"===r:"show"===r)?(t[r](),i()):n.call(t[0],s,i)}return!1===t?this.each(e).each(h):this.queue(i,e).queue(i,h)},show:(H=C.fn.show,function(e){if(V(e))return H.apply(this,arguments);var t=q.apply(this,arguments);return t.mode="show",this.effect.call(this,t)}),hide:(A=C.fn.hide,function(e){if(V(e))return A.apply(this,arguments);var t=q.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)}),toggle:(O=C.fn.toggle,function(e){if(V(e)||"boolean"==typeof e)return O.apply(this,arguments);var t=q.apply(this,arguments);return t.mode="toggle",this.effect.call(this,t)}),cssUnit:function(e){var i=this.css(e),s=[];return C.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(s=[parseFloat(i),t])}),s},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):G(this.css("clip"),this)},transfer:function(e,t){var i=C(this),s=C(e.to),n="fixed"===s.css("position"),a=C("body"),o=n?a.scrollTop():0,r=n?a.scrollLeft():0,l=s.offset(),h={top:l.top-o,left:l.left-r,height:s.innerHeight(),width:s.innerWidth()},c=i.offset(),d=C("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:c.top-o,left:c.left-r,height:i.innerHeight(),width:i.innerWidth(),position:n?"fixed":"absolute"}).animate(h,e.duration,e.easing,function(){d.remove(),C.isFunction(t)&&t()})}}),C.fx.step.clip=function(e){e.clipInit||(e.start=C(e.elem).cssClip(),"string"==typeof e.end&&(e.end=G(e.end,e.elem)),e.clipInit=!0),C(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})},L={},C.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){L[e]=function(e){return Math.pow(e,t+2)}}),C.extend(L,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),C.each(L,function(e,t){C.easing["easeIn"+e]=t,C.easing["easeOut"+e]=function(e){return 1-t(1-e)},C.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});C.effects,C.effects.define("blind","hide",function(e,t){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},s=C(this),n=e.direction||"up",a=s.cssClip(),o={clip:C.extend({},a)},r=C.effects.createPlaceholder(s);o.clip[i[n][0]]=o.clip[i[n][1]],"show"===e.mode&&(s.cssClip(o.clip),r&&r.css(C.effects.clipToBox(o)),o.clip=a),r&&r.animate(C.effects.clipToBox(o),e.duration,e.easing),s.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),C.effects.define("bounce",function(e,t){var i,s,n,a=C(this),o=e.mode,r="hide"===o,l="show"===o,h=e.direction||"up",c=e.distance,d=e.times||5,u=2*d+(l||r?1:0),p=e.duration/u,f=e.easing,m="up"===h||"down"===h?"top":"left",g="up"===h||"left"===h,v=0,b=a.queue().length;for(C.effects.createPlaceholder(a),n=a.css(m),c=c||a["top"==m?"outerHeight":"outerWidth"]()/3,l&&((s={opacity:1})[m]=n,a.css("opacity",0).css(m,g?2*-c:2*c).animate(s,p,f)),r&&(c/=Math.pow(2,d-1)),(s={})[m]=n;v<d;v++)(i={})[m]=(g?"-=":"+=")+c,a.animate(i,p,f).animate(s,p,f),c=r?2*c:c/2;r&&((i={opacity:0})[m]=(g?"-=":"+=")+c,a.animate(i,p,f)),a.queue(t),C.effects.unshift(a,b,1+u)}),C.effects.define("clip","hide",function(e,t){var i={},s=C(this),n=e.direction||"vertical",a="both"===n,o=a||"horizontal"===n,r=a||"vertical"===n,l=s.cssClip();i.clip={top:r?(l.bottom-l.top)/2:l.top,right:o?(l.right-l.left)/2:l.right,bottom:r?(l.bottom-l.top)/2:l.bottom,left:o?(l.right-l.left)/2:l.left},C.effects.createPlaceholder(s),"show"===e.mode&&(s.cssClip(i.clip),i.clip=l),s.animate(i,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),C.effects.define("drop","hide",function(e,t){var i,s=C(this),n="show"===e.mode,a=e.direction||"left",o="up"===a||"down"===a?"top":"left",r="up"===a||"left"===a?"-=":"+=",l="+="==r?"-=":"+=",h={opacity:0};C.effects.createPlaceholder(s),i=e.distance||s["top"==o?"outerHeight":"outerWidth"](!0)/2,h[o]=r+i,n&&(s.css(h),h[o]=l+i,h.opacity=1),s.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),C.effects.define("explode","hide",function(e,t){var i,s,n,a,o,r,l=e.pieces?Math.round(Math.sqrt(e.pieces)):3,h=l,c=C(this),d="show"===e.mode,u=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/h),f=Math.ceil(c.outerHeight()/l),m=[];function g(){m.push(this),m.length===l*h&&(c.css({visibility:"visible"}),C(m).remove(),t())}for(i=0;i<l;i++)for(a=u.top+i*f,r=i-(l-1)/2,s=0;s<h;s++)n=u.left+s*p,o=s-(h-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:n+(d?o*p:0),top:a+(d?r*f:0),opacity:d?0:1}).animate({left:n+(d?0:o*p),top:a+(d?0:r*f),opacity:d?1:0},e.duration||500,e.easing,g)}),C.effects.define("fade","toggle",function(e,t){var i="show"===e.mode;C(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),C.effects.define("fold","hide",function(t,e){var i=C(this),s=t.mode,n="show"===s,a="hide"===s,o=t.size||15,r=/([0-9]+)%/.exec(o),l=!!t.horizFirst?["right","bottom"]:["bottom","right"],h=t.duration/2,c=C.effects.createPlaceholder(i),d=i.cssClip(),u={clip:C.extend({},d)},p={clip:C.extend({},d)},f=[d[l[0]],d[l[1]]],m=i.queue().length;r&&(o=parseInt(r[1],10)/100*f[a?0:1]),u.clip[l[0]]=o,p.clip[l[0]]=o,p.clip[l[1]]=0,n&&(i.cssClip(p.clip),c&&c.css(C.effects.clipToBox(p)),p.clip=d),i.queue(function(e){c&&c.animate(C.effects.clipToBox(u),h,t.easing).animate(C.effects.clipToBox(p),h,t.easing),e()}).animate(u,h,t.easing).animate(p,h,t.easing).queue(e),C.effects.unshift(i,m,4)}),C.effects.define("highlight","show",function(e,t){var i=C(this),s={backgroundColor:i.css("backgroundColor")};"hide"===e.mode&&(s.opacity=0),C.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(s,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),C.effects.define("size",function(n,t){var e,a,i,s=C(this),o=["fontSize"],r=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],l=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],h=n.mode,c="effect"!==h,d=n.scale||"both",u=n.origin||["middle","center"],p=s.css("position"),f=s.position(),m=C.effects.scaledDimensions(s),g=n.from||m,v=n.to||C.effects.scaledDimensions(s,0);C.effects.createPlaceholder(s),"show"===h&&(i=g,g=v,v=i),a={from:{y:g.height/m.height,x:g.width/m.width},to:{y:v.height/m.height,x:v.width/m.width}},"box"!==d&&"both"!==d||(a.from.y!==a.to.y&&(g=C.effects.setTransition(s,r,a.from.y,g),v=C.effects.setTransition(s,r,a.to.y,v)),a.from.x!==a.to.x&&(g=C.effects.setTransition(s,l,a.from.x,g),v=C.effects.setTransition(s,l,a.to.x,v))),"content"!==d&&"both"!==d||a.from.y!==a.to.y&&(g=C.effects.setTransition(s,o,a.from.y,g),v=C.effects.setTransition(s,o,a.to.y,v)),u&&(e=C.effects.getBaseline(u,m),g.top=(m.outerHeight-g.outerHeight)*e.y+f.top,g.left=(m.outerWidth-g.outerWidth)*e.x+f.left,v.top=(m.outerHeight-v.outerHeight)*e.y+f.top,v.left=(m.outerWidth-v.outerWidth)*e.x+f.left),s.css(g),"content"!==d&&"both"!==d||(r=r.concat(["marginTop","marginBottom"]).concat(o),l=l.concat(["marginLeft","marginRight"]),s.find("*[width]").each(function(){var e=C(this),t=C.effects.scaledDimensions(e),i={height:t.height*a.from.y,width:t.width*a.from.x,outerHeight:t.outerHeight*a.from.y,outerWidth:t.outerWidth*a.from.x},s={height:t.height*a.to.y,width:t.width*a.to.x,outerHeight:t.height*a.to.y,outerWidth:t.width*a.to.x};a.from.y!==a.to.y&&(i=C.effects.setTransition(e,r,a.from.y,i),s=C.effects.setTransition(e,r,a.to.y,s)),a.from.x!==a.to.x&&(i=C.effects.setTransition(e,l,a.from.x,i),s=C.effects.setTransition(e,l,a.to.x,s)),c&&C.effects.saveStyle(e),e.css(i),e.animate(s,n.duration,n.easing,function(){c&&C.effects.restoreStyle(e)})})),s.animate(v,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var e=s.offset();0===v.opacity&&s.css("opacity",g.opacity),c||(s.css("position","static"===p?"relative":p).offset(e),C.effects.saveStyle(s)),t()}})}),C.effects.define("scale",function(e,t){var i=C(this),s=e.mode,n=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==s?0:100),a=C.extend(!0,{from:C.effects.scaledDimensions(i),to:C.effects.scaledDimensions(i,n,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),C.effects.effect.size.call(this,a,t)}),C.effects.define("puff","hide",function(e,t){var i=C.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});C.effects.effect.scale.call(this,i,t)}),C.effects.define("pulsate","show",function(e,t){var i=C(this),s=e.mode,n="show"===s,a=n||"hide"===s,o=2*(e.times||5)+(a?1:0),r=e.duration/o,l=0,h=1,c=i.queue().length;for(!n&&i.is(":visible")||(i.css("opacity",0).show(),l=1);h<o;h++)i.animate({opacity:l},r,e.easing),l=1-l;i.animate({opacity:l},r,e.easing),i.queue(t),C.effects.unshift(i,c,1+o)}),C.effects.define("shake",function(e,t){var i=1,s=C(this),n=e.direction||"left",a=e.distance||20,o=e.times||3,r=2*o+1,l=Math.round(e.duration/r),h="up"===n||"down"===n?"top":"left",c="up"===n||"left"===n,d={},u={},p={},f=s.queue().length;for(C.effects.createPlaceholder(s),d[h]=(c?"-=":"+=")+a,u[h]=(c?"+=":"-=")+2*a,p[h]=(c?"-=":"+=")+2*a,s.animate(d,l,e.easing);i<o;i++)s.animate(u,l,e.easing).animate(p,l,e.easing);s.animate(u,l,e.easing).animate(d,l/2,e.easing).queue(t),C.effects.unshift(s,f,1+r)}),C.effects.define("slide","show",function(e,t){var i,s,n=C(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=e.mode,r=e.direction||"left",l="up"===r||"down"===r?"top":"left",h="up"===r||"left"===r,c=e.distance||n["top"==l?"outerHeight":"outerWidth"](!0),d={};C.effects.createPlaceholder(n),i=n.cssClip(),s=n.position()[l],d[l]=(h?-1:1)*c+s,d.clip=n.cssClip(),d.clip[a[r][1]]=d.clip[a[r][0]],"show"===o&&(n.cssClip(d.clip),n.css(l,d[l]),d.clip=i,d[l]=s),n.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:t})});!1!==C.uiBackCompat&&C.effects.define("transfer",function(e,t){C(this).transfer(e,t)});C.ui.focusable=function(e,t){var i,s,n,a,o,r=e.nodeName.toLowerCase();return"area"===r?(s=(i=e.parentNode).name,!(!e.href||!s||"map"!==i.nodeName.toLowerCase())&&(0<(n=C("img[usemap='#"+s+"']")).length&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(a=!e.disabled)&&(o=C(e).closest("fieldset")[0])&&(a=!o.disabled):a="a"===r&&e.href||t,a&&C(e).is(":visible")&&function(e){var t=e.css("visibility");for(;"inherit"===t;)e=e.parent(),t=e.css("visibility");return"hidden"!==t}(C(e)))},C.extend(C.expr[":"],{focusable:function(e){return C.ui.focusable(e,null!=C.attr(e,"tabindex"))}});C.ui.focusable,C.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):C(this[0].form)},C.ui.formResetMixin={_formResetHandler:function(){var t=C(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");C.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){var e;this.form=this.element.form(),this.form.length&&((e=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e))},_unbindFormResetHandler:function(){var e;this.form.length&&((e=this.form.data("ui-form-reset-instances")).splice(C.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"))}};"1.7"===C.fn.jquery.substring(0,3)&&(C.each(["Width","Height"],function(e,i){var n="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),a={innerWidth:C.fn.innerWidth,innerHeight:C.fn.innerHeight,outerWidth:C.fn.outerWidth,outerHeight:C.fn.outerHeight};function o(e,t,i,s){return C.each(n,function(){t-=parseFloat(C.css(e,"padding"+this))||0,i&&(t-=parseFloat(C.css(e,"border"+this+"Width"))||0),s&&(t-=parseFloat(C.css(e,"margin"+this))||0)}),t}C.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){C(this).css(s,o(this,e)+"px")})},C.fn["outer"+i]=function(e,t){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){C(this).css(s,o(this,e,!0,t)+"px")})}}),C.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))});var X,U;C.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},C.ui.escapeSelector=(X=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(X,"\\$1")}),C.fn.labels=function(){var e,t,i,s,n;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(s=this.eq(0).parents("label"),(i=this.attr("id"))&&(n=(e=this.eq(0).parents().last(
vendor: 10,763 bytes, line 1
1)).add(e.length?e.siblings():this.siblings()),t="label[for='"+C.ui.escapeSelector(i)+"']",s=s.add(n.find(t).addBack(t))),this.pushStack(s))},C.fn.scrollParent=function(e){var t=this.css("position"),i="absolute"===t,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/,n=this.parents().filter(function(){var e=C(this);return(!i||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&n.length?n:C(this[0].ownerDocument||document)},C.extend(C.expr[":"],{tabbable:function(e){var t=C.attr(e,"tabindex"),i=null!=t;return(!i||0<=t)&&C.ui.focusable(e,i)}}),C.fn.extend({uniqueId:(U=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++U)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&C(this).removeAttr("id")})}}),C.widget("ui.accordion",{version:"1.12.1",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:"> li > :first-child, > :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=C(),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():C()}},_createIcons:function(){var e,t,i=this.options.icons;i&&(e=C("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+i.header),e.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,i.header)._addClass(t,null,i.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 e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"!==e?("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons())):this._activate(t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=C.ui.keyCode,i=this.headers.length,s=this.headers.index(e.target),n=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:n=this.headers[(s+1)%i];break;case t.LEFT:case t.UP:n=this.headers[(s-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:n=this.headers[0];break;case t.END:n=this.headers[i-1]}n&&(C(e.target).attr("tabIndex",-1),C(n).attr("tabIndex",0),C(n).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===C.ui.keyCode.UP&&e.ctrlKey&&C(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=C()):!1===e.active?this._activate(0):this.active.length&&!C.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=C()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;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"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,s=this.element.parent();this.active=this._findActive(e.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=C(this),t=e.uniqueId().attr("id"),i=e.next(),s=i.uniqueId().attr("id");e.attr("aria-controls",s),i.attr("aria-labelledby",t)}).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(e.event),"fill"===t?(i=s.height(),this.element.siblings(":visible").each(function(){var e=C(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=C(this).outerHeight(!0)}),this.headers.next().each(function(){C(this).height(Math.max(0,i-C(this).innerHeight()+C(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){var e=C(this).is(":visible");e||C(this).show(),i=Math.max(i,C(this).css("height","").height()),e||C(this).hide()}).height(i))},_activate:function(e){var t=this._findActive(e)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:C.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):C()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&C.each(e.split(" "),function(e,t){i[t]="_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 t,i,s=this.options,n=this.active,a=C(e.currentTarget),o=a[0]===n[0],r=o&&s.collapsible,l=r?C():a.next(),h=n.next(),c={oldHeader:n,oldPanel:h,newHeader:r?C():a,newPanel:l};e.preventDefault(),o&&!s.collapsible||!1===this._trigger("beforeActivate",e,c)||(s.active=!r&&this.headers.index(a),this.active=o?C():a,this._toggle(c),this._removeClass(n,"ui-accordion-header-active","ui-state-active"),s.icons&&(t=n.children(".ui-accordion-header-icon"),this._removeClass(t,null,s.icons.activeHeader)._addClass(t,null,s.icons.header)),o||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),s.icons&&(i=a.children(".ui-accordion-header-icon"),this._removeClass(i,null,s.icons.header)._addClass(i,null,s.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(C(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,i,t){function s(){r._toggleComplete(t)}var n,a,o,r=this,l=0,h=e.css("box-sizing"),c=e.length&&(!i.length||e.index()<i.index()),d=this.options.animate||{},u=c&&d.down||d;return"number"==typeof u&&(o=u),"string"==typeof u&&(a=u),a=a||u.easing||d.easing,o=o||u.duration||d.duration,i.length?e.length?(n=e.show().outerHeight(),i.animate(this.hideProps,{duration:o,easing:a,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:o,easing:a,complete:s,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===h&&(l+=t.now):"content"!==r.options.heightStyle&&(t.now=Math.round(n-i.outerHeight()-l),l=0)}})):i.animate(this.hideProps,o,a,s):e.animate(this.showProps,o,a,s)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),t.length&&t.parent()[0].className,this._trigger("activate",null,e)}}),C.ui.safeActiveElement=function(t){var i;try{i=t.activeElement}catch(e){i=t.body}return(i=i||t.body).nodeName||(i=t.body),i},C.widget("ui.menu",{version:"1.12.1",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.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(e){e.preventDefault()},"click .ui-menu-item":function(e){var t=C(e.target),i=C(C.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.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":function(e){var t,i;this.previousFilter||(t=C(e.target).closest(".ui-menu-item"),i=C(e.currentTarget),t[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i)))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blur:function(e){this._delay(function(){C.contains(this.element[0],C.ui.safeActiveElement(this.document[0]))||this.collapseAll(e)}
vendor: 5,540 bytes, line 1
1)},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_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=C(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,i,s,n,a=!0;switch(e.keyCode){case C.ui.keyCode.PAGE_UP:this.previousPage(e);break;case C.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case C.ui.keyCode.HOME:this._move("first","first",e);break;case C.ui.keyCode.END:this._move("last","last",e);break;case C.ui.keyCode.UP:this.previous(e);break;case C.ui.keyCode.DOWN:this.next(e);break;case C.ui.keyCode.LEFT:this.collapse(e);break;case C.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case C.ui.keyCode.ENTER:case C.ui.keyCode.SPACE:this._activate(e);break;case C.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,i=this.previousFilter||"",n=!1,s=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),s===i?n=!0:s=i+s,t=this._filterMenuItems(s),(t=n&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(s=String.fromCharCode(e.keyCode),t=this._filterMenuItems(s)),t.length?(this.focus(e,t),this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,i,s,n=this,a=this.options.icons.submenu,o=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=o.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=C(this),t=e.prev(),i=C("<span>").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+a),t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(e=o.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=C(this);n._isDivider(e)&&n._addClass(e,"ui-menu-divider","ui-widget-content")}),s=(i=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(s,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!C.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i,s,n;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,s,n,a,o;this._hasScroll()&&(t=parseFloat(C.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(C.css(this.activeMenu[0],"paddingTop"))||0,s=e.offset().top-this.activeMenu.offset().top-t-i,n=this.activeMenu.scrollTop(),a=this.activeMenu.height(),o=e.outerHeight(),s<0?this.activeMenu.scrollTop(n+s):a<s+o&&this.activeMenu.scrollTop(n+s-a+o))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=C.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(t)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var e=i?this.element:C(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se")},_closeOnDocumentClick:function(e){return!C(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,i){var s;this.active&&(s="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[t]()),this.focus(i,s)},nextPage:function(e){var t,i,s;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,s=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(t=C(this)).offset().top-i-s<0}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,i,s;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,s=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=C(this)).offset().top-i+s}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||C(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var t=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return i.test(C.trim(C(this).children(".ui-menu-item-wrapper").text()))})}});C.widget("ui.autocomplete",{version:"1.12.1",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,_create:function(){var i,s,n,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,a="input"===e;this.isMultiLine=t||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[t||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var t=C.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:s=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault());if(!s){var t=C.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){if(n)return n=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),this._change(e))}}),this._initSource(),this.menu=C("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==C.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,t){var i,s;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){C(e.target).trigger(e.originalEvent)});s=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:s}
vendor: 11,374 bytes, line 1
1)&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value),(i=t.item.attr("aria-label")||s.value)&&C.trim(i).length&&(this.liveRegion.children().hide(),C("<div>").text(i).appendTo(this.liveRegion))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==C.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=C("<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(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||C.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return(e=e&&(e.jquery||e.nodeType?C(e):this.document.find(e).eq(0)))&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var i,s,n=this;C.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(C.ui.autocomplete.filter(i,e.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(e,t){n.xhr&&n.xhr.abort(),n.xhr=C.ajax({url:s,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;e&&(!e||t||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return C.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:C.map(e,function(e){return"string"==typeof e?{label:e,value:e}:C.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(C.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,e){var s=this;C.each(e,function(e,t){s._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return C("<li>").append(C("<div>").text(t.label)).appendTo(e)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),C.extend(C.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=new RegExp(C.ui.autocomplete.escapeRegex(t),"i");return C.grep(e,function(e){return i.test(e.label||e.value||e)})}}),C.widget("ui.autocomplete",C.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),C("<div>").text(t).appendTo(this.liveRegion))}});C.ui.autocomplete;var K=/ui-corner-([a-z]){2,6}/g;C.widget("ui.controlgroup",{version:"1.12.1",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 o=this,r=[];C.each(this.options.items,function(n,e){var t,a={};if(e)return"controlgroupLabel"===n?((t=o.element.find(e)).each(function(){var e=C(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),o._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),void(r=r.concat(t.get()))):void(C.fn[n]&&(a=o["_"+n+"Options"]?o["_"+n+"Options"]("middle"):{classes:{}},o.element.find(e).each(function(){var e,t=C(this),i=t[n]("instance"),s=C.widget.extend({},a);"button"===n&&t.parent(".ui-spinner").length||((i=i||t[n]()[n]("instance"))&&(s.classes=o._resolveClassesValues(s.classes,i)),t[n](s),e=t[n]("widget"),C.data(e[0],"ui-controlgroup-data",i||t[n]("instance")),r.push(e[0]))})))}),this.childWidgets=C(C.unique(r)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=C(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){var i=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,i)},_buildSimpleOptions:function(e,t){var i="vertical"===this.options.direction,s={classes:{}};return s.classes[t]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[e],s},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(i,s){var n={};return C.each(i,function(e){var t=s.options.classes[e]||"",t=C.trim(t.replace(K,""));n[e]=(t+" "+i[e]).replace(/\s+/g," ")}),n},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var n,a=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),n=this.childWidgets,this.options.onlyVisible&&(n=n.filter(":visible")),n.length&&(C.each(["first","last"],function(e,t){var i,s=n[t]().data("ui-controlgroup-data");s&&a["_"+s.widgetName+"Options"]?((i=a["_"+s.widgetName+"Options"](1===n.length?"only":t)).classes=a._resolveClassesValues(i.classes,s),s.element[s.widgetName](i)):a._updateCornerClass(n[t](),t)}),this._callChildMethod("refresh"))}});C.widget("ui.checkboxradio",[C.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,t,i=this,s=this._super()||{};return this._readType(),t=this.element.labels(),this.label=C(t[t.length-1]),this.label.length||C.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){i.originalLabel+=3===this.nodeType?C(this).text():this.outerHTML}),this.originalLabel&&(s.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(s.disabled=e),s},_create:function(){var e=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(),e&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),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,428 bytes, line 1
1this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||C.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,t="input[name='"+C.ui.escapeSelector(e)+"']";return e?(this.form.length?C(this.form[0].elements).filter(t):C(t).filter(function(){return 0===C(this).form().length})).not(this.element):C([])},_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=C(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(e,t){if("label"!==e||t){if(this._super(e,t),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t);this.refresh()}},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=C("<span>"),this.iconSpace=C("<span> </span>
1"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),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 e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]);var Q;C.ui.checkboxradio;C.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_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===C.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,t){var i="iconPosition"!==e,s=i?this.options.iconPosition:t,n="top"===s||"bottom"===s;this.icon?i&&this._removeClass(this.icon,null,this.options.icon):(this.icon=C("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),i&&this._addClass(this.icon,null,t),this._attachIcon(s),n?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 9,380 bytes, line 1
1pace||(this.iconSpace=C("<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(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=void 0===e.showLabel?this.options.showLabel:e.showLabel,i=void 0===e.icon?this.options.icon:e.icon;t||i||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),(this.element[0].disabled=t)&&this.element.blur())},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==C.uiBackCompat&&(C.widget("ui.button",C.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(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),C.fn.button=(Q=C.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?Q.apply(this,arguments):(C.ui.checkboxradio||C.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),C.fn.buttonset=function(){return C.ui.controlgroup||C.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;C.ui.button;function J(){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:""},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,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},C.extend(this._defaults,this.regional[""]),this.regional.en=C.extend(!0,{},this.regional[""]),this.regional["en-US"]=C.extend(!0,{},this.regional.en),this.dpDiv=ee(C("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function ee(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){C(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&C(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&C(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,te)}function te(){C.datepicker._isDisabledDatepicker(Z.inline?Z.dpDiv.parent()[0]:Z.input[0])||(C(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),C(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&C(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&C(this).addClass("ui-datepicker-next-hover"))}function ie(e,t){for(var i in C.extend(e,t),t)null==t[i]&&(e[i]=t[i]);return e}C.extend(C.ui,{datepicker:{version:"1.12.1"}}),C.extend(J.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return ie(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,s=e.nodeName.toLowerCase(),n="div"===s||"span"===s;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(C(e),n)).settings=C.extend({},t||{}),"input"===s?this._connectDatepicker(e,i):n&&this._inlineDatepicker(e,i)},_newInst:function(e,t){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:t,dpDiv:t?ee(C("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var i=C(e);t.append=C([]),t.trigger=C([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),C.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,s,n,a=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),a&&(t.append=C("<span class='"+this._appendClass+"'>"+a+"</span>"),e[o?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(i=this._get(t,"showOn"))&&"both"!==i||e.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(s=this._get(t,"buttonText"),n=this._get(t,"buttonImage"),t.trigger=C(this._get(t,"buttonImageOnly")?C("<img/>").addClass(this._triggerClass).attr({src:n,alt:s,title:s}):C("<button type='button'></button>").addClass(this._triggerClass).html(n?C("<img/>").attr({src:n,alt:s,title:s}):s)),e[o?"before":"after"](t.trigger),t.trigger.on("click",function(){return C.datepicker._datepickerShowing&&C.datepicker._lastInput===e[0]?C.datepicker._hideDatepicker():(C.datepicker._datepickerShowing&&C.datepicker._lastInput!==e[0]&&C.datepicker._hideDatepicker(),C.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,s,n,a,o;this._get(e,"autoSize")&&!e.inline&&(a=new Date(2009,11,20),(o=this._get(e,"dateFormat")).match(/[DM]/)&&(t=function(e){for(n=s=i=0;n<e.length;n++)e[n].length>i&&(i=e[n].length,s=n);return s},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length))},_inlineDatepicker:function(e,t){var i=C(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),C.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,s,n){var a,o,r,l,h,c=this._dialogInst;return c||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=C("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>
1"),this._dialogInput.on("keydown",this._doKeyDown),C("body").append(this._dialogInput),(c=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},C.data(this._dialogInput[0],"datepicker",c)),ie(c.settings,s||{}),t=t&&t.constructor===Date?this._formatDate(c,t):t,this._dialogInput.val(t),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(o=document.documentElement.clientWidth,r=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,h=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+l,r/2-150+h]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),C.blockUI&&C.blockUI(this.dpDiv),C.data(this._dialogInput[0],"datepicker",c),this},_destroyDatepicker:function(e){var t,i=C(e),s=C.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),C.removeData(e,"datepicker"),"input"===t?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty(),Z===s&&(Z=null))},_enableDatepicker:function(t){var e,i,s=C(t),n=C.data(t,"datepicker");s.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((i=s.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=C.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i,s=C(t),n=C.data(t,"datepicker");s.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((i=s.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=C.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return C.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var s,n,a,o,r=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?C.extend({},C.datepicker._defaults):r?"all"===t?C.extend({},r.settings):this._get(r,t):null;s=t||{},"string"==typeof t&&((s={})[t]=i),r&&(this._curInst===r&&this._hideDatepicker(),n=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(r,"min"),o=this._getMinMaxDate(r,"max"),ie(r.settings,s),null!==a&&void 0!==s.dateFormat&&void 0===s.minDate&&(r.settings.minDate=this._formatDate(r,a)),null!==o&&void 0!==s.dateFormat&&void 0===s.maxDate&&(r.settings.maxDate=this._formatDate(r,o)),"disabled"in s&&(s.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(C(e),r),this._autoSize(r),this._setDate(r,n),this._updateAlternate(r),this._updateDatepicker(r))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(e){var t,i,s,n=C.datepicker._getInst(e.target),a=!0,o=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,C.datepicker._datepickerShowing)switch(e.keyCode){case 9:C.datepicker._hideDatepicker(),a=!1;break;case 13:return(s=C("td."+C.datepicker._dayOverClass+":not(."+C.datepicker._currentClass+")",n.dpDiv))[0]&&C.datepicker._selectDay(e.target,n.selectedMonth,n.selectedYear,s[0]),(t=C.datepicker._get(n,"onSelect"))?(i=C.datepicker._formatDate(n),t.apply(n.input?n.input[0]:null,[
vendor: 4,487 bytes, line 1
1i,n])):C.datepicker._hideDatepicker(),!1;case 27:C.datepicker._hideDatepicker();break;case 33:C.datepicker._adjustDate(e.target,e.ctrlKey?-C.datepicker._get(n,"stepBigMonths"):-C.datepicker._get(n,"stepMonths"),"M");break;case 34:C.datepicker._adjustDate(e.target,e.ctrlKey?+C.datepicker._get(n,"stepBigMonths"):+C.datepicker._get(n,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&C.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&C.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&C.datepicker._adjustDate(e.target,o?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&C.datepicker._adjustDate(e.target,e.ctrlKey?-C.datepicker._get(n,"stepBigMonths"):-C.datepicker._get(n,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&C.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&C.datepicker._adjustDate(e.target,o?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&C.datepicker._adjustDate(e.target,e.ctrlKey?+C.datepicker._get(n,"stepBigMonths"):+C.datepicker._get(n,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&C.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?C.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i,s=C.datepicker._getInst(e.target);if(C.datepicker._get(s,"constrainInput"))return t=C.datepicker._possibleChars(C.datepicker._get(s,"dateFormat")),i=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||i<" "||!t||-1<t.indexOf(i)},_doKeyUp:function(e){var t=C.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{C.datepicker.parseDate(C.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,C.datepicker._getFormatConfig(t))&&(C.datepicker._setDateFromField(t),C.datepicker._updateAlternate(t),C.datepicker._updateDatepicker(t))}catch(e){}return!0},_showDatepicker:function(e){var t,i,s,n,a,o,r;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=C("input",e.parentNode)[0]),C.datepicker._isDisabledDatepicker(e)||C.datepicker._lastInput===e||(r=C.datepicker._getInst(e),C.datepicker._curInst&&C.datepicker._curInst!==r&&(C.datepicker._curInst.dpDiv.stop(!0,!0),r&&C.datepicker._datepickerShowing&&C.datepicker._hideDatepicker(C.datepicker._curInst.input[0])),!1!==(i=(t=C.datepicker._get(r,"beforeShow"))?t.apply(e,[e,r]):{})&&(ie(r.settings,i),r.lastVal=null,C.datepicker._lastInput=e,C.datepicker._setDateFromField(r),C.datepicker._inDialog&&(e.value=""),C.datepicker._pos||(C.datepicker._pos=C.datepicker._findPos(e),C.datepicker._pos[1]+=e.offsetHeight),s=!1,C(e).parents().each(function(){return!(s|="fixed"===C(this).css("position"))}),n={left:C.datepicker._pos[0],top:C.datepicker._pos[1]},C.datepicker._pos=null,r.dpDiv.empty(),r.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),C.datepicker._updateDatepicker(r),n=C.datepicker._checkOffset(r,n,s),r.dpDiv.css({position:C.datepicker._inDialog&&C.blockUI?"static":s?"fixed":"absolute",display:"none",left:n.left+"px",top:n.top+"px"}),r.inline||(a=C.datepicker._get(r,"showAnim"),o=C.datepicker._get(r,"duration"),r.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(C(e))+1),C.datepicker._datepickerShowing=!0,C.effects&&C.effects.effect[a]?r.dpDiv.show(a,C.datepicker._get(r,"showOptions"),o):r.dpDiv[a||"show"](a?o:null),C.datepicker._shouldFocusInput(r)&&r.input.trigger("focus"),C.datepicker._curInst=r)))},_updateDatepicker:function(e){this.maxRows=4,(Z=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,i=this._getNumberOfMonths(e),s=i[1],n=e.dpDiv.find("."+this._dayOverClass+" a");0<n.length&&te.apply(n.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<s&&e.dpDiv.addClass("ui-datepicker-multi-"+s).css("width",17*s+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===C.datepicker._curInst&&C.datepicker._datepickerShowing&&C.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.f
vendor: 4,123 bytes, line 1
1ind("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,i){var s=e.dpDiv.outerWidth(),n=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,r=document.documentElement.clientWidth+(i?0:C(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:C(document).scrollTop());return t.left-=this._get(e,"isRTL")?s-a:0,t.left-=i&&t.left===e.input.offset().left?C(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+o?C(document).scrollTop():0,t.left-=Math.min(t.left,t.left+s>r&&s<r?Math.abs(t.left+s-r):0),t.top-=Math.min(t.top,t.top+n>l&&n<l?Math.abs(n+o):0),t},_findPos:function(e){for(var t,i=this._getInst(e),s=this._get(i,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||C.expr.filters.hidden(e));)e=e[s?"previousSibling":"nextSibling"];return[(t=C(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,s,n,a=this._curInst;!a||e&&a!==C.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(a,"showAnim"),i=this._get(a,"duration"),s=function(){C.datepicker._tidyDialog(a)},C.effects&&(C.effects.effect[t]||C.effects[t])?a.dpDiv.hide(t,C.datepicker._get(a,"showOptions"),i,s):a.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?i:null,s),t||s(),this._datepickerShowing=!1,(n=this._get(a,"onClose"))&&n.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),C.blockUI&&(C.unblockUI(),C("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){var t,i;C.datepicker._curInst&&(t=C(e.target),i=C.datepicker._getInst(t[0]),(t[0].id===C.datepicker._mainDivId||0!==t.parents("#"+C.datepicker._mainDivId).length||t.hasClass(C.datepicker.markerClassName)||t.closest("."+C.datepicker._triggerClass).length||!C.datepicker._datepickerShowing||C.datepicker._inDialog&&C.blockUI)&&(!t.hasClass(C.datepicker.markerClassName)||C.datepicker._curInst===i)||C.datepicker._hideDatepicker())},_adjustDate:function(e,t,i){var s=C(e),n=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(n,t+("M"===i?this._get(n,"showCurrentAtPos"):0),i),this._updateDatepicker(n))},_gotoToday:function(e){var t,i=C(e),s=this._getInst(i[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(t=new Date,s.selectedDay=t.getDate(),s.drawMonth=s.selectedMonth=t.getMonth(),s.drawYear=s.selectedYear=t.getFullYear()),this._notifyChange(s),this._adjustDate(i)},_selectMonthYear:function(e,t,i){var s=C(e),n=this._getInst(s[0]);n["selected"+("M"===i?"Month":"Year")]=n["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(s)},_selectDay:function(e,t,i,s){var n,a=C(e);C(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((n=this._getInst(a[0])).selectedDay=n.currentDay=C("a",s).html(),n.selectedMonth=n.currentMonth=t,n.selectedYear=n.currentYear=i,this._selectDate(e,this._formatDate(n,n.currentDay,n.currentMonth,n.currentYear)))},_clearDate:function(e){var t=C(e);this._selectDate(t,"")},_selectDate:function(e,t){var i,s=C(e),n=this._getInst(s[0]);t=null!=t?t:this._formatDate(n),n.input&&n.input.val(t),this._updateAlternate(n),(i=this._get(n,"onSelect"))?i.apply(n.input?n.input[0]:null,[t,n]):n.input&&n.input.trigger("change"),n.inline?this._updateDatepicker(n):(this._hideDatepicker(),this._lastInput=n.input[0],"object"!=typeof n.input[0]&&n.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,i,s,n=this._get(e,"altField");n&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),s=this.formatDate(t,i,this._getFormatConfig(e)),C(n).val(s))},noWeekends:function(e){var t=e.getDay();return[0<t&&t<6,""]}
vendor: 6,425 bytes, line 1
1,iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(i,a,e){if(null==i||null==a)throw"Invalid arguments";if(""===(a="object"==typeof a?a.toString():a+""))return null;function o(e){var t=x+1<i.length&&i.charAt(x+1)===e;return t&&x++,t}function t(e){var t=o(e),i="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,s=new RegExp("^\\d{"+("y"===e?i:1)+","+i+"}"),n=a.substring(c).match(s);if(!n)throw"Missing number at position "+c;return c+=n[0].length,parseInt(n[0],10)}function s(e,t,i){var s=-1,n=C.map(o(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(C.each(n,function(e,t){var i=t[1];if(a.substr(c,i.length).toLowerCase()===i.toLowerCase())return s=t[0],c+=i.length,!1}),-1!==s)return s+1;throw"Unknown name at position "+c}function n(){if(a.charAt(c)!==i.charAt(x))throw"Unexpected literal at position "+c;c++}for(var r,l,h,c=0,d=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof d?d:(new Date).getFullYear()%100+parseInt(d,10),p=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,f=(e?e.dayNames:null)||this._defaults.dayNames,m=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,g=(e?e.monthNames:null)||this._defaults.monthNames,v=-1,b=-1,_=-1,y=-1,w=!1,x=0;x<i.length;x++)if(w)"'"!==i.charAt(x)||o("'")?n():w=!1;else switch(i.charAt(x)){case"d":_=t("d");break;case"D":s("D",p,f);break;case"o":y=t("o");break;case"m":b=t("m");break;case"M":b=s("M",m,g);break;case"y":v=t("y");break;case"@":v=(h=new Date(t("@"))).getFullYear(),b=h.getMonth()+1,_=h.getDate();break;case"!":v=(h=new Date((t("!")-this._ticksTo1970)/1e4)).getFullYear(),b=h.getMonth()+1,_=h.getDate();break;case"'":o("'")?n():w=!0;break;default:n()}if(c<a.length&&(l=a.substr(c),!/^\s+/.test(l)))throw"Extra/unparsed characters found in date: "+l;if(-1===v?v=(new Date).getFullYear():v<100&&(v+=(new Date).getFullYear()-(new Date).getFullYear()%100+(v<=u?0:-100)),-1<y)for(b=1,_=y;;){if(_<=(r=this._getDaysInMonth(v,b-1)))break;b++,_-=r}if((h=this._daylightSavingAdjust(new Date(v,b-1,_))).getFullYear()!==v||h.getMonth()+1!==b||h.getDate()!==_)throw"Invalid date";return h},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(i,e,t){if(!e)return"";function n(e){var t=o+1<i.length&&i.charAt(o+1)===e;return t&&o++,t}function s(e,t,i){var s=""+t;if(n(e))for(;s.length<i;)s="0"+s;return s}function a(e,t,i,s){return n(e)?s[t]:i[t]}var o,r=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,l=(t?t.dayNames:null)||this._defaults.dayNames,h=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,c=(t?t.monthNames:null)||this._defaults.monthNames,d="",u=!1;if(e)for(o=0;o<i.length;o++)if(u)"'"!==i.charAt(o)||n("'")?d+=i.charAt(o):u=!1;else switch(i.charAt(o)){case"d":d+=s("d",e.getDate(),2);break;case"D":d+=a("D",e.getDay(),r,l);break;case"o":d+=s("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=s("m",e.getMonth()+1,2);break;case"M":d+=a("M",e.getMonth(),h,c);break;case"y":d+=n("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":d+=e.getTime();break;case"!":d+=1e4*e.getTime()+this._ticksTo1970;break;case"'":n("'")?d+="'":u=!0;break;default:d+=i.charAt(o)}return d},_possibleChars:function(i){function e(e){var t=n+1<i.length&&i.charAt(n+1)===e;return t&&n++,t}for(var t="",s=!1,n=0;n<i.length;n++)if(s)"'"!==i.charAt(n)||e("'")?t+=i.charAt(n):s=!1;else switch(i.charAt(n)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":e("'")?t+="'":s=!0;break;default:t+=i.charAt(n)}return t},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),s=e.lastVal=e.input?e.input.val():null,n=this._getDefaultDate(e),a=n,o=this._getFormatConfig(e);try{a=this.parseDate(i,s,o)||n}catch(e){s=t?"":s}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=s?a.getDate():0,e.currentMonth=s?a.getMonth():0,e.currentYear=s?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(r,e,t){var i,s,n=null==e||""===e?t:"string"==typeof e?function(e){try{return C.datepicker.parseDate(C.datepicker._get(r,"dateFormat"),e,C.datepicker._getFormatConfig(r))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?C.datepicker._getDate(r):null)||new Date,i=t.getFullYear(),s=t.getMonth(),n=t.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=a.exec(e);o;){switch(o[2]||"d"){case"d":case"D":n+=parseInt(o[1],10);break;case"w":case"W":n+=7*parseInt(o[1],10);break;case"m":case"M":s+=parseInt(o[1],10),n=Math.min(n,C.datepicker._getDaysInMonth(i,s));break;case"y":case"Y":i+=parseInt(o[1],10),n=Math.min(n,C.datepicker._getDaysInMonth(i,s))}o=a.exec(e)}return new Date(i,s,n)}(e):"number"==typeof e?isNaN(e)?t:(i=e,(s=new Date).setDate(s.getDate()+i),s):new Date(e.getTime());return(n=n&&"Invalid Date"===n.toString()?t:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var s=!t,n=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),n===e.selectedMonth&&a===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(s?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");
vendor: 19,356 bytes, line 1
1e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){C.datepicker._adjustDate(i,-t,"M")},next:function(){C.datepicker._adjustDate(i,+t,"M")},hide:function(){C.datepicker._hideDatepicker()},today:function(){C.datepicker._gotoToday(i)},selectDay:function(){return C.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return C.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return C.datepicker._selectMonthYear(i,this,"Y"),!1}};C(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,s,n,a,o,r,l,h,c,d,u,p,f,m,g,v,b,_,y,w,x,C,S,T,k,E,M,D,P,I,z,O,A,H,L,N,W,F,$=new Date,R=this._daylightSavingAdjust(new Date($.getFullYear(),$.getMonth(),$.getDate())),B=this._get(e,"isRTL"),Y=this._get(e,"showButtonPanel"),j=this._get(e,"hideIfNoPrevNext"),q=this._get(e,"navigationAsDateFormat"),V=this._getNumberOfMonths(e),G=this._get(e,"showCurrentAtPos"),X=this._get(e,"stepMonths"),U=1!==V[0]||1!==V[1],K=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(e,"min"),Z=this._getMinMaxDate(e,"max"),J=e.drawMonth-G,ee=e.drawYear;if(J<0&&(J+=12,ee--),Z)for(t=this._daylightSavingAdjust(new Date(Z.getFullYear(),Z.getMonth()-V[0]*V[1]+1,Z.getDate())),t=Q&&t<Q?Q:t;this._daylightSavingAdjust(new Date(ee,J,1))>t;)--J<0&&(J=11,ee--);for(e.drawMonth=J,e.drawYear=ee,i=this._get(e,"prevText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,J-X,1)),this._getFormatConfig(e)):i,s=this._canAdjustMonth(e,-1,ee,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"e":"w")+"'>"+i+"</span></a>":j?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"e":"w")+"'>"+i+"</span></a>",n=this._get(e,"nextText"),n=q?this.formatDate(n,this._daylightSavingAdjust(new Date(ee,J+X,1)),this._getFormatConfig(e)):n,a=this._canAdjustMonth(e,1,ee,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"w":"e")+"'>"+n+"</span></a>":j?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"w":"e")+"'>"+n+"</span></a>",o=this._get(e,"currentText"),r=this._get(e,"gotoCurrent")&&e.currentDay?K:R,o=q?this.formatDate(o,r,this._getFormatConfig(e)):o,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",h=Y?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(B?l:"")+(this._isInRange(e,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+o+"</button>":"")+(B?"":l)+"</div>":"",c=parseInt(this._get(e,"firstDay"),10),c=isNaN(c)?0:c,d=this._get(e,"showWeek"),u=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),_=this._getDefaultDate(e),y="",x=0;x<V[0];x++){for(C="",this.maxRows=4,S=0;S<V[1];S++){if(T=this._daylightSavingAdjust(new Date(ee,J,e.selectedDay)),k=" ui-corner-all",E="",U){if(E+="<div class='ui-datepicker-group",1<V[1])switch(S){case 0:E+=" ui-datepicker-group-first",k=" ui-corner-"+(B?"right":"left");break;case V[1]-1:E+=" ui-datepicker-group-last",k=" ui-corner-"+(B?"left":"right");break;default:E+=" ui-datepicker-group-middle",k=""}E+="'>"}for(E+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+k+"'>"+(/all|left/.test(k)&&0===x?B?a:s:"")+(/all|right/.test(k)&&0===x?B?s:a:"")+this._generateMonthYearHeader(e,J,ee,Q,Z,0<x||0<S,f,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",M=d?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",w=0;w<7;w++)M+="<th scope='col'"+(5<=(w+c+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+u[D=(w+c)%7]+"'>"+p[D]+"</span></th>";for(E+=M+"</tr></thead><tbody>",P=this._getDaysInMonth(ee,J),ee===e.selectedYear&&J===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,P)),I=(this._getFirstDayOfMonth(ee,J)-c+7)%7,z=Math.ceil((I+P)/7),O=U&&this.maxRows>z?this.maxRows:z,this.maxRows=O,A=this._daylightSavingAdjust(new Date(ee,J,1-I)),H=0;H<O;H++){for(E+="<tr>",L=d?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(A)+"</td>":"",w=0;w<7;w++)N=g?g.apply(e.input?e.input[0]:null,[A]):[!0,""],F=(W=A.getMonth()!==J)&&!b||!N[0]||Q&&A<Q||Z&&Z<A,L+="<td class='"+(5<=(w+c+6)%7?" ui-datepicker-week-end":"")+(W?" ui-datepicker-other-month":"")+(A.getTime()===T.getTime()&&J===e.selectedMonth&&e._keyEvent||_.getTime()===A.getTime()&&_.getTime()===T.getTime()?" "+this._dayOverClass:"")+(F?" "+this._unselectableClass+" ui-state-disabled":"")+(W&&!v?"":" "+N[1]+(A.getTime()===K.getTime()?" "+this._currentClass:"")+(A.getTime()===R.getTime()?" ui-datepicker-today":""))+"'"+(W&&!v||!N[2]?"":" title='"+N[2].replace(/'/g,"&#39;")+"'")+(F?"":" data-handler='selectDay' data-event='click' data-month='"+A.getMonth()+"' data-year='"+A.getFullYear()+"'")+">"+(W&&!v?"&#xa0;":F?"<span class='ui-state-default'>"+A.getDate()+"</span>":"<a class='ui-state-default"+(A.getTime()===R.getTime()?" ui-state-highlight":"")+(A.getTime()===K.getTime()?" ui-state-active":"")+(W?" ui-priority-secondary":"")+"' href='#'>"+A.getDate()+"</a>")+"</td>",A.setDate(A.getDate()+1),A=this._daylightSavingAdjust(A);E+=L+"</tr>"}11<++J&&(J=0,ee++),C+=E+="</tbody></table>"+(U?"</div>"+(0<V[0]&&S===V[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}y+=C}return y+=h,e._keyEvent=!1,y},_generateMonthYearHeader:function(e,t,i,s,n,a,o,r){var l,h,c,d,u,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),b=this._get(e,"showMonthAfterYear"),_="<div class='ui-datepicker-title'>",y="";if(a||!g)y+="<span class='ui-datepicker-month'>"+o[t]+"</span>";else{for(l=s&&s.getFullYear()===i,h=n&&n.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=s.getMonth())&&(!h||c<=n.getMonth())&&(y+="<option value='"+c+"'"+(c===t?" selected='selected'":"")+">"+r[c]+"</option>");y+="</select>"}if(b||(_+=y+(!a&&g&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",a||!v)_+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(d=this._get(e,"yearRange").split(":"),u=(new Date).getFullYear(),f=(p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?u+parseInt(e,10):parseInt(e,10);return isNaN(t)?u:t})(d[0]),m=Math.max(f,p(d[1]||"")),f=s?Math.max(f,s.getFullYear()):f,m=n?Math.min(m,n.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=m;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",_+=e.yearshtml,e.yearshtml=null}return _+=this._get(e,"yearSuffix"),b&&(_+=(!a&&g&&v?"":"&#xa0;")+y),_+="</div>"},_adjustInstDate:function(e,t,i){var s=e.selectedYear+("Y"===i?t:0),n=e.selectedMonth+("M"===i?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(s,n))+("D"===i?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(s,n,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),n=i&&t<i?i:t;return s&&s<n?s:n},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,s){var n=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(i,s+(t<0?t:n[0]*n[1]),1));return t<0&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var i,s,n=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,r=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),s=(new Date).getFullYear(),o=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||t.getTime()>=n.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!r||t.getFullYear()<=r)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,s){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(s,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),C.fn.datepicker=function(e){if(!this.length)return this;C.datepicker.initialized||(C(document).on("mousedown",C.datepicker._checkExternalClick),C.datepicker.initialized=!0),0===C("#"+C.datepicker._mainDivId).length&&C("body").append(C.datepicker.dpDiv);var t=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]?C.datepicker["_"+e+"Datepicker"].apply(C.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?C.datepicker["_"+e+"Datepicker"].apply(C.datepicker,[this].concat(t)):C.datepicker._attachDatepicker(this,e)})},C.datepicker=new J,C.datepicker.initialized=!1,C.datepicker.uuid=(new Date).getTime(),C.datepicker.version="1.12.1";C.datepicker,C.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var se=!1;C(document).on("mouseup",function(){se=!1});C.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===C.data(e.target,t.widgetName+".preventClickEvent"))return C.removeData(e.target,t.widgetName+".preventClickEvent"),e.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(!se){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,i=1===e.which,s=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&C(e.target).closest(this.options.cancel).length;return i&&!s&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===C.data(e.target,this.widgetName+".preventClickEvent")&&C.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),se=!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(C.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&&C.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,se=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),C.ui.plugin={add:function(e,t,i){var s,n=C.ui[e].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([t,i[s]])},call:function(e,t,i,s){var n,a=e.plugins[t];if(a&&(s||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(n=0;n<a.length;n++)e.options[a[n][0]]&&a[n][1].apply(e.element,i)}},C.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&C(e).trigger("blur")};C.widget("ui.draggable",C.ui.mouse,{version:"1.12.1",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(e,t){this._super(e,t),"handle"===e&&(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 t=this.options;return!(this.helper||t.disabled||0<C(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=C(this);return C("<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 t=C.ui.safeActiveElement(this.document[0]);C(e.target).closest(t).length||C.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),C.ui.ddmanager&&(C.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=0<this.helper.parents().filter(function(){return"fixed"===C(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),C.ui.ddmanager&&!t.dropBehaviour&&C.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),C.ui.ddmanager&&C.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){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:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var i=this._uiHash();if(!1===this._trigger("drag",e,i))return this._mouseUp(new C.Event("mouseup",e)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",C.ui.ddmanager&&C.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return C.ui.ddmanager&&!this.options.dropBehaviour&&(i=C.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||C.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?C(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),C.ui.ddmanager&&C.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),C.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new C.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!C(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 t=this.options,i=C.isFunction(t.helper),s=i?C(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),i&&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(e){"string"==typeof e&&(e=e.split(" ")),C.isArray(e)&&(e={left:+e[0],top:+e[1]||0}
vendor: 4,483 bytes, line 1
1),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&C.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 e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?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,t,i,s=this.options,n=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),(i=(t=C(s.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t)):this.containment=s.containment:this.containment=[0,0,C(n).width()-this.helperProportions.width-this.margins.left,(C(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[C(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,C(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,C(window).scrollLeft()+C(window).width()-this.helperProportions.width-this.margins.left,C(window).scrollTop()+(C(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,s,n,a,o=this.options,r=this._isRootNode(this.scrollParent[0]),l=e.pageX,h=e.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(i=this.relativeContainer?(s=this.relativeContainer.offset(),[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),o.grid&&(n=o.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,h=!i||n-this.offset.click.top>=i[1]||n-this.offset.click.top>
vendor: 5,853 bytes, line 1
1i[3]?n:n-this.offset.click.top>=i[1]?n-o.grid[1]:n+o.grid[1],a=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=!i||a-this.offset.click.left>=i[0]||a-this.offset.click.left>i[2]?a:a-this.offset.click.left>=i[0]?a-o.grid[0]:a+o.grid[0]),"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:r?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:r?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,t,i){return i=i||this._uiHash(),C.ui.plugin.call(this,e,[t,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),C.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),C.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var s=C.extend({},e,{item:i.element});i.sortables=[],C(i.options.connectToSortable).each(function(){var e=C(this).sortable("instance");e&&!e.options.disabled&&(i.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,s))})},stop:function(t,e,i){var s=C.extend({},e,{item:i.element});i.cancelHelperRemoval=!1,C.each(i.sortables,function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,s))})},drag:function(i,s,n){C.each(n.sortables,function(){var e=!1,t=this;t.positionAbs=n.positionAbs,t.helperProportions=n.helperProportions,t.offset.click=n.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,C.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==t&&this._intersectsWith(this.containerCache)&&C.contains(t.element[0],this.element[0])&&(e=!1),e})),e?(t.isOver||(t.isOver=1,n._parent=s.helper.parent(),t.currentItem=s.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return s.helper[0]},i.target=t.currentItem[0],t._mouseCapture(i,!0),t._mouseStart(i,!0,!0),t.offset.click.top=n.offset.click.top,t.offset.click.left=n.offset.click.left,t.offset.parent.left-=n.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=n.offset.parent.top-t.offset.parent.top,n._trigger("toSortable",i),n.dropped=t.element,C.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,t.fromOutside=n),t.currentItem&&(t._mouseDrag(i),s.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",i,t._uiHash(t)),t._mouseStop(i,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),s.helper.appendTo(n._parent),n._refreshOffsets(i),s.position=n._generatePosition(i,!0),n._trigger("fromSortable",i),n.dropped=!1,C.each(n.sortables,function(){this.refreshPositions()}))})}}),C.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var s=C("body"),n=i.options;s.css("cursor")&&(n._cursor=s.css("cursor")),s.css("cursor",n.cursor)},stop:function(e,t,i){var s=i.options;s._cursor&&C("body").css("cursor",s._cursor)}}),C.ui.plugin.add("draggable","opacity",{start:function(e,t,i){var s=C(t.helper),n=i.options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,t,i){var s=i.options;s._opacity&&C(t.helper).css("opacity",s._opacity)}}),C.ui.plugin.add("draggable","scroll",{start:function(e,t,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,t,i){var s=i.options,n=!1,a=i.scrollParentNotHidden[0],o=i.document[0];a!==o&&"HTML"!==a.tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+a.offsetHeight-e.pageY<s.scrollSensitivity?a.scrollTop=n=a.scrollTop+s.scrollSpeed:e.pageY-i.overflowOffset.top<s.scrollSensitivity&&(a.scrollTop=n=a.scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+a.offsetWidth-e.pageX<s.scrollSensitivity?a.scrollLeft=n=a.scrollLeft+s.scrollSpeed:e.pageX-i.overflowOffset.left<s.scrollSensitivity&&(a.scrollLeft=n=a.scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-C(o).scrollTop()<s.scrollSensitivity?n=C(o).scrollTop(C(o).scrollTop()-s.scrollSpeed):C(window).height()-(e.pageY-C(o).scrollTop())<s.scrollSensitivity&&(n=C(o).scrollTop(C(o).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(e.pageX-C(o).scrollLeft()<s.scrollSensitivity?n=C(o).scrollLeft(C(o).scrollLeft()-s.scrollSpeed):C(window).width()-(e.pageX-C(o).scrollLeft())<s.scrollSensitivity&&(n=C(o).scrollLeft(C(o).scrollLeft()+s.scrollSpeed)))),!1!==n&&C.ui.ddmanager&&!s.dropBehaviour&&C.ui.ddmanager.prepareOffsets(i,e)}}),C.ui.plugin.add("draggable","snap",{start:function(e,t,i){var s=i.options;i.snapElements=[],C(s.snap.constructor!==String?s.snap.items||":data(ui-draggable)":s.snap).each(function(){var e=C(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left
vendor: 10,713 bytes, line 1
1:t.left})})},drag:function(e,t,i){for(var s,n,a,o,r,l,h,c,d,u=i.options,p=u.snapTolerance,f=t.offset.left,m=f+i.helperProportions.width,g=t.offset.top,v=g+i.helperProportions.height,b=i.snapElements.length-1;0<=b;b--)l=(r=i.snapElements[b].left-i.margins.left)+i.snapElements[b].width,c=(h=i.snapElements[b].top-i.margins.top)+i.snapElements[b].height,m<r-p||l+p<f||v<h-p||c+p<g||!C.contains(i.snapElements[b].item.ownerDocument,i.snapElements[b].item)?(i.snapElements[b].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,C.extend(i._uiHash(),{snapItem:i.snapElements[b].item})),i.snapElements[b].snapping=!1):("inner"!==u.snapMode&&(s=Math.abs(h-v)<=p,n=Math.abs(c-g)<=p,a=Math.abs(r-m)<=p,o=Math.abs(l-f)<=p,s&&(t.position.top=i._convertPositionTo("relative",{top:h-i.helperProportions.height,left:0}).top),n&&(t.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),a&&(t.position.left=i._convertPositionTo("relative",{top:0,left:r-i.helperProportions.width}).left),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),d=s||n||a||o,"outer"!==u.snapMode&&(s=Math.abs(h-g)<=p,n=Math.abs(c-v)<=p,a=Math.abs(r-f)<=p,o=Math.abs(l-m)<=p,s&&(t.position.top=i._convertPositionTo("relative",{top:h,left:0}).top),n&&(t.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),a&&(t.position.left=i._convertPositionTo("relative",{top:0,left:r}).left),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[b].snapping&&(s||n||a||o||d)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,C.extend(i._uiHash(),{snapItem:i.snapElements[b].item})),i.snapElements[b].snapping=s||n||a||o||d)}}),C.ui.plugin.add("draggable","stack",{start:function(e,t,i){var s,n=i.options,a=C.makeArray(C(n.stack)).sort(function(e,t){return(parseInt(C(e).css("zIndex"),10)||0)-(parseInt(C(t).css("zIndex"),10)||0)});a.length&&(s=parseInt(C(a[0]).css("zIndex"),10)||0,C(a).each(function(e){C(this).css("zIndex",s+e)}),this.css("zIndex",s+a.length))}}),C.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){var s=C(t.helper),n=i.options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,t,i){var s=i.options;s._zIndex&&C(t.helper).css("zIndex",s._zIndex)}});C.ui.draggable;C.widget("ui.resizable",C.ui.mouse,{version:"1.12.1",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(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){if("hidden"===C(e).css("overflow"))return!1;var i,s=t&&"left"===t?"scrollLeft":"scrollTop";return 0<e[s]||(e[s]=1,i=0<e[s],e[s]=0,i)},_create:function(){var e,t=this.options,i=this;this._addClass("ui-resizable"),C.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(C("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({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(),t.autoHide&&C(this.element).on("mouseenter",function(){t.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){t.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();function e(e){C(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()}var t;return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,t,i,s,n,a=this.options,o=this;if(this.handles=a.handles||(C(".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=C(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},t=0;t<i.length;t++)s="ui-resizable-"+(e=C.trim(i[t])),n=C("<div>"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(n);this._renderAxis=function(e){var t,i,s,n;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=C(this.handles[t]),this._on(this.handles[t],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=C(this.handles[t],this.element),n=/sw|ne|nw|se|n|s/.test(t)?i.outerHeight():i.outerWidth(),s=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(s,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){o.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=n&&n[1]?n[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var t,i,s=!1;for(t in this.handles)(i=C(this.handles[t])[0])!==e.target&&!C.contains(i,e.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(e){var t,i,s,n=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),n.containment&&(t+=C(n.containment).scrollLeft()||0,i+=C(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:t,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=C(".ui-resizable-"+this.axis).css("cursor"),C("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t,i,s=this.originalMousePosition,n=this.axis,a=e.pageX-s.left||0,o=e.pageY-s.top||0,r=this._change[n];return this._updatePrevProperties(),r&&(t=r.apply(this,[e,a,o]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),C.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,s,n,a,o,r,l=this.options,h=this;return this._helper&&(s=(i=(t=this._proportionallyResizeElements).length&&/textarea/i.test(t[0].nodeName))&&this._hasScroll(t[0],"left")?0:h.sizeDiff.height,n=i?0:h.sizeDiff.width,a={width:h.helper.width()-n,height:h.helper.height()-s},o=parseFloat(h.element.css("left"))+(h.position.left-h.originalPosition.left)||null,r=parseFloat(h.element.css("top"))+(h.position.top-h.originalPosition.top)||null,l.animate||this.element.css(C.extend(a,{top:r,left:o})),h.helper.height(h.size.height),h.helper.width(h.size.width),this._helper&&!l.animate&&this._proportionallyResize()),C("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 e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,i,s,n,a=this.options,o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0};(this._aspectRatio||e)&&(t=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,t>o.minWidth&&(o.minWidth=t),s>o.minHeight&&(o.minHeight=s),i<o.maxWidth&&(o.maxWidth=i),n<o.maxHeight&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left
vendor: 4,176 bytes, line 1
1=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,s=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===s&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===s&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,s=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,n=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,a=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return a&&(e.width=t.minWidth),o&&(e.height=t.minHeight),s&&(e.width=t.maxWidth),n&&(e.height=t.maxHeight),a&&h&&(e.left=r-t.minWidth),s&&h&&(e.left=r-t.maxWidth),o&&c&&(e.top=l-t.minHeight),n&&c&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],s=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],n=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)i[t]=parseFloat(s[t])||0,i[t]+=parseFloat(n[t])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||C("<div style='overflow:hidden;'></div>"),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:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(e,t,i){return C.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return C.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return C.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return C.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){C.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,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}}}),C.ui.plugin.add("resizable","animate",{stop:function(t){var i=C(this).resizable("instance"),e=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),a=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,o=n?0:i.sizeDiff.width,r={width:i.size.width-o,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,h=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(C.extend(r,h&&l?{top:h,left:l}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 3,642 bytes, line 1
1width: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&&C(s[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),C.ui.plugin.add("resizable","containment",{start:function(){var i,s,e,t,n,a,o,r=C(this).resizable("instance"),l=r.options,h=r.element,c=l.containment,d=c instanceof C?c.get(0):/parent/.test(c)?h.parent().get(0):c;d&&(r.containerElement=C(d),/document/.test(c)||c===document?(r.containerOffset={left:0,top:0},r.containerPosition={left:0,top:0},r.parentData={element:C(document),left:0,top:0,width:C(document).width(),height:C(document).height()||document.body.parentNode.scrollHeight}):(i=C(d),s=[],C(["Top","Right","Left","Bottom"]).each(function(e,t){s[e]=r._num(i.css("padding"+t))}),r.containerOffset=i.offset(),r.containerPosition=i.position(),r.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},e=r.containerOffset,t=r.containerSize.height,n=r.containerSize.width,a=r._hasScroll(d,"left")?d.scrollWidth:n,o=r._hasScroll(d)?d.scrollHeight:t,r.parentData={element:d,left:e.left,top:e.top,width:a,height:o}))},resize:function(e){var t,i,s,n,a=C(this).resizable("instance"),o=a.options,r=a.containerOffset,l=a.position,h=a._aspectRatio||e.shiftKey,c={top:0,left:0},d=a.containerElement,u=!0;d[0]!==document&&/static/.test(d.css("position"))&&(c=r),l.left<(a._helper?r.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-r.left:a.position.left-c.left),h&&(a.size.height=a.size.width/a.aspectRatio,u=!1),a.position.left=o.helper?r.left:0),l.top<(a._helper?r.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-r.top:a.position.top),h&&(a.size.width=a.size.height*a.aspectRatio,u=!1),a.position.top=a._helper?r.top:0),s=a.containerElement.get(0)===a.element.parent().get(0),n=/relative|absolute/.test(a.containerElement.css("position")),s&&n?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),t=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-c.left:a.offset.left-r.left)),i=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-c.top:a.offset.top-r.top)),t+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-t,h&&(a.size.height=a.size.width/a.aspectRatio,u=!1)),i+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-i,h&&(a.size.width=a.size.height*a.aspectRatio,u=!1)),u||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=C(this).resizable("instance"),t=e.options,i=e.containerOffset,s=e.containerPosition,n=e.containerElement,a=C(e.helper),o=a.offset(),r=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(n.css("position"))&&C(this).css({left:o.left-s.left-i.left,width:r,height:l}),e._helper&&!t.animate&&/static/.test(n.css("position"))&&C(this).css({left:o.left-s.left-i.left,width:r,height:l})}}),C.ui.plugin.add("resizable","alsoResize",{start:function(){var e=C(this).resizable("instance").options;C(e.alsoResize).each(function(){var e=C(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var t=C(this).resizable("instance"),s=t.options,n=t.originalSize,a=t.originalPosition,o={height:t.size.height-n.height||0,width:t.size.width-n.width||0,top:t.position.top-a.top||0,left
vendor: 1,472 bytes, line 1
1:t.position.left-a.left||0};C(s.alsoResize).each(function(){var e=C(this),s=C(this).data("ui-resizable-alsoresize"),n={},t=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];C.each(t,function(e,t){var i=(s[t]||0)+(o[t]||0);i&&0<=i&&(n[t]=i||null)}),e.css(n)})},stop:function(){C(this).removeData("ui-resizable-alsoresize")}}),C.ui.plugin.add("resizable","ghost",{start:function(){var e=C(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==C.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=C(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=C(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),C.ui.plugin.add("resizable","grid",{resize:function(){var e,t=C(this).resizable("instance"),i=t.options,s=t.size,n=t.originalSize,a=t.originalPosition,o=t.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=r[0]||1,h=r[1]||1,c=Math.round((s.width-n.width)/l)*l,d=Math.round((s.height-n.height)/h)*h,u=n.width+c,p=n.height+d,f=i.maxWidth&&i.maxWidth<u,m=i.maxHeight&&i.maxHeight<p,g=i.minWidth&&i.minWidth>u,v=i.minHeight&&i.minHeight>p;
vendor: 6,287 bytes, line 1
1i.grid=r,g&&(u+=l),v&&(p+=h),f&&(u-=l),m&&(p-=h),/^(se|s|e)$/.test(o)?(t.size.width=u,t.size.height=p):/^(ne)$/.test(o)?(t.size.width=u,t.size.height=p,t.position.top=a.top-d):/^(sw)$/.test(o)?(t.size.width=u,t.size.height=p,t.position.left=a.left-c):((p-h<=0||u-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<p-h?(t.size.height=p,t.position.top=a.top-d):(p=h-e.height,t.size.height=p,t.position.top=a.top+n.height-p),0<u-l?(t.size.width=u,t.position.left=a.left-c):(u=l-e.width,t.size.width=u,t.position.left=a.left+n.width-u))}});C.ui.resizable;C.widget("ui.dialog",{version:"1.12.1",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 t=C(this).css(e).offset().top;t<0&&C(this).css("top",e.top-t)}},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&&C.fn.draggable&&this._makeDraggable(),this.options.resizable&&C.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)?C(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:C.noop,enable:C.noop,close:function(e){var t=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||C.ui.safeBlur(C.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!1,s=this.uiDialog.siblings(".ui-front:visible").map(function(){return+C(this).css("z-index")}).get(),n=Math.max.apply(null,s);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),i=!0),i&&!t&&this._trigger("focus",e),i},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=C(C.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 e=this._focusedElement;(e=e||this.element.find("[autofocus]")).length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).trigger("focus")},_keepFocus:function(e){function t(){var e=C.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||C.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=C("<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===C.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);var t,i,s;e.keyCode!==C.ui.keyCode.TAB||e.isDefaultPrevented()||(t=this.uiDialog.find(":tabbable"),i=t.filter(":first"),s=t.filter(":last"),e.target!==s[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){s.trigger("focus")}),e.preventDefault()):(this._delay(function(){i.trigger("focus")}),e.preventDefault()))},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=C("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){C(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=C("<button type='button'></button>").button({label:C("<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(e){e.preventDefault(),this.close(e)}}),e=C("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prepe
vendor: 6,783 bytes, line 1
1ndTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=C("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=C("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var n=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),C.isEmptyObject(e)||C.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(C.each(e,function(e,t){var i,s;t=C.isFunction(t)?{click:t,text:e}:t,t=C.extend({type:"button"},t),i=t.click,s={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,C("<button></button>",t).button(s).appendTo(n.uiButtonSet).on("click",function(){i.apply(n.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var n=this,a=this.options;function o(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){n._addClass(C(this),"ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",e,o(t))},drag:function(e,t){n._trigger("drag",e,o(t))},stop:function(e,t){var i=t.offset.left-n.document.scrollLeft(),s=t.offset.top-n.document.scrollTop();a.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=s?"+":"")+s,of:n.window},n._removeClass(C(this),"ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",e,o(t))}})},_makeResizable:function(){var a=this,o=this.options,e=o.resizable,t=this.uiDialog.css("position"),i="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";function r(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:i,start:function(e,t){a._addClass(C(this),"ui-dialog-resizing"),a._blockFrames(),a._trigger("resizeStart",e,r(t))},resize:function(e,t){a._trigger("resize",e,r(t))},stop:function(e,t){var i=a.uiDialog.offset(),s=i.left-a.document.scrollLeft(),n=i.top-a.document.scrollTop();o.height=a.uiDialog.height(),o.width=a.uiDialog.width(),o.position={my:"left top",at:"left"+(0<=s?"+":"")+s+" top"+(0<=n?"+":"")+n,of:a.window},a._removeClass(C(this),"ui-dialog-resizing"),a._unblockFrames(),a._trigger("resizeStop",e,r(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=C(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=C.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var i=this,s=!1,n={};C.each(e,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(s=!0),e in i.resizableRelatedOptions&&(n[e]=t)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(e,t){var i,s,n=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:C("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((i=n.is(":data(ui-draggable)"))&&!t&&n.draggable("destroy"),!i&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((s=n.is(":data(ui-resizable)"))&&!t&&n.resizable("destroy"),s&&"string"==typeof t&&n.resizable("option","handles",t),s||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),e=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),t=Math.max(0,s.minHeight-e),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-e):"none","auto"===s.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-e)),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=C(this);return C("<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!!C(e.target).closest(".ui-dialog").length||!!C(e.target).closest(".ui-datepicker").length},_createOverlay:function(){var t;this.options.modal&&(t=!0,this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=C("<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(){var e;this.options.modal&&this.overlay&&((e=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",e):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==C.uiBackCompat&&C.widget("ui.dialog",C.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}});C.ui.dialog;C.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",o
vendor: 5,718 bytes, line 1
1ptions:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept=C.isFunction(i)?i:function(e){return e.is(i)},this.proportions=function(){if(!arguments.length)return e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){C.ui.ddmanager.droppables[e]=C.ui.ddmanager.droppables[e]||[],C.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=C.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){var i;"accept"===e?this.accept=C.isFunction(t)?t:function(e){return e.is(t)}:"scope"===e&&(i=C.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(t)),this._super(e,t)},_activate:function(e){var t=C.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=C.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=C.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=C.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var i=e||C.ui.ddmanager.current,s=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=C(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&ne(i,C.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(s=!0)}),!s&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(i)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.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")}});var ne=C.ui.intersect=function(e,t,i,s){if(!t.offset)return!1;var n=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,o=n+e.helperProportions.width,r=a+e.helperProportions.height,l=t.offset.left,h=t.offset.top,c=l+t.proportions().width,d=h+t.proportions().height;switch(i){case"fit":return l<=n&&o<=c&&h<=a&&r<=d;case"intersect":return l<n+e.helperProportions.width/2&&o-e.helperProportions.width/2<c&&h<a+e.helperProportions.height/2&&r-e.helperProportions.height/2<d;case"pointer":return ae(s.pageY,h,t.proportions().height)&&ae(s.pageX,l,t.proportions().width);case"touch":return(h<=a&&a<=d||h<=r&&r<=d||a<h&&d<r)&&(l<=n&&n<=c||l<=o&&o<=c||n<l&&c<o);default:return!1}};function ae(e,t,i){return t<=e&&e<t+i}!(C.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,s,n=C.ui.ddmanager.droppables[e.options.scope]||[],a=t?t.type:null,o=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;i<n.length;i++)if(!(n[i].options.disabled||e&&!n[i].accept.call(n[i].element[0],e.currentItem||e.element))){for(s=0;s<o.length;s++)if(o[s]===n[i].element[0]){n[i].proportions().height=0;continue e}n[i].visible="none"!==n[i].element.css("display"),n[i].visible&&("mousedown"===a&&n[i]._activate.call(n[i],t),n[i].offset=n[i].element.offset(),n[i].proportions({width:n[i].element[0].offsetWidth,height:n[i].element[0].offsetHeight}))}},drop:function(e,t){var i=!1;return C.each((C.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&ne(e,this,this.options.tolerance,t)&&(i=this._drop.call(this,t)||i),!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,t)))}),i},dragStart:function(e,t){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||C.ui.ddmanager.prepareOffsets(e,t)})},drag:function(a,o){a.options.refreshPositions&&C.ui.ddmanager.prepareOffsets(a,o),C.each(C.ui.ddmanager.droppables[a.options.scope]||[],function(){var e,t,i,s,n;this.options.disabled||this.greedyChild||!this.visible||(n=!(s=ne(a,this,this.options.tolerance,o))&&this.isover?"isout":s&&!this.isover?"isover":null)&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return C(this).droppable("instance").options.scope===t})).length&&((e=C(i[0]).droppable("instance")).greedyChild="isover"===n)),e&&"isover"===n&&(e.isover=!1,e.isout=!0,e._out.call(e,o)),this[n]=!0,this["isout"===n?"isover":"isout"]=!1,this["isover"===n?"_over":"_out"].call(this,o),e&&"isout"===n&&(e.isout=!1,e.isover=!0,e._over.call(e,o)))})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||C.ui.ddmanager.prepareOffsets(e,t)}})!==C.uiBackCompat&&C.widget("ui.droppable",C.ui.droppable,{options:{hoverClass:!1,activeClass:!1}
vendor: 4,678 bytes, line 1
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)}});C.ui.droppable,C.widget("ui.progressbar",{version:"1.12.1",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=C("<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(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(t.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=C("<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")}}),C.widget("ui.selectable",C.ui.mouse,{version:"1.12.1",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 s=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){s.elementPos=C(s.element[0]).offset(),s.selectees=C(s.options.filter,s.element[0]),s._addClass(s.selectees,"ui-selectee"),s.selectees.each(function(){var e=C(this),t=e.offset(),i={left:t.left-s.elementPos.left,top:t.top-s.elementPos.top};C.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=C("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var s=this,e=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=C(this.element[0]).offset(),this.options.disabled||(this.selectees=C(e.filter,this.element[0]),this._trigger("start",i),C(e.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=C.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(s._removeClass(e.$element,"ui-selected"),e.selected=!1,s._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,s._trigger("unselecting",i,{unselecting:e.element}))}),C(i.target).parents().addBack().each(function(){var e,t=C.data(this,"selectable-item");if(t)return e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),s._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.
vendor: 7,210 bytes, line 1
1selected=e)?s._trigger("selecting",i,{selecting:t.element}):s._trigger("unselecting",i,{unselecting:t.element}),!1}))},_mouseDrag:function(s){if(this.dragged=!0,!this.options.disabled){var e,n=this,a=this.options,o=this.opos[0],r=this.opos[1],l=s.pageX,h=s.pageY;return l<o&&(e=l,l=o,o=e),h<r&&(e=h,h=r,r=e),this.helper.css({left:o,top:r,width:l-o,height:h-r}),this.selectees.each(function(){var e=C.data(this,"selectable-item"),t=!1,i={};e&&e.element!==n.element[0]&&(i.left=e.left+n.elementPos.left,i.right=e.right+n.elementPos.left,i.top=e.top+n.elementPos.top,i.bottom=e.bottom+n.elementPos.top,"touch"===a.tolerance?t=!(i.left>l||i.right<o||i.top>h||i.bottom<r):"fit"===a.tolerance&&(t=i.left>o&&i.right<l&&i.top>r&&i.bottom<h),t?(e.selected&&(n._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(n._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(n._addClass(e.$element,"ui-selecting"),e.selecting=!0,n._trigger("selecting",s,{selecting:e.element}))):(e.selecting&&((s.metaKey||s.ctrlKey)&&e.startselected?(n._removeClass(e.$element,"ui-selecting"),e.selecting=!1,n._addClass(e.$element,"ui-selected"),e.selected=!0):(n._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(n._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),n._trigger("unselecting",s,{unselecting:e.element}))),e.selected&&(s.metaKey||s.ctrlKey||e.startselected||(n._removeClass(e.$element,"ui-selected"),e.selected=!1,n._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",s,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,C(".ui-unselecting",this.element[0]).each(function(){var e=C.data(this,"selectable-item");i._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),C(".ui-selecting",this.element[0]).each(function(){var e=C.data(this,"selectable-item");i._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,i._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),C.widget("ui.selectmenu",[C.ui.formResetMixin,{version:"1.12.1",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=C()},_drawButton:function(){var e,t=this,i=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(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=C("<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=C("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t._rendered||t._refreshMenu()})},_drawMenu:function(){var s=this;this.menu=C("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=C("<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(e,t){e.preventDefault(),s._setSelection(),s._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){var i=t.item.data("ui-selectmenu-item");null!=s.focusIndex&&i.index!==s.focusIndex&&(s._trigger("focus",e,{item:i}),s.isOpen||s._select(i,e)),s.focusIndex=i.index,s.button.attr("aria-activedescendant",s.menuItems.eq(i.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 e,t=this.element.find("option");this.menu.empty(),this._parseOptions(t),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,t.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){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",e)))},_position:function(){this.menuWrap.position(C.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var t=C("<span>");return this._setText(t,e.label),this._addClass(t,"ui-selectmenu-text"),t},_renderMenu:function(s,e){var n=this,a="";C.each(e,function(e,t){var i;t.optgroup!==a&&(i=C("<li>",{text:t.optgroup}),n._addClass(i,"ui-selectmenu-optgroup","ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),i.appendTo(s),a=t.optgroup),n._renderItemData(s,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var i=C("<li>"),s=C("<div>",{title:t.element.attr("title")});return t.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(s,t.label),i.append(s).appendTo(e)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var i,s,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),(s="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-1):i[e+"All"](n).eq(0)).length&&this.menuInstance.focus(t,s)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 4,324 bytes, line 1
1,_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(C(e.target).closest(".ui-selectmenu-menu, #"+C.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case C.ui.keyCode.TAB:case C.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case C.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case C.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case C.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case C.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case C.ui.keyCode.LEFT:this._move("prev",e);break;case C.ui.keyCode.RIGHT:this._move("next",e);break;case C.ui.keyCode.HOME:case C.ui.keyCode.PAGE_UP:this._move("first",e);break;case C.ui.keyCode.END:case C.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){var i;"icons"===e&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,t.button)),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(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?C(e):this.document.find(e).eq(0)))&&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 e=this.options.width;!1!==e?(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(e){var i=this,s=[];e.each(function(e,t){s.push(i._parseOption(C(t),e))}),this.items=s},_parseOption:function(e,t){var i=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||e.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)}}]),C.widget("ui.slider",C.ui.mouse,{version:"1.12.1",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: 4,693 bytes, line 1
1,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,t=this.options,i=this.element.find(".ui-slider-handle"),s=[],n=t.values&&t.values.length||1;for(i.length>n&&(i.slice(n).remove(),i=i.slice(0,n)),e=i.length;e<n;e++)s.push("<span tabindex='0'></span>");this.handles=i.add(C(s.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){C(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]]:C.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=C("<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 t,i,s,n,a,o,r,l=this,h=this.options;return!h.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),s=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-l.values(e));(t<s||s===t&&(e===l._lastChangedValue||l.values(e)===h.min))&&(s=t,n=C(this),a=e)}),!1!==this._start(e,a)&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(n,null,"ui-state-active"),n.trigger("focus"),o=n.offset(),r=!C(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:e.pageX-o.left-n.width()/2,top:e.pageY-o.top-n.height()/2-(parseInt(n.css("borderTopWidth"),10)||0)-(parseInt(n.css("borderBottomWidth"),10)||0)+(parseInt(n.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,s,n="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),a=n/t;return 1<a&&(a=1),a<0&&(a=0),"vertical"===this.orientation&&(a=1-a),i=this._valueMax()-this._valueMin(),s=this._valueMin()+a*i,this._trimAlignValue(s)},_uiHash:function(e,t,i){var s={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(s.value=void 0!==t?t:this.values(e),s.values=i||this.values()),s},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var s,n=this.value(),a=this.values();this._hasMultipleValues()&&(s=this.values(t?0:1),n=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(s,i):Math.max(s,i)),a[t]=i),i!==n&&!1!==this._trigger("slide",e,this._uiHash(t,i,a))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value(
vendor: 24,501 bytes, line 1
1)},values:function(e,t){var i,s,n;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!C.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,s=e,n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(s[n]),this._change(null,n);this._refreshValue()},_setOption:function(e,t){var i,s=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),C.isArray(this.options.values)&&(s=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"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=s-1;0<=i;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(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,i,s;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this._hasMultipleValues()){for(i=this.options.values.slice(),s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,i=(e-this._valueMin())%t,s=e-i;return 2*Math.abs(i)>=t&&(s+=0<i?t:-t),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),i=t.indexOf(".");return-1===i?0:t.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,e,s,n,a=this.options.range,o=this.options,r=this,l=!this._animateOff&&o.animate,h={};this._hasMultipleValues()?this.handles.each(function(e){i=(r.values(e)-r._valueMin())/(r._valueMax()-r._valueMin())*100,h["horizontal"===r.orientation?"left":"bottom"]=i+"%",C(this).stop(1,1)[l?"animate":"css"](h,o.animate),!0===r.options.range&&("horizontal"===r.orientation?(0===e&&r.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},o.animate),1===e&&r.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:o.animate})):(0===e&&r.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},o.animate),1===e&&r.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:o.animate}))),t=i}):(e=this.value(),s=this._valueMin(),n=this._valueMax(),i=n!==s?(e-s)/(n-s)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](h,o.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},o.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},o.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},o.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},o.animate))},_handleEvents:{keydown:function(e){var t,i,s,n=C(e.target).data("ui-slider-handle-index");switch(e.keyCode){case C.ui.keyCode.HOME:case C.ui.keyCode.END:case C.ui.keyCode.PAGE_UP:case C.ui.keyCode.PAGE_DOWN:case C.ui.keyCode.UP:case C.ui.keyCode.RIGHT:case C.ui.keyCode.DOWN:case C.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(C(e.target),null,"ui-state-active"),!1===this._start(e,n)))return}switch(s=this.options.step,t=i=this._hasMultipleValues()?this.values(n):this.value(),e.keyCode){case C.ui.keyCode.HOME:i=this._valueMin();break;case C.ui.keyCode.END:i=this._valueMax();break;case C.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case C.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case C.ui.keyCode.UP:case C.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+s);break;case C.ui.keyCode.DOWN:case C.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-s)}this._slide(e,n,i)},keyup:function(e){var t=C(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(C(e.target),null,"ui-state-active"))}}}),C.widget("ui.sortable",C.ui.mouse,{version:"1.12.1",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},_isOverAxis:function(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.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(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),C.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 e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var i=null,s=!1,n=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),C(e.target).parents().each(function(){if(C.data(this,n.widgetName+"-item")===n)return i=C(this),!1}),C.data(e.target,n.widgetName+"-item")===n&&(i=C(e.target)),!!i&&(!(this.options.handle&&!t&&(C(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(s=!0)}),!s))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,t,i){var s,n,a=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},C.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(n=this.document.find("body"),this.storedCursor=n.css("cursor"),n.css("cursor",a.cursor),this.storedStylesheet=C("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(n)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),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(),!i)for(s=this.containers.length-1;0<=s;s--)this.containers[s]._trigger("activate",e,this._uiHash(this));return C.ui.ddmanager&&(C.ui.ddmanager.current=this),C.ui.ddmanager&&!a.dropBehaviour&&C.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,i,s,n,a=this.options,o=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-this.document.scrollTop()<a.scrollSensitivity?o=this.document.scrollTop(this.document.scrollTop()-a.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<a.scrollSensitivity&&(o=this.document.scrollTop(this.document.scrollTop()+a.scrollSpeed)),e.pageX-this.document.scrollLeft()<a.scrollSensitivity?o=this.document.scrollLeft(this.document.scrollLeft()-a.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<a.scrollSensitivity&&(o=this.document.scrollLeft(this.document.scrollLeft()+a.scrollSpeed))),!1!==o&&C.ui.ddmanager&&!a.dropBehaviour&&C.ui.ddmanager.prepareOffsets(this,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"),t=this.items.length-1;0<=t;t--)if(s=(i=this.items[t]).item[0],(n=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===n?"next":"prev"]()[0]===s||C.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&C.contains(this.element[0],s))){if(this.direction=1===n?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),C.ui.ddmanager&&C.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){var i,s,n,a;if(e)return C.ui.ddmanager&&!this.options.dropBehaviour&&C.ui.ddmanager.drop(this,e),this.options.revert?(s=(i=this).placeholder.offset(),a={},(n=this.options.axis)&&"x"!==n||(a.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),n&&"y"!==n||(a.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,C(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){i._clear(e)})):this._clear(e,t),!1},cancel:function(){if(this.dragging){this._mouseUp(new C.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;0<=e;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(),C.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?C(this.domPosition.prev).after(this.currentItem):C(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},C(e).each(function(){var e=(C(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&i.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t.each(function(){i.push(C(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,a=e.left,o=a+e.width,r=e.top,l=r+e.height,h=this.offset.click.top,c=this.offset.click.left,d="x"===this.options.axis||r<s+h&&s+h<l,u="y"===this.options.axis||a<t+c&&t+c<o,p=d&&u;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?p:a<t+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&r<s+this.helperProportions.height/2&&n-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t,i,s="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),n="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!s||!n)&&(t=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating?"right"===i||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),s=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection();return this.floating&&n?"right"===n&&i||"left"===n&&!i:s&&("down"===s&&t||"up"===s&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,i,s,n,a=[],o=[],r=this._connectWith();if(r&&e)for(t=r.length-1;0<=t;t--)for(i=(s=C(r[t],this.document[0])).length-1;0<=i;i--)(n=C.data(s[i],this.widgetFullName))&&n!==this&&!n.options.disabled&&o.push([C.isFunction(n.options.items)?n.options.items.call(n.element):C(n.options.items,n.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),n]);function l(){a.push(this)}for(o.push([C.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):C(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=o.length-1;0<=t;t--)o[t][0].each(l);return C(a)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=C.grep(this.items,function(e){for(var t=0;t<i.length;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,s,n,a,o,r,l,h=this.items,c=[[C.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):C(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(t=d.length-1;0<=t;t--)for(i=(s=C(d[t],this.document[0])).length-1;0<=i;i--)(n=C.data(s[i],this.widgetFullName))&&n!==this&&!n.options.disabled&&(c.push([C.isFunction(n.options.items)?n.options.items.call(n.element[0],e,{item:this.currentItem}):C(n.options.items,n.element),n]),this.containers.push(n));for(t=c.length-1;0<=t;t--)for(a=c[t][1],i=0,l=(o=c[t][0]).length;i<l;i++)(r=C(o[i])).data(this.widgetName+"-item",a),h.push({item:r,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,i,s,n;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(i=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(s=this.options.toleranceElement?C(this.options.toleranceElement,i.item):i.item,e||(i.width=s.outerWidth(),i.height=s.outerHeight()),n=s.offset(),i.left=n.left,i.top=n.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)n=this.containers[t].element.offset(),this.containers[t].containerCache.left=n.left,this.containers[t].containerCache.top=n.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(i){var s,n=(i=i||this).options;n.placeholder&&n.placeholder.constructor!==String||(s=n.placeholder,n.placeholder={element:function(){var e=i.currentItem[0].nodeName.toLowerCase(),t=C("<"+e+">",i.document[0]);return i._addClass(t,"ui-sortable-placeholder",s||i.currentItem[0].className)._removeClass(t,"ui-sortable-helper"),"tbody"===e?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),C("<tr>",i.document[0]).appendTo(t)):"tr"===e?i._createTrPlaceholder(i.currentItem,t):"img"===e&&t.attr("src",i.currentItem.attr("src")),s||t.css("visibility","hidden"),t},update:function(e,t){s&&!n.forcePlaceholderSize||(t.height()||t.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),t.width()||t.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=C(n.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),n.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(e,t){var i=this;e.children().each(function(){C("<td>&#160;</td>",i.document[0]).attr("colspan",C(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){for(var t,i,s,n,a,o,r,l,h,c=null,d=null,u=this.containers.length-1;0<=u;u--)if(!C.contains(this.currentItem[0],this.containers[u].element[0]))if(this._intersectsWith(this.containers[u].containerCache)){if(c&&C.contains(this.containers[u].element[0],c.element[0]))continue;c=this.containers[u],d=u}else this.containers[u].containerCache.over&&(this.containers[u]._trigger("out",e,this._uiHash(this)),this.containers[u].containerCache.over=0);if(c)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(i=1e4,s=null,n=(l=c.floating||this._isFloating(this.currentItem))?"left":"top",a=l?"width":"height",h=l?"pageX":"pageY",t=this.items.length-1;0<=t;t--)C.contains(this.containers[d].element[0],this.items[t].item[0])&&this.items[t].item[0]!==this.currentItem[0]&&(o=this.items[t].item.offset()[n],r=!1,e[h]-o>this.items[t][a]/2&&(r=!0),Math.abs(e[h]-o)<i&&(i=Math.abs(e[h]-o),s=this.items[t],this.direction=r?"up":"down"));if(!s&&!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));s?this._rearrange(e,s,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.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var t=this.options,i=C.isFunction(t.helper)?C(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||C("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[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")}),i[0].style.width&&!t.forceHelperSize||i.width(this.currentItem.width()),i[0].style.height&&!t.forceHelperSize||i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),C.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.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]&&C.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()&&C.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)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_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,t,i,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=C(s.containment)[0],t=C(s.containment).offset(),i="hidden"!==C(e).css("overflow"),this.containment=[t.left+(parseInt(C(e).css("borderLeftWidth"),10)||0)+(parseInt(C(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(C(e).css("borderTopWidth"),
vendor: 4,286 bytes, line 1
110)||0)+(parseInt(C(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(C(e).css("borderLeftWidth"),10)||0)-(parseInt(C(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(C(e).css("borderTopWidth"),10)||0)-(parseInt(C(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&C.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(s[0].tagName);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():n?0:s.scrollTop())*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():n?0:s.scrollLeft())*i}},_generatePosition:function(e){var t,i,s=this.options,n=e.pageX,a=e.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&C.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(o[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]&&(n=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),s.grid&&(t=this.originalPageY+Math.round((a-this.originalPageY)/s.grid[1])*s.grid[1],a=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-s.grid[1]:t+s.grid[1],i=this.originalPageX+Math.round((n-this.originalPageX)/s.grid[0])*s.grid[0],n=!this.containment||i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-s.grid[0]:i+s.grid[0])),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:o.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:o.scrollLeft())}},_rearrange:function(e,t,i,s){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(e,t){this.reverting=!1;var i,s=[];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 n(t,i,s){return function(e){s._trigger(t,e,i._uiHash(i))}}for(this.fromOutside&&!t&&s.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||s.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(s.push(function(e){this._trigger("remove",e,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;
vendor: 2,165 bytes, line 1
1i--)t||s.push(n("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(n("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,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i<s.length;i++)s[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===C.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||C([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}});function oe(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}C.widget("ui.spinner",{version:"1.12.1",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 s=this._super(),n=this.element;return C.each(["min","max","step"],function(e,t){var i=n.attr(t);null!=i&&i.length&&(s[t]=i)}),s}
vendor: 5,408 bytes, line 1
1,_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?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 t;function i(){this.element[0]===C.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=t,this._delay(function(){this.previous=t}))}t=this.element[0]===C.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(e)&&this._repeat(null,C(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(C(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,C(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())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,i=C.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,t.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?C.isFunction(t)?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),i=t.indexOf(".");return-1===i?0:t.length-i-1},_adjustValue:function(e){var t=this.options,i=null!==t.min?t.min:0,s=e-i;return e=i+(s=Math.round(s/t.step)*t.step),e=parseFloat(e.toFixed(this._precision())),null!==t.max&&e>t.max?t.max:null!==t.min&&e<t.min?t.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var i,s,n;if("culture"===e||"numberFormat"===e)return i=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(i));"max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(s=this.buttons.first().find(".ui-icon"),this._removeClass(s,null,this.options.icons.up),this._addClass(s,null,t.up),n=this.buttons.last().find(".ui-icon"),this._removeClass(n,null,this.options.icons.down),this._addClass(n,null,t.down)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:oe(function(e){this._super(e)}),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_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 e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:oe(function(e){this._stepUp(e)}
vendor: 19,175 bytes, line 1
1),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:oe(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:oe(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:oe(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());oe(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==C.uiBackCompat&&C.widget("ui.spinner",C.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>"}});var re;C.ui.spinner;C.widget("ui.tabs",{version:"1.12.1",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:(re=/#.*$/,function(e){var t=e.href.replace(re,""),i=location.href.replace(re,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),C.isArray(e.disabled)&&(e.disabled=C.unique(e.disabled.concat(C.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=C(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,s=location.hash.substring(1);return null===i&&(s&&this.tabs.each(function(e,t){if(C(t).attr("aria-controls")===s)return i=e,!1}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==i&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0),!e&&!1===i&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):C()}},_tabKeydown:function(e){var t=C(C.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(t),s=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case C.ui.keyCode.RIGHT:case C.ui.keyCode.DOWN:i++;break;case C.ui.keyCode.UP:case C.ui.keyCode.LEFT:s=!1,i--;break;case C.ui.keyCode.END:i=this.anchors.length-1;break;case C.ui.keyCode.HOME:i=0;break;case C.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case C.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,s),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===C.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===C.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===C.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){var i=this.tabs.length-1;for(;-1!==C.inArray((i<e&&(e=0),e<0&&(e=i),e),this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=C.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!C.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=C()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=C()),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 l=this,e=this.tabs,t=this.anchors,i=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){C(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){C(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 C("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=C(),this.anchors.each(function(e,t){var i,s,n,a=C(t).uniqueId().attr("id"),o=C(t).closest("li"),r=o.attr("aria-controls");l._isLocal(t)?(n=(i=t.hash).substring(1),s=l.element.find(l._sanitizeSelector(i))):(i="#"+(n=o.attr("aria-controls")||C({}).uniqueId()[0].id),(s=l.element.find(i)).length||(s=l._createPanel(n)).insertAfter(l.panels[e-1]||l.tablist),s.attr("aria-live","polite")),s.length&&(l.panels=l.panels.add(s)),r&&o.data("ui-tabs-aria-controls",r),o.attr({"aria-controls":n,"aria-labelledby":a}),s.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return C("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,i,s;for(C.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),s=0;i=this.tabs[s];s++)t=C(i),!0===e||-1!==C.inArray(s,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&C.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.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,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=C(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=C(this).outerHeight(!0)}),this.panels.each(function(){C(this).height(Math.max(0,i-C(this).innerHeight()+C(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,C(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,s=C(e.currentTarget).closest("li"),n=s[0]===i[0],a=n&&t.collapsible,o=a?C():this._getPanelForTab(s),r=i.length?this._getPanelForTab(i):C(),l={oldTab:i,oldPanel:r,newTab:a?C():s,newPanel:o};e.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||n&&!t.collapsible||!1===this._trigger("beforeActivate",e,l)||(t.active=!a&&this.tabs.index(s),this.active=n?C():s,this.xhr&&this.xhr.abort(),r.length||o.length||C.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(s),e),this._toggle(e,l))},_toggle:function(e,t){var i=this,s=t.newPanel,n=t.oldPanel;function a(){i.running=!1,i._trigger("activate",e,t)}function o(){i._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&i.options.show?i._show(s,i.options.show,a):(s.show(),a())}this.running=!0,n.length&&this.options.hide?this._hide(n,this.options.hide,function(){i._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),n.hide(),o()),n.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),s.length&&n.length?t.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===C(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var t,i=this._findActive(e);i[0]!==this.active[0]&&(i.length||(i=this.active),t=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:C.noop}))},_findActive:function(e){return!1===e?C():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+C.ui.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(){C.data(this,"ui-tabs-destroy")?C(this).remove():C(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=C(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(e=void 0!==i&&(i=this._getIndex(i),C.isArray(e)?C.map(e,function(e){return e!==i?e:null}):C.map(this.tabs,function(e,t){return t!==i?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==C.inArray(e,t))return;t=C.isArray(t)?C.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,s){e=this._getIndex(e);function n(e,t){"abort"===t&&a.panels.stop(!1,!0),a._removeClass(i,"ui-tabs-loading"),o.removeAttr("aria-busy"),e===a.xhr&&delete a.xhr}var a=this,i=this.tabs.eq(e),t=i.find(".ui-tabs-anchor"),o=this._getPanelForTab(i),r={tab:i,panel:o};this._isLocal(t[0])||(this.xhr=C.ajax(this._ajaxSettings(t,s,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(e,t,i){setTimeout(function(){o.html(e),a._trigger("load",s,r),n(i,t)},1)}).fail(function(e,t){setTimeout(function(){n(e,t)},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return n._trigger("beforeLoad",i,C.extend({jqXHR:e,ajaxSettings:t},s))}}},_getPanelForTab:function(e){var t=C(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==C.uiBackCompat&&C.widget("ui.tabs",C.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});C.ui.tabs;C.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=C(this).attr("title")||"";return C("<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(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",C.trim(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),s=C.inArray(t,i);-1!==s&&i.splice(s,1),e.removeData("ui-tooltip-id"),(i=C.trim(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=C("<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=C([])},_setOption:function(e,t){var i=this;this._super(e,t),"content"===e&&C.each(this.tooltips,function(e,t){i._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var s=this;C.each(this.tooltips,function(e,t){var i=C.Event("blur");i.target=i.currentTarget=t.element[0],s.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=C(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=C(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=C([])},open:function(e){var i=this,t=C(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=C(this);t.data("ui-tooltip-open")&&((e=C.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,i){var e,s=this.options.content,n=this,a=i?i.type:null;if("string"==typeof s||s.nodeType||s.jquery)return this._open(i,t,s);(e=s.call(t[0],function(e){n._delay(function(){t.data("ui-tooltip-open")&&(i&&(i.type=a),this._open(i,t,e))})}))&&this._open(i,t,e)},_open:function(e,t,i){var s,n,a,o,r=C.extend({},this.options.position);function l(e){r.of=e,n.is(":hidden")||n.position(r)}i&&((s=this._find(t))?s.tooltip.find(".ui-tooltip-content").html(i):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),s=this._tooltip(t),n=s.tooltip,this._addDescribedBy(t,n.attr("id")),n.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(o=C("<div>").html(n.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),o.removeAttr("id").find("[id]").removeAttr("id"),o.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:l}),l(e)):n.position(C.extend({of:t},this.options.position)),n.hide(),this._show(n,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){n.is(":visible")&&(l(r.of),clearInterval(a))},C.fx.interval)),this._trigger("open",e,{tooltip:n})))},_registerCloseHandlers:function(e,i){var t={keyup:function(e){var t;e.keyCode===C.ui.keyCode.ESCAPE&&((t=C.Event(e)).currentTarget=i[0],this.close(t,!0))}};i[0]!==this.element[0]&&(t.remove=function(){this._removeTooltip(this._find(i).tooltip)}),e&&"mouseover"!==e.type||(t.mouseleave="close"),e&&"focusin"!==e.type||(t.focusout="close"),this._on(!0,i,t)},close:function(e){var t,i=this,s=C(e?e.currentTarget:this.element),n=this._find(s);n?(t=n.tooltip,n.closing||(clearInterval(this.delayedShow),s.data("ui-tooltip-title")&&!s.attr("title")&&s.attr("title",s.data("ui-tooltip-title")),this._removeDescribedBy(s),n.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){i._removeTooltip(C(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&&C.each(this.parents,function(e,t){C(t.element).attr("title",t.title),delete i.parents[e]}),n.closing=!0,this._trigger("close",e,{tooltip:t}),n.hiding||(n.closing=!1))):s.removeData("ui-tooltip-open")},_tooltip:function(e){var t=C("<div>").attr("role","tooltip"),i=C("<div>").appendTo(t),s=t.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[s]={element:e,tooltip:t}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){var t=e.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var n=this;C.each(this.tooltips,function(e,t){var i=C.Event("blur"),s=t.element;i.target=i.currentTarget=s[0],n.close(i,!0),C("#"+e).remove(),s.data("ui-tooltip-title")&&(s.attr("title")||s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==C.uiBackCompat&&C.widget("ui.tooltip",C.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}});C.ui.tooltip}),function(q){var V={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",cloneRepeat:5,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!0,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!1,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSli
vendor: 11,854 bytes, line 1
1des:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0},onAutoChange:function(){return!0}};q.fn.bxSlider=function(t){if(0===this.length)return this;if(1<this.length)return this.each(function(){q(this).bxSlider(t)}),this;var p={},f=this,s=q(window).width(),n=q(window).height();if(!q(f).data("bxSlider")){function a(){q(f).data("bxSlider")||(p.settings=q.extend({},V,t),p.settings.slideWidth=parseInt(p.settings.slideWidth),p.children=f.children(p.settings.slideSelector),p.children.length<p.settings.minSlides&&(p.settings.minSlides=p.children.length),p.children.length<p.settings.maxSlides&&(p.settings.maxSlides=p.children.length),p.settings.randomStart&&(p.settings.startSlide=Math.floor(Math.random()*p.children.length)),p.active={index:p.settings.startSlide},p.carousel=1<p.settings.minSlides||1<p.settings.maxSlides,p.carousel&&(p.settings.preloadImages="all"),p.minThreshold=p.settings.minSlides*p.settings.slideWidth+(p.settings.minSlides-1)*p.settings.slideMargin,p.maxThreshold=p.settings.maxSlides*p.settings.slideWidth+(p.settings.maxSlides-1)*p.settings.slideMargin,p.working=!1,p.controls={},p.interval=null,p.animProp="vertical"===p.settings.mode?"top":"left",p.usingCSS=p.settings.useCSS&&"fade"!==p.settings.mode&&function(){for(var e=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],i=0;i<t.length;i++)if(void 0!==e.style[t[i]])return p.cssPrefix=t[i].replace("Perspective","").toLowerCase(),p.animProp="-"+p.cssPrefix+"-transform",!0;return!1}(),"vertical"===p.settings.mode&&(p.settings.maxSlides=p.settings.minSlides),f.data("origStyle",f.attr("style")),f.children(p.settings.slideSelector).each(function(){q(this).data("origStyle",q(this).attr("style"))}),h())}function o(){var e=1,t=null;return"horizontal"===p.settings.mode&&0<p.settings.slideWidth?e=p.viewport.width()<p.minThreshold?p.settings.minSlides:p.viewport.width()>p.maxThreshold?p.settings.maxSlides:(t=p.children.first().width()+p.settings.slideMargin,Math.floor((p.viewport.width()+p.settings.slideMargin)/t)||1):"vertical"===p.settings.mode&&(e=p.settings.minSlides),e}function e(){for(var e="",t="",i=b(),s=0;s<i;s++)t="",p.settings.buildPager&&q.isFunction(p.settings.buildPager)||p.settings.pagerCustom?(t=p.settings.buildPager(s),p.pagerEl.addClass("bx-custom-pager")):(t=s+1,p.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+t+"</a></div>";p.pagerEl.html(e)}function r(){f.startAuto()}function l(){f.stopAuto()}function d(e){var t=o();p.settings.ariaHidden&&!p.settings.ticker&&(p.children.attr("aria-hidden","true"),p.children.slice(e,e+t).attr("aria-hidden","false"))}var h=function(){var e=p.children.eq(p.settings.startSlide);f.wrap('<div class="'+p.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),p.viewport=f.parent(),p.settings.ariaLive&&!p.settings.ticker&&p.viewport.attr("aria-live","polite"),p.loader=q('<div class="bx-loading" />'),p.viewport.prepend(p.loader),f.css({width:"horizontal"===p.settings.mode?1e3*p.children.length+215+"%":"auto",position:"relative"}),p.usingCSS&&p.settings.easing?f.css("-"+p.cssPrefix+"-transition-timing-function",p.settings.easing):p.settings.easing||(p.settings.easing="swing"),p.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),p.viewport.parent().css({maxWidth:g()}),p.children.css({float:"horizontal"===p.settings.mode?"left":"none",listStyle:"none",position:"relative"}),p.children.css("width",v()),"horizontal"===p.settings.mode&&0<p.settings.slideMargin&&p.children.css("marginRight",p.settings.slideMargin),"vertical"===p.settings.mode&&0<p.settings.slideMargin&&p.children.css("marginBottom",p.settings.slideMargin),"fade"===p.settings.mode&&(p.children.css({position:"absolute",zIndex:0,display:"none"}),p.children.eq(p.settings.startSlide).css({zIndex:p.settings.slideZIndex,display:"block"})),p.controls.el=q('<div class="bx-controls" />'),p.settings.captions&&T(),p.active.last=p.settings.startSlide===b()-1,p.settings.video&&f.fitVids(),"none"===p.settings.preloadImages?e=null:"all"!==p.settings.preloadImages&&!p.settings.ticker||(e=p.children),p.settings.ticker?p.settings.pager=!1:(p.settings.controls&&C(),p.settings.auto&&p.settings.autoControls&&S(),p.settings.pager&&x(),(p.settings.controls||p.settings.autoControls||p.settings.pager)&&p.viewport.after(p.controls.el)),null===e?u():c(e,u)},c=function(e,t){var i=e.find('img:not([src=""]), iframe').length,s=0;0!==i?e.find('img:not([src=""]), iframe').each(function(){q(this).one("load error",function(){++s===i&&t()}).each(function(){!this.complete&&""!=this.src||q(this).trigger("load")})}):t()},u=function(){var e,t,i;p.settings.infiniteLoop&&"fade"!==p.settings.mode&&!p.settings.ticker&&(e="vertical"===p.settings.mode?p.settings.minSlides:p.settings.maxSlides,t=p.children.slice(0,e).clone(!0).addClass("bx-clone"),i=p.children.slice(-e).clone(!0).addClass("bx-clone"),p.settings.ariaHidden&&(t.attr("aria-hidden",!0),i.attr("aria-hidden",!0)),f.append(t).prepend(i)),p.loader.remove(),y(),"vertical"===p.settings.mode&&(p.settings.adaptiveHeight=!0),p.viewport.height(m()),f.redrawSlider(),p.settings.onSliderLoad.call(f,p.active.index),p.initialized=!0,p.settings.responsive&&q(window).on("resize",j),p.settings.auto&&p.settings.autoStart&&(1<b()||p.settings.autoSlideForOnePage)&&H(),p.settings.ticker&&L(),p.settings.pager&&I(p.settings.startSlide),p.settings.controls&&A(),p.settings.touchEnabled&&!p.settings.ticker&&F(),p.settings.keyboardEnabled&&!p.settings.ticker&&q(document).keydown(W)},m=function(){var t=0,e=q();if("vertical"===p.settings.mode||p.settings.adaptiveHeight)if(p.carousel){var s=1===p.settings.moveSlides?p.active.index:p.active.index*_(),e=p.children.eq(s);for(i=1;i<=p.settings.maxSlides-1;i++)e=s+i>=p.children.length?e.add(p.children.eq(i-1)):e.add(p.children.eq(s+i))}else e=p.children.eq(p.active.index);else e=p.children;return"vertical"===p.settings.mode?(e.each(function(e){t+=q(this).outerHeight()}),0<p.settings.slideMargin&&(t+=p.settings.slideMargin*(p.settings.minSlides-1))):t=Math.max.apply(Math,e.map(function(){return q(this).outerHeight(!1)}).get()),"border-box"===p.viewport.css("box-sizing")?t+=parseFloat(p.viewport.css("padding-top"))+parseFloat(p.viewport.css("padding-bottom"))+parseFloat(p.viewport.css("border-top-width"))+parseFloat(p.viewport.css("border-bottom-width")):"padding-box"===p.viewport.css("box-sizing")&&(t+=parseFloat(p.viewport.css("padding-top"))+parseFloat(p.viewport.css("padding-bottom"))),t},g=function(){var e="100%";return 0<p.settings.slideWidth&&(e="horizontal"===p.settings.mode?p.settings.maxSlides*p.settings.slideWidth+(p.settings.maxSlides-1)*p.settings.slideMargin:p.settings.slideWidth),e},v=function(){var e=p.settings.slideWidth,t=p.viewport.width();if(0===p.settings.slideWidth||p.settings.slideWidth>t&&!p.carousel||"vertical"===p.settings.mode)e=t;else if(1<p.settings.maxSlides&&"horizontal"===p.settings.mode){if(t>p.maxThreshold)return e;t<p.minThreshold?e=(t-p.settings.slideMargin*(p.settings.minSlides-1))/p.settings.minSlides:p.settings.shrinkItems&&(e=Math.floor((t+p.settings.slideMargin)/Math.ceil((t+p.settings.slideMargin)/(e+p.settings.slideMargin))-p.settings.slideMargin))}return e},b=function(){var e=0,t=0,i=0;if(0<p.settings.moveSlides){if(!p.settings.infiniteLoop){for(;t<p.children.length;)++e,t=i+o(),i+=p.settings.moveSlides<=o()?p.settings.moveSlides:o();return i}e=Math.ceil(p.children.length/_())}else e=Math.ceil(p.children.length/o());return e},_=function(){return 0<p.settings.moveSlides&&p.settings.moveSlides<=o()?p.settings.moveSlides:o()},y=function(){var e,t,i;p.children.length>p.settings.maxSlides&&p.active.last&&!p.settings.infiniteLoop?"horizontal"===p.settings.mode?(e=(t=p.children.last()).position(),w(-(e.left-(p.viewport.width()-t.outerWidth())),"reset",0)):"vertical"===p.settings.mode&&(i=p.children.length-p.settings.minSlides,e=p.children.eq(i).position(),w(-e.top,"reset",0)):(e=p.children.eq(p.active.index*_()).position(),p.active.index===b()-1&&(p.active.last=!0),void 0!==e&&("horizontal"===p.settings.mode?w(-e.left,"reset",0):"vertical"===p.settings.mode&&w(-e.top,"reset",0)))},w=function(e,t,i,s){var n,a;p.usingCSS?(a="vertical"===p.settings.mode?"translate3d(0, "+e+"px, 0)":"translate3d("+e+"px, 0, 0)",f.css("-"+p.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"===t?(f.css(p.animProp,a),0!==i?f.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){q(e.target).is(f)&&(f.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),z())}):z()):"reset"===t?f.css(p.animProp,a):"ticker"===t&&(f.css("-"+p.cssPrefix+"-transition-timing-function","linear"),f.css(p.animProp,a),0!==i?f.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){q(e.target).is(f)&&(f.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),w(s.resetValue,"reset",0),N())}):(w(s.resetValue,"reset",0),N()))):((n={})[p.animProp]=e,"slide"===t?f.animate(n,i,p.settings.easing,function(){z()}):"reset"===t?f.css(p.animProp,e):"ticker"===t&&f.animate(n,i,"linear",function(){w(s.resetValue,"reset",0),N()}))},x=function(){p.settings.pagerCustom?p.pagerEl=q(p.settings.pagerCustom):(p.pagerEl=q('<div class="bx-pager" />'),p.settings.pagerSelector?q(p.settings.pagerSelector).html(p.pagerEl):p.controls.el.addClass("bx-has-pager").append(p.pagerEl),e()),p.pagerEl.on("click touchend","a",P)},C=function(){p.controls.next=q('<a class="bx-next" href="">'+p.settings.nextText+"</a>"),p.controls.prev=q('<a class="bx-prev" href="">'+p.settings.prevText+"</a>"),p.controls.next.on("click touchend",k),p.controls.prev.on("click touchend",E),p.settings.nextSelector&&q(p.settings.nextSelector).append(p.controls.next),p.settings.prevSelector&&q(p.settings.prevSelector).append(p.controls.prev),p.settings.nextSelector||p.settings.prevSelector||(p.controls.directionEl=q('<div class="bx-controls-direction" />'),p.controls.directionEl.append(p.controls.prev).append(p.controls.next),p.controls.el.addClass("bx-has-controls-direction").append(p.controls.directionEl))},S=function(){p.controls.start=q('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+p.settings.startText+"</a></div>"),p.controls.stop=q('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+p.settings.stopText+"</a></div>"),p.controls.autoEl=q('<div class="bx-controls-auto" />'),p.controls.autoEl.on("click",".bx-start",M),p.controls.autoEl.on("click",".bx-stop",D),p.settings.autoControlsCombine?p.controls.autoEl.append(p.controls.start):p.controls.autoEl.append(p.controls.start).append(p.controls.stop),p.settings.autoControlsSelector?q(p.settings.autoControlsSelector).html(p.controls.autoEl):p.controls.el.addClass("bx-has-controls-auto").append(p.controls.autoEl),O(p.settings.autoStart?"stop":"start")},T=function(){p.children.each(function(e){var t=q(this).find("img:first").attr("title");void 0!==t&&(""+t).length&&q(this).append('<div class="bx-caption"><span>'+t+"</span></div>")})},k=function(e){e.preventDefault(),p.controls.el.hasClass("disabled")||(p.settings.auto&&p.settings.stopAutoOnClick&&f.stopAuto(),f.goToNextSlide())},E=function(e){e.preventDefault(),p.controls.el.hasClass("disabled")||(p.settings.auto&&p.settings.stopAutoOnClick&&f.stopAuto(),f.goToPrevSlide())},M=function(e){f.startAuto(),e.preventDefault()},D=function(e){f.stopAuto(),e.preventDefault()},P=function(e){var t,i;e.preventDefault(),p.controls.el.hasClass("disabled")||(p.settings.auto&&p.settings.stopAutoOnClick&&f.stopAuto(),void 0!==(t=q(e.currentTarget)).attr("data-sli
1de-index")&&(i=parseInt(t.attr("data-slide-index")))!==p.active.index&&f.goToSlide(i))},I=function(i){var e=p.children.length;if("short"===p.settings.pagerType)return 1<p.settings.maxSlides&&(e=Math.ceil(p.children.length/p.settings.maxSlides)),void p.pagerEl.html(i+1+p.settings.pagerShortSeparator+e);p.pagerEl.find("a").removeClass("active"),p.pagerEl.each(function(e,t){q(t).find("a").eq(i).addClass("active")})},z=function(){var e;p.settings.infiniteLoop&&(e="",0===p.active.index?e=p.children.eq(0).position():p.active.index===b()-1&&p.carousel?e=p.children.eq((b()-1)*_()).position():p.active.index===p.children.length-1&&(e=p.children.eq(p.children.length-1).position()),e&&("horizontal"===p.settings.mode?w(-e.left,"reset",0):"vertical"===p.settings.mode&&w(-e.top,"reset",0))),p.working=!1,p.settings.onSlideAfter.call(f,p.children.eq(p.active.index),p.oldIndex,p.active.index)},O=function(e){p.settings.autoControlsCombine?p.controls.autoEl.html(p.controls[e]):(p.controls.autoEl.find("a").removeClass("active"),p.controls.autoEl.find("a:not(.bx-"+e+")").addClass("active"))},A=function(){1===b()?(p.controls.prev.addClass("disabled"),p.controls.next.addClass("disabled")):!p.settings.infiniteLoop&&p.settings.hideControlOnEnd&&(0===p.active.index?(p.controls.prev.addClass("disabled"),p.controls.next.removeClass("disabled")):p.active.index===b()-1?(p.controls.next.addClass("disabled"),p.controls.prev.removeClass("disabled")):(p.controls.prev.removeClass("disabled"),p.controls.next.removeClass("disabled")))},H=function(){0<p.settings.autoDelay?setTimeout(f.startAuto,p.settings.autoDelay):(f.startAuto(),q(window).focus(r).blur(l)),p.settings.autoHover&&f.hover(function(){p.interval&&(f.stopAuto(!0),p.autoPaused=!0)},function(){p.autoPaused&&(f.startAuto(!0),p.autoPaused=null)})},L=function(){var e,t,i,s,n,a,o,r,l=0;if("next"===p.settings.autoDirection)for(var h=0,c=p.settings.cloneRepeat;h<c;h++)f.append(p.children.clone().addClass("bx-clone"));else{for(var d=0,u=p.settings.cloneRepeat;d<u;d++)f.prepend(p.children.clone().addClass("bx-clone"));e=p.children.first().position(),l="horizontal"===p.settings.mode?-e.left:-e.top}w(l,"reset",0),p.settings.pager=!1,p.settings.controls=!1,p.settings.autoControls=!1,p.settings.tickerHover&&(p.usingCSS?(s="horizontal"===p.settings.mode?4:5,p.viewport.hover(function(){t=f.css("-"+p.cssPrefix+"-transform"),i=parseFloat(t.split(",")[s]),w(i,"reset",0)},function(){r=0,p.children.each(function(e){r+="horizontal"===p.settings.mode?q(this).outerWidth(!0):q(this).outerHeight(!0)}),n=p.settings.speed/r,a="horizontal"===p.settings.mode?"left":"top",o=n*(r-Math.abs(parseInt(i))),N(o)})):p.viewport.hover(function(){f.stop()},function(){r=0,p.children.each(function(e){r+="horizontal"===p.settings.mode?q(this).outerWidth(!0):q(this).outerHeight(!0)}),n=p.settings.speed/r,a="horizontal"===p.settings.mode?"left":"top",o=n*(r-Math.abs(parseInt(f.css(a)))),N(o)})),N()},N=function(e){var t,i,s=e||p.settings.speed,n={left:0,top:0},a={left:0,top:0};"next"===p.settings.autoDirection?n=f.find(".bx-clone").first().position():a=p.children.first().position(),t="horizontal"===p.settings.mode?-n.left:-n.top,i="horizontal"===p.settings.mode?-a.left:-a.top,w(t,"ticker",s,{resetValue:i})},W=function(e){var t,i,s,n,a=document.activeElement.tagName.toLowerCase();if(null==new RegExp(a,["i"]).exec("input|textarea")&&(t=f,i=q(window),s={top:i.scrollTop(),left:i.scrollLeft()},n=t.offset(),s.right=s.left+i.width(),s.bottom=s.top+i.height(),n.right=n.left+t.outerWidth(),n.bottom=n.top+t.outerHeight(),!(s.right<n.left||s.left>n.right||s.bottom<n.top||s.top>n.bottom))){if(39===e.keyCode)return k(e),!1;if(37===e.keyCode)return E(e),!1}},F=function(){p.touch={start:{x:0,y:0},end:{x:0,y:0}},p.viewport.on("touchstart MSPointerDown pointerdown",$),p.viewport.on("click",".bxslider a",function(e){p.viewport.hasClass("click-disabled")&&(e.preventDefault(),p.viewport.removeClass("click-disabled"))})},$=function(e){if("touchstart"===e.type||0===e.button)if(e.preventDefault(),p.controls.el.addClass("disabled"),p.working)p.controls.el.removeClass("disabled");else{p.touch.originalPos=f.position();var t=e.originalEvent,i=void 0!==t.changedTouches?t.changedTouches:[t];if("function"==typeof PointerEvent&&void 0===t.pointerId)return;p.touch.start.x=i[0].pageX,p.touch.start.y=i[0].pageY,p.viewport.get(0).setPointerCapture&&(p.pointerId=t.pointerId,p.viewport.get(0).setPointerCapture(p.pointerId)),p.originalClickTarget=t.originalTarget||t.target,p.originalClickButton=t.button,p.originalClickButtons=t.buttons,p.originalEventType=t.type,p.hasMove=!1,p.viewport.on("touchmove MSPointerMove pointermove",B),p.viewport.on("touchend MSPointerUp pointerup",Y),p.viewport.on("MSPointerCancel pointercancel",R)}},R=function(e){e.preventDefault(),w(p.touch.originalPos.left,"reset",0),p.controls.el.removeClass("disabled"),p.viewport.off("MSPointerCancel pointercancel",R),p.viewport.off("touchmove MSPointerMove pointermove",B),p.viewport.off("touchend MSPointerUp pointerup",Y),p.viewport.get(0).releasePointerCapture&&p.viewport.get(0).releasePointerCapture(p.pointerId)},B=function(e){var t=e.originalEvent,i=void 0!==t.changedTouches?t.changedTouches:[t],s=Math.abs(i[0].pageX-p.touch.start.x),n=Math.abs(i[0].pageY-p.touch.start.y),a=0,o=0;p.hasMove=!0,(n<3*s&&p.settings.preventDefaultSwipeX||s<3*n&&p.settings.preventDefaultSwipeY)&&e.preventDefault(),"touchmove"!==e.type&&e.preventDefault(),"fade"!==p.settings.mode&&p.settings.oneToOneTouch&&(a="horizontal"===p.settings.mode?(o=i[0].pageX-p.touch.start.x,p.touch.originalPos.left+o):(o=i[0].pageY-p.touch.start.y,p.touch.originalPos.top+o),w(a,"reset",0))},Y=function(e){e.preventDefault(),p.viewport.off("touchmove MSPointerMove pointermove",B),p.controls.el.removeClass("disabled");var t=e.originalEvent,i=void 0!==t.changedTouches?t.changedTouches:[t],s=0,n=0;p.touch.end.x=i[0].pageX,p.touch.end.y=i[0].pageY,"fade"===p.settings.mode?(n=Math.abs(p.touch.start.x-p.touch.end.x))>=p.settings.swipeThreshold&&(p.touch.start.x>p.touch.end.x?f.goToNextSlide():f.goToPrevSlide(),f.stopAuto()):(s="horizontal"===p.settings.mode?(n=p.touch.end.x-p.touch.start.x,p.touch.originalPos.left):(n=p.touch.end.y-p.touch.start.y,p.touch.originalPos.top),(p.settings.infiniteLoop||!(0===p.active.index&&0<n||p.active.last&&n<0))&&Math.abs(n)>=p.settings.swipeThreshold?(n<0?f.goToNextSlide():f.goToPrevSlide(),f.stopAuto()):w(s,"reset",200)),p.viewport.off("touchend MSPointerUp pointerup",Y),p.viewport.get(0).releasePointerCapture&&p.viewport.get(0).releasePointerCapture(p.pointerId),!1!==p.hasMove||0!==p.originalClickButton&&"touchstart"!==p.originalEventType||q(p.originalClickTarget).trigger({type:"click",button:p.originalClickButton,buttons:p.originalClickButtons})},j=function(e){var t,i;p.initialized&&(p.working?window.setTimeout(j,10):(t=q(window).width(),i=q(window).height(),s===t&&n===i||(s=t,n=i,f.redrawSlider(),p.settings.onSliderResize.call(f,p.active.index))))};return f.goToSlide=function(e,t){var i,s,n,a,o,r=!0,l=0,h={left:0,top:0},c=null;if(p.oldIndex=p.active.index,p.active.index=(o=e)<0?p.settings.infiniteLoop?b()-1:p.active.index:o>=b()?p.settings.infiniteLoop?0:p.active.index:o,!p.working&&p.active.index!==p.oldIndex){if(p.working=!0,void 0!==(r=p.settings.onSlideBefore.call(f,p.children.eq(p.active.index),p.oldIndex,p.active.index))&&!r)return p.active.index=p.oldIndex,void(p.working=!1);"next"===t?p.settings.onSlideNext.call(f,p.children.eq(p.active.index),p.oldIndex,p.active.index)||(r=!1):"prev"===t&&(p.settings.onSlidePrev.call(f,p.children.eq(p.active.index),p.oldIndex,p.active.index)||(r=!1)),p.active.last=p.active.index>=b()-1,(p.settings.pager||p.settings.pagerCustom)&&I(p.active.index),p.settings.controls&&A(),"fade"===p.settings.mode?(p.settings.adaptiveHeight&&p.viewport.height()!==m()&&p.viewport.animate({height:m()},p.settings.adaptiveHeightSpeed),p.children.filter(":visible").fadeOut(p.settings.speed).css({zIndex:0}),p.children.eq(p.active.index).css("zIndex",p.settings.slideZIndex+1).fadeIn(p.settings.speed,function(){q(this).css("zIndex",p.settings.slideZIndex),z()})):(p.settings.adaptiveHeight&&p.viewport.height()!==m()&&p.viewport.animate({height:m()},p.settings.adaptiveHeightSpeed),!p.settings.infiniteLoop&&p.carousel&&p.active.last?"horizontal"===p.settings.mode?(h=(c=p.children.eq(p.children.length-1)).position(),l=p.viewport.width()-c.outerWidth()):(i=p.children.length-p.settings.minSlides,h=p.children.eq(i).position()):p.carousel&&p.active.last&&"prev"===t?(s=1===p.settings.moveSlides?p.settings.maxSlides-_():(b()-1)*_()-(p.children.length-p.settings.maxSlides),h=(c=f.children(".bx-clone").eq(s)).position()):"next"===t&&0===p.active.index?(h=f.find("> .bx-clone").eq(p.settings.maxSlides).position(),p.active.last=!1):0<=e&&(a=e*parseInt(_()),h=p.children.eq(a).position()),void 0!==h&&(n="horizontal"===p.settings.mode?-(h.left-l):-h.top,w(n,"slide",p.settings.speed)),p.working=!1),p.settings.ariaHidden&&d(p.active.index*_())}},f.goToNextSlide=function(){var e;!p.settings.infiniteLoop&&p.active.last||!0!==p.working&&(e=parseInt(p.active.index)+1,f.goToSlide(e,"next"))},f.goToPrevSlide=function(){var e;!p.settings.infiniteLoop&&0===p.active.index||!0===p.working||(e=parseInt(p.active.index)-1,f.goToSlide(e,"prev"))},f.startAuto=function(e){p.interval||(p.interval=setInterval(function(){"next"===p.settings.autoDirection?f.goToNextSlide():f.goToPrevSlide()},p.settings.pause),p.settings.onAutoChange.call(f,!0),p.settings.autoControls&&!0!==e&&O("stop"))},f.stopAuto=function(e){p.autoPaused&&(p.autoPaused=!1),p.interval&&(clearInterval(p.interval),p.interval=null,p.settings.onAutoChange.call(f,!1),p.settings.autoControls&&!0!==e&&O("start"))},f.getCurrentSlide=function(){return p.active.index},f.getCurrentSlideElement=function(){return p.children.eq(p.active.index)},f.getSlideElement=function(e){return p.children.eq(e)},f.getSlideCount=function(){return p.children.length},f.isWorking=function(){return p.working},f.redrawSlider=function(){p.children.add(f.find(".bx-clone")).outerWidth(v()),p.viewport.css("height",m()),p.settings.ticker||y(),p.active.last&&(p.active.index=b()-1),p.active.index>=b()&&(p.active.last=!0),p.settings.pager&&!p.settings.pagerCustom&&(e(),I(p.active.index)),p.settings.ariaHidden&&d(p.active.index*_())},f.destroySlider=function(){p.initialized&&(p.initialized=!1,q(".bx-clone",this).remove(),p.children.each(function(){void 0!==q(this).data("origStyle")?q(this).attr("style",q(this).data("origStyle")):q(this).removeAttr("style")}),void 0!==q(this).data("origStyle")?this.attr("style",q(this).data("origStyle")):q(this).removeAttr("style"),q
1(this).unwrap().unwrap(),p.controls.el&&p.controls.el.remove(),p.controls.next&&p.controls.next.remove(),p.controls.prev&&p.controls.prev.remove(),p.pagerEl&&p.settings.controls&&!p.settings.pagerCustom&&p.pagerEl.remove(),q(".bx-caption",this).remove(),p.controls.autoEl&&p.controls.autoEl.remove(),clearInterval(p.interval),p.settings.responsive&&q(window).off("resize",j),p.settings.keyboardEnabled&&q(document).off("keydown",W),q(this).removeData("bxSlider"),q(window).off("blur",l).off("focus",r))},f.reloadSlider=function(e){void 0!==e&&(t=e),f.destroySlider(),a(),q(f).data("bxSlider",this)},a(),q(f).data("bxSlider",this),this}}}(jQuery),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(l){function h(e){return parseFloat(e)||0}function c(e){var t=l(e),s=null,n=[];return t.each(function(){var e=l(this),t=e.offset().top-h(e.css("margin-top")),i=0<n.length?n[n.length-1]:null;null!==i&&Math.floor(Math.abs(s-t))<=1?n[n.length-1]=i.add(e):n.push(e),s=t}),n}function d(e){var t={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?l.extend(t,e):("boolean"==typeof e?t.byRow=e:"remove"===e&&(t.remove=!0),t)}var s=-1,n=-1,u=l.fn.matchHeight=function(e){var t=d(e);if(t.remove){var i=this;return this.css(t.property,""),l.each(u._groups,function(e,t){t.elements=t.elements.not(i)}),this}return this.length<=1&&!t.target||(u._groups.push({elements:this,options:t}),u._apply(this,t)),this};u.version="0.7.2",u._groups=[],u._throttle=80,u._maintainScroll=!1,u._beforeUpdate=null,u._afterUpdate=null,u._rows=c,u._parse=h,u._parseOptions=d,u._apply=function(e,t){var a=d(t),i=l(e),s=[i],n=l(window).scrollTop(),o=l("html").outerHeight(!0),r=i.parents().filter(":hidden");return r.each(function(){var e=l(this);e.data("style-cache",e.attr("style"))}),r.css("display","block"),a.byRow&&!a.target&&(i.each(function(){var e=l(this),t=e.css("display");"inline-block"!==t&&"flex"!==t&&"inline-flex"!==t&&(t="block"),e.data("style-cache",e.attr("style")),e.css({display:t,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),s=c(i),i.each(function(){var e=l(this);e.attr("style",e.data("style-cache")||"")})),l.each(s,function(e,t){var i=l(t),n=0;if(a.target)n=a.target.outerHeight(!1);else{if(a.byRow&&i.length<=1)return void i.css(a.property,"");i.each(function(){var e=l(this),t=e.attr("style"),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var s={display:i};s[a.property]="",e.css(s),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),t?e.attr("style",t):e.css("display","")})}i.each(function(){var e=l(this),t=0;a.target&&e.is(a.target)||("border-box"!==e.css("box-sizing")&&(t+=h(e.css("border-top-width"))+h(e.css("border-bottom-width")),t+=h(e.css("padding-top"))+h(e.css("padding-bottom"))),e.css(a.property,n-t+"px"))})}),r.each(function(){var e=l(this);e.attr("style",e.data("style-cache")||null)}),u._maintainScroll&&l(window).scrollTop(n/o*l("html").outerHeight(!0)),this},u._applyDataApi=function(){var i={};l("[data-match-height], [data-mh]").each(function(){var e=l(this),t=e.attr("data-mh")||e.attr("data-match-height");i[t]=t in i?i[t].add(e):e}),l.each(i,function(){this.matchHeight(!0)})};function a(e){u._beforeUpdate&&u._beforeUpdate(e,u._groups),l.each(u._groups,function(){u._apply(this.elements,this.options)}),u._afterUpdate&&u._afterUpdate(e,u._groups)}u._update=function(e,t){if(t&&"resize"===t.type){var i=l(window).width();if(i===s)return;s=i}e?-1===n&&(n=setTimeout(function(){a(t),n=-1},u._throttle)):a(t)},l(u._applyDataApi);var e=l.fn.on?"on":"bind";l(window)[e]("load",function(e){u._update(!1,e)}),l(window)[e]("resize orientationchange",function(e){u._update(!0,e)})});var objectFitImages=function(){"use strict";var r="bfred-it:object-fit-images",l=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,e="undefined"==typeof Image?{style:{"object-position":1}}:new Image,h="object-fit"in e.style,n="object-position"in e.style,a="background-size"in e.style,c="string"==typeof e.currentSrc,d=e.getAttribute,u=e.setAttribute,o=!1;function p(e,t,i){var s="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(i||0)+"'%3E%3C/svg%3E";d.call(e,"src")!==s&&u.call(e,"src",s)}
1function f(e,t){e.naturalWidth?t(e):setTimeout(f,100,e,t)}function m(t){var i,s,e,n,a=function(e){for(var t,i=getComputedStyle(e).fontFamily,s={};null!==(t=l.exec(i));)s[t[1]]=t[2];return s}(t),o=t[r];if(a["object-fit"]=a["object-fit"]||"fill",!o.img){if("fill"===a["object-fit"])return;if(!o.skipTest&&h&&!a["object-position"])return}if(!o.img){o.img=new Image(t.width,t.height),o.img.srcset=d.call(t,"data-ofi-srcset")||t.srcset,o.img.src=d.call(t,"data-ofi-src")||t.src,u.call(t,"data-ofi-src",t.src),t.srcset&&u.call(t,"data-ofi-srcset",t.srcset),p(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{i=t,s={get:function(e){return i[r].img[e||"src"]},set:function(e,t){return i[r].img[t||"src"]=e,u.call(i,"data-ofi-"+t,e),m(i),e}},Object.defineProperty(i,"src",s),Object.defineProperty(i,"currentSrc",{get:function(){return s.get("currentSrc")}}),Object.defineProperty(i,"srcset",{get:function(){return s.get("srcset")},set:function(e){return s.set(e,"srcset")}})}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}(e=o.img).srcset&&!c&&window.picturefill&&(e[(n=window.picturefill._).ns]&&e[n.ns].evaled||n.fillImg(e,{reselect:!0}),e[n.ns].curSrc||(e[n.ns].supported=!1,n.fillImg(e,{reselect:!0})),e.currentSrc=e[n.ns].curSrc||e.src),t.style.backgroundImage='url("'+(o.img.currentSrc||o.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=a["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(a["object-fit"])?f(o.img,function(){o.img.naturalWidth>t.width||o.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"}):t.style.backgroundSize=a["object-fit"].replace("none","auto").replace("fill","100% 100%"),f(o.img,function(e){p(t,e.naturalWidth,e.naturalHeight)})}function g(e,t){var i=!o&&!e;if(t=t||{},e=e||"img",n&&!t.skipTest||!a)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var s=0;s<e.length;s++)e[s][r]=e[s][r]||{skipTest:t.skipTest},m(e[s]);i&&(document.body.addEventListener("load",function(e){"IMG"===e.target.tagName&&g(e.target,{skipTest:t.skipTest})},!0),o=!0,e="img"),t.watchMQ&&window.addEventListener("resize",g.bind(null,e,{skipTest:t.skipTest}))}function i(e,t){return e[r]&&e[r].img&&("src"===t||"srcset"===t)?e[r].img:e}return g.supportsObjectFit=h,(g.supportsObjectPosition=n)||(HTMLImageElement.prototype.getAttribute=function(e){return d.call(i(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,t){return u.call(i(this,e),e,String(t))}),g}();!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,function(){"use strict";var g="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,ae="undefined"==typeof window?{document:g,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,l=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function I(e,t){var i=[],s=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){var n,a,o=e.trim();if(0<=o.indexOf("<")&&0<=o.indexOf(">")){var r="div";for(0===o.indexOf("<li")&&(r="ul"),0===o.indexOf("<tr")&&(r="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(r="tr"),0===o.indexOf("<tbody")&&(r="table"),0===o.indexOf("<option")&&(r="select"),(a=g.createElement(r)).innerHTML=o,s=0;s<a.childNodes.length;s+=1)i.push(a.childNodes[s])}else for(n=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||g).querySelectorAll(e.trim()):[g.getElementById(e.trim().split("#")[1])],s=0;s<n.length;s+=1)n[s]&&i.push(n[s])}else if(e.nodeType||e===ae||e===g)i.push(e);else if(0<e.length&&e[0].nodeType)for(s=0;s<e.length;s+=1)i.push(e[s]);return new l(i)}function a(e){for(var t=[],i=0;i<e.length;
vendor: 12,125 bytes, line 1
1i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}I.fn=l.prototype,I.Class=l,I.Dom7=l;var t={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var n in e)this[s][n]=e[n],this[s].setAttribute(n,e[n]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var n=i.getAttribute("data-"+e);return n?n:void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i=e[0],a=e[1],o=e[2],s=e[3];function n(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),I(t).is(a))o.apply(t,i);else for(var s=I(t).parents(),n=0;n<s.length;n+=1)I(s[n]).is(a)&&o.apply(s[n],i)}}function r(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),o.apply(this,t)}"function"==typeof e[1]&&(i=e[0],o=e[1],s=e[2],a=void 0),s=s||!1;for(var l,h=i.split(" "),c=0;c<this.length;c+=1){var d=this[c];if(a)for(l=0;l<h.length;l+=1){var u=h[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[u]||(d.dom7LiveListeners[u]=[]),d.dom7LiveListeners[u].push({listener:o,proxyListener:n}),d.addEventListener(u,n,s)}else for(l=0;l<h.length;l+=1){var p=h[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[p]||(d.dom7Listeners[p]=[]),d.dom7Listeners[p].push({listener:o,proxyListener:r}),d.addEventListener(p,r,s)}}return this},off:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i=e[0],s=e[1],n=e[2],a=e[3];"function"==typeof e[1]&&(i=e[0],n=e[1],a=e[2],s=void 0),a=a||!1;for(var o=i.split(" "),r=0;r<o.length;r+=1)for(var l=o[r],h=0;h<this.length;h+=1){var c=this[h],d=void 0;if(!s&&c.dom7Listeners?d=c.dom7Listeners[l]:s&&c.dom7LiveListeners&&(d=c.dom7LiveListeners[l]),d&&d.length)for(var u=d.length-1;0<=u;--u){var p=d[u];(!n||p.listener!==n)&&!(n&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===n)&&n||(c.removeEventListener(l,p.proxyListener,a),d.splice(u,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=e[0].split(" "),s=e[1],n=0;n<i.length;n+=1)for(var a=i[n],o=0;o<this.length;o+=1){var r=this[o],l=void 0;try{l=new ae.CustomEvent(a,{detail:s,bubbles:!0,cancelable:!0})}catch(e){(l=g.createEvent("Event")).initEvent(a,!0,!0),l.detail=s}r.dom7EventData=e.filter(function(e,t){return 0<t}),r.dispatchEvent(l),r.dom7EventData=[],delete r.dom7EventData}return this},transitionEnd:function(t){var i,s=["webkitTransitionEnd","transitionend"],n=this;function a(e){if(e.target===this)for(t.call(this,e),i=0;i<s.length;i+=1)n.off(s[i],a)}if(t)for(i=0;i<s.length;i+=1)n.on(s[i],a);return this},outerWidth:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(0<this.length){var e=this[0],t=e.getBoundingClientRect(),i=g.body,s=e.clientTop||i.clientTop||0,n=e.clientLeft||i.clientLeft||0,a=e===ae?ae.scrollY:e.scrollTop,o=e===ae?ae.scrollX:e.scrollLeft;return{top:t.top+a-s,left:t.left+o-n}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var s in e)this[i].style[s]=e[s];return this}if(this[0])return ae.getComputedStyle(this[0],null).getPropertyValue(e)}if(2!==arguments.length||"string"!=typeof e)return this;for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,s=this[0];if(!s||void 0===e)return!1;if("string"==typeof e){if(s.matches)return s.matches(e);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(e);if(s.msMatchesSelector)return s.msMatchesSelector(e);for(t=I(e),i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}if(e===g)return s===g;if(e===ae)return s===ae;if(e.nodeType||e instanceof l){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new l(i-1<e?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=0;s<t.length;s+=1){e=t[s];for(var n=0;n<this.length;n+=1)if("string"==typeof e){var a=g.createElement("div");for(a.innerHTML=e;a.firstChild;)this[n].appendChild(a.firstChild)}else if(e instanceof l)for(var o=0;o<e.length;o+=1)this[n].appendChild(e[o]);else this[n].appendChild(e)}return this},prepend:function(e){for(var t,i=0;i<this.length;i+=1)if("string"==typeof e){var s=g.createElement("div");for(s.innerHTML=e,t=s.childNodes.length-1;0<=t;--t)this[i].insertBefore(s.childNodes[t],this[i].childNodes[0])}else if(e instanceof l)for(t=0;t<e.length;t+=1)this[i].insertBefore(e[t],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&I(this[0].nextElementSibling).is(e)?new l([this[0].nextElementSibling]):new l([]):this[0].nextElementSibling?new l([this[0].nextElementSibling]):new l([]):new l([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;(!e||I(s).is(e))&&t.push(s),i=s}return new l(t)},prev:function(e){if(0<this.length){var t=this[0];return e?t.previousElementSibling&&I(t.previousElementSibling).is(e)?new l([t.previousElementSibling]):new l([]):t.previousElementSibling?new l([t.previousElementSibling]):new l([])}return new l([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;(!e||I(s).is(e))&&t.push(s),i=s}return new l(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null===this[i].parentNode||e&&!I(this[i].parentNode).is(e)||t.push(this[i].parentNode);return I(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].parentNode;s;)e&&!I(s).is(e)||t.push(s),s=s.parentNode;return I(a(t))},closest:function(e){var t=this;return void 0===e?new l([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].querySelectorAll(e),n=0;n<s.length;n+=1)t.push(s[n]);return new l(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].childNodes,n=0;n<s.length;n+=1)e?1===s[n].nodeType&&I(s[n]).is(e)&&t.push(s[n]):1===s[n].nodeType&&t.push(s[n]);return new l(a(t))},filter:function(e){for(var t=[],i=0;i<this.length;i+=1)e.call(this[i],i,this[i])&&t.push(this[i]);return new l(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=0;i<e.length;i+=1)for(var s=I(e[i]),n=0;n<s.length;n+=1)this[this.length]=s[n],this.length+=1;return this},styles:function(){return this[0]?ae.getComputedStyle(this[0],null):{}}};Object.keys(t).forEach(function(e){I.fn[e]=I.fn[e]||t[e]});function e(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})}var oe={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var i,s,n;void 0===t&&(t="x");var a=ae.getComputedStyle(e,null);return ae.WebKitCSSMatrix?(6<(s=a.transform||a.webkitTransform).split(",").length&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),n=new ae.WebKitCSSMatrix("none"===s?"":s)):i=(n=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(s=ae.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(s=ae.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0},parseUrlQuery:function(e){var t,i,s,n,a={},o=e||ae.location.href;if("string"==typeof o&&o.length)for(n=(i=(o=-1<o.indexOf("?")?o.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<n;t+=1)s=i[t].replace(/#\S+/g,"").split("="),a[decodeURIComponent(s[0])]=void 0===s[1]?void 0:decodeURIComponent(s[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var n=e[s];if(null!=n)for(var a=Object.keys(Object(n)),o=0,r=a.length;o<r;o+=1){var l=a[o],h=Object.getOwnPropertyDescriptor(n,l);void 0!==h&&h.enumerable&&(oe.isObject(i[l])&&oe.isObject(n[l])?oe.extend(i[l],n[l]):!oe.isObject(i[l])&&oe.isObject(n[l])?(i[l]={},oe.extend(i[l],n[l])):i[l]=n[l])}}return i}},T={touch:ae.Modernizr&&!0===ae.Modernizr.touch||!!(0<ae.navigator.maxTouchPoints||"ontouchstart"in ae||ae.DocumentTouch&&g instanceof ae.DocumentTouch),pointerEvents:!!ae.PointerEvent&&"maxTouchPoints"in ae.navigator&&0<ae.navigator.maxTouchPoints,observer:"MutationObserver"in ae||"WebkitMutationObserver"in ae,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});ae.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in ae},i={components:{configurable:!0}};e.prototype.on=function(e,t,i){var s=this;if("function"!=typeof t)return s;var n=i?"unshift":"push";return e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][n](t)}),s},e.prototype.once=function(i,s,e){var n=this;if("function"!=typeof s)return n;function a(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];n.off(i,a),a.f7proxy&&delete a.f7proxy,s.apply(n,e)}return a.f7proxy=s,n.on(i,a,e)},e.prototype.off=function(e,s){var n=this;return n.eventsListeners&&e.split(" ").forEach(function(i){void 0===s?n.eventsListeners[i]=[]:n.eventsListeners[i]&&n.eventsListeners[i].length&&n.eventsListeners[i].forEac
1h(function(e,t){(e===s||e.f7proxy&&e.f7proxy===s)&&n.eventsListeners[i].splice(t,1)})}),n},e.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,n,a=this;return a.eventsListeners&&(n="string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a):(i=e[0].events,s=e[0].data,e[0].context||a),(Array.isArray(i)?i:i.split(" ")).forEach(function(e){var t;a.eventsListeners&&a.eventsListeners[e]&&(t=[],a.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(n,s)}))})),a},e.prototype.useModulesParams=function(i){var s=this;s.modules&&Object.keys(s.modules).forEach(function(e){var t=s.modules[e];t.params&&oe.extend(i,t.params)})},e.prototype.useModules=function(s){void 0===s&&(s={});var n=this;n.modules&&Object.keys(n.modules).forEach(function(e){var i=n.modules[e],t=s[e]||{};i.instance&&Object.keys(i.instance).forEach(function(e){var t=i.instance[e];n[e]="function"==typeof t?t.bind(n):t}),i.on&&n.on&&Object.keys(i.on).forEach(function(e){n.on(e,i.on[e])}),i.create&&i.create.bind(n)(t)})},i.components.set=function(e){this.use&&this.use(e)},e.installModule=function(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var n=t.name||Object.keys(s.prototype.modules).length+"_"+oe.now();return(s.prototype.modules[n]=t).proto&&Object.keys(t.proto).forEach(function(e){s.prototype[e]=t.proto[e]}),t.static&&Object.keys(t.static).forEach(function(e){s[e]=t.static[e]}),t.install&&t.install.apply(s,e),s},e.use=function(e){for(var t=[],i=arguments.length-1;0<i--;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach(function(e){return s.installModule(e)}),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(e,i);var s={updateSize:function(){var e=this.$el,t=void 0!==this.params.width?this.params.width:e[0].clientWidth,i=void 0!==this.params.height?this.params.height:e[0].clientHeight;0===t&&this.isHorizontal()||0===i&&this.isVertical()||(t=t-parseInt(e.css("padding-left"),10)-parseInt(e.css("padding-right"),10),i=i-parseInt(e.css("padding-top"),10)-parseInt(e.css("padding-bottom"),10),oe.extend(this,{width:t,height:i,size:this.isHorizontal()?t:i}))},updateSlides:function(){var e=this,t=e.params,i=e.$wrapperEl,s=e.size,n=e.rtlTranslate,a=e.wrongRTL,o=e.virtual&&t.virtual.enabled,r=o?e.virtual.slides.length:e.slides.length,l=i.children("."+e.params.slideClass),h=o?e.virtual.slides.length:l.length,c=[],d=[],u=[];function p(e){return!t.cssMode||e!==l.length-1}var f=t.slidesOffsetBefore;"function"==typeof f&&(f=t.slidesOffsetBefore.call(e));var m=t.slidesOffsetAfter;"function"==typeof m&&(m=t.slidesOffsetAfter.call(e));var g,v=e.snapGrid.length,b=e.snapGrid.length,_=t.spaceBetween,y=-f,w=0,x=0;if(void 0!==s){"string"==typeof _&&0<=_.indexOf("%")&&(_=parseFloat(_.replace("%",""))/100*s),e.virtualSize=-_,n?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),1<t.slidesPerColumn&&(g=Math.floor(h/t.slidesPerColumn)===h/e.params.slidesPerColumn?h:Math.ceil(h/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(g=Math.max(g,t.slidesPerView*t.slidesPerColumn)));for(var C,S,T,k,E,M=t.slidesPerColumn,D=g/M,P=Math.floor(h/t.slidesPerColumn),I=0;I<h;I+=1){G=0;var z,O,A,H,L,N,W,F,$,R,B,Y,j,q,V,G,X,U,K,Q,Z,J,ee=l.eq(I);1<t.slidesPerColumn&&(H=L=N=void 0,"row"===t.slidesPerColumnFill&&1<t.slidesPerGroup?(z=Math.floor(I/(t.slidesPerGroup*t.slidesPerColumn)),O=I-t.slidesPerColumn*t.slidesPerGroup*z,A=0===z?t.slidesPerGroup:Math.min(Math.ceil((h-z*M*t.slidesPerGroup)/M),t.slidesPerGroup),N=(L=O-(H=Math.floor(O/A))*A+z*t.slidesPerGroup)+H*g/M,ee.css({"-webkit-box-ordinal-group":N,"-moz-box-ordinal-group":N,"-ms-flex-order":N,"-webkit-order":N,order:N})):"column"===t.slidesPerColumnFill?(H=I-(L=Math.floor(I/M))*M,(P<L||L===P&&H===M-1)&&M<=(H+=1)&&(H=0,L+=1)):L=I-(H=Math.floor(I/D))*D,ee.css("margin-"+(e.isHorizontal()?"top":"left"),0!==H&&t.spaceBetween&&t.spaceBetween+"px")),"none"!==ee.css("display")&&("auto"===t.slidesPerView?(W=ae.getComputedStyle(ee[0],null),F=ee[0].style.transform,$=ee[0].style.webkitTransform,F&&(ee[0].style.transform="none"),$&&(ee[0].style.webkitTransform="none"),G=t.roundLengths?e.isHorizontal()?ee.outerWidth(!0):ee.outerHeight(!0):e.isHorizontal()?(R=parseFloat(W.getPropertyValue("width")),B=parseFloat(W.getPropertyValue("padding-left")),Y=parseFloat(W.getPropertyValue("padding-right")),j=parseFloat(W.getPropertyValue("margin-left")),q=parseFloat(W.getPropertyValue("margin-right")),(V=W.getPropertyValue("box-sizing"))&&"border-box"===V?R+j+q:R+B+Y+j+q):(X=parseFloat(W.getPropertyValue("height")),U=parseFloat(W.getPropertyValue("padding-top")),K=parseFloat(W.getPropertyValue("padding-bottom")),Q=parseFloat(W.getPropertyValue("margin-top")),Z=parseFloat(W.getPropertyValue("margin-bottom")),(J=W.getPropertyValue("box-sizing"))&&"border-box"===J?X+Q+Z:X+U+K+Q+Z),F&&(ee[0].style.transform=F),$&&(ee[0].style.webkitTransform=$),t.roundLengths&&(G=Math.floor(G))):(G=(s-(t.slidesPerView-1)*_)/t.slidesPerView,t.roundLengths&&(G=Math.floor(G)),l[I]&&
1(e.isHorizontal()?l[I].style.width=G+"px":l[I].style.height=G+"px")),l[I]&&(l[I].swiperSlideSize=G),u.push(G),t.centeredSlides?(y=y+G/2+w/2+_,0===w&&0!==I&&(y=y-s/2-_),0===I&&(y=y-s/2-_),Math.abs(y)<.001&&(y=0),t.roundLengths&&(y=Math.floor(y)),x%t.slidesPerGroup==0&&c.push(y),d.push(y)):(t.roundLengths&&(y=Math.floor(y)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&c.push(y),d.push(y),y=y+G+_),e.virtualSize+=G+_,w=G,x+=1)}if(e.virtualSize=Math.max(e.virtualSize,s)+m,n&&a&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"})),1<t.slidesPerColumn&&(e.virtualSize=(G+t.spaceBetween)*g,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){C=[];for(var te=0;te<c.length;te+=1){var ie=c[te];t.roundLengths&&(ie=Math.floor(ie)),c[te]<e.virtualSize+c[0]&&C.push(ie)}c=C}if(!t.centeredSlides){C=[];for(var se=0;se<c.length;se+=1){var ne=c[se];t.roundLengths&&(ne=Math.floor(ne)),c[se]<=e.virtualSize-s&&C.push(ne)}c=C,1<Math.floor(e.virtualSize-s)-Math.floor(c[c.length-1])&&c.push(e.virtualSize-s)}0===c.length&&(c=[0]),0!==t.spaceBetween&&(e.isHorizontal()?n?l.filter(p).css({marginLeft:_+"px"}):l.filter(p).css({marginRight:_+"px"}):l.filter(p).css({marginBottom:_+"px"})),t.centeredSlides&&t.centeredSlidesBounds&&(S=0,u.forEach(function(e){S+=e+(t.spaceBetween?t.spaceBetween:0)}),T=(S-=t.spaceBetween)-s,c=c.map(function(e){return e<0?-f:T<e?T+m:e})),t.centerInsufficientSlides&&(k=0,u.forEach(function(e){k+=e+(t.spaceBetween?t.spaceBetween:0)}),(k-=t.spaceBetween)<s&&(E=(s-k)/2,c.forEach(function(e,t){c[t]=e-E}),d.forEach(function(e,t){d[t]=e+E}))),oe.extend(e,{slides:l,snapGrid:c,slidesGrid:d,slidesSizesGrid:u}),h!==r&&e.emit("slidesLengthChange"),c.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),d.length!==b&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i,s=this,n=[],a=0;if("number"==typeof e?s.setTransition(e):!0===e&&s.setTransition(s.params.speed),"auto"!==s.params.slidesPerView&&1<s.params.slidesPerView)if(s.params.centeredSlides)s.visibleSlides.each(function(e,t){n.push(t)});else for(t=0;t<Math.ceil(s.params.slidesPerView);t+=1){var o=s.activeIndex+t;if(o>s.slides.length)break;n.push(s.slides.eq(o)[0])}else n.push(s.slides.eq(s.activeIndex)[0]);for(t=0;t<n.length;t+=1){void 0!==n[t]&&(a=a<(i=n[t].offsetHeight)?i:a)}a&&s.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,s=t.slides,n=t.rtlTranslate;if(0!==s.length){void 0===s[0].swiperSlideOffset&&t.updateSlidesOffset();var a=n?e:-e;s.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var o=0;o<s.length;o+=1){var r,l,h=s[o],c=(a+(i.centeredSlides?t.minTranslate():0)-h.swiperSlideOffset)/(h.swiperSlideSize+i.spaceBetween);(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&(l=(r=-(a-h.swiperSlideOffset))+t.slidesSizesGrid[o],(0<=r&&r<t.size-1||1<l&&l<=t.size||r<=0&&l>=t.size)&&(t.visibleSlides.push(h),t.visibleSlidesIndexes.push(o),s.eq(o).addClass(i.slideVisibleClass))),h.progress=n?-c:c}t.visibleSlides=I(t.visibleSlides)}},updateProgress:function(e){var t,i=this;void 0===e&&(t=i.rtlTranslate?-1:1,e=i&&i.translate&&i.translate*t||0);var s=i.params,n=i.maxTranslate()-i.minTranslate(),a=i.progress,o=i.isBeginning,r=o,l=h=i.isEnd,h=0==n?o=!(a=0):(o=(a=(e-i.minTranslate())/n)<=0,1<=a);oe.extend(i,{progress:a,isBeginning:o,isEnd:h}),(s.watchSlidesProgress||s.watchSlidesVisibility||s.centeredSlides&&s.autoHeight)&&i.updateSlidesProgress(e),o&&!r&&i.emit("reachBeginning toEdge"),h&&!l&&i.emit("reachEnd toEdge"),(r&&!o||l&&!h)&&i.emit("fromEdge"),i.emit("progress",a)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,n=this.activeIndex,a=this.realIndex,o=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=o?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+n+'"]'):t.eq(n)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(i.slideDuplicateActiveClass));var r=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===r.length&&(r=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);
1i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(r.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i,s,n=this,a=n.rtlTranslate?n.translate:-n.translate,o=n.slidesGrid,r=n.snapGrid,l=n.params,h=n.activeIndex,c=n.realIndex,d=n.snapIndex,u=e;if(void 0===u){for(var p=0;p<o.length;p+=1)void 0!==o[p+1]?a>=o[p]&&a<o[p+1]-(o[p+1]-o[p])/2?u=p:a>=o[p]&&a<o[p+1]&&(u=p+1):a>=o[p]&&(u=p);l.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}(i=0<=r.indexOf(a)?r.indexOf(a):(t=Math.min(l.slidesPerGroupSkip,u))+Math.floor((u-t)/l.slidesPerGroup))>=r.length&&(i=r.length-1),u!==h?(s=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10),oe.extend(n,{snapIndex:i,realIndex:s,previousIndex:h,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),c!==s&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")):i!==d&&(n.snapIndex=i,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,s=I(e.target).closest("."+i.slideClass)[0],n=!1;if(s)for(var a=0;a<t.slides.length;a+=1)t.slides[a]===s&&(n=!0);if(!s||!n)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=s,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(I(s).attr("data-swiper-slide-index"),10):t.clickedIndex=I(s).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var n={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,s=this.translate,n=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;var a=oe.getTranslate(n[0],e);return i&&(a=-a),a||0},setTranslate:function(e,t){var i=this,s=i.rtlTranslate,n=i.params,a=i.$wrapperEl,o=i.wrapperEl,r=i.progress,l=0,h=0;i.isHorizontal()?l=s?-e:e:h=e,n.roundLengths&&(l=Math.floor(l),h=Math.floor(h)),n.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-h:n.virtualTranslate||a.transform("translate3d("+l+"px, "+h+"px, 0px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:h;var c=i.maxTranslate()-i.minTranslate();(0==c?0:(e-i.minTranslate())/c)!==r&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,s,n){var a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===s&&(s=!0);var o=this,r=o.params,l=o.wrapperEl;if(o.animating&&r.preventInteractionOnTransition)return!1;var h=o.minTranslate(),c=o.maxTranslate(),d=s&&h<e?h:s&&e<c?c:e;if(o.updateProgress(d),r.cssMode){var u=o.isHorizontal();return 0!==t&&l.scrollTo?l.scrollTo(((a={})[u?"left":"top"]=-d,a.behavior="smooth",a)):l[u?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(o.setTransition(0),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",t,n),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(d),i&&(o.emit("beforeTransitionStart",t,n),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,i&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};var o={setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit
1("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.params,n=this.previousIndex;if(!s.cssMode){s.autoHeight&&this.updateAutoHeight();var a=(a=t)||(n<i?"next":i<n?"prev":"reset");if(this.emit("transitionStart"),e&&i!==n){if("reset"===a)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===a?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this,s=i.activeIndex,n=i.previousIndex,a=i.params;if(i.animating=!1,!a.cssMode){i.setTransition(0);var o=(o=t)||(n<s?"next":s<n?"prev":"reset");if(i.emit("transitionEnd"),e&&s!==n){if("reset"===o)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===o?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}};var r={slideTo:function(e,t,i,s){var n;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,o=e;o<0&&(o=0);var r=a.params,l=a.snapGrid,h=a.slidesGrid,c=a.previousIndex,d=a.activeIndex,u=a.rtlTranslate,p=a.wrapperEl;if(a.animating&&r.preventInteractionOnTransition)return!1;var f=Math.min(a.params.slidesPerGroupSkip,o),m=f+Math.floor((o-f)/a.params.slidesPerGroup);m>=l.length&&(m=l.length-1),(d||r.initialSlide||0)===(c||0)&&i&&a.emit("beforeSlideChangeStart");var g,v=-l[m];if(a.updateProgress(v),r.normalizeSlideIndex)for(var b=0;b<h.length;b+=1)-Math.floor(100*v)>=Math.floor(100*h[b])&&(o=b);if(a.initialized&&o!==d){if(!a.allowSlideNext&&v<a.translate&&v<a.minTranslate())return!1;if(!a.allowSlidePrev&&v>a.translate&&v>a.maxTranslate()&&(d||0)!==o)return!1}if(g=d<o?"next":o<d?"prev":"reset",u&&-v===a.translate||!u&&v===a.translate)return a.updateActiveIndex(o),r.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==r.effect&&a.setTranslate(v),"reset"!==g&&(a.transitionStart(i,g),a.transitionEnd(i,g)),!1;if(r.cssMode){var _=a.isHorizontal(),y=-v;return u&&(y=p.scrollWidth-p.offsetWidth-y),0!==t&&p.scrollTo?p.scrollTo(((n={})[_?"left":"top"]=y,n.behavior="smooth",n)):p[_?"scrollLeft":"scrollTop"]=y,!0}return 0===t?(a.setTransition(0),a.setTranslate(v),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,g),a.transitionEnd(i,g)):(a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,g),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,g))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var n=e;return this.params.loop&&(n+=this.loopedSlides),this.slideTo(n,t,i,s)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,n=this.animating,a=this.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(n)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+a,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this,n=s.params,a=s.animating,o=s.snapGrid,r=s.slidesGrid,l=s.rtlTranslate;if(n.loop){if(a)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function h(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c,d=h(l?s.translate:-s.translate),u=o.map(h),p=(r.map(h),o[u.indexOf(d)],o[u.indexOf(d)-1]);return void 0===p&&n.cssMode&&o.forEach(function(e){!p&&e<=d&&(p=e)}),void 0!==p&&(c=r.indexOf(p))<0&&(c=s.activeIndex-1),s.slideTo(c,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===s&&(s=.5);var n,a,o=this,r=o.activeIndex,l=Math.min(o.params.slidesPerGroupSkip,r),h=l+Math.floor((r-l)/o.params.slidesPerGroup),c=o.rtlTranslate?o.translate:-o.translate;return c>=o.snapGrid[h]?(n=o.snapGrid[h],(o.snapGrid[h+1]-n)*s<c-n&&(r+=o.params.slidesPerGroup)):c-(a=o.snapGrid[h-1])<=(o.snapGrid[h]-a)*s&&(r-=o.params.slidesPerGroup),r=Math.max(r,0),r=Math.min(r,o.slidesGrid.length-1),o.slideTo(r,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,n="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,a=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(I(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?a<t.loopedSlides-n/2||a>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),a=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),oe.nextTick(function(){t.slideTo(a)})):t.slideTo(a):a>t.slides.length-n?(t.loopFix(),a=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),oe.nextTick(function(){t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}};var h={loopCreate:function(){var s=this,e=s.params,t=s.$wrapperEl;t.children("."+e.slideClass+"."+e.slideDuplicateClass).remove();var n=t.children("."+e.slideClass);if(e.loopFillGroupWithBlank){var i=e.slidesPerGroup-n.length%e.slidesPerGroup;if(i!==e.slidesPerGroup){for(var a=0;a<i;a+=1){var o=I(g.createElement("div")).addClass(e.slideClass+" "+e.slideBlankClass);t.append(o)}n=t.children("."+e.slideClass)}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=n.length),s.loopedSlides=Math.ceil(parseFloat(e.loopedSlides||e.slidesPerView,10)),s.loopedSlides+=e.loopAdditionalSlides,s.loopedSlides>n.length&&(s.loopedSlides=n.length);var r=[],l=[];n.each(function(e,t){var i=I(t);e<s.loopedSlides&&l.push(t),e<n.length&&e>=n.length-s.loopedSlides&&r.push(t),i.attr("data-swiper-slide-index",e)});for(var h=0;h<l.length;h+=1)t.append(I(l[h].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var c=r.length-1;0<=c;
1--c)t.prepend(I(r[c].cloneNode(!0)).addClass(e.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t=e.activeIndex,i=e.slides,s=e.loopedSlides,n=e.allowSlidePrev,a=e.allowSlideNext,o=e.snapGrid,r=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var l,h=-o[t]-e.getTranslate();t<s?(l=i.length-3*s+t,l+=s,e.slideTo(l,0,!1,!0)&&0!=h&&e.setTranslate((r?-e.translate:e.translate)-h)):t>=i.length-s&&(l=-i.length+t+s,l+=s,e.slideTo(l,0,!1,!0)&&0!=h&&e.setTranslate((r?-e.translate:e.translate)-h)),e.allowSlidePrev=n,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}};var c={setGrabCursor:function(e){var t;T.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||((t=this.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){T.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}};var d,u,p,f,m,v,b,_,y,w,x,C,S,k,E,M={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&T.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var n=s+1;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&i.prepend(e[a]);n=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&T.observer||this.update(),this.slideTo(n,0,!1)},addSlide:function(e,t){var i=this,s=i.$wrapperEl,n=i.params,a=i.activeIndex;n.loop&&(a-=i.loopedSlides,i.loopDestroy(),i.slides=s.children("."+n.slideClass));var o=i.slides.length;if(e<=0)i.prependSlide(t);else if(o<=e)i.appendSlide(t);else{for(var r=e<a?a+1:a,l=[],h=o-1;e<=h;--h){var c=i.slides.eq(h);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&s.append(t[d]);r=e<a?a+t.length:a}else s.append(t);for(var u=0;u<l.length;u+=1)s.append(l[u]);n.loop&&i.loopCreate(),n.observer&&T.observer||i.update(),n.loop?i.slideTo(r+i.loopedSlides,0,!1):i.slideTo(r,0,!1)}},removeSlide:function(e){var t=this,i=t.params,s=t.$wrapperEl,n=t.activeIndex;i.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=s.children("."+i.slideClass));var a,o=n;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)a=e[r],t.slides[a]&&t.slides.eq(a).remove(),a<o&&--o;o=Math.max(o,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<o&&--o,o=Math.max(o,0);i.loop&&t.loopCreate(),i.observer&&T.observer||t.update(),i.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},D=(d=ae.navigator.platform,u=ae.navigator.userAgent,p={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!ae.cordova&&!ae.phonegap),phonegap:!(!ae.cordova&&!ae.phonegap),electron:!1},f=ae.screen.width,m=ae.screen.height,v=u.match(/(Android);?[\s\/]+([\d.]+)?/),b=u.match(/(iPad).*OS\s([\d_]+)/),_=u.match(/(iPod)(.*OS\s([\d_]+))?/),y=!b&&u.match(/(iPhone\sOS|iOS)\s([\d_]+)/),w=0<=u.indexOf("MSIE ")||0<=u.indexOf("Trident/"),x=0<=u.indexOf("Edge/"),C=0<=u.indexOf("Gecko/")&&0<=u.indexOf("Firefox/"),S="Win32"===d,k=0<=u.toLowerCase().indexOf("electron"),E="MacIntel"===d,!b&&E&&T.touch&&(1024===f&&1366===m||834===f&&1194===m||834===f&&1112===m||768===f&&1024===m)&&(b=u.match(/(Version)\/([\d.]+)/),E=!1),p.ie=w,p.edge=x,p.firefox=C,v&&!S&&(p.os="android",p.osVersion=v[2],p.android=!0,p.androidChrome=0<=u.toLowerCase().indexOf("chrome")),(b||y||_)&&(p.os="ios",p.ios=!0),y&&!_&&(p.osVersion=y[2].replace(/_/g,"."),p.iphone=!0),b&&(p.osVersion=b[2].replace(/_/g,"."),p.ipad=!0),_&&(p.osVersion=_[3]?_[3].replace(/_/g,"."):null,p.ipod=!0),p.ios&&p.osVersion&&0<=u.indexOf("Version/")&&"10"===p.osVersion.split(".")[0]&&(p.osVersion=u.toLowerCase().split("version/")[1].split(" ")[0]),p.webView=!(!(y||b||_)||!u.match(/.*AppleWeb
1Kit(?!.*Safari)/i)&&!ae.navigator.standalone)||ae.matchMedia&&ae.matchMedia("(display-mode: standalone)").matches,p.webview=p.webView,p.standalone=p.webView,p.desktop=!(p.ios||p.android)||k,p.desktop&&(p.electron=k,p.macos=E,p.windows=S,p.macos&&(p.os="macos"),p.windows&&(p.os="windows")),p.pixelRatio=ae.devicePixelRatio||1,p);function P(){var e,t,i,s=this,n=s.params,a=s.el;a&&0===a.offsetWidth||(n.breakpoints&&s.setBreakpoint(),e=s.allowSlideNext,t=s.allowSlidePrev,i=s.snapGrid,s.allowSlideNext=!0,s.allowSlidePrev=!0,s.updateSize(),s.updateSlides(),s.updateSlidesClasses(),("auto"===n.slidesPerView||1<n.slidesPerView)&&s.isEnd&&!s.params.centeredSlides?s.slideTo(s.slides.length-1,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0),s.autoplay&&s.autoplay.running&&s.autoplay.paused&&s.autoplay.run(),s.allowSlidePrev=t,s.allowSlideNext=e,s.params.watchOverflow&&i!==s.snapGrid&&s.checkOverflow())}var z=!1;function O(){}var A,H={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},L={update:s,translate:n,transition:o,slide:r,loop:h,grabCursor:c,manipulation:M,events:{attachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,n=e.wrapperEl;e.onTouchStart=function(e){var t,i,s,n,a,o,r,l,h=this,c=h.touchEventsData,d=h.params,u=h.touches;h.animating&&d.preventInteractionOnTransition||((t=e).originalEvent&&(t=t.originalEvent),i=I(t.target),"wrapper"===d.touchEventsTarget&&!i.closest(h.wrapperEl).length||(c.isTouchEvent="touchstart"===t.type,!c.isTouchEvent&&"which"in t&&3===t.which||!c.isTouchEvent&&"button"in t&&0<t.button||c.isTouched&&c.isMoved||(
vendor: 4,014 bytes, line 1
1d.noSwiping&&i.closest(d.noSwipingSelector?d.noSwipingSelector:"."+d.noSwipingClass)[0]?h.allowClick=!0:d.swipeHandler&&!i.closest(d.swipeHandler)[0]||(u.currentX="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,u.currentY="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY,s=u.currentX,n=u.currentY,a=d.edgeSwipeDetection||d.iOSEdgeSwipeDetection,o=d.edgeSwipeThreshold||d.iOSEdgeSwipeThreshold,a&&(s<=o||s>=ae.screen.width-o)||(oe.extend(c,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=s,u.startY=n,c.touchStartTime=oe.now(),h.allowClick=!0,h.updateSize(),h.swipeDirection=void 0,0<d.threshold&&(c.allowThresholdMove=!1),"touchstart"!==t.type&&(r=!0,i.is(c.formElements)&&(r=!1),g.activeElement&&I(g.activeElement).is(c.formElements)&&g.activeElement!==i[0]&&g.activeElement.blur(),l=r&&h.allowTouchMove&&d.touchStartPreventDefault,(d.touchStartForcePreventDefault||l)&&t.preventDefault()),h.emit("touchStart",t))))))}.bind(e),e.onTouchMove=function(e){var t=this,i=t.touchEventsData,s=t.params,n=t.touches,a=t.rtlTranslate,o=e;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==o.type){var r="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),l="touchmove"===o.type?r.pageX:o.pageX,h="touchmove"===o.type?r.pageY:o.pageY;if(o.preventedByNestedSwiper)return n.startX=l,void(n.startY=h);if(!t.allowTouchMove)return t.allowClick=!1,void(i.isTouched&&(oe.extend(n,{startX:l,startY:h,currentX:l,currentY:h}),i.touchStartTime=oe.now()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(t.isVertical()){if(h<n.startY&&t.translate<=t.maxTranslate()||h>n.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<n.startX&&t.translate<=t.maxTranslate()||l>n.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&g.activeElement&&o.target===g.activeElement&&I(o.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",o),!(o.targetTouches&&1<o.targetTouches.length)){n.currentX=l,n.currentY=h;var c,d=n.currentX-n.startX,u=n.currentY-n.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(u,2))<t.params.threshold))if(void 0===i.isScrolling&&(t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:25<=d*d+u*u&&(c=180*Math.atan2(Math.abs(u),Math.abs(d))/Math.PI,i.isScrolling=t.isHorizontal()?c>s.touchAngle:90-c>s.touchAngle)),i.isScrolling&&t.emit("touchMoveOpposite",o),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){t.allowClick=!1,s.cssMode||o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(),i.isMoved||(s.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",o)),t.emit("sliderMove",o),i.isMoved=!0;var p=t.isHorizontal()?d:u;n.diff=p,p*=s.touchRatio,a&&(p=-p),t.swipeDirection=0<p?"prev":"next",i.currentTranslate=p+i.startTranslate;var f=!0,m=s.resistanceRatio;if(s.touchReleaseOnEdges&&(m=0),0<p&&i.currentTranslate>t.minTranslate()?(f=!1,s.resistance&&(i.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+i.startTranslate+p,m))):p<0&&i.currentTranslate<t.maxTranslate()&&(f=!1,s.resistance&&(i.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-i.startTranslate-p,m))),f&&(o.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),0<s.threshold){if(!(Math.abs(p)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
1if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:oe.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",o)}.bind(e),e.onTouchEnd=function(e){var t=this,i=t.touchEventsData,s=t.params,n=t.touches,a=t.rtlTranslate,o=t.$wrapperEl,r=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,d,u,p,f,m=oe.now(),g=m-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap click",h),g<300&&m-i.lastClickTime<300&&t.emit("doubleTap doubleClick",h)),i.lastClickTime=oe.now(),oe.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===n.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=s.followFinger?a?t.translate:-t.translate:-i.currentTranslate,!s.cssMode)if(s.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){1<i.velocities.length?(d=i.velocities.pop(),u=i.velocities.pop(),p=d.position-u.position,f=d.time-u.time,t.velocity=p/f,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(150<f||300<oe.now()-d.time)&&(t.velocity=0)):t.velocity=0,t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;
1var v=1e3*s.freeModeMomentumRatio,b=t.velocity*v,_=t.translate+b;a&&(_=-_);var y,w,x,C,S=!1,T=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(_<t.maxTranslate())s.freeModeMomentumBounce?(_+t.maxTranslate()<-T&&(_=t.maxTranslate()-T),y=t.maxTranslate(),S=!0,i.allowMomentumBounce=!0):_=t.maxTranslate(),s.loop&&s.centeredSlides&&(w=!0);else if(_>t.minTranslate())s.freeModeMomentumBounce?(_-t.minTranslate()>T&&(_=t.minTranslate()+T),y=t.minTranslate(),S=!0,i.allowMomentumBounce=!0):_=t.minTranslate(),s.loop&&s.centeredSlides&&(w=!0);else if(s.freeModeSticky){for(var k,E=0;E<l.length;E+=1)if(l[E]>-_){k=E;break}_=-(_=Math.abs(l[k]-_)<Math.abs(l[k-1]-_)||"next"===t.swipeDirection?l[k]:l[k-1])}if(w&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)v=a?Math.abs((-_-t.translate)/t.velocity):Math.abs((_-t.translate)/t.velocity),s.freeModeSticky&&(v=(x=Math.abs((a?-_:_)-t.translate))<(C=t.slidesSizesGrid[t.activeIndex])?s.speed:x<2*C?1.5*s.speed:2.5*s.speed);else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&S?(t.updateProgress(y),t.setTransition(v),t.setTranslate(_),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(y),o.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(_),t.setTransition(v),t.setTranslate(_),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(_),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||g>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,D=t.slidesSizesGrid[0],P=0;P<r.length;P+=P<s.slidesPerGroupSkip?1:s.slidesPerGroup){var I=P<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==r[P+I]?c>=r[P]&&c<r[P+I]&&(D=r[(M=P)+I]-r[P]):c>=r[P]&&(M=P,D=r[r.length-1]-r[r.length-2])}var z=(c-r[M])/D,O=M<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(g>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=s.longSwipesRatio?t.slideTo(M+O):t.slideTo(M)),"prev"===t.swipeDirection&&(z>1-s.longSwipesRatio?t.slideTo(M+O):t.slideTo(M))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(h.target===t.navigation.nextEl||h.target===t.navigation.prevEl)?h.target===t.navigation.nextEl?t.slideTo(M+O):t.slideTo(M):("next"===t.swipeDirection&&t.slideTo(M+O),"prev"===t.swipeDirection&&t.slideTo(M))}}}.bind(e),t.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var s=e.maxTranslate()-e.minTranslate();(0==s?0:(e.translate-e.minTranslate())/s)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}.bind(e)),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var a,o=!!t.nested;!T.touch&&T.pointerEvents?(s.addEventListener(i.start,e.onTouchStart,!1),g.addEventListener(i.move,e.onTouchMove,o),g.addEventListener(i.end,e.onTouchEnd,!1)):(T.touch&&(a=!("touchstart"!==i.start||!T.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1},s.addEventListener(i.start,e.onTouchStart,a),s.addEventListener(i.move,e.onTouchMove,T.passiveListener?{passive:!1,capture:o}:o),s.addEventListener(i.end,e.onTouchEnd,a),i.cancel&&s.addEventListener(i.cancel,e.onTouchEnd,a),z||(g.addEventListener("touchstart",O),z=!0)),(t.simulateTouch&&!D.ios&&!D.android||t.simulateTouch&&!T.touch&&D.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),g.addEventListener("mousemove",e.onTouchMove,o),g.addEventListener("mouseup",e.onTouchEnd,!1))),(t.preventClicks||t.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),t.cssMode&&n.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(D.ios||D.android?"resize orientationchange observerUpdate":"resize observerUpdate",P,!0):e.on("observerUpdate",P,!0)},detachEvents:function(){var e,t=this,i=t.params,s=t.touchEvents,n=t.el,a=t.wrapperEl,o=!!i.nested;!T.touch&&T.pointerEvents?(n.removeEventListener(s.start,t.onTouchStart,!1),g.removeEventListener(s.move,t.onTouchMove,o),g.removeEventListener(s.end,t.onTouchEnd,!1)):(T.touch&&(e=!("onTouchStart"!==s.start||!T.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},n.removeEventListener(s.start,t.onTouchStart,e),n.removeEventListener(s.move,t.onTouchMove,o),n.removeEventListener(s.end,t.onTouchEnd,e),s.cancel&&n.removeEventListener(s.cancel,t.onTouchEnd,e)),(i.simulateTouch&&!D.ios&&!D.android||i.simulateTouch&&!T.touch&&D.ios)&&(n.removeEventListener("mousedown",t.onTouchStart,!1),g.removeEventListener("mousemove",t.onTouchMove,o),g.removeEventListener("mouseup",t.onTouchEnd,!1))),(i.preventClicks||i.preventClicksPropagation)&&n.removeEventListener("click",t.onClick,!0),i.cssMode&&a.removeEventListener("scroll",t.onScroll),t.off(D.ios||D.android?"resize orientationchange observerUpdate":"resize observerUpdate",P)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,s=e.loopedSlides;void 0===s&&(s=0);var n,a,o,r,l,h,c,d=e.params,u=e.$el,p=d.breakpoints;
1!p||p&&0===Object.keys(p).length||(n=e.getBreakpoint(p))&&e.currentBreakpoint!==n&&((a=n in p?p[n]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=a[e];void 0!==t&&(a[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),o=a||e.originalParams,r=1<d.slidesPerColumn,l=1<o.slidesPerColumn,r&&!l?u.removeClass(d.containerModifierClass+"multirow "+d.containerModifierClass+"multirow-column"):!r&&l&&(u.addClass(d.containerModifierClass+"multirow"),"column"===o.slidesPerColumnFill&&u.addClass(d.containerModifierClass+"multirow-column")),h=o.direction&&o.direction!==d.direction,c=d.loop&&(o.slidesPerView!==d.slidesPerView||h),h&&i&&e.changeDirection(),oe.extend(e.params,o),oe.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=n,c&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-s+e.loopedSlides,0,!1)),e.emit("breakpoint",o))},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map(function(e){if("string"!=typeof e||0!==e.indexOf("@"))return{value:e,point:e};var t=parseFloat(e.substr(1));return{value:ae.innerHeight*t,point:e}});i.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<i.length;s+=1){var n=i[s],a=n.point;n.value<=ae.innerWidth&&(t=a)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.params,i=e.isLocked,s=0<e.slides.length&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&s?e.isLocked=s<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,i=this.params,e=this.rtl,s=this.$el,n=[];n.push("initialized"),n.push(i.direction),i.freeMode&&n.push("free-mode"),i.autoHeight&&n.push("autoheight"),e&&n.push("rtl"),1<i.slidesPerColumn&&(n.push("multirow"),"column"===i.slidesPerColumnFill&&n.push("multirow-column")),D.android&&n.push("android"),D.ios&&n.push("ios"),i.cssMode&&n.push("css-mode"),n.forEach(function(e){t.push(i.containerModifierClass+e)}),s.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,s,n,a){var o;function r(){a&&a()}(!e.complete||!n)&&t?((o=new ae.Image).onload=r,o.onerror=r,s&&(o.sizes=s),i&&(o.srcset=i),t&&(o.src=t)):r()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},N={},W=function(d){function u(){for(var n,e=[],t=arguments.length;t--;)e[t]=arguments[t];n=(n=1===e.length&&e[0].constructor&&e[0].constructor===Object?e[0]:(s=e[0],e[1]))||{},n=oe.extend({},n),s&&!n.el&&(n.el=s),d.call(this,n),Object.keys(L).forEach(function(t){Object.keys(L[t]).forEach(function(e){u.prototype[e]||(u.prototype[e]=L[t][e])})});var a=this;void 0===a.modules&&(a.modules={}),Object.keys(a.modules).forEach(function(e){var t=a.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(!(i in n&&"enabled"in s))return;!0===n[i]&&(n[i]={enabled:!0}),"object"!=typeof n[i]||"enabled"in n[i]||(n[i].enabled=!0),n[i]||(n[i]={enabled:!1})}});var i=oe.extend({},H);a.useModulesParams(i),a.params=oe.extend({},i,N,n),a.originalParams=oe.extend({},a.params),a.passedParams=oe.extend({},n);var s,o,r,l,h=(a.$=I)(a.params.el);if(s=h[0]){if(1<h.length){var c=[];return h.each(function(e,t){var i=oe.extend({},n,{el:t});c.push(new u(i))}),c}return s.swiper=a,h.data("swiper",a),s&&s.shadowRoot&&s.shadowRoot.querySelector?(o=I(s.shadowRoot.querySelector("."+a.params.wrapperClass))).children=function(e){return h.children(e)}:o=h.children("."+a.params.wrapperClass),oe.extend(a,{$el:h,el:s,$wrapperEl:o,wrapperEl:o[0],classNames:[],slides:I(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===a.params.direction},isVertical:function(){return"vertical"===a.params.direction},rtl:"rtl"===s.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===a.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===o.css("display"),activeIndex:0,realIndex:0,isBeg
vendor: 4,545 bytes, line 1
1inning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:(r=["touchstart","touchmove","touchend","touchcancel"],l=["mousedown","mousemove","mouseup"],T.pointerEvents&&(l=["pointerdown","pointermove","pointerup"]),a.touchEventsTouch={start:r[0],move:r[1],end:r[2],cancel:r[3]},a.touchEventsDesktop={start:l[0],move:l[1],end:l[2]},T.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:oe.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.useModules(),a.params.init&&a.init(),a}}d&&(u.__proto__=d),u.prototype=Object.create(d&&d.prototype);var e={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return(u.prototype.constructor=u).prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,n=this.activeIndex,a=1;if(e.centeredSlides){for(var o,r=t[n].swiperSlideSize,l=n+1;l<t.length;l+=1)t[l]&&!o&&(a+=1,s<(r+=t[l].swiperSlideSize)&&(o=!0));for(var h=n-1;0<=h;--h)t[h]&&!o&&(a+=1,s<(r+=t[h].swiperSlideSize)&&(o=!0))}else for(var c=n+1;c<t.length;c+=1)i[c]-i[n]<s&&(a+=1);return a},u.prototype.update=function(){var e,t,i=this;function s(){var e=i.rtlTranslate?-1*i.translate:i.translate,t=Math.min(Math.max(e,i.maxTranslate()),i.minTranslate());i.setTranslate(t),i.updateActiveIndex(),i.updateSlidesClasses()}i&&!i.destroyed&&(e=i.snapGrid,(t=i.params).breakpoints&&i.setBreakpoint(),i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.params.freeMode?(s(),i.params.autoHeight&&i.updateAutoHeight()):(("auto"===i.params.slidesPerView||1<i.params.slidesPerView)&&i.isEnd&&!i.params.centeredSlides?i.slideTo(i.slides.length-1,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0))||s(),t.watchOverflow&&e!==i.snapGrid&&i.checkOverflow(),i.emit("update"))},u.prototype.changeDirection=function(i,e){void 0===e&&(e=!0);var t=this,s=t.params.direction;return(i=i||("horizontal"===s?"vertical":"horizontal"))===s||"horizontal"!==i&&"vertical"!==i||(t.$el.removeClass(""+t.params.containerModifierClass+s).addClass(""+t.params.containerModifierClass+i),t.params.direction=i,t.slides.each(function(e,t){"vertical"===i?t.style.width="":t.style.height=""}),t.emit("changeDirection"),e&&t.update()),t},u.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},u.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,n=i.$el,a=i.$wrapperEl,o=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),n.removeAttr("style"),a.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),oe.deleteProps(i)),i.destroyed=!0),null},u.extendDefaults=function(e){oe.extend(N,e)},e.extendedDefaults.get=function(){return N},e.defaults.get=function(){return H},e.Class.get=function(){return d},e.$.get=function(){return I},Object.defineProperties(u,e),u}(e),F={name:"device",proto:{device:D},static:{device:D}},$={name:"support",proto:{support:T},static:{support:T}},R={isEdge:!!ae.navigator.userAgent.match(/Edge/g),isSafari:0<=(A=ae.navigator.userAgent.toLowerCase()).indexOf("safari")&&A.indexOf("chrome")<0&&A.indexOf("android")<0,isUiWebView:/(iPhone|iPod|iPad).*AppleWeb
1Kit(?!.*Safari)/i.test(ae.navigator.userAgent)},B={name:"browser",proto:{browser:R},static:{browser:R}},Y={name:"resize",create:function(){var e=this;oe.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){ae.addEventListener("resize",this.resize.resizeHandler),ae.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){ae.removeEventListener("resize",this.resize.resizeHandler),ae.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},j={func:ae.MutationObserver||ae.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,s=new j.func(function(e){var t;1!==e.length?(t=function(){i.emit("observerUpdate",e[0])},ae.requestAnimationFrame?ae.requestAnimationFrame(t):ae.setTimeout(t,0)):i.emit("observerUpdate",e[0])});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){if(T.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},q={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){oe.extend(this,{observer:{init:j.init.bind(this),attach:j.attach.bind(this),destroy:j.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},V={update:function(e){var t=this,i=t.params,s=i.slidesPerView,n=i.slidesPerGroup,a=i.centeredSlides,o=t.params.virtual,r=o.addSlidesBefore,l=o.addSlidesAfter,h=t.virtual,c=h.from,d=h.to,u=h.slides,p=h.slidesGrid,f=h.renderSlide,m=h.offset;t.updateActiveIndex();var g,v=t.activeIndex||0,b=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",_=a?(g=Math.floor(s/2)+n+r,Math.floor(s/2)+n+l):(g=s+(n-1)+r,n+l),y=Math.max((v||0)-_,0),w=Math.min((v||0)+g,u.length-1),x=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function C(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(oe.extend(t.virtual,{from:y,to:w,offset:x,slidesGrid:t.slidesGrid}),c===y&&d===w&&!e)return t.slidesGrid!==p&&x!==m&&t.slides.css(b,x+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:x,from:y,to:w,slides:function(){for(var e=[],t=y;t<=w;t+=1)e.push(u[t]);return e}()}),void C();var S=[],T=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var k=c;k<=d;k+=1)(k<y||w<k)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+k+'"]').remove();for(var E=0;E<u.length;E+=1)y<=E&&E<=w&&(void 0===d||e?T.push(E):(d<E&&T.push(E),E<c&&S.push(E)));T.forEach(function(e){t.$wrapperEl.append(f(u[e],e))}),S.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(f(u[e],e))}),t.$wrapperEl.children(".swiper-slide").css(b,x+"px"),C()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var s=i.renderSlide?I(i.renderSlide.call(this,e,t)):I('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=s),s},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var s,n,t=this.activeIndex,i=t+1,a=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&this.virtual.slides.unshift(e[o]);i=t+e.length,a=e.length}else this.virtual.slides.unshift(e);this.params.virtual.cache&&(s=this.virtual.cache,n={}
1,Object.keys(s).forEach(function(e){var t=s[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1),n[parseInt(e,10)+a]=t}),this.virtual.cache=n),this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;--i)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&--t,t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&--t,t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},G={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){oe.extend(this,{virtual:{update:V.update.bind(this),appendSlide:V.appendSlide.bind(this),prependSlide:V.prependSlide.bind(this),removeSlide:V.removeSlide.bind(this),removeAllSlides:V.removeAllSlides.bind(this),renderSlide:V.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e;this.params.virtual.enabled&&(this.classNames.push(this.params.containerModifierClass+"virtual"),e={watchSlidesProgress:!0},oe.extend(this.params,e),oe.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
1))},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},X={handle:function(e){var t=this,i=t.rtlTranslate,s=e;s.originalEvent&&(s=s.originalEvent);var n=s.keyCode||s.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===n||t.isVertical()&&40===n||34===n))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===n||t.isVertical()&&38===n||33===n))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||g.activeElement&&g.activeElement.nodeName&&("input"===g.activeElement.nodeName.toLowerCase()||"textarea"===g.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===n||34===n||37===n||39===n||38===n||40===n)){var a=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var o=ae.innerWidth,r=ae.innerHeight,l=t.$el.offset();i&&(l.left-=t.$el[0].scrollLeft);for(var h=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],c=0;c<h.length;c+=1){var d=h[c];0<=d[0]&&d[0]<=o&&0<=d[1]&&d[1]<=r&&(a=!0)}if(!a)return}t.isHorizontal()?(33!==n&&34!==n&&37!==n&&39!==n||(s.preventDefault?s.preventDefault():s.returnValue=!1),(34!==n&&39!==n||i)&&(33!==n&&37!==n||!i)||t.slideNext(),(33!==n&&37!==n||i)&&(34!==n&&39!==n||!i)||t.slidePrev()):(33!==n&&34!==n&&38!==n&&40!==n||(s.preventDefault?s.preventDefault():s.returnValue=!1),34!==n&&40!==n||t.slideNext(),33!==n&&38!==n||t.slidePrev()),t.emit("keyPress",n)}},enable:function(){this.keyboard.enabled||(I(g).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(I(g).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},U={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){oe.extend(this,{keyboard:{enabled:!1,enable:X.enable.bind(this),disable:X.disable.bind(this),handle:X.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var K={lastScrollTime:oe.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return-1<ae.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":((i=(t="onwheel")in g)||((e=g.createElement("div")).setAttribute(t,"return;"),i="function"==typeof e[t]),!i&&g.implementation&&g.implementation.hasFeature&&!0!==g.implementation.hasFeature("","")&&(i=g.implementation.hasFeature("Events.wheel","3.0")),i?"wheel":"mousewheel");var e,t,i},normalize:function(e){var t=0,i=0,s=0,n=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,n=10*i,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=n,n=0),(s||n)&&e.deltaMode&&(1===e.deltaMode?(s*=40,n*=40):(s*=800,n*=800)),s&&!t&&(t=s<1?-1:1),n&&!i&&(i=n<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:n}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,s=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var n=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(n=I(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!n[0].contains(t.target)&&!s.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var a=0,o=i.rtlTranslate?-1:1,r=K.normalize(t);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return!0;a=r.pixelX*o}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return!0;a=r.pixelY}else a=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*o:-r.pixelY;if(0===a)return!0;if(s.invert&&(a=-a),i.params.freeMode){var l={time:oe.now(),delta:Math.abs(a),direction:Math.sign(a)},h=i.mousewheel.lastEventBeforeSnap,c=h&&l.time<h.time+500&&l.delta<=h.delta&&l.direction===h.direction;if(!c){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var d,u,p,f,m=i.getTranslate()+a*s.sensitivity,g=i.isBeginning,v=i.isEnd;if(m>=i.minTranslate()&&(m=i.minTranslate()),m<=i.maxTranslate()&&(m=i.maxTranslate()),i.setTransition(0),i.setTranslate(m),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!g&&i.isBeginning||!v&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0,15<=(d=i.mousewheel.recentWheelEvents).length&&d.shift(),u=d.length?d[d.length-1]:void 0,p=d[0],d.push(l),u&&(l.delta>u.delta||l.direction!==u.direction)?d.splice(0):15<=d.length&&l.time-p.time<500&&1<=p.delta-l.delta&&l.delta<=6&&(f=0<a?.8:.2,i.mousewheel.lastEventBeforeSnap=l,d.splice(0),i.mousewheel.timeout=oe.nextTick(function(){i.slideToClosest(i.params.speed,!0,void 0,f)},0)),i.mousewheel.timeout||(i.mousewheel.timeout=oe.nextTick(function(){i.mousewheel.lastEventBeforeSnap=l,d.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))),c||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),m===i.minTranslate()||m===i.maxTranslate())return!0}}else{var b={time:oe.now(),delta:Math.abs(a),direction:Math.sign(a),raw:e},_=i.mousewheel.recentWheelEvents;2<=_.length&&_.shift();var y=_.length?_[_.length-1]:void 0;if(_.push(b),(!y||b.direction!==y.direction||b.delta>y.delta)&&i.mousewheel.animateSlider(b),i.mousewheel.releaseScroll(b))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this;return 6<=e.delta&&oe.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new ae.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}
1else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=K.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(i=I(e.params.mousewheel.eventsTarged)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=K.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=I(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),!(this.mousewheel.enabled=!1)}},Q={update:function(){var e,t,i,s=this.params.navigation;this.params.loop||(t=(e=this.navigation).$nextEl,(i=e.$prevEl)&&0<i.length&&(this.isBeginning?i.addClass(s.disabledClass):i.removeClass(s.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](s.lockClass)),t&&0<t.length&&(this.isEnd?t.addClass(s.disabledClass):t.removeClass(s.disabledClass),t[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](s.lockClass)))},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this,s=i.params.navigation;(s.nextEl||s.prevEl)&&(s.nextEl&&(e=I(s.nextEl),i.params.uniqueNavElements&&"string"==typeof s.nextEl&&1<e.length&&1===i.$el.find(s.nextEl).length&&(e=i.$el.find(s.nextEl))),s.prevEl&&(t=I(s.prevEl),i.params.uniqueNavElements&&"string"==typeof s.prevEl&&1<t.length&&1===i.$el.find(s.prevEl).length&&(t=i.$el.find(s.prevEl))),e&&0<e.length&&e.on("click",i.navigation.onNextClick),t&&0<t.length&&t.on("click",i.navigation.onPrevClick),oe.extend(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},Z={update:function(){var e=this,t=e.rtl,n=e.params.pagination;if(n.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,i,s,o,r,l=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,h=e.pagination.$el,c=e.params.loop?Math.ceil((l-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>l-1-2*e.loopedSlides&&(a-=l-2*e.loopedSlides),c-1<a&&(a-=c),a<0&&"bullets"!==e.params.paginationType&&(a=c+a)):a=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var d,u,p,f,m,g,v=e.pagination.bullets;if(n.dynamicBullets&&(e.pagination.bulletSize=v.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),h.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),1<n.dynamicMainBullets&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),d=a-e.pagination.dynamicBulletIndex,p=((u=d+(Math.min(v.length,n.dynamicMainBullets)-1))+d)/2),v.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),1<h.length)v.each(function(e,t){var i=I(t),s=i.index();s===a&&i.addClass(n.bulletActiveClass),n.dynamicBullets&&(d<=s&&s<=u&&i.addClass(n.bulletActiveClass+"-main"),s===d&&i.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),s===u&&i.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))});else{var b=v.eq(a),_=b.index();if(b.addClass(n.bulletActiveClass),n.dynamicBullets){for(var y=v.eq(d),w=v.eq(u),x=d;x<=u;x+=1)v.eq(x).addClass(n.bulletActiveClass+"-main");if(e.params.loop)if(_>=v.length-n.dynamicMainBullets){for(var C=n.dynamicMainBullets;0<=C;--C)v.eq(v.length-C).addClass(n.bulletActiveClass+"-main");v.eq(v.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else y.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),w.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else y.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),w.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}n.dynamicBullets&&(f=Math.min(v.length,n.dynamicMainBullets+4),m=(e.pagination.bulletSize*f-e.pagination.bulletSize)/2-p*e.pagination.bulletSize,g=t?"right":"left",v.css(e.isHorizontal()?g:"top",m+"px"))}"fraction"===n.type&&(h.find("."+n.currentClass).text(n.formatFractionCurrent(a+1)),h.find("."+n.totalClass).text(n.formatFractionTotal(c))),"progressbar"===n.type&&(i=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical",s=(a+1)/c,r=o=1,"horizontal"===i?o=s:r=s,h.find("."+n.progressbarFillClass).transform("translate3d(0,
10,0) scaleX("+o+") scaleY("+r+")").transition(e.params.speed)),"custom"===n.type&&n.renderCustom?(h.html(n.renderCustom(e,a+1,c)),e.emit("paginationRender",e,h[0])):e.emit("paginationUpdate",e,h[0]),h[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,n="";if("bullets"===t.type){for(var a=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,o=0;o<a;o+=1)t.renderBullet?n+=t.renderBullet.call(e,o,t.bulletClass):n+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";s.html(n),e.pagination.bullets=s.find("."+t.bulletClass)}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',s.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',s.html(n)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e,i=this,t=i.params.pagination;!t.el||0!==(e=I(t.el)).length&&(i.params.uniqueNavElements&&"string"==typeof t.el&&1<e.length&&1===i.$el.find(t.el).length&&(e=i.$el.find(t.el)),"bullets"===t.type&&t.clickable&&e.addClass(t.clickableClass),e.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(e.addClass(""+t.modifierClass+t.type+"-dynamic"),i.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.addClass(t.progressbarOppositeClass),t.clickable&&e.on("click","."+t.bulletClass,function(e){e.preventDefault();var t=I(this).index()*i.params.slidesPerGroup;i.params.loop&&(t+=i.loopedSlides),i.slideTo(t)}),oe.extend(i.pagination,{$el:e,el:e[0]}))},destroy:function(){var e,t=this.params.pagination;t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length&&((e=this.pagination.$el).removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&e.off("click","."+t.bulletClass))}},J={setTranslate:function(){var e,t,i,s,n,a,o,r,l,h;this.params.scrollbar.el&&this.scrollbar.el&&(e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,n=e.trackSize,a=e.$dragEl,o=e.$el,r=this.params.scrollbar,h=(n-(l=s))*i,t?0<(h=-h)?(l=s-h,h=0):n<-h+s&&(l=n+h):h<0?(l=s+h,h=0):n<h+s&&(l=n-h),this.isHorizontal()?(a.transform("translate3d("+h+"px, 0, 0)"),a[0].style.width=l+"px"):(a.transform("translate3d(0px, "+h+"px, 0)"),a[0].style.height=l+"px"),r.hide&&(clearTimeout(this.scrollbar.timeout),o[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3)))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,i,s,n,a,o,r=this;r.params.scrollbar.el&&r.scrollbar.el&&(t=(e=r.scrollbar).$dragEl,i=e.$el,t[0].style.width="",t[0].style.height="",s=r.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,a=(n=r.size/r.virtualSize)*(s/r.size),o="auto"===r.params.scrollbar.dragSize?s*n:parseInt(r.params.scrollbar.dragSize,10),r.isHorizontal()?t[0].style.width=o+"px":t[0].style.height=o+"px",i[0].style.display=1<=n?"none":"",r.params.scrollbar.hide&&(i[0].style.opacity=0),oe.extend(e,{trackSize:s,divider:n,moveDivider:a,dragSize:o}),e.$el[r.params.watchOverflow&&r.isLocked?"addClass":"removeClass"](r.params.scrollbar.lockClass))},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t=this,i=t.scrollbar,s=t.rtlTranslate,n=i.$el,a=i.dragSize,o=i.trackSize,r=i.dragStartPos,l=(i.getPointerPosition(e)-n.offset()[t.isHorizontal()?"left":"top"]-(null!==r?r:a/2))/(o-a);l=Math.max(Math.min(l,1),0),s&&(l=1-l);var h=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*l;t.updateProgress(h),t.setTranslate(h),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,s=t.scrollbar,n=t.$wrapperEl,a=s.$el,o=s.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===o[0]||e.target===o?s.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),o.transition(100),s.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),a.transition(0),i.hide&&a.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)}
1,onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,n=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),n.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,s=t.scrollbar,n=t.$wrapperEl,a=s.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),n.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=oe.nextTick(function(){a.css("opacity",0),a.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e,t,i,s,n,a,o,r=this;r.params.scrollbar.el&&(e=r.scrollbar,t=r.touchEventsTouch,i=r.touchEventsDesktop,s=r.params,n=e.$el[0],a=!(!T.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!T.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1},T.touch?(n.addEventListener(t.start,r.scrollbar.onDragStart,a),n.addEventListener(t.move,r.scrollbar.onDragMove,a),n.addEventListener(t.end,r.scrollbar.onDragEnd,o)):(n.addEventListener(i.start,r.scrollbar.onDragStart,a),g.addEventListener(i.move,r.scrollbar.onDragMove,a),g.addEventListener(i.end,r.scrollbar.onDragEnd,o)))},disableDraggable:function(){var e,t,i,s,n,a,o,r=this;r.params.scrollbar.el&&(e=r.scrollbar,t=r.touchEventsTouch,i=r.touchEventsDesktop,s=r.params,n=e.$el[0],a=!(!T.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!T.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1},T.touch?(n.removeEventListener(t.start,r.scrollbar.onDragStart,a),n.removeEventListener(t.move,r.scrollbar.onDragMove,a),n.removeEventListener(t.end,r.scrollbar.onDragEnd,o)):(n.removeEventListener(i.start,r.scrollbar.onDragStart,a),g.removeEventListener(i.move,r.scrollbar.onDragMove,a),g.removeEventListener(i.end,r.scrollbar.onDragEnd,o)))},init:function(){var e,t,i,s,n;this.params.scrollbar.el&&(e=this.scrollbar,t=this.$el,s=I((i=this.params.scrollbar).el),this.params.uniqueNavElements&&"string"==typeof i.el&&1<s.length&&1===t.find(i.el).length&&(s=t.find(i.el)),0===(n=s.find("."+this.params.scrollbar.dragClass)).length&&(n=I('<div class="'+this.params.scrollbar.dragClass+'"></div>'),s.append(n)),oe.extend(e,{$el:s,el:s[0],$dragEl:n,dragEl:n[0]}),i.draggable&&e.enableDraggable())},destroy:function(){this.scrollbar.disableDraggable()}},ee={setTransform:function(e,t){var i,s,n=this.rtl,a=I(e),o=n?-1:1,r=a.attr("data-swiper-parallax")||"0",l=a.attr("data-swiper-parallax-x"),h=a.attr("data-swiper-parallax-y"),c=a.attr("data-swiper-parallax-scale"),d=a.attr("data-swiper-parallax-opacity");l||h?(l=l||"0",h=h||"0"):this.isHorizontal()?(l=r,h="0"):(h=r,l="0"),l=0<=l.indexOf("%")?parseInt(l,10)*t*o+"%":l*t*o+"px",h=0<=h.indexOf("%")?parseInt(h,10)*t+"%":h*t+"px",null!=d&&(i=d-(d-1)*(1-Math.abs(t)),a[0].style.opacity=i),null==c?a.transform("translate3d("+l+", "+h+", 0px)"):(s=c-(c-1)*(1-Math.abs(t)),a.transform("translate3d("+l+", "+h+", 0px) scale("+s+")"))},setTranslate:function(){var s=this,e=s.$el,t=s.slides,n=s.progress,a=s.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){s.parallax.setTransform(t,n)}),t.each(function(e,t){var i=t.progress;1<s.params.slidesPerGroup&&"auto"!==s.params.slidesPerView&&(i+=Math.ceil(e/2)-n*(a.length-1)),i=Math.min(Math.max(i,-1),1),I(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){s.parallax.setTransform(t,i)})})},setTransition:function(n){void 0===n&&(n=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e,t){var i=I(t),s=parseInt(i.attr("data-swiper-parallax-duration"),10)||n;0===n&&(s=0),i.transition(s)})}},te={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(n-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!T.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=te.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=I(e.target).closest("."+this.params.slideClass),0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+t.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),this.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!T.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=te.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(T.gestures?i.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,
10,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!T.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!D.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(D.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,s=t.image,n=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=oe.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=oe.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var a=s.width*t.scale,o=s.height*t.scale;if(!(a<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-a/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),n.prevPositionX||(n.prevPositionX=s.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=s.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(s.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(s.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(s.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(s.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=s.touchesCurrent.x,n.prevPositionY=s.touchesCurrent.y,n.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var n=300,a=300,o=s.x*n,r=i.currentX+o,l=s.y*a,h=i.currentY+l;0!==s.x&&(n=Math.abs((r-i.currentX)/s.x)),0!==s.y&&(a=Math.abs((h-i.currentY)/s.y));var c=Math.max(n,a);i.currentX=r,i.currentY=h;var d=i.width*e.scale,u=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-d/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-u/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(c).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,
10,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,n,a,o,r,l,h,c,d,u,p,f,m,g,v=this.zoom,b=this.params.zoom,_=v.gesture,y=v.image;_.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?_.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):_.$slideEl=this.slides.eq(this.activeIndex),_.$imageEl=_.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),_.$imageWrapEl=_.$imageEl.parent("."+b.containerClass)),_.$imageEl&&0!==_.$imageEl.length&&(_.$slideEl.addClass(""+b.zoomedSlideClass),i=void 0===y.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,"touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=y.touchesStart.x,y.touchesStart.y),v.scale=_.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,v.currentScale=_.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,e?(m=_.$slideEl[0].offsetWidth,g=_.$slideEl[0].offsetHeight,s=_.$slideEl.offset().left+m/2-t,n=_.$slideEl.offset().top+g/2-i,r=_.$imageEl[0].offsetWidth,l=_.$imageEl[0].offsetHeight,h=r*v.scale,c=l*v.scale,p=-(d=Math.min(m/2-h/2,0)),f=-(u=Math.min(g/2-c/2,0)),(a=s*v.scale)<d&&(a=d),p<a&&(a=p),(o=n*v.scale)<u&&(o=u),f<o&&(o=f)):o=a=0,_.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+o+"px,0)"),_.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+v.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?i.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):i.$slideEl=this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e,t,i,s=this,n=s.zoom;n.enabled||(n.enabled=!0,e=!("touchstart"!==s.touchEvents.start||!T.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1},t=!T.passiveListener||{passive:!1,capture:!0},i="."+s.params.slideClass,T.gestures?(s.$wrapperEl.on("gesturestart",i,n.onGestureStart,e),s.$wrapperEl.on("gesturechange",i,n.onGestureChange,e),s.$wrapperEl.on("gestureend",i,n.onGestureEnd,e)):"touchstart"===s.touchEvents.start&&(s.$wrapperEl.on(s.touchEvents.start,i,n.onGestureStart,e),s.$wrapperEl.on(s.touchEvents.move,i,n.onGestureChange,t),s.$wrapperEl.on(s.touchEvents.end,i,n.onGestureEnd,e),s.touchEvents.cancel&&s.$wrapperEl.on(s.touchEvents.cancel,i,n.onGestureEnd,e)),s.$wrapperEl.on(s.touchEvents.move,"."+s.params.zoom.containerClass,n.onTouchMove,t))},disable:function(){var e,t,i,s=this,n=s.zoom;n.enabled&&(s.zoom.enabled=!1,e=!("touchstart"!==s.touchEvents.start||!T.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1},t=!T.passiveListener||{passive:!1,capture:!0},i="."+s.params.slideClass,T.gestures?(s.$wrapperEl.off("gesturestart",i,n.onGestureStart,e),s.$wrapperEl.off("gesturechange",i,n.onGestureChange,e),s.$wrapperEl.off("gestureend",i,n.onGestureEnd,e)):"touchstart"===s.touchEvents.start&&(s.$wrapperEl.off(s.touchEvents.start,i,n.onGestureStart,e),s.$wrapperEl.off(s.touchEvents.move,i,n.onGestureChange,t),s.$wrapperEl.off(s.touchEvents.end,i,n.onGestureEnd,e),s.touchEvents.cancel&&s.$wrapperEl.off(s.touchEvents.cancel,i,n.onGestureEnd,e)),s.$wrapperEl.off(s.touchEvents.move,"."+s.params.zoom.containerClass,n.onTouchMove,t))}},ie={loadInSlide:function(e,l){void 0===l&&(l=!0);var h,t,c=this,d=c.params.lazy;void 0!==e&&0!==c.slides.length&&(t=(h=c.virtual&&c.params.virtual.enabled?c.$wrapperEl.children("."+c.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):c.slides.eq(e)).find("."+d.elementClass+":not(."+d.loadedClass+"):not(."+d.loadingClass+")"),!h.hasClass(d.elementClass)||h.hasClass(d.loadedClass)||h.hasClass(d.loadingClass)||(t=t.add(h[0])),0!==t.length&&t.each(function(e,t){var s=I(t);s.addClass(d.loadingClass);var n=s.attr("data-background"),a=s.attr("data-src"),o=s.attr("data-srcset"),r=s.attr("data-sizes");c.loadImage(s[0],a||n,o,r,!1,function(){var e,t,i;null==c||!c||c&&!c.params||c.destroyed||(n?(s.css("background-image",'url("'+n+'")'),s.removeAttr("data-background")):(o&&(s.attr("srcset",o),s.removeAttr("data-srcset")),r&&(s.attr("sizes",r),s.removeAttr("data-sizes")),a&&(s.attr("src",a),s.removeAttr("data-src"))),s.addClass(d.loadedClass).removeClass(d.loadingClass),h.find("."+d.preloaderClass).remove(),c.params.loop&&l&&(e=h.attr("data-swiper-slide-index"),h.hasClass(c.params.slideDuplicateClass)?(t=c.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+c.params.slideDuplicateClass+")"),c.lazy.loadInSlide(t.index(),!1)):(i=c.$wrapperEl.children("."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]'),c.lazy.loadInSlide(i.index(),!1))),c.emit("lazyImageReady",h[0],s[0]),c.params.autoHeight&&c.updateAutoHeight())}),c.emit("lazyImageLoad",h[0],s[0])}))},load:function(){var s=this,t=s.$wrapperEl,i=s.params,n=s.slides,e=s.activeIndex,a=s.virtual&&i.virtual.enabled,o=i.lazy,r=i.slidesPerView;function l(e){if(a){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(n[e])return 1}function h(e){return a?I(e).attr("data-swiper-slide-index"):I(e).index()}if("auto"===r&&(r=0),s.lazy.initialImageLoaded||(s.lazy.initialImageLoaded=!0),s.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(e,t){var i=a?I(t).attr("data-swiper-slide-index"):I(t).index();s.lazy.loadInSlide(i)});else if(1<r)for(var c=e;c<e+r;c+=1)l(c)&&s.lazy.loadInSlide(c);else s.lazy.loadInSlide(e);if(o.loadPrevNext)if(1<r||o.loadPrevNextAmount&&1<o.loadPrevNextAmount){for(var d=o.loadPrevNextAmount,u=r,p=Math.min(e+u+Math.max(d,u),n.length),f=Math.max(e-Math.max(u,d),0),m=e+r;m<p;m+=1)l(m)&&s.lazy.loadInSlide(m);for(var g=f;g<e;g+=1)l(g)&&s.lazy.loadInSlide(g)}else{var v=t.children("."+i.slideNextClass);0<v.length&&s.lazy.loadInSlide(h(v));var b=t.children("."+i.slidePrevClass);0<b.length&&s.lazy.loadInSlide(h(b))}}},se={LinearSpline:function(e,t){var i,s,n,a,o,r=function(e,t){for(s=-1,i=e.length;1<i-s;)e[n=i+s>>1]<=t?s=n:i=n;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=r(this.x,e),a=o-1,(e-this.x[a])*(this.y[o]-this.y[a])/(this.x[o]-this.x[a])+this.y[a]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new se.LinearSpline(this.slidesGrid,e.slidesGrid):new se.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,n=this,a=n.controller.control;function o(e){var t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),s=-n.controller.spline.interpolate(-t)),s&&"container"!==n.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),s=(t-n.minTranslate())*i+e.minTranslate()),n.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(var r=0;r<a.length;r+=1)a[r]!==t&&a[r]instanceof W&&o(a[r]);else a instanceof W&&t!==a&&o(a)},setTransition:function(t,e){var i,s=this,n=s.controller.control;function a(e){e.setTransition(t,s),0!==t&&(e.transitionStart(),e.params.autoHeight&&oe.nextTick(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){n&&(e.params.loop&&"slide"===s.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(n))for(i=0;i<n.length;i+=1)n[i]!==e&&n[i]instanceof W&&a(n[i]);else n instanceof W&&e!==n&&a(n)}},ne={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t,i=this,s=i.params.a11y;13===e.keyCode&&(t=I(e.target),i.navigation&&i.navigation.$nextEl&&t.is(i.navigation.$nextEl)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?i.a11y.notify(s.lastSlideMessage):i.a11y.notify(s.nextSlideMessage)),i.navigation&&i.navigation.$prevEl&&t.is(i.navigation.$prevEl)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?i.a11y.notify(s.firstSlideMessage):i.a11y.notify(s.prevSlideMessage)),i.pagination&&t.is("."+i.params.pagination.bulletClass)&&t[0].click())},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e,t,i;!this.params.loop&&this.navigation&&(t=(e=this.navigation).$nextEl,(i=e.$prevEl)&&0<i.length&&(this.isBeg
1inning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&0<t.length&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t)))},updatePagination:function(){var s=this,n=s.params.a11y;s.pagination&&s.params.pagination.clickable&&s.pagination.bullets&&s.pagination.bullets.length&&s.pagination.bullets.each(function(e,t){var i=I(t);s.a11y.makeElFocusable(i),s.a11y.addElRole(i,"button"),s.a11y.addElLabel(i,n.paginationBulletMessage.replace(/{{index}}/,i.index()+1))})},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,i,s=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,s.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),i&&(e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,s.prevSlideMessage),i.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,i=this;i.a11y.liveRegion&&0<i.a11y.liveRegion.length&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterKey),t&&t.off("keydown",i.a11y.onEnterKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown","."+i.params.pagination.bulletClass,i.a11y.onEnterKey)}},re={init:function(){if(this.params.history){if(!ae.history||!ae.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=re.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||ae.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||ae.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=re.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=ae.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var i,s,n;this.history.initialized&&this.params.history.enabled&&(i=this.slides.eq(t),s=re.slugify(i.attr("data-history")),ae.location.pathname.includes(e)||(s=e+"/"+s),(n=ae.history.state)&&n.value===s||(this.params.history.replaceState?ae.history.replaceState({value:s},null,s):ae.history.pushState({value:s},null,s)))},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,n=this.slides.length;s<n;s+=1){var a,o=this.slides.eq(s);re.slugify(o.attr("data-history"))!==t||o.hasClass(this.params.slideDuplicateClass)||(a=o.index(),this.slideTo(a,e,i))}else this.slideTo(0,e,i)}},le={onHashCange:function(){var e=g.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var t=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===t)return;this.slideTo(t)}},setHash:function(){var e,t;this.hashNavigation.initialized&&this.params.hashNavigation.enabled&&(this.params.hashNavigation.replaceState&&ae.history&&ae.history.replaceState?ae.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||""):(t=(e=this.slides.eq(this.activeIndex)).attr("data-hash")||e.attr("data-history"),g.location.hash=t||""))},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=g.location.hash.replace("#","");if(t)for(var i=0,s=e.slides.length;i<s;i+=1){var n,a=e.slides.eq(i);(a.attr("data-hash")||a.attr("data-history"))!==t||a.hasClass(e.params.slideDuplicateClass)||(n=a.index(),e.slideTo(n,0,e.params.runCallbacksOnInit,!0))}e.params.hashNavigation.watchState&&I(ae).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&I(ae).off("hashchange",this.hashNavigation.onHashCange)}},he={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=oe.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
1!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},i)},start:function(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop:function(){return!!this.autoplay.running&&(void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},ce={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var n=0;this.isHorizontal()||(n=s,s=0);var a=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:a}).transform("translate3d("+s+"px, "+n+"px, 0px)")}},setTransition:function(e){var i,s=this,t=s.slides,n=s.$wrapperEl;t.transition(e),s.params.virtualTranslate&&0!==e&&(i=!1,t.transitionEnd(function(){if(!i&&s&&!s.destroyed){i=!0,s.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)n.trigger(e[t])}}))}},de={setTranslate:function(){var e,t=this,i=t.$el,s=t.$wrapperEl,n=t.slides,a=t.width,o=t.height,r=t.rtlTranslate,l=t.size,h=t.params.cubeEffect,c=t.isHorizontal(),d=t.virtual&&t.params.virtual.enabled,u=0;h.shadow&&(c?(0===(e=s.find(".swiper-cube-shadow")).length&&(e=I('<div class="swiper-cube-shadow"></div>'),s.append(e)),e.css({height:a+"px"})):0===(e=i.find(".swiper-cube-shadow")).length&&(e=I('<div class="swiper-cube-shadow"></div>'),i.append(e)));for(var p,f,m,g,v,b=0;b<n.length;b+=1){var _=n.eq(b),y=b;d&&(y=parseInt(_.attr("data-swiper-slide-index"),10));var w=90*y,x=Math.floor(w/360);r&&(w=-w,x=Math.floor(-w/360));var C=Math.max(Math.min(_[0].progress,1),-1),S=0,T=0,k=0;y%4==0?(S=4*-x*l,k=0):(y-1)%4==0?(S=0,k=4*-x*l):(y-2)%4==0?(S=l+4*x*l,k=l):(y-3)%4==0&&(S=-l,k=3*l+4*l*x),r&&(S=-S),c||(T=S,S=0);var E,M,D="rotateX("+(c?0:-w)+"deg) rotateY("+(c?w:0)+"deg) translate3d("+S+"px, "+T+"px, "+k+"px)";C<=1&&-1<C&&(u=r?90*-y-90*C:90*y+90*C),_.transform(D),h.slideShadows&&(E=c?_.find(".swiper-slide-shadow-left"):_.find(".swiper-slide-shadow-top"),M=c?_.find(".swiper-slide-shadow-right"):_.find(".swiper-slide-shadow-bottom"),0===E.length&&(E=I('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),_.append(E)),0===M.length&&(M=I('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),_.append(M)),E.length&&(E[0].style.opacity=Math.max(-C,0)),M.length&&(M[0].style.opacity=Math.max(C,0)))}s.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),h.shadow&&(c?e.transform("translate3d(0px, "+(a/2+h.shadowOffset)+"px, "+-a/2+"px) rotateX(90deg) rotateZ(0deg) scale("+h.shadowScale+")"):(p=Math.abs(u)-90*Math.floor(Math.abs(u)/90),f=1.5-(Math.sin(2*p*Math.PI/360)/2+Math.cos(2*p*Math.PI/360)/2),m=h.shadowScale,g=h.shadowScale/f,v=h.shadowOffset,e.transform("scale3d("+m+", 1, "+g+") translate3d(0px, "+(o/2+v)+"px, "+-o/2/g+"px) rotateX(-90deg)")));var P=R.isSafari||R.isUiWebView?-l/2:0;s.transform("translate3d(0px,0,"+P+"px) rotateX("+(t.isHorizontal()?0:u)+"deg) rotateY("+(t.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ue={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var s=e.eq(i),n=s[0].progress;this.params.flipEffect.limitRotation&&(n=Math.max(Math.min(s[0].progress,
vendor: 16,384 bytes, line 1
11),-1));var a,o,r=-180*n,l=0,h=-s[0].swiperSlideOffset,c=0;this.isHorizontal()?t&&(r=-r):(c=h,l=-r,r=h=0),s[0].style.zIndex=-Math.abs(Math.round(n))+e.length,this.params.flipEffect.slideShadows&&(a=this.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),o=this.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom"),0===a.length&&(a=I('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),s.append(a)),0===o.length&&(o=I('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),s.append(o)),a.length&&(a[0].style.opacity=Math.max(-n,0)),o.length&&(o[0].style.opacity=Math.max(n,0))),s.transform("translate3d("+h+"px, "+c+"px, 0px) rotateX("+l+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var i,s=this,t=s.slides,n=s.activeIndex,a=s.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),s.params.virtualTranslate&&0!==e&&(i=!1,t.eq(n).transitionEnd(function(){if(!i&&s&&!s.destroyed){i=!0,s.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)a.trigger(e[t])}}))}},pe={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,s=this.$wrapperEl,n=this.slidesSizesGrid,a=this.params.coverflowEffect,o=this.isHorizontal(),r=this.translate,l=o?e/2-r:t/2-r,h=o?a.rotate:-a.rotate,c=a.depth,d=0,u=i.length;d<u;d+=1){var p=i.eq(d),f=n[d],m=(l-p[0].swiperSlideOffset-f/2)/f*a.modifier,g=o?h*m:0,v=o?0:h*m,b=-c*Math.abs(m),_=a.stretch;"string"==typeof _&&-1!==_.indexOf("%")&&(_=parseFloat(a.stretch)/100*f);var y=o?0:_*m,w=o?_*m:0;Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(g)<.001&&(g=0),Math.abs(v)<.001&&(v=0);var x,C,S="translate3d("+w+"px,"+y+"px,"+b+"px)  rotateX("+v+"deg) rotateY("+g+"deg)";p.transform(S),p[0].style.zIndex=1-Math.abs(Math.round(m)),a.slideShadows&&(x=o?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),C=o?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom"),0===x.length&&(x=I('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),p.append(x)),0===C.length&&(C=I('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),p.append(C)),x.length&&(x[0].style.opacity=0<m?m:0),C.length&&(C[0].style.opacity=0<-m?-m:0))}(T.pointerEvents||T.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=l+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},fe={init:function(){var e=this,t=e.params.thumbs,i=e.constructor;t.swiper instanceof i?(e.thumbs.swiper=t.swiper,oe.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),oe.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):oe.isObject(t.swiper)&&(e.thumbs.swiper=new i(oe.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e,t,i,s,n,a,o=this,r=o.thumbs.swiper;r&&(e=r.clickedIndex,(t=r.clickedSlide)&&I(t).hasClass(o.params.thumbs.slideThumbActiveClass)||null!=e&&(a=r.params.loop?parseInt(I(r.clickedSlide).attr("data-swiper-slide-index"),10):e,o.params.loop&&(i=o.activeIndex,o.slides.eq(i).hasClass(o.params.slideDuplicateClass)&&(o.loopFix(),o._clientLeft=o.$wrapperEl[0].clientLeft,i=o.activeIndex),s=o.slides.eq(i).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),n=o.slides.eq(i).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),a=void 0===s||void 0!==n&&n-i<i-s?n:s),o.slideTo(a)))},update:function(e){var t=this,i=t.thumbs.swiper;if(i){var s,n,a,o,r="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;t.realIndex!==i.realIndex&&(s=i.activeIndex,o=i.params.loop?(i.slides.eq(s).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,s=i.activeIndex),n=i.slides.eq(s).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),a=i.slides.eq(s).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),void 0===n?a:void 0===a?n:a-s==s-n?s:a-s<s-n?a:n):t.realIndex,i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(o)<0&&(i.params.centeredSlides?o=s<o?o-Math.floor(r/2)+1:o+Math.floor(r/2)-1:s<o&&(o=o-r+1),i.slideTo(o,e?0:void 0)));var l=1,h=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(l=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(l=1),l=Math.floor(l),i.slides.removeClass(h),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(var c=0;c<l;c+=1)i.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+c)+'"]').addClass(h);else for(var d=0;d<l;d+=1)i.slides.eq(t.realIndex+d).addClass(h)}}},me=[F,$,B,Y,q,G,U,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){oe.extend(this,{mousewheel:{enabled:!1,enable:K.enable.bind(this),disable:K.disable.bind(this),handle:K.handle.bind(this),handleMouseEnter:K.handleMouseEnter.bind(this),handleMouseLeave:K.handleMouseLeave.bind(this),animateSlider:K.animateSlider.bind(this),releaseScroll:K.releaseScroll.bind(this),lastScrollTime:oe.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){oe.extend(this,{navigation:{init:Q.init.bind(this),update:Q.update.bind(this),destroy:Q.destroy.bind(this),onNextClick:Q.onNextClick.bind(this),onPrevClick:Q.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this,s=i.navigation,n=s.$nextEl,a=s.$prevEl;!i.params.navigation.hideOnClick||I(e.target).is(a)||I(e.target).is(n)||(n?t=n.hasClass(i.params.navigation.hiddenClass):a&&(t=a.hasClass(i.params.navigation.hiddenClass)),!0===t?i.emit("navigationShow",i):i.emit("navigationHide",i),n&&n.toggleClass(i.params.navigation.hiddenClass),a&&a.toggleClass(i.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){oe.extend(this,{pagination:{init:Z.init.bind(this),render:Z.render.bind(this),update:Z.update.bind(this),destroy:Z.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){!this.params.loop&&void 0!==this.snapIndex||this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&0<t.pagination.$el.length&&!I(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;oe.extend(e,{scrollbar:{init:J.init.bind(e),destroy:J.destroy.bind(e),updateSize:J.updateSize.bind(e),setTranslate:J.setTranslate.bind(e),setTransition:J.setTransition.bind(e),enableDraggable:J.enableDraggable.bind(e),disableDraggable:J.disableDraggable.bind(e),setDragPosition:J.setDragPosition.bind(e),getPointerPosition:J.getPointerPosition.bind(e),onDragStart:J.onDragStart.bind(e),onDragMove:J.onDragMove.bind(e),onDragEnd:J.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){oe.extend(this,{parallax:{setTransform:ee.setTransform.bind(this),setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var s=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(e){t[e]=te[e].bind(s)}),oe.extend(s,{zoom:t});var n=1;Object.defineProperty(s.zoom,"scale",{get:function(){return n},set:function(e){var t,i;n!==e&&(t=s.zoom.gesture.$imageEl?s.zoom.gesture.$imageEl[0]:void 0,i=s.zoom.gesture.$slideEl?s.zoom.gesture.$slideEl[0]:void 0,s.emit("zoomChange",e,t,i)),n=e}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){oe.extend(this,{lazy:{initialImageLoaded:!1,load:ie.load.bind(this),loadInSlide:ie.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(!this.params.lazy.loadOnTransitionStart&&(this.params.lazy.loadOnTransitionStart||this.lazy.initialImageLoaded)||this.lazy.load())},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){oe.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:se.getInterpolateFunction.bind(this),setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;oe.extend(t,{a11y:{liveRegion:I('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(ne).forEach(function(e){t.a11y[e]=ne[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){oe.extend(this,{history:{init:re.init.bind(this),setHistory:re.setHistory.bind(this),setHistoryPopState:re.setHistoryPopState.bind(this),scrollToSlide:re.scrollToSlide.bind(this),destroy:re.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){oe.extend(this,{hashNavigation:{initialized:!1,init:le.init.bind(this),destroy:le.destroy.bind(this),setHash:le.setHash.bind(this),onHashCange:le.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialize
1d&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;oe.extend(t,{autoplay:{running:!1,paused:!1,run:he.run.bind(t),start:he.start.bind(t),stop:he.stop.bind(t),pause:he.pause.bind(t),onVisibilityChange:function(){"hidden"===document.visibilityState&&t.autoplay.running&&t.autoplay.pause(),"visible"===document.visibilityState&&t.autoplay.paused&&(t.autoplay.run(),t.autoplay.paused=!1)},onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){oe.extend(this,{fadeEffect:{setTranslate:ce.setTranslate.bind(this),setTransition:ce.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"fade"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"fade"),e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},oe.extend(this.params,e),oe.extend(this.originalParams,e))},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){oe.extend(this,{cubeEffect:{setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"cube"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d"),e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0},oe.extend(this.params,e),oe.extend(this.originalParams,e))},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){oe.extend(this,{flipEffect:{setTranslate:ue.setTranslate.bind(this),setTransition:ue.setTransition.bind(this)}})},on:{beforeInit:function(){var e;"flip"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d"),e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},oe.extend(this.params,e),oe.extend(this.originalParams,e))},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){oe.extend(this,{coverflowEffect:{setTranslate:pe.setTranslate.bind(this),setTransition:pe.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{multipleActiveThumbs:!0,swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){oe.extend(this,{thumbs:{swiper:null,init:fe.init.bind(this),update:fe.update.bind(this),onThumbClick:fe.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===W.use&&(W.use=W.Class.use,W.installModule=W.Class.installModule),W.use(me),W});

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.