PageSourceSearch

https://eventsxtremepartyrentals.com/assets/store/hosted_store.js

js eventsxtremepartyrentals.com collected 2026-10-08 09:56:41 UTC 7,167 bytes, 141 lines download raw bytes

1loadjs=function(){function e(e,n){var t,r,i,c=[],o=(e=e.push?e:[e]).length,f=o;for(t=function(e,t){t.length&&c.push(e),--f||n(c)};o--;)r=e[o],(i=s[r])?t(r,i):(u[r]=u[r]||[]).push(t)}function n(e,n){if(e){var t=u[e];if(s[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function t(e,n,r,i){var o,s,u=document,f=r.async,a=(r.numRetries||0)+1,h=r.before||c;i=i||0,/(^css!|\.css$)/.test(e)?(o=!0,(s=u.createElement("link")).rel="stylesheet",s.href=e.replace(/^css!/,"")):((s=u.createElement("script")).src=e,s.async=void 0===f||f),s.onload=s.onerror=s.onbeforeload=function(c){var u=c.type[0];if(o&&"hideFocus"in s)try{s.sheet.cssText.length||(u="e")}catch(e){u="e"}if("e"==u&&(i+=1)<a)return t(e,n,r,i);n(e,u,c.defaultPrevented)},!1!==h(e,s)&&u.head.appendChild(s)}function r(e,n,r){var i,c,o=(e=e.push?e:[e]).length,s=o,u=[];for(i=function(e,t,r){if("e"==t&&u.push(e),"b"==t){if(!r)return;u.push(e)}--o||n(u)},c=0;c<s;c++)t(e[c],i,r)}function i(e,t,i){var s,u;if(t&&t.trim&&(s=t),u=(s?i:t)||{},s){if(s in o)throw"LoadJS";o[s]=!0}r(e,function(e){e.length?(u.error||c)(e):(u.success||c)(),n(s,e)},u)}var c=function(){},o={},s={},u={};return i.ready=function(n,t){return e(n,function(e){e.length?(t.error||c)(e):(t.success||c)()}),i},i.done=function(e){n(e,[])},i.reset=function(){o={},s={},u={}},i.isDefined=function(e){return e in o},i}();
2
3// Asset arrays
4var jsAssets = [
5  'https://cdn2.booqable.com/vite/assets/store_v2_hosted-Dr7X5o5L.js',
6  'https://cdn2.booqable.com/vite/assets/vendor-lodash-DAyt0Hex.js',
7  'https://cdn2.booqable.com/vite/assets/vendor-react-core-Dl9YK6SA.js',
8  'https://cdn2.booqable.com/vite/assets/vendor-i18next-BoDuIhCi.js',
9  'https://cdn2.booqable.com/vite/assets/install-B7uy0DZd.js',
10  'https://cdn2.booqable.com/vite/assets/vendor-react-dom-Ba-RRbHD.js',
11  'https://cdn2.booqable.com/vite/assets/vendor-redux-D3Nt5ruY.js',
12  'https://cdn2.booqable.com/vite/assets/vendor-immutable-Dbt-Uwjl.js',
13  'https://cdn2.booqable.com/vite/assets/reducer-CmgwycQJ.js',
14  'https://cdn2.booqable.com/vite/assets/index-BD7P69I0.js',
15  'https://cdn2.booqable.com/vite/assets/vendor-moment-Caf9ORFZ.js',
16  'https://cdn2.booqable.com/vite/assets/index-dlESZY-R.js',
17  'https://cdn2.booqable.com/vite/assets/vendor-styled-BO_bz0tL.js',
18  'https://cdn2.booqable.com/vite/assets/index-CK5Ot-4O.js',
19  'https://cdn2.booqable.com/vite/assets/createClient-5E2CT1dR.js',
20  'https://cdn2.booqable.com/vite/assets/vendor-router-Bi0iajcO.js',
21  'https://cdn2.booqable.com/vite/assets/index-B-lvnx-E.js',
22  'https://cdn2.booqable.com/vite/assets/sentry-DSukltju.js',
23  'https://cdn2.booqable.com/vite/assets/api-BgIdbkjW.js',
24  'https://cdn2.booqable.com/vite/assets/line_actions-DCX5wz4a.js',
25  'https://cdn2.booqable.com/vite/assets/vendor-utils-DwmMJ2E_.js',
26  'https://cdn2.booqable.com/vite/assets/index-CGheBWVx.js',
27  'https://cdn2.booqable.com/vite/assets/Img-2BBeud0J.js',
28  'https://cdn2.booqable.com/vite/assets/vendor-phone-CZWDjL-3.js',
29  'https://cdn2.booqable.com/vite/assets/no-product-image-ChI5Ky7l.js',
30  'https://cdn2.booqable.com/vite/assets/floating-ui.react-DEXrwWc5.js',
31  'https://cdn2.booqable.com/vite/assets/vendor-formik-BMXtylfF.js',
32  'https://cdn2.booqable.com/vite/assets/index-DcHKs9IW.js',
33  'https://cdn2.booqable.com/vite/assets/optimizeImageUrl-B77OTCFe.js',
34  'https://cdn2.booqable.com/vite/assets/useMediaQuery-C9UEIGmJ.js',
35  'https://cdn2.booqable.com/vite/assets/item_actions-XgfmEcEa.js',
36  'https://cdn2.booqable.com/vite/assets/couponErrors-DT-xjqeU.js',
37  'https://cdn2.booqable.com/vite/assets/useForm-CLTNlilY.js',
38  'https://cdn2.booqable.com/vite/assets/fetchWithCsrf-BYqRhuVw.js',
39  'https://cdn2.booqable.com/vite/assets/previewUrlComposer-B4STL0CU.js',
40  'https://cdn2.booqable.com/vite/assets/useLocations-aXobhS28.js',
41  'https://cdn2.booqable.com/vite/assets/useIsMobile-DcLgL0xh.js',
42  'https://cdn2.booqable.com/vite/assets/useOpeningHours-B-Jjv4Uy.js',
43  'https://cdn2.booqable.com/vite/assets/datePicker-DnjyHFk4.js',
44  'https://cdn2.booqable.com/vite/assets/user_framework-DsyZfY9c.js',
45  'https://cdn2.booqable.com/vite/assets/cookie_notice-BA2f0wCE.js',
46];
47
48var cssAssets = [
49  'https://cdn2.booqable.com/assets/store/client_v2-e67a74091766998c92b3423c9872c835bb4b7777239068272a23ac0a07a9aa9e.css',
50  'https://cdn2.booqable.com/vite/assets/index-BNpP6mum.css',
51];
52
53// Initialize options object if it doesn't exist
54if (typeof window.booqableOptions === 'undefined') {
55  window.booqableOptions = {};
56}
57
58// Set default options if not already provided
59function setOption(key, value) {
60  if (!window.booqableOptions[key]) {
61    window.booqableOptions[key] = value;
62  }
63}
64
65// Default settings
66setOption('locale', 'en');
67setOption('clientLocationJS', jsAssets);
68setOption('clientLocationCSS', cssAssets);
69setOption('environment', 'production');
70setOption('validation', JSON.parse('{"type":"domain","domain_dns":true,"subdomain_dns":true,"domain_request":true,"subdomain_request":true}'));
71setOption('primaryColor', '#136DEB');
72
73// Set slug from company slug if needed
74if (!window.booqableOptions['slug']) {
75  setOption('slug', "events-xtreme-party-rentals");
76}
77
78// Handle legacy company name property
79if (window.booqableOptions['companyName']) {
80  setOption('company', window.booqableOptions['company'] || window.booqableOptions['companyName']);
81}
82
83// Generate slug from company name if slug from company was not set
84if (window.booqableOptions['company'] && !window.booqableOptions['slug']) {
85  setOption('slug', window.booqableOptions['company'].toLowerCase().replace(/[^\w\s-_]+/g, '').replace(/\s+/g, '-'));
86}
87
88// Construct API URL if not already set but company name is provided
89if (!window.booqableOptions['apiURL']) {
90    setOption('apiURL', "https://eventsxtremepartyrentals.com");
91}
92
93// Add these options for testing purposes
94setOption('expectedApiURL', "eventsxtremepartyrentals.com");
95setOption('hasCustomDomain', true);
96
97// Store the custom domain verification status
98
99// Set test mode based on environment if not explicitly set
100if (!window.testMode) {
101  window.testMode = 'production' === 'test';
102}
103
104// Load JavaScript and CSS assets
105function loadBooqableAssets() {
106  loadjs(window.booqableOptions['clientLocationJS'], {
107    async: false,
108    before: function(path, scriptEl) {
109      scriptEl.charset = "UTF-8";
110      scriptEl.type = "module";
111      scriptEl.crossOrigin = "anonymous";
112    }
113  });
114
115  loadjs(window.booqableOptions['clientLocationCSS'], {
116    before: function(path, el) {
117      var insertBefore = document.head.getElementsByTagName('style')[0] || document.head.getElementsByTagName('script')[0];
118      document.head.insertBefore(el, insertBefore);
119      return false;
120    }
121  });
122}
123
124loadBooqableAssets();
125
126// Initialize apps and consent management after page load
127window.addEventListener('load', function() {
128  setTimeout(function() {
129    
130
131    // Initialize Booqable apps
132    if (typeof Booqable !== 'undefined' && Booqable._initApps) {
133      Booqable._initApps();
134
135      // Apply default consent if cookie consent module not present
136      if (typeof CookieConsent === 'undefined' && Booqable._consentToAllApps) {
137        Booqable._consentToAllApps();
138      }
139    }
140  });
141});

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.