PageSourceSearch

https://www.markos.it/viaggi/wp-content/plugins/travelpayouts/assets/570.ec4a79188a64da304169.js

js markos.it collected 2026-10-02 14:11:41 UTC 5,593 bytes, 1 lines download raw bytes

1"use strict";(self.travelpayoutsWpPlugin=self.travelpayoutsWpPlugin||[]).push([[570],{41570:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});n(54162),n(4290),n(29068),n(82111),n(78837),n(32064),n(12493),n(42417),n(47562),n(85351),n(82825),n(28589),n(77047),n(81912),n(9120),n(12002),n(89185),n(1240),n(28471),n(54372),n(570),n(49834),n(63343),n(14439),n(17046);var r=n(83957),o=n.n(r),i=n(62039),u=n.n(i),a=n(62832),l=n.n(a),c=n(1884),p=n.n(c),s=n(76538),f=n.n(s),y=n(62688),b=n.n(y),v=n(63696),g=n(10685);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function P(e,t,n){return t=w(t),function(e,t){if(t&&("object"==d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,j()?Reflect.construct(t,n||[],w(e).constructor):t.apply(e,n))}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function S(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}var E=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),S(n=P(this,t,[e]),"setValueFromProps",function(){var e=n.props.value;if(e)try{n.setState({value:JSON.parse(e)})}catch(e){return!1}return!1}),S(n,"handleChange",function(e){var t=window.redux_change,r=n._autocompleteContainer;n.setState({value:e}),t&&r&&t(r.current)}),S(n,"loadOptions",function(e){return(0,n.debounced)(e)}),S(n,"handleInputChange",function(e){var t=e.toLowerCase();return n.setState({inputValue:t}),t}),S(n,"compileUrl",function(e){var t=n,r=t.compileTemplate,o=t.props.url,i=void 0===o?"":o;return console.log(i),r(i,{query:e})}),S(n,"filterOptions",function(e){var t=n,r=t.compileTemplate,i=t.compileUrl,u=t.props,a=u.optionLabel,c=void 0===a?"":a,p=u.sourcePath;if(!e.length)return[];var s=i(e);return o().get(s).then(function(e){var t=e.status,n=e.data;return 200===t?(p?l()(n,p,[]):n).map(function(e){var t=h(h({},e),{},{get:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return l()(e,t,n)},has:function(t){return l()(e,t)}});return h(h({},e),{},{_label:r(c,t),_value:f()()})}):[]})}),S(n,"compileTemplate",function(e,t){return p()(e,{interpolate:/{{([\s\S]+?)}}/g})(t)}),n.state={value:null,inputValue:""},n._autocompleteContainer=v.createRef(),n.debounced=u()(n.filterOptions,300,{leading:!0}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.setValueFromProps()}},{key:"render",value:function(){var e=this.state.value,t=this.handleChange,n=this.loadOptions,r=this.handleInputChange,o=this._autocompleteContainer,i=this.props,u=i.noOptionsMessage,a=i.loadingMessage,l=i.inputId,c=i.inputName;return v.createElement("div",{ref:o},v.createElement(g.Ay,{className:"travelpayouts-autocomplete__container",classNamePrefix:"travelpayouts-autocomplete",value:e,loadOptions:n,defaultOptions:!0,onInputChange:r,onChange:t,getOptionLabel:function(e){var t=e._label;return void 0===t?"":t},getOptionValue:function(e){var t=e._value;return void 0===t?"":t},noOptionsMessage:function(e){return e.inputValue.length>=3?u:null},loadingMessage:function(e){return e.inputValue.length>=3?a:null}}),v.createElement("input",{id:l,name:c,type:"hidden",value:JSON.stringify(e)}))}}])&&O(n.prototype,r),i&&O(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(v.Component);E.propTypes={optionLabel:b().string.isRequired,url:b().string.isRequired,value:b().string,noOptionsMessage:b().string,loadingMessage:b().string,
1sourcePath:b().string,inputId:b().string,inputName:b().string,placeholder:b().string}}}]);

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.