callpage.js

https://cdn-widget.callpage.io/build/js/callpage.js?v=20260326

Analyzed: 3/26/2026, 11:10:44 PM

View Scan Result

Script Analysis Summary

Summary: callpage.js is a 804.3 KB external identified as jquery-ui v1.11.5. Contains 4460 functions with complexity score of 2403. SHA-256: dbf2de5378222a3a...

external804.3 KBjquery-ui v1.11.5ML Embeddings Available

Code Metrics

File Size
804.3 KB
Functions
4,460*
Complexity
2,403
AST Nodes
175,508
AST Depth
247
Function Calls
7,822
Normalized Size
216.2 KB

Code Analysis

API Usage

dom1793 calls
crypto60 calls
network135 calls

Control Flow

Functions1,225
Loops288
Conditionals1,067

String Statistics

Total Strings13,580
Unique Strings6,092
URLs Found21

Security Indicators

Uses eval()Crypto APIsEncoding Functions

Code Style

Lines of Code15
MinifiedYes

Obfuscation Analysis

No obfuscation data available

Library Detection

jquery-uiv1.11.5

Bundle Analysis

Not a bundled file

Copyright & License

License
MIT
Authors
Feross Aboukhadijeh <https://feross.org>, Chen, Yi-Cyuan [[email protected]], Feross Aboukhadijeh
Version (from header)
1.0.18
Copyright Notice
Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(139),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(28);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(16),r=n(9),a=n(66),o=n(143),s=n(29).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=a?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:o.f(t)})}},function(t,e,n){e.f=n(17)},function(t,e,n){var i=n(128),r=n(17)("iterator"),a=n(51);t.exports=n(9).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||a[i(t)]}},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e,n){"use strict";function i(t){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(r=function(t,e){if(!e&&t&&t.__esModule)return t;var r,o,s={__proto__:null,default:t};if(null===t||"object"!=i(t)&&"function"!=typeof t)return s;if(r=e?a:n){if(r.has(t))return r.get(t);r.set(t,s)}for(var u in t)"default"!==u&&{}.hasOwnProperty.call(t,u)&&((o=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,u))&&(o.get||o.set)?r(s,u,o):s[u]=t[u]);return s})(t,e)}function a(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n,i){if(n=n?l({},y,n):y,i=new m.default(i),t.country&&"001"!==t.country){if(!i.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));i.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)return t.phone||"";i.selectNumberingPlan(t.countryCallingCode)}var r,a=i.countryCallingCode(),o=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return o?(r=s(o,t.carrierCode,"NATIONAL",i,n),d(r,t.ext,i,n.formatExtension)):"";case"INTERNATIONAL":return o?(r=s(o,null,"INTERNATIONAL",i,n),r="+".concat(a," ").concat(r),d(r,t.ext,i,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(o);case"RFC3966":return(0,v.formatRFC3966)({number:"+".concat(a).concat(o),ext:t.ext});case"IDD":if(!n.fromCountry)return;var u=c(o,t.carrierCode,a,n.fromCountry,i);if(!u)return;return d(u,t.ext,i,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function s(t,e,n,i,r){var a=u(i.formats(),t);return a?(0,p.default)(t,a,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!r||!1!==r.nationalPrefix,carrierCode:e,metadata:i}):t}function u(t,e){return f(t,function(t){if(t.leadingDigitsPatterns().length>0){var n=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==e.search(n))return!1}return(0,h.default)(e,t.pattern())})}function d(t,e,n,i){return e?i(t,e,n):t}function c(t,e,n,i,r){if((0,m.getCountryCallingCode)(i,r.metadata)===n){var a=s(t,e,"NATIONAL",r);return"1"===n?n+" "+a:a}var o=(0,g.default)(i,void 0,r.metadata);if(o)return"".concat(o," ").concat(n," ").concat(s(t,null,"INTERNATIONAL",r))}function l(){for(var t=1,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(;t<n.length;){if(n[t])for(var r in n[t])n[0][r]=n[t][r];t++}return n[0]}function f(t,e){for(var n=0;n<t.length;){if(e(t[n]))return t[n];n++}}Object.defineProperty(e,"__esModule",{value:!0}),e.chooseFormatForNumber=u,e.default=o;var h=a(n(55)),p=a(n(237)),m=r(n(11)),g=a(n(642)),v=n(235),y={formatExtension:function(t,e,n){return"".concat(t).concat(n.ext()).concat(e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.getCountryCallingCode}});var i=n(11)},function(t,e,n){"use strict";function i(t,e){return o(t)||a(t,e)||u(t,e)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a,o,s=[],u=!0,d=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=a.call(n)).done)&&(s.push(i.value),s.length!==e);u=!0);}catch(t){d=!0,r=t}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(d)throw r}}return s}}function o(t){if(Array.isArray(t))return t}function s(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=u(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,e){if(t){if("string"==typeof t)return d(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function c(t){var e,n;t=t.replace(/^tel:/,"tel=");for(var r,a=s(t.split(";"));!(r=a()).done;){var o=r.value,u=o.split("="),d=i(u,2),c=d[0],l=d[1];switch(c){case"tel":e=l;break;case"ext":n=l;break;case"phone-context":"+"===l[0]&&(e=l+e)}}if(!(0,f.default)(e))return{};var h={number:e};return n&&(h.ext=n),h}function l(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}Object.defineProperty(e,"__esModule",{value:!0}),e.formatRFC3966=l,e.parseRFC3966=c;var f=function(t){return t&&t.__esModule?t:{default:t}}(n(71))},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n,i,r){if(!t)return{};var d;if("+"!==t[0]){var c=(0,a.default)(t,e||n,i,r);if(!c||c===t){if(e||n||i){var l=(0,o.default)(t,e,n,i,r),f=l.countryCallingCode,h=l.number;if(f)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:f,number:h}}return{number:t}}d=!0,t="+"+c}if("0"===t[1])return{};r=new s.default(r);for(var p=2;p-1<=u.MAX_LENGTH_COUNTRY_CODE&&p<=t.length;){var m=t.slice(1,p);if(r.hasCallingCode(m))return r.selectNumberingPlan(m),{countryCallingCodeSource:d?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:m,number:t.slice(p)};p++}return{}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var a=i(n(306)),o=i(n(302)),s=i(n(11)),u=n(22)},function(t,e,n){"use strict";function i(t,e,n){var i=n.useInternationalFormat,o=n.withNationalPrefix,s=(n.carrierCode,n.metadata,t.replace(new RegExp(e.pattern()),i?e.internationalFormat():o&&e.nationalPrefixFormattingRule()?e.format().replace(a,e.nationalPrefixFormattingRule()):e.format()));return i?(0,r.default)(s):s}Object.defineProperty(e,"__esModule",{value:!0}),e.FIRST_GROUP_PATTERN=void 0,e.default=i;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(301)),a=e.FIRST_GROUP_PATTERN=/(\$\d)/},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n){if(void 0===e&&(e={}),n=new o.default(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return a(t.phone||t.nationalNumber,t.country,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function a(t,e,n){switch((0,s.default)(t,e,n)){case"IS_POSSIBLE":return!0;default:return!1}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,e.isPossibleNumber=a;var o=i(n(11)),s=i(n(95))},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n){if(e=e||{},n=new a.default(n),n.selectNumberingPlan(t.country,t.countryCallingCode),n.hasTypes())return void 0!==(0,s.default)(t,e,n.metadata);var i=e.v2?t.nationalNumber:t.phone;return(0,o.default)(i,n.nationalNumberPattern())}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var a=i(n(11)),o=i(n(55)),s=i(n(98))},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(){var t=a(arguments),e=t.input,n=t.options,i=t.metadata;if(e.phone)return(0,s.default)(e,n,i)}function a(t){var e,n,i=t[0],r=t[1],a=t[2],s=t[3],c={};if("string"==typeof i)(0,u.default)(r)?(a?(c=r,n=a):n=r,e=(0,o.default)(i)?(0,d.default)(i,void 0,n):{}):(s?(c=a,n=s):n=a,e=(0,o.default)(i)?(0,d.default)(i,{defaultCountry:r},n):{});else{if(!(0,u.default)(i))throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");e=i,a?(c=r,n=a):n=r}return{input:e,options:c,metadata:n}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,e.normalizeArguments=a;var o=i(n(71)),s=i(n(98)),u=i(n(54)),d=i(n(56))},function(t,e,n){"use strict";function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function o(t){for(var e,n="",r=i(t.split(""));!(e=r()).done;){n+=s(e.value,n)||""}return n}function s(t,e,n){return"+"===t?e?void("function"==typeof n&&n("end")):"+":(0,u.parseDigit)(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o,e.parsePhoneNumberCharacter=s;var u=n(42)},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(){var t=(0,a.default)(arguments),e=t.text,n=t.options,i=t.metadata;return(0,o.default)(e,n,i)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var a=i(n(35)),o=i(n(653))},function(t,e,n){"use strict";var i=n(63),r=n.n(i),a=n(108),o=n.n(a),s=n(458),u=n(463),d=n(478),c=n(461),l=n(460),f=n(459),h=n(464),p=n(466),m=n(468),g=n(479),v=n(477),y=n(462),b=n(467),_=n(465);e.a={run:function(){return new r.a(function(t,e){o()([s.a,_.a,u.a,y.a,d.a,c.a,v.a,g.a,l.a,f.a,h.a,p.a,m.a,b.a],function(n){if(n)return e(n);t(null)})})}}},function(t,e,n){"use strict";n.d(e,"b",function(){return y}),n.d(e,"d",function(){return b}),n.d(e,"a",function(){return $});var i=n(75),r=n.n(i),a=n(3),o=n(101),s=n(122),u=n(243),d=n(267),c=n(547),l=n(10),f=n(0),h=n(37),p=n(269),m=n(48),g=n(15),v=n(446),y={"api.toggleVerbose":!0,"api.button.autoshow":!0,"api.strategies.freeze":!0,"api.scoring.toggle":!0},b={"api.hint.show":!0,"api.strategies.freeze":!0,"api.strategies.unfreeze":!0},_=function(t){return n.i(a.a)().dispatch("contactTypes/makeCall",{phone_number:t})},$=function(t){return new g.a.Vue({el:"#"+t.id,i18n:n.i(o.a)(),store:n.i(a.a)(),template:"<ScheduleDemoOutsideWidget/>",components:{ScheduleDemoOutsideWidget:v.a},mounted:function(){t.mounted&&t.mounted()}})};e.c={"api.button.autoshow":function(){n.i(m.a)()},"api.button.show":function(){n.i(a.a)().commit("button/IS_OPENED",!0)},"api.button.hide":function(){n.i(a.a)().commit("button/IS_OPENED",!1)},"api.scoring.setVariable":function(t){var e=s.a.getTriggers(),n=e.find(function(t){return"custom"===t.getType()});n&&n.setCustomValue(t)},"api.eyecatcher.show":function(){if(!n.i(a.a)().state.eyeCatcher.enabled)throw new Error("EyeCatcher feature is disabled.");n.i(a.a)().commit("eyeCatcher/IS_OPENED",{isOpened:!0})},"api.eyecatcher.hide":function(){if(!n.i(a.a)().state.eyeCatcher.enabled)throw new Error("EyeCatcher feature is disabled.");n.i(a.a)().commit("eyeCatcher/IS_OPENED",{isOpened:!1})},"api.widget.open":function(t){n.i(a.a)().commit("widget/IS_OPENED",!0)},"api.widget.close":function(){n.i(a.a)().commit("widget/IS_OPENED",!1)},"api.scoring.toggle":function(t){if("boolean"!=typeof t)throw new Error("Should be passed boolean but got "+t+" of type "+(void 0===t?"undefined":r()(t))+".");t?s.a.enable():s.a.disable()},"api.setDepartment":function(t){var e=n.i(a.a)().state.features.departments;if("number"!=typeof t)throw new Error("ID must be a number!");if(!e.list.some(function(e){return e.id===t}))throw new Error("There is no department with '"+t+"' id.");n.i(a.a)().commit("features/SET_DEPARTMENT_ID",t)},"api.setNumber":function(t){n.i(a.a)().commit("lead/SET_PHONE_NUMBER",{phoneNumber:t,isValid:!0})},"api.widget.call":function(t,e){t.tel||n.i(p.a)();var i=n.i(l.a)(),r=n.i(a.a)().state.customFields;if(i.department_id=t.department_id,i.phone_number=t.tel,n.i(a.a)().getters["features/departmentsEnabled"]&&!n.i(a.a)().getters["features/isDepartmentLast"](i.department_id))throw new Error("Should be specified id of the last department.");if(r.hasCustomFields&&n.i(a.a)().getters["customFields/hasCustomFieldsModeBefore"])throw new Error("This feature doesn't work if there are custom fields before contact type.");n.i(a.a)().dispatch("contactTypes/makeCall",i).then(function(t){"function"==typeof e&&e({id:t})}).catch(function(){return e(null)})},"api.widget.call-from-form":_,"api.widget.schedule":function(t,e){t.tel||n.i(p.a)();var i={tel:t.tel,phone_number:t.tel,department_id:t.department_id||null};n.i(a.a)().dispatch("contactTypes/scheduleCall",i).then(function(t){"function"==typeof e&&e({id:t})}).catch(function(){return e(null)})},"api.countdown.start":function(t,e,n){new c.a(t,e,n)},"api.update.translate":function(t){var e=n.i(f.c)(n.i(a.a)().state.texts),i=n.i(f.d)(e,t);n.i(a.a)().commit("texts/SET_TRANSLATIONS",i),n.i(o.a)().setLocaleMessage(n.i(o.a)().locale,i)},"api.widget.reload":function(){if(n.i(a.a)().state.widget.isOpened)throw new Error("The widget cannot reload while the one opened.");if(h.a.INITIALIZING)throw new Error("The widget cannot reload while the call is initializing.");if(h.a.IN_PROGRESS)throw new Error("The widget cannot reload while the call is in progress.");u.a.run().catch(function(t){return console.log(t)})},"api.widget.destroy":function(){if(n.i(a.a)().state.widget.isOpened)throw new Error("The widget cannot reload while the one opened.");if(h.a.INITIALIZING)throw new Error("The widget cannot be destroyed while the call is initializing.");if(h.a.IN_PROGRESS)throw new Error("The widget cannot be destroyed while the call is in progress.");d.a.run()},"api.load.outside-meetings":function(t){return $(t)}}},function(t,e,n){"use strict";function i(t){var e=p[t];if(!t)throw new Error("Method name is required. [ignore sentry]");if(m[t])throw new Error("Method '"+t+"' has been removed. [ignore sentry]");if(!e)throw new Error("Method '"+t+"' does not exist!");if(d.a.STARTER)throw new Error("CallPage Javascript API is not available on this plan. Upgrade your plan. [ignore sentry]");if(!d.a.FREE||h[t]){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return e.apply(void 0,i)}throw new Error("CallPage Javascript API is restricted to higher plans. Upgrade your plan. [ignore sentry]")}function r(){var t=window.callpage("__getQueue")||[];t.shift();for(var e=0;e<t.length;e++)i.apply(void 0,o()(t[e].arguments))}e.a=i,e.b=r;var a=n(59),o=n.n(a),s=n(1),u=n.n(s),d=n(103),c=n(244),l=n(483),f=n(482),h=u()({},c.b,l.a,f.a),p=u()({},c.c,l.b,f.b),m=u()({},c.d)},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";var t="millisecond",e="second",n="minute",i="hour",r="day",a="week",o="month",s="quarter",u="year",d="date",c="Invalid Date",l=/^(\d{4})[-\/]?(\d{1,2})?[-\/]?(\d{0,2})[Tt\s]

ML Analysis

CodeBERT (768d)GraphCodeBERT (768d)AST Features (128d)Handcrafted (64d)
Composite Vector1728 dimensions

Used for semantic similarity search across the database

Module Information

Module Pattern
script
Is Module
No