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/839.e052ce8b76f66b1becdc.js
(self.travelpayoutsWpPlugin=self.travelpayoutsWpPlugin||[]).push([[839],{99966:(t,e,n)=>{"use strict";var o=n(83448).charAt;t.exports=function(t,e,n){return e+(n?o(t,e).length:1)}},82331:(t,e,n)=>{"use strict";n(52077);var o=n(91175),i=n(1343),s=n(84861),r=n(63677),a=n(50211),c=n(72585),l=a("species"),u=RegExp.prototype;t.exports=function(t,e,n,p){var d=a(t),f=!r((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),h=f&&!r((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!f||!h||n){var g=o(/./[d]),m=e(d,""[t],(function(t,e,n,i,r){var a=o(t),c=e.exec;return c===s||c===u.exec?f&&!r?{done:!0,value:g(e,n,i)}:{done:!0,value:a(n,e,i)}:{done:!1}}));i(String.prototype,t,m[0]),i(u,d,m[1])}p&&c(u[d],"sham",!0)}},31189:(t,e,n)=>{var o=n(59413),i=n(56112),s=n(90930),r=n(52306),a=n(84861),c=TypeError;t.exports=function(t,e){var n=t.exec;if(s(n)){var l=o(n,t,e);return null!==l&&i(l),l}if("RegExp"===r(t))return o(a,t,e);throw c("RegExp#exec called on incompatible receiver")}},84861:(t,e,n)=>{"use strict";var o,i,s=n(59413),r=n(78240),a=n(64059),c=n(54276),l=n(94930),u=n(49197),p=n(43699),d=n(83278).get,f=n(42582),h=n(2910),g=u("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,y=r("".charAt),b=r("".indexOf),x=r("".replace),w=r("".slice),S=(i=/b*/g,s(m,o=/a/,"a"),s(m,i,"a"),0!==o.lastIndex||0!==i.lastIndex),k=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(S||E||k||f||h)&&(v=function(t){var e,n,o,i,r,l,u,f=this,h=d(f),I=a(t),T=h.raw;if(T)return T.lastIndex=f.lastIndex,e=s(v,T,I),f.lastIndex=T.lastIndex,e;var O=h.groups,L=k&&f.sticky,C=s(c,f),j=f.source,R=0,A=I;if(L&&(C=x(C,"y",""),-1===b(C,"g")&&(C+="g"),A=w(I,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y(I,f.lastIndex-1))&&(j="(?: "+j+")",A=" "+A,R++),n=new RegExp("^(?:"+j+")",C)),E&&(n=new RegExp("^"+j+"$(?!\\s)",C)),S&&(o=f.lastIndex),i=s(m,L?n:f,A),L?i?(i.input=w(i.input,R),i[0]=w(i[0],R),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:S&&i&&(f.lastIndex=f.global?i.index+i[0].length:o),E&&i&&i.length>1&&s(g,i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i&&O)for(i.groups=l=p(null),r=0;r<O.length;r++)l[(u=O[r])[0]]=i[u[1]];return i}),t.exports=v},54276:(t,e,n)=>{"use strict";var o=n(56112);t.exports=function(){var t=o(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},94930:(t,e,n)=>{var o=n(63677),i=n(22086).RegExp,s=o((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),r=s||o((function(){return!i("a","y").sticky})),a=s||o((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:r,UNSUPPORTED_Y:s}},42582:(t,e,n)=>{var o=n(63677),i=n(22086).RegExp;t.exports=o((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},2910:(t,e,n)=>{var o=n(63677),i=n(22086).RegExp;t.exports=o((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},52077:(t,e,n)=>{"use strict";var o=n(51695),i=n(84861);o({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},1203:(t,e,n)=>{"use strict";var o=n(59413),i=n(82331),s=n(56112),r=n(71858),a=n(24005),c=n(64059),l=n(69586),u=n(2964),p=n(99966),d=n(31189);i("match",(function(t,e,n){return[function(e){var n=l(this),i=r(e)?void 0:u(e,t);return i?o(i,e,n):new RegExp(e)[t](c(n))},function(t){var o=s(this),i=c(t),r=n(e,o,i);if(r.done)return r.value;if(!o.global)return d(o,i);var l=o.unicode;o.lastIndex=0;for(var u,f=[],h=0;null!==(u=d(o,i));){var g=c(u[0]);f[h]=g,""===g&&(o.lastIndex=p(i,a(o.lastIndex),l)),h++}return 0===h?null:f}]}))},42094:(t,e,n)=>{"use strict";function o(){if(!(this instanceof o))return new o;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}n.d(e,{f:()=>O,on:()=>T});var i=window.document.documentElement,s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector;o.prototype.matchesSelector=function(t,e){return s.call(t,e)},o.prototype.querySelectorAll=function(t,e){return e.querySelectorAll(t)},o.prototype.indexes=[];var r=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"ID",selector:function(t){var e;if(e=t.match(r))return e[0].slice(1)},element:function(t){if(t.id)return[t.id]}});var a=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"CLASS",selector:function(t){var e;if(e=t.match(a))return e[0].slice(1)},element:function(t){var e=t.className;if(e){if("string"==typeof e)return e.split(/\s/);if("object"==typeof e&&"baseVal"in e)return e.baseVal.split(/\s/)}}});var c,l=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"TAG",selector:function(t){var e;if(e=t.match(l))return e[0].toUpperCase()},element:function(t){return[t.nodeName.toUpperCase()]}}),o.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},c="function"==typeof window.Map?window.Map:function(){function t(){this.map={}}return t.prototype.get=function(t){return this.map[t+" "]},t.prototype.set=function(t,e){this.map[t+" "]=e},t}();var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function p(t,e){var n,o,i,s,r,a,c=(t=t.slice(0).concat(t.default)).length,l=e,p=[];do{if(u.exec(""),(i=u.exec(l))&&(l=i[3],i[2]||!l))for(n=0;n<c;n++)if(r=(a=t[n]).selector(i[1])){for(o=p.length,s=!1;o--;)if(p[o].index===a&&p[o].key===r){s=!0;break}s||p.push({index:a,key:r});break}}while(i);return p}function d(t,e){var n,o,i;for(n=0,o=t.length;n<o;n++)if(i=t[n],e.isPrototypeOf(i))return i}function f(t,e){return t.id-e.id}o.prototype.logDefaultIndexUsed=function(){},o.prototype.add=function(t,e){var n,o,i,s,r,a,l,u,f=this.activeIndexes,h=this.selectors,g=this.selectorObjects;if("string"==typeof t){for(g[(n={id:this.uid++,selector:t,data:e}).id]=n,l=p(this.indexes,t),o=0;o<l.length;o++)s=(u=l[o]).key,(r=d(f,i=u.index))||((r=Object.create(i)).map=new c,f.push(r)),i===this.indexes.default&&this.logDefaultIndexUsed(n),(a=r.map.get(s))||(a=[],r.map.set(s,a)),a.push(n);this.size++,h.push(t)}},o.prototype.remove=function(t,e){if("string"==typeof t){var n,o,i,s,r,a,c,l,u=this.activeIndexes,d=this.selectors=[],f=this.selectorObjects,h={},g=1===arguments.length;for(n=p(this.indexes,t),i=0;i<n.length;i++)for(o=n[i],s=u.length;s--;)if(a=u[s],o.index.isPrototypeOf(a)){if(c=a.map.get(o.key))for(r=c.length;r--;)(l=c[r]).selector!==t||!g&&l.data!==e||(c.splice(r,1),h[l.id]=!0);break}for(i in h)delete f[i],this.size--;for(i in f)d.push(f[i].selector)}},o.prototype.queryAll=function(t){if(!this.selectors.length)return[];var e,n,o,i,s,r,a,c,l={},u=[],p=this.querySelectorAll(this.selectors.join(", "),t);for(e=0,o=p.length;e<o;e++)for(s=p[e],n=0,i=(r=this.matches(s)).length;n<i;n++)l[(c=r[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(s);return u.sort(f)},o.prototype.matches=function(t){if(!t)return[];var e,n,o,i,s,r,a,c,l,u,p,d=this.activeIndexes,h={},g=[];for(e=0,i=d.length;e<i;e++)if(c=(a=d[e]).element(t))for(n=0,s=c.length;n<s;n++)if(l=a.map.get(c[n]))for(o=0,r=l.length;o<r;o++)!h[p=(u=l[o]).id]&&this.matchesSelector(t,u.selector)&&(h[p]=!0,g.push(u));return g.sort(f)};var h={},g={},m=new WeakMap,v=new WeakMap,y=new WeakMap,b=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function x(t,e,n){var o=t[e];return t[e]=function(){return n.apply(t,arguments),o.apply(t,arguments)},t}function w(){m.set(this,!0)}function S(){m.set(this,!0),v.set(this,!0)}function k(){return y.get(this)||null}function E(t,e){b&&Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:e||b.get})}function I(t){if(function(t){try{return t.eventPhase,!0}catch(t){return!1}}(t)){var e=(1===t.eventPhase?g:h)[t.type];if(e){var n=function(t,e,n){var o=[],i=e;do{if(1!==i.nodeType)break;var s=t.matches(i);if(s.length){var r={node:i,observers:s};n?o.unshift(r):o.push(r)}}while(i=i.parentElement);return o}(e,t.target,1===t.eventPhase);if(n.length){x(t,"stopPropagation",w),x(t,"stopImmediatePropagation",S),E(t,k);for(var o=0,i=n.length;o<i&&!m.get(t);o++){var s=n[o];y.set(t,s.node);for(var r=0,a=s.observers.length;r<a&&!v.get(t);r++)s.observers[r].data.call(s.node,t)}y.delete(t),E(t)}}}}function T(t,e,n){var i=!!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).capture,s=i?g:h,r=s[t];r||(r=new o,s[t]=r,document.addEventListener(t,I,i)),r.add(e,n)}function O(t,e,n){return t.dispatchEvent(new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n}))}},86706:function(t,e){"use strict";var n,o,i;!function(s,r){if("object"==typeof t.exports){if(!s.document)throw new Error("HC-Sticky requires a browser to run.");t.exports=r(s)}else o=[],n=r(s),void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)}("undefined"!=typeof window?window:this,(function(t){var e,n,o=t.document,i={top:0,bottom:0,bottomEnd:0,innerTop:0,innerSticker:null,stickyClass:"sticky",stickTo:null,followScroll:!0,responsive:null,mobileFirst:!1,onStart:null,onStop:null,onBeforeResize:null,onResize:null,resizeDebounce:100,disable:!1},s=function(t,e,n){console.warn("%cHC Sticky:%c "+n+"%c '"+t+"'%c is now deprecated and will be removed. Use%c '"+e+"'%c instead.","color: #fa253b","color: default","color: #5595c6","color: default","color: #5595c6","color: default")},r=function(e,n){var a=this;if(n=n||{},!(e="string"==typeof e?o.querySelector(e):e))return!1;n.queries&&s("queries","responsive","option"),n.queryFlow&&s("queryFlow","mobileFirst","option");var c={},l=r.Helpers,u=e.parentNode;function p(t){l.isEmptyObject(t=t||{})&&!l.isEmptyObject(c)||(c=Object.assign({},i,c,t))}function d(){return c.disable}function f(){var e,o=c.responsive||c.queries;if(o){var s=t.innerWidth;if(e=n,(c=Object.assign({},i,e||{})).mobileFirst)for(var r in o)r<=s&&!l.isEmptyObject(o[r])&&p(o[r]);else{var a,u=[];for(a in o){var d={};d[a]=o[a],u.push(d)}for(var f=u.length-1;0<=f;f--){var h=u[f],g=Object.keys(h)[0];s<=g&&!l.isEmptyObject(h[g])&&p(h[g])}}}}function h(){P=q(),k=F(),A=E+k-O-j,N=T<P;var n,i=t.pageYOffset||o.documentElement.scrollTop,s=l.offset(e).top,r=s-i;M=i<W?"up":"down",B=i-W,R<(W=i)?A+O+(N?L:0)-(c.followScroll&&N?0:O)<=i+P-C-(T-(R-C)<P-C&&c.followScroll&&0<(n=P-T-C)?n:0)?_.release({position:"absolute",bottom:I+u.offsetHeight-A-O}):N&&c.followScroll?"down"==M?r+P+L<=T+.9?_.stick({bottom:L}):"fixed"===_.position&&_.release({position:"absolute",top:s-O-R-B+C}):Math.ceil(r+C)<0&&"fixed"===_.position?_.release({position:"absolute",top:s-O-R+C-B}):i+O-C<=s&&_.stick({top:O-C}):_.stick({top:O-C}):_.release({stop:!0})}function g(){D&&(t.removeEventListener("scroll",h,l.supportsPassive),D=!1)}function m(){null!==e.offsetParent&&"none"!==l.getStyle(e,"display")?(function(){var n,i,s,r;_.css=(n=e,i=l.getCascadedStyle(n),s=l.getStyle(n),r={height:n.offsetHeight+"px",left:i.left,right:i.right,top:i.top,bottom:i.bottom,position:s.position,display:s.display,verticalAlign:s.verticalAlign,boxSizing:s.boxSizing,marginLeft:i.marginLeft,marginRight:i.marginRight,marginTop:i.marginTop,marginBottom:i.marginBottom,paddingLeft:i.paddingLeft,paddingRight:i.paddingRight},i.float&&(r.float=i.float||"none"),i.cssFloat&&(r.cssFloat=i.cssFloat||"none"),s.MozBoxSizing&&(r.MozBoxSizing=s.MozBoxSizing),r.width="auto"!==i.width?i.width:"border-box"===r.boxSizing||"border-box"===r.MozBoxSizing?n.offsetWidth+"px":s.width,r),H.init(),x=!(!c.stickTo||!("document"===c.stickTo||c.stickTo.nodeType&&9===c.stickTo.nodeType||"object"==typeof c.stickTo&&c.stickTo instanceof("undefined"!=typeof HTMLDocument?HTMLDocument:Document))),w=c.stickTo?x?o:l.getElement(c.stickTo):u,P=(q=function(){var t=e.offsetHeight+(parseInt(_.css.marginTop)||0)+(parseInt(_.css.marginBottom)||0),n=(P||0)-t;return-1<=n&&n<=1?P:t})(),k=(F=function(){return x?Math.max(o.documentElement.clientHeight,o.body.scrollHeight,o.documentElement.scrollHeight,o.body.offsetHeight,o.documentElement.offsetHeight):w.offsetHeight})(),E=x?0:l.offset(w).top,I=c.stickTo?x?0:l.offset(u).top:E,T=t.innerHeight,z=e.offsetTop-(parseInt(_.css.marginTop)||0),S=l.getElement(c.innerSticker),O=isNaN(c.top)&&-1<c.top.indexOf("%")?parseFloat(c.top)/100*T:c.top,L=isNaN(c.bottom)&&-1<c.bottom.indexOf("%")?parseFloat(c.bottom)/100*T:c.bottom,C=S?S.offsetTop:c.innerTop||0,j=isNaN(c.bottomEnd)&&-1<c.bottomEnd.indexOf("%")?parseFloat(c.bottomEnd)/100*T:c.bottomEnd,R=E-O+C+z}(),k<P?g():(h(),D||(t.addEventListener("scroll",h,l.supportsPassive),D=!0))):g()}function v(){e.style.position="",e.style.left="",e.style.top="",e.style.bottom="",e.style.width="",e.classList?e.classList.remove(c.stickyClass):e.className=e.className.replace(new RegExp("(^|\\b)"+c.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),_.css={},!(_.position=null)===H.isAttached&&H.detach()}function y(){v(),f(),(d()?g:m)()}function b(){U&&(t.removeEventListener("resize",$,l.supportsPassive),U=!1),g()}"static"===l.getStyle(u,"position")&&(u.style.position="relative");var x,w,S,k,E,I,T,O,L,C,j,R,A,N,P,z,F,q,B,M,_={css:{},position:null,stick:function(t){t=t||{},l.hasClass(e,c.stickyClass)||(!1===H.isAttached&&H.attach(),_.position="fixed",e.style.position="fixed",e.style.left=H.offsetLeft+"px",e.style.width=H.width,void 0===t.bottom?e.style.bottom="auto":e.style.bottom=t.bottom+"px",void 0===t.top?e.style.top="auto":e.style.top=t.top+"px",e.classList?e.classList.add(c.stickyClass):e.className+=" "+c.stickyClass,c.onStart&&c.onStart.call(e,Object.assign({},c)))},release:function(t){var n;(t=t||{}).stop=t.stop||!1,!0!==t.stop&&"fixed"!==_.position&&null!==_.position&&(void 0===t.top&&void 0===t.bottom||void 0!==t.top&&(parseInt(l.getStyle(e,"top"))||0)===t.top||void 0!==t.bottom&&(parseInt(l.getStyle(e,"bottom"))||0)===t.bottom)||(!0===t.stop?!0===H.isAttached&&H.detach():!1===H.isAttached&&H.attach(),n=t.position||_.css.position,_.position=n,e.style.position=n,e.style.left=!0===t.stop?_.css.left:H.positionLeft+"px",e.style.width=("absolute"!==n?_.css:H).width,void 0===t.bottom?e.style.bottom=!0===t.stop?"":"auto":e.style.bottom=t.bottom+"px",void 0===t.top?e.style.top=!0===t.stop?"":"auto":e.style.top=t.top+"px",e.classList?e.classList.remove(c.stickyClass):e.className=e.className.replace(new RegExp("(^|\\b)"+c.stickyClass.split(" ").join("|")+"(\\b|$)","gi")," "),c.onStop&&c.onStop.call(e,Object.assign({},c)))}},H={el:o.createElement("div"),offsetLeft:null,positionLeft:null,width:null,isAttached:!1,init:function(){for(var t in H.el.className="sticky-spacer",_.css)H.el.style[t]=_.css[t];H.el.style["z-index"]="-1";var n=l.getStyle(e);H.offsetLeft=l.offset(e).left-(parseInt(n.marginLeft)||0),H.positionLeft=l.position(e).left,H.width=l.getStyle(e,"width")},attach:function(){u.insertBefore(H.el,e),H.isAttached=!0},detach:function(){H.el=u.removeChild(H.el),H.isAttached=!1}},W=t.pageYOffset||o.documentElement.scrollTop,D=!1,U=!1,V=function(){c.onBeforeResize&&c.onBeforeResize.call(e,Object.assign({},c)),y(),c.onResize&&c.onResize.call(e,Object.assign({},c))},$=c.resizeDebounce?l.debounce(V,c.resizeDebounce):V;V=function(){U||(t.addEventListener("resize",$,l.supportsPassive),U=!0),f(),(d()?g:m)()};this.options=function(t){return t?c[t]:Object.assign({},c)},this.refresh=y,this.update=function(t){p(t),n=Object.assign({},n,t||{}),y()},this.attach=V,this.detach=b,this.destroy=function(){b(),v()},this.triggerMethod=function(t,e){"function"==typeof a[t]&&a[t](e)},this.reinit=function(){s("reinit","refresh","method"),y()},p(n),V(),t.addEventListener("load",y)};return void 0!==t.jQuery&&(e=t.jQuery,n="hcSticky",e.fn.extend({hcSticky:function(t,o){return this.length?"options"===t?e.data(this.get(0),n).options():this.each((function(){var i=e.data(this,n);i?i.triggerMethod(t,o):(i=new r(this,t),e.data(this,n,i))})):this}})),t.hcSticky=t.hcSticky||r,r})),function(t){var e=t.hcSticky,n=t.document;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i)for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},writable:!0,configurable:!0}),Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,n;if(null==this)throw new TypeError("this is null or not defined");var o,i=Object(this),s=i.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(1<arguments.length&&(e=arguments[1]),n=0;n<s;)n in i&&(o=i[n],t.call(e,o,n,i)),n++});var o=!1;try{var i=Object.defineProperty({},"passive",{get:function(){o={passive:!1}}});t.addEventListener("testPassive",null,i),t.removeEventListener("testPassive",null,i)}catch(e){}function s(e,o){return t.getComputedStyle?o?n.defaultView.getComputedStyle(e,null).getPropertyValue(o):n.defaultView.getComputedStyle(e,null):e.currentStyle?o?e.currentStyle[o.replace(/-\w/g,(function(t){return t.toUpperCase().replace("-","")}))]:e.currentStyle:void 0}function r(e){var o=e.getBoundingClientRect(),i=t.pageYOffset||n.documentElement.scrollTop;e=t.pageXOffset||n.documentElement.scrollLeft;return{top:o.top+i,left:o.left+e}}e.Helpers={supportsPassive:o,isEmptyObject:function(t){for(var e in t)return!1;return!0},debounce:function(t,e,n){var o;return function(){var i=this,s=arguments,r=n&&!o;clearTimeout(o),o=setTimeout((function(){o=null,n||t.apply(i,s)}),e),r&&t.apply(i,s)}},hasClass:function(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)},offset:r,position:function(t){var e=r(o=t.offsetParent),n=r(t),o=s(o);t=s(t);return e.top+=parseInt(o.borderTopWidth)||0,e.left+=parseInt(o.borderLeftWidth)||0,{top:n.top-e.top-(parseInt(t.marginTop)||0),left:n.left-e.left-(parseInt(t.marginLeft)||0)}},getElement:function(e){var o=null;return"string"==typeof e?o=n.querySelector(e):t.jQuery&&e instanceof t.jQuery&&e.length?o=e[0]:e instanceof Element&&(o=e),o},getStyle:s,getCascadedStyle:function(e){var o,i=e.cloneNode(!0);i.style.display="none",Array.prototype.slice.call(i.querySelectorAll('input[type="radio"]')).forEach((function(t){t.removeAttribute("name")})),e.parentNode.insertBefore(i,e.nextSibling),i.currentStyle?o=i.currentStyle:t.getComputedStyle&&(o=n.defaultView.getComputedStyle(i,null));var s,r,a,c={};for(s in o)!isNaN(s)||"string"!=typeof o[s]&&"number"!=typeof o[s]||(c[s]=o[s]);if(Object.keys(c).length<3)for(var l in c={},o)isNaN(l)||(c[o[l].replace(/-\w/g,(function(t){return t.toUpperCase().replace("-","")}))]=o.getPropertyValue(o[l]));return c.margin||"auto"!==c.marginLeft?c.margin||c.marginLeft!==c.marginRight||c.marginLeft!==c.marginTop||c.marginLeft!==c.marginBottom||(c.margin=c.marginLeft):c.margin="auto",c.margin||"0px"!==c.marginLeft||"0px"!==c.marginRight||(a=(r=e.offsetLeft-e.parentNode.offsetLeft)-(parseInt(c.left)||0)-(parseInt(c.right)||0),0!=(a=e.parentNode.offsetWidth-e.offsetWidth-r-(parseInt(c.right)||0)+(parseInt(c.left)||0)-a)&&1!=a||(c.margin="auto")),i.parentNode.removeChild(i),i=null,c}}}(window)},70302:t=>{t.exports={stylesInput:"styles-input__wtR6n",stylesWrapper:"styles-wrapper__MpIza",stylesCloseButton:"styles-close-button__vfqPW"}},52169:(t,e,n)=>{"use strict";n.d(e,{I:()=>o,z:()=>i});n(52077),n(1203);class o{constructor(){this.isRegistered=!1,this.context={},this.trackStructEvent=t=>{const{category:e,action:n,label:o="",property:i="",value:s="",context:r={}}=t,{namespace:a,context:c,tracker:l}=this;if(l){l(a?`trackStructEvent:${a}`:"trackStructEvent",...[e,n,o,i,s,[Object.assign(Object.assign({},r),c)]])}else console.warn("SnowPlowTracker is not available")},this.getIsRegistered=()=>this.isRegistered,this.addTracker=t=>{const{domain:e,namespace:n,params:o}=t,{tracker:i}=this;i&&(i("newTracker",n,e,o),this.namespace=n)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}init(t,e={}){const{domain:n,appId:o,namespace:i="sp"}=t;return this.isRegistered=!0,new Promise((t=>{!function(t){if("undefined"!=typeof window&&"undefined"!=typeof document){var e,n,o=window,i=document,s="script",r="___travelpayoutsSnowplow";if(o[r])t&&t(o[r]);else{o.GSN=o.GSN||[],o.GSN.push(r),o[r]=function(){(o[r].q=o[r].q||[]).push(arguments)},o[r].q=o[r].q||[],e=i.createElement(s),n=i.getElementsByTagName(s)[0],e.onload=function(){t&&t(o[r])},e.async=1;var a=o.location.host,c=a.match("aviasales")||"vsepoka.ru"===a?"static.aviasales.com":"st.avsplow.com";e.src="//"+c+"/snowplow/latest/sp.js",void 0!==n&&n.parentNode.insertBefore(e,n)}o[r]}}((s=>{this.tracker=s,this.context=e,this.addTracker({namespace:i,domain:n,params:{appId:o,platform:"web"}}),t(!0)}))}))}}const i=()=>{var t;const e=o.getInstance();return e.getIsRegistered()?new Promise((t=>t(!0))):e.init({domain:"avsplow.com",appId:"tp_wp_plugin"},null===(t=window.travelpayoutsData)||void 0===t?void 0:t.context)}},99839:(t,e,n)=>{"use strict";n.r(e);var o=n(86706),i=n.n(o),s=n(65311),r=n.n(s);r()((function(){const t=r().redux,e=document.querySelector(".travelpayouts-admin");if(e&&t){if(document.querySelector(".redux-sidebar-wrapper")&&document.querySelector(".redux-main")){const n=()=>{const e=document.querySelector(".redux-group-tab-link-li.active>.redux-group-tab-link-a");if(e){const n=e.getAttribute("data-rel"),o=e.closest(".subsection");if(o&&(o.style.display="block"),n){const t=document.querySelector(`.redux-sections>.redux-group-tab[data-rel="${n}"]`);t&&(t.style.display="block")}setTimeout((()=>{t.initFields()}),1e3)}};(()=>{e.querySelectorAll('select[data-theme="default"]').forEach((t=>{t.setAttribute("data-theme","travelpayouts")}))})(),n();new(i())(".redux-sidebar-wrapper",{stickTo:".redux-main",stickyClass:"redux-sidebar-wrapper-sticked",top:0,innerTop:-42,responsive:{600:{top:0,innerTop:-10}}});r()(".travelpayouts-destroy").remove()}t.stickyInfo=()=>{const t=r()(window),e=r()(".redux-main");if(t&&e){const n=t.width(),o=e.offset(),i=e.outerWidth(),s=e.innerWidth();if(n&&o&&i&&s){const t=n-(o.left+i),a=s-20,c=r()("#redux-sticky"),l=c.offset();!e.isOnScreen()||r()("#info_bar").isOnScreen()||r()("#redux-footer-sticky").isOnScreen()?(r()("#redux-footer").css({position:"inherit",bottom:"inherit",width:"inherit"}),r()("#redux-sticky-padder").hide(),r()("#redux-footer").removeClass("sticky-footer-fixed")):(r()("#redux-footer").css({position:"fixed",bottom:"0",width:a,right:t}),r()("#redux-footer").addClass("sticky-footer-fixed"),l&&r()(".redux-save-warn").css({left:l.left,right:t}),r()("#redux-sticky-padder").show()),r()("#info_bar").isOnScreen()?c.removeClass("sticky-save-warn"):c.addClass("sticky-save-warn")}}}}}));var a=n(42094),c=n(70302);const l="data-previous-value",u="data-is-changed",p="placeholder",d=t=>{const e=t=>{const e=t.target;if(e){const t=e.value,n=e.getAttribute(p)||"";e.setAttribute(l,e.value),t.length||(e.value=n)," "===t&&(e.value="")}},n=t=>{const e=t.target;if(e){const t=e.value,n=e.getAttribute(p)||"",o=e.getAttribute(u),i=e.getAttribute(l);!o&&i?e.value=i:t===n&&(e.value=""),e.removeAttribute(u)}},o=t=>{const e=t.target;e&&e.setAttribute(u,"true")};t.forEach((t=>{const i=document.createElement("div");if(t.parentNode){t.parentNode.insertBefore(i,t);const s=document.createElement("div");s.classList.add(c.stylesCloseButton),i.appendChild(t),i.append(s),i.classList.add(c.stylesWrapper);const r=i.querySelector("input");r&&(r.classList.add(c.stylesInput),r.addEventListener("focus",e),r.addEventListener("blur",n),r.addEventListener("keydown",o),s.addEventListener("click",(t=>()=>{const e=new Event("change",{bubbles:!0});t.value=" ",t.dispatchEvent(e)})(r)))}}))};var f=n(52169);const h="reduxFramework:onChangeFields";class g{constructor(){this.init=()=>{const{bindEvents:t}=this;t()},this.bindEvents=()=>{const{onChangeReduxFields:t}=this;r()(document.body).on("check_dependencies",(()=>t()))},this.debounceFn=(t,e,n=!1)=>{let o;return(...i)=>{o&&clearTimeout(o),o=setTimeout((()=>{o=null,n||t.apply(this,i)}),e),n&&!o&&t.apply(this,[...i])}},this.onChangeReduxFields=this.debounceFn((()=>{(0,a.f)(document.body,h)}),500)}}r()((()=>{(new g).init();const t=document.querySelectorAll("input.input-with-placeholder");d(t),(0,f.z)().then((()=>{f.I.getInstance().trackStructEvent({label:"Admin",action:"page_view",category:"View"})}))}))}}]);