HEX
Server: nginx/1.24.0
System: Linux 19.178.153.160.host.secureserver.net 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: www-data (33)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /var/www/vedaholiday.com/wp-content/plugins/travelpayouts/assets/128.45ca22038f83eff55706.js
"use strict";(self.travelpayoutsWpPlugin=self.travelpayoutsWpPlugin||[]).push([[128],{42094:(e,t,n)=>{function r(){if(!(this instanceof r))return new r;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}n.d(t,{f:()=>P,on:()=>O});var o=window.document.documentElement,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector;r.prototype.matchesSelector=function(e,t){return i.call(e,t)},r.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},r.prototype.indexes=[];var s=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;r.prototype.indexes.push({name:"ID",selector:function(e){var t;if(t=e.match(s))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var a=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;r.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(a))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var c,l=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;r.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(l))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),r.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},c="function"==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+" "]},e.prototype.set=function(e,t){this.map[e+" "]=t},e}();var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function d(e,t){var n,r,o,i,s,a,c=(e=e.slice(0).concat(e.default)).length,l=t,d=[];do{if(u.exec(""),(o=u.exec(l))&&(l=o[3],o[2]||!l))for(n=0;n<c;n++)if(s=(a=e[n]).selector(o[1])){for(r=d.length,i=!1;r--;)if(d[r].index===a&&d[r].key===s){i=!0;break}i||d.push({index:a,key:s});break}}while(o);return d}function h(e,t){var n,r,o;for(n=0,r=e.length;n<r;n++)if(o=e[n],t.isPrototypeOf(o))return o}function p(e,t){return e.id-t.id}r.prototype.logDefaultIndexUsed=function(){},r.prototype.add=function(e,t){var n,r,o,i,s,a,l,u,p=this.activeIndexes,f=this.selectors,v=this.selectorObjects;if("string"==typeof e){for(v[(n={id:this.uid++,selector:e,data:t}).id]=n,l=d(this.indexes,e),r=0;r<l.length;r++)i=(u=l[r]).key,(s=h(p,o=u.index))||((s=Object.create(o)).map=new c,p.push(s)),o===this.indexes.default&&this.logDefaultIndexUsed(n),(a=s.map.get(i))||(a=[],s.map.set(i,a)),a.push(n);this.size++,f.push(e)}},r.prototype.remove=function(e,t){if("string"==typeof e){var n,r,o,i,s,a,c,l,u=this.activeIndexes,h=this.selectors=[],p=this.selectorObjects,f={},v=1===arguments.length;for(n=d(this.indexes,e),o=0;o<n.length;o++)for(r=n[o],i=u.length;i--;)if(a=u[i],r.index.isPrototypeOf(a)){if(c=a.map.get(r.key))for(s=c.length;s--;)(l=c[s]).selector!==e||!v&&l.data!==t||(c.splice(s,1),f[l.id]=!0);break}for(o in f)delete p[o],this.size--;for(o in p)h.push(p[o].selector)}},r.prototype.queryAll=function(e){if(!this.selectors.length)return[];var t,n,r,o,i,s,a,c,l={},u=[],d=this.querySelectorAll(this.selectors.join(", "),e);for(t=0,r=d.length;t<r;t++)for(i=d[t],n=0,o=(s=this.matches(i)).length;n<o;n++)l[(c=s[n]).id]?a=l[c.id]:(a={id:c.id,selector:c.selector,data:c.data,elements:[]},l[c.id]=a,u.push(a)),a.elements.push(i);return u.sort(p)},r.prototype.matches=function(e){if(!e)return[];var t,n,r,o,i,s,a,c,l,u,d,h=this.activeIndexes,f={},v=[];for(t=0,o=h.length;t<o;t++)if(c=(a=h[t]).element(e))for(n=0,i=c.length;n<i;n++)if(l=a.map.get(c[n]))for(r=0,s=l.length;r<s;r++)!f[d=(u=l[r]).id]&&this.matchesSelector(e,u.selector)&&(f[d]=!0,v.push(u));return v.sort(p)};var f={},v={},g=new WeakMap,y=new WeakMap,m=new WeakMap,b=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function x(e,t,n){var r=e[t];return e[t]=function(){return n.apply(e,arguments),r.apply(e,arguments)},e}function w(){g.set(this,!0)}function S(){g.set(this,!0),y.set(this,!0)}function k(){return m.get(this)||null}function C(e,t){b&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:t||b.get})}function F(e){if(function(e){try{return e.eventPhase,!0}catch(e){return!1}}(e)){var t=(1===e.eventPhase?v:f)[e.type];if(t){var n=function(e,t,n){var r=[],o=t;do{if(1!==o.nodeType)break;var i=e.matches(o);if(i.length){var s={node:o,observers:i};n?r.unshift(s):r.push(s)}}while(o=o.parentElement);return r}(t,e.target,1===e.eventPhase);if(n.length){x(e,"stopPropagation",w),x(e,"stopImmediatePropagation",S),C(e,k);for(var r=0,o=n.length;r<o&&!g.get(e);r++){var i=n[r];m.set(e,i.node);for(var s=0,a=i.observers.length;s<a&&!y.get(e);s++)i.observers[s].data.call(i.node,e)}m.delete(e),C(e)}}}}function O(e,t,n){var o=!!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).capture,i=o?v:f,s=i[e];s||(s=new r,i[e]=s,document.addEventListener(e,F,o)),s.add(t,n)}function P(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}},37128:(e,t,n)=>{n.r(t);var r=n(65311),o=n.n(r),i=n(42094);const s="accordionContainer:opened",a="accordionContainer:closed";class c{constructor(){this.containerSelector=".redux-group-tab .travelpayouts-accordion",this.bindEvents=()=>{const{headerSelector:e,onToggleHeader:t,onOpen:n}=this;(0,i.on)("click",e,t),(0,i.on)(s,"body",n)},this.onOpen=e=>{const t="travelpayouts-accordion__content--init",{detail:{contentContainer:n}}=e;if(!n.hasClass(t)){const e=o().redux;e&&(e.initFields(),n.addClass(t))}},this.onToggleHeader=e=>{const{currentTarget:t}=e;if(t){const e=".travelpayouts-accordion__content",n="travelpayouts-accordion__header--visible",r=o()(t),c=r.hasClass(n),l=r.next(e),u={contentContainer:l};c?(r.removeClass(n),l.slideUp(100,(()=>(0,i.f)(document.body,a,u)))):(r.addClass(n),l.slideDown(100,(()=>(0,i.f)(document.body,s,u))))}},this.headerSelector=`${this.containerSelector} .travelpayouts-accordion__header`}init(){this.bindEvents()}}o()((()=>{(new c).init()}))}}]);