PageSourceSearch

https://www.weddingwire.com/builds/desktop/js/symfnw-US248-1-20260930-014-1_www_m_/common.js

js weddingwire.com collected 2026-10-01 08:39:04 UTC 320,253 bytes, 373 lines download raw bytes

1globals = { country: "United States", countryId: "55", countryCode: "US", locale: "en_US", language: "en", tracking: { universalAnalytics: {"CUSTOM_DIMENSION_REDUCED":5,"CUSTOM_DIMENSION_UID":6,"CUSTOM_DIMENSION_VENDOR_ID":15,"CUSTOM_DIMENSION_LISTING_ID":16,"CUSTOM_DIMENSION_FRM_INSERT":17,"CUSTOM_DIMENSION_HOTEL_ID":18,"CUSTOM_DIMENSION_LEAD_CATEGORY_ID":20,"CUSTOM_DIMENSION_LEAD_GROUP_ID":21,"CUSTOM_DIMENSION_DIRECTORY_SCORE_ID":24,"CUSTOM_DIMENSION_DIRECTORY_LISTING_DETAIL":26,"CUSTOM_DIMENSION_DIRECTORY_LISTING_ID":27,"CUSTOM_DIMENSION_DIRECTORY_STYLE":31,"CUSTOM_DIMENSION_PLATFORM":28,"CUSTOM_DIMENSION_SECTION":29,"CUSTOM_DIMENSION_FILTERS":30,"CUSTOM_DIMENSION_PARENT_LEAD_ID":32,"CUSTOM_DIMENSION_PARENT_VENDOR_ID":33,"CUSTOM_DIMENSION_SEGMENT_EXTRA_DATA":999}, analytics: {"DOMAIN_DESKTOP":"d-desktop","DOMAIN_MOBILE":"d-mobile"}, leadTracking: {"SECTION_FORM":"s-form","SECTION_FORM_2STEPS":"s-form-2steps","SECTION_MULTILEAD_CATEGORY":"s-multicategory_","SECTION_VENUE_LIST_VRM":"s-venue-list-vrm","SECTION_VENUE_LIST_VRM_SLIDER":"s-venue-list-vrm-slider","ACTION_RUN":"a-run","ACTION_RUN_CUPON":"a-run-cupon","ACTION_RUN_EVENT":"a-run-event","ACTION_RUN_HALF":"a-run-half","ACTION_RUN_CUPON_HALF":"a-run-cupon-half","ACTION_RUN_EVENT_HALF":"a-run-event-half","ACTION_RUN_NO_AUTH":"a-run-no-auth","ACTION_RUN_CUPON_NO_AUTH":"a-run-cupon-no-auth","ACTION_RUN_EVENT_NO_AUTH":"a-run-event-no-auth","ACTION_SHOW_STEP2_NO_AUTH":"a-step2-no-auth","ACTION_SHOW_CUPON_STEP2_NO_AUTH":"a-step2-cupon-no-auth","ACTION_SHOW_EVENT_STEP2_NO_AUTH":"a-step2-event-no-auth","ACTION_CANCEL_HALF":"a-cancel-half","ACTION_CANCEL_CUPON_HALF":"a-cancel-cupon-half","ACTION_CANCEL_EVENT_HALF":"a-cancel-event-half","ACTION_CANCEL_STEP1_NO_AUTH":"a-cancel-step1-no-auth","ACTION_CANCEL_CUPON_STEP1_NO_AUTH":"a-cancel-step1-cupon-no-auth","ACTION_CANCEL_EVENT_STEP1_NO_AUTH":"a-cancel-step1-event-no-auth","ACTION_CANCEL_STEP2_NO_AUTH":"a-cancel-step2-no-auth","ACTION_CANCEL_CUPON_STEP2_NO_AUTH":"a-cancel-step2-cupon-no-auth","ACTION_CANCEL_EVENT_STEP2_NO_AUTH":"a-cancel-step2-event-no-auth","ACTION_EDIT_HALF":"a-edit-half","ACTION_EDIT_CUPON_HALF":"a-edit-cupon-half","ACTION_EDIT_EVENT_HALF":"a-edit-event-half","ACTION_RUN_MULTILEAD":"a-run-multi","ACTION_STEP1_MULTILEAD":"a-step1-multi","ACTION_SHOW":"a-show","ACTION_SHOW_VLIST":"a-show-vlist","ACTION_STEP1_VLIST":"a-step1-vlist","ACTION_RUN_VLIST":"a-run-vlist"}, isUnifiedImpressionTracking : "1" }, formInsert: {"MOBILE_UNKNOWN":50,"DESKTOP_MULTI_CATEGORY_LEAD":73,"DESKTOP_VENUE_LIST_VRM":84}, zonaOrigen: {"ID_MOBILE_MY_VENDORS_MULTILEAD_CATEGORY":194,"ID_MOBILE_BOOKED_VENDOR_MULTILEAD_CATEGORY":195,"ID_MOBILE_REQUEST_BOOKED_VENDOR_MULTILEAD_CATEGORY":199,"ID_APP_REQUEST_BOOKED_VENDOR_MULTILEAD_CATEGORY":1210,"ID_MOBILE_MY_VENDORS_VENUE_LIST_VRM":197,"ID_MOBILE_BOOKED_VENDOR_VENUE_LIST_VRM":198,"ID_MOBILE_REQUEST_BOOKED_VENDOR_VENUE_LIST_VRM":200,"ID_APP_REQUEST_BOOKED_VENDOR_VENUE_LIST_VRM":1211}, navigationTraces: {"ID_ACTION_VIEW":1,"ID_ACTION_SHOW_CONTACT_FORM":4,"ID_TYPE_EMPRESAS":1}, subdomain : "www.weddingwire.com", subdomainMobile: "www.weddingwire.com", subdomain_secure: "https://www.weddingwire.com", subdomain_cdn_img : "https://cdn1.weddingwire.com", subdomain_cdn_css : "https://cdn1.weddingwire.com", prevGrupoUrl : "", Request_Cookie_domain : "weddingwire.com", SUBDOMAIN_MAIL: "www.weddingwire.com", REQUEST_COUNTRY: "United States", REQUEST_CURRENCY: "$", REQUEST_CURRENCY_PRECISION: "2", USER_TOOLS_CURRENCY_PRECISION : "0", Request_FB_AppID : "258399401573410", Request_Map_Zoom_Max : "16", Request_Language : "en", Request_Country : "US", Request_URL_keygen : "weddings", Request_prevurl_model : "", Request_id_project : "51", Request_mis_empresas : "1", Request_AnalyticsEcommerceEnabled : "1", Request_Wedding_Awards_Edition : "2026", Request_Show_Opiniones_Negativas: "1", timezone : '-4', currency_before: '$', currency_after: '', reduced : '', link_sections: [ "https://www.weddingwire.com/wedding-planning.html", "https://www.weddingwire.com/wedding-venues", "https://www.weddingwire.com/wedding-vendors", "https://www.weddingwire.com/brides", "https://www.weddingwire.com/grooms", "https://www.weddingwire.com/wedding-ideas", "https://www.weddingwire.com/wedding-forums" ], Request_Pusher_Key : "0aabe23b6c315b326617", Request_Pusher_Cluster : "mt1", Request_Url_Condiciones_Legales : "https://www.weddingwire.com/corp/legal/terms-of-use", Request_Url_Politica_Privacidad : "https://www.weddingwire.com/corp/legal/privacy-policy", Request_Remove_Image_Sizes_Comunidad: false, isMobile : false, environment : "PROD", isDynamicServing: true, minChars : "30", isUSProject : true, googleLoginClientId: '1043796832063-50dlvabinrnnvsssv6adv1ald74j4c0t.apps.googleusercontent.com', Request_SiteVersion: "symfnw-US248-1-20260930-014-1_www_m_", fbGraphApiVersion: "v19.0", isWWProject: true, isDestinationWeddingEnabled : 1, isCookieLessEnabled : false, isResponsiveEnabled : true, minCharactersNameAllowed: 2, RolesGroupEnabled: true, isSmartLockEnabled: false, isGoogleIdentityServiceLibraryEnabled: true, isGoogleIdentityServiceContinueTextEnabled: false };
1 globals.separators = { decimal: ".", thousand: "," }; globals.listas = { filter_max: 1000, filter_step: 50, lemonWayNoDocLimitByTransaction: 250, lemonWayNoDocWalletMax: 2500 }; globals.promos = { Type_Descuento: 6, Type_Black_Friday: 8, Type_Black_Friday_Regalos: 9, Type_Black_Friday_Oferta: 10, Black_Friday_EndPromos: '27/11/2023', Black_Friday_TitlePlaceholder: 'Examples: \u002250% off your Wedding Package\u0022 or \u0022Our gift to you\u0022' }; globals.catalogTraces = { sources : { DESKTOP : 0, MOBILE : 1, APP : 2, }, isMobile : false, isApp : typeof isUsersAppVersion !== 'undefined' && isUsersAppVersion }; globals.urls = { tools : { tables : 'https://www.weddingwire.com/tools/Seating', reviews: 'https://www.weddingwire.com/shared/rate' }, vendors_menu : { dashboard : 'https://www.weddingwire.com/vendors/dashboard', call_tracking : 'https://www.weddingwire.com/vendors/call-tracking', employees: 'https://www.weddingwire.com/vendors/settings/employees', message_item: 'https://www.weddingwire.com/vendors/message', revocer_password_submit: '/vendors/recover-password-submit' }, cross_domain_local_storage: { basil: 'https://www.weddingwire.com/cross-domain-local-storage/basil' } }; globals.tenor = { apikey: '2E59UFS9OTZ6' }; globals.smileys = [{"SIGLA":";)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_winking.png"},{"SIGLA":":)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_smile.png"},{"SIGLA":":D","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_laugh.png"},{"SIGLA":"XD","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_xd.png"},{"SIGLA":":S","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_atonished.png"},{"SIGLA":":P","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_tongue.png"},{"SIGLA":":|","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_amazing.png"},{"SIGLA":":-*","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_kiss.png"},{"SIGLA":":O","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_surprise.png"},{"SIGLA":":@","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_angry.png"},{"SIGLA":"8-)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_sexy.png"},{"SIGLA":":?(","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_cry.png"},{"SIGLA":":(","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_sad.png"},{"SIGLA":"<3","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_heart.png"},{"SIGLA":"(:3)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_catface.png"},{"SIGLA":":$","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_shame.png"},{"SIGLA":"_love_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_love.png"},{"SIGLA":"-_-?","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_ups.png"},{"SIGLA":"_diam_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_diamond.png"},{"SIGLA":"_cake_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_cake.png"},{"SIGLA":"_ring_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_ring.png"},{"SIGLA":"_flower_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_flower.png"},{"SIGLA":"_gift_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_gift.png"},{"SIGLA":"_star_)","SRC":"https:\/\/cdn1.weddingwire.com\/img\/smileys\/smiley_star.png"}]; globals.vendors = { haveLogoInGallery: false, }; globals.appleSignIn = { clientId: 'com.weddingwire.applesignin', returnUrl: 'https://www.weddingwire.com', }; /** * added for custom dimension support on legacy tracking functions */ globals.UniversalAnalyticsDimensions = {"CUSTOM_DIMENSION_REDUCED":5,"CUSTOM_DIMENSION_UID":6,"CUSTOM_DIMENSION_VENDOR_ID":15,"CUSTOM_DIMENSION_LISTING_ID":16,"CUSTOM_DIMENSION_FRM_INSERT":17,"CUSTOM_DIMENSION_HOTEL_ID":18,"CUSTOM_DIMENSION_LEAD_CATEGORY_ID":20,"CUSTOM_DIMENSION_LEAD_GROUP_ID":21,"CUSTOM_DIMENSION_DIRECTORY_SCORE_ID":24,"CUSTOM_DIMENSION_DIRECTORY_LISTING_DETAIL":26,"CUSTOM_DIMENSION_DIRECTORY_LISTING_ID":27,"CUSTOM_DIMENSION_DIRECTORY_STYLE":31,"CUSTOM_DIMENSION_PLATFORM":28,"CUSTOM_DIMENSION_SECTION":29,"CUSTOM_DIMENSION_FILTERS":30,"CUSTOM_DIMENSION_PARENT_LEAD_ID":32,"CUSTOM_DIMENSION_PARENT_VENDOR_ID":33,"CUSTOM_DIMENSION_SEGMENT_EXTRA_DATA":999}; globals.seo = { allowDeindexedMarketplaceSearchesWithoutGroupId: false, }; String.prototype.sprintf = function() { var args = arguments; var pos = 0; return this.replace(/\%s/g, function(match, number) { pos++; return typeof args[pos-1] != 'undefined' ? args[pos-1] : match ; }); }; function __ (string) { return string } function _s() { var msg = arguments[0]; return String.prototype.sprintf.apply(msg, Array.prototype.slice.call(arguments, 1)); } function _n (single, plural, value) { var string = ''; var value = parseInt(value); if (value === 1) { string = single.replace('%s', value); } else { string = plural.replace('%s', value); } return string; } function _ns (single, plural, value, value2) { var string = _n(single, plural, value); return _s(string, value2); }
2(self.webpackChunk=self.webpackChunk||[]).push([[8592],{31810:function($,G,I){var N;(function(){var a=function(i){return a.utils.extend({},a.plugins,new a.Storage().init(i))};a.version="0.4.11",a.utils={extend:function(){for(var i=typeof arguments[0]=="object"?arguments[0]:{},t=1;t<arguments.length;t++)if(arguments[t]&&typeof arguments[t]=="object")for(var s in arguments[t])i[s]=arguments[t][s];return i},each:function(i,t,s){if(this.isArray(i)){for(var l=0;l<i.length;l++)if(t.call(s,i[l],l)===!1)return}else if(i){for(var h in i)if(t.call(s,i[h],h)===!1)return}},tryEach:function(i,t,s,l){this.each(i,function(h,f){try{return t.call(l,h,f)}catch(w){if(this.isFunction(s))try{s.call(l,h,f,w)}catch{}}},this)},registerPlugin:function(i){a.plugins=this.extend(i,a.plugins)},getTypeOf:function(i){return typeof i>"u"||i===null?""+i:Object.prototype.toString.call(i).replace(/^\[object\s(.*)\]$/,function(t,s){return s.toLowerCase()})}};for(var M=["Arguments","Boolean","Function","String","Array","Number","Date","RegExp","Undefined","Null"],r=0;r<M.length;r++)a.utils["is"+M[r]]=function(i){return function(t){return a.utils.getTypeOf(t)===i.toLowerCase()}}(M[r]);a.plugins={},a.options=a.utils.extend({namespace:"b45i1",storages:["local","cookie","session","memory"],expireDays:365,keyDelimiter:"."},window.Basil?window.Basil.options:{}),a.Storage=function(){var i="b45i1"+(Math.random()+1).toString(36).substring(7),t={},s=function(y){var C=a.utils.getTypeOf(y);
2return C==="string"&&y||C==="number"||C==="boolean"},l=function(y){return a.utils.isArray(y)?y:a.utils.isString(y)?[y]:[]},h=function(y,C,E){var L="";return s(C)?L+=C:a.utils.isArray(C)&&(C=a.utils.isFunction(C.filter)?C.filter(s):C,L=C.join(E)),L&&s(y)?y+E+L:L},f=function(y,C,E){return s(y)?C.replace(new RegExp("^"+y+E),""):C},w=function(y){return JSON.stringify(y)},P=function(y){return y?JSON.parse(y):null},k={engine:null,check:function(){try{window[this.engine].setItem(i,!0),window[this.engine].removeItem(i)}catch{return!1}return!0},set:function(y,C,E){if(!y)throw Error("invalid key");window[this.engine].setItem(y,C)},get:function(y){return window[this.engine].getItem(y)},remove:function(y){window[this.engine].removeItem(y)},reset:function(y){for(var C=0,E;C<window[this.engine].length;C++)E=window[this.engine].key(C),(!y||E.indexOf(y)===0)&&(this.remove(E),C--)},keys:function(y,C){for(var E=[],L=0,z;L<window[this.engine].length;L++)z=window[this.engine].key(L),(!y||z.indexOf(y)===0)&&E.push(f(y,z,C));return E}};return t.local=a.utils.extend({},k,{engine:"localStorage"}),t.session=a.utils.extend({},k,{engine:"sessionStorage"}),t.memory={_hash:{},check:function(){return!0},set:function(y,C,E){if(!y)throw Error("invalid key");this._hash[y]=C},get:function(y){return this._hash[y]||null},remove:function(y){delete this._hash[y]},reset:function(y){for(var C in this._hash)(!y||C.indexOf(y)===0)&&this.remove(C)},keys:function(y,C){var E=[];for(var L in this._hash)(!y||L.indexOf(y)===0)&&E.push(f(y,L,C));return E}},t.cookie={check:function(y){if(!navigator.cookieEnabled)return!1;if(window.self!==window.top){var C="thirdparty.check="+Math.round(Math.random()*1e3);return document.cookie=C+"; path=/",document.cookie.indexOf(C)!==-1}if(y&&y.secure)try{this.set(i,i,y);var E=this.get(i)===i;return this.remove(i),E}catch{return!1}return!0},set:function(y,C,E){if(!this.check())throw Error("cookies are disabled");if(E=E||{},!y)throw Error("invalid key");var L=encodeURIComponent(y)+"="+encodeURIComponent(C);if(E.expireDays){var z=new Date;z.setTime(z.getTime()+E.expireDays*24*60*60*1e3),L+="; expires="+z.toGMTString()}if(E.domain&&E.domain!==document.domain){var ie=E.domain.replace(/^\./,"");if(document.domain.indexOf(ie)===-1||ie.split(".").length<=1)throw Error("invalid domain");L+="; domain="+E.domain}E.sameSite&&["lax","strict","none"].includes(E.sameSite.toLowerCase())&&(L+="; SameSite="+E.sameSite),E.secure===!0&&(L+="; Secure"),document.cookie=L+"; path=/"},get:function(y){if(!this.check())throw Error("cookies are disabled");for(var C=encodeURIComponent(y),E=document.cookie?document.cookie.split(";"):[],L=E.length-1,z;L>=0;L--)if(z=E[L].replace(/^\s*/,""),z.indexOf(C+"=")===0)return decodeURIComponent(z.substring(C.length+1,z.length));return null},remove:function(y){this.set(y,"",{expireDays:-1});for(var C=document.domain.split("."),E=C.length;E>1;E--)this.set(y,"",{expireDays:-1,domain:"."+C.slice(-E).join(".")})},reset:function(y){for(var C=document.cookie?document.cookie.split(";"):[],E=0,L,z;E<C.length;E++)L=C[E].replace(/^\s*/,""),z=L.substr(0,L.indexOf("=")),(!y||z.indexOf(y)===0)&&this.remove(z)},keys:function(y,C){if(!this.check())throw Error("cookies are disabled");for(var E=[],L=document.cookie?document.cookie.split(";"):[],z=0,ie,ce;z<L.length;z++)ie=L[z].replace(/^\s*/,""),ce=decodeURIComponent(ie.substr(0,ie.indexOf("="))),(!y||ce.indexOf(y)===0)&&E.push(f(y,ce,C));return E}},{init:function(y){return this.setOptions(y),this},setOptions:function(y){this.options=a.utils.extend({},this.options||a.options,y)},support:function(y){return t.hasOwnProperty(y)},check:function(y){return this.support(y)?t[y].check(this.options):!1},set:function(y,C,E){if(E=a.utils.extend({},this.options,E),!(y=h(E.namespace,y,E.keyDelimiter)))return!1;C=E.raw===!0?C:w(C);var L=null;return a.utils.tryEach(l(E.storages),function(z,ie){return t[z].set(y,C,E),L=z,!1},null,this),L?(a.utils.tryEach(l(E.storages),function(z,ie){z!==L&&t[z].remove(y)},null,this),!0):!1},get:function(y,C){if(C=a.utils.extend({},this.options,C),!(y=h(C.namespace,y,C.keyDelimiter)))return null;var E=null;return a.utils.tryEach(l(C.storages),function(L,z){if(E!==null)return!1;E=t[L].get(y,C)||null,E=C.raw===!0?E:P(E)},function(L,z,ie){E=null},this),E},remove:function(y,C){C=a.utils.extend({},this.options,C),(y=h(C.namespace,y,C.keyDelimiter))&&a.utils.tryEach(l(C.storages),function(E){t[E].remove(y)},null,this)},reset:function(y){y=a.utils.extend({},this.options,y),a.utils.tryEach(l(y.storages),function(C){t[C].reset(y.namespace)},null,this)},keys:function(y){y=y||{};var C=[];for(var E in this.keysMap(y))C.push(E);return C},keysMap:function(y){y=a.utils.extend({},this.options,y);var C={};return a.utils.tryEach(l(y.storages),function(E){a.utils.each(t[E].keys(y.namespace,y.keyDelimiter),function(L){C[L]=a.utils.isArray(C[L])?C[L]:[],C[L].push(E)},this)},null,this),C}}},a.memory=new a.Storage().init({storages:"memory",namespace:null,raw:!0}),a.cookie=new a.Storage().init({storages:"cookie",namespace:null,raw:!0}),a.localStorage=new a.Storage().init({storages:"local",namespace:null,raw:!0}),a.sessionStorage=new a.Storage().init({storages:"session",namespace:null,raw:!0}),window.Basil=a,N=function(){return a}.call(G,I,G,$),N!==void 0&&($.exports=N)})()},4238:function($,G,I){"use strict";var N=I(76308),a=I(70346),M=I(6723),r=I.n(M);
2class i{expose(){window.$=r(),Object.keys(N.Z).forEach(s=>{window[s]=N.Z[s]})}initAll(){this.expose(),new a.Z().init()}}G.Z=i},15540:function($,G,I){"use strict";var N=I(6723),a=I.n(N);class M{_JQInit(){this._JQ=a()(this)}emit(i,t){!this._JQ&&this._JQInit(),this._JQ.trigger(i,t)}once(i,t){!this._JQ&&this._JQInit(),this._JQ.one(i,t)}on(i,t){!this._JQ&&this._JQInit(),this._JQ.bind(i,t)}off(i,t){!this._JQ&&this._JQInit(),this._JQ.unbind(i,t)}}G.Z=M},26525:function($,G){"use strict";class I{constructor(){this._messages=[]}add(a={},M="INFO"){const r={type:M,desc:a.desc||"",error:a.error||"",style:a.style||"color: grey;"};if(this._messages.push(r),typeof console<"u"&&window.globals.environment==="DEV")switch(M.toUpperCase()){case"ERROR":console.error(r.desc,r.error);break;case"WARNING":console.warn(r.desc,r.error);break;case"INFO":console.info(r.desc,r.style);break;default:console.log(r.desc,r.style);break}}}G.Z=I},51255:function($,G,I){"use strict";var N=I(48335),a=I(36195),M=I(92818),r=I(29902),i=I(72182),t=I(81867),s=I(46279),l=I(91857),h=I(96657),f=I(79673);class w{constructor(){this.polyfills=[N.Z,a.Z,M.Z,r.Z,i.Z,t.Z,s.Z,l.Z,h.Z,f.Z]}initAll(){for(let k=0;k<this.polyfills.length;k++)this.polyfills[k]()}}G.Z=w},37183:function($,G){"use strict";class I{constructor(){this._timers=[]}start(a){typeof console<"u"&&window.globals.environment==="DEV"&&(this._timers[a]=window.performance.now())}stop(a,M="",r=""){if(typeof console<"u"&&window.globals.environment==="DEV"){const t=window.performance.now()-this._timers[a];M!==""&&window.app.logger.add({desc:M+Math.round((t+Number.EPSILON)*1e3)/1e3+"ms"},r)}}}G.Z=I},12697:function($,G){"use strict";class I{constructor(){this.svgs={}}get _getDomClasses(){return{svg:".app-svg-async"}}loadSvg(a){const M=this;if(M.svgs[a.dataset.name]){a.innerHTML=M.svgs[a.dataset.name],a.dataset.loaded=!0;return}fetch(a.dataset.svg).then(r=>r.text()).then(r=>{a.innerHTML=r,a.dataset.loaded=!0,M.svgs[a.dataset.name]=r})}handleLazyLoad(a){const M=new IntersectionObserver(r=>{r.forEach(i=>{i.isIntersecting&&!a.dataset.loaded&&(this.loadSvg(a),M.disconnect())})});M.observe(a)}observeNewElements(){new MutationObserver(this.handleMutations.bind(this)).observe(document.body,{childList:!0,subtree:!0})}handleMutations(a){for(const M of a)M.type==="childList"&&this.handleMutation(M)}handleMutation(a){a.addedNodes.forEach(M=>{M.nodeType===Node.ELEMENT_NODE&&M.querySelectorAll(this._getDomClasses.svg).forEach(r=>{this.loadSvg(r)})})}init(){return document.querySelectorAll(this._getDomClasses.svg).forEach(M=>{M.dataset.svgLazyload?this.handleLazyLoad(M):this.loadSvg(M)}),this.observeNewElements(),!0}}G.Z=I},99520:function($,G,I){"use strict";var N=I(72774);class a{constructor(){this._storedAnalyticsEvents=[],this.initInternalTrackerService()}queueEvent(r){this._storedAnalyticsEvents.push(r)}trackQueuedEvents(){for(const r in this._storedAnalyticsEvents)this._storedAnalyticsEvents[r]()}initInternalTrackerService(){this.internalTrackerService=new N.Z}}G.Z=a},99744:function($,G){"use strict";class I{constructor(){this._preloaded=[]}load(a){return this._preloaded.push(a),!0}get(a){return this[a]}initAll(a){let M=0;const r=this;for(const s in this._preloaded)M<this._preloaded[s].loadOrder&&(M=this._preloaded[s].loadOrder);const i=function(){window.app.logger.add({desc:"%cDevelopment Environment :: "+a,style:"color: blue;"}),window.app.profiler.start("initAll");for(let s=0;s<=M;s++)for(const l in this._preloaded)if(!!this._preloaded[l]&&this._preloaded[l].loadOrder===s){const h=this._preloaded[l].name;try{window.app.profiler.start(h),this._preloaded[l].init()?(this[h]=this._preloaded[l],delete this._preloaded[l]):window.app.logger.add({desc:"Error initializing widget: "+h},"WARNING"),window.app.profiler.stop(h,"OK - %c"+h+", time: ")}catch(f){window.app.logger.add({desc:h+": Error initializing - ",error:f},"ERROR"),window.app.profiler.stop(h)}}window.app.profiler.stop("initAll","%cEnd initializing javascript for "+a+", total time: ","color: green;")},t=function(){for(let s=0;s<=M;s++)for(const l in this._preloaded)if(!!this._preloaded[l]&&this._preloaded[l].loadOrder===s){const h=this._preloaded[l].name;try{this._preloaded[l].init()?(this[h]=this._preloaded[l],delete this._preloaded[l]):window.app.logger.add("Error initializing widget: "+h,"WARNING")}catch(f){window.app.logger.add(h+": Error initializing - "+f.message,"ERROR")}}};window.setTimeout(function(){typeof console<"u"&&window.globals.environment==="DEV"?i.call(r):t.call(r)},1)}}G.Z=I},2684:function($,G,I){"use strict";I.d(G,{x:function(){return N}});class N{constructor(r){r=r||{},this._defaultTimeoutMs=typeof r.defaultTimeoutMs=="number"?r.defaultTimeoutMs:6e4}isNecessaryAllowed(){return this._isAllowedById(N.GROUPS.NECESSARY)}isAnalyticsAllowed(){return this._isAllowedById(N.GROUPS.ANALYTICS)}isPersonalizationAllowed(){return this._isAllowedById(N.GROUPS.PERSONALIZATION)}isTargetedAdsAllowed(){return this._isAllowedById(N.GROUPS.TARGETED_ADS)}isSocialMediaAllowed(){return this._isAllowedById(N.GROUPS.SOCIAL_MEDIA)}loadIfAllowed(r,i){if(!this._isAllowedById(r))return null;try{const t=i();return t&&typeof t.then=="function"?t:Promise.resolve(t)}catch(t){return Promise.reject(t)}}onReady(r,i){const t=typeof i=="number"?i:this._defaultTimeoutMs;if(!this._isBrowser())return;if(typeof window.isCookieGroupAllowed=="function"||typeof window.OptanonActiveGroups=="string"&&window.OptanonActiveGroups.length>0){r();return}let l=!1;const h=[];function f(){if(!l){for(l=!0;h.length;)try{h.pop()()}catch{}r()}}function w(k){const y=function(){f()};document.body.addEventListener(k,y,{once:!0}),h.push(function(){document.body.removeEventListener(k,y)})}w("oneTrustLoaded"),w("IABTcDataReady"),w("nonIABCountryDataReady");const P=setTimeout(f,t);h.push(function(){clearTimeout(P)})}onChange(r){if(!this._isBrowser())return function(){};const i=[];window.OneTrust&&typeof window.OneTrust.OnConsentChanged=="function"&&(window.OneTrust.OnConsentChanged(function(){r()}),i.push(function(){}));
2const t=["analyticsCookiesHasBeenAccepted","analyticsCookiesHasBeenDenied","personalizationCookiesHasBeenAccepted","personalizationCookiesHasBeenDenied","targetedAdvertisingCookiesHasBeenAccepted","targetedAdvertisingCookiesHasBeenDenied","socialMediaAdvertisingCookiesHasBeenAccepted","socialMediaAdvertisingCookiesHasBeenDenied"];for(let s=0;s<t.length;s++)(function(l){const h=function(){r()};document.body.addEventListener(l,h),i.push(function(){document.body.removeEventListener(l,h)})})(t[s]);return function(){for(;i.length;)try{i.pop()()}catch{}}}_isBrowser(){return typeof window<"u"&&typeof document<"u"}_isAllowedById(r){if(!this._isBrowser()||!this._isValidGroupId(r))return!1;if(typeof window.isCookieGroupAllowed=="function")try{return!!window.isCookieGroupAllowed(r)}catch{}if(typeof window.OptanonActiveGroups=="string"&&window.OptanonActiveGroups.length){const i=window.OptanonActiveGroups.split(",");for(let t=0;t<i.length;t++)if(i[t].trim()===r)return!0;return!1}return!!window.isCountryCookiesActiveByDefault}_isValidGroupId(r){if(!r||typeof r!="string")return!1;const i=r.trim().toUpperCase();return/^C\d{4}$/.test(i)}}N.GROUPS={NECESSARY:"C0001",ANALYTICS:"C0002",PERSONALIZATION:"C0003",TARGETED_ADS:"C0004",SOCIAL_MEDIA:"C0005"};const a=new N;G.Z=/^(3(317|329|631)|1544|16|2601|2958|4702|5504|767|7900)$/.test(I.j)?null:a},8727:function($,G,I){"use strict";var N=I(20155);class a{static isAndroid(){return navigator.userAgent.indexOf("Android")!==-1}static isIOS(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}static isMobile(){return N.Z.get("isMobile")}static countryCode(){const r=N.Z.get("countryCode");return typeof r<"u"?r:""}static isUS(){const r=N.Z.get("isUSProject");return typeof r<"u"?r:!1}static isWeddingWireUSPage(){return window.location.hostname.endsWith(".weddingwire.us")}static isAccessibilityEnabled(){return a.isUS()}}G.Z=a},4877:function($,G,I){"use strict";var N=I(6723),a=I.n(N),M=I(31810),r=I.n(M),i=I(60349),t=I(7411),s=I(98721),l=I(57338),h=I(90067),f=I(633),w=I(76565),P=I(49041),k=I(1663),y=I.n(k),C=I(58435),E=I(12631),L=I(81126),z=I(3791),ie=I(34832),ce=I(38226),be=I(78867),De=Object.defineProperty,c=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ge=(Ye,je,Be)=>je in Ye?De(Ye,je,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Ye[je]=Be,xt=(Ye,je)=>{for(var Be in je||(je={}))Ze.call(je,Be)&&Ge(Ye,Be,je[Be]);if(c)for(var Be of c(je))Oe.call(je,Be)&&Ge(Ye,Be,je[Be]);return Ye};const Gt=function(){return{renderHeader:(Be={})=>{const we=xt({userCanCreateNewConversations:!1,canShowCloseButton:!1,canRefreshChat:!1,pendigTotal:0,actorName:""},Be);return`
3      <div class="chat-header">
4        <div class="app-controls-menu chat-controls chat-controls-left">
5          <div class="${we.userCanCreateNewConversations?"chat-control-btn app-chat-menu":""}">
6            ${we.userCanCreateNewConversations?`
7              <span class="chat-ui chat-menu"></span>
8              <span class="app-chat-num-messages chat-message-count">
9                ${we.pendigTotal}
10              </span>
11            `:""}
12          </div>
13        </div>
14        <span class="app-chat-name chat-name">${we.actorName}</span>
15        ${we.canRefreshChat?`
16          <div class="chat-controls chat-controls-left">
17            <span class="chat-control-btn app-chat-refresh">
18              <i class="icon icon-refresh-chat"></i>
19            </span>
20          </div>
21        `:""}
22        <div class="chat-controls chat-controls-right">
23          <span class="chat-control-btn app-chat-min">
24            <span class="chat-ui chat-min"></span>
25          </span>
26          ${we.canShowCloseButton?`
27            <span class="chat-control-btn app-chat-close">
28              <span class="chat-ui chat-close"></span>
29            </span>
30          `:""}
31        </div>
32      </div>
33    `},renderConversationBox:(Be={})=>{const we=xt({isChatbotEnabled:!1,innerContainerClasses:""},Be);return`
34      <div class="app-mobile-nel-scrollfix chat-messages ${we.isChatbotEnabled?"chat-messages--chatbot":""} app-scroll-calculate">
35        <div class="app-conversation-parts chat-messages__inner ${we.innerContainerClasses}"></div>
36      </div>
37    `}}}(),Xe=function(Ye){return{renderHeader:function(){return`
38      <div class="chat-header">
39        <span class="chat-name">${'Can I help you with anything else?'}</span>
40        <div class="chat-controls chat-controls-right">
41          <span class="chat-control-btn app-multi-category-chatbot-close-button">
42            <span class="chat-ui chat-close"></span>
43          </span>
44        </div>
45      </div>
46    `},renderConversationBox:function(we){return we.innerContainerClasses=we.innerContainerClasses||"",we.innerContainerClasses+=" multicategoryChatbot__conversationBox",Ye.renderConversationBox(we)}}}(Gt);var Xt=function(Ye,je){var Be={DEFAULT:0,MULTI_CATEGORY_CHATBOT:1},we,Z=null,V,J,se,re,Ce,Se,Ne,Qe,ge,xe,Fe=!1,le=null,vt=null,gn=24*60*60*1e3,gt=15*60*1e3,Te=!1,Ke=!1,te=!1,it=!1,Li=!1,mn=!1,hi=!1,Qt=!1,Mt=!1,Ot=!1,ye=!1,At=!1,rt=!1,bi=!0,at=!1,wi=!1,_t=!1,fi=!1,Nt=!1,kt=!1,pi=null,di=null,ne=null,He=!1,ut=1,vn=!0,Rt=!1,gi=null,Je=null,$e=!1,Hi=!1,_n=!1,mt=!1,Ut=!1,Lt=null,Jt=null,Ci="CONCIERGE_TS_MC",Wi=3,yn=1,Ei=!0;function zi(p,m,b){if(t.Z.getCookie(Ci))return;Ce=p;var D=JSON.parse(p);b&&(Te=!!b.isMobile,Ke=!!b.isAppAndroid,te=!!b.isAppIos,wi=!!b.forceMinimizeChat,it=!!b.isAppReferrerEnabled,_n=!!b.chatNeedsSpecialClass,_t=!!b.disableChat,fi=!!b.disableUserVendorNotifications,Ut=!!b.appShowCloseButton,hi=!!b.isAppSpecialChatPage,Qt=!!b.isAppBarsEnabled,kt=!!b.fixedBar,Mt=!!b.isAppNativeApiEnabled,ye=!!b.isChatbotEnabled,At=!!b.isAppAlertDisabled,rt=!!b.openOnLoad,bi=!!b.canInitConversation,Ei=typeof b.isPersistentStorageEnabled<"u"?b.isPersistentStorageEnabled:Ei,at=!!b.disableAppChat),ye=ye&&(D.type==="user"||D.type==="anonymous"),_t&&ye&&(_t=!1),V=m||!1;var K={namespace:ye?"bot":"concierge",expireDays:1,storages:Kt()};const Q=new L.Z;return new Promise((q,ue)=>{Q.create(z.Z.get("common.environment.isCurrentPageInCustomSubdomain"),K).then(function(Pe){ne=Pe,ne.loadData(()=>{if(ne.get("pusher-forceConcierge"))ye=!1,$e=!0,K={namespace:"concierge",expireDays:1,storages:Kt()},ne.setOptions(K,()=>(Bi(D),q()));else return Bi(D),q()})})})}function Bi(p){if(He=ne.check("local")||ne.check("cookie"),He){var m=ne.get("pusher-TTL");m!=null&&Date.now()-m>gn&&ne.reset(),ne.set("pusher-TTL",Date.now())}if(wi&&We()==="open"?ct("minimized"):Mt&&ct("open"),V&&(Pusher.log=function(b){window.console&&window.console.log&&window.console.log(b)}),typeof window.Pusher>"u"){console.error("Pusher is not defined in window object. Please ensure pusher library is correctly init in this page.");return}we=new window.Pusher(window.globals.Request_Pusher_Key,{authEndpoint:"/pusher/pusherAuth.php",cluster:window.globals.Request_Pusher_Cluster,encrypted:!0}),we.connection.bind("connected",function(){Z=we.connection.socket_id}),Pi(),p.type==="user"&&(J=parseInt(p.id),Se=p.name,Ne=p.avatar,Qe=p.avatarSvg,Si(),ge="user",xe=J),p.type==="vendor"&&(se=parseInt(p.id),Se=p.name,Ne=p.avatar,et(),ge="vendor",xe=se),p.type==="anonymous"&&(ne.get("pusher-fromType")==="concierge-vendor"&&t.Z.setForSession("PUSHER",1),re=s.Z.init(),Se=p.name,Ne=p.avatar,ti(),ge="anonymous",xe=re),p.type==="anonymous-vendor"&&(ne.get("pusher-fromType")==="concierge"&&t.Z.setForSession("PUSHER",1),re=s.Z.init(),Se=p.name,Ne=p.avatar,Ht(),ge="anonymous-vendor",xe=re),Ee(),!_t&&bi?rn():Dt(),Vt()}function Vt(){a()(document).on("hidePusher",function(){Dt()})}function Kt(){return Ei?["local","cookie"]:["memory"]}function Pt(p,m,b,D,K){if(K=typeof K<"u"?K:{},D){if(we==null||!ne.get("pusher-flowId"))return!1;a().ajax({type:"POST",url:"/pusher/pusherCheck.php",data:{checkActor:!0},async:!1,success:function(Q){Q.actor&&(Ce=Q.actor)}})}return Fe=!1,b&&(ei(),vt=null),m?(ye=!1,$e=!0,ne.set("pusher-forceConcierge",1)):$e=!1,mi(Ce,V,m).then(function(){p&&(Fe?a()(".app-chat-launcher").trigger("click"):$t(!0,K))})}function mi(p,m,b){if(we==null)return a().when();we.disconnect(),a()("#app-chat-container").html("");const D={namespace:ye?"bot":"concierge",expireDays:1,storages:Kt()};return new Promise((K,Q)=>{ne.setOptions(D,()=>{b&&(ei(),vt=null,Fe=!1);var q=typeof p=="object"?p:JSON.parse(p);if(V=m||!1,V&&(Pusher.log=function(ue){window.console&&window.console.log&&window.console.log(ue)}),typeof window.Pusher>"u"){console.error("Pusher is not defined in window object. Please ensure pusher library is correctly init in this page.");return}we=new window.Pusher(window.globals.Request_Pusher_Key,{authEndpoint:"/pusher/pusherAuth.php",cluster:window.globals.Request_Pusher_Cluster,encrypted:!0}),we.connection.bind("connected",function(){Z=we.connection.socket_id}),q.type==="user"&&(J=parseInt(q.id),Se=q.name,Ne=q.avatar,Qe=q.avatarSvg,Si(),ge="user",xe=J),q.type==="vendor"&&(se=parseInt(q.id),Se=q.name,Ne=q.avatar,et(),ge="vendor",xe=se),q.type==="anonymous"&&(ne.get("pusher-fromType")==="concierge-vendor"&&t.Z.setForSession("PUSHER",1),re=s.Z.init(),Se=q.name,Ne=q.avatar,ti(),ge="anonymous",xe=re),q.type==="anonymous-vendor"&&(ne.get("pusher-fromType")==="concierge"&&t.Z.setForSession("PUSHER",1),re=s.Z.init(),Se=q.name,Ne=q.avatar,Ht(),ge="anonymous-vendor",xe=re),a().titleAlert.stop(),Ee(),rn().then(()=>K())})})}function $t(p,m){if(m=typeof m<"u"?m:{},!Fe)if(ge==="anonymous"||ge==="user"){const b={type:ge,idItem:xe,url:document.location.href,forceTrigger:p,forceConcierge:$e?1:0};typeof m.mode<"u"&&(b.mode=m.mode),typeof m.chatbotInitialQuestion<"u"&&(b.chatbotInitialQuestion=m.chatbotInitialQuestion),a().ajax({type:"POST",url:"/pusher/pusherConcierge.php",data:b,success:function(D){if(D.trigger){le=ht(D.concierge),Di(D.concierge),tt(D.concierge,!1,D.showGlobe,!0);var K=1;ot(K,D.showGlobe,!0),Sn(D.concierge.body,D.concierge.actor.avatar,D.showGlobe),Li=!0,(rt||p)&&Zi(),document.dispatchEvent(new CustomEvent("Pusher::onAfterInit",{detail:{}}))}else Dt(),Li=!1}})}else a().ajax({type:"POST",url:"/pusher/pusherConciergeVendor.php",data:{type:ge,idItem:xe,url:document.location.href},success:function(b){if(b.trigger){le=ht(b.concierge);let D,K;b.lastConversation.length===0?(Di(b.concierge),tt(b.concierge,!1,b.showGlobe,!0),D=1,K=!0):(qt(b.numPending),D=b.numPending,K=!1,b.lastConversation.forEach(function(Q,q){Q.fromId==xe&&Q.fromType===ge?Tt(Q,!0):tt(Q,!0)})),ot(D,b.showGlobe,K)}}})}function Fi(p,m,b,D,K){const Q={namespace:p,expireDays:1,storages:Kt()};ne.setOptions(Q,()=>{var q={idConversation:b,fromType:p,fromId:m,type:ge,idItem:xe,actor:{name:D,avatar:K},fromInitConversation:1};gi=D,Je=K,Rt=!0,$e=!1,a()("#app-chat-container").empty(),ht(q),le=a()("#app-"+p+"-"+m,"#app-ch
46at-container"),zt(b,le,"open"),Fe=!0,a()("#app-closed").hide(),Ve(),Dt(),mt=!0})}function bn(p,m){var b=yi(),D=An(),K=Pn();(vt==null||D!=vt)&&(p.append(`<div class="chat__separator"><span>${D}</span></div>`),vt=D);var Q=m.body.toString().replace(/</g,"&lt;").replace(/>/g,"&gt;"),q=a()("> div",a()(p)).length===0||a()("> div",a()(p)).last().hasClass("message-income")||a()("> div",a()(p)).last().hasClass("chat-message-welcome")||a()("> div",a()(p)).last().hasClass("chat__separator");a()(p).last().append(`<div class="chat-message ${q?"":"chat-aggregate "} message-outcome" data-timestamp="${K}">
47        <div class="chat-message-globe">${Q}
48          <div class="chat__timestamp">${b}</div>
49        </div>
50      </div>`),yt(p.parent()),St()}function ji(){return Z}function xi(p){Jt=p}function Yt(p,m){Ii(p,m)}function Ui(p){if(p=typeof p<"u"?p:!1,we!=null){var m=We();m==="close"?a()(".app-chat-conversation","#app-closed").hasClass("active")&&a()(".app-chat-close","#app-closed").trigger("click"):m==="open"&&(a()(".app-chat-min:visible","#app-concierge-admin")?a()(".app-chat-min","#app-concierge-admin").trigger("click"):a()(".app-chat-close","#app-concierge-admin").trigger("click"))}}function Vi(p,m,b){function D(K,Q,q){q=q||"post";var ue=document.createElement("form");ue.setAttribute("method",q),ue.setAttribute("action",K);for(var Pe in Q)if(Q.hasOwnProperty(Pe)){var _e=document.createElement("input");_e.setAttribute("type","hidden"),_e.setAttribute("name",Pe),_e.setAttribute("value",Q[Pe]),ue.appendChild(_e)}document.body.appendChild(ue),ue.submit()}b?document.location.href="/emp-Form.php?id_empresa="+m+"&frmInsert=53":D(p,{showContactar:1})}function Ki(){var p=a()(".app-scroll-calculate"),m=a()("body").height()+120;p.animate({scrollTop:m},250)}function Yi(){ct("minimized")}function ei(){if(He){var p=ne.keys();for(let m=0;m<p.length;m++)ne.remove(p[m])}}function Ai(){return bi}function qi(p,m,b){Rt=vn,ut=m,Je=b,ln(a()(p).closest(".app-chat-conversation"))}function Zi(p){if(Dt(),p)return ye=!0,Pt(!0),!1;if($e||window.reduced!=="/mobile_app/app_chat")return a()(".app-chat-launcher").trigger("click"),!1;a().post("/pusher/pusherCheck.php",{},function(m){m.isChatbotEnabled&&!ye||!m.isChatbotEnabled&&ye?(ye=m.isChatbotEnabled,Pt(!0)):window.setTimeout(function(){a()(".app-chat-launcher").trigger("click")},300)})}function Gi(){Ke&&!Qt||te&&!Qt&&window.iOSAppUsersProxyAppShowBars(0)}function Pi(){di=window.setTimeout(function(){we.disconnect(),a()("#app-chat-container").hide(),u()},gt)}function St(){di!==null&&window.clearTimeout(di),Pi()}function Si(){var p=we.subscribe("private-user-"+J);_t||(p.bind("message",function(m){if(m.fromType==="concierge"&&ye&&!$e)return!1;Te||a().titleAlert("-> "+m.body.replace(/(<([^>]+)>)/ig,""),{stopOnFocus:!0,duration:0,interval:500});var b=ht(m);if(We()==null)le=b,zt(m.idConversation,le,"minimized").then(function(){oi(b,!1),mt=!1,wt("minimized",m.actor.avatar,ke(),m.idConversation),o(m.body,ke(),m.idConversation)});else{var D=a()(le).data("idconversation");D||a()(le).data("idconversation",m.idConversation),We()==="open"&&le&&a()(le).data("idconversation")==m.idConversation?(tt(m),o(m.body,ke(),m.idConversation)):(le=b,zt(m.idConversation,le,We()).then(function(){(We()==="minimized"||We()==="hidden")&&oi(b,!1),We()==="hidden"&&(a()(".app-chat-launcher",le).show(),mt=!1,wt("minimized",m.actor.avatar,ke(),m.idConversation),ct("minimized")),o(m.body,ke(),m.idConversation),bt()}))}St()}),p.bind("update",function(m){var b="app-"+m.toType+"-"+m.toId,D=a()("#"+b,"#app-ch
50at-container");a()(D).length&&Tt(m)}),p.bind("status",function(m){m.status==="writing"&&Jt==m.idConversation&&ni()})),!fi&&!Mt&&(p.bind("lead",function(m){v(m)}),p.bind("user",function(m){S(m)}))}function et(){var p=we.subscribe("private-vendor-"+se);_t||(p.bind("message",function(m){ht(m),tt(m),St()}),p.bind("update",function(m){var b="app-"+m.toType+"-"+m.toId,D=a()("#"+b,"#app-chat-container");a()(D).length&&Tt(m)}),p.bind("status",function(m){m.status==="writing"&&Jt==m.idConversation&&ni()})),fi||(p.bind("lead",function(m){g(m)}),p.bind("adminAction",function(m){g(m)}))}function Ht(){var p=we.subscribe("private-anonymous-vendor-"+re);_t||(p.bind("message",function(m){ht(m),tt(m),St()}),p.bind("update",function(m){var b="app-"+m.toType+"-"+m.toId,D=a()("#"+b,"#app-chat-container");a()(D).length&&Tt(m)}),p.bind("status",function(m){m.status==="writing"&&Jt==m.idConversation&&ni()})),fi||(p.bind("lead",function(m){g(m)}),p.bind("adminAction",function(m){g(m)}))}function ti(){var p=we.subscribe("private-anonymous-"+re);_t||(p.bind("message",function(m){if(m.fromType==="concierge"&&ye&&!$e)return!1;Te||a().titleAlert("-> "+m.body.replace(/(<([^>]+)>)/ig,""),{stopOnFocus:!0,duration:0,interval:500});var b=ht(m);if(We()==null)le=b,zt(m.idConversation,le,"minimized").then(function(){oi(b,!1),mt=!1,wt("minimized",m.actor.avatar,ke(),m.idConversation),o(m.body,ke(),m.idConversation)});else{var D=a()(le).data("idconversation");D||a()(le).data("idconversation",m.idConversation),We()==="open"&&le&&a()(le).data("idconversation")==m.idConversation?(tt(m),o(m.body,ke(),m.idConversation)):(le=b,zt(m.idConversation,le,We()).then(function(){(We()==="minimized"||We()==="hidden")&&oi(b,!1),We()==="hidden"&&(a()(".app-chat-launcher",le).show(),mt=!1,wt("minimized",m.actor.avatar,ke(),m.idConversation),ct("minimized")),o(m.body,ke(),m.idConversation),bt()}))}St()}),p.bind("update",function(m){var b="app-"+m.toType+"-"+m.toId,D=a()("#"+b,"#app-ch
50at-container");a()(D).length&&Tt(m)}),p.bind("status",function(m){m.status==="writing"&&Jt==m.idConversation&&ni()}))}function ke(){var p=0;return He&&(p=ne.get("pusher-pending"),p==null&&(p=0)),p}function qt(p){He&&ne.set("pusher-pending",p)}function ct(p){He&&ne.set("pusher-status",p),St()}function We(){var p=null;return He&&(p=ne.get("pusher-status")),p}function ot(p,m,b){m=typeof m<"u"?m:!0,b=typeof b<"u"?b:!1,le&&!We()==="hidden"&&a()(".app-chat-launcher",le).show();var D=a()(".app-chat-num-messages"),K=a()(".app-chat-num-messages",".app-chat-conversation"),Q=a()(".app-chat-num-messages",".app-chat-launcher");a()(D).removeClass("bounce-once"),b?(a()(Q).html(p).show(),m&&a()(Q).addClass("bounce-once"),p==1?a()(K).html("").hide():(a()(K).html(p-1).show(),m&&a()(K).addClass("bounce-once"))):p==0?a()(D).html("").hide():(a()(D).html(p).show(),m&&a()(D).addClass("bounce-once"))}function ht(p){var m=a()("#app-chat-container"),b=m.find("#app-"+p.fromType+"-"+p.fromId);if(ye=p.fromType==="bot",b.length)return ye&&Qi(b,p),b;const D=ke(),K=We();let Q="";(K==="close"||K==="hidden")&&(Q=" dnone");var q;if(Ke||te?q=Ut:typeof J<"u"?q=!0:q=Te,!window.isUsersAppVersion){const Pe={action:ce.aU.show,hasOrigin:!1,category:ie.WD.chatbot,interaction:ce.U4.chatbot};Xi(Pe)}var ue=p.conciergeTemplate==3?je:Ye;return m.append(`<div id="app-${p.fromType}-${p.fromId}" data-fromtype="${p.fromType}" data-fromid="${p.fromId}" data-idconversation="${p.idConversation}" data-id-question="${p.questionId}" data-id-flow="${p.flowId}" data-id-categ="${p.categId}" data-id-sector="${p.sectorId}" class="app-chat-container-top">
51        <div class="chat-launcher app-chat-launcher ${Q}">
52          <div class="chat-launcher-button ${kt?" chat-launcher-button--bottom":""}">
53            <img class="app-chat-avatar" src="${p.actor.avatar}" width="50" height="50" alt="">
54            <span class="app-chat-num-messages chat-message-count dnone">${D}</span>
55          </div>
56          <div class="chat-launcher-preview">
57            <div class="app-conversation-summary"></div>
58          </div>
59        </div>
60        <div class="chat-conversation app-chat-conversation" data-initconversation="${p.fromInitConversation?1:0}">
61          ${ue.renderHeader({userCanCreateNewConversations:Hi,canShowCloseButton:q,canRefreshChat:ye||$e,pendigTotal:D,actorName:p.actor.name})}
62        <div class="app-chat-history chat-history">
63          <div class="app-chat-conversations chat-messages"></div>
64        </div>
65        ${ue.renderConversationBox({isChatbotEnabled:ye})}
66        <div class="composer-container chat-message-send app-chat-message-send">
67          <div class="app-chat-writing-alert">${'%s is writing...'.replace("%s",p.actor.name)}</div>
68          <form method="POST" class="app-chat-form-${ye?"chatbot":p.fromType}" data-type="${ge}" data-id="${xe}">
69              <div class="composer-textarea-container flex-va-center flex-justify-space-between">
70                  <input class="app-no-tiny app-chat-textarea chat-message-send__messageInput" name="comment" placeholder="${'Write your message...'}" autocomplete="off" />
71                  <div class="chat-submit"> <span class="app-chat-form-submit chat-message-send__messageSubmit"></span></div>
72              </div>
73          </form>
74        </div>
75      </div>`),Te&&P.Z.fix(),b=m.find("#app-"+p.fromType+"-"+p.fromId),ii(b),b}function Xi(p){new be.Z(p).initialize()}function Qi(p,m){p.data("id-question",m.questionId),p.data("id-categ",m.categId),p.data("id-sector",m.sectorId),m.flowId&&p.data("id-flow",m.flowId),Yt(p,m.idConversation)}function lt(){h.Z.hide(a()("#app-mobile-layer-settings"),"left",{},!0),h.Z.hide(a()("#app-mobile-layer-user"),"right",{},!0),a()(document.body).attr("style","overflow:hidden; position:fixed;width:100%;height:"+a()(window).height()+"px"),a()(document.body).addClass("overflow"),l.Z.blockFullscreen()}function Zt(){a()(document.body).hasClass("listener-fullscreen-page")||(a()(document.body).attr("style","position:initial;height:initial;width:initial;"),a()(document.body).removeClass("overflow")),l.Z.unblockFullscreen()}function ii(p){const m=a()(".app-chat-conversation",p);a()(".app-chat-launcher",p).on("click",function(){if(Dt(),a()(this).css("display","none").removeClass("init"),Te&&!te&&lt(),!window.isUsersAppVersion){const K={action:ce.aU.click,hasOrigin:!1,category:ie.WD.chatbot,interaction:ce.U4.openChatBot};Xi(K)}a()(".app-chat-conversation",p).addClass("active"),a()(".app-chat-num-messages",p).parent().removeClass("fadein").removeClass("fadeout"),Te||a()(".app-chat-conversation",p).find("input").focus();var b=a()(p).data("idconversation"),D={id:null,idConversation:b,toType:ge,toId:xe,fromType:a()(p).data("fromtype")};_i(D),qi(m,ut,Je),ct("open")}),a()(".app-chat-min",p).on("click",function(){var b=a()(".app-conversation-parts");b.find(".message-outcome").length>0&&nt();var D=function(){a()(".app-chat-conversation",p).removeClass("active"),a()(".app-chat-launcher",p).removeClass("init").css("display","block"),a()(".app-conversation-summary",p).html().trim()?Te?a()(".app-conversation-summary",p).parent().removeClass("fadein").addClass("fadeout"):a()(".app-conversation-summary",p).parent().removeClass("fadeout").addClass("fadein"):a()(".app-conversation-summary",p).parent().removeClass("fadein").addClass("fadeout")};hi?setTimeout(D,300):D(),Te&&Zt(),ct("minimized"),a()(".app-conversation-summary",p).parent().removeClass("fadeout"),e(),rt&&(rt=!1)}),a()(".app-chat-close",p).on("click",function(){var b=function(){a()(".app-chat-conversation",p).fadeOut("fast",function(){a()(".app-chat-conversation",p).removeClass("active").show(),a()(".app-chat-launcher",p).hide(),a()(".app-chat-history",p).removeClass("active"),a()(".app-chat-conversations",p).html("")})};hi?setTimeout(b,300):b(),Ue(),Te&&Zt(),ct("minimized"),Ut?Tn():Dt()}),a()(".app-chat-refresh",p).on("click",function(){if(At||window.confirm('Are you sure you want to refresh the chat? All messages will be lost.'))if($e){ei();const b={namespace:"bot",expireDays:1,storages:Kt()};ne.setOptions(b,()=>{ye=!0,Pt(!0,!1,!0),Te&&Zt()})}else Pt(!0,!1,!0),Te&&Zt()}),a()(".app-chat-textarea",p).on("focus click",function(){yt(p,!0)}),a()(".app-chat-textarea",p).on("keydown change",function(b){if(a()(this).attr("type")==="number"){if(b.keyCode===188||b.keyCode===190||b.keyCode===110)return!1;a()(this).val(a()(this).val().replace(/\.|,/,""))}}),a()(".app-chat-menu",p).on("click",function(){var b=a()(p).data("fromtype"),D=a()(p).data("fromid");a().ajax({type:"POST",url:"/pusher/pusherMenu.php",data:{type:ge,idItem:xe,typeConcierge:b,idConcierge:D},success:function(K){Mi(K.menu,p),qt(K.numPending),ot(K.numPending)}})}),a()('input[name="comment"]',p).keydown(function(b){b.keyCode===13&&(b.preventDefault(),a()(this).val().trim()===""?a()(this).val(""):(!Te&&i.Z.isIOS()&&document.activeElement.blur(),a()(this).closest("form").trigger("submit"))),!Te&&!Nt&&(setTimeout(function(){a()(".app-chat-hint").addClass("active")},1e3),Nt=!0)}),a()(".app-chat-form-submit",p).on("click",function(b){b.preventDefault(),b.stopPropagation();var D=a().Event("keydown");D.keyCode=13,a()("input[name='comment']",p).trigger(D)})}function ni(p){p=typeof p<"u"?p:!1;var m=a()(".app-chat-writing-alert");if(p)return m.is(":visible")&&(clearTimeout(Lt),m.slideUp(),Lt=null),!0;Lt?(clearTimeout(Lt),Lt=null):m.slideDown(),Lt=setTimeout(function(){m.slideUp(),Lt=null},6e3)}function wn(p,m,b,D){(Ke||te)&&(mt=!1,wt(p,m,b,D))}function tt(p,m,b,D){m=typeof m<"u"?m:!1,b=typeof b<"u"?b:!0,D=typeof D<"u"?D:!1,ni(!0);
75var K="app-"+p.fromType+"-"+p.fromId,Q=a()("#"+K,"#app-chat-container"),q=a()(Q).data("idconversation");if(q||a()(Q).data("idconversation",p.idConversation),m||a()(le).data("idconversation")==p.idConversation)if(ye&&!D&&!m){const ue=parseInt(p.messageType);ue===19||ue===20?(Cn(),window.setTimeout(function(){vi(m,p,Q,b,D)},5e3)):(si(a()(".app-conversation-parts",Q),Q),window.setTimeout(function(){vi(m,p,Q,b,D)},Math.random()*1e3+1e3))}else vi(m,p,Q,b,D)}function Wt(p){var m=a()(le).find(".app-income-message:last"),b=m.clone(),D=m.find(".chat-message").clone(),K=a()(".app-conversation-parts",a()(le));si(K,a()(le)),window.setTimeout(function(){D.find(".chat-message-globe").html(p+'<div class="chat__timestamp">'+yi()+"</div>"),b.find(".chat__timestamp").html(yi()),K.append(D),K.append(b),a()(".app-chat-writing-bot").remove(),a()(".app-chat-textarea").removeAttr("readonly"),a()(".app-chat-form-submit").removeClass("chat-message-send__messageSubmit--disabled"),yt(a()(le).closest(".app-chat-container-top"))},Math.random()*1e3+1e3)}function si(p,m){p.append('<div class="app-chat-writing-bot loadingMessages">   <span class="loadingMessages__item"></span>   <span class="loadingMessages__item"></span>   <span class="loadingMessages__item"></span></div>'),yt(m.closest(".app-chat-container-top"))}function Cn(){const m=a()(le).find(".app-income-message:last").find(".chat-message").clone(),b=a()(".app-conversation-parts",a()(le));a()(".app-chat-textarea").attr("readonly","readonly").removeAttr("type"),a()(".app-chat-form-submit").addClass("chat-message-send__messageSubmit--disabled"),si(b,a()(le));const D='One moment—let me find vendors that fit your needs.';window.setTimeout(function(){m.find(".chat-message-globe").html(D+'<div class="chat__timestamp">'+yi()+"</div>"),a()(".app-chat-writing-bot").remove(),m.append('<div class="app-chat-writing-bot loaderPulsing">   <div class="loaderPulsing__pulsing"></div></div>'),b.append(m),yt(a()(le).closest(".app-chat-container-top"))},Math.random()*1e3+1e3)}function Ji(){const p=a()(".app-chatbot-vendor-slider");a()(document.body).off("click",".app-chatbot-vendors-nav"),a()(document.body).on("click",".app-chatbot-vendors-nav",function(){const m=a()(".app-chatbot-vendor"),b=m[0].clientWidth;let D=a()(".app-chatbot-vendor.active").data("pos");a()(this).data("dir")==="prev"?D--:D++;const K=a()('.app-chatbot-vendor[data-pos="'+D+'"]');m.removeClass("active"),K.addClass("active"),p.css("transform","translateX("+-b*D+"px)"),a()(".app-chatbot-vendors-nav").removeClass("dnone"),D===0?a()('.app-chatbot-vendors-nav[data-dir="prev"]').addClass("dnone"):D===m.length-1&&a()('.app-chatbot-vendors-nav[data-dir="next"]').addClass("dnone")}),setTimeout(function(){p.removeClass("dnone")},200)}function $i(p){const m=window.globals.countryCode==="IN"?1:0;return`<div class="modalChat app-chat-modal">
76                <div class="modalChat__header">
77                    <div class="modalChat__title">
78                        ${'Enter city'}
79                    </div>
80                    <span class="modalChat__close app-chat-modal-close">${'Close'}</span>
81                    <input type="text" class="modalChat__input search app-chat-modal-input app-chat-location-input" data-id-country="${p.weddingCountry}" data-enable-only-province="${m}">
82                </div>
83                <div class="modalChat__content app-chat-modal-close">
84                    <div class="modalChat__results"><ul></ul></div>
85                </div>
86           </div>
87           <input class="app-suggest-poblacion-id-default" type="hidden" name="idPoblacion" value="${p.weddingCity}" />
88           <input class="app-suggest-provincia-id-default" type="hidden" name="idProvincia" value="${p.weddingProvince}" />`}function ri(){return`<div class="modalChat app-chat-modal">
89                <div class="modalChat__header">
90                    <div class="modalChat__title">
91                        ${'Add vendor'}
92                    </div>
93                    <span class="modalChat__close app-chat-modal-close">${'Close'}</span>
94                    <input type="text"
95                           class="modalChat__input search app-ch
95at-modal-input app-chat-venue-input"
96                           data-id-thumb="1"
97                    />
98                </div>
99                <div class="modalChat__content app-chat-modal-close">
100                    <div class="modalChat__results"><ul></ul></div>
101                </div>
102           </div>
103           <input type="hidden" class="app-suggest-vendor-id-default" name="idEmpresa" value="" />`}function en(p){let m="";return a().ajax({type:"POST",url:"/pusher/pusherCalendar.php",data:{pickedDate:p.weddingDate},async:!1,success:function(b){m=b}}),m}function Ti(p){let m="",b="app-chat-qr";return(p.messageType==2||p.messageType==9)&&(b="app-chat-qr-multi"),a().each(p.quickReplies,function(D,K){K.IS_ALL&&(b="app-chat-qr-all"),m+='<span class="chatQuickReply__input '+b+'" data-type="'+p.messageType+'" data-reply-text="'+K.TEXT+'"'+(p.answerId?' data-reply-id="'+K.ID+'"':"")+">"+K.ICON+K.TEXT+"</span>"}),'<div class="app-chat-qr-container chatQuickReply">'+m+"</div>"}function En(p){var m="";return a().ajax({type:"POST",url:"/pusher/getVendors",data:{vendors:p.vendors,quickReplies:p.quickReplies},async:!1,success:function(b){m=b}}),m}function vi(p,m,b,D,K){var Q=!0;if(p||a()(le).data("idconversation")==m.idConversation){nn(b,m);var q=m.body.replace(/(?:\r\n|\r|\n)/g,"<br/>"),ue="",Pe="";if(ye&&m.questionId){a()(".app-chat-writing-bot").remove();var _e=parseInt(m.messageType),Re=a()(".app-chat-textarea"),Le=a()(".app-chat-form-submit");switch(Re.attr("readonly","readonly").removeAttr("type"),Le.addClass("chat-message-send__messageSubmit--disabled"),a()(".app-chat-form-chatbot").data("message-type",_e),_e){case 5:Pe=$i(m),Re.addClass("app-chat-modal-textarea").val(m.weddingLocationStr),Le.removeClass("chat-message-send__messageSubmit--disabled");break;case 6:ue=en(m),Re.val(m.weddingDate),Le.removeClass("chat-message-send__messageSubmit--disabled");break;case 3:case 4:Re.attr("type","number"),Re.removeAttr("readonly"),Le.removeClass("chat-message-send__messageSubmit--disabled");break;case 10:case 11:case 12:Re.removeAttr("readonly"),Le.removeClass("chat-message-send__messageSubmit--disabled");break;case 15:ei();break;case 18:Pe=ri(),Re.addClass("app-chat-modal-textarea"),Le.removeClass("chat-message-send__messageSubmit--disabled");break;case 19:ue=En(m);break;default:if(m.quickReplies&&!a().isEmptyObject(m.quickReplies)){let ft="";_e===2||_e===9?(Le.removeClass("chat-message-send__messageSubmit--disabled"),ft='You can select more than one option.'):m.quickReplies.length>2&&(ft='Select an option'),ft.length>0&&(q+='<span class="ml5 color-secondary small app-chatbot-tip">('+ft+")</span>"),ue=Ti(m)}}}var It=a()(".app-conversation-parts > div",a()(b)).length===0||a()(".app-conversation-parts > div",a()(b)).last().hasClass("message-outcome")||a()(".app-conversation-parts > div",a()(b)).last().hasClass("chat-message-welcome")||a()(".app-conversation-parts > div",a()(b)).last().hasClass("chat__separator");It?a()(".app-conversation-parts",a()(b)).append(`<div class="app-income-message message-income">
104              <div class="chat-message message-income">
105                <div class="chat-message-avatar">
106                  <img src="${m.actor.avatar}" width="50" height="50" alt="${m.actor.name}" />
107                </div>
108                <div class="chat-message-globe">
109                  ${q}
110                  <div class="chat__timestamp">${m.publishedTime}</div>
111                </div>
112              </div>
113              <div class="app-chat-reply-template">${ue}</div>
114          </div>
115          ${Pe}`):a()(".app-conversation-parts",a()(b)).last().append(`<div class="app-income-message message-income">
116            <div class="chat-message chat-aggregate message-income">
117              <div class="chat-message-globe">
118                ${q}
119                <div class="chat__timestamp">${m.publishedTime}</div>
120              </div>
121            </div>
122            ${ue}
123           </div>
124           ${Pe}`),ye&&(m.messageType===6?new C.Z({element:".app-chat-calendar",uniqueDate:!0,callbackClickDay:function(Oi){a()(".app-chat-textarea").val(a()(Oi).data("date"))}}).init():m.messageType===19&&Ji());var li=m.body.replace(/(<([^>]+)>)/ig,"");li.length>
124105&&(li=li.substring(0,105)+"..."),a()(".app-conversation-summary",a()(b)).html(li),D&&oi(b,p),a()(".app-chat-name",a()(b)).html(m.actor.name),a()(".app-chat-avatar",a()(b)).attr("src",m.actor.avatar),yt(b),Q=!1,!p&&(We()==="open"&&!ye||We()==="minimized"||We()==="hidden")&&bt()}m.numPending!=null&&qt(m.numPending),!p&&(Q||We()==="close"||We()==="minimized"||We()==="hidden")?m.numPending!=null&&ot(m.numPending,D):!p&&!K&&_i(m,D)}function tn(p){if(Te){var m=a()(".app-mobile-user-menu-box").find(".app-mobile-user-menu-link");m.length>0&&!m.hasClass("app-mobile-no-update-badge")?oe(m,p):(m=a()(".app-mobile-user-menu-box").find(".app-tools-main-envelope-header"),m.length>0&&oe(m,p))}else{var b=a()(".app-header-envelope-inbox");b.length>0&&me(b,p)}}function oi(p,m){m||(a()(".app-conversation-summary",a()(p)).parent().removeClass("fadeout").addClass("fadein"),pi&&clearTimeout(pi),pi=setTimeout(function(){a()(".app-conversation-summary",a()(p)).parent().removeClass("fadein").addClass("fadeout")},3e3))}function Tt(p,m){m=typeof m<"u"?m:!1;
124var b="app-"+p.toType+"-"+p.toId,D=a()("#"+b,"#app-chat-container");nn(D,p);var K=a()(".app-conversation-parts > div",a()(D)).length===0||a()(".app-conversation-parts > div",a()(D)).last().hasClass("message-income")||a()(".app-conversation-parts > div",a()(D)).last().hasClass("chat-message-welcome")||a()(".app-conversation-parts > div",a()(D)).last().hasClass("chat__separator");(m||a()(le).data("idconversation")==p.idConversation)&&(a()(".app-conversation-parts",a()(D)).last().append(`<div class="chat-message ${K==!1?"chat-aggregate ":""} message-outcome" data-timestamp="${p.ts}">
125          <div class="chat-message-globe">
126            ${p.body}
127            <div class="chat__timestamp">${p.publishedTime}</div>
128          </div>
129        </div>`),yt(D))}function nn(p,m){(vt==null||m.publishedDate!=vt)&&(a()(".app-conversation-parts",a()(p)).append(`<div class="chat__separator"><span>${m.publishedDate}</span></div>`),vt=m.publishedDate)}function Di(p){var m="app-"+p.fromType+"-"+p.fromId,b=a()("#"+m,"#app-chat-container");p.conciergeTemplate==1?a()(".app-conversation-parts",a()(b)).append(`<div class="chat-message-welcome">
130          <p class="title">${'WeddingWire concierge'}</p>
131          <p>${'WeddingWire has thousands of vendors to choose from with pricing, reviews and more. Let me help you narrow it down to find the vendors that are right for you! Tell us a little bit about what you\'re looking for and we\'ll get working.'}</p>
132          <div class="chat-legal">
133            ${window.globals.Request_Country==="IN"?'<a class="app-pusher-link" href="'+window.globals.Request_Url_Condiciones_Legales+'#concierge">'+'WeddingWire Terms of Use'+"</a>":'<a class="app-pusher-link" href="'+window.globals.Request_Url_Condiciones_Legales+'#concierge">'+'Terms of Use'+'</a><a class="app-pusher-link ml10" href="'+window.globals.Request_Url_Politica_Privacidad+'">'+'Privacy policy'+"</a>"}
134          </div>
135        </div>`):p.conciergeTemplate==2&&a()(".app-conversation-parts",a()(b)).append(`<div class="chat-message-welcome">
136          <p class="title">${'HELP FOR VENDORS'}</p>
137          <p>${'We want to help you manage your Storefront to make sure you get the most out of your presence on WeddingWire. Do you have a question? Ask us!'}</p>
138          <div class="chat-legal">
139            <a class="app-pusher-link" href="${window.globals.Request_Url_Condiciones_Legales}">${'WeddingWire Terms of Use'}</a>
140          </div>
141        </div>`)}function xn(p,m,b){b=b||!1;var D="open";return Ii(m,p,D),b||a()(m).data("idconversation")!=p?zt(p,m,D).then(function(){sn(m,!1)}):(sn(m),a().when())}function sn(p,m){m=typeof m<"u"?m:!0;const b=ke();ot(b),m&&a()(".app-chat-launcher",p).trigger("click")}function rn(){var p=a().when();if(He){var m=ne.get("pusher-idConversation"),b=ne.get("pusher-status"),D=ne.get("pusher-fromId"),K=ne.get("pusher-fromType"),Q=ne.get("pusher-questionId"),q=ne.get("pusher-flowId"),ue=ne.get("pusher-categId"),Pe=ne.get("pusher-sectorId");let Le;if(!ai(m)&&b!=="close"?(b=null,ne.remove("pusher-status"),ne.remove("pusher-idConversation")):xi(m),b==="open"||b==="minimized"||b==="hidden"){var _e=ne.get("pusher-actorName");Le=ne.get("pusher-actorAvatar");var Re={idConversation:m,fromType:K,fromId:D,type:ge,idItem:xe,actor:{name:_e,avatar:Le},questionId:Q,flowId:q,categId:ue,sectorId:Pe};return ht(Re),le=a()("#app-"+K+"-"+D,"#app-chat-container"),Fe=!0,zt(m,le,b).then(function(){wt(b,Le,ke(),m)})}else b==="close"&&(on(),Le=ne.get("pusher-actorAvatar"),wt(b,Le,ke(),null))}return p}function zt(p,m,b){b=b||null;const D=parseInt(a()(m).data("id-question"))||null,K=parseInt(a()(m).data("id-flow"))||null,Q=parseInt(a()(m).data("id-categ"))||null,q=parseInt(a()(m).data("id-sector"))||null;return a().ajax({type:"POST",url:"/pusher/pusherHistory.php",data:{type:ge,idItem:xe,idConversation:p,questionId:D,flowId:K,categId:Q,sectorId:q},success:function(ue){if(ue.reload)return Pt(!0,!1,!0),!1;var Pe=ue.numUnreadMsgUser;Pe>0&&tn(Pe),ut=ue.statusConcierge,Je=ue.conciergeAvatar,vt=null,a()(".app-conversation-parts",a()(m)).html(""),ue.messageDefault[0].body.length>0&&(ge==="anonymous"||ge==="user")&&tt(ue.messageDefault[0],!0),ue.history.forEac
141h(function(_e,Re){_e.fromId==xe&&_e.fromType===ge?Tt(_e,!0):tt(_e,!0),Re===ue.history.length-1&&ye&&Qi(m,_e)}),qt(ue.numPending),ot(ue.numPending),Ii(m,p,b),(b==="open"||rt)&&(hi||!Qt||rt)&&(rt&&Dt(),a()(".app-chat-launcher",m).trigger("click"))}})}function Ii(p,m,b){He&&(a()(p).data("idconversation",m),ne.set("pusher-idConversation",parseInt(m)),ne.set("pusher-fromId",a()(p).data("fromid")),ne.set("pusher-fromType",a()(p).data("fromtype")),ne.set("pusher-actorAvatar",a()(".app-chat-avatar",p).attr("src")),ne.set("pusher-actorName",a()(".app-chat-name",p).html()),b!=null&&ne.set("pusher-status",b),ye&&(ne.set("pusher-questionId",parseInt(a()(p).data("id-question"))),ne.set("pusher-flowId",parseInt(a()(p).data("id-flow"))),ne.set("pusher-categId",parseInt(a()(p).data("id-categ"))),ne.set("pusher-sectorId",parseInt(a()(p).data("id-sector"))))),xi(m)}function on(){He&&ne.remove("pusher-idConversation"),xi(null),le=a()("#app-closed"),Fe=!0;var p=ke(),m=a()("#app-closed","#app-chat-container");if(a()(m).length){a()(".app-chat-close",m).trigger("click",[{notifyApp:!1}]),ot(p),a()(m).show();return}a()("#app-chat-container").append(`<div id="app-closed" class="app-chat-container-top">
142        <div class="chat-launcher app-chat-launcher dnone">
143          <div class="chat-launcher-button closed' ${kt?" chat-launcher-button--bottom":""}"></div>
144          <span class="app-chat-num-messages chat-message-count">${p}</span>
145        </div>
146        <div class="chat-conversation app-chat-conversation">
147          <div class="chat-header">
148            <span class="chat-name">${'Chats'}</span>
149            <div class="chat-controls chat-controls-right">
150              <span class="app-chat-close chat-control-btn"><span class="chat-ui chat-close"></span></span>
151            </div>
152          </div>
153          <div class="app-chat-history chat-history">
154            <div class="app-chat-conversations chat-messages"></div>
155          </div>
156          <div class="app-conversation-parts chat-messages app-mobile-nel-scrollfix"></div>
157          <div class="composer-container chat-message-send"></div>
158        </div>
159      </div>`),ot(p),Te&&P.Z.fix();var b=a()("#app-closed","#app-chat-container");a()(".app-chat-launcher",b).on("click",function(){a()(this).css("display","none").removeClass("init"),Te&&lt(),a()(".app-chat-conversation",b).addClass("active").find("input").focus(),a().ajax({type:"POST",url:"/pusher/pusherMenu.php",data:{type:ge,idItem:xe},success:function(D){Mi(D.menu,b),qt(D.numPending),ot(D.numPending)}})}),a()(".app-chat-close",b).on("click",function(D,K){a()(".app-chat-conversation",b).removeClass("active"),a()(".app-chat-launcher",b).css("display","block"),Ue(),Te&&Zt(),ct("minimized"),n()})}function yt(p,m){var b=a()(".app-conversation-parts",p);b.length&&(te||m?setTimeout(function(){b[0].scrollTop=b[0].scrollHeight},500):b[0].scrollTop=b[0].scrollHeight)}function Mi(p,m){a()(".app-chat-conversations",m).html(""),p.forEach(function(b,D){var K=b.pendingMessages==0?"dnone":"";a()(".app-chat-conversations",m).append(`<div class="app-chat-history-conversation chat-panel chat-message message-income" data-id="${b.id}" data-toid="${b.toId}" data-totype="${b.toType}">
160          <div class="chat-message-avatar">
161            <img class="app-chat-avatar" src="${b.actorAvatar}" width="50" height="50" alt="${b.actorName}" />
162            <span class="chat-message-count ${K}">${b.pendingMessages}</span>
163          </div>
164          <div class="chat-message-info">
165            <span class="app-chat-name chat-message-name">${b.actorName}</span>
166            <span class="chat-message-subject">${b.lastMessage?b.lastMessage:b.asunto}</span>
167            <span class="chat-message-lastmessage">${b.fechaLastMessage}</span>
168          </div>
169        </div>`)}),Hi&&a()(".app-chat-history",m).append(`<div class="app-chat-button chat-btn-new-message">
170          <span class="btn btn-primary btn-medium app-chat-new-conversation">
171            <i class="fa fa-comment-o"></i>${'New chat'}
172          </span>
173        </div>`),a()(".app-chat-new-conversation",m).on("click",function(b){let D="concierge";var K="admin";let Q=1;ge==="vendor"&&(D="concierge-vendor",Q=2),a().ajax({type:"POST",url:"/pusher/pusherNew.php",data:{fromType:D,fromId:K},success:function(q){var ue={idConversation:"",fromType:q.fromType,fromId:q.fromId,type:ge,idItem:xe,actor:q.actor,conciergeTemplate:Q};gi=q.actor.name,Je=q.actor.avatar,ut=q.statusConcierge,Rt=!0,le=ht(ue),le.data("idconversation",""),a()(".app-chat-history",m).removeClass("active"),a()(".app-chat-conversations",m).html(""),a()(".app-chat-button",m).remove(),a()(".app-conversation-parts",le).html(""),a()(".app-conversation-summary",le).html(""),a()(".app-chat-launcher",le).trigger("click"),Di(ue),a()("#app-closed").hide(),a()(".app-controls-menu").show(),a()(".app-chat-min").show()}})}),a()(".app-chat-history",m).addClass("active"),a()(".app-controls-menu").hide(),a()(".app-chat-min").hide(),a()(".app-chat-history-conversation",m).on("click",function(b){var D=a()(this).data("totype"),K=a()(this).data("toid"),Q=a()(this).data("id"),q={idConversation:Q,fromType:D,fromId:K,type:ge,idItem:xe,actor:{name:a()(".app-chat-name",this).html(),avatar:a()(".app-chat-avatar",this).attr("src")}};gi=q.actor.name,Je=q.actor.avatar,Rt=!0,le=ht(q),xn(Q,le,!0).then(function(){a()(".app-chat-history",m).removeClass("active"),a()(".app-chat-conversations",m).html(""),a()(".app-chat-button",m).remove(),a()(m).attr("id")==="app-closed"&&(a()(".app-chat-conversation",m).removeClass("active"),a()(".app-chat-launcher",m).show()),a()("#app-closed").hide(),a()(".app-controls-menu").show(),a()(".app-chat-min").show()})})}function _i(p,m){m=typeof m<"u"?m:!0,a().ajax({type:"POST",url:"/pusher/pusherMarkAsRead.php",data:{idMessage:p.id,type:p.toType,idItem:p.toId,idConversation:p.idConversation,fromType:p.fromType},success:function(b){b.numPending!=null&&(qt(b.numPending),ot(b.numPending,m),an(b.numPending))}})}function an(p){a().ajax({type:"GET",url:"/utils-HeaderUnreadedMessagesAjax.p
173hp",success:function(m){var b;m.numUnread!=null?b=parseInt(m.numUnread):b=parseInt(p),tn(b)}})}function bt(){if(!Ke&&!te){var p=new window.Audio(window.globals.subdomain_cdn_img+"/assets/audio/blop.wav");try{p.play()}catch{}}}function Bt(p){return p>=0&&p<10?"0"+p:p+""}function yi(){const p=new Date;let m=Bt(p.getHours());const b=Bt(p.getMinutes());let D=[m,b].join(":");return window.globals.isUSProject&&(m=p.getHours()-(p.getHours()>12?12:0),D=[[Bt(m),b].join(":"),p.getHours()>=12?"PM":"AM"].join(" ")),D}function An(){const p=new Date,m=Bt(p.getDate()),b=Bt(p.getMonth()+1),D=p.getFullYear();let K=[m,b,D].join("/");return window.globals.isUSProject&&(K=[b,m,D].join("/")),K}function Pn(){return new Date().getTime()}function ai(p){return Number(p)===p&&p%1===0}function ln(p){p.length===0&&(p=a()(".app-chat-conversation")),Rt&&(ut==2||ut==3||ut==4)&&a()(".app-chat-warning",p).length===0&&(ut==2||ut==3?ge==="vendor"?a()(p).append(`<div class="app-chat-warning chat-warning">
174              <div class="chat-warning-content">
175                <span class="app-chat-warning-close chat-warning-close">&times;</span>
176                <img class="img-circle rounded" src="${Je}" width="60" height="60" />
177                <h2 class="fs18">${'Sorry, I can\'t help you right now'}</h2>
178                <p>${'Online support service from Monday-Friday, 9am-9pm.'}</p>
179                <p>${'If you have any questions, please e-mail <a href="mailto:[email protected]">[email protected]</a>.'}</p>
180              </div>
181            </div>`):a()(p).append(`<div class="app-chat-warning chat-warning">
182              <div class="chat-warning-content">
183                <img class="img-circle rounded" src="${Je}" width="60" height="60" />
184                <h2 class="fs18">${'Sorry, I can\'t help you right now'}</h2>
185                <p>${'Online support service hours are from Monday to Friday from 9 am to 9 pm.'}</p>
186                <p>${'If you have any questions, please email <a href="mailto:[email protected]">[email protected]</a>.'}</p>
187              </div>
188            </div>`):ge==="vendor"?a()(p).append(`<div class="app-chat-warning chat-warning">
189              <div class="chat-warning-content">
190                <span class="app-chat-warning-close chat-warning-close">&times;</span>
191                <img class="img-circle rounded" src="${Je}" width="60" height="60" />
192                <h2>${'Outside of operating hours'}</h2>
193                <p>${'Sorry, I can\'t help you right now but I will be back shortly.'}</p>
194                <p>${'If you have any questions, please e-mail <a href="mailto:[email protected]">[email protected]</a>.'}</p>
195              </div>
196            </div>`):a()(p).append(`<div class="app-chat-warning chat-warning">
197              <div class="chat-warning-content">
198                <img class="img-circle rounded" src="${Je}" width="60" height="60" />
199                <h2>${'Outside of operating hours'}</h2>
200                <p>${'Sorry, I can\'t help you right now but I will be back shortly.'}</p>
201                <p>${'If you have any questions, please email <a href="mailto:[email protected]">[email protected]</a>.'}</p>
202              </div>
203            </div>`),a()(".app-chat-warning-close",p).on("click",function(){a()(this).parent().parent().remove()}),Te&&(p.find(".app-conversation-parts").addClass("app-mobile-nel-scrollfix"),P.Z.fix()),Rt=!1)}function wt(p,m,b,D){if(at)return!1;if(mn=!0,mt){mt=!1;return}if(Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appInitPusher(p,m,b,D);else if(te){const K="PUSHER_INIT",Q=window.btoa(JSON.stringify({status:p,avatar:m,numPendingMessages:b,idConversation:D}));window.iOSAppUsersProxyCommon(K+"|"+Q+"|||")}}function Sn(p,m,b){if(at)return!1;if(p=p.replace(/(<([^>]+)>)/ig,""),p=a()("<textarea />").html(p).text(),p.length>105&&(p=p.substring(0,105)+"..."),Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appTriggerPusher(p,m,b);else if(te){const D="PUSHER_TRIGGER",K=window.btoa(JSON.stringify({message:p,avatar:m,showGlobe:b}));window.iOSAppUsersProxyCommon(D+"|"+K+"|||")}}function Dt(){if(at)return!1;if(Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appHidePusher();else if(te){const p="PUSHER_HIDE";window.iOSAppUsersProxyCommon(p+"||||")}else if(typeof window.isUsersAppVersion<"u"&&window.isUsersAppVersion)if(window.isAppUsersNativePlatformIOS){const p="PUSHER_HIDE";window.iOSAppUsersProxyCommon(p+"||||")}else typeof androidAppUsersProxy<"u"&&window.androidAppUsersProxy.appHidePusher()}function Tn(){if(at)return!1;if(Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appHideAndClosePusher(ke());else if(te){const p="PUSHER_HIDE_AND_CLOSE",m=window.btoa(JSON.stringify({numPendingMessages:ke()}));window.iOSAppUsersProxyCommon(p+"|"+m+"|||")}else if(typeof window.isUsersAppVersion<"u"&&window.isUsersAppVersion)if(window.isAppUsersNativePlatformIOS){const p="PUSHER_HIDE_AND_CLOSE",m=window.btoa(JSON.stringify({numPendingMessages:ke()}));window.iOSAppUsersProxyCommon(p+"|"+m+"|||")}else typeof androidAppUsersProxy<"u"&&window.androidAppUsersProxy.appHideAndClosePusher(ke())}function e(){if(at)return!1;if(Ke&&typeof androidAppUsersProxy<"u")Mt?window.androidAppUsersProxy.appMinimizePusher(ke(),Ot):window.androidAppUsersProxy.appMinimizePusher(ke());else if(te){const p="PUSHER_MINIMIZE",m=window.btoa(JSON.stringify({numPendingMessages:ke(),hasActiveConversations:Ot}));window.iOSAppUsersProxyCommon(p+"|"+m+"|||")}}function n(){if(at)return!1;if(Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appClosePusher(ke());else if(te){const p="PUSHER_CLOSE",m=window.btoa(JSON.stringify({numPendingMessages:ke()}));window.iOSAppUsersProxyCommon(p+"|"+m+"|||")}}function o(p,m,b){if(rt)return!1;if(p=p.replace(/(<([^>]+)>)/ig,""),p=a()("<textarea />").html(p).text(),p.length>
203105&&(p=p.substring(0,105)+"..."),Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appMessagePusher(p,m,b);else if(te){const D="PUSHER_MESSAGE",K=window.btoa(JSON.stringify({message:p,numPendingMessages:m,idConversation:b}));window.iOSAppUsersProxyCommon(D+"|"+K+"|||")}}function u(){if(at)return!1;if(Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appDeactivatePusher();else if(te){const p="PUSHER_DEACTIVATE";window.iOSAppUsersProxyCommon(p+"||||")}}function d(p,m){if(at)return!1;if(Ke&&typeof androidAppUsersProxy<"u")window.androidAppUsersProxy.appRunJavascriptPusher(p,m);else if(te){const b="PUSHER_RUN_JAVASCRIPT",D=window.btoa(JSON.stringify({command:p,avatar:m}));window.iOSAppUsersProxyCommon(b+"|"+D+"|||")}}function g(p){var m=p.url,b=p.text,D=p.idLead,K=p.id,Q,q;let ue;if(Te)window.globals.idProject==="51"?Q=m.replace("https://"+window.globals.subdomain,"https://"+window.globals.subdomainMobile):Q=m.replace("https://"+window.globals.subdomain,"https://"+window.globals.subdomainMobile+"/vendors"),mobile_vendors_notification_newLead_callback(b,Q,D,K);else if(m=m.replace("https://"+window.globals.subdomainMobile+"/vendors","https://"+window.globals.subdomain+"/vendors"),window.globals.subdomainMobile==="m.weddingwire.com"&&(m=m.replace("https://app.weddingwire.com/vendors","https://"+window.globals.subdomain+"/vendors")),Q=m.replace("apps/empresas/",""),a()(".app-vendors-solicitudes-response-form").length>0&&a()("input[name=id_solicitud]",".app-vendors-solicitudes-response-form").val()===D)q=a()("#app-pusher-vendors-users-notification-alert"),ue=`<p>${'You have a new message'}</p><p>${'Don\'t forget to read it!'}</p>`,p.actorAvatarSvg,a()(q).html(W(ue,p.actorImgUrl,p.numUnreadMsgLead,p.actorAvatarSvg,Q)).fadeIn(400),setTimeout(function(){a()(q).fadeOut("fast")},5e3),O(K),a().ajax({url:"/emp-AdminSolicitudesShowAjaxRefresh.php?idSolicitud="+D,cache:!1,success:function(_e){var Re=a()(".app-sol-reply:first");a()(Re).find(".tag-pending")&&a()(Re).find(".tag-pending").remove(),a()(".app-admin-conversation-new-msg").remove(),a()(_e).insertBefore(Re).hide().fadeIn("slow"),bt(),a().titleAlert("-> "+b.replace(/(<([^>]+)>)/ig,""),{stopOnFocus:!0,duration:0,interval:500})}});else{q=a()("#app-pusher-vendors-users-notification-alert"),ue=b,b.indexOf('Read message')===-1&&(ue=`${b} <span class="link">${'Read message'}</span>`),a()(q).html(W(ue,p.actorImgUrl,p.numUnreadMsgLead,p.actorAvatarSvg,Q)).fadeIn(400),setTimeout(function(){a()(q).fadeOut("fast")},5e3),O(K),bt();var Pe=a()(".app-vendor-menu-requests");ae(Pe),B(D,p)}}function v(p){var m=p.url,b=p.text,D=p.idLead,K=p.id,Q=Boolean(p.increaseCounter);let q;if(Te)new E.Z().initialize(b,m,D,!0,Q,Mt,p,K);else{q=`<p>${'You have a new message'}</p><p>${'Don\'t forget to read it!'}</p>`;var ue=a()("#app-pusher-vendors-users-notification-alert");if(a()(".app-users-solicitudes-response-form").length>0&&a()("input[name=id_solicitud]",".app-users-solicitudes-response-form").val()===D||a()(".app-users-solicitudes-response-form").length===0&&a()(".app-users-solicitud-"+D).length>0)p.actor.avatar&&(p.actorImgUrl=p.actor.avatar),x(ue,W(q,p.actorImgUrl,p.numUnreadMsgLead,p.actorAvatarSvg,m)),O(K),a().ajax({url:"/tools/VendorsSolicAjaxRefresh?idSolicitud="+D,cache:!1,success:function(_e){var Re=a()(".app-sol-reply:first");a()(_e).insertBefore(Re).hide().slideToggle("slow"),a().titleAlert("-> "+b.replace(/(<([^>]+)>)/ig,""),{stopOnFocus:!0,duration:0,interval:500}),bt()}});else{q=`${_s('You have a new message from %s.',p.actorName)} <span class="link">${'Read message'}</span>`,p.text&&(q=`${p.text} <span class='link'>${'Read message'}</span>`),p.actor.avatar&&(p.actorImgUrl=p.actor.avatar),x(ue,W(q,p.actorImgUrl,p.numUnreadMsgLead,p.actorAvatarSvg,m)),O(K);var Pe=a()(".header-joined-inbox");Q&&me(Pe),bt(),H(D,"lead",p)}}}function S(p){var m=p.url,b=p.body,D=p.id;if(Te)new E.Z().initialize(b,m,null,!0,!0,Mt,p,D);else{m=m.replace("https://"+window.globals.subdomainMobile,"https://"+window.globals.subdomain);var K=a()("#app-pusher-vendors-users-notification-alert");x(K,'<div class="newMessageAlert app-link" data-href="'+m+'"><div class="newMessageAlert__content">'+b+"</div></div>"),O(D);var Q=a()(".header-joined-inbox");me(Q),bt()}}function x(p,m){a()(p).html(m).fadeIn(400),setTimeout(function(){a()(p).fadeOut("fast")},5e3)}function O(p){a().ajax({url:"/trace/trace-RealTimePushShow.php",dataType:"json",data:{idMessage:p}})}function W(p,m,b,D,K){var Q=U(m,D),q=" newMessageAlert__avatar--vendor";return ge==="vendor"&&(D?q=" newMessageAlert__avatar--alias":q=" newMessageAlert__avatar--user"),`<div class="newMessageAlert app-link" data-href="${K}">
204              <div class="newMessageAlert__avatar ${q}">
205                ${Q}
206                <span class="counter">${b}</span>
207              </div>
208              <div class="newMessageAlert__content">
209                ${p}
210              </div>
211            </div>`}function U(p,m){if(m){var b=a()("<div></div>").append(m);return b.find(".chat-message-avatar").removeClass("chat-message-avatar"),b.html()}return`<img class="newMessageAlert__image border ${ge==="vendor"?"avatar-thumb":""}" src="${p}" width="56" />`}function H(p,m,b){typeof m>"u"&&(m="lead");var D=a()("#mesaje"+p);if(m==="lead"){if(D.length>0){var K=D.find(".inboxMessage__nameBlock").find('span[class!="inboxMessage__nameBlockVendor"]'),Q="";K.length?Q=K.html():Q="(1)";var q=Q.substr(1);q=parseInt(q.substr(0,q.length-1)),q.isNaN||(K.length?K.html(`(${q+1})`):D.find(".inboxMessage__nameBlock").append("<span>("+(q+1)+")</span>"),D.hasClass("inboxMessage--noread")||(D.addClass("inboxMessage--noread"),D.find(".inboxMessage__previewBlockTitle").addClass("inboxMessage__previewBlockTitle--noread"),D.find(".inboxMessage__previewBlockContent").addClass("inboxMessage__previewBlockContent--noread")),b.body&&D.find(".inboxMessage__previewBlockContent").html(b.body))}}else m==="read"&&D.length>0&&D.hasClass("inboxMessage--noread")&&D.removeClass("inboxMessage--noread")}function B(p,m){if(a()(".app-vendor-message-"+p).length>0){var b=a()(".app-vendor-message-"+p),D=b.find(".admin-home-sol-name > span, .adminHomeSol__name > span"),K=D.html(),Q=K.substr(1);Q=parseInt(Q),isNaN(Q)||(D.html(`(${Q+1})`),b.hasClass("adminHomeSol__item")&&!b.hasClass("adminHomeSol__item--new")?b.addClass("adminHomeSol__item--new"):b.hasClass("new")||b.addClass("new"),m.body&&b.find(".adminHomeSol__description").html(m.body))}}function oe(p,m){f.Z.update(p,m)}function me(p,m){w.Z.getAndUpdate(p,m)}function ae(p){a().ajax({url:"/emp-AdminSolicitudesGetPendingAjax.php",cache:!1,success:function(m){if(m){var b=a()("#menu");if(b.length&&b.hasClass("app-menu")){var D=b.find(".app-header-inbox-counter");if(D.length&&m!=="undefined"&&m/1>0){var K=b.find(".app-header-inbox-counter");K.addClass("counter").html(m)}}else p.find("a").hasClass("adminNav__item")?p.find(".app-vendors-admin-nav-item-count").length>0?p.find(".app-vendors-admin-nav-item-count").html(m):p.find(".adminNav__itemIcon").append('<span class="adminNav__itemCount app-vendors-admin-nav-item-count">1</span>'):p.find(".vendors-admin-nav-item-count").length>0?p.find(".vendors-admin-nav-item-count").html(m):p.find("a").append('<span class="vendors-admin-nav-item-count dark">1</span>')}}})}function Ue(){var p=!1,m=a()(".app-conversation-parts",le).find(".message-outcome"),b=parseInt(ne.get("pusher-times-closed"))||0;ne.set("pusher-times-closed",b+1);var D=Wi;if(!Ke&&!te&&(D=yn),m.length===0&&b>=0)p=!0;else{var K=m.last().data("timestamp"),Q=new Date;b>=0&&(Q.getTime()-K)/(1e3*3600*24)>D&&(p=!0)}p&&t.Z.setPersistent(Ci,"1",D)}function Ve(){t.Z.deleteCookie(Ci)}function nt(){Ot=!0}function Ee(){parseInt(t.Z.getCookie("PUSHER"))===1&&(Xt.flush(),t.Z.setForSession("PUSHER",0))}return{modes:Be,init:zi,reset:mi,reload:Pt,initConcierge:$t,initConversation:Fi,replyChat:bn,getSocketId:ji,updateConversation:Yt,showContactar:Vi,minimizeChat:Yi,forzeMinimizeChat:Ui,flush:ei,forceBottomScroll:Ki,showConcierge:Ai,showLayerStatusConcierge:qi,openCurrentChat:Zi,appHideBars:Gi,appInitPusher:wn,activateConversation:nt,showErrorMsg:Wt}}(Gt,Xe);G.Z=/^(2(6|601|958)|16|3317|3631|4702|5504|7550|767|8570)$/.test(I.j)?null:Xt},7411:function($,G,I){"use strict";var N=I(3791);class a{static setPersistent(r,i,t=9999,s="/",l=null,h=this.secureFlag(),f="Lax"){const w=new Date;let P=w.getTime();P+=t*24*3600*1e3,w.setTime(P),document.cookie=r+"="+escape(i)+"; expires="+w.toGMTString()+(s===null?"/":"; path="+s)+(l===null?"; domain="+this.getCookieSubdomain():"; domain="+l)+(h===!0?"; secure":"")+"; SameSite="+f}static setForSession(r,i,t="/",s=null,l=this.secureFlag(),h="Lax"){document.cookie=r+"="+escape(i)+(t===null||!t?"/":"; path="+t)+(s===null?"; domain="+this.getCookieSubdomain():"; domain="+s)+(l===!0?"; secure":"")+"; SameSite="+h}
211static deleteCookie(r){this.setPersistent(r,"",0)}static getCookie(r){const i=document.cookie.match("(^|;)\\s*"+r+"\\s*=\\s*([^;]+)");return i?unescape(i.pop()):null}static getCookieURIdecoded(r){const i=document.cookie.match("(^|;)\\s*"+r+"\\s*=\\s*([^;]+)");return i?decodeURIComponent(i.pop()):null}static jsonStringify(r){let i=typeof r;if(i!=="object"||r===null)return i==="string"&&(r='"'+r+'"'),String(r);{let t,s;const l=[],h=r&&r.constructor===Array;for(t in r)s=r[t],i=typeof s,i==="string"?s='"'+s+'"':i==="object"&&s!==null&&(s=this.jsonStringify(s)),l.push((h?"":'"'+t+'":')+String(s));return(h?"[":"{")+String(l)+(h?"]":"}")}}static parseJson(r){try{return JSON.parse(a.getCookie(r))}catch{return a.setPersistent(r,""),{}}}static secureFlag(){return window.isCustomDomainMode!==!0}static getCookieSubdomain(){return typeof N.Z>"u"||!N.Z.getCommon().environment.isCookieLessEnabled?window.globals.Request_Cookie_domain:window.globals.subdomain}}G.Z=a},60349:function($,G,I){"use strict";var N=I(20155);class a{static isIOS10(){const r=navigator.userAgent.toLowerCase();return/(iphone|ipod|ipad).* os 10_/.test(r)}static isIOS(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}static isIOSLower10(){if(a.isIOS()){const r=window.navigator.userAgent,i=r.indexOf("OS "),t=[4,5,6,7,8,9],s=Math.floor(window.Number(r.substr(i+3,3).replace("_",".")));return t.includes(s)}}static isAndroid(){return navigator.userAgent.indexOf("Android")!==-1}static isSafariIpad(){return navigator.userAgent.indexOf("Safari")!==-1&&a.isIpad()}static isIpad(){return navigator.userAgent.indexOf("iPad")!==-1}static isSafari(){return navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}static isSafariMobile(){const r=!!navigator.userAgent.match(/Version\/[\d.]+.*Safari/),i=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;return r&&i}static isIE(){const r=window.navigator.userAgent,i=r.indexOf("MSIE ");if(i>0)return parseInt(r.substring(i+5,r.indexOf(".",i)),10);if(r.indexOf("Trident/")>0){const l=r.indexOf("rv:");return parseInt(r.substring(l+3,r.indexOf(".",l)),10)}const s=r.indexOf("Edge/");return s>0?parseInt(r.substring(s+5,r.indexOf(".",s)),10):!1}static isTouchDevice(){return this.isIE()?!1:"chrome"in window?!!navigator.maxTouchPoints:"ontouchstart"in window||navigator.maxTouchPoints}static isMobile(){return!!navigator.userAgent.match(/(iPhone|iPod|iPad|symbian|android|Android|windows ce|blackberry|palm)/g)}static countryCode(){const r=N.Z.get("countryCode");return typeof r<"u"?r:""}static projectId(){const r=N.Z.get("Request_id_project");return typeof r<"u"?r:""}static isUS(){const r=N.Z.get("isUSProject");return typeof r<"u"?r:!1}static isDeviceTablet(){const r=navigator.userAgent.toLowerCase();return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(r)}static isTablet(){const r=navigator.userAgent.toLowerCase();return/(ipad|tablet|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(r)}static isWeddingWireUSPage(){return location.hostname.endsWith(".weddingwire.us")}}G.Z=a},57993:function($,G,I){"use strict";var N=I(6723),a=I.n(N),M=I(4877),r=I(7411);class i{constructor(){this.name="Pusher",this.loadOrder=3,this.manuallyClosedCookie="CONCIERGE_TS_MC"}replyChat(l,h,f,w){const P=l.closest(".app-chat-container-top"),k=P.data("idconversation"),y=P.data("id-question"),C=P.data("id-categ"),E=P.data("id-sector"),L=P.data("id-flow"),z=P.data("fromid");let ie=l.data("type"),ce=l.data("id");const be=l.find(".app-chat-textarea");let De=be.val();if(h){const Oe=a()(".app-chat-form-chatbot");ie=Oe.data("type"),ce=Oe.data("id"),De=h}if(!w){const Oe={body:De};M.Z.replyChat(l.closest(".app-chat-conversation").find(".app-conversation-parts"),Oe),be.val("")}const c=a()(".app-chatbot-mail-optin").prop("checked")?1:0,Ze=[];return l.hasClass("app-chatbot-contact-vendors")&&a()(".app-chatbot-vendorIds:checked").map(function(Oe,Ge){Ze.push(a()(Ge).val())}),a()(".app-chatbot-tip").remove(),this.enqueueReply(k,P,{type:ie,idItem:ce,idConcierge:z,comentario:De,idConversation:k,socketId:M.Z.get
211SocketId(),url:document.location.href,questionId:y,categId:C,sectorId:E,flowId:L,provinciaId:a()(".app-suggest-provincia-id-default").val(),poblacionId:a()(".app-suggest-poblacion-id-default").val(),answerId:f,mailOptIn:c,vendorId:a()(".app-suggest-vendor-id-default").val(),vendorIds:Ze}),!1}enqueueReply(l,h,f){a()(document).queue(function(w){a().ajax({type:"POST",url:"/pusher/pusherReply.php",data:f}).then(function(P){if(P.loadConcierge)return M.Z.reload(!0,!0),!1;l||M.Z.updateConversation(h,P.idConversation),P.statusConcierge!==1&&M.Z.showLayerStatusConcierge(h,P.statusConcierge,P.conciergeAvatar)}).then(w,w)})}doBinds(){const l=this;a()(document.body).on("submit",".app-chat-form-vendor",function(h){h.preventDefault();const f=a()(this),w=a()(this).data("id"),P=a()(this).find(".app-chat-textarea"),k=P.val();return a().ajax({type:"POST",url:"/tools/VendorsSolicRun",data:{is_mobile:1,Comentario:k,id_solicitud:w,socketId:M.Z.getSocketId()},success:function(y){},beforeSend:function(){const y={body:k,published:"ahora"};M.Z.replyChat(f.closest(".app-chat-conversation").find(".app-conversation-parts"),y),P.val("")}}),!1}),a()(document.body).on("submit",".app-chat-form-user",function(h){h.preventDefault();const f=a()(this),w=a()(this).data("id"),P=a()(this).find(".app-chat-textarea"),k=P.val();return a().ajax({type:"POST",url:"/emp-AdminSolicitudesShowRun.php",data:{Comentario:k,id_solicitud:w,socketId:M.Z.getSocketId()},success:function(y){},beforeSend:function(){const y={body:k,published:"ahora"};M.Z.replyChat(f.closest(".app-chat-conversation").find(".app-conversation-parts"),y),P.val("")}}),!1}),a()(document.body).on("submit",".app-chat-form-concierge",function(h){h.preventDefault(),h.stopPropagation(),l.replyChat(a()(this))}),a()(document.body).on("submit",".app-chat-form-concierge-vendor",function(h){h.preventDefault(),h.stopPropagation(),l.replyChat(a()(this))}),a()(document.body).on("submit",".app-chat-form-chatbot",function(h){h.preventDefault(),h.stopPropagation();const f=a()(this),w=a()(".app-chat-textarea"),P=w.val().trim();let k=[];const y=a()(".app-chat-qr-multi.chatQuickReply__input--selected");if(y.length)y.map(function(C,E){k.push(a()(E).data("reply-id"))}),k=k.join(","),l.replyChat(f,P,k),a()(".app-chat-qr-container").remove();else if(P.length){const C={body:P};M.Z.replyChat(f.closest(".app-chat-conversation").find(".app-conversation-parts"),C),w.val(""),a()(".app-chat-calendar").remove(),w.attr("readonly","readonly"),a()(".app-chat-form-submit").addClass("chat-message-send__messageSubmit--disabled"),w.hasClass("app-chat-modal-textarea")&&w.removeClass("app-chat-modal-textarea").removeAttr("data-id-country").unbind("click");const E=f.data("message-type"),L=w.data("tries");a().ajax({type:"POST",url:"/pusher/pusherValidate.php",data:{type:E,reply:P,tries:L}}).then(function(z){z.errorMsg?(M.Z.showErrorMsg(z.errorMsg),w.data("tries",L+1)):l.replyChat(f,P,null,!0)})}}),a()(document.body).on("click",".app-chat-qr",function(){if(a()(this).hasClass("app-disabled"))return!1;const h=a()(this).data("type"),f=a()(this).closest(".app-chat-container-top"),w=a()(this).data("reply-id");h===8&&f.data("id-sector",w),l.replyChat(a()(this),a()(this).data("reply-text"),w),a()(".app-chat-qr-container").remove()}),a()(document.body).on("click",".app-chat-qr-multi",function(){if(a()(this).data("reply-id").length===0)return l.replyChat(a()(this),a()(this).data("reply-text"),null),a()(".app-chat-qr-container").remove(),a()(".app-chat-textarea").val(""),!1;a()(this).toggleClass("chatQuickReply__input--selected");const h=[];a()(".app-chat-qr-multi.chatQuickReply__input--selected").map(function(w,P){h.push(a()(P).data("reply-text"))}),a()(".app-chat-textarea").val(h.join(", "))}),a()(document.body).on("click",".app-chat-qr-all",function(){a()(".app-chat-qr-multi").addClass("chatQuickReply__input--selected"),a()(".app-chat-textarea").val(a()(this).data("reply-text")),a()(".app-chat-form-chatbot").submit()}),a()(document.body).on("click keyup",".app-chat-modal-textarea",function(){a()(".app-chat-modal").fadeIn(),a()(".app-chat-modal-input").focus(),a()(".app-chat-message-send").addClass("dnone")}
211),a()(document.body).on("click",".app-chat-modal-close",function(){a()(".app-chat-modal").fadeOut(),a()(".app-chat-message-send").removeClass("dnone")}),a()(document.body).on("keyup",".app-chat-location-input",function(){const h=a()(".app-chat-modal ul");a()(this).val().length>1?a().get("/utils-SearchPoblacion.php",{search:a()(this).val(),id_pais:a()(this).data("id-country"),retJSON:0,addProvinces:a()(this).data("enable-only-province")===1?1:0},function(f){f=f.split(`
212`);const w=f.length;h.empty();let P=a()(),k,y,C;if(w>1){for(let E=0;E<w-1;E++)f[E].search("[isRegion]")===1?(C=f[E].split("||"),k=a()("<li />").attr("data-region-id",C[1]).attr("data-region-text",C[3]).html('<span class="modalChat__resultsTitle">'+C[3]+"</span>").addClass("link-marker").on("click",function(){a()(".app-suggest-poblacion-id-default").val(0),a()(".app-suggest-provincia-id-default").val(a()(this).data("region-id")),a()(".app-chat-textarea").val(a()(this).data("region-text")),a()(".app-chat-location-modal").fadeOut()})):(y=f[E].split("||"),k=a()("<li />").attr("data-id-provincia",y[0]).attr("data-id-poblacion",y[1]).attr("data-nombre-poblacion",y[2]).html('<span class="modalChat__resultsTitle">'+y[3]+'</span><span class="modalChat__resultsSubtitle">'+y[4]+"</span>").addClass("link-marker").on("click",function(){a()(".app-suggest-poblacion-id-default").val(a()(this).data("id-poblacion")),a()(".app-suggest-provincia-id-default").val(a()(this).data("id-provincia")),a()(".app-chat-textarea").val(a()(this).data("nombre-poblacion")),a()(".app-chat-location-modal").fadeOut()})),P=P.add(k);h.append(P)}else h.append('<span class="modalChat__noResults">'+'No matches have been found'+"</span>")}):h.empty()}),a()(document.body).on("keyup",".app-chat-venue-input",function(){const h=a()(this),f=a()(".app-chat-modal ul");a()(this).val().length>1?a().get("/utils-SearchEmpresas.php",{search:a()(this).val(),idThumb:a()(this).data("id-thumb"),forceUseDesktop:!0},function(w){w=w.split(`
213`);const P=w.length;f.empty();let k=a()(),y,C,E;if(P>1){for(let L=0;L<P-1;L++)C=w[L].split("||"),E=C[4]||C[3],y=a()("<li />").attr("data-id-empresa",C[0]).attr("data-nombre-empresa",C[1]).html('<span class="modalChat__resultsTitle">'+C[1]+'</span><span class="modalChat__resultsSubtitle">'+E+"</span>").addClass("link-marker").on("click",function(){a()(".app-suggest-vendor-id-default").val(a()(this).data("id-empresa")),a()(".app-chat-textarea").val(a()(this).data("nombre-empresa")),a()(".app-chat-modal").fadeOut()}),k=k.add(y);f.append(k)}else{const L=h.val(),z='<div class="modalChat__noResults app-chat-venue-add-new" data-vendor="'+L+'"><p>'+'No matches have been found'+'</p><button class="btnFlat btnFlat--primary btnFlat--small">'+'Add '+" "+L+"</button></div>";f.append(z),a()(document.body).one("click",".app-chat-venue-add-new",function(){const ie=a()(this).data("vendor");a()(".app-suggest-vendor-id-default").val(""),a()(".app-chat-textarea").val(ie),a()(".app-chat-modal").fadeOut()})}}):f.empty()}),a()(document.body).on("change",".app-chatbot-vendorIds",function(){const h=a()(".app-chatbot-contact-vendors"),f=a()(".app-chatbot-vendorIds:checked").length;f>0?h.addClass("chatQuickReply__input--filled").removeClass("chatQuickReply__input--disabled app-disabled"):h.removeClass("chatQuickReply__input--filled").addClass("chatQuickReply__input--disabled app-disabled"),a()(this).closest(".app-chatbot-vendor-wrapper").toggleClass("suggestedVendorChat__wrapper--selected"),a()(".app-chatbot-vendors-selected").html(f)}),a()(document).on("click",".app-init-conversation",function(h){h.preventDefault(),M.Z.initConversation(a()(this).data("totype"),a()(this).data("toid"),a()(this).data("idconversation"),a()(this).data("toname"),a()(this).data("toavatar"))}),a()(document.body).on("click",".app-pusher-pedir-presupuesto",function(h){h.preventDefault(),M.Z.showContactar(a()(this).data("href"),a()(this).data("id"),!1),M.Z.minimizeChat()}),a()(document.body).on("click",".app-user-logged-menu-chat",function(h){h.preventDefault(),a()("#app-user-logged-menu-layer").toggle(),M.Z.reload(!0,!0)}),window.app.event.on("Pusher::reset",function(h,{pusherActor:f,isDevel:w}){M.Z.reset(f,w)})}init(){if(!(typeof window.pusher<"u")||r.Z.getCookie(this.manuallyClosedCookie))return!1;const h=!1,f=()=>{document.removeEventListener("scroll",f);const w=document.createElement("script");w.src="https://js.pusher.com/3.1.0/pusher.min.js",w.onload=()=>{M.Z.init(window.pusher.actorJson,h,window.pusher.customOptions).then(()=>
213{window.pusher.customOptions.canInitConversation===!0&&M.Z.initConcierge(),this.doBinds()})},document.body.appendChild(w)};return document.addEventListener("scroll",f),!0}}const t=new i;G.Z=/^(2(6|601|958)|16|3317|3631|4702|5504|7550|767|8570|9678)$/.test(I.j)?null:t},7483:function($,G,I){var N,a,M;/*!
214* The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
215* Copyright (c) 2016 Edson Hilios
216* 
217* Permission is hereby granted, free of charge, to any person obtaining a copy of
218* this software and associated documentation files (the "Software"), to deal in
219* the Software without restriction, including without limitation the rights to
220* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
221* the Software, and to permit persons to whom the Software is furnished to do so,
222* subject to the following conditions:
223* 
224* The above copyright notice and this permission notice shall be included in all
225* copies or substantial portions of the Software.
226* 
227* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
228* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
229* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
230* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
231* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
232* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
233*/(function(r){"use strict";a=[I(6723)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){"use strict";var i=[],t=[],s={precision:100,elapse:!1,defer:!1};t.push(/^[0-9]*$/.source),t.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t=new RegExp(t.join("|"));function l(y){if(y instanceof Date)return y;if(String(y).match(t))return String(y).match(/^[0-9]*$/)&&(y=Number(y)),String(y).match(/\-/)&&(y=String(y).replace(/\-/g,"/")),new Date(y);throw new Error("Couldn't cast `"+y+"` to a date object.")}var h={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"};function f(y){var C=y.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(C)}function w(y){return function(C){var E=C.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(E)for(var L=0,z=E.length;L<z;++L){var ie=E[L].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),ce=f(ie[0]),be=ie[1]||"",De=ie[3]||"",c=null;ie=ie[2],h.hasOwnProperty(ie)&&(c=h[ie],c=Number(y[c])),c!==null&&(be==="!"&&(c=P(De,c)),be===""&&c<10&&(c="0"+c.toString()),C=C.replace(ce,c.toString()))}return C=C.replace(/%%/,"%"),C}}function P(y,C){var E="s",L="";return y&&(y=y.replace(/(:|;|\s)/gi,"").split(/\,/),y.length===1?E=y[0]:(L=y[0],E=y[1])),Math.abs(C)>1?E:L}var k=function(y,C,E){this.el=y,this.$el=r(y),this.interval=null,this.offset={},this.options=r.extend({},s),this.instanceNumber=i.length,i.push(this),this.$el.data("countdown-instance",this.instanceNumber),E&&(typeof E=="function"?(this.$el.on("update.countdown",E),this.$el.on("stoped.countdown",E),this.$el.on("finish.countdown",E)):this.options=r.extend({},s,E)),this.setFinalDate(C),this.options.defer===!1&&this.start()};r.extend(k.prototype,{start:function(){this.interval!==null&&clearInterval(this.interval);var y=this;this.update(),this.interval=setInterval(function(){y.update.call(y)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),i[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(y){this.finalDate=l(y)},update:function(){if(this.$el.closest("html").length===0){this.remove();return}var y=r._data(this.el,"events")!==void 0,C=new Date,E;E=this.finalDate.getTime()-C.getTime(),E=Math.ceil(E/1e3),E=!this.options.elapse&&E<0?0:Math.abs(E),!(this.totalSecsLeft===E||!y)&&(this.totalSecsLeft=E,this.elapsed=C>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-C.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},!this.options.elapse&&this.totalSecsLeft===0?(this.stop(),this.dispatchEvent("finish")):this.dispatchEvent("update"))},dispatchEvent:function(y){var C=r.Event(y+".countdown");C.finalDate=this.finalDate,C.elapsed=this.elapsed,C.offset=r.extend({},this.offset),C.strftime=w(this.offset),this.$el.trigger(C)}}),r.fn.countdown=function(){var y=Array.prototype.slice.call(arguments,0);
233return this.each(function(){var C=r(this).data("countdown-instance");if(C!==void 0){var E=i[C],L=y[0];k.prototype.hasOwnProperty(L)?E[L].apply(E,y.slice(1)):String(L).match(/^[$A-Z_][0-9A-Z_$]*$/i)===null?(E.setFinalDate.call(E,L),E.start()):r.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,L))}else new k(this,y[0],y[1])})}})},57495:function($,G,I){var N,a,M;/*!
234* jQuery Mousewheel 3.1.13
235*
236* Copyright jQuery Foundation and other contributors
237* Released under the MIT license
238* http://jquery.org/license
239*/(function(r){a=[I(6723)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){var i=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],s=Array.prototype.slice,l,h;if(r.event.fixHooks)for(var f=i.length;f;)r.event.fixHooks[i[--f]]=r.event.mouseHooks;var w=r.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var C=t.length;C;)this.addEventListener(t[--C],P,!1);else this.onmousewheel=P;r.data(this,"mousewheel-line-height",w.getLineHeight(this)),r.data(this,"mousewheel-page-height",w.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var C=t.length;C;)this.removeEventListener(t[--C],P,!1);else this.onmousewheel=null;r.removeData(this,"mousewheel-line-height"),r.removeData(this,"mousewheel-page-height")},getLineHeight:function(C){var E=r(C),L=E["offsetParent"in r.fn?"offsetParent":"parent"]();return L.length||(L=r("body")),parseInt(L.css("fontSize"),10)||parseInt(E.css("fontSize"),10)||16},getPageHeight:function(C){return r(C).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};r.fn.extend({mousewheel:function(C){return C?this.bind("mousewheel",C):this.trigger("mousewheel")},unmousewheel:function(C){return this.unbind("mousewheel",C)}});function P(C){var E=C||window.event,L=s.call(arguments,1),z=0,ie=0,ce=0,be=0,De=0,c=0;if(C=r.event.fix(E),C.type="mousewheel","detail"in E&&(ce=E.detail*-1),"wheelDelta"in E&&(ce=E.wheelDelta),"wheelDeltaY"in E&&(ce=E.wheelDeltaY),"wheelDeltaX"in E&&(ie=E.wheelDeltaX*-1),"axis"in E&&E.axis===E.HORIZONTAL_AXIS&&(ie=ce*-1,ce=0),z=ce===0?ie:ce,"deltaY"in E&&(ce=E.deltaY*-1,z=ce),"deltaX"in E&&(ie=E.deltaX,ce===0&&(z=ie*-1)),!(ce===0&&ie===0)){if(E.deltaMode===1){var Ze=r.data(this,"mousewheel-line-height");z*=Ze,ce*=Ze,ie*=Ze}else if(E.deltaMode===2){var Oe=r.data(this,"mousewheel-page-height");z*=Oe,ce*=Oe,ie*=Oe}if(be=Math.max(Math.abs(ce),Math.abs(ie)),(!h||be<h)&&(h=be,y(E,be)&&(h/=40)),y(E,be)&&(z/=40,ie/=40,ce/=40),z=Math[z>=1?"floor":"ceil"](z/h),ie=Math[ie>=1?"floor":"ceil"](ie/h),ce=Math[ce>=1?"floor":"ceil"](ce/h),w.settings.normalizeOffset&&this.getBoundingClientRect){var Ge=this.getBoundingClientRect();De=C.clientX-Ge.left,c=C.clientY-Ge.top}return C.deltaX=ie,C.deltaY=ce,C.deltaFactor=h,C.offsetX=De,C.offsetY=c,C.deltaMode=0,L.unshift(C,z,ie,ce),l&&clearTimeout(l),l=setTimeout(k,200),(r.event.dispatch||r.event.handle).apply(this,L)}}function k(){h=null}function y(C,E){return w.settings.adjustOldDeltas&&C.type==="mousewheel"&&E%120===0}})},9736:function($,G,I){var N,a,M;/*!
240* jQuery UI :data 1.12.1
241* http://jqueryui.com
242*
243* Copyright jQuery Foundation and other contributors
244* Released under the MIT license.
245* http://jquery.org/license
246*/(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.extend(r.expr[":"],{data:r.expr.createPseudo?r.expr.createPseudo(function(i){return function(t){return!!r.data(t,i)}}):function(i,t,s){return!!r.data(i,s[3])}})})},2520:function($,G,I){var N,a,M;/*!
247* jQuery UI Disable Selection 1.12.1
248* http://jqueryui.com
249*
250* Copyright jQuery Foundation and other contributors
251* Released under the MIT license.
252* http://jquery.org/license
253*/(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.fn.extend({disableSelection:function(){var i="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(i+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}})})},41403:function($,G,I){var N,a,M;(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui.escapeSelector=function(){var i=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(t){return t.replace(i,"\\$1")}}()})},31472:function($,G,I){var N,a,M;/*!
254* jQuery UI Form Reset Mixin 1.12.1
255* http://jqueryui.com
256*
257* Copyright jQuery Foundation and other contributors
258* Released under the MIT license.
259* http://jquery.org/license
260*/(function(r){a=[I(6723),I(63364),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui.formResetMixin={_formResetHandler:function(){var i=r(this);setTimeout(function(){var t=i.data("ui-form-reset-instances");r.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),!!this.form.length){var i=this.form.data("ui-form-reset-instances")||[];i.length||this.form.on("reset.ui-form-reset",this._formResetHandler),i.push(this),this.form.data("ui-form-reset-instances",i)}},_unbindFormResetHandler:function(){if(!!this.form.length){var i=this.form.data("ui-form-reset-instances");i.splice(r.inArray(this,i),1),i.length?this.form.data("ui-form-reset-instances",i):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}})},63364:function($,G,I){var N,a,M;(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.fn.form=function(){return typeof this[0].form=="string"?this.closest("form"):r(this[0].form)}})},78808:function($,G,I){var N,a,M;(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})},79506:function($,G,I){var N,a,M;/*!
261* jQuery UI Keycode 1.12.1
262* http://jqueryui.com
263*
264* Copyright jQuery Foundation and other contributors
265* Released under the MIT license.
266* http://jquery.org/license
267*/(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.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}})},23989:function($,G,I){var N,a,M;/*!
268* jQuery UI Labels 1.12.1
269* http://jqueryui.com
270*
271* Copyright jQuery Foundation and other contributors
272* Released under the MIT license.
273* http://jquery.org/license
274*/(function(r){a=[I(6723),I(10021),I(41403)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.fn.labels=function(){var i,t,s,l,h;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(l=this.eq(0).parents("label"),s=this.attr("id"),s&&(i=this.eq(0).parents().last(),h=i.add(i.length?i.siblings():this.siblings()),t="label[for='"+r.ui.escapeSelector(s)+"']",l=l.add(h.find(t).addBack(t))),this.pushStack(l))}})},12111:function($,G,I){var N,a,M;(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui.plugin={add:function(i,t,s){var l,h=r.ui[i].prototype;for(l in s)h.plugins[l]=h.plugins[l]||[],h.plugins[l].push([t,s[l]])},call:function(i,t,s,l){var h,f=i.plugins[t];if(!!f&&!(!l&&(!i.element[0].parentNode||i.element[0].parentNode.nodeType===11)))for(h=0;h<f.length;h++)i.options[f[h][0]]&&f[h][1].apply(i.element,s)}}})},23783:function($,G,I){var N,a,M;(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui.safeActiveElement=function(i){var t;try{t=i.activeElement}catch{t=i.body}return t||(t=i.body),t.nodeName||(t=i.body),t}})},81692:function($,G,I){var N,a,M;(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui.safeBlur=function(i){i&&i.nodeName.toLowerCase()!=="body"&&r(i).trigger("blur")}})},84534:function($,G,I){var N,a,M;/*!
275* jQuery UI Scroll Parent 1.12.1
276* http://jqueryui.com
277*
278* Copyright jQuery Foundation and other contributors
279* Released under the MIT license.
280* http://jquery.org/license
281*/(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.fn.scrollParent=function(i){var t=this.css("position"),s=t==="absolute",l=i?/(auto|scroll|hidden)/:/(auto|scroll)/,h=this.parents().filter(function(){var f=r(this);return s&&f.css("position")==="static"?!1:l.test(f.css("overflow")+f.css("overflow-y")+f.css("overflow-x"))}).eq(0);return t==="fixed"||!h.length?r(this[0].ownerDocument||document):h}})},10021:function($,G,I){var N,a,M;(function(r){a=[I(6723)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.ui=r.ui||{},r.ui.version="1.12.1"})},51993:function($,G,I){var N,a,M;/*!
282* jQuery UI Widget 1.12.1
283* http://jqueryui.com
284*
285* Copyright jQuery Foundation and other contributors
286* Released under the MIT license.
287* http://jquery.org/license
288*/(function(r){a=[I(6723),I(10021)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){var i=0,t=Array.prototype.slice;return r.cleanData=function(s){return function(l){var h,f,w;for(w=0;(f=l[w])!=null;w++)try{h=r._data(f,"events"),h&&h.remove&&r(f).triggerHandler("remove")}catch{}s(l)}}(r.cleanData),r.widget=function(s,l,h){var f,w,P,k={},y=s.split(".")[0];s=s.split(".")[1];var C=y+"-"+s;return h||(h=l,l=r.Widget),r.isArray(h)&&(h=r.extend.apply(null,[{}].concat(h))),r.expr[":"][C.toLowerCase()]=function(E){return!!r.data(E,C)},r[y]=r[y]||{},f=r[y][s],w=r[y][s]=function(E,L){if(!this._createWidget)return new w(E,L);arguments.length&&this._createWidget(E,L)},r.extend(w,f,{version:h.version,_proto:r.extend({},h),_childConstructors:[]}),P=new l,P.options=r.widget.extend({},P.options),r.each(h,function(E,L){if(!r.isFunction(L)){k[E]=L;return}k[E]=function(){function z(){return l.prototype[E].apply(this,arguments)}function ie(ce){return l.prototype[E].apply(this,ce)}return function(){var ce=this._super,be=this._superApply,De;return this._super=z,this._superApply=ie,De=L.apply(this,arguments),this._super=ce,this._superApply=be,De}}()}),w.prototype=r.widget.extend(P,{widgetEventPrefix:f&&P.widgetEventPrefix||s},k,{constructor:w,namespace:y,widgetName:s,widgetFullName:C}),f?(r.each(f._childConstructors,function(E,L){var z=L.prototype;r.widget(z.namespace+"."+z.widgetName,w,L._proto)}),delete f._childConstructors):l._childConstructors.push(w),r.widget.bridge(s,w),w}
vendor: 15,797 bytes, lines 288-302
288,r.widget.extend=function(s){for(var l=t.call(arguments,1),h=0,f=l.length,w,P;h<f;h++)for(w in l[h])P=l[h][w],l[h].hasOwnProperty(w)&&P!==void 0&&(r.isPlainObject(P)?s[w]=r.isPlainObject(s[w])?r.widget.extend({},s[w],P):r.widget.extend({},P):s[w]=P);return s},r.widget.bridge=function(s,l){var h=l.prototype.widgetFullName||s;r.fn[s]=function(f){var w=typeof f=="string",P=t.call(arguments,1),k=this;return w?!this.length&&f==="instance"?k=void 0:this.each(function(){var y,C=r.data(this,h);if(f==="instance")return k=C,!1;if(!C)return r.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+f+"'");if(!r.isFunction(C[f])||f.charAt(0)==="_")return r.error("no such method '"+f+"' for "+s+" widget instance");if(y=C[f].apply(C,P),y!==C&&y!==void 0)return k=y&&y.jquery?k.pushStack(y.get()):y,!1}):(P.length&&(f=r.widget.extend.apply(null,[f].concat(P))),this.each(function(){var y=r.data(this,h);y?(y.option(f||{}),y._init&&y._init()):r.data(this,h,new l(f,this))})),k}},r.Widget=function(){},r.Widget._childConstructors=[],r.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(s,l){l=r(l||this.defaultElement||this)[0],this.element=r(l),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=r(),this.hoverable=r(),this.focusable=r(),this.classesElementLookup={},l!==this&&(r.data(l,this.widgetFullName,this),this._on(!0,this.element,{remove:function(h){h.target===l&&this.destroy()}}),this.document=r(l.style?l.ownerDocument:l.document||l),this.window=r(this.document[0].defaultView||this.document[0].parentWindow)),this.options=r.widget.extend({},this.options,this._getCreateOptions(),s),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:r.noop,_create:r.noop,_init:r.noop,destroy:function(){var s=this;this._destroy(),r.each(this.classesElementLookup,function(l,h){s._removeClass(h,l)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:r.noop,widget:function(){return this.element},option:function(s,l){var h=s,f,w,P;if(arguments.length===0)return r.widget.extend({},this.options);if(typeof s=="string")if(h={},f=s.split("."),s=f.shift(),f.length){for(w=h[s]=r.widget.extend({},this.options[s]),P=0;P<f.length-1;P++)w[f[P]]=w[f[P]]||{},w=w[f[P]];if(s=f.pop(),arguments.length===1)return w[s]===void 0?null:w[s];w[s]=l}else{if(arguments.length===1)return this.options[s]===void 0?null:this.options[s];h[s]=l}return this._setOptions(h),this},_setOptions:function(s){var l;for(l in s)this._setOption(l,s[l]);return this},_setOption:function(s,l){return s==="classes"&&this._setOptionClasses(l),this.options[s]=l,s==="disabled"&&this._setOptionDisabled(l),this},_setOptionClasses:function(s){var l,h,f;for(l in s)f=this.classesElementLookup[l],!(s[l]===this.options.classes[l]||!f||!f.length)&&(h=r(f.get()),this._removeClass(f,l),h.addClass(this._classes({element:h,keys:l,classes:s,add:!0})))},_setOptionDisabled:function(s){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!s),s&&(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(s){var l=[],h=this;s=r.extend({element:this.element,classes:this.options.classes||{}},s);function f(w,P){var k,y;for(y=0;y<w.length;y++)k=h.classesElementLookup[w[y]]||r(),s.add?k=r(r.unique(k.get().concat(s.element.get()))):k=r(k.not(s.element).get()),h.classesElementLookup[w[y]]=k,l.push(w[y]),P&&s.classes[w[y]]&&l.push(s.classes[w[y]])}return this._on(s.element,{remove:"_untrackClassesElement"}),s.keys&&f(s.keys.match(/\S+/g)||[],!0),s.extra&&f(s.extra.match(/\S+/g)||[]),l.join(" ")},_untrackClassesElement:function(s){var l=this;r.each(l.classesElementLookup,function(h,f){r.inArray(s.target,f)!==-1&&(l.classesElementLookup[h]=r(f.not(s.target).get()))})},_removeClass:function(s,l,h){return this._toggleClass(s,l,h,!1)},_addClass:function(s,l,h){return this._toggleClass(s,l,h,!0)},_toggleClass:function(s,l,h,f){f=typeof f=="boolean"?f:h;var w=typeof s=="string"||s===null,P={extra:w?l:h,keys:w?s:l,element:w?this.element:s,add:f};return P.element.toggleClass(this._classes(P),f),this},_on:function(s,l,h){var f,w=this;typeof s!="boolean"&&(h=l,l=s,s=!1),h?(l=f=r(l),this.bindings=this.bindings.add(l)):(h=l,l=this.element,f=this.widget()),r.each(h,function(P,k){function y(){if(!(!s&&(w.options.disabled===!0||r(this).hasClass("ui-state-disabled"))))return(typeof k=="string"?w[k]:k).apply(w,arguments)}typeof k!="string"&&(y.guid=k.guid=k.guid||y.guid||r.guid++);var C=P.match(/^([\w:-]*)\s*(.*)$/),E=C[1]+w.eventNamespace,L=C[2];L?f.on(E,L,y):l.on(E,y)})},_off:function(s,l){l=(l||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,s.off(l).off(l),this.bindings=r(this.bindings.not(s).get()),this.focusable=r(this.focusable.not(s).get()),this.hoverable=r(this.hoverable.not(s).get())},_delay:function(s,l){function h(){return(typeof s=="string"?f[s]:s).apply(f,arguments)}var f=this;return setTimeout(h,l||0)},_hoverable:function(s){this.hoverable=this.hoverable.add(s),this._on(s,{mouseenter:function(l){this._addClass(r(l.currentTarget),null,"ui-state-hover")},mouseleave:function(l){this._removeClass(r(l.currentTarget),null,"ui-state-hover")}})},_focusable:function(s){this.focusable=this.focusable.add(s),this._on(s,{focusin:function(l){this._addClass(r(l.currentTarget),null,"ui-state-focus")},focusout:function(l){this._removeClass(r(l.currentTarget),null,"ui-state-focus")}})},_trigger:function(s,l,h){var f,w,P=this.options[s];if(h=h||{},l=r.Event(l),l.type=(s===this.widgetEventPrefix?s:this.widgetEventPrefix+s).toLowerCase(),l.target=this.element[0],w=l.originalEvent,w)for(f in w)f in l||(l[f]=w[f]);return this.element.trigger(l,h),!(r.isFunction(P)&&P.apply(this.element[0],[l].concat(h))===!1||l.isDefaultPrevented())}},r.each({show:"fadeIn",hide:"fadeOut"},function(s,l){r.Widget.prototype["_"+s]=function(h,f,w){typeof f=="string"&&(f={effect:f});var P,k=f?f===!0||typeof f=="number"?l:f.effect||l:s;f=f||{},typeof f=="number"&&(f={duration:f}),P=!r.isEmptyObject(f),f.complete=w,f.delay&&h.delay(f.delay),P&&r.effects&&r.effects.effect[k]?h[s](f):k!==s&&h[k]?h[k](f.duration,f.easing,w):h.queue(function(y){r(this)[s](),w&&w.call(h[0]),y()})}}),r.widget})},49691:function($,G,I){var N,a,M;/*!
289* jQuery UI Button 1.12.1
290* http://jqueryui.com
291*
292* Copyright jQuery Foundation and other contributors
293* Released under the MIT license.
294* http://jquery.org/license
295*/(function(r){a=[I(6723),I(68649),I(27871),I(79506),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.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 i,t=this._super()||{};return this.isInput=this.element.is("input"),i=this.element[0].disabled,i!=null&&(t.disabled=i),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),this.options.disabled==null&&(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(i){i.keyCode===r.ui.keyCode.SPACE&&(i.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(i,t){var s=i!=="iconPosition",l=s?this.options.iconPosition:t,h=l==="top"||l==="bottom";this.icon?s&&this._removeClass(this.icon,null,this.options.icon):(this.icon=r("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),s&&this._addClass(this.icon,null,t),this._attachIcon(l),h?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=r("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(l))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(i){this.icon[/^(?:end|bottom)/.test(i)?"before":"after"](this.iconSpace)},_attachIcon:function(i){this.element[/^(?:end|bottom)/.test(i)?"append":"prepend"](this.icon)},_setOptions:function(i){var t=i.showLabel===void 0?this.options.showLabel:i.showLabel,s=i.icon===void 0?this.options.icon:i.icon;!t&&!s&&(i.showLabel=!0),this._super(i)},_setOption:function(i,t){i==="icon"&&(t?this._updateIcon(i,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),i==="iconPosition"&&this._updateIcon(i,t),i==="showLabel"&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),i==="label"&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(i,t),i==="disabled"&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t,t&&this.element.blur())},refresh:function(){var i=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");i!==this.options.disabled&&this._setOptions({disabled:i}),this._updateTooltip()}}),r.uiBackCompat!==!1&&(r.widget("ui.button",r.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.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"):this.options.icon&&(this.options.icons.primary=this.options.icon),this._super()},_setOption:function(i,t){if(i==="text"){this._super("showLabel",t);return}i==="showLabel"&&(this.options.text=t),i==="icon"&&(this.options.icons.primary=t),i==="icons"&&(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)}}),r.fn.button=function(i){return function(){return!this.length||this.length&&this[0].tagName!=="INPUT"||this.length&&this[0].tagName==="INPUT"&&this.attr("type")!=="checkbox"&&this.attr("type")!=="radio"?i.apply(this,arguments):(r.ui.checkboxradio||r.error("Checkboxradio widget missing"),arguments.length===0?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}}(r.fn.button),r.fn.buttonset=function(){return r.ui.controlgroup||r.error("Controlgroup widget missing"),arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):arguments[0]==="option"&&arguments[1]==="items"?this.controlgroup.apply(this,[arguments[0],"items.button"]):(typeof arguments[0]=="object"&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),r.ui.button})},27871:function($,G,I){var N,a,M;/*!
296* jQuery UI Checkboxradio 1.12.1
297* http://jqueryui.com
298*
299* Copyright jQuery Foundation and other contributors
300* Released under the MIT license.
301* http://jquery.org/license
302*/(function(r){a=[I(6723),I(41403),I(31472),I(23989),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.widget("ui.checkboxradio",[r.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 i,t,s=this,l=this._super()||{};return this._readType(),t=this.element.labels(),this.label=r(t[t.length-1]),this.label.length||r.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){s.originalLabel+=this.nodeType===3?r(this).text():this.outerHTML}),this.originalLabel&&(l.label=this.originalLabel),i=this.element[0].disabled,i!=null&&(l.disabled=i),l},_create:function(){var i=this.element[0].checked;this._bindFormResetHandler(),this.options.disabled==null&&(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"),this.type==="radio"&&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(),i&&(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 i=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,(i!=="input"||!/radio|checkbox/.test(this.type))&&r.error("Can't create checkboxradio on element.nodeName="+i+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var i,t=this.element[0].name,s="input[name='"+r.ui.escapeSelector(t)+"']";return t?(this.form.length?i=r(this.form[0].elements).filter(s):i=r(s).filter(function(){return r(this).form().length===0}),i.not(this.element)):r([])},_toggleClasses:function(){var i=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",i),this.options.icon&&this.type==="checkbox"&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",i)._toggleClass(this.icon,null,"ui-icon-blank",!i),this.type==="radio"&&this._getRadioGroup().each(function(){var t=r(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(i,t){if(!(i==="label"&&!t)){if(this._super(i,t),i==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",t),this.element[0].disabled=t;return}this.refresh()}},_updateIcon:function(i){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=r("<span>"),this.iconSpace=r("<span> </span>
302"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),this.type==="checkbox"?(t+=i?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,i?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),i||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):this.icon!==void 0&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var i=this.label.contents().not(this.element[0]);this.icon&&(i=i.not(this.icon[0])),this.iconSpace&&(i=i.not(this.iconSpace[0])),i.remove(),this.label.append(this.options.label)},refresh:function(){var i=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(i),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",i),this.options.label!==null&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]),r.ui.checkboxradio})},68649:function($,G,I){var N,a,M;/*!
303* jQuery UI Controlgroup 1.12.1
304* http://jqueryui.com
305*
306* Copyright jQuery Foundation and other contributors
307* Released under the MIT license.
308* http://jquery.org/license
309*/(function(r){a=[I(6723),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){var i=/ui-corner-([a-z]){2,6}/g;return r.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 t=this,s=[];r.each(this.options.items,function(l,h){var f,w={};if(!!h){if(l==="controlgroupLabel"){f=t.element.find(h),f.each(function(){var P=r(this);P.children(".ui-controlgroup-label-contents").length||P.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),t._addClass(f,null,"ui-widget ui-widget-content ui-state-default"),s=s.concat(f.get());return}!r.fn[l]||(t["_"+l+"Options"]?w=t["_"+l+"Options"]("middle"):w={classes:{}},t.element.find(h).each(function(){var P=r(this),k=P[l]("instance"),y=r.widget.extend({},w);if(!(l==="button"&&P.parent(".ui-spinner").length)){k||(k=P[l]()[l]("instance")),k&&(y.classes=t._resolveClassesValues(y.classes,k)),P[l](y);var C=P[l]("widget");r.data(C[0],"ui-controlgroup-data",k||P[l]("instance")),s.push(C[0])}}))}}),this.childWidgets=r(r.unique(s)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var s=r(this),l=s.data("ui-controlgroup-data");l&&l[t]&&l[t]()})},_updateCornerClass:function(t,s){var l="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",h=this._buildSimpleOptions(s,"label").classes.label;this._removeClass(t,null,l),this._addClass(t,null,h)},_buildSimpleOptions:function(t,s){var l=this.options.direction==="vertical",h={classes:{}};return h.classes[s]={middle:"",first:"ui-corner-"+(l?"top":"left"),last:"ui-corner-"+(l?"bottom":"right"),only:"ui-corner-all"}[t],h},_spinnerOptions:function(t){var s=this._buildSimpleOptions(t,"ui-spinner");return s.classes["ui-spinner-up"]="",s.classes["ui-spinner-down"]="",s},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var s=this.options.direction==="vertical";return{width:s?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(s?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(s?"top":"left")},last:{"ui-selectmenu-button-open":s?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(s?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(t,s){var l={};
vendor: 69,689 bytes, lines 309-351
309return r.each(t,function(h){var f=s.options.classes[h]||"";f=r.trim(f.replace(i,"")),l[h]=(f+" "+t[h]).replace(/\s+/g," ")}),l},_setOption:function(t,s){if(t==="direction"&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,s),t==="disabled"){this._callChildMethod(s?"disable":"enable");return}this.refresh()},refresh:function(){var t,s=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),this.options.direction==="horizontal"&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),t=this.childWidgets,this.options.onlyVisible&&(t=t.filter(":visible")),t.length&&(r.each(["first","last"],function(l,h){var f=t[h]().data("ui-controlgroup-data");if(f&&s["_"+f.widgetName+"Options"]){var w=s["_"+f.widgetName+"Options"](t.length===1?"only":h);w.classes=s._resolveClassesValues(w.classes,f),f.element[f.widgetName](w)}else s._updateCornerClass(t[h](),h)}),this._callChildMethod("refresh"))}})})},8757:function($,G,I){var N,a,M;/*!
310* jQuery UI Draggable 1.12.1
311* http://jqueryui.com
312*
313* Copyright jQuery Foundation and other contributors
314* Released under the MIT license.
315* http://jquery.org/license
316*/(function(r){a=[I(6723),I(5927),I(9736),I(12111),I(23783),I(81692),I(84534),I(10021),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.widget("ui.draggable",r.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(){this.options.helper==="original"&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(i,t){this._super(i,t),i==="handle"&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=!0;return}this._removeHandleClassName(),this._mouseDestroy()},_mouseCapture:function(i){var t=this.options;return this.helper||t.disabled||r(i.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(i),!this.handle)?!1:(this._blurActiveElement(i),this._blockFrames(t.iframeFix===!0?"iframe":t.iframeFix),!0)},_blockFrames:function(i){this.iframeBlocks=this.document.find(i).map(function(){var t=r(this);return r("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(i){var t=r.ui.safeActiveElement(this.document[0]),s=r(i.target);s.closest(t).length||r.ui.safeBlur(t)},_mouseStart:function(i){var t=this.options;return this.helper=this._createHelper(i),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),r.ui.ddmanager&&(r.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return r(this).css("position")==="fixed"}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(i),this.originalPosition=this.position=this._generatePosition(i,!1),this.originalPageX=i.pageX,this.originalPageY=i.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),this._trigger("start",i)===!1?(this._clear(),!1):(this._cacheHelperProportions(),r.ui.ddmanager&&!t.dropBehaviour&&r.ui.ddmanager.prepareOffsets(this,i),this._mouseDrag(i,!0),r.ui.ddmanager&&r.ui.ddmanager.dragStart(this,i),!0)},_refreshOffsets:function(i){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:i.pageX-this.offset.left,top:i.pageY-this.offset.top}},_mouseDrag:function(i,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(i,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var s=this._uiHash();if(this._trigger("drag",i,s)===!1)return this._mouseUp(new r.Event("mouseup",i)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",r.ui.ddmanager&&r.ui.ddmanager.drag(this,i),!1},_mouseStop:function(i){var t=this,s=!1;return r.ui.ddmanager&&!this.options.dropBehaviour&&(s=r.ui.ddmanager.drop(this,i)),this.dropped&&(s=this.dropped,this.dropped=!1),this.options.revert==="invalid"&&!s||this.options.revert==="valid"&&s||this.options.revert===!0||r.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?r(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){t._trigger("stop",i)!==!1&&t._clear()}):this._trigger("stop",i)!==!1&&this._clear(),!1},_mouseUp:function(i){return this._unblockFrames(),r.ui.ddmanager&&r.ui.ddmanager.dragStop(this,i),this.handleElement.is(i.target)&&this.element.trigger("focus"),r.ui.mouse.prototype._mouseUp.call(this,i)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new r.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(i){return this.options.handle?!!r(i.target).closest(this.element.find(this.options.handle)).length:!0},_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(i){var t=this.options,s=r.isFunction(t.helper),l=s?r(t.helper.apply(this.element[0],[i])):t.helper==="clone"?this.element.clone().removeAttr("id"):this.element;return l.parents("body").length||l.appendTo(t.appendTo==="parent"?this.element[0].parentNode:t.appendTo),s&&l[0]===this.element[0]&&this._setPositionRelative(),l[0]!==this.element[0]&&!/(fixed|absolute)/.test(l.css("position"))&&l.css("position","absolute"),l},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(i){typeof i=="string"&&(i=i.split(" ")),r.isArray(i)&&(i={left:+i[0],top:+i[1]||0}),"left"in i&&(this.offset.click.left=i.left+this.margins.left),"right"in i&&(this.offset.click.left=this.helperProportions.width-i.right+this.margins.left),"top"in i&&(this.offset.click.top=i.top+this.margins.top),"bottom"in i&&(this.offset.click.top=this.helperProportions.height-i.bottom+this.margins.top)},_isRootNode:function(i){return/(html|body)/i.test(i.tagName)||i===this.document[0]},_getParentOffset:function(){var i=this.offsetParent.offset(),t=this.document[0];return this.cssPosition==="absolute"&&this.scrollParent[0]!==t&&r.contains(this.scrollParent[0],this.offsetParent[0])&&(i.left+=this.scrollParent.scrollLeft(),i.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(i={top:0,left:0}),{top:i.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:i.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative")return{top:0,left:0};var i=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:i.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:i.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 i,t,s,l=this.options,h=this.document[0];if(this.relativeContainer=null,!l.containment){this.containment=null;return}if(l.containment==="window"){this.containment=[r(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,r(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,r(window).scrollLeft()+r(window).width()-this.helperProportions.width-this.margins.left,r(window).scrollTop()+(r(window).height()||h.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(l.containment==="document"){this.containment=[0,0,r(h).width()-this.helperProportions.width-this.margins.left,(r(h).height()||h.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(l.containment.constructor===Array){this.containment=l.containment;return}l.containment==="parent"&&(l.containment=this.helper[0].parentNode),t=r(l.containment),s=t[0],s&&(i=/(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),(i?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(i?Math.max(s.scrollHeight,s.offsetHeight):s.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)},_convertPositionTo:function(i,t){t||(t=this.position);var s=i==="absolute"?1:-1,l=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*s+this.offset.parent.top*s-(this.cssPosition==="fixed"?-this.offset.scroll.top:l?0:this.offset.scroll.top)*s,left:t.left+this.offset.relative.left*s+this.offset.parent.left*s-(this.cssPosition==="fixed"?-this.offset.scroll.left:l?0:this.offset.scroll.left)*s}},_generatePosition:function(i,t){var s,l,h,f,w=this.options,P=this._isRootNode(this.scrollParent[0]),k=i.pageX,y=i.pageY;return(!P||!this.offset.scroll)&&(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(l=this.relativeContainer.offset(),s=[this.containment[0]+l.left,this.containment[1]+l.top,this.containment[2]+l.left,this.containment[3]+l.top]):s=this.containment,i.pageX-this.offset.click.left<s[0]&&(k=s[0]+this.offset.click.left),i.pageY-this.offset.click.top<s[1]&&(y=s[1]+this.offset.click.top),i.pageX-this.offset.click.left>s[2]&&(k=s[2]+this.offset.click.left),i.pageY-this.offset.click.top>s[3]&&(y=s[3]+this.offset.click.top)),w.grid&&(h=w.grid[1]?this.originalPageY+Math.round((y-this.originalPageY)/w.grid[1])*w.grid[1]:this.originalPageY,y=s?h-this.offset.click.top>=s[1]||h-this.offset.click.top>s[3]?h:h-this.offset.click.top>=s[1]?h-w.grid[1]:h+w.grid[1]:h,f=w.grid[0]?this.originalPageX+Math.round((k-this.originalPageX)/w.grid[0])*w.grid[0]:this.originalPageX,k=s?f-this.offset.click.left>=s[0]||f-this.offset.click.left>s[2]?f:f-this.offset.click.left>=s[0]?f-w.grid[0]:f+w.grid[0]:f),w.axis==="y"&&(k=this.originalPageX),w.axis==="x"&&(y=this.originalPageY)),{top:y-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:P?0:this.offset.scroll.top),left:k-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:P?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(i,t,s){return s=s||this._uiHash(),r.ui.plugin.call(this,i,[t,s,this],!0),/^(drag|start|stop)/.test(i)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),r.Widget.prototype._trigger.call(this,i,t,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),r.ui.plugin.add("draggable","connectToSortable",{start:function(i,t,s){var l=r.extend({},t,{item:s.element});s.sortables=[],r(s.options.connectToSortable).each(function(){var h=r(this).sortable("instance");h&&!h.options.disabled&&(s.sortables.push(h),h.refreshPositions(),h._trigger("activate",i,l))})},stop:function(i,t,s){var l=r.extend({},t,{item:s.element});s.cancelHelperRemoval=!1,r.each(s.sortables,function(){var h=this;h.isOver?(h.isOver=0,s.cancelHelperRemoval=!0,h.cancelHelperRemoval=!1,h._storedCSS={position:h.placeholder.css("position"),top:h.placeholder.css("top"),left:h.placeholder.css("left")},h._mouseStop(i),h.options.helper=h.options._helper):(h.cancelHelperRemoval=!0,h._trigger("deactivate",i,l))})},drag:function(i,t,s){r.each(s.sortables,function(){var l=!1,h=this;h.positionAbs=s.positionAbs,h.helperProportions=s.helperProportions,h.offset.click=s.offset.click,h._intersectsWith(h.containerCache)&&(l=!0,r.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==h&&this._intersectsWith(this.containerCache)&&r.contains(h.element[0],this.element[0])&&(l=!1),l})),l?(h.isOver||(h.isOver=1,s._parent=t.helper.parent(),h.currentItem=t.helper.appendTo(h.element).data("ui-sortable-item",!0),h.options._helper=h.options.helper,h.options.helper=function(){return t.helper[0]},i.target=h.currentItem[0],h._mouseCapture(i,!0),h._mouseStart(i,!0,!0),h.offset.click.top=s.offset.click.top,h.offset.click.left=s.offset.click.left,h.offset.parent.left-=s.offset.parent.left-h.offset.parent.left,h.offset.parent.top-=s.offset.parent.top-h.offset.parent.top,s._trigger("toSortable",i),s.dropped=h.element,r.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,h.fromOutside=s),h.currentItem&&(h._mouseDrag(i),t.position=h.position)):h.isOver&&(h.isOver=0,h.cancelHelperRemoval=!0,h.options._revert=h.options.revert,h.options.revert=!1,h._trigger("out",i,h._uiHash(h)),h._mouseStop(i,!0),h.options.revert=h.options._revert,h.options.helper=h.options._helper,h.placeholder&&h.placeholder.remove(),t.helper.appendTo(s._parent),s._refreshOffsets(i),t.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,r.each(s.sortables,function(){this.refreshPositions()}))})}}),r.ui.plugin.add("draggable","cursor",{start:function(i,t,s){var l=r("body"),h=s.options;l.css("cursor")&&(h._cursor=l.css("cursor")),l.css("cursor",h.cursor)},stop:function(i,t,s){var l=s.options;l._cursor&&r("body").css("cursor",l._cursor)}}),r.ui.plugin.add("draggable","opacity",{start:function(i,t,s){var l=r(t.helper),h=s.options;l.css("opacity")&&(h._opacity=l.css("opacity")),l.css("opacity",h.opacity)},stop:function(i,t,s){var l=s.options;l._opacity&&r(t.helper).css("opacity",l._opacity)}}),r.ui.plugin.add("draggable","scroll",{start:function(i,t,s){s.scrollParentNotHidden||(s.scrollParentNotHidden=s.helper.scrollParent(!1)),s.scrollParentNotHidden[0]!==s.document[0]&&s.scrollParentNotHidden[0].tagName!=="HTML"&&(s.overflowOffset=s.scrollParentNotHidden.offset())},drag:function(i,t,s){var l=s.options,h=!1,f=s.scrollParentNotHidden[0],w=s.document[0];f!==w&&f.tagName!=="HTML"?((!l.axis||l.axis!=="x")&&(s.overflowOffset.top+f.offsetHeight-i.pageY<l.scrollSensitivity?f.scrollTop=h=f.scrollTop+l.scrollSpeed:i.pageY-s.overflowOffset.top<l.scrollSensitivity&&(f.scrollTop=h=f.scrollTop-l.scrollSpeed)),(!l.axis||l.axis!=="y")&&(s.overflowOffset.left+f.offsetWidth-i.pageX<l.scrollSensitivity?f.scrollLeft=h=f.scrollLeft+l.scrollSpeed:i.pageX-s.overflowOffset.left<l.scrollSensitivity&&(f.scrollLeft=h=f.scrollLeft-l.scrollSpeed))):((!l.axis||l.axis!=="x")&&(i.pageY-r(w).scrollTop()<l.scrollSensitivity?h=r(w).scrollTop(r(w).scrollTop()-l.scrollSpeed):r(window).height()-(i.pageY-r(w).scrollTop())<l.scrollSensitivity&&(h=r(w).scrollTop(r(w).scrollTop()+l.scrollSpeed))),(!l.axis||l.axis!=="y")&&(i.pageX-r(w).scrollLeft()<l.scrollSensitivity?h=r(w).scrollLeft(r(w).scrollLeft()-l.scrollSpeed):r(window).width()-(i.pageX-r(w).scrollLeft())<l.scrollSensitivity&&(h=r(w).scrollLeft(r(w).scrollLeft()+l.scrollSpeed)))),h!==!1&&r.ui.ddmanager&&!l.dropBehaviour&&r.ui.ddmanager.prepareOffsets(s,i)}}),r.ui.plugin.add("draggable","snap",{start:function(i,t,s){var l=s.options;s.snapElements=[],r(l.snap.constructor!==String?l.snap.items||":data(ui-draggable)":l.snap).each(function(){var h=r(this),f=h.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:h.outerWidth(),height:h.outerHeight(),top:f.top,left:f.left})})},drag:function(i,t,s){var l,h,f,w,P,k,y,C,E,L,z=s.options,ie=z.snapTolerance,ce=t.offset.left,be=ce+s.helperProportions.width,De=t.offset.top,c=De+s.helperProportions.height;for(E=s.snapElements.length-1;E>=0;E--){if(P=s.snapElements[E].left-s.margins.left,k=P+s.snapElements[E].width,y=s.snapElements[E].top-s.margins.top,C=y+s.snapElements[E].height,be<P-ie||ce>k+ie||c<y-ie||De>C+ie||!r.contains(s.snapElements[E].item.ownerDocument,s.snapElements[E].item)){s.snapElements[E].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,i,r.extend(s._uiHash(),{snapItem:s.snapElements[E].item})),s.snapElements[E].snapping=!1;continue}z.snapMode!=="inner"&&(l=Math.abs(y-c)<=ie,h=Math.abs(C-De)<=ie,f=Math.abs(P-be)<=ie,w=Math.abs(k-ce)<=ie,l&&(t.position.top=s._convertPositionTo("relative",{top:y-s.helperProportions.height,left:0}).top),h&&(t.position.top=s._convertPositionTo("relative",{top:C,left:0}).top),f&&(t.position.left=s._convertPositionTo("relative",{top:0,left:P-s.helperProportions.width}).left),w&&(t.position.left=s._convertPositionTo("relative",{top:0,left:k}).left)),L=l||h||f||w,z.snapMode!=="outer"&&(l=Math.abs(y-De)<=ie,h=Math.abs(C-c)<=ie,f=Math.abs(P-ce)<=ie,w=Math.abs(k-be)<=ie,l&&(t.position.top=s._convertPositionTo("relative",{top:y,left:0}).top),h&&(t.position.top=s._convertPositionTo("relative",{top:C-s.helperProportions.height,left:0}).top),f&&(t.position.left=s._convertPositionTo("relative",{top:0,left:P}).left),w&&(t.position.left=s._convertPositionTo("relative",{top:0,left:k-s.helperProportions.width}).left)),!s.snapElements[E].snapping&&(l||h||f||w||L)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,i,r.extend(s._uiHash(),{snapItem:s.snapElements[E].item})),s.snapElements[E].snapping=l||h||f||w||L}}}),r.ui.plugin.add("draggable","stack",{start:function(i,t,s){var l,h=s.options,f=r.makeArray(r(h.stack)).sort(function(w,P){return(parseInt(r(w).css("zIndex"),10)||0)-(parseInt(r(P).css("zIndex"),10)||0)});!f.length||(l=parseInt(r(f[0]).css("zIndex"),10)||0,r(f).each(function(w){r(this).css("zIndex",l+w)}),this.css("zIndex",l+f.length))}}),r.ui.plugin.add("draggable","zIndex",{start:function(i,t,s){var l=r(t.helper),h=s.options;l.css("zIndex")&&(h._zIndex=l.css("zIndex")),l.css("zIndex",h.zIndex)},stop:function(i,t,s){var l=s.options;l._zIndex&&r(t.helper).css("zIndex",l._zIndex)}}),r.ui.draggable})},95367:function($,G,I){var N,a,M;/*!
317* jQuery UI Droppable 1.12.1
318* http://jqueryui.com
319*
320* Copyright jQuery Foundation and other contributors
321* Released under the MIT license.
322* http://jquery.org/license
323*/(function(r){a=[I(6723),I(8757),I(5927),I(10021),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){r.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,s=this.options,l=s.accept;this.isover=!1,this.isout=!0,this.accept=r.isFunction(l)?l:function(h){return h.is(l)},this.proportions=function(){if(arguments.length)t=arguments[0];else return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(s.scope),s.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){r.ui.ddmanager.droppables[t]=r.ui.ddmanager.droppables[t]||[],r.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var s=0;s<t.length;s++)t[s]===this&&t.splice(s,1)},_destroy:function(){var t=r.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,s){if(t==="accept")this.accept=r.isFunction(s)?s:function(h){return h.is(s)};else if(t==="scope"){var l=r.ui.ddmanager.droppables[this.options.scope];this._splice(l),this._addToManager(s)}this._super(t,s)},_activate:function(t){var s=r.ui.ddmanager.current;this._addActiveClass(),s&&this._trigger("activate",t,this.ui(s))},_deactivate:function(t){var s=r.ui.ddmanager.current;this._removeActiveClass(),s&&this._trigger("deactivate",t,this.ui(s))},_over:function(t){var s=r.ui.ddmanager.current;!s||(s.currentItem||s.element)[0]===this.element[0]||this.accept.call(this.element[0],s.currentItem||s.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(s)))},_out:function(t){var s=r.ui.ddmanager.current;!s||(s.currentItem||s.element)[0]===this.element[0]||this.accept.call(this.element[0],s.currentItem||s.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(s)))},_drop:function(t,s){var l=s||r.ui.ddmanager.current,h=!1;return!l||(l.currentItem||l.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var f=r(this).droppable("instance");if(f.options.greedy&&!f.options.disabled&&f.options.scope===l.options.scope&&f.accept.call(f.element[0],l.currentItem||l.element)&&i(l,r.extend(f,{offset:f.element.offset()}),f.options.tolerance,t))return h=!0,!1}),h)?!1:this.accept.call(this.element[0],l.currentItem||l.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(l)),this.element):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var i=r.ui.intersect=function(){function t(s,l,h){return s>=l&&s<l+h}return function(s,l,h,f){if(!l.offset)return!1;var w=(s.positionAbs||s.position.absolute).left+s.margins.left,P=(s.positionAbs||s.position.absolute).top+s.margins.top,k=w+s.helperProportions.width,y=P+s.helperProportions.height,C=l.offset.left,E=l.offset.top,L=C+l.proportions().width,z=E+l.proportions().height;switch(h){case"fit":return C<=w&&k<=L&&E<=P&&y<=z;case"intersect":return C<w+s.helperProportions.width/2&&k-s.helperProportions.width/2<L&&E<P+s.helperProportions.height/2&&y-s.helperProportions.height/2<z;case"pointer":return t(f.pageY,E,l.proportions().height)&&t(f.pageX,C,l.proportions().width);case"touch":return(P>=E&&P<=z||y>=E&&y<=z||P<E&&y>z)&&(w>=C&&w<=L||k>=C&&k<=L||w<C&&k>L);default:return!1}}}();return r.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,s){var l,h,f=r.ui.ddmanager.droppables[t.options.scope]||[],w=s?s.type:null,P=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(l=0;l<f.length;l++)if(!(f[l].options.disabled||t&&!f[l].accept.call(f[l].element[0],t.currentItem||t.element))){for(h=0;h<P.length;h++)if(P[h]===f[l].element[0]){f[l].proportions().height=0;continue e}f[l].visible=f[l].element.css("display")!=="none",f[l].visible&&(w==="mousedown"&&f[l]._activate.call(f[l],s),f[l].offset=f[l].element.offset(),f[l].proportions({width:f[l].element[0].offsetWidth,height:f[l].element[0].offsetHeight}))}},drop:function(t,s){var l=!1;return r.each((r.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){!this.options||(!this.options.disabled&&this.visible&&i(t,this,this.options.tolerance,s)&&(l=this._drop.call(this,s)||l),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,s)))}),l},dragStart:function(t,s){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||r.ui.ddmanager.prepareOffsets(t,s)})},drag:function(t,s){t.options.refreshPositions&&r.ui.ddmanager.prepareOffsets(t,s),r.each(r.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var l,h,f,w=i(t,this,this.options.tolerance,s),P=!w&&this.isover?"isout":w&&!this.isover?"isover":null;!P||(this.options.greedy&&(h=this.options.scope,f=this.element.parents(":data(ui-droppable)").filter(function(){return r(this).droppable("instance").options.scope===h}),f.length&&(l=r(f[0]).droppable("instance"),l.greedyChild=P==="isover")),l&&P==="isover"&&(l.isover=!1,l.isout=!0,l._out.call(l,s)),this[P]=!0,this[P==="isout"?"isover":"isout"]=!1,this[P==="isover"?"_over":"_out"].call(this,s),l&&P==="isout"&&(l.isout=!1,l.isover=!0,l._over.call(l,s)))}})},dragStop:function(t,s){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||r.ui.ddmanager.prepareOffsets(t,s)}},r.uiBackCompat!==!1&&r.widget("ui.droppable",r.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),r.ui.droppable})},5927:function($,G,I){var N,a,M;/*!
324* jQuery UI Mouse 1.12.1
325* http://jqueryui.com
326*
327* Copyright jQuery Foundation and other contributors
328* Released under the MIT license.
329* http://jquery.org/license
330*/(function(r){a=[I(6723),I(78808),I(10021),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){var i=!1;return r(document).on("mouseup",function(){i=!1}),r.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(s){return t._mouseDown(s)}).on("click."+this.widgetName,function(s){if(r.data(s.target,t.widgetName+".preventClickEvent")===!0)return r.removeData(s.target,t.widgetName+".preventClickEvent"),s.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(t){if(!i){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var s=this,l=t.which===1,h=typeof this.options.cancel=="string"&&t.target.nodeName?r(t.target).closest(this.options.cancel).length:!1;return!l||h||!this._mouseCapture(t)?!0:(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?(t.preventDefault(),!0):(r.data(t.target,this.widgetName+".preventClickEvent")===!0&&r.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(f){return s._mouseMove(f)},this._mouseUpDelegate=function(f){return s._mouseUp(f)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),i=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(r.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which){if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&r.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,i=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})},4464:function($,G,I){var N,a,M;/*!
331* jQuery UI Resizable 1.12.1
332* http://jqueryui.com
333*
334* Copyright jQuery Foundation and other contributors
335* Released under the MIT license.
336* http://jquery.org/license
337*/(function(r){a=[I(6723),I(5927),I(2520),I(12111),I(10021),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.widget("ui.resizable",r.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(i){return parseFloat(i)||0},_isNumber:function(i){return!isNaN(parseFloat(i))},_hasScroll:function(i,t){if(r(i).css("overflow")==="hidden")return!1;var s=t&&t==="left"?"scrollLeft":"scrollTop",l=!1;return i[s]>0?!0:(i[s]=1,l=i[s]>0,i[s]=0,l)},_create:function(){var i,t=this.options,s=this;this._addClass("ui-resizable"),r.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(r("<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,i={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(i),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(i),this._proportionallyResize()),this._setupHandles(),t.autoHide&&r(this.element).on("mouseenter",function(){t.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){t.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var i,t=function(s){r(s).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(t(this.element),i=this.element,this.originalElement.css({position:i.css("position"),width:i.outerWidth(),height:i.outerHeight(),top:i.css("top"),left:i.css("left")}).insertAfter(i),i.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(i,t){switch(this._super(i,t),i){case"handles":this._removeHandles(),this._setupHandles();break;default:break}},_setupHandles:function(){var i=this.options,t,s,l,h,f,w=this;if(this.handles=i.handles||(r(".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=r(),this.handles.constructor===String)for(this.handles==="all"&&(this.handles="n,e,s,w,se,sw,ne,nw"),l=this.handles.split(","),this.handles={},s=0;s<l.length;s++)t=r.trim(l[s]),h="ui-resizable-"+t,f=r("<div>"),this._addClass(f,"ui-resizable-handle "+h),f.css({zIndex:i.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.append(f);this._renderAxis=function(P){var k,y,C,E;P=P||this.element;for(k in this.handles)this.handles[k].constructor===String?this.handles[k]=this.element.children(this.handles[k]).first().show():(this.handles[k].jquery||this.handles[k].nodeType)&&(this.handles[k]=r(this.handles[k]),this._on(this.handles[k],{mousedown:w._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(y=r(this.handles[k],this.element),E=/sw|ne|nw|se|n|s/.test(k)?y.outerHeight():y.outerWidth(),C=["padding",/ne|nw|n/.test(k)?"Top":/se|sw|s/.test(k)?"Bottom":/^e$/.test(k)?"Right":"Left"].join(""),P.css(C,E),this._proportionallyResize()),this._handles=this._handles.add(this.handles[k])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){w.resizing||(this.className&&(f=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),w.axis=f&&f[1]?f[1]:"se")}),i.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(i){var t,s,l=!1;for(t in this.handles)s=r(this.handles[t])[0],(s===i.target||r.contains(s,i.target))&&(l=!0);return!this.options.disabled&&l},_mouseStart:function(i){var t,s,l,h=this.options,f=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),h.containment&&(t+=r(h.containment).scrollLeft()||0,s+=r(h.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalPosition={left:t,top:s},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio=typeof h.aspectRatio=="number"?h.aspectRatio:this.originalSize.width/this.originalSize.height||1,l=r(".ui-resizable-"+this.axis).css("cursor"),r("body").css("cursor",l==="auto"?this.axis+"-resize":l),this._addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(i){var t,s,l=this.originalMousePosition,h=this.axis,f=i.pageX-l.left||0,w=i.pageY-l.top||0,P=this._change[h];return this._updatePrevProperties(),P&&(t=P.apply(this,[i,f,w]),this._updateVirtualBoundaries(i.shiftKey),(this._aspectRatio||i.shiftKey)&&(t=this._updateRatio(t,i)),t=this._respectSize(t,i),this._updateCache(t),this._propagate("resize",i),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),r.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",i,this.ui()),this._applyChanges())),!1},_mouseStop:function(i){this.resizing=!1;var t,s,l,h,f,w,P,k=this.options,y=this;return this._helper&&(t=this._proportionallyResizeElements,s=t.length&&/textarea/i.test(t[0].nodeName),l=s&&this._hasScroll(t[0],"left")?0:y.sizeDiff.height,h=s?0:y.sizeDiff.width,f={width:y.helper.width()-h,height:y.helper.height()-l},w=parseFloat(y.element.css("left"))+(y.position.left-y.originalPosition.left)||null,P=parseFloat(y.element.css("top"))+(y.position.top-y.originalPosition.top)||null,k.animate||this.element.css(r.extend(f,{top:P,left:w})),y.helper.height(y.size.height),y.helper.width(y.size.width),this._helper&&!k.animate&&this._proportionallyResize()),r("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",i),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 i={};return this.position.top!==this.prevPosition.top&&(i.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(i.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(i.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(i.height=this.size.height+"px"),this.helper.css(i),i},_updateVirtualBoundaries:function(i){var t,s,l,h,f,w=this.options;f={minWidth:this._isNumber(w.minWidth)?w.minWidth:0,maxWidth:this._isNumber(w.maxWidth)?w.maxWidth:1/0,minHeight:this._isNumber(w.minHeight)?w.minHeight:0,maxHeight:this._isNumber(w.maxHeight)?w.maxHeight:1/0},(this._aspectRatio||i)&&(t=f.minHeight*this.aspectRatio,l=f.minWidth/this.aspectRatio,s=f.maxHeight*this.aspectRatio,h=f.maxWidth/this.aspectRatio,t>f.minWidth&&(f.minWidth=t),l>f.minHeight&&(f.minHeight=l),s<f.maxWidth&&(f.maxWidth=s),h<f.maxHeight&&(f.maxHeight=h)),this._vBoundaries=f},_updateCache:function(i){this.offset=this.helper.offset(),this._isNumber(i.left)&&(this.position.left=i.left),this._isNumber(i.top)&&(this.position.top=i.top),this._isNumber(i.height)&&(this.size.height=i.height),this._isNumber(i.width)&&(this.size.width=i.width)},_updateRatio:function(i){var t=this.position,s=this.size,l=this.axis;return this._isNumber(i.height)?i.width=i.height*this.aspectRatio:this._isNumber(i.width)&&(i.height=i.width/this.aspectRatio),l==="sw"&&(i.left=t.left+(s.width-i.width),i.top=null),l==="nw"&&(i.top=t.top+(s.height-i.height),i.left=t.left+(s.width-i.width)),i},_respectSize:function(i){var t=this._vBoundaries,s=this.axis,l=this._isNumber(i.width)&&t.maxWidth&&t.maxWidth<i.width,h=this._isNumber(i.height)&&t.maxHeight&&t.maxHeight<i.height,f=this._isNumber(i.width)&&t.minWidth&&t.minWidth>i.width,w=this._isNumber(i.height)&&t.minHeight&&t.minHeight>i.height,P=this.originalPosition.left+this.originalSize.width,k=this.originalPosition.top+this.originalSize.height,y=/sw|nw|w/.test(s),C=/nw|ne|n/.test(s);return f&&(i.width=t.minWidth),w&&(i.height=t.minHeight),l&&(i.width=t.maxWidth),h&&(i.height=t.maxHeight),f&&y&&(i.left=P-t.minWidth),l&&y&&(i.left=P-t.maxWidth),w&&C&&(i.top=k-t.minHeight),h&&C&&(i.top=k-t.maxHeight),!i.width&&!i.height&&!i.left&&i.top?i.top=null:!i.width&&!i.height&&!i.top&&i.left&&(i.left=null),i},_getPaddingPlusBorderDimensions:function(i){for(var t=0,s=[],l=[i.css("borderTopWidth"),i.css("borderRightWidth"),i.css("borderBottomWidth"),i.css("borderLeftWidth")],h=[i.css("paddingTop"),i.css("paddingRight"),i.css("paddingBottom"),i.css("paddingLeft")];t<4;t++)s[t]=parseFloat(l[t])||0,s[t]+=parseFloat(h[t])||0;return{height:s[0]+s[2],width:s[1]+s[3]}},_proportionallyResize:function(){if(!!this._proportionallyResizeElements.length)for(var i,t=0,s=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)i=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(i)),i.css({height:s.height()-this.outerDimensions.height||0,width:s.width()-this.outerDimensions.width||0})},_renderProxy:function(){var i=this.element,t=this.options;this.elementOffset=i.offset(),this._helper?(this.helper=this.helper||r("<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(i,t){return{width:this.originalSize.width+t}},w:function(i,t){var s=this.originalSize,l=this.originalPosition;return{left:l.left+t,width:s.width-t}},n:function(i,t,s){var l=this.originalSize,h=this.originalPosition;return{top:h.top+s,height:l.height-s}},s:function(i,t,s){return{height:this.originalSize.height+s}},se:function(i,t,s){return r.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[i,t,s]))},sw:function(i,t,s){return r.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[i,t,s]))},ne:function(i,t,s){return r.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[i,t,s]))},nw:function(i,t,s){return r.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[i,t,s]))}},_propagate:function(i,t){r.ui.plugin.call(this,i,[t,this.ui()]),i!=="resize"&&this._trigger(i,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}}}),r.ui.plugin.add("resizable","animate",{stop:function(i){var t=r(this).resizable("instance"),s=t.options,l=t._proportionallyResizeElements,h=l.length&&/textarea/i.test(l[0].nodeName),f=h&&t._hasScroll(l[0],"left")?0:t.sizeDiff.height,w=h?0:t.sizeDiff.width,P={width:t.size.width-w,height:t.size.height-f},k=parseFloat(t.element.css("left"))+(t.position.left-t.originalPosition.left)||null,y=parseFloat(t.element.css("top"))+(t.position.top-t.originalPosition.top)||null;t.element.animate(r.extend(P,y&&k?{top:y,left:k}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var C={width:parseFloat(t.element.css("width")),height:parseFloat(t.element.css("height")),top:parseFloat(t.element.css("top")),left:parseFloat(t.element.css("left"))};l&&l.length&&r(l[0]).css({width:C.width,height:C.height}),t._updateCache(C),t._propagate("resize",i)}})}}),r.ui.plugin.add("resizable","containment",{start:function(){var i,t,s,l,h,f,w,P=r(this).resizable("instance"),k=P.options,y=P.element,C=k.containment,E=C instanceof r?C.get(0):/parent/.test(C)?y.parent().get(0):C;!E||(P.containerElement=r(E),/document/.test(C)||C===document?(P.containerOffset={left:0,top:0},P.containerPosition={left:0,top:0},P.parentData={element:r(document),left:0,top:0,width:r(document).width(),height:r(document).height()||document.body.parentNode.scrollHeight}):(i=r(E),t=[],r(["Top","Right","Left","Bottom"]).each(function(L,z){t[L]=P._num(i.css("padding"+z))}),P.containerOffset=i.offset(),P.containerPosition=i.position(),P.containerSize={height:i.innerHeight()-t[3],width:i.innerWidth()-t[1]},s=P.containerOffset,l=P.containerSize.height,h=P.containerSize.width,f=P._hasScroll(E,"left")?E.scrollWidth:h,w=P._hasScroll(E)?E.scrollHeight:l,P.parentData={element:E,left:s.left,top:s.top,width:f,height:w}))},resize:function(i){var t,s,l,h,f=r(this).resizable("instance"),w=f.options,P=f.containerOffset,k=f.position,y=f._aspectRatio||i.shiftKey,C={top:0,left:0},E=f.containerElement,L=!0;E[0]!==document&&/static/.test(E.css("position"))&&(C=P),k.left<(f._helper?P.left:0)&&(f.size.width=f.size.width+(f._helper?f.position.left-P.left:f.position.left-C.left),y&&(f.size.height=f.size.width/f.aspectRatio,L=!1),f.position.left=w.helper?P.left:0),k.top<(f._helper?P.top:0)&&(f.size.height=f.size.height+(f._helper?f.position.top-P.top:f.position.top),y&&(f.size.width=f.size.height*f.aspectRatio,L=!1),f.position.top=f._helper?P.top:0),l=f.containerElement.get(0)===f.element.parent().get(0),h=/relative|absolute/.test(f.containerElement.css("position")),l&&h?(f.offset.left=f.parentData.left+f.position.left,f.offset.top=f.parentData.top+f.position.top):(f.offset.left=f.element.offset().left,f.offset.top=f.element.offset().top),t=Math.abs(f.sizeDiff.width+(f._helper?f.offset.left-C.left:f.offset.left-P.left)),s=Math.abs(f.sizeDiff.height+(f._helper?f.offset.top-C.top:f.offset.top-P.top)),t+f.size.width>=f.parentData.width&&(f.size.width=f.parentData.width-t,y&&(f.size.height=f.size.width/f.aspectRatio,L=!1)),s+f.size.height>=f.parentData.height&&(f.size.height=f.parentData.height-s,y&&(f.size.width=f.size.height*f.aspectRatio,L=!1)),L||(f.position.left=f.prevPosition.left,f.position.top=f.prevPosition.top,f.size.width=f.prevSize.width,f.size.height=f.prevSize.height)},stop:function(){var i=r(this).resizable("instance"),t=i.options,s=i.containerOffset,l=i.containerPosition,h=i.containerElement,f=r(i.helper),w=f.offset(),P=f.outerWidth()-i.sizeDiff.width,k=f.outerHeight()-i.sizeDiff.height;i._helper&&!t.animate&&/relative/.test(h.css("position"))&&r(this).css({left:w.left-l.left-s.left,width:P,height:k}),i._helper&&!t.animate&&/static/.test(h.css("position"))&&r(this).css({left:w.left-l.left-s.left,width:P,height:k})}}),r.ui.plugin.add("resizable","alsoResize",{start:function(){var i=r(this).resizable("instance"),t=i.options;r(t.alsoResize).each(function(){var s=r(this);s.data("ui-resizable-alsoresize",{width:parseFloat(s.width()),height:parseFloat(s.height()),left:parseFloat(s.css("left")),top:parseFloat(s.css("top"))})})},resize:function(i,t){var s=r(this).resizable("instance"),l=s.options,h=s.originalSize,f=s.originalPosition,w={height:s.size.height-h.height||0,width:s.size.width-h.width||0,top:s.position.top-f.top||0,left:s.position.left-f.left||0};r(l.alsoResize).each(function(){var P=r(this),k=r(this).data("ui-resizable-alsoresize"),y={},C=P.parents(t.originalElement[0]).length?["width","height"]:["width","height","top","left"];r.each(C,function(E,L){var z=(k[L]||0)+(w[L]||0);z&&z>=0&&(y[L]=z||null)}),P.css(y)})},stop:function(){r(this).removeData("ui-resizable-alsoresize")}}),r.ui.plugin.add("resizable","ghost",{start:function(){var i=r(this).resizable("instance"),t=i.size;i.ghost=i.originalElement.clone(),i.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),i._addClass(i.ghost,"ui-resizable-ghost"),r.uiBackCompat!==!1&&typeof i.options.ghost=="string"&&i.ghost.addClass(this.options.ghost),i.ghost.appendTo(i.helper)},resize:function(){var i=r(this).resizable("instance");i.ghost&&i.ghost.css({position:"relative",height:i.size.height,width:i.size.width})},stop:function(){var i=r(this).resizable("instance");i.ghost&&i.helper&&i.helper.get(0).removeChild(i.ghost.get(0))}}),r.ui.plugin.add("resizable","grid",{resize:function(){var i,t=r(this).resizable("instance"),s=t.options,l=t.size,h=t.originalSize,f=t.originalPosition,w=t.axis,P=typeof s.grid=="number"?[s.grid,s.grid]:s.grid,k=P[0]||1,y=P[1]||1,C=Math.round((l.width-h.width)/k)*k,E=Math.round((l.height-h.height)/y)*y,L=h.width+C,z=h.height+E,ie=s.maxWidth&&s.maxWidth<L,ce=s.maxHeight&&s.maxHeight<z,be=s.minWidth&&s.minWidth>L,De=s.minHeight&&s.minHeight>z;s.grid=P,be&&(L+=k),De&&(z+=y),ie&&(L-=k),ce&&(z-=y),/^(se|s|e)$/.test(w)?(t.size.width=L,t.size.height=z):/^(ne)$/.test(w)?(t.size.width=L,t.size.height=z,t.position.top=f.top-E):/^(sw)$/.test(w)?(t.size.width=L,t.size.height=z,t.position.left=f.left-C):((z-y<=0||L-k<=0)&&(i=t._getPaddingPlusBorderDimensions(this)),z-y>0?(t.size.height=z,t.position.top=f.top-E):(z=y-i.height,t.size.height=z,t.position.top=f.top+h.height-z),L-k>0?(t.size.width=L,t.position.left=f.left-C):(L=k-i.width,t.size.width=L,t.position.left=f.left+h.width-L))}}),r.ui.resizable})},39918:function($,G,I){var N,a,M;/*!
338* jQuery UI Slider 1.12.1
339* http://jqueryui.com
340*
341* Copyright jQuery Foundation and other contributors
342* Released under the MIT license.
343* http://jquery.org/license
344*/(function(r){a=[I(6723),I(5927),I(79506),I(10021),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.widget("ui.slider",r.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},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 i,t,s=this.options,l=this.element.find(".ui-slider-handle"),h="<span tabindex='0'></span>",f=[];for(t=s.values&&s.values.length||1,l.length>t&&(l.slice(t).remove(),l=l.slice(0,t)),i=l.length;i<t;i++)f.push(h);this.handles=l.add(r(f.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(w){r(this).data("ui-slider-handle-index",w).attr("tabIndex",0)})},_createRange:function(){var i=this.options;i.range?(i.range===!0&&(i.values?i.values.length&&i.values.length!==2?i.values=[i.values[0],i.values[0]]:r.isArray(i.values)&&(i.values=i.values.slice(0)):i.values=[this._valueMin(),this._valueMin()]),!this.range||!this.range.length?(this.range=r("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")):(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})),(i.range==="min"||i.range==="max")&&this._addClass(this.range,"ui-slider-range-"+i.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(i){var t,s,l,h,f,w,P,k,y=this,C=this.options;return C.disabled||(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:i.pageX,y:i.pageY},s=this._normValueFromMouse(t),l=this._valueMax()-this._valueMin()+1,this.handles.each(function(E){var L=Math.abs(s-y.values(E));(l>L||l===L&&(E===y._lastChangedValue||y.values(E)===C.min))&&(l=L,h=r(this),f=E)}),w=this._start(i,f),w===!1)?!1:(this._mouseSliding=!0,this._handleIndex=f,this._addClass(h,null,"ui-state-active"),h.trigger("focus"),P=h.offset(),k=!r(i.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=k?{left:0,top:0}:{left:i.pageX-P.left-h.width()/2,top:i.pageY-P.top-h.height()/2-(parseInt(h.css("borderTopWidth"),10)||0)-(parseInt(h.css("borderBottomWidth"),10)||0)+(parseInt(h.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(i,f,s),this._animateOff=!0,!0)},_mouseStart:function(){return!0},_mouseDrag:function(i){var t={x:i.pageX,y:i.pageY},s=this._normValueFromMouse(t);return this._slide(i,this._handleIndex,s),!1},_mouseStop:function(i){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(i,this._handleIndex),this._change(i,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(i){var t,s,l,h,f;return this.orientation==="horizontal"?(t=this.elementSize.width,s=i.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,s=i.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),l=s/t,l>1&&(l=1),l<0&&(l=0),this.orientation==="vertical"&&(l=1-l),h=this._valueMax()-this._valueMin(),f=this._valueMin()+l*h,this._trimAlignValue(f)},_uiHash:function(i,t,s){var l={handle:this.handles[i],handleIndex:i,value:t!==void 0?t:this.value()};return this._hasMultipleValues()&&(l.value=t!==void 0?t:this.values(i),l.values=s||this.values()),l},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(i,t){return this._trigger("start",i,this._uiHash(t))},_slide:function(i,t,s){var l,h,f=this.value(),w=this.values();this._hasMultipleValues()&&(h=this.values(t?0:1),f=this.values(t),this.options.values.length===2&&this.options.range===!0&&(s=t===0?Math.min(h,s):Math.max(h,s)),w[t]=s),s!==f&&(l=this._trigger("slide",i,this._uiHash(t,s,w)),l!==!1&&(this._hasMultipleValues()?this.values(t,s):this.value(s)))},_stop:function(i,t){this._trigger("stop",i,this._uiHash(t))},_change:function(i,t){!this._keySliding&&!this._mouseSliding&&(this._lastChangedValue=t,this._trigger("change",i,this._uiHash(t)))},value:function(i){if(arguments.length){this.options.value=this._trimAlignValue(i),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(i,t){var s,l,h;if(arguments.length>1){this.options.values[i]=this._trimAlignValue(t),this._refreshValue(),this._change(null,i);return}if(arguments.length)if(r.isArray(arguments[0])){for(s=this.options.values,l=arguments[0],h=0;h<s.length;h+=1)s[h]=this._trimAlignValue(l[h]),this._change(null,h);this._refreshValue()}else return this._hasMultipleValues()?this._values(i):this.value();else return this._values()},_setOption:function(i,t){var s,l=0;switch(i==="range"&&this.options.range===!0&&(t==="min"?(this.options.value=this._values(0),this.options.values=null):t==="max"&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),r.isArray(this.options.values)&&(l=this.options.values.length),this._super(i,t),i){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(t==="horizontal"?"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(),s=l-1;s>=0;s--)this._change(null,s);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;break}},_setOptionDisabled:function(i){this._super(i),this._toggleClass(null,"ui-state-disabled",!!i)},_value:function(){var i=this.options.value;return i=this._trimAlignValue(i),i},_values:function(i){var t,s,l;if(arguments.length)return t=this.options.values[i],t=this._trimAlignValue(t),t;if(this._hasMultipleValues()){for(s=this.options.values.slice(),l=0;l<s.length;l+=1)s[l]=this._trimAlignValue(s[l]);return s}else return[]},_trimAlignValue:function(i){if(i<=this._valueMin())return this._valueMin();if(i>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,s=(i-this._valueMin())%t,l=i-s;return Math.abs(s)*2>=t&&(l+=s>0?t:-t),parseFloat(l.toFixed(5))},_calculateNewMax:function(){var i=this.options.max,t=this._valueMin(),s=this.options.step,l=Math.round((i-t)/s)*s;i=l+t,i>this.options.max&&(i-=s),this.max=parseFloat(i.toFixed(this._precision()))},_precision:function(){var i=this._precisionOf(this.options.step);return this.options.min!==null&&(i=Math.max(i,this._precisionOf(this.options.min))),i},_precisionOf:function(i){var t=i.toString(),s=t.indexOf(".");return s===-1?0:t.length-s-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(i){i==="vertical"&&this.range.css({width:"",left:""}),i==="horizontal"&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var i,t,s,l,h,f=this.options.range,w=this.options,P=this,k=this._animateOff?!1:w.animate,y={};this._hasMultipleValues()?this.handles.each(function(C){t=(P.values(C)-P._valueMin())/(P._valueMax()-P._valueMin())*100,y[P.orientation==="horizontal"?"left":"bottom"]=t+"%",r(this).stop(1,1)[k?"animate":"css"](y,w.animate),P.options.range===!0&&(P.orientation==="horizontal"?(C===0&&P.range.stop(1,1)[k?"animate":"css"]({left:t+"%"},w.animate),C===1&&P.range[k?"animate":"css"]({width:t-i+"%"},{queue:!1,duration:w.animate})):(C===0&&P.range.stop(1,1)[k?"animate":"css"]({bottom:t+"%"},w.animate),C===1&&P.range[k?"animate":"css"]({height:t-i+"%"},{queue:!1,duration:w.animate}))),i=t}):(s=this.value(),l=this._valueMin(),h=this._valueMax(),t=h!==l?(s-l)/(h-l)*100:0,y[this.orientation==="horizontal"?"left":"bottom"]=t+"%",this.handle.stop(1,1)[k?"animate":"css"](y,w.animate),f==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[k?"animate":"css"]({width:t+"%"},w.animate),f==="max"&&this.orientation==="horizontal"&&this.range.stop(1,1)[k?"animate":"css"]({width:100-t+"%"},w.animate),f==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[k?"animate":"css"]({height:t+"%"},w.animate),f==="max"&&this.orientation==="vertical"&&this.range.stop(1,1)[k?"animate":"css"]({height:100-t+"%"},w.animate))},_handleEvents:{keydown:function(i){var t,s,l,h,f=r(i.target).data("ui-slider-handle-index");switch(i.keyCode){case r.ui.keyCode.HOME:case r.ui.keyCode.END:case r.ui.keyCode.PAGE_UP:case r.ui.keyCode.PAGE_DOWN:case r.ui.keyCode.UP:case r.ui.keyCode.RIGHT:case r.ui.keyCode.DOWN:case r.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(r(i.target),null,"ui-state-active"),t=this._start(i,f),t===!1))return;break}switch(h=this.options.step,this._hasMultipleValues()?s=l=this.values(f):s=l=this.value(),i.keyCode){case r.ui.keyCode.HOME:l=this._valueMin();break;case r.ui.keyCode.END:l=this._valueMax();break;case r.ui.keyCode.PAGE_UP:l=this._trimAlignValue(s+(this._valueMax()-this._valueMin())/this.numPages);break;case r.ui.keyCode.PAGE_DOWN:l=this._trimAlignValue(s-(this._valueMax()-this._valueMin())/this.numPages);break;case r.ui.keyCode.UP:case r.ui.keyCode.RIGHT:if(s===this._valueMax())return;l=this._trimAlignValue(s+h);break;case r.ui.keyCode.DOWN:case r.ui.keyCode.LEFT:if(s===this._valueMin())return;l=this._trimAlignValue(s-h);break}this._slide(i,f,l)},keyup:function(i){var t=r(i.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(i,t),this._change(i,t),this._removeClass(r(i.target),null,"ui-state-active"))}}})})},71940:function($,G,I){var N,a,M;/*!
345* jQuery UI Sortable 1.12.1
346* http://jqueryui.com
347*
348* Copyright jQuery Foundation and other contributors
349* Released under the MIT license.
350* http://jquery.org/license
351*/(function(r){a=[I(6723),I(5927),I(9736),I(78808),I(84534),I(10021),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){return r.widget("ui.sortable",r.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(i,t,s){return i>=t&&i<t+s},_isFloating:function(i){return/left|right/.test(i.css("float"))||/inline|table-cell/.test(i.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(i,t){this._super(i,t),i==="handle"&&this._setHandleClassName()},_setHandleClassName:function(){var i=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),r.each(this.items,function(){i._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var i=this.items.length-1;i>=0;i--)this.items[i].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(i,t){var s=null,l=!1,h=this;return this.reverting||this.options.disabled||this.options.type==="static"||(this._refreshItems(i),r(i.target).parents().each(function(){if(r.data(this,h.widgetName+"-item")===h)return s=r(this),!1}),r.data(i.target,h.widgetName+"-item")===h&&(s=r(i.target)),!s)||this.options.handle&&!t&&(r(this.options.handle,s).find("*").addBack().each(function(){this===i.target&&(l=!0)}),!l)?!1:(this.currentItem=s,this._removeCurrentsFromItems(),!0)},_mouseStart:function(i,t,s){var l,h,f=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(i),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},r.extend(this.offset,{click:{left:i.pageX-this.offset.left,top:i.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(i),this.originalPageX=i.pageX,this.originalPageY=i.pageY,f.cursorAt&&this._adjustOffsetFromHelper(f.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),f.containment&&this._setContainment(),f.cursor&&f.cursor!=="auto"&&(h=this.document.find("body"),this.storedCursor=h.css("cursor"),h.css("cursor",f.cursor),this.storedStylesheet=r("<style>*{ cursor: "+f.cursor+" !important; }</style>").appendTo(h)),f.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",f.opacity)),f.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",f.zIndex)),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",i,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(l=this.containers.length-1;l>=0;l--)this.containers[l]._trigger("activate",i,this._uiHash(this));return r.ui.ddmanager&&(r.ui.ddmanager.current=this),r.ui.ddmanager&&!f.dropBehaviour&&r.ui.ddmanager.prepareOffsets(this,i),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(i),!0},_mouseDrag:function(i){var t,s,l,h,f=this.options,w=!1;for(this.position=this._generatePosition(i),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-i.pageY<f.scrollSensitivity?this.scrollParent[0].scrollTop=w=this.scrollParent[0].scrollTop+f.scrollSpeed:i.pageY-this.overflowOffset.top<f.scrollSensitivity&&(this.scrollParent[0].scrollTop=w=this.scrollParent[0].scrollTop-f.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-i.pageX<f.scrollSensitivity?this.scrollParent[0].scrollLeft=w=this.scrollParent[0].scrollLeft+f.scrollSpeed:i.pageX-this.overflowOffset.left<f.scrollSensitivity&&(this.scrollParent[0].scrollLeft=w=this.scrollParent[0].scrollLeft-f.scrollSpeed)):(i.pageY-this.document.scrollTop()<f.scrollSensitivity?w=this.document.scrollTop(this.document.scrollTop()-f.scrollSpeed):this.window.height()-(i.pageY-this.document.scrollTop())<f.scrollSensitivity&&(w=this.document.scrollTop(this.document.scrollTop()+f.scrollSpeed)),i.pageX-this.document.scrollLeft()<f.scrollSensitivity?w=this.document.scrollLeft(this.document.scrollLeft()-f.scrollSpeed):this.window.width()-(i.pageX-this.document.scrollLeft())<f.scrollSensitivity&&(w=this.document.scrollLeft(this.document.scrollLeft()+f.scrollSpeed))),w!==!1&&r.ui.ddmanager&&!f.dropBehaviour&&r.ui.ddmanager.prepareOffsets(this,i)),this.positionAbs=this._convertPositionTo("absolute"),(!this.options.axis||this.options.axis!=="y")&&(this.helper[0].style.left=this.position.left+"px"),(!this.options.axis||this.options.axis!=="x")&&(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;t>=0;t--)if(s=this.items[t],l=s.item[0],h=this._intersectsWithPointer(s),!!h&&s.instance===this.currentContainer&&l!==this.currentItem[0]&&this.placeholder[h===1?"next":"prev"]()[0]!==l&&!r.contains(this.placeholder[0],l)&&(this.options.type==="semi-dynamic"?!r.contains(this.element[0],l):!0)){if(this.direction=h===1?"down":"up",this.options.tolerance==="pointer"||this._intersectsWithSides(s))this._rearrange(i,s);else break;this._trigger("change",i,this._uiHash());break}return this._contactContainers(i),r.ui.ddmanager&&r.ui.ddmanager.drag(this,i),this._trigger("sort",i,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(i,t){if(!!i){if(r.ui.ddmanager&&!this.options.dropBehaviour&&r.ui.ddmanager.drop(this,i),this.options.revert){var s=this,l=this.placeholder.offset(),h=this.options.axis,f={};(!h||h==="x")&&(f.left=l.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),(!h||h==="y")&&(f.top=l.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,r(this.helper).animate(f,parseInt(this.options.revert,10)||500,function(){s._clear(i)})}else this._clear(i,t);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new r.Event("mouseup",{target:null})),this.options.helper==="original"?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("deactivate",null,this._uiHash(this)),this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",null,this._uiHash(this)),this.containers[i].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),r.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?r(this.domPosition.prev).after(this.currentItem):r(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(i){var t=this._getItemsAsjQuery(i&&i.connected),s=[];return i=i||{},r(t).each(function(){var l=(r(i.item||this).attr(i.attribute||"id")||"").match(i.expression||/(.+)[\-=_](.+)/);l&&s.push((i.key||l[1]+"[]")+"="+(i.key&&i.expression?l[1]:l[2]))}),!s.length&&i.key&&s.push(i.key+"="),s.join("&")},toArray:function(i){var t=this._getItemsAsjQuery(i&&i.connected),s=[];return i=i||{},t.each(function(){s.push(r(i.item||this).attr(i.attribute||"id")||"")}),s},_intersectsWith:function(i){var t=this.positionAbs.left,s=t+this.helperProportions.width,l=this.positionAbs.top,h=l+this.helperProportions.height,f=i.left,w=f+i.width,P=i.top,k=P+i.height,y=this.offset.click.top,C=this.offset.click.left,E=this.options.axis==="x"||l+y>P&&l+y<k,L=this.options.axis==="y"||t+C>f&&t+C<w,z=E&&L;return this.options.tolerance==="pointer"||this.options.forcePointerForContainers||this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>i[this.floating?"width":"height"]?z:f<t+this.helperProportions.width/2&&s-this.helperProportions.width/2<w&&P<l+this.helperProportions.height/2&&h-this.helperProportions.height/2<k},_intersectsWithPointer:function(i){var t,s,l=this.options.axis==="x"||this._isOverAxis(this.positionAbs.top+this.offset.click.top,i.top,i.height),h=this.options.axis==="y"||this._isOverAxis(this.positionAbs.left+this.offset.click.left,i.left,i.width),f=l&&h;return f?(t=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection(),this.floating?s==="right"||t==="down"?2:1:t&&(t==="down"?2:1)):!1},_intersectsWithSides:function(i){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,i.top+i.height/2,i.height),s=this._isOverAxis(this.positionAbs.left+this.offset.click.left,i.left+i.width/2,i.width),l=this._getDragVerticalDirection(),h=this._getDragHorizontalDirection();return this.floating&&h?h==="right"&&s||h==="left"&&!s:l&&(l==="down"&&t||l==="up"&&!t)},_getDragVerticalDirection:function(){var i=this.positionAbs.top-this.lastPositionAbs.top;return i!==0&&(i>0?"down":"up")},_getDragHorizontalDirection:function(){var i=this.positionAbs.left-this.lastPositionAbs.left;return i!==0&&(i>0?"right":"left")},refresh:function(i){return this._refreshItems(i),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var i=this.options;
vendor: 2,281 bytes, line 351
351return i.connectWith.constructor===String?[i.connectWith]:i.connectWith},_getItemsAsjQuery:function(i){var t,s,l,h,f=[],w=[],P=this._connectWith();if(P&&i)for(t=P.length-1;t>=0;t--)for(l=r(P[t],this.document[0]),s=l.length-1;s>=0;s--)h=r.data(l[s],this.widgetFullName),h&&h!==this&&!h.options.disabled&&w.push([r.isFunction(h.options.items)?h.options.items.call(h.element):r(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h]);w.push([r.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):r(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function k(){f.push(this)}for(t=w.length-1;t>=0;t--)w[t][0].each(k);return r(f)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=r.grep(this.items,function(t){for(var s=0;s<i.length;s++)if(i[s]===t.item[0])return!1;return!0})},_refreshItems:function(i){this.items=[],this.containers=[this];var t,s,l,h,f,w,P,k,y=this.items,C=[[r.isFunction(this.options.items)?this.options.items.call(this.element[0],i,{item:this.currentItem}):r(this.options.items,this.element),this]],E=this._connectWith();if(E&&this.ready)for(t=E.length-1;t>=0;t--)for(l=r(E[t],this.document[0]),s=l.length-1;s>=0;s--)h=r.data(l[s],this.widgetFullName),h&&h!==this&&!h.options.disabled&&(C.push([r.isFunction(h.options.items)?h.options.items.call(h.element[0],i,{item:this.currentItem}):r(h.options.items,h.element),h]),this.containers.push(h));for(t=C.length-1;t>=0;t--)for(f=C[t][1],w=C[t][0],s=0,k=w.length;s<k;s++)P=r(w[s]),P.data(this.widgetName+"-item",f),y.push({item:P,instance:f,width:0,height:0,left:0,top:0})},refreshPositions:function(i){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var t,s,l,h;for(t=this.items.length-1;t>=0;t--)s=this.items[t],!(s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0])&&(l=this.options.toleranceElement?r(this.options.toleranceElement,s.item):s.item,i||(s.width=l.outerWidth(),s.height=l.outerHeight()),h=l.offset(),s.left=h.left,s.top=h.top);
vendor: 12,146 bytes, line 351
351if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;t>=0;t--)h=this.containers[t].element.offset(),this.containers[t].containerCache.left=h.left,this.containers[t].containerCache.top=h.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){i=i||this;var t,s=i.options;(!s.placeholder||s.placeholder.constructor===String)&&(t=s.placeholder,s.placeholder={element:function(){var l=i.currentItem[0].nodeName.toLowerCase(),h=r("<"+l+">",i.document[0]);return i._addClass(h,"ui-sortable-placeholder",t||i.currentItem[0].className)._removeClass(h,"ui-sortable-helper"),l==="tbody"?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),r("<tr>",i.document[0]).appendTo(h)):l==="tr"?i._createTrPlaceholder(i.currentItem,h):l==="img"&&h.attr("src",i.currentItem.attr("src")),t||h.css("visibility","hidden"),h},update:function(l,h){t&&!s.forcePlaceholderSize||(h.height()||h.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),h.width()||h.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=r(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(i,t){var s=this;i.children().each(function(){r("<td>&#160;</td>",s.document[0]).attr("colspan",r(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(i){var t,s,l,h,f,w,P,k,y,C,E=null,L=null;for(t=this.containers.length-1;t>=0;t--)if(!r.contains(this.currentItem[0],this.containers[t].element[0]))if(this._intersectsWith(this.containers[t].containerCache)){if(E&&r.contains(this.containers[t].element[0],E.element[0]))continue;E=this.containers[t],L=t}else this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",i,this._uiHash(this)),this.containers[t].containerCache.over=0);if(!!E)if(this.containers.length===1)this.containers[L].containerCache.over||(this.containers[L]._trigger("over",i,this._uiHash(this)),this.containers[L].containerCache.over=1);else{for(l=1e4,h=null,y=E.floating||this._isFloating(this.currentItem),f=y?"left":"top",w=y?"width":"height",C=y?"pageX":"pageY",s=this.items.length-1;s>=0;s--)!r.contains(this.containers[L].element[0],this.items[s].item[0])||this.items[s].item[0]!==this.currentItem[0]&&(P=this.items[s].item.offset()[f],k=!1,i[C]-P>this.items[s][w]/2&&(k=!0),Math.abs(i[C]-P)<l&&(l=Math.abs(i[C]-P),h=this.items[s],this.direction=k?"up":"down"));if(!h&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[L]){this.currentContainer.containerCache.over||(this.containers[L]._trigger("over",i,this._uiHash()),this.currentContainer.containerCache.over=1);return}h?this._rearrange(i,h,null,!0):this._rearrange(i,null,this.containers[L].element,!0),this._trigger("change",i,this._uiHash()),this.containers[L]._trigger("change",i,this._uiHash(this)),this.currentContainer=this.containers[L],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[L]._trigger("over",i,this._uiHash(this)),this.containers[L].containerCache.over=1}},_createHelper:function(i){var t=this.options,s=r.isFunction(t.helper)?r(t.helper.apply(this.element[0],[i,this.currentItem])):t.helper==="clone"?this.currentItem.clone():this.currentItem;return s.parents("body").length||r(t.appendTo!=="parent"?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[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")}),(!s[0].style.width||t.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||t.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(i){typeof i=="string"&&(i=i.split(" ")),r.isArray(i)&&(i={left:+i[0],top:+i[1]||0}),"left"in i&&(this.offset.click.left=i.left+this.margins.left),"right"in i&&(this.offset.click.left=this.helperProportions.width-i.right+this.margins.left),"top"in i&&(this.offset.click.top=i.top+this.margins.top),"bottom"in i&&(this.offset.click.top=this.helperProportions.height-i.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var i=this.offsetParent.offset();return this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&r.contains(this.scrollParent[0],this.offsetParent[0])&&(i.left+=this.scrollParent.scrollLeft(),i.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&r.ui.ie)&&(i={top:0,left:0}),{top:i.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:i.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var i=this.currentItem.position();return{top:i.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:i.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var i,t,s,l=this.options;l.containment==="parent"&&(l.containment=this.helper[0].parentNode),(l.containment==="document"||l.containment==="window")&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,l.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(l.containment==="document"?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(l.containment)||(i=r(l.containment)[0],t=r(l.containment).offset(),s=r(i).css("overflow")!=="hidden",this.containment=[t.left+(parseInt(r(i).css("borderLeftWidth"),10)||0)+(parseInt(r(i).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(r(i).css("borderTopWidth"),10)||0)+(parseInt(r(i).css("paddingTop"),10)||0)-this.margins.top,t.left+(s?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(r(i).css("borderLeftWidth"),10)||0)-(parseInt(r(i).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(s?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(r(i).css("borderTopWidth"),10)||0)-(parseInt(r(i).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(i,t){t||(t=this.position);var s=i==="absolute"?1:-1,l=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&r.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=/(html|body)/i.test(l[0].tagName);return{top:t.top+this.offset.relative.top*s+this.offset.parent.top*s-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():h?0:l.scrollTop())*s,left:t.left+this.offset.relative.left*s+this.offset.parent.left*s-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():h?0:l.scrollLeft())*s}},_generatePosition:function(i){var t,s,l=this.options,h=i.pageX,f=i.pageY,w=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&r.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,P=/(html|body)/i.test(w[0].tagName);return this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(i.pageX-this.offset.click.left<this.containment[0]&&(h=this.containment[0]+this.offset.click.left),i.pageY-this.offset.click.top<this.containment[1]&&(f=this.containment[1]+this.offset.click.top),i.pageX-this.offset.click.left>this.containment[2]&&(h=this.containment[2]+this.offset.click.left),i.pageY-this.offset.click.top>this.containment[3]&&(f=this.containment[3]+this.offset.click.top)),l.grid&&(t=this.originalPageY+Math.round((f-this.originalPageY)/l.grid[1])*l.grid[1],f=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-l.grid[1]:t+l.grid[1]:t,s=this.originalPageX+Math.round((h-this.originalPageX)/l.grid[0])*l.grid[0],h=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-l.grid[0]:s+l.grid[0]:s)),{top:f-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():P?0:w.scrollTop()),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():P?0:w.scrollLeft())}},_rearrange:function(i,t,s,l){s?s[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var h=this.counter;this._delay(function(){h===this.counter&&this.refreshPositions(!l)})},_clear:function(i,t){this.reverting=!1;var s,l=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)(this._storedCSS[s]==="auto"||this._storedCSS[s]==="static")&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!t&&l.push(function(f){this._trigger("receive",f,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&&l.push(function(f){this._trigger("update",f,this._uiHash())}),this!==this.currentContainer&&(t||(l.push(function(f){this._trigger("remove",f,this._uiHash())}),l.push(function(f){return function(w){f._trigger("receive",w,this._uiHash(this))}}.call(this,this.currentContainer)),l.push(function(f){return function(w){f._trigger("update",w,this._uiHash(this))}}.call(this,this.currentContainer))));function h(f,w,P){return function(k){P._trigger(f,k,w._uiHash(w))}}for(s=this.containers.length-1;s>=0;s--)t||l.push(h("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(l.push(h("out",this,this.containers[s])),this.containers[s].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",this._storedZIndex==="auto"?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",i,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(s=0;s<l.length;s++)l[s].call(this,i);this._trigger("stop",i,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){r.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(i){var t=i||this;return{helper:t.helper,placeholder:t.placeholder||r([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:i?i.element:null}}})})},19887:function($,G,I){var N,a,M;/*!
352* jQuery UI Spinner 1.12.1
353* http://jqueryui.com
354*
355* Copyright jQuery Foundation and other contributors
356* Released under the MIT license.
357* http://jquery.org/license
358*/(function(r){a=[I(6723),I(49691),I(10021),I(79506),I(23783),I(51993)],N=r,M=typeof N=="function"?N.apply(G,a):N,M!==void 0&&($.exports=M)})(function(r){function i(t){return function(){var s=this.element.val();t.apply(this,arguments),this._refresh(),s!==this.element.val()&&this._trigger("change")}}return r.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 t=this._super(),s=this.element;return r.each(["min","max","step"],function(l,h){var f=s.attr(h);f!=null&&f.length&&(t[h]=f)}),t}
vendor: 5,944 bytes, line 358
358,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){if(this.cancelBlur){delete this.cancelBlur;return}this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t)},mousewheel:function(t,s){if(!!s){if(!this.spinning&&!this._start(t))return!1;this._spin((s>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var s;s=this.element[0]===r.ui.safeActiveElement(this.document[0])?this.previous:this.element.val();function l(){var h=this.element[0]===r.ui.safeActiveElement(this.document[0]);h||(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s}))}t.preventDefault(),l.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,l.call(this)}),this._start(t)!==!1&&this._repeat(null,r(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(!!r(t.currentTarget).hasClass("ui-state-active")){if(this._start(t)===!1)return!1;this._repeat(null,r(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)}},"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(this.uiSpinner.height()*.5)&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var s=this.options,l=r.ui.keyCode;switch(t.keyCode){case l.UP:return this._repeat(null,1,t),!0;case l.DOWN:return this._repeat(null,-1,t),!0;case l.PAGE_UP:return this._repeat(null,s.page,t),!0;case l.PAGE_DOWN:return this._repeat(null,-s.page,t),!0}return!1},_start:function(t){return!this.spinning&&this._trigger("start",t)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,s,l){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,s,l)},t),this._spin(s*this.options.step,l)},_spin:function(t,s){var l=this.value()||0;this.counter||(this.counter=1),l=this._adjustValue(l+t*this._increment(this.counter)),(!this.spinning||this._trigger("spin",s,{value:l})!==!1)&&(this._value(l),this.counter++)},_increment:function(t){var s=this.options.incremental;return s?r.isFunction(s)?s(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return this.options.min!==null&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var s=t.toString(),l=s.indexOf(".");return l===-1?0:s.length-l-1},_adjustValue:function(t){var s,l,h=this.options;return s=h.min!==null?h.min:0,l=t-s,l=Math.round(l/h.step)*h.step,t=s+l,t=parseFloat(t.toFixed(this._precision())),h.max!==null&&t>h.max?h.max:h.min!==null&&t<h.min?h.min:t},_stop:function(t){!this.spinning||(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,s){var l,h,f;if(t==="culture"||t==="numberFormat"){l=this._parse(this.element.val()),this.options[t]=s,this.element.val(this._format(l));return}(t==="max"||t==="min"||t==="step")&&typeof s=="string"&&(s=this._parse(s)),t==="icons"&&(h=this.buttons.first().find(".ui-icon"),this._removeClass(h,null,this.options.icons.up),this._addClass(h,null,s.up),f=this.buttons.last().find(".ui-icon"),this._removeClass(f,null,this.options.icons.down),this._addClass(f,null,s.down)),this._super(t,s)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:i(function(t){this._super(t)}),_parse:function(t){return typeof t=="string"&&t!==""&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),t===""||isNaN(t)?null:t},_format:function(t){return t===""?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return t===null?!1:t===this._adjustValue(t)},_value:function(t,s){var l;t!==""&&(l=this._parse(t),l!==null&&(s||(l=this._adjustValue(l)),t=this._format(l))),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:i(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:i(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:i(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:i(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());i(this._value).call(this,t)},widget:function(){return this.uiSpinner}}
vendor: 33,694 bytes, lines 358-370
358),r.uiBackCompat!==!1&&r.widget("ui.spinner",r.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>"}}),r.ui.spinner})},6723:function($,G){var I,N;/*!
359* jQuery JavaScript Library v3.6.1
360* https://jquery.com/
361*
362* Includes Sizzle.js
363* https://sizzlejs.com/
364*
365* Copyright OpenJS Foundation and other contributors
366* Released under the MIT license
367* https://jquery.org/license
368*
369* Date: 2022-08-26T17:52Z
370*/(function(a,M){"use strict";typeof $.exports=="object"?$.exports=a.document?M(a,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return M(r)}:M(a)})(typeof window<"u"?window:this,function(a,M){"use strict";var r=[],i=Object.getPrototypeOf,t=r.slice,s=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},l=r.push,h=r.indexOf,f={},w=f.toString,P=f.hasOwnProperty,k=P.toString,y=k.call(Object),C={},E=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},L=function(n){return n!=null&&n===n.window},z=a.document,ie={type:!0,src:!0,nonce:!0,noModule:!0};function ce(e,n,o){o=o||z;var u,d,g=o.createElement("script");if(g.text=e,n)for(u in ie)d=n[u]||n.getAttribute&&n.getAttribute(u),d&&g.setAttribute(u,d);o.head.appendChild(g).parentNode.removeChild(g)}function be(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?f[w.call(e)]||"object":typeof e}var De="3.6.1",c=function(e,n){return new c.fn.init(e,n)};c.fn=c.prototype={jquery:De,constructor:c,length:0,toArray:function(){return t.call(this)},get:function(e){return e==null?t.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=c.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return c.each(this,e)},map:function(e){return this.pushStack(c.map(this,function(n,o){return e.call(n,o,n)}))},slice:function(){return this.pushStack(t.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(c.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(c.grep(this,function(e,n){return n%2}))},eq:function(e){var n=this.length,o=+e+(e<0?n:0);return this.pushStack(o>=0&&o<n?[this[o]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:r.sort,splice:r.splice},c.extend=c.fn.extend=function(){var e,n,o,u,d,g,v=arguments[0]||{},S=1,x=arguments.length,O=!1;for(typeof v=="boolean"&&(O=v,v=arguments[S]||{},S++),typeof v!="object"&&!E(v)&&(v={}),S===x&&(v=this,S--);S<x;S++)if((e=arguments[S])!=null)for(n in e)u=e[n],!(n==="__proto__"||v===u)&&(O&&u&&(c.isPlainObject(u)||(d=Array.isArray(u)))?(o=v[n],d&&!Array.isArray(o)?g=[]:!d&&!c.isPlainObject(o)?g={}:g=o,d=!1,v[n]=c.extend(O,g,u)):u!==void 0&&(v[n]=u));return v},c.extend({expando:"jQuery"+(De+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,o;return!e||w.call(e)!=="[object Object]"?!1:(n=i(e),n?(o=P.call(n,"constructor")&&n.constructor,typeof o=="function"&&k.call(o)===y):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,o){ce(e,{nonce:n&&n.nonce},o)},each:function(e,n){var o,u=0;if(Ze(e))for(o=e.length;u<o&&n.call(e[u],u,e[u])!==!1;u++);else for(u in e)if(n.call(e[u],u,e[u])===!1)break;return e},makeArray:function(e,n){var o=n||[];return e!=null&&(Ze(Object(e))?c.merge(o,typeof e=="string"?[e]:e):l.call(o,e)),o},inArray:function(e,n,o){return n==null?-1:h.call(n,e,o)},merge:function(e,n){for(var o=+n.length,u=0,d=e.length;u<o;u++)e[d++]=n[u];return e.length=d,e},grep:function(e,n,o){for(var u,d=[],g=0,v=e.length,S=!o;g<v;g++)u=!n(e[g],g),u!==S&&d.push(e[g]);return d},map:function(e,n,o){var u,d,g=0,v=[];if(Ze(e))for(u=e.length;g<u;g++)d=n(e[g],g,o),d!=null&&v.push(d);else for(g in e)d=n(e[g],g,o),d!=null&&v.push(d);return s(v)},guid:1,support:C}),typeof Symbol=="function"&&(c.fn[Symbol.iterator]=r[Symbol.iterator]),c.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){f["[object "+n+"]"]=n.toLowerCase()});function Ze(e){var n=!!e&&"length"in e&&e.length,o=be(e);return E(e)||L(e)?!1:o==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}var Oe=function(e){var n,o,u,d,g,v,S,x,O,W,U,H,B,oe,me,ae,Ue,Ve,nt,Ee="sizzle"+1*new Date,p=e.document,m=0,b=0,D=hn(),K=hn(),Q=hn(),q=hn(),ue=function(_,A){return _===A&&(U=!0),0},Pe={}.hasOwnProperty,_e=[],Re=_e.pop,Le=_e.push,It=_e.push,li=_e.slice,ft=function(_,A){for(var T=0,F=_.length;T<F;T++)if(_[T]===A)return T;return-1},Oi="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ae="[\\x20\\t\\r\\n\\f]",ui="(?:\\\\[\\da-fA-F]{1,6}"+Ae+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ln="\\["+Ae+"*("+ui+")(?:"+Ae+"*([*^$|!~]?=)"+Ae+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ui+"))|)"+Ae+"*\\]",Dn=":("+ui+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ln+")*)|.*)\\)|)",Vn=new RegExp(Ae+"+","g"),un=new RegExp("^"+Ae+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ae+"+$","g"),Kn=new RegExp("^"+Ae+"*,"+Ae+"*"),Hn=new RegExp("^"+Ae+"*([>+~]|"+Ae+")"+Ae+"*"),Yn=new RegExp(Ae+"|>"),qn=new RegExp(Dn),Zn=new RegExp("^"+ui+"$"),cn={ID:new RegExp("^#("+ui+")"),CLASS:new RegExp("^\\.("+ui+")"),TAG:new RegExp("^("+ui+"|[*])"),ATTR:new RegExp("^"+Ln),PSEUDO:new RegExp("^"+Dn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ae+"*(even|odd|(([+-]|)(\\d*)n|)"+Ae+"*(?:([+-]|)"+Ae+"*(\\d+)|))"+Ae+"*\\)|)","i"),bool:new RegExp("^(?:"+Oi+")$","i"),needsContext:new RegExp("^"+Ae+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ae+"*((?:-\\d)?\\d*)"+Ae+"*\\)|)(?=[^-]|$)","i")},Gn=/HTML$/i,Xn=/^(?:input|select|textarea|button)$/i,Qn=/^h\d$/i,Ni=/^[^{]+\{\s*\[native \w/,Jn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,In=/[+~]/,Ft=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ae+"?|\\\\([^\\r\\n\\f])","g"),jt=function(_,A){var T="0x"+_.slice(1)-65536;return A||(T<0?String.fromCharCode(T+65536):String.fromCharCode(T>>10|55296,T&1023|56320))},Wn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,zn=function(_,A){return A?_==="\0"?"�":_.slice(0,-1)+"\\"+_.charCodeAt(_.length-1).toString(16)+" ":"\\"+_},Bn=function(){H()},$n=pn(function(_){return _.disabled===!0&&_.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{It.apply(_e=li.call(p.childNodes),p.childNodes),_e[p.childNodes.length].nodeType}catch{It={apply:_e.length?function(A,T){Le.apply(A,li.call(T))}:function(A,T){for(var F=A.length,R=0;A[F++]=T[R++];);A.length=F-1}}}function Ie(_,A,T,F){var R,j,Y,X,ee,fe,he,de=A&&A.ownerDocument,ve=A?A.nodeType:9;if(T=T||[],typeof _!="string"||!_||ve!==1&&ve!==9&&ve!==11)return T;if(!F&&(H(A),A=A||B,me)){if(ve!==11&&(ee=Jn.exec(_)))if(R=ee[1]){if(ve===9)if(Y=A.getElementById(R)){if(Y.id===R)return T.push(Y),T}else return T;else if(de&&(Y=de.getElementById(R))&&nt(A,Y)&&Y.id===R)return T.push(Y),T}else{if(ee[2])return It.apply(T,A.getElementsByTagName(_)),T;if((R=ee[3])&&o.getElementsByClassName&&A.getElementsByClassName)return It.apply(T,A.getElementsByClassName(R)),T}if(o.qsa&&!q[_+" "]&&(!ae||!ae.test(_))&&(ve!==1||A.nodeName.toLowerCase()!=="object")){if(he=_,de=A,ve===1&&(Yn.test(_)||Hn.test(_))){for(de=In.test(_)&&On(A.parentNode)||A,(de!==A||!o.scope)&&((X=A.getAttribute("id"))?X=X.replace(Wn,zn):A.setAttribute("id",X=Ee)),fe=v(_),j=fe.length;j--;)fe[j]=(X?"#"+X:":scope")+" "+fn(fe[j]);he=fe.join(",")}try{return It.apply(T,de.querySelectorAll(he)),T}catch{q(_,!0)}finally{X===Ee&&A.removeAttribute("id")}}}return x(_.replace(un,"$1"),A,T,F)}function hn(){var _=[];function A(T,F){return _.push(T+" ")>u.cacheLength&&delete A[_.shift()],A[T+" "]=F}return A}function Ct(_){return _[Ee]=!0,_}function Et(_){var A=B.createElement("fieldset");try{return!!_(A)}catch{return!1}finally{A.parentNode&&A.parentNode.removeChild(A),A=null}}function Mn(_,A){for(var T=_.split("|"),F=T.length;F--;)u.attrHandle[T[F]]=A}function Fn(_,A){var T=A&&_,F=T&&_.nodeType===1&&A.nodeType===1&&_.sourceIndex-A.sourceIndex;if(F)return F;if(T){for(;T=T.nextSibling;)if(T===A)return-1}return _?1:-1}function es(_){return function(A){var T=A.nodeName.toLowerCase();return T==="input"&&A.type===_}}function ts(_){return function(A){var T=A.nodeName.toLowerCase();return(T==="input"||T==="button")&&A.type===_}}function jn(_){return function(A){return"form"in A?A.parentNode&&A.disabled===!1?"label"in A?"label"in A.parentNode?A.parentNode.disabled===_:A.disabled===_:A.isDisabled===_||A.isDisabled!==!_&&$n(A)===_:A.disabled===_:"label"in A?A.disabled===_:!1}}function ci(_){return Ct(function(A){return A=+A,Ct(function(T,F){for(var R,j=_([],T.length,A),Y=j.length;Y--;)T[R=j[Y]]&&(T[R]=!(F[R]=T[R]))})})}function On(_){return _&&typeof _.getElementsByTagName<"u"&&_}o=Ie.support={},g=Ie.isXML=function(_){var A=_&&_.namespaceURI,T=_&&(_.ownerDocument||_).documentElement;return!Gn.test(A||T&&T.nodeName||"HTML")},H=Ie.setDocument=function(_){var A,T,F=_?_.ownerDocument||_:p;return F==B||F.nodeType!==9||!F.documentElement||(B=F,oe=B.documentElement,me=!g(B),p!=B&&(T=B.defaultView)&&T.top!==T&&(T.addEventListener?T.addEventListener("unload",Bn,!1):T.attachEvent&&T.attachEvent("onunload",Bn)),o.scope=Et(function(R){return oe.appendChild(R).appendChild(B.createElement("div")),typeof R.querySelectorAll<"u"&&!R.querySelectorAll(":scope fieldset div").length}),o.attributes=Et(function(R){return R.className="i",!R.getAttribute("className")}),o.getElementsByTagName=Et(function(R){return R.appendChild(B.createComment("")),!R.getElementsByTagName("*").length}),o.getElementsByClassName=Ni.test(B.getElementsByClassName),o.getById=Et(function(R){return oe.appendChild(R).id=Ee,!B.getElementsByName||!B.getElementsByName(Ee).length}),o.getById?(u.filter.ID=function(R){var j=R.replace(Ft,jt);return function(Y){return Y.getAttribute("id")===j}},u.find.ID=function(R,j){if(typeof j.getElementById<"u"&&me){var Y=j.getElementById(R);return Y?[Y]:[]}}):(u.filter.ID=function(R){var j=R.replace(Ft,jt);return function(Y){var X=typeof Y.getAttributeNode<"u"&&Y.getAttributeNode("id");return X&&X.value===j}},u.find.ID=function(R,j){if(typeof j.getElementById<"u"&&me){var Y,X,ee,fe=j.getElementById(R);if(fe){if(Y=fe.getAttributeNode("id"),Y&&Y.value===R)return[fe];for(ee=j.getElementsByName(R),X=0;fe=ee[X++];)if(Y=fe.getAttributeNode("id"),Y&&Y.value===R)return[fe]}return[]}}),u.find.TAG=o.getElementsByTagName?function(R,j){if(typeof j.getElementsByTagName<"u")return j.getElementsByTagName(R);if(o.qsa)return j.querySelectorAll(R)}:function(R,j){var Y,X=[],ee=0,fe=j.getElementsByTagName(R);if(R==="*"){for(;Y=fe[ee++];)Y.nodeType===1&&X.push(Y);return X}return fe},u.find.CLASS=o.getElementsByClassName&&function(R,j){if(typeof j.getElementsByClassName<"u"&&me)return j.getElementsByClassName(R)},Ue=[],ae=[],(o.qsa=Ni.test(B.querySelectorAll))&&(Et(function(R){var j;oe.appendChild(R).innerHTML="<a id='"+Ee+"'></a><select id='"+Ee+"-\r\\' msallowcapture=''><option selected=''></option></select>",R.querySelectorAll("[msallowcapture^='']").length&&ae.push("[*^$]="+Ae+`*(?:''|"")`),R.querySelectorAll("[selected]").length||ae.push("\\["+Ae+"*(?:value|"+Oi+")"),R.querySelectorAll("[id~="+Ee+"-]").length||ae.push("~="),j=B.createElement("input"),j.setAttribute("name",""),R.appendChild(j),R.querySelectorAll("[name='']").length||ae.push("\\["+Ae+"*name"+Ae+"*="+Ae+`*(?:''|"")`),R.querySelectorAll(":checked").length||ae.push(":checked"),R.querySelectorAll("a#"+Ee+"+*").length||ae.push(".#.+[+~]"),R.querySelectorAll("\\\f"),ae.push("[\\r\\n\\f]")}),Et(function(R){R.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var j=B.createElement("input");j.setAttribute("type","hidden"),R.appendChild(j).setAttribute("name","D"),R.querySelectorAll("[name=d]").length&&ae.push("name"+Ae+"*[*^$|!~]?="),R.querySelectorAll(":enabled").length!==2&&ae.push(":enabled",":disabled"),oe.appendChild(R).disabled=!0,R.querySelectorAll(":disabled").length!==2&&ae.push(":enabled",":disabled"),R.querySelectorAll("*,:x"),ae.push(",.*:")})),(o.matchesSelector=Ni.test(Ve=oe.matches||oe.webkitMatchesSelector||oe.mozMatchesSelector||oe.oMatchesSelector||oe.msMatchesSelector))&&Et(function(R){o.disconnectedMatch=Ve.call(R,"*"),Ve.call(R,"[s!='']:x"),Ue.push("!=",Dn)}),ae=ae.length&&new RegExp(ae.join("|")),Ue=Ue.length&&new RegExp(Ue.join("|")),A=Ni.test(oe.compareDocumentPosition),nt=A||Ni.test(oe.contains)?function(R,j){var Y=R.nodeType===9?R.documentElement:R,X=j&&j.parentNode;return R===X||!!(X&&X.nodeType===1&&(Y.contains?Y.contains(X):R.compareDocumentPosition&&R.compareDocumentPosition(X)&16))}:function(R,j){if(j){for(;j=j.parentNode;)if(j===R)return!0}return!1},ue=A?function(R,j){if(R===j)return U=!0,0;var Y=!R.compareDocumentPosition-!j.compareDocumentPosition;return Y||(Y=(R.ownerDocument||R)==(j.ownerDocument||j)?R.compareDocumentPosition(j):1,Y&1||!o.sortDetached&&j.compareDocumentPosition(R)===Y?R==B||R.ownerDocument==p&&nt(p,R)?-1:j==B||j.ownerDocument==p&&nt(p,j)?1:W?ft(W,R)-ft(W,j):0:Y&4?-1:1)}:function(R,j){if(R===j)return U=!0,0;var Y,X=0,ee=R.parentNode,fe=j.parentNode,he=[R],de=[j];if(!ee||!fe)return R==B?-1:j==B?1:ee?-1:fe?1:W?ft(W,R)-ft(W,j):0;if(ee===fe)return Fn(R,j);for(Y=R;Y=Y.parentNode;)he.unshift(Y);for(Y=j;Y=Y.parentNode;)de.unshift(Y);for(;he[X]===de[X];)X++;return X?Fn(he[X],de[X]):he[X]==p?-1:de[X]==p?1:0}),B},Ie.matches=function(_,A){return Ie(_,null,null,A)},Ie.matchesSelector=function(_,A){if(H(_),o.matchesSelector&&me&&!q[A+" "]&&(!Ue||!Ue.test(A))&&(!ae||!ae.test(A)))try{var T=Ve.call(_,A);if(T||o.disconnectedMatch||_.document&&_.document.nodeType!==11)return T}catch{q(A,!0)}return Ie(A,B,null,[_]).length>0},Ie.contains=function(_,A){return(_.ownerDocument||_)!=B&&H(_),nt(_,A)},Ie.attr=function(_,A){(_.ownerDocument||_)!=B&&H(_);var T=u.attrHandle[A.toLowerCase()],F=T&&Pe.call(u.attrHandle,A.toLowerCase())?T(_,A,!me):void 0;return F!==void 0?F:o.attributes||!me?_.getAttribute(A):(F=_.getAttributeNode(A))&&F.specified?F.value:null},Ie.escape=function(_){return(_+"").replace(Wn,zn)},Ie.error=function(_){throw new Error("Syntax error, unrecognized expression: "+_)},Ie.uniqueSort=function(_){var A,T=[],F=0,R=0;if(U=!o.detectDuplicates,W=!o.sortStable&&_.slice(0),_.sort(ue),U){for(;A=_[R++];)A===_[R]&&(F=T.push(R));for(;F--;)_.splice(T[F],1)}return W=null,_},d=Ie.getText=function(_){var A,T="",F=0,R=_.nodeType;if(R){if(R===1||R===9||R===11){if(typeof _.textContent=="string")return _.textContent;for(_=_.firstChild;_;_=_.nextSibling)T+=d(_)}else if(R===3||R===4)return _.nodeValue}else for(;A=_[F++];)T+=d(A);return T},u=Ie.selectors={cacheLength:50,createPseudo:Ct,match:cn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace(Ft,jt),_[3]=(_[3]||_[4]||_[5]||"").replace(Ft,jt),_[2]==="~="&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function(_){return _[1]=_[1].toLowerCase(),_[1].slice(0,3)==="nth"?(_[3]||Ie.error(_[0]),_[4]=+(_[4]?_[5]+(_[6]||1):2*(_[3]==="even"||_[3]==="odd")),_[5]=+(_[7]+_[8]||_[3]==="odd")):_[3]&&Ie.error(_[0]),_},PSEUDO:function(_){var A,T=!_[6]&&_[2];return cn.CHILD.test(_[0])?null:(_[3]?_[2]=_[4]||_[5]||"":T&&qn.test(T)&&(A=v(T,!0))&&(A=T.indexOf(")",T.length-A)-T.length)&&(_[0]=_[0].slice(0,A),_[2]=T.slice(0,A)),_.slice(0,3))}},filter:{TAG:function(_){var A=_.replace(Ft,jt).toLowerCase();return _==="*"?function(){return!0}:function(T){return T.nodeName&&T.nodeName.toLowerCase()===A}},CLASS:function(_){var A=D[_+" "];return A||(A=new RegExp("(^|"+Ae+")"+_+"("+Ae+"|$)"))&&D(_,function(T){return A.test(typeof T.className=="string"&&T.className||typeof T.getAttribute<"u"&&T.getAttribute("class")||"")})},ATTR:function(_,A,T){return function(F){var R=Ie.attr(F,_);return R==null?A==="!=":A?(R+="",A==="="?R===T:A==="!="?R!==T:A==="^="?T&&R.indexOf(T)===0:A==="*="?T&&R.indexOf(T)>-1:A==="$="?T&&R.slice(-T.length)===T:A==="~="?(" "+R.replace(Vn," ")+" ").indexOf(T)>-1:A==="|="?R===T||R.slice(0,T.length+1)===T+"-":!1):!0}},CHILD:function(_,A,T,F,R){var j=_.slice(0,3)!=="nth",Y=_.slice(-4)!=="last",X=A==="of-type";return F===1&&R===0?function(ee){return!!ee.parentNode}:function(ee,fe,he){var de,ve,Me,pe,qe,st,pt=j!==Y?"nextSibling":"previousSibling",ze=ee.parentNode,ki=X&&ee.nodeName.toLowerCase(),Ri=!he&&!X,dt=!1;if(ze){if(j){for(;pt;){for(pe=ee;pe=pe[pt];)if(X?pe.nodeName.toLowerCase()===ki:pe.nodeType===1)return!1;st=pt=_==="only"&&!st&&"nextSibling"}return!0}if(st=[Y?ze.firstChild:ze.lastChild],Y&&Ri){for(pe=ze,Me=pe[Ee]||(pe[Ee]={}),ve=Me[pe.uniqueID]||(Me[pe.uniqueID]={}),de=ve[_]||[],qe=de[0]===m&&de[1],dt=qe&&de[2],pe=qe&&ze.childNodes[qe];pe=++qe&&pe&&pe[pt]||(dt=qe=0)||st.pop();)if(pe.nodeType===1&&++dt&&pe===ee){ve[_]=[m,qe,dt];break}}else if(Ri&&(pe=ee,Me=pe[Ee]||(pe[Ee]={}),ve=Me[pe.uniqueID]||(Me[pe.uniqueID]={}),de=ve[_]||[],qe=de[0]===m&&de[1],dt=qe),dt===!1)for(;(pe=++qe&&pe&&pe[pt]||(dt=qe=0)||st.pop())&&!((X?pe.nodeName.toLowerCase()===ki:pe.nodeType===1)&&++dt&&(Ri&&(Me=pe[Ee]||(pe[Ee]={}),ve=Me[pe.uniqueID]||(Me[pe.uniqueID]={}),ve[_]=[m,dt]),pe===ee)););return dt-=R,dt===F||dt%F===0&&dt/F>=0}}},PSEUDO:function(_,A){var T,F=u.pseudos[_]||u.setFilters[_.toLowerCase()]||Ie.error("unsupported pseudo: "+_);return F[Ee]?F(A):F.length>1?(T=[_,_,"",A],u.setFilters.hasOwnProperty(_.toLowerCase())?Ct(function(R,j){for(var Y,X=F(R,A),ee=X.length;ee--;)Y=ft(R,X[ee]),R[Y]=!(j[Y]=X[ee])}):function(R){return F(R,0,T)}):F}},pseudos:{not:Ct(function(_){var A=[],T=[],F=S(_.replace(un,"$1"));return F[Ee]?Ct(function(R,j,Y,X){for(var ee,fe=F(R,null,X,[]),he=R.length;he--;)(ee=fe[he])&&(R[he]=!(j[he]=ee))}):function(R,j,Y){return A[0]=R,F(A,null,Y,T),A[0]=null,!T.pop()}}),has:Ct(function(_){return function(A){return Ie(_,A).length>0}}),contains:Ct(function(_){return _=_.replace(Ft,jt),function(A){return(A.textContent||d(A)).indexOf(_)>-1}}),lang:Ct(function(_){return Zn.test(_||"")||Ie.error("unsupported lang: "+_),_=_.replace(Ft,jt).toLowerCase(),function(A){var T;do if(T=me?A.lang:A.getAttribute("xml:lang")||A.getAttribute("lang"))return T=T.toLowerCase(),T===_||T.indexOf(_+"-")===0;while((A=A.parentNode)&&A.nodeType===1);return!1}}),target:function(_){var A=e.location&&e.location.hash;return A&&A.slice(1)===_.id},root:function(_){return _===oe},focus:function(_){return _===B.activeElement&&(!B.hasFocus||B.hasFocus())&&!!(_.type||_.href||~_.tabIndex)},enabled:jn(!1),disabled:jn(!0),checked:function(_){var A=_.nodeName.toLowerCase();return A==="input"&&!!_.checked||A==="option"&&!!_.selected},selected:function(_){return _.parentNode&&_.parentNode.selectedIndex,_.selected===!0},empty:function(_){for(_=_.firstChild;_;_=_.nextSibling)if(_.nodeType<6)return!1;return!0},parent:function(_){return!u.pseudos.empty(_)},header:function(_){return Qn.test(_.nodeName)},input:function(_){return Xn.test(_.nodeName)},button:function(_){var A=_.nodeName.toLowerCase();return A==="input"&&_.type==="button"||A==="button"},text:function(_){var A;return _.nodeName.toLowerCase()==="input"&&_.type==="text"&&((A=_.getAttribute("type"))==null||A.toLowerCase()==="text")},first:ci(function(){return[0]}),last:ci(function(_,A){return[A-1]}),eq:ci(function(_,A,T){return[T<0?T+A:T]}),even:ci(function(_,A){for(var T=0;T<A;T+=2)_.push(T);return _}),odd:ci(function(_,A){for(var T=1;T<A;T+=2)_.push(T);return _}),lt:ci(function(_,A,T){for(var F=T<0?T+A:T>A?A:T;--F>=0;)_.push(F);return _}),gt:ci(function(_,A,T){for(var F=T<0?T+A:T;++F<A;)_.push(F);return _})}},u.pseudos.nth=u.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})u.pseudos[n]=es(n);for(n in{submit:!0,reset:!0})u.pseudos[n]=ts(n);function Un(){}Un.prototype=u.filters=u.pseudos,u.setFilters=new Un,v=Ie.tokenize=function(_,A){var T,F,R,j,Y,X,ee,fe=K[_+" "];if(fe)return A?0:fe.slice(0);for(Y=_,X=[],ee=u.preFilter;Y;){(!T||(F=Kn.exec(Y)))&&(F&&(Y=Y.slice(F[0].length)||Y),X.push(R=[])),T=!1,(F=Hn.exec(Y))&&(T=F.shift(),R.push({value:T,type:F[0].replace(un," ")}),Y=Y.slice(T.length));for(j in u.filter)(F=cn[j].exec(Y))&&(!ee[j]||(F=ee[j](F)))&&(T=F.shift(),R.push({value:T,type:j,matches:F}),Y=Y.slice(T.length));if(!T)break}return A?Y.length:Y?Ie.error(_):K(_,X).slice(0)};function fn(_){for(var A=0,T=_.length,F="";A<T;A++)F+=_[A].value;return F}function pn(_,A,T){var F=A.dir,R=A.next,j=R||F,Y=T&&j==="parentNode",X=b++;return A.first?function(ee,fe,he){for(;ee=ee[F];)if(ee.nodeType===1||Y)return _(ee,fe,he);return!1}:function(ee,fe,he){var de,ve,Me,pe=[m,X];if(he){for(;ee=ee[F];)if((ee.nodeType===1||Y)&&_(ee,fe,he))return!0}else for(;ee=ee[F];)if(ee.nodeType===1||Y)if(Me=ee[Ee]||(ee[Ee]={}),ve=Me[ee.uniqueID]||(Me[ee.uniqueID]={}),R&&R===ee.nodeName.toLowerCase())ee=ee[F]||ee;else{if((de=ve[j])&&de[0]===m&&de[1]===X)return pe[2]=de[2];if(ve[j]=pe,pe[2]=_(ee,fe,he))return!0}return!1}}function Nn(_){return _.length>1?function(A,T,F){for(var R=_.length;R--;)if(!_[R](A,T,F))return!1;return!0}:_[0]}function is(_,A,T){for(var F=0,R=A.length;F<R;F++)Ie(_,A[F],T);return T}function dn(_,A,T,F,R){for(var j,Y=[],X=0,ee=_.length,fe=A!=null;X<ee;X++)(j=_[X])&&(!T||T(j,F,R))&&(Y.push(j),fe&&A.push(X));return Y}function kn(_,A,T,F,R,j){return F&&!F[Ee]&&(F=kn(F)),R&&!R[Ee]&&(R=kn(R,j)),Ct(function(Y,X,ee,fe){var he,de,ve,Me=[],pe=[],qe=X.length,st=Y||is(A||"*",ee.nodeType?[ee]:ee,[]),pt=_&&(Y||!A)?dn(st,Me,_,ee,fe):st,ze=T?R||(Y?_:qe||F)?[]:X:pt;if(T&&T(pt,ze,ee,fe),F)for(he=dn(ze,pe),F(he,[],ee,fe),de=he.length;de--;)(ve=he[de])&&(ze[pe[de]]=!(pt[pe[de]]=ve));if(Y){if(R||_){if(R){for(he=[],de=ze.length;de--;)(ve=ze[de])&&he.push(pt[de]=ve);R(null,ze=[],he,fe)}for(de=ze.length;de--;)(ve=ze[de])&&(he=R?ft(Y,ve):Me[de])>-1&&(Y[he]=!(X[he]=ve))}}else ze=dn(ze===X?ze.splice(qe,ze.length):ze),R?R(null,X,ze,fe):It.apply(X,ze)})}function Rn(_){for(var A,T,F,R=_.length,j=u.relative[_[0].type],Y=j||u.relative[" "],X=j?1:0,ee=pn(function(de){return de===A},Y,!0),fe=pn(function(de){return ft(A,de)>-1},Y,!0),he=[function(de,ve,Me){var pe=!j&&(Me||ve!==O)||((A=ve).nodeType?ee(de,ve,Me):fe(de,ve,Me));return A=null,pe}];X<R;X++)if(T=u.relative[_[X].type])he=[pn(Nn(he),T)];else{if(T=u.filter[_[X].type].apply(null,_[X].matches),T[Ee]){for(F=++X;F<R&&!u.relative[_[F].type];F++);return kn(X>1&&Nn(he),X>1&&fn(_.slice(0,X-1).concat({value:_[X-2].type===" "?"*":""})).replace(un,"$1"),T,X<F&&Rn(_.slice(X,F)),F<R&&Rn(_=_.slice(F)),F<R&&fn(_))}he.push(T)}return Nn(he)}function ns(_,A){var T=A.length>0,F=_.length>0,R=function(j,Y,X,ee,fe){var he,de,ve,Me=0,pe="0",qe=j&&[],st=[],pt=O,ze=j||F&&u.find.TAG("*",fe),ki=m+=pt==null?1:Math.random()||.1,Ri=ze.length;for(fe&&(O=Y==B||Y||fe);pe!==Ri&&(he=ze[pe])!=null;pe++){if(F&&he){for(de=0,!Y&&he.ownerDocument!=B&&(H(he),X=!me);ve=_[de++];)if(ve(he,Y||B,X)){ee.push(he);break}fe&&(m=ki)}T&&((he=!ve&&he)&&Me--,j&&qe.push(he))}if(Me+=pe,T&&pe!==Me){for(de=0;ve=A[de++];)ve(qe,st,Y,X);if(j){if(Me>0)for(;pe--;)qe[pe]||st[pe]||(st[pe]=Re.call(ee));st=dn(st)}It.apply(ee,st),fe&&!j&&st.length>0&&Me+A.length>1&&Ie.uniqueSort(ee)}return fe&&(m=ki,O=pt),qe};return T?Ct(R):R}return S=Ie.compile=function(_,A){var T,F=[],R=[],j=Q[_+" "];if(!j){for(A||(A=v(_)),T=A.length;T--;)j=Rn(A[T]),j[Ee]?F.push(j):R.push(j);j=Q(_,ns(R,F)),j.selector=_}return j},x=Ie.select=function(_,A,T,F){var R,j,Y,X,ee,fe=typeof _=="function"&&_,he=!F&&v(_=fe.selector||_);if(T=T||[],he.length===1){if(j=he[0]=he[0].slice(0),j.length>2&&(Y=j[0]).type==="ID"&&A.nodeType===9&&me&&u.relative[j[1].type]){if(A=(u.find.ID(Y.matches[0].replace(Ft,jt),A)||[])[0],A)fe&&(A=A.parentNode);else return T;_=_.slice(j.shift().value.length)}for(R=cn.needsContext.test(_)?0:j.length;R--&&(Y=j[R],!u.relative[X=Y.type]);)if((ee=u.find[X])&&(F=ee(Y.matches[0].replace(Ft,jt),In.test(j[0].type)&&On(A.parentNode)||A))){if(j.splice(R,1),_=F.length&&fn(j),!_)return It.apply(T,F),T;break}}return(fe||S(_,he))(F,A,!me,T,!A||In.test(_)&&On(A.parentNode)||A),T},o.sortStable=Ee.split("").sort(ue).join("")===Ee,o.detectDuplicates=!!U,H(),o.sortDetached=Et(function(_){return _.compareDocumentPosition(B.createElement("fieldset"))&1}),Et(function(_){return _.innerHTML="<a href='#'></a>",_.firstChild.getAttribute("href")==="#"})||Mn("type|href|height|width",function(_,A,T){if(!T)return _.getAttribute(A,A.toLowerCase()==="type"?1:2)}),(!o.attributes||!Et(function(_){return _.innerHTML="<input/>",_.firstChild.setAttribute("value",""),_.firstChild.getAttribute("value")===""}))&&Mn("value",function(_,A,T){if(!T&&_.nodeName.toLowerCase()==="input")return _.defaultValue}),Et(function(_){return _.getAttribute("disabled")==null})||Mn(Oi,function(_,A,T){var F;if(!T)return _[A]===!0?A.toLowerCase():(F=_.getAttributeNode(A))&&F.specified?F.value:null}),Ie}(a);c.find=Oe,c.expr=Oe.selectors,c.expr[":"]=c.expr.pseudos,c.uniqueSort=c.unique=Oe.uniqueSort,c.text=Oe.getText,c.isXMLDoc=Oe.isXML,c.contains=Oe.contains,c.escapeSelector=Oe.escape;var Ge=function(e,n,o){for(var u=[],d=o!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(d&&c(e).is(o))break;u.push(e)}return u},xt=function(e,n){for(var o=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&o.push(e);return o},Gt=c.expr.match.needsContext;function Xe(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var Xt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ye(e,n,o){return E(n)?c.grep(e,function(u,d){return!!n.call(u,d,u)!==o}):n.nodeType?c.grep(e,function(u){return u===n!==o}):typeof n!="string"?c.grep(e,function(u){return h.call(n,u)>-1!==o}):c.filter(n,e,o)}c.filter=function(e,n,o){var u=n[0];return o&&(e=":not("+e+")"),n.length===1&&u.nodeType===1?c.find.matchesSelector(u,e)?[u]:[]:c.find.matches(e,c.grep(n,function(d){return d.nodeType===1}))},c.fn.extend({find:function(e){var n,o,u=this.length,d=this;if(typeof e!="string")return this.pushStack(c(e).filter(function(){for(n=0;n<u;n++)if(c.contains(d[n],this))return!0}));for(o=this.pushStack([]),n=0;n<u;n++)c.find(e,d[n],o);return u>1?c.uniqueSort(o):o},filter:function(e){return this.pushStack(Ye(this,e||[],!1))},not:function(e){return this.pushStack(Ye(this,e||[],!0))},is:function(e){return!!Ye(this,typeof e=="string"&&Gt.test(e)?c(e):e||[],!1).length}});var je,Be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,we=c.fn.init=function(e,n,o){var u,d;if(!e)return this;if(o=o||je,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?u=[null,e,null]:u=Be.exec(e),u&&(u[1]||!n))if(u[1]){if(n=n instanceof c?n[0]:n,c.merge(this,c.parseHTML(u[1],n&&n.nodeType?n.ownerDocument||n:z,!0)),Xt.test(u[1])&&c.isPlainObject(n))for(u in n)E(this[u])?this[u](n[u]):this.attr(u,n[u]);return this}else return d=z.getElementById(u[2]),d&&(this[0]=d,this.length=1),this;else return!n||n.jquery?(n||o).find(e):this.constructor(n).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(E(e))return o.ready!==void 0?o.ready(e):e(c)}return c.makeArray(e,this)};we.prototype=c.fn,je=c(z);var Z=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({has:function(e){var n=c(e,this),o=n.length;return this.filter(function(){for(var u=0;u<o;u++)if(c.contains(this,n[u]))return!0})},closest:function(e,n){var o,u=0,d=this.length,g=[],v=typeof e!="string"&&c(e);if(!Gt.test(e)){for(;u<d;u++)for(o=this[u];o&&o!==n;o=o.parentNode)if(o.nodeType<11&&(v?v.index(o)>-1:o.nodeType===1&&c.find.matchesSelector(o,e))){g.push(o);break}}return this.pushStack(g.length>1?c.uniqueSort(g):g)},index:function(e){return e?typeof e=="string"?h.call(c(e),this[0]):h.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(c.uniqueSort(c.merge(this.get(),c(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function J(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}c.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return Ge(e,"parentNode")},parentsUntil:function(e,n,o){return Ge(e,"parentNode",o)},next:function(e){return J(e,"nextSibling")},prev:function(e){return J(e,"previousSibling")},nextAll:function(e){return Ge(e,"nextSibling")},prevAll:function(e){return Ge(e,"previousSibling")},nextUntil:function(e,n,o){return Ge(e,"nextSibling",o)},prevUntil:function(e,n,o){return Ge(e,"previousSibling",o)},siblings:function(e){return xt((e.parentNode||{}).firstChild,e)},children:function(e){return xt(e.firstChild)},contents:function(e){return e.contentDocument!=null&&i(e.contentDocument)?e.contentDocument:(Xe(e,"template")&&(e=e.content||e),c.merge([],e.childNodes))}},function(e,n){c.fn[e]=function(o,u){var d=c.map(this,n,o);return e.slice(-5)!=="Until"&&(u=o),u&&typeof u=="string"&&(d=c.filter(u,d)),this.length>1&&(V[e]||c.uniqueSort(d),Z.test(e)&&d.reverse()),this.pushStack(d)}});var se=/[^\x20\t\r\n\f]+/g;function re(e){var n={};return c.each(e.match(se)||[],function(o,u){n[u]=!0}),n}c.Callbacks=function(e){e=typeof e=="string"?re(e):c.extend({},e);var n,o,u,d,g=[],v=[],S=-1,x=function(){for(d=d||e.once,u=n=!0;v.length;S=-1)for(o=v.shift();++S<g.length;)g[S].apply(o[0],o[1])===!1&&e.stopOnFalse&&(S=g.length,o=!1);e.memory||(o=!1),n=!1,d&&(o?g=[]:g="")},O={add:function(){return g&&(o&&!n&&(S=g.length-1,v.push(o)),function W(U){c.each(U,function(H,B){E(B)?(!e.unique||!O.has(B))&&g.push(B):B&&B.length&&be(B)!=="string"&&W(B)})}(arguments),o&&!n&&x()),this},remove:function(){return c.each(arguments,function(W,U){for(var H;(H=c.inArray(U,g,H))>-1;)g.splice(H,1),H<=S&&S--}),this},has:function(W){return W?c.inArray(W,g)>-1:g.length>0},empty:function(){return g&&(g=[]),this},disable:function(){return d=v=[],g=o="",this},disabled:function(){return!g},lock:function(){return d=v=[],!o&&!n&&(g=o=""),this},locked:function(){return!!d},fireWith:function(W,U){return d||(U=U||[],U=[W,U.slice?U.slice():U],v.push(U),n||x()),this},fire:function(){return O.fireWith(this,arguments),this},fired:function(){return!!u}};return O};function Ce(e){return e}function Se(e){throw e}function Ne(e,n,o,u){var d;try{e&&E(d=e.promise)?d.call(e).done(n).fail(o):e&&E(d=e.then)?d.call(e,n,o):n.apply(void 0,[e].slice(u))}catch(g){o.apply(void 0,[g])}}c.extend({Deferred:function(e){var n=[["notify","progress",c.Callbacks("memory"),c.Callbacks("memory"),2],["resolve","done",c.Callbacks("once memory"),c.Callbacks("once memory"),0,"resolved"],["reject","fail",c.Callbacks("once memory"),c.Callbacks("once memory"),1,"rejected"]],o="pending",u={state:function(){return o},always:function(){return d.done(arguments).fail(arguments),this},catch:function(g){return u.then(null,g)},pipe:function(){var g=arguments;return c.Deferred(function(v){c.each(n,function(S,x){var O=E(g[x[4]])&&g[x[4]];d[x[1]](function(){var W=O&&O.apply(this,arguments);W&&E(W.promise)?W.promise().progress(v.notify).done(v.resolve).fail(v.reject):v[x[0]+"With"](this,O?[W]:arguments)})}),g=null}).promise()},then:function(g,v,S){var x=0;function O(W,U,H,B){return function(){var oe=this,me=arguments,ae=function(){var Ve,nt;if(!(W<x)){if(Ve=H.apply(oe,me),Ve===U.promise())throw new TypeError("Thenable self-resolution");nt=Ve&&(typeof Ve=="object"||typeof Ve=="function")&&Ve.then,E(nt)?B?nt.call(Ve,O(x,U,Ce,B),O(x,U,Se,B)):(x++,nt.call(Ve,O(x,U,Ce,B),O(x,U,Se,B),O(x,U,Ce,U.notifyWith))):(H!==Ce&&(oe=void 0,me=[Ve]),(B||U.resolveWith)(oe,me))}},Ue=B?ae:function(){try{ae()}catch(Ve){c.Deferred.exceptionHook&&c.Deferred.exceptionHook(Ve,Ue.stackTrace),W+1>=x&&(H!==Se&&(oe=void 0,me=[Ve]),U.rejectWith(oe,me))}};W?Ue():(c.Deferred.getStackHook&&(Ue.stackTrace=c.Deferred.getStackHook()),a.setTimeout(Ue))}}return c.Deferred(function(W){n[0][3].add(O(0,W,E(S)?S:Ce,W.notifyWith)),n[1][3].add(O(0,W,E(g)?g:Ce)),n[2][3].add(O(0,W,E(v)?v:Se))}).promise()},promise:function(g){return g!=null?c.extend(g,u):u}},d={};return c.each(n,function(g,v){var S=v[2],x=v[5];u[v[1]]=S.add,x&&S.add(function(){o=x},n[3-g][2].disable,n[3-g][3].disable,n[0][2].lock,n[0][3].lock),S.add(v[3].fire),d[v[0]]=function(){return d[v[0]+"With"](this===d?void 0:this,arguments),this},d[v[0]+"With"]=S.fireWith}),u.promise(d),e&&e.call(d,d),d},when:function(e){var n=arguments.length,o=n,u=Array(o),d=t.call(arguments),g=c.Deferred(),v=function(S){return function(x){u[S]=this,d[S]=arguments.length>1?t.call(arguments):x,--n||g.resolveWith(u,d)}};if(n<=1&&(Ne(e,g.done(v(o)).resolve,g.reject,!n),g.state()==="pending"||E(d[o]&&d[o].then)))return g.then();for(;o--;)Ne(d[o],v(o),g.reject);return g.promise()}});var Qe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;c.Deferred.exceptionHook=function(e,n){a.console&&a.console.warn&&e&&Qe.test(e.name)&&a.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},c.readyException=function(e){a.setTimeout(function(){throw e})};var ge=c.Deferred();c.fn.ready=function(e){return ge.then(e).catch(function(n){c.readyException(n)}),this},c.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--c.readyWait:c.isReady)||(c.isReady=!0,!(e!==!0&&--c.readyWait>0)&&ge.resolveWith(z,[c]))}}),c.ready.then=ge.then;function xe(){z.removeEventListener("DOMContentLoaded",xe),a.removeEventListener("load",xe),c.ready()}z.readyState==="complete"||z.readyState!=="loading"&&!z.documentElement.doScroll?a.setTimeout(c.ready):(z.addEventListener("DOMContentLoaded",xe),a.addEventListener("load",xe));var Fe=function(e,n,o,u,d,g,v){var S=0,x=e.length,O=o==null;if(be(o)==="object"){d=!0;
vendor: 2,744 bytes, line 370
370for(S in o)Fe(e,n,S,o[S],!0,g,v)}else if(u!==void 0&&(d=!0,E(u)||(v=!0),O&&(v?(n.call(e,u),n=null):(O=n,n=function(W,U,H){return O.call(c(W),H)})),n))for(;S<x;S++)n(e[S],o,v?u:u.call(e[S],S,n(e[S],o)));return d?e:O?n.call(e):x?n(e[0],o):g},le=/^-ms-/,vt=/-([a-z])/g;function gn(e,n){return n.toUpperCase()}function gt(e){return e.replace(le,"ms-").replace(vt,gn)}var Te=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Ke(){this.expando=c.expando+Ke.uid++}Ke.uid=1,Ke.prototype={cache:function(e){var n=e[this.expando];return n||(n={},Te(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,o){var u,d=this.cache(e);if(typeof n=="string")d[gt(n)]=o;else for(u in n)d[gt(u)]=n[u];return d},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][gt(n)]},access:function(e,n,o){return n===void 0||n&&typeof n=="string"&&o===void 0?this.get(e,n):(this.set(e,n,o),o!==void 0?o:n)},remove:function(e,n){var o,u=e[this.expando];if(u!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map(gt):(n=gt(n),n=n in u?[n]:n.match(se)||[]),o=n.length;o--;)delete u[n[o]];(n===void 0||c.isEmptyObject(u))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!c.isEmptyObject(n)}};var te=new Ke,it=new Ke,Li=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,mn=/[A-Z]/g;function hi(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:Li.test(e)?JSON.parse(e):e}function Qt(e,n,o){var u;if(o===void 0&&e.nodeType===1)if(u="data-"+n.replace(mn,"-$&").toLowerCase(),o=e.getAttribute(u),typeof o=="string"){try{o=hi(o)}catch{}it.set(e,n,o)}else o=void 0;return o}c.extend({hasData:function(e){return it.hasData(e)||te.hasData(e)},data:function(e,n,o){return it.access(e,n,o)},removeData:function(e,n){it.remove(e,n)},_data:function(e,n,o){return te.access(e,n,o)},_removeData:function(e,n){te.remove(e,n)}}),c.fn.extend({data:function(e,n){var o,u,d,g=this[0],v=g&&g.attributes;if(e===void 0){if(this.length&&(d=it.get(g),g.nodeType===1&&!te.get(g,"hasDataAttrs"))){for(o=v.length;o--;)v[o]&&(u=v[o].name,u.indexOf("data-")===0&&(u=gt(u.slice(5)),Qt(g,u,d[u])));te.set(g,"hasDataAttrs",!0)}return d}return typeof e=="object"?this.each(function(){it.set(this,e)}):Fe(this,function(S){var x;if(g&&S===void 0)return x=it.get(g,e),x!==void 0||(x=Qt(g,e),x!==void 0)?x:void 0;this.each(function(){it.set(this,e,S)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){it.remove(this,e)})}}),c.extend({queue:function(e,n,o){var u;if(e)return n=(n||"fx")+"queue",u=te.get(e,n),o&&(!u||Array.isArray(o)?u=te.access(e,n,c.makeArray(o)):u.push(o)),u||[]}
vendor: 16,920 bytes, line 370
370,dequeue:function(e,n){n=n||"fx";var o=c.queue(e,n),u=o.length,d=o.shift(),g=c._queueHooks(e,n),v=function(){c.dequeue(e,n)};d==="inprogress"&&(d=o.shift(),u--),d&&(n==="fx"&&o.unshift("inprogress"),delete g.stop,d.call(e,v,g)),!u&&g&&g.empty.fire()},_queueHooks:function(e,n){var o=n+"queueHooks";return te.get(e,o)||te.access(e,o,{empty:c.Callbacks("once memory").add(function(){te.remove(e,[n+"queue",o])})})}}),c.fn.extend({queue:function(e,n){var o=2;return typeof e!="string"&&(n=e,e="fx",o--),arguments.length<o?c.queue(this[0],e):n===void 0?this:this.each(function(){var u=c.queue(this,e,n);c._queueHooks(this,e),e==="fx"&&u[0]!=="inprogress"&&c.dequeue(this,e)})},dequeue:function(e){return this.each(function(){c.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var o,u=1,d=c.Deferred(),g=this,v=this.length,S=function(){--u||d.resolveWith(g,[g])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";v--;)o=te.get(g[v],e+"queueHooks"),o&&o.empty&&(u++,o.empty.add(S));return S(),d.promise(n)}});var Mt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ot=new RegExp("^(?:([+-])=|)("+Mt+")([a-z%]*)$","i"),ye=["Top","Right","Bottom","Left"],At=z.documentElement,rt=function(e){return c.contains(e.ownerDocument,e)},bi={composed:!0};At.getRootNode&&(rt=function(e){return c.contains(e.ownerDocument,e)||e.getRootNode(bi)===e.ownerDocument});var at=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&rt(e)&&c.css(e,"display")==="none"};function wi(e,n,o,u){var d,g,v=20,S=u?function(){return u.cur()}:function(){return c.css(e,n,"")},x=S(),O=o&&o[3]||(c.cssNumber[n]?"":"px"),W=e.nodeType&&(c.cssNumber[n]||O!=="px"&&+x)&&Ot.exec(c.css(e,n));if(W&&W[3]!==O){for(x=x/2,O=O||W[3],W=+x||1;v--;)c.style(e,n,W+O),(1-g)*(1-(g=S()/x||.5))<=0&&(v=0),W=W/g;W=W*2,c.style(e,n,W+O),o=o||[]}return o&&(W=+W||+x||0,d=o[1]?W+(o[1]+1)*o[2]:+o[2],u&&(u.unit=O,u.start=W,u.end=d)),d}var _t={};function fi(e){var n,o=e.ownerDocument,u=e.nodeName,d=_t[u];return d||(n=o.body.appendChild(o.createElement(u)),d=c.css(n,"display"),n.parentNode.removeChild(n),d==="none"&&(d="block"),_t[u]=d,d)}function Nt(e,n){for(var o,u,d=[],g=0,v=e.length;g<v;g++)u=e[g],u.style&&(o=u.style.display,n?(o==="none"&&(d[g]=te.get(u,"display")||null,d[g]||(u.style.display="")),u.style.display===""&&at(u)&&(d[g]=fi(u))):o!=="none"&&(d[g]="none",te.set(u,"display",o)));for(g=0;g<v;g++)d[g]!=null&&(e[g].style.display=d[g]);return e}c.fn.extend({show:function(){return Nt(this,!0)},hide:function(){return Nt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){at(this)?c(this).show():c(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,pi=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,di=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=z.createDocumentFragment(),n=e.appendChild(z.createElement("div")),o=z.createElement("input");o.setAttribute("type","radio"),o.setAttribute("checked","checked"),o.setAttribute("name","t"),n.appendChild(o),C.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",C.option=!!n.lastChild})();var ne={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ne.tbody=ne.tfoot=ne.colgroup=ne.caption=ne.thead,ne.th=ne.td,C.option||(ne.optgroup=ne.option=[1,"<select multiple='multiple'>","</select>"]);function He(e,n){var o;return typeof e.getElementsByTagName<"u"?o=e.getElementsByTagName(n||"*"):typeof e.querySelectorAll<"u"?o=e.querySelectorAll(n||"*"):o=[],n===void 0||n&&Xe(e,n)?c.merge([e],o):o}function ut(e,n){for(var o=0,u=e.length;o<u;o++)te.set(e[o],"globalEval",!n||te.get(n[o],"globalEval"))}var vn=/<|&#?\w+;/;function Rt(e,n,o,u,d){for(var g,v,S,x,O,W,U=n.createDocumentFragment(),H=[],B=0,oe=e.length;B<oe;B++)if(g=e[B],g||g===0)if(be(g)==="object")c.merge(H,g.nodeType?[g]:g);else if(!vn.test(g))H.push(n.createTextNode(g));else{for(v=v||U.appendChild(n.createElement("div")),S=(pi.exec(g)||["",""])[1].toLowerCase(),x=ne[S]||ne._default,v.innerHTML=x[1]+c.htmlPrefilter(g)+x[2],W=x[0];W--;)v=v.lastChild;c.merge(H,v.childNodes),v=U.firstChild,v.textContent=""}for(U.textContent="",B=0;g=H[B++];){if(u&&c.inArray(g,u)>-1){d&&d.push(g);continue}if(O=rt(g),v=He(U.appendChild(g),"script"),O&&ut(v),o)for(W=0;g=v[W++];)di.test(g.type||"")&&o.push(g)}return U}var gi=/^([^.]*)(?:\.(.+)|)/;function Je(){return!0}function $e(){return!1}function Hi(e,n){return e===_n()==(n==="focus")}function _n(){try{return z.activeElement}catch{}}function mt(e,n,o,u,d,g){var v,S;if(typeof n=="object"){typeof o!="string"&&(u=u||o,o=void 0);for(S in n)mt(e,S,o,u,n[S],g);return e}if(u==null&&d==null?(d=o,u=o=void 0):d==null&&(typeof o=="string"?(d=u,u=void 0):(d=u,u=o,o=void 0)),d===!1)d=$e;else if(!d)return e;return g===1&&(v=d,d=function(x){return c().off(x),v.apply(this,arguments)},d.guid=v.guid||(v.guid=c.guid++)),e.each(function(){c.event.add(this,n,d,u,o)})}c.event={global:{},add:function(e,n,o,u,d){var g,v,S,x,O,W,U,H,B,oe,me,ae=te.get(e);if(!!Te(e))for(o.handler&&(g=o,o=g.handler,d=g.selector),d&&c.find.matchesSelector(At,d),o.guid||(o.guid=c.guid++),(x=ae.events)||(x=ae.events=Object.create(null)),(v=ae.handle)||(v=ae.handle=function(Ue){return typeof c<"u"&&c.event.triggered!==Ue.type?c.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(se)||[""],O=n.length;O--;)S=gi.exec(n[O])||[],B=me=S[1],oe=(S[2]||"").split(".").sort(),B&&(U=c.event.special[B]||{},B=(d?U.delegateType:U.bindType)||B,U=c.event.special[B]||{},W=c.extend({type:B,origType:me,data:u,handler:o,guid:o.guid,selector:d,needsContext:d&&c.expr.match.needsContext.test(d),namespace:oe.join(".")},g),(H=x[B])||(H=x[B]=[],H.delegateCount=0,(!U.setup||U.setup.call(e,u,oe,v)===!1)&&e.addEventListener&&e.addEventListener(B,v)),U.add&&(U.add.call(e,W),W.handler.guid||(W.handler.guid=o.guid)),d?H.splice(H.delegateCount++,0,W):H.push(W),c.event.global[B]=!0)},remove:function(e,n,o,u,d){var g,v,S,x,O,W,U,H,B,oe,me,ae=te.hasData(e)&&te.get(e);if(!(!ae||!(x=ae.events))){for(n=(n||"").match(se)||[""],O=n.length;O--;){if(S=gi.exec(n[O])||[],B=me=S[1],oe=(S[2]||"").split(".").sort(),!B){for(B in x)c.event.remove(e,B+n[O],o,u,!0);continue}for(U=c.event.special[B]||{},B=(u?U.delegateType:U.bindType)||B,H=x[B]||[],S=S[2]&&new RegExp("(^|\\.)"+oe.join("\\.(?:.*\\.|)")+"(\\.|$)"),v=g=H.length;g--;)W=H[g],(d||me===W.origType)&&(!o||o.guid===W.guid)&&(!S||S.test(W.namespace))&&(!u||u===W.selector||u==="**"&&W.selector)&&(H.splice(g,1),W.selector&&H.delegateCount--,U.remove&&U.remove.call(e,W));v&&!H.length&&((!U.teardown||U.teardown.call(e,oe,ae.handle)===!1)&&c.removeEvent(e,B,ae.handle),delete x[B])}c.isEmptyObject(x)&&te.remove(e,"handle events")}},dispatch:function(e){var n,o,u,d,g,v,S=new Array(arguments.length),x=c.event.fix(e),O=(te.get(this,"events")||Object.create(null))[x.type]||[],W=c.event.special[x.type]||{};for(S[0]=x,n=1;n<arguments.length;n++)S[n]=arguments[n];if(x.delegateTarget=this,!(W.preDispatch&&W.preDispatch.call(this,x)===!1)){for(v=c.event.handlers.call(this,x,O),n=0;(d=v[n++])&&!x.isPropagationStopped();)for(x.currentTarget=d.elem,o=0;(g=d.handlers[o++])&&!x.isImmediatePropagationStopped();)(!x.rnamespace||g.namespace===!1||x.rnamespace.test(g.namespace))&&(x.handleObj=g,x.data=g.data,u=((c.event.special[g.origType]||{}).handle||g.handler).apply(d.elem,S),u!==void 0&&(x.result=u)===!1&&(x.preventDefault(),x.stopPropagation()));return W.postDispatch&&W.postDispatch.call(this,x),x.result}},handlers:function(e,n){var o,u,d,g,v,S=[],x=n.delegateCount,O=e.target;if(x&&O.nodeType&&!(e.type==="click"&&e.button>=1)){for(;O!==this;O=O.parentNode||this)if(O.nodeType===1&&!(e.type==="click"&&O.disabled===!0)){for(g=[],v={},o=0;o<x;o++)u=n[o],d=u.selector+" ",v[d]===void 0&&(v[d]=u.needsContext?c(d,this).index(O)>-1:c.find(d,this,null,[O]).length),v[d]&&g.push(u);g.length&&S.push({elem:O,handlers:g})}}return O=this,x<n.length&&S.push({elem:O,handlers:n.slice(x)}),S},addProp:function(e,n){Object.defineProperty(c.Event.prototype,e,{enumerable:!0,configurable:!0,get:E(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(o){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:o})}})},fix:function(e){return e[c.expando]?e:new c.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return kt.test(n.type)&&n.click&&Xe(n,"input")&&Ut(n,"click",Je),!1},trigger:function(e){var n=this||e;return kt.test(n.type)&&n.click&&Xe(n,"input")&&Ut(n,"click"),!0},_default:function(e){var n=e.target;return kt.test(n.type)&&n.click&&Xe(n,"input")&&te.get(n,"click")||Xe(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function Ut(e,n,o){if(!o){te.get(e,n)===void 0&&c.event.add(e,n,Je);return}te.set(e,n,!1),c.event.add(e,n,{namespace:!1,handler:function(u){var d,g,v=te.get(this,n);if(u.isTrigger&1&&this[n]){if(v.length)(c.event.special[n]||{}).delegateType&&u.stopPropagation();else if(v=t.call(arguments),te.set(this,n,v),d=o(this,n),this[n](),g=te.get(this,n),v!==g||d?te.set(this,n,!1):g={},v!==g)return u.stopImmediatePropagation(),u.preventDefault(),g&&g.value}else v.length&&(te.set(this,n,{value:c.event.trigger(c.extend(v[0],c.Event.prototype),v.slice(1),this)}),u.stopImmediatePropagation())}})}c.removeEvent=function(e,n,o){e.removeEventListener&&e.removeEventListener(n,o)},c.Event=function(e,n){if(!(this instanceof c.Event))return new c.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?Je:$e,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&c.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[c.expando]=!0},c.Event.prototype={constructor:c.Event,isDefaultPrevented:$e,isPropagationStopped:$e,isImmediatePropagationStopped:$e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Je,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Je,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Je,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},c.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},c.event.addProp),c.each({focus:"focusin",blur:"focusout"},function(e,n){c.event.special[e]={setup:function(){return Ut(this,e,Hi),!1},trigger:function(){return Ut(this,e),!0},_default:function(o){return te.get(o.target,e)},delegateType:n}}),c.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){c.event.special[e]={delegateType:n,bindType:n,handle:function(o){var u,d=this,g=o.relatedTarget,v=o.handleObj;return(!g||g!==d&&!c.contains(d,g))&&(o.type=v.origType,u=v.handler.apply(this,arguments),o.type=n),u}}}),c.fn.extend({on:function(e,n,o,u){return mt(this,e,n,o,u)},one:function(e,n,o,u){return mt(this,e,n,o,u,1)},off:function(e,n,o){var u,d;if(e&&e.preventDefault&&e.handleObj)return u=e.handleObj,c(e.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof e=="object"){for(d in e)this.off(d,n,e[d]);return this}return(n===!1||typeof n=="function")&&(o=n,n=void 0),o===!1&&(o=$e),this.each(function(){c.event.remove(this,e,o,n)})}});var Lt=/<script|<style|<link/i,Jt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ci=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Wi(e,n){return Xe(e,"table")&&Xe(n.nodeType!==11?n:n.firstChild,"tr")&&c(e).children("tbody")[0]||e}function yn(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Ei(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function zi(e,n){var o,u,d,g,v,S,x;if(n.nodeType===1){if(te.hasData(e)&&(g=te.get(e),x=g.events,x)){te.remove(n,"handle events");for(d in x)for(o=0,u=x[d].length;o<u;o++)c.event.add(n,d,x[d][o])}it.hasData(e)&&(v=it.access(e),S=c.extend({},v),it.set(n,S))}}function Bi(e,n){var o=n.nodeName.toLowerCase();o==="input"&&kt.test(e.type)?n.checked=e.checked:(o==="input"||o==="textarea")&&(n.defaultValue=e.defaultValue)}function Vt(e,n,o,u){n=s(n);var d,g,v,S,x,O,W=0,U=e.length,H=U-1,B=n[0],oe=E(B);if(oe||U>1&&typeof B=="string"&&!C.checkClone&&Jt.test(B))return e.each(function(me){var ae=e.eq(me);oe&&(n[0]=B.call(this,me,ae.html())),Vt(ae,n,o,u)});if(U&&(d=Rt(n,e[0].ownerDocument,!1,e,u),g=d.firstChild,d.childNodes.length===1&&(d=g),g||u)){for(v=c.map(He(d,"script"),yn),S=v.length;W<U;W++)x=d,W!==H&&(x=c.clone(x,!0,!0),S&&c.merge(v,He(x,"script"))),o.call(e[W],x,W);if(S)for(O=v[v.length-1].ownerDocument,c.map(v,Ei),W=0;W<S;W++)x=v[W],di.test(x.type||"")&&!te.access(x,"globalEval")&&c.contains(O,x)&&(x.src&&(x.type||"").toLowerCase()!=="module"?c._evalUrl&&!x.noModule&&c._evalUrl(x.src,{nonce:x.nonce||x.getAttribute("nonce")},O):ce(x.textContent.replace(Ci,""),x,O))}return e}function Kt(e,n,o){for(var u,d=n?c.filter(n,e):e,g=0;(u=d[g])!=null;g++)!o&&u.nodeType===1&&c.cleanData(He(u)),u.parentNode&&(o&&rt(u)&&ut(He(u,"script")),u.parentNode.removeChild(u));return e}c.extend({htmlPrefilter:function(e){return e},clone:function(e,n,o){var u,d,g,v,S=e.cloneNode(!0),x=rt(e);if(!C.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!c.isXMLDoc(e))for(v=He(S),g=He(e),u=0,d=g.length;u<d;u++)Bi(g[u],v[u]);if(n)if(o)for(g=g||He(e),v=v||He(S),u=0,d=g.length;u<d;u++)zi(g[u],v[u]);else zi(e,S);return v=He(S,"script"),v.length>0&&ut(v,!x&&He(e,"script")),S},cleanData:function(e){for(var n,o,u,d=c.event.special,g=0;(o=e[g])!==void 0;g++)if(Te(o)){if(n=o[te.expando]){if(n.events)for(u in n.events)d[u]?c.event.remove(o,u):c.removeEvent(o,u,n.handle);o[te.expando]=void 0}o[it.expando]&&(o[it.expando]=void 0)}}}),c.fn.extend({detach:function(e){return Kt(this,e,!0)},remove:function(e){return Kt(this,e)},text:function(e){return Fe(this,function(n){return n===void 0?c.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,e,arguments.length)},append:function(){return Vt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Wi(this,e);n.appendChild(e)}})},prepend:function(){return Vt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Wi(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return Vt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Vt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;(e=this[n])!=null;n++)e.nodeType===1&&(c.cleanData(He(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e??!1,n=n??e,this.map(function(){return c.clone(this,e,n)})},html:function(e){return Fe(this,function(n){var o=this[0]||{},u=0,d=this.length;if(n===void 0&&o.nodeType===1)return o.innerHTML;if(typeof n=="string"&&!Lt.test(n)&&!ne[(pi.exec(n)||["",""])[1].toLowerCase()]){n=c.htmlPrefilter(n);try{for(;u<d;u++)o=this[u]||{},o.nodeType===1&&(c.cleanData(He(o,!1)),o.innerHTML=n);o=0}catch{}}o&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return Vt(this,arguments,function(n){var o=this.parentNode;c.inArray(this,e)<0&&(c.cleanData(He(this)),o&&o.replaceChild(n,this))},e)}}),c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){c.fn[e]=function(o){for(var u,d=[],g=c(o),v=g.length-1,S=0;S<=v;S++)u=S===v?this:this.clone(!0),c(g[S])[n](u),l.apply(d,u.get());return this.pushStack(d)}});var Pt=new RegExp("^("+Mt+")(?!px)[a-z%]+$","i"),mi=/^--/,$t=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=a),n.getComputedStyle(e)},Fi=function(e,n,o){var u,d,g={};for(d in n)g[d]=e.style[d],e.style[d]=n[d];u=o.call(e);for(d in n)e.style[d]=g[d];return u},bn=new RegExp(ye.join("|"),"i"),ji="[\\x20\\t\\r\\n\\f]",xi=new RegExp("^"+ji+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ji+"+$","g");(function(){function e(){if(!!O){x.style.cssText="position:absolute;
370left:-11111px;width:60px;margin-top:1px;padding:0;border:0",O.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",At.appendChild(x).appendChild(O);var W=a.getComputedStyle(O);o=W.top!=="1%",S=n(W.marginLeft)===12,O.style.right="60%",g=n(W.right)===36,u=n(W.width)===36,O.style.position="absolute",d=n(O.offsetWidth/3)===12,At.removeChild(x),O=null}}function n(W){return Math.round(parseFloat(W))}var o,u,d,g,v,S,x=z.createElement("div"),O=z.createElement("div");!O.style||(O.style.backgroundClip="content-box",O.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=O.style.backgroundClip==="content-box",c.extend(C,{boxSizingReliable:function(){return e(),u},pixelBoxStyles:function(){return e(),g},pixelPosition:function(){return e(),o},reliableMarginLeft:function(){return e(),S},scrollboxSize:function(){return e(),d},reliableTrDimensions:function(){var W,U,H,B;return v==null&&(W=z.createElement("table"),U=z.createElement("tr"),H=z.createElement("div"),W.style.cssText="position:absolute;left:-11111px;border-collapse:separate",U.style.cssText="border:1px solid",U.style.height="1px",H.style.height="9px",H.style.display="block",At.appendChild(W).appendChild(U).appendChild(H),B=a.getComputedStyle(U),v=parseInt(B.height,10)+parseInt(B.borderTopWidth,10)+parseInt(B.borderBottomWidth,10)===U.offsetHeight,At.removeChild(W)),v}}))})();function Yt(e,n,o){var u,d,g,v,S=mi.test(n),x=e.style;return o=o||$t(e),o&&(v=o.getPropertyValue(n)||o[n],S&&(v=v.replace(xi,"$1")),v===""&&!rt(e)&&(v=c.style(e,n)),!C.pixelBoxStyles()&&Pt.test(v)&&bn.test(n)&&(u=x.width,d=x.minWidth,g=x.maxWidth,x.minWidth=x.maxWidth=x.width=v,v=o.width,x.width=u,x.minWidth=d,x.maxWidth=g)),v!==void 0?v+"":v}function Ui(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var Vi=["Webkit","Moz","ms"],Ki=z.createElement("div").style,Yi={};function ei(e){for(var n=e[0].toUpperCase()+e.slice(1),o=Vi.length;o--;)if(e=Vi[o]+n,e in Ki)return e}function Ai(e){var n=c.cssProps[e]||Yi[e];return n||(e in Ki?e:Yi[e]=ei(e)||e)}var qi=/^(none|table(?!-c[ea]).+)/,Zi={position:"absolute",visibility:"hidden",display:"block"},Gi={letterSpacing:"0",fontWeight:"400"};function Pi(e,n,o){var u=Ot.exec(n);return u?Math.max(0,u[2]-(o||0))+(u[3]||"px"):n}function St(e,n,o,u,d,g){var v=n==="width"?1:0,S=0,x=0;if(o===(u?"border":"content"))return 0;for(;v<4;v+=2)o==="margin"&&(x+=c.css(e,o+ye[v],!0,d)),u?(o==="content"&&(x-=c.css(e,"padding"+ye[v],!0,d)),o!=="margin"&&(x-=c.css(e,"border"+ye[v]+"Width",!0,d))):(x+=c.css(e,"padding"+ye[v],!0,d),o!=="padding"?x+=c.css(e,"border"+ye[v]+"Width",!0,d):S+=c.css(e,"border"+ye[v]+"Width",!0,d));return!u&&g>=0&&(x+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-g-x-S-.5))||0),x}function Si(e,n,o){var u=$t(e),d=!C.boxSizingReliable()||o,g=d&&c.css(e,"boxSizing",!1,u)==="border-box",v=g,S=Yt(e,n,u),x="offset"+n[0].toUpperCase()+n.slice(1);if(Pt.test(S)){if(!o)return S;S="auto"}return(!C.boxSizingReliable()&&g||!C.reliableTrDimensions()&&Xe(e,"tr")||S==="auto"||!parseFloat(S)&&c.css(e,"display",!1,u)==="inline")&&e.getClientRects().length&&(g=c.css(e,"boxSizing",!1,u)==="border-box",v=x in e,v&&(S=e[x])),S=parseFloat(S)||0,S+St(e,n,o||(g?"border":"content"),v,u,S)+"px"}c.extend({cssHooks:{opacity:{get:function(e,n){if(n){var o=Yt(e,"opacity");return o===""?"1":o}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,n,o,u){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var d,g,v,S=gt(n),x=mi.test(n),O=e.style;if(x||(n=Ai(S)),v=c.cssHooks[n]||c.cssHooks[S],o!==void 0){if(g=typeof o,g==="string"&&(d=Ot.exec(o))&&d[1]&&(o=wi(e,n,d),g="number"),o==null||o!==o)return;g==="number"&&!x&&(o+=d&&d[3]||(c.cssNumber[S]?"":"px")),!C.clearCloneStyle&&o===""&&n.indexOf("background")===0&&(O[n]="inherit"),(!v||!("set"in v)||(o=v.set(e,o,u))!==void 0)&&(x?O.setProperty(n,o):O[n]=o)}else return v&&"get"in v&&(d=v.get(e,!1,u))!==void 0?d:O[n]}},css:function(e,n,o,u){var d,g,v,S=gt(n),x=mi.test(n);return x||(n=Ai(S)),v=c.cssHooks[n]||c.cssHooks[S],v&&"get"in v&&(d=v.get(e,!0,o)),d===void 0&&(d=Yt(e,n,u)),d==="normal"&&n in Gi&&(d=Gi[n]),o===""||o?(g=parseFloat(d),o===!0||isFinite(g)?g||0:d):d}}),c.each(["height","width"],function(e,n){c.cssHooks[n]={get:function(o,u,d){if(u)return qi.test(c.css(o,"display"))&&(!o.getClientRects().length||!o.getBoundingClientRect().width)?Fi(o,Zi,function(){return Si(o,n,d)}):Si(o,n,d)},set:function(o,u,d){var g,v=$t(o),S=!C.scrollboxSize()&&v.position==="absolute",x=S||d,O=x&&c.css(o,"boxSizing",!1,v)==="border-box",W=d?St(o,n,d,O,v):0;return O&&S&&(W-=Math.ceil(o["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(v[n])-St(o,n,"border",!1,v)-.5)),W&&(g=Ot.exec(u))&&(g[3]||"px")!=="px"&&(o.style[n]=u,u=c.css(o,n)),Pi(o,u,W)}}}),c.cssHooks.marginLeft=Ui(C.reliableMarginLeft,function(e,n){if(n)return(parseFloat(Yt(e,"marginLeft"))||e.getBoundingClientRect().left-Fi(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),c.each({margin:"",padding:"",border:"Width"},function(e,n){c.cssHooks[e+n]={expand:function(o){for(var u=0,d={}
vendor: 4,218 bytes, line 370
370,g=typeof o=="string"?o.split(" "):[o];u<4;u++)d[e+ye[u]+n]=g[u]||g[u-2]||g[0];return d}},e!=="margin"&&(c.cssHooks[e+n].set=Pi)}),c.fn.extend({css:function(e,n){return Fe(this,function(o,u,d){var g,v,S={},x=0;if(Array.isArray(u)){for(g=$t(o),v=u.length;x<v;x++)S[u[x]]=c.css(o,u[x],!1,g);return S}return d!==void 0?c.style(o,u,d):c.css(o,u)},e,n,arguments.length>1)}});function et(e,n,o,u,d){return new et.prototype.init(e,n,o,u,d)}c.Tween=et,et.prototype={constructor:et,init:function(e,n,o,u,d,g){this.elem=e,this.prop=o,this.easing=d||c.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=u,this.unit=g||(c.cssNumber[o]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var n,o=et.propHooks[this.prop];return this.options.duration?this.pos=n=c.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.propHooks={_default:{get:function(e){var n;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(n=c.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){c.fx.step[e.prop]?c.fx.step[e.prop](e):e.elem.nodeType===1&&(c.cssHooks[e.prop]||e.elem.style[Ai(e.prop)]!=null)?c.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},c.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},c.fx=et.prototype.init,c.fx.step={};var Ht,ti,ke=/^(?:toggle|show|hide)$/,qt=/queueHooks$/;function ct(){ti&&(z.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(ct):a.setTimeout(ct,c.fx.interval),c.fx.tick())}function We(){return a.setTimeout(function(){Ht=void 0}),Ht=Date.now()}function ot(e,n){var o,u=0,d={height:e};for(n=n?1:0;u<4;u+=2-n)o=ye[u],d["margin"+o]=d["padding"+o]=e;return n&&(d.opacity=d.width=e),d}function ht(e,n,o){for(var u,d=(lt.tweeners[n]||[]).concat(lt.tweeners["*"]),g=0,v=d.length;g<v;g++)if(u=d[g].call(o,n,e))return u}function Xi(e,n,o){var u,d,g,v,S,x,O,W,U="width"in n||"height"in n,H=this,B={},oe=e.style,me=e.nodeType&&at(e),ae=te.get(e,"fxshow");o.queue||(v=c._queueHooks(e,"fx"),v.unqueued==null&&(v.unqueued=0,S=v.empty.fire,v.empty.fire=function(){v.unqueued||S()}),v.unqueued++,H.always(function(){H.always(function(){v.unqueued--,c.queue(e,"fx").length||v.empty.fire()})}));for(u in n)if(d=n[u],ke.test(d)){if(delete n[u],g=g||d==="toggle",d===(me?"hide":"show"))if(d==="show"&&ae&&ae[u]!==void 0)me=!0;else continue;B[u]=ae&&ae[u]||c.style(e,u)}if(x=!c.isEmptyObject(n),!(!x&&c.isEmptyObject(B))){U&&e.nodeType===1&&(o.overflow=[oe.overflow,oe.overflowX,oe.overflowY],O=ae&&ae.display,O==null&&(O=te.get(e,"display")),W=c.css(e,"display"),W==="none"&&(O?W=O:(Nt([e],!0),O=e.style.display||O,W=c.css(e,"display"),Nt([e]))),(W==="inline"||W==="inline-block"&&O!=null)&&c.css(e,"float")==="none"&&(x||(H.done(function(){oe.display=O}),O==null&&(W=oe.display,O=W==="none"?"":W)),oe.display="inline-block")),o.overflow&&(oe.overflow="hidden",H.always(function(){oe.overflow=o.overflow[0],oe.overflowX=o.overflow[1],oe.overflowY=o.overflow[2]})),x=!1;for(u in B)x||(ae?"hidden"in ae&&(me=ae.hidden):ae=te.access(e,"fxshow",{display:O}),g&&(ae.hidden=!me),me&&Nt([e],!0),H.done(function(){me||Nt([e]),te.remove(e,"fxshow");for(u in B)c.style(e,u,B[u])})),x=ht(me?ae[u]:0,u,H),u in ae||(ae[u]=x.start,me&&(x.end=x.start,x.start=0))}}function Qi(e,n){var o,u,d,g,v;for(o in e)if(u=gt(o),d=n[u],g=e[o],Array.isArray(g)&&(d=g[1],g=e[o]=g[0]),o!==u&&(e[u]=g,delete e[o]),v=c.cssHooks[u],v&&"expand"in v){g=v.expand(g),delete e[u];for(o in g)o in e||(e[o]=g[o],n[o]=d)}else n[u]=d}function lt(e,n,o){var u,d,g=0,v=lt.prefilters.length,S=c.Deferred().always(function(){delete x.elem}),x=function(){if(d)return!1;for(var U=Ht||We(),H=Math.max(0,O.startTime+O.duration-U),B=H/O.duration||0,oe=1-B,me=0,ae=O.tweens.length;me<ae;
vendor: 1,293 bytes, line 370
370me++)O.tweens[me].run(oe);return S.notifyWith(e,[O,oe,H]),oe<1&&ae?H:(ae||S.notifyWith(e,[O,1,0]),S.resolveWith(e,[O]),!1)},O=S.promise({elem:e,props:c.extend({},n),opts:c.extend(!0,{specialEasing:{},easing:c.easing._default},o),originalProperties:n,originalOptions:o,startTime:Ht||We(),duration:o.duration,tweens:[],createTween:function(U,H){var B=c.Tween(e,O.opts,U,H,O.opts.specialEasing[U]||O.opts.easing);return O.tweens.push(B),B},stop:function(U){var H=0,B=U?O.tweens.length:0;if(d)return this;for(d=!0;H<B;H++)O.tweens[H].run(1);return U?(S.notifyWith(e,[O,1,0]),S.resolveWith(e,[O,U])):S.rejectWith(e,[O,U]),this}}),W=O.props;for(Qi(W,O.opts.specialEasing);g<v;g++)if(u=lt.prefilters[g].call(O,e,W,O.opts),u)return E(u.stop)&&(c._queueHooks(O.elem,O.opts.queue).stop=u.stop.bind(u)),u;return c.map(W,ht,O),E(O.opts.start)&&O.opts.start.call(e,O),O.progress(O.opts.progress).done(O.opts.done,O.opts.complete).fail(O.opts.fail).always(O.opts.always),c.fx.timer(c.extend(x,{elem:e,anim:O,queue:O.opts.queue})),O}c.Animation=c.extend(lt,{tweeners:{"*":[function(e,n){var o=this.createTween(e,n);return wi(o.elem,e,Ot.exec(n),o),o}]},tweener:function(e,n){E(e)?(n=e,e=["*"]):e=e.match(se);for(var o,u=0,d=e.length;u<d;u++)o=e[u],lt.tweeners[o]=lt.tweeners[o]||[],lt.tweeners[o].unshift(n)}
vendor: 4,633 bytes, line 370
370,prefilters:[Xi],prefilter:function(e,n){n?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),c.speed=function(e,n,o){var u=e&&typeof e=="object"?c.extend({},e):{complete:o||!o&&n||E(e)&&e,duration:e,easing:o&&n||n&&!E(n)&&n};return c.fx.off?u.duration=0:typeof u.duration!="number"&&(u.duration in c.fx.speeds?u.duration=c.fx.speeds[u.duration]:u.duration=c.fx.speeds._default),(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){E(u.old)&&u.old.call(this),u.queue&&c.dequeue(this,u.queue)},u},c.fn.extend({fadeTo:function(e,n,o,u){return this.filter(at).css("opacity",0).show().end().animate({opacity:n},e,o,u)},animate:function(e,n,o,u){var d=c.isEmptyObject(e),g=c.speed(n,o,u),v=function(){var S=lt(this,c.extend({},e),g);(d||te.get(this,"finish"))&&S.stop(!0)};return v.finish=v,d||g.queue===!1?this.each(v):this.queue(g.queue,v)},stop:function(e,n,o){var u=function(d){var g=d.stop;delete d.stop,g(o)};return typeof e!="string"&&(o=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var d=!0,g=e!=null&&e+"queueHooks",v=c.timers,S=te.get(this);if(g)S[g]&&S[g].stop&&u(S[g]);else for(g in S)S[g]&&S[g].stop&&qt.test(g)&&u(S[g]);for(g=v.length;g--;)v[g].elem===this&&(e==null||v[g].queue===e)&&(v[g].anim.stop(o),d=!1,v.splice(g,1));(d||!o)&&c.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,o=te.get(this),u=o[e+"queue"],d=o[e+"queueHooks"],g=c.timers,v=u?u.length:0;for(o.finish=!0,c.queue(this,e,[]),d&&d.stop&&d.stop.call(this,!0),n=g.length;n--;)g[n].elem===this&&g[n].queue===e&&(g[n].anim.stop(!0),g.splice(n,1));for(n=0;n<v;n++)u[n]&&u[n].finish&&u[n].finish.call(this);delete o.finish})}}),c.each(["toggle","show","hide"],function(e,n){var o=c.fn[n];c.fn[n]=function(u,d,g){return u==null||typeof u=="boolean"?o.apply(this,arguments):this.animate(ot(n,!0),u,d,g)}}),c.each({slideDown:ot("show"),slideUp:ot("hide"),slideToggle:ot("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){c.fn[e]=function(o,u,d){return this.animate(n,o,u,d)}}),c.timers=[],c.fx.tick=function(){var e,n=0,o=c.timers;for(Ht=Date.now();n<o.length;n++)e=o[n],!e()&&o[n]===e&&o.splice(n--,1);o.length||c.fx.stop(),Ht=void 0},c.fx.timer=function(e){c.timers.push(e),c.fx.start()},c.fx.interval=13,c.fx.start=function(){ti||(ti=!0,ct())},c.fx.stop=function(){ti=null},c.fx.speeds={slow:600,fast:200,_default:400},c.fn.delay=function(e,n){return e=c.fx&&c.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(o,u){var d=a.setTimeout(o,e);u.stop=function(){a.clearTimeout(d)}})},function(){var e=z.createElement("input"),n=z.createElement("select"),o=n.appendChild(z.createElement("option"));e.type="checkbox",C.checkOn=e.value!=="",C.optSelected=o.selected,e=z.createElement("input"),e.value="t",e.type="radio",C.radioValue=e.value==="t"}();var Zt,ii=c.expr.attrHandle;c.fn.extend({attr:function(e,n){return Fe(this,c.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){c.removeAttr(this,e)})}}),c.extend({attr:function(e,n,o){var u,d,g=e.nodeType;if(!(g===3||g===8||g===2)){if(typeof e.getAttribute>"u")return c.prop(e,n,o);if((g!==1||!c.isXMLDoc(e))&&(d=c.attrHooks[n.toLowerCase()]||(c.expr.match.bool.test(n)?Zt:void 0)),o!==void 0){if(o===null){c.removeAttr(e,n);return}return d&&"set"in d&&(u=d.set(e,o,n))!==void 0?u:(e.setAttribute(n,o+""),o)}return d&&"get"in d&&(u=d.get(e,n))!==null?u:(u=c.find.attr(e,n),u??void 0)}},attrHooks:{type:{set:function(e,n){if(!C.radioValue&&n==="radio"&&Xe(e,"input")){var o=e.value;return e.setAttribute("type",n),o&&(e.value=o),n}}}},removeAttr:function(e,n){var o,u=0,d=n&&n.match(se);if(d&&e.nodeType===1)for(;o=d[u++];)e.removeAttribute(o)}}),Zt={set:function(e,n,o){return n===!1?c.removeAttr(e,o):e.setAttribute(o,o),o}},c.each(c.expr.match.bool.source.match(/\w+/g),function(e,n){var o=ii[n]||c.find.attr;ii[n]=function(u,d,g){var v,S,x=d.toLowerCase();return g||(S=ii[x],ii[x]=v,v=o(u,d,g)!=null?x:null,ii[x]=S),v}});var ni=/^(?:input|select|textarea|button)$/i,wn=/^(?:a|area)$/i;c.fn.extend({prop:function(e,n){return Fe(this,c.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[c.propFix[e]||e]})}}),c.extend({prop:function(e,n,o){var u,d,g=e.nodeType;if(!(g===3||g===8||g===2))return(g!==1||!c.isXMLDoc(e))&&(n=c.propFix[n]||n,d=c.propHooks[n]),o!==void 0?d&&"set"in d&&(u=d.set(e,o,n))!==void 0?u:e[n]=o:d&&"get"in d&&(u=d.get(e,n))!==null?u:e[n]},propHooks:{tabIndex:{get:function(e){var n=c.find.attr(e,"tabindex");return n?parseInt(n,10):ni.test(e.nodeName)||wn.test(e.nodeName)&&e.href?
vendor: 4,105 bytes, line 370
3700:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(c.propHooks.selected={get:function(e){var n=e.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(e){var n=e.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),c.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){c.propFix[this.toLowerCase()]=this});function tt(e){var n=e.match(se)||[];return n.join(" ")}function Wt(e){return e.getAttribute&&e.getAttribute("class")||""}function si(e){return Array.isArray(e)?e:typeof e=="string"?e.match(se)||[]:[]}c.fn.extend({addClass:function(e){var n,o,u,d,g,v;return E(e)?this.each(function(S){c(this).addClass(e.call(this,S,Wt(this)))}):(n=si(e),n.length?this.each(function(){if(u=Wt(this),o=this.nodeType===1&&" "+tt(u)+" ",o){for(g=0;g<n.length;g++)d=n[g],o.indexOf(" "+d+" ")<0&&(o+=d+" ");v=tt(o),u!==v&&this.setAttribute("class",v)}}):this)},removeClass:function(e){var n,o,u,d,g,v;return E(e)?this.each(function(S){c(this).removeClass(e.call(this,S,Wt(this)))}):arguments.length?(n=si(e),n.length?this.each(function(){if(u=Wt(this),o=this.nodeType===1&&" "+tt(u)+" ",o){for(g=0;g<n.length;g++)for(d=n[g];o.indexOf(" "+d+" ")>-1;)o=o.replace(" "+d+" "," ");v=tt(o),u!==v&&this.setAttribute("class",v)}}):this):this.attr("class","")},toggleClass:function(e,n){var o,u,d,g,v=typeof e,S=v==="string"||Array.isArray(e);return E(e)?this.each(function(x){c(this).toggleClass(e.call(this,x,Wt(this),n),n)}):typeof n=="boolean"&&S?n?this.addClass(e):this.removeClass(e):(o=si(e),this.each(function(){if(S)for(g=c(this),d=0;d<o.length;d++)u=o[d],g.hasClass(u)?g.removeClass(u):g.addClass(u);else(e===void 0||v==="boolean")&&(u=Wt(this),u&&te.set(this,"__className__",u),this.setAttribute&&this.setAttribute("class",u||e===!1?"":te.get(this,"__className__")||""))}))},hasClass:function(e){var n,o,u=0;for(n=" "+e+" ";o=this[u++];)if(o.nodeType===1&&(" "+tt(Wt(o))+" ").indexOf(n)>-1)return!0;return!1}});var Cn=/\r/g;c.fn.extend({val:function(e){var n,o,u,d=this[0];return arguments.length?(u=E(e),this.each(function(g){var v;this.nodeType===1&&(u?v=e.call(this,g,c(this).val()):v=e,v==null?v="":typeof v=="number"?v+="":Array.isArray(v)&&(v=c.map(v,function(S){return S==null?"":S+""})),n=c.valHooks[this.type]||c.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,v,"value")===void 0)&&(this.value=v))})):d?(n=c.valHooks[d.type]||c.valHooks[d.nodeName.toLowerCase()],n&&"get"in n&&(o=n.get(d,"value"))!==void 0?o:(o=d.value,typeof o=="string"?o.replace(Cn,""):o??"")):void 0}}),c.extend({valHooks:{option:{get:function(e){var n=c.find.attr(e,"value");return n??tt(c.text(e))}},select:{get:function(e){var n,o,u,d=e.options,g=e.selectedIndex,v=e.type==="select-one",S=v?null:[],x=v?g+1:d.length;for(g<0?u=x:u=v?g:0;u<x;u++)if(o=d[u],(o.selected||u===g)&&!o.disabled&&(!o.parentNode.disabled||!Xe(o.parentNode,"optgroup"))){if(n=c(o).val(),v)return n;S.push(n)}return S},set:function(e,n){for(var o,u,d=e.options,g=c.makeArray(n),v=d.length;v--;)u=d[v],(u.selected=c.inArray(c.valHooks.option.get(u),g)>-1)&&(o=!0);return o||(e.selectedIndex=-1),g}}}}),c.each(["radio","checkbox"],function(){c.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=c.inArray(c(e).val(),n)>-1}},C.checkOn||(c.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})}),C.focusin="onfocusin"in a;var Ji=/^(?:focusinfocus|focusoutblur)$/,$i=function(e){e.stopPropagation()};c.extend(c.event,{trigger:function(e,n,o,u){var d,g,v,S,x,O,W,U,H=[o||z],B=P.call(e,"type")?e.type:e,oe=P.call(e,"namespace")?e.namespace.split("."):[];if(g=U=v=o=o||z,!(o.nodeType===3||o.nodeType===8)&&!Ji.test(B+c.event.triggered)&&(B.indexOf(".")>-1&&(oe=B.split("."),B=oe.shift(),oe.sort()),x=B.indexOf(":")<0&&"on"+B,e=e[c.expando]?e:new c.Event(B,typeof e=="object"&&e),e.isTrigger=u?2:3,e.namespace=oe.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+oe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=
vendor: 14,589 bytes, lines 370-373
370o),n=n==null?[e]:c.makeArray(n,[e]),W=c.event.special[B]||{},!(!u&&W.trigger&&W.trigger.apply(o,n)===!1))){if(!u&&!W.noBubble&&!L(o)){for(S=W.delegateType||B,Ji.test(S+B)||(g=g.parentNode);g;g=g.parentNode)H.push(g),v=g;v===(o.ownerDocument||z)&&H.push(v.defaultView||v.parentWindow||a)}for(d=0;(g=H[d++])&&!e.isPropagationStopped();)U=g,e.type=d>1?S:W.bindType||B,O=(te.get(g,"events")||Object.create(null))[e.type]&&te.get(g,"handle"),O&&O.apply(g,n),O=x&&g[x],O&&O.apply&&Te(g)&&(e.result=O.apply(g,n),e.result===!1&&e.preventDefault());return e.type=B,!u&&!e.isDefaultPrevented()&&(!W._default||W._default.apply(H.pop(),n)===!1)&&Te(o)&&x&&E(o[B])&&!L(o)&&(v=o[x],v&&(o[x]=null),c.event.triggered=B,e.isPropagationStopped()&&U.addEventListener(B,$i),o[B](),e.isPropagationStopped()&&U.removeEventListener(B,$i),c.event.triggered=void 0,v&&(o[x]=v)),e.result}},simulate:function(e,n,o){var u=c.extend(new c.Event,o,{type:e,isSimulated:!0});c.event.trigger(u,null,n)}}),c.fn.extend({trigger:function(e,n){return this.each(function(){c.event.trigger(e,n,this)})},triggerHandler:function(e,n){var o=this[0];if(o)return c.event.trigger(e,n,o,!0)}}),C.focusin||c.each({focus:"focusin",blur:"focusout"},function(e,n){var o=function(u){c.event.simulate(n,u.target,c.event.fix(u))};c.event.special[n]={setup:function(){var u=this.ownerDocument||this.document||this,d=te.access(u,n);d||u.addEventListener(e,o,!0),te.access(u,n,(d||0)+1)},teardown:function(){var u=this.ownerDocument||this.document||this,d=te.access(u,n)-1;d?te.access(u,n,d):(u.removeEventListener(e,o,!0),te.remove(u,n))}}});var ri=a.location,en={guid:Date.now()},Ti=/\?/;c.parseXML=function(e){var n,o;if(!e||typeof e!="string")return null;try{n=new a.DOMParser().parseFromString(e,"text/xml")}catch{}return o=n&&n.getElementsByTagName("parsererror")[0],(!n||o)&&c.error("Invalid XML: "+(o?c.map(o.childNodes,function(u){return u.textContent}).join(`
371`):e)),n};var En=/\[\]$/,vi=/\r?\n/g,tn=/^(?:submit|button|image|reset|file)$/i,oi=/^(?:input|select|textarea|keygen)/i;function Tt(e,n,o,u){var d;if(Array.isArray(n))c.each(n,function(g,v){o||En.test(e)?u(e,v):Tt(e+"["+(typeof v=="object"&&v!=null?g:"")+"]",v,o,u)});else if(!o&&be(n)==="object")for(d in n)Tt(e+"["+d+"]",n[d],o,u);else u(e,n)}c.param=function(e,n){var o,u=[],d=function(g,v){var S=E(v)?v():v;u[u.length]=encodeURIComponent(g)+"="+encodeURIComponent(S??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!c.isPlainObject(e))c.each(e,function(){d(this.name,this.value)});else for(o in e)Tt(o,e[o],n,d);return u.join("&")},c.fn.extend({serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=c.prop(this,"elements");return e?c.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!c(this).is(":disabled")&&oi.test(this.nodeName)&&!tn.test(e)&&(this.checked||!kt.test(e))}).map(function(e,n){var o=c(this).val();return o==null?null:Array.isArray(o)?c.map(o,function(u){return{name:n.name,value:u.replace(vi,`\r
372`)}}):{name:n.name,value:o.replace(vi,`\r
373`)}}).get()}});var nn=/%20/g,Di=/#.*$/,xn=/([?&])_=[^&]*/,sn=/^(.*?):[ \t]*([^\r\n]*)$/mg,rn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zt=/^(?:GET|HEAD)$/,Ii=/^\/\//,on={},yt={},Mi="*/".concat("*"),_i=z.createElement("a");_i.href=ri.href;function an(e){return function(n,o){typeof n!="string"&&(o=n,n="*");var u,d=0,g=n.toLowerCase().match(se)||[];if(E(o))for(;u=g[d++];)u[0]==="+"?(u=u.slice(1)||"*",(e[u]=e[u]||[]).unshift(o)):(e[u]=e[u]||[]).push(o)}}function bt(e,n,o,u){var d={},g=e===yt;function v(S){var x;return d[S]=!0,c.each(e[S]||[],function(O,W){var U=W(n,o,u);if(typeof U=="string"&&!g&&!d[U])return n.dataTypes.unshift(U),v(U),!1;if(g)return!(x=U)}),x}return v(n.dataTypes[0])||!d["*"]&&v("*")}function Bt(e,n){var o,u,d=c.ajaxSettings.flatOptions||{};for(o in n)n[o]!==void 0&&((d[o]?e:u||(u={}))[o]=n[o]);return u&&c.extend(!0,e,u),e}function yi(e,n,o){for(var u,d,g,v,S=e.contents,x=e.dataTypes;x[0]==="*";)x.shift(),u===void 0&&(u=e.mimeType||n.getResponseHeader("Content-Type"));if(u){for(d in S)if(S[d]&&S[d].test(u)){x.unshift(d);break}}if(x[0]in o)g=x[0];else{for(d in o){if(!x[0]||e.converters[d+" "+x[0]]){g=d;break}v||(v=d)}g=g||v}if(g)return g!==x[0]&&x.unshift(g),o[g]}function An(e,n,o,u){var d,g,v,S,x,O={},W=e.dataTypes.slice();if(W[1])for(v in e.converters)O[v.toLowerCase()]=e.converters[v];for(g=W.shift();g;)if(e.responseFields[g]&&(o[e.responseFields[g]]=n),!x&&u&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),x=g,g=W.shift(),g){if(g==="*")g=x;else if(x!=="*"&&x!==g){if(v=O[x+" "+g]||O["* "+g],!v){for(d in O)if(S=d.split(" "),S[1]===g&&(v=O[x+" "+S[0]]||O["* "+S[0]],v)){v===!0?v=O[d]:O[d]!==!0&&(g=S[0],W.unshift(S[1]));break}}if(v!==!0)if(v&&e.throws)n=v(n);else try{n=v(n)}catch(U){return{state:"parsererror",error:v?U:"No conversion from "+x+" to "+g}}}}return{state:"success",data:n}}c.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ri.href,type:"GET",isLocal:rn.test(ri.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":c.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?Bt(Bt(e,c.ajaxSettings),n):Bt(c.ajaxSettings,e)},ajaxPrefilter:an(on),ajaxTransport:an(yt),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var o,u,d,g,v,S,x,O,W,U,H=c.ajaxSetup({},n),B=H.context||H,oe=H.context&&(B.nodeType||B.jquery)?c(B):c.event,me=c.Deferred(),ae=c.Callbacks("once memory"),Ue=H.statusCode||{},Ve={},nt={},Ee="canceled",p={readyState:0,getResponseHeader:function(b){var D;if(x){if(!g)for(g={};D=sn.exec(d);)g[D[1].toLowerCase()+" "]=(g[D[1].toLowerCase()+" "]||[]).concat(D[2]);D=g[b.toLowerCase()+" "]}return D==null?null:D.join(", ")},getAllResponseHeaders:function(){return x?d:null},setRequestHeader:function(b,D){return x==null&&(b=nt[b.toLowerCase()]=nt[b.toLowerCase()]||b,Ve[b]=D),this},overrideMimeType:function(b){return x==null&&(H.mimeType=b),this},statusCode:function(b){var D;if(b)if(x)p.always(b[p.status]);else for(D in b)Ue[D]=[Ue[D],b[D]];return this},abort:function(b){var D=b||Ee;return o&&o.abort(D),m(0,D),this}};if(me.promise(p),H.url=((e||H.url||ri.href)+"").replace(Ii,ri.protocol+"//"),H.type=n.method||n.type||H.method||H.type,H.dataTypes=(H.dataType||"*").toLowerCase().match(se)||[""],H.crossDomain==null){S=z.createElement("a");try{S.href=H.url,S.href=S.href,H.crossDomain=_i.protocol+"//"+_i.host!=S.protocol+"//"+S.host}catch{H.crossDomain=!0}}if(H.data&&H.processData&&typeof H.data!="string"&&(H.data=c.param(H.data,H.traditional)),bt(on,H,n,p),x)return p;O=c.event&&H.global,O&&c.active++===0&&c.event.trigger("ajaxStart"),H.type=H.type.toUpperCase(),H.hasContent=!zt.test(H.type),u=H.url.replace(Di,""),H.hasContent?H.data&&H.processData&&(H.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(H.data=H.data.replace(nn,"+")):(U=H.url.slice(u.length),H.data&&(H.processData||typeof H.data=="string")&&(u+=(Ti.test(u)?"&":"?")+H.data,delete H.data),H.cache===!1&&(u=u.replace(xn,"$1"),U=(Ti.test(u)?"&":"?")+"_="+en.guid+++U),H.url=u+U),H.ifModified&&(c.lastModified[u]&&p.setRequestHeader("If-Modified-Since",c.lastModified[u]),c.etag[u]&&p.setRequestHeader("If-None-Match",c.etag[u])),(H.data&&H.hasContent&&H.contentType!==!1||n.contentType)&&p.setRequestHeader("Content-Type",H.contentType),p.setRequestHeader("Accept",H.dataTypes[0]&&H.accepts[H.dataTypes[0]]?H.accepts[H.dataTypes[0]]+(H.dataTypes[0]!=="*"?", "+Mi+"; q=0.01":""):H.accepts["*"]);for(W in H.headers)p.setRequestHeader(W,H.headers[W]);if(H.beforeSend&&(H.beforeSend.call(B,p,H)===!1||x))return p.abort();if(Ee="abort",ae.add(H.complete),p.done(H.success),p.fail(H.error),o=bt(yt,H,n,p),!o)m(-1,"No Transport");else{if(p.readyState=1,O&&oe.trigger("ajaxSend",[p,H]),x)return p;H.async&&H.timeout>0&&(v=a.setTimeout(function(){p.abort("timeout")},H.timeout));try{x=!1,o.send(Ve,m)}catch(b){if(x)throw b;m(-1,b)}}function m(b,D,K,Q){var q,ue,Pe,_e,Re,Le=D;x||(x=!0,v&&a.clearTimeout(v),o=void 0,d=Q||"",p.readyState=b>0?4:0,q=b>=200&&b<300||b===304,K&&(_e=yi(H,p,K)),!q&&c.inArray("script",H.dataTypes)>-1&&c.inArray("json",H.dataTypes)<0&&(H.converters["text script"]=function(){}),_e=An(H,_e,p,q),q?(H.ifModified&&(Re=p.getResponseHeader("Last-Modified"),Re&&(c.lastModified[u]=Re),Re=p.getResponseHeader("etag"),Re&&(c.etag[u]=Re)),b===204||H.type==="HEAD"?Le="nocontent":b===304?Le="notmodified":(Le=_e.state,ue=_e.data,Pe=_e.error,q=!Pe)):(Pe=Le,(b||!Le)&&(Le="error",b<0&&(b=0))),p.status=b,p.statusText=(D||Le)+"",q?me.resolveWith(B,[ue,Le,p]):me.rejectWith(B,[p,Le,Pe]),p.statusCode(Ue),Ue=void 0,O&&oe.trigger(q?"ajaxSuccess":"ajaxError",[p,H,q?ue:Pe]),ae.fireWith(B,[p,Le]),O&&(oe.trigger("ajaxComplete",[p,H]),--c.active||c.event.trigger("ajaxStop")))}return p},getJSON:function(e,n,o){return c.get(e,n,o,"json")},getScript:function(e,n){return c.get(e,void 0,n,"script")}}),c.each(["get","post"],function(e,n){c[n]=function(o,u,d,g){return E(u)&&(g=g||d,d=u,u=void 0),c.ajax(c.extend({url:o,type:n,dataType:g,data:u,success:d},c.isPlainObject(o)&&o))}}),c.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),c._evalUrl=function(e,n,o){return c.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(u){c.globalEval(u,n,o)}})},c.fn.extend({wrapAll:function(e){var n;return this[0]&&(E(e)&&(e=e.call(this[0])),n=c(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var o=this;o.firstElementChild;)o=o.firstElementChild;return o}).append(this)),this},wrapInner:function(e){return E(e)?this.each(function(n){c(this).wrapInner(e.call(this,n))}):this.each(function(){var n=c(this),o=n.contents();o.length?o.wrapAll(e):n.append(e)})},wrap:function(e){var n=E(e);return this.each(function(o){c(this).wrapAll(n?e.call(this,o):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){c(this).replaceWith(this.childNodes)}),this}}),c.expr.pseudos.hidden=function(e){return!c.expr.pseudos.visible(e)},c.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},c.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch{}};var Pn={0:200,1223:204},ai=c.ajaxSettings.xhr();C.cors=!!ai&&"withCredentials"in ai,C.ajax=ai=!!ai,c.ajaxTransport(function(e){var n,o;if(C.cors||ai&&!e.crossDomain)return{send:function(u,d){var g,v=e.xhr();if(v.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(g in e.xhrFields)v[g]=e.xhrFields[g];e.mimeType&&v.overrideMimeType&&v.overrideMimeType(e.mimeType),!e.crossDomain&&!u["X-Requested-With"]&&(u["X-Requested-With"]="XMLHttpRequest");for(g in u)v.setRequestHeader(g,u[g]);n=function(S){return function(){n&&(n=o=v.onload=v.onerror=v.onabort=v.ontimeout=v.onreadystatechange=null,S==="abort"?v.abort():S==="error"?typeof v.status!="number"?d(0,"error"):d(v.status,v.statusText):d(Pn[v.status]||v.status,v.statusText,(v.responseType||"text")!=="text"||typeof v.responseText!="string"?{binary:v.response}:{text:v.responseText},v.getAllResponseHeaders()))}},v.onload=n(),o=v.onerror=v.ontimeout=n("error"),v.onabort!==void 0?v.onabort=o:v.onreadystatechange=function(){v.readyState===4&&a.setTimeout(function(){n&&o()})},n=n("abort");try{v.send(e.hasContent&&e.data||null)}catch(S){if(n)throw S}},abort:function(){n&&n()}}}),c.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return c.globalEval(e),e}}}),c.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),c.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,o;return{send:function(u,d){n=c("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",o=function(g){n.remove(),o=null,g&&d(g.type==="error"?404:200,g.type)}),z.head.appendChild(n[0])},abort:function(){o&&o()}}}});var ln=[],wt=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ln.pop()||c.expando+"_"+en.guid++;return this[e]=!0,e}}),c.ajaxPrefilter("json jsonp",function(e,n,o){var u,d,g,v=e.jsonp!==!1&&(wt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&wt.test(e.data)&&"data");if(v||e.dataTypes[0]==="jsonp")return u=e.jsonpCallback=E(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,v?e[v]=e[v].replace(wt,"$1"+u):e.jsonp!==!1&&(e.url+=(Ti.test(e.url)?"&":"?")+e.jsonp+"="+u),e.converters["script json"]=function(){return g||c.error(u+" was not called"),g[0]},e.dataTypes[0]="json",d=a[u],a[u]=function(){g=arguments},o.always(function(){d===void 0?c(a).removeProp(u):a[u]=d,e[u]&&(e.jsonpCallback=n.jsonpCallback,ln.push(u)),g&&E(d)&&d(g[0]),g=d=void 0}),"script"}),C.createHTMLDocument=function(){var e=z.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),c.parseHTML=function(e,n,o){if(typeof e!="string")return[];typeof n=="boolean"&&(o=n,n=!1);var u,d,g;return n||(C.createHTMLDocument?(n=z.implementation.createHTMLDocument(""),u=n.createElement("base"),u.href=z.location.href,n.head.appendChild(u)):n=z),d=Xt.exec(e),g=!o&&[],d?[n.createElement(d[1])]:(d=Rt([e],n,g),g&&g.length&&c(g).remove(),c.merge([],d.childNodes))},c.fn.load=function(e,n,o){var u,d,g,v=this,S=e.indexOf(" ");return S>-1&&(u=tt(e.slice(S)),e=e.slice(0,S)),E(n)?(o=n,n=void 0):n&&typeof n=="object"&&(d="POST"),v.length>0&&c.ajax({url:e,type:d||"GET",dataType:"html",data:n}).done(function(x){g=arguments,v.html(u?c("<div>").append(c.parseHTML(x)).find(u):x)}).always(o&&function(x,O){v.each(function(){o.apply(this,g||[x.responseText,O,x])})}),this},c.expr.pseudos.animated=function(e){return c.grep(c.timers,function(n){return e===n.elem}).length},c.offset={setOffset:function(e,n,o){var u,d,g,v,S,x,O,W=c.css(e,"position"),U=c(e),H={};W==="static"&&(e.style.position="relative"),S=U.offset(),g=c.css(e,"to
373p"),x=c.css(e,"left"),O=(W==="absolute"||W==="fixed")&&(g+x).indexOf("auto")>-1,O?(u=U.position(),v=u.top,d=u.left):(v=parseFloat(g)||0,d=parseFloat(x)||0),E(n)&&(n=n.call(e,o,c.extend({},S))),n.top!=null&&(H.top=n.top-S.top+v),n.left!=null&&(H.left=n.left-S.left+d),"using"in n?n.using.call(e,H):U.css(H)}},c.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(d){c.offset.setOffset(this,e,d)});var n,o,u=this[0];if(!!u)return u.getClientRects().length?(n=u.getBoundingClientRect(),o=u.ownerDocument.defaultView,{top:n.top+o.pageYOffset,left:n.left+o.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var e,n,o,u=this[0],d={top:0,left:0};if(c.css(u,"position")==="fixed")n=u.getBoundingClientRect();else{for(n=this.offset(),o=u.ownerDocument,e=u.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&c.css(e,"position")==="static";)e=e.parentNode;e&&e!==u&&e.nodeType===1&&(d=c(e).offset(),d.top+=c.css(e,"borderTopWidth",!0),d.left+=c.css(e,"borderLeftWidth",!0))}return{top:n.top-d.top-c.css(u,"marginTop",!0),left:n.left-d.left-c.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&c.css(e,"position")==="static";)e=e.offsetParent;return e||At})}}),c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var o=n==="pageYOffset";c.fn[e]=function(u){return Fe(this,function(d,g,v){var S;if(L(d)?S=d:d.nodeType===9&&(S=d.defaultView),v===void 0)return S?S[n]:d[g];S?S.scrollTo(o?S.pageXOffset:v,o?v:S.pageYOffset):d[g]=v},e,u,arguments.length)}}),c.each(["top","left"],function(e,n){c.cssHooks[n]=Ui(C.pixelPosition,function(o,u){if(u)return u=Yt(o,n),Pt.test(u)?c(o).position()[n]+"px":u})}),c.each({Height:"height",Width:"width"},function(e,n){c.each({padding:"inner"+e,content:n,"":"outer"+e},function(o,u){c.fn[u]=function(d,g){var v=arguments.length&&(o||typeof d!="boolean"),S=o||(d===!0||g===!0?"margin":"border");return Fe(this,function(x,O,W){var U;return L(x)?u.indexOf("outer")===0?x["inner"+e]:x.document.documentElement["client"+e]:x.nodeType===9?(U=x.documentElement,Math.max(x.body["scroll"+e],U["scroll"+e],x.body["offset"+e],U["offset"+e],U["client"+e])):W===void 0?c.css(x,O,S):c.style(x,O,W,S)},n,v?d:void 0,v)}})}),c.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){c.fn[n]=function(o){return this.on(n,o)}}),c.fn.extend({bind:function(e,n,o){return this.on(e,null,n,o)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,o,u){return this.on(n,e,o,u)},undelegate:function(e,n,o){return arguments.length===1?this.off(e,"**"):this.off(n,e||"**",o)},hover:function(e,n){return this.mouseenter(e).mouseleave(n||e)}}),c.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){c.fn[n]=function(o,u){return arguments.length>0?this.on(n,null,o,u):this.trigger(n)}});var Sn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;c.proxy=function(e,n){var o,u,d;if(typeof n=="string"&&(o=e[n],n=e,e=o),!!E(e))return u=t.call(arguments,2),d=function(){return e.apply(n||this,u.concat(t.call(arguments)))},d.guid=e.guid=e.guid||c.guid++,d},c.holdReady=function(e){e?c.readyWait++:c.ready(!0)},c.isArray=Array.isArray,c.parseJSON=JSON.parse,c.nodeName=Xe,c.isFunction=E,c.isWindow=L,c.camelCase=gt,c.type=be,c.now=Date.now,c.isNumeric=function(e){var n=c.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},c.trim=function(e){return e==null?"":(e+"").replace(Sn,"$1")},I=[],N=function(){return c}.apply(G,I),N!==void 0&&($.exports=N);var Dt=a.jQuery,Tn=a.$;return c.noConflict=function(e){return a.$===c&&(a.$=Tn),e&&a.jQuery===c&&(a.jQuery=Dt),c},typeof M>"u"&&(a.jQuery=a.$=c),c})},11602:function($,G,I){var N=I(11602),a=function(M){"use strict";var r=Object.prototype,i=r.hasOwnProperty,t,s=typeof Symbol=="function"?Symbol:{},l=s.iterator||"@@iterator",h=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function w(Z,V,J){return Object.defineProperty(Z,V,{value:J,enumerable:!0,configurable:!0,writable:!0}),Z[V]}try{w({},"")}catch{w=function(V,J,se){return V[J]=se}}function P(Z,V,J,se){var re=V&&V.prototype instanceof ie?V:ie,Ce=Object.create(re.prototype),Se=new je(se||[]);return Ce._invoke=Gt(Z,J,Se),Ce}M.wrap=P;function k(Z,V,J){try{return{type:"normal",arg:Z.call(V,J)}}catch(se){return{type:"throw",arg:se}}}var y="suspendedStart",C="suspendedYield",E="executing",L="completed",z={};function ie(){}function ce(){}function be(){}var De={};De[l]=function(){return this};
373var c=Object.getPrototypeOf,Ze=c&&c(c(Be([])));Ze&&Ze!==r&&i.call(Ze,l)&&(De=Ze);var Oe=be.prototype=ie.prototype=Object.create(De);ce.prototype=Oe.constructor=be,be.constructor=ce,ce.displayName=w(be,f,"GeneratorFunction");function Ge(Z){["next","throw","return"].forEach(function(V){w(Z,V,function(J){return this._invoke(V,J)})})}M.isGeneratorFunction=function(Z){var V=typeof Z=="function"&&Z.constructor;return V?V===ce||(V.displayName||V.name)==="GeneratorFunction":!1},M.mark=function(Z){return Object.setPrototypeOf?Object.setPrototypeOf(Z,be):(Z.__proto__=be,w(Z,f,"GeneratorFunction")),Z.prototype=Object.create(Oe),Z},M.awrap=function(Z){return{__await:Z}};function xt(Z,V){function J(Ce,Se,Ne,Qe){var ge=k(Z[Ce],Z,Se);if(ge.type==="throw")Qe(ge.arg);else{var xe=ge.arg,Fe=xe.value;return Fe&&typeof Fe=="object"&&i.call(Fe,"__await")?V.resolve(Fe.__await).then(function(le){J("next",le,Ne,Qe)},function(le){J("throw",le,Ne,Qe)}):V.resolve(Fe).then(function(le){xe.value=le,Ne(xe)},function(le){return J("throw",le,Ne,Qe)})}}var se;function re(Ce,Se){function Ne(){return new V(function(Qe,ge){J(Ce,Se,Qe,ge)})}return se=se?se.then(Ne,Ne):Ne()}this._invoke=re}Ge(xt.prototype),xt.prototype[h]=function(){return this},M.AsyncIterator=xt,M.async=function(Z,V,J,se,re){re===void 0&&(re=Promise);var Ce=new xt(P(Z,V,J,se),re);return M.isGeneratorFunction(V)?Ce:Ce.next().then(function(Se){return Se.done?Se.value:Ce.next()})};function Gt(Z,V,J){var se=y;return function(Ce,Se){if(se===E)throw new Error("Generator is already running");if(se===L){if(Ce==="throw")throw Se;return we()}for(J.method=Ce,J.arg=Se;;){var Ne=J.delegate;if(Ne){var Qe=Xe(Ne,J);if(Qe){if(Qe===z)continue;return Qe}}if(J.method==="next")J.sent=J._sent=J.arg;else if(J.method==="throw"){if(se===y)throw se=L,J.arg;J.dispatchException(J.arg)}else J.method==="return"&&J.abrupt("return",J.arg);se=E;var ge=k(Z,V,J);if(ge.type==="normal"){if(se=J.done?L:C,ge.arg===z)continue;return{value:ge.arg,done:J.done}}else ge.type==="throw"&&(se=L,J.method="throw",J.arg=ge.arg)}}}function Xe(Z,V){var J=Z.iterator[V.method];if(J===t){if(V.delegate=null,V.method==="throw"){if(Z.iterator.return&&(V.method="return",V.arg=t,Xe(Z,V),V.method==="throw"))return z;V.method="throw",V.arg=new TypeError("The iterator does not provide a 'throw' method")}return z}var se=k(J,Z.iterator,V.arg);if(se.type==="throw")return V.method="throw",V.arg=se.arg,V.delegate=null,z;var re=se.arg;if(!re)return V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,z;if(re.done)V[Z.resultName]=re.value,V.next=Z.nextLoc,V.method!=="return"&&(V.method="next",V.arg=t);else return re;return V.delegate=null,z}Ge(Oe),w(Oe,f,"Generator"),Oe[l]=function(){return this},Oe.toString=function(){return"[object Generator]"};function Xt(Z){var V={tryLoc:Z[0]};1 in Z&&(V.catchLoc=Z[1]),2 in Z&&(V.finallyLoc=Z[2],V.afterLoc=Z[3]),this.tryEntries.push(V)}function Ye(Z){var V=Z.completion||{};V.type="normal",delete V.arg,Z.completion=V}function je(Z){this.tryEntries=[{tryLoc:"root"}],Z.forEach(Xt,this),this.reset(!0)}M.keys=function(Z){var V=[];for(var J in Z)V.push(J);return V.reverse(),function se(){for(;V.length;){var re=V.pop();if(re in Z)return se.value=re,se.done=!1,se}return se.done=!0,se}};function Be(Z){if(Z){var V=Z[l];if(V)return V.call(Z);if(typeof Z.next=="function")return Z;if(!isNaN(Z.length)){var J=-1,se=function re(){for(;++J<Z.length;)if(i.call(Z,J))return re.value=Z[J],re.done=!1,re;return re.value=t,re.done=!0,re};return se.next=se}}return{next:we}}M.values=Be;function we(){return{value:t,done:!0}}return je.prototype={constructor:je,reset:function(Z){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(Ye),!Z)for(var V in this)V.charAt(0)==="t"&&i.call(this,V)&&!isNaN(+V.slice(1))&&(this[V]=t)},stop:function(){this.done=!0;var Z=this.tryEntries[0],V=Z.completion;if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(Z){if(this.done)throw Z;var V=this;function J(Qe,ge){return Ce.type="throw",Ce.arg=Z,V.next=Qe,ge&&(V.method="next",V.arg=t),!!ge}for(var se=this.tryEntries.length-1;se>=0;--se){var re=this.tryEntries[se],Ce=re.completion;if(re.tryLoc==="root")return J("end");if(re.tryLoc<=this.prev){var Se=i.call(re,"catchLoc"),Ne=i.call(re,"finallyLoc");if(Se&&Ne){if(this.prev<re.catchLoc)return J(re.catchLoc,!0);if(this.prev<re.finallyLoc)return J(re.finallyLoc)}else if(Se){if(this.prev<re.catchLoc)return J(re.catchLoc,!0)}else if(Ne){if(this.prev<re.finallyLoc)return J(re.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Z,V){for(var J=this.tryEntries.length-1;J>=0;--J){var se=this.tryEntries[J];if(se.tryLoc<=this.prev&&i.call(se,"finallyLoc")&&this.prev<se.f
373inallyLoc){var re=se;break}}re&&(Z==="break"||Z==="continue")&&re.tryLoc<=V&&V<=re.finallyLoc&&(re=null);var Ce=re?re.completion:{};return Ce.type=Z,Ce.arg=V,re?(this.method="next",this.next=re.finallyLoc,z):this.complete(Ce)},complete:function(Z,V){if(Z.type==="throw")throw Z.arg;return Z.type==="break"||Z.type==="continue"?this.next=Z.arg:Z.type==="return"?(this.rval=this.arg=Z.arg,this.method="return",this.next="end"):Z.type==="normal"&&V&&(this.next=V),z},finish:function(Z){for(var V=this.tryEntries.length-1;V>=0;--V){var J=this.tryEntries[V];if(J.finallyLoc===Z)return this.complete(J.completion,J.afterLoc),Ye(J),z}},catch:function(Z){for(var V=this.tryEntries.length-1;V>=0;--V){var J=this.tryEntries[V];if(J.tryLoc===Z){var se=J.completion;if(se.type==="throw"){var re=se.arg;Ye(J)}return re}}throw new Error("illegal catch attempt")},delegateYield:function(Z,V,J){return this.delegate={iterator:Be(Z),resultName:V,nextLoc:J},this.method==="next"&&(this.arg=t),z}},M}($.exports);try{N=a}catch{Function("r","regeneratorRuntime = r")(a)}}}]);

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.