@carbon/ibmdotcom-services 1.45.0-rc.0 → 1.45.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2023
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export { default as
|
|
8
|
+
export { default as KalturaPlayerAPI } from './KalturaPlayer';
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "KalturaPlayerAPI", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function get() {
|
|
10
10
|
return _KalturaPlayer.default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibmdotcom-services",
|
|
3
3
|
"description": "Carbon for IBM.com Services",
|
|
4
|
-
"version": "1.45.0-rc.
|
|
4
|
+
"version": "1.45.0-rc.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/runtime": "^7.5.0",
|
|
51
|
-
"@carbon/ibmdotcom-utilities": "1.45.0-rc.
|
|
51
|
+
"@carbon/ibmdotcom-utilities": "1.45.0-rc.2",
|
|
52
52
|
"@carbon/telemetry": "0.1.0",
|
|
53
53
|
"axios": "^0.27.2",
|
|
54
54
|
"marked": "^4.0.10",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"release": {
|
|
96
96
|
"branch": "main"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "6d9986fef044b4d28902adb45065732a7d9e4a9b"
|
|
99
99
|
}
|
|
@@ -5259,7 +5259,7 @@
|
|
|
5259
5259
|
exports.AnalyticsAPI = AnalyticsAPI$1;
|
|
5260
5260
|
exports.CloudAccountAuthAPI = CloudAccountAuthAPI$1;
|
|
5261
5261
|
exports.DDOAPI = DDOAPI$1;
|
|
5262
|
-
exports.
|
|
5262
|
+
exports.KalturaPlayerAPI = KalturaPlayerAPI$1;
|
|
5263
5263
|
exports.LocaleAPI = LocaleAPI$1;
|
|
5264
5264
|
exports.MarketingSearchAPI = MarketingSearchAPI$1;
|
|
5265
5265
|
exports.MastheadLogo = MastheadLogoAPI$1;
|
|
@@ -10,4 +10,4 @@ e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exp
|
|
|
10
10
|
*/
|
|
11
11
|
!function(e,t){var n;n=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var c="";for(var s in i)i[s]&&(c+="; "+s,!0!==i[s]&&(c+="="+i[s].split(";")[0]));return document.cookie=t+"="+n+c}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var c=i[a].split("="),s=c.slice(1).join("=");n||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var u=t(c[0]);if(s=(r.read||r)(s,u)||t(s),n)try{s=JSON.parse(s)}catch(e){}if(o[u]=s,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},e.exports=n()}(xt);var Et=xt.exports,St=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"checkCookie",value:function(){return{user:"1"===Et.get("com.ibm.cloud.iam.LoggedIn.prod")?"authenticated":"anonymous"}}},{key:"checkAPI",value:(t=m(w.mark((function e(){var t;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wt.get("/api/v6/selected-account?profile=true",{headers:{Accept:"application/json"}}).then((function(e){return 200===e.status?"authenticated":"anonymous"})).catch((function(e){return console.error(e),"anonymous"}));case 2:return t=e.sent,e.abrupt("return",{user:t});case 4:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}]),e}(),Ot=St,_t={version:"Carbon for IBM.com v1.45.0",stablePrefix:"dds"};var Tt,kt=50;function At(){return Tt||(Tt=new Promise((function(e,t){var n=0;!function r(){f.digitalData&&f.digitalData.page&&f.digitalData.page.isDataLayerReady?e():++n<kt?setTimeout((function(){r()}),100):t(new Error("Timeout polling for digital data object."))}()}))),Tt}var Lt=function(){function e(){o(this,e)}var t,n,r;return l(e,null,[{key:"isReady",value:function(){return At()}},{key:"getAll",value:(r=m(w.mark((function e(){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isReady().then((function(){return f.digitalData})).catch((function(){return null}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"setVersion",value:(n=m(w.mark((function e(){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isReady().then((function(){f.digitalData.page.pageInfo.version=_t.version}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getLanguage",value:(t=m(w.mark((function e(){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isReady().then((function(){return f.digitalData.page.pageInfo.language}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),Pt=Lt,Rt="https://1.www.s81c.com/common/carbon/plex",jt={ar:{entry:"sans-arabic",family:"IBM Plex Sans Arabic"},ja:{entry:"sans-jp",family:"IBM Plex Sans JP"},ko:{entry:"sans-kr",family:"IBM Plex Sans KR"}},Ct={100:"thin",200:"extralight",300:"light",400:"regular",450:"text",500:"medium",600:"semibold",700:"bold"};function It(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];jt[e]&&(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(0===t.length){var n=document.createElement("link");n.href="".concat(Rt,"/").concat(jt[e].entry,".css"),n.type="text/css",n.rel="stylesheet",n.media="screen,print",document.getElementsByTagName("head")[0].appendChild(n)}else t.forEach((function(t){var n=document.createElement("link");n.href="".concat(Rt,"/").concat(jt[e].entry,"-").concat(Ct[t],".css"),n.type="text/css",n.rel="stylesheet",n.media="screen,print",document.getElementsByTagName("head")[0].appendChild(n)}))}(e,t),function(e){document.body.style.fontFamily="".concat(jt[e].family,",IBM Plex Sans,Helvetica Neue,Arial,sans-serif")}(e))}var Nt={exports:{}},Dt={exports:{}},Mt={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(Mt),function(e){var t=Mt.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(Dt);var Ut={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(Ut);var Bt={exports:{}};!function(e){var t=Mt.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(Bt);var Ft={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(Ft),function(e){var t=Dt.exports,n=Ut.exports,r=Bt.exports,o=Ft.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(Nt);var Ht=n(Nt.exports);function Gt(e){return Gt="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},Gt(e)}function qt(){
|
|
12
12
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
13
|
-
qt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),c=new _(o||[]);return r(a,"_invoke",{value:x(e,n,c)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function p(){}function d(){}function h(){}var v={};s(v,i,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(T([])));m&&m!==t&&n.call(m,i)&&(v=m);var g=h.prototype=p.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(r,i,a,c){var s=l(e[r],e,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==Gt(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,c)}))}c(s.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=E(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,r(g,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:d,configurable:!0}),d.displayName=s(h,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(g),s(g,c,"Generator"),s(g,i,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=T,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Jt(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}var Wt=process&&process.env.GEO_API||"https://api.www.s81c.com/webmaster/dbip/";function Vt(){return Kt.apply(this,arguments)}function Kt(){var e;return e=qt().mark((function e(){var t,n;return qt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wt.get(Wt,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then((function(e){return e.data}));case 2:return t=e.sent,n=t&&t.country,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})),Kt=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Jt(i,r,o,a,c,"next",e)}function c(e){Jt(i,r,o,a,c,"throw",e)}a(void 0)}))},Kt.apply(this,arguments)}function zt(e){return zt="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},zt(e)}function Yt(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,(o=r.key,i=void 0,i=function(e,t){if("object"!==zt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===zt(i)?i:String(i)),r)}var o,i}var $t="ipcInfo",Xt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"get",value:function(){var e,t,n=Et.get($t);if(n)return decodeURIComponent(n).split(";").map((function(n){var r=n.split("=");"cc"===r[0]&&(e=r[1]),"lc"===r[0]&&(t=r[1])})),{cc:e,lc:t}}},{key:"set",value:function(e){var t=e.cc,n=e.lc,r="cc=".concat(t,";lc=").concat(n);Et.set($t,encodeURIComponent(r),{expires:365,domain:".ibm.com"})}}],(n=null)&&Yt(t.prototype,n),r&&Yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Qt=process&&(process.env.REACT_APP_TRANSLATION_HOST||process.env.TRANSLATION_HOST)||"https://1.www.s81c.com",Zt={lc:"en",cc:"us"},en="".concat(Qt,"/common/js/dynamicnav/www/countrylist/jsononly"),tn={headers:{"Content-Type":"application/json; charset=utf-8"}},nn="dds-countrylist",rn={};var on=function(){function e(){o(this,e)}var t,n,r;return l(e,null,[{key:"clearCache",value:function(){if("undefined"!=typeof sessionStorage){Object.keys(rn).forEach((function(e){return delete rn[e]}));for(var e=0;e<sessionStorage.length;++e){var t=sessionStorage.key(e);0===t.indexOf(nn)&&sessionStorage.removeItem(t)}}}},{key:"getLocale",value:(r=m(w.mark((function e(){var t,n,r,o,i,a,c;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Xt.get(),e.next=3,this.getLang();case 3:if(!(n=e.sent)){e.next=8;break}return e.abrupt("return",n);case 8:if(!(t&&t.cc&&t.lc)){e.next=14;break}return e.next=11,this.getList(t);case 11:return e.abrupt("return",t);case 14:return e.next=16,Vt();case 16:if(r=e.sent,o=f.navigator.language,i=o.split("-")[0],!r||!i){e.next=26;break}return e.next=22,this.getList({cc:r,lc:i});case 22:return a=e.sent,c=this.verifyLocale(r,i,a),Xt.set(c),e.abrupt("return",c);case 26:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getLang",value:function(){return new Promise((function(e){var t=function(){var e,t,n=Object.assign({},f.digitalData||{});if(null!==(e=n.page)&&void 0!==e&&null!==(t=e.pageInfo)&&void 0!==t&&t.language){var r,o,i,a,c,s={};return null!==(r=n.page)&&void 0!==r&&null!==(o=r.pageInfo)&&void 0!==o&&o.language.includes("-")&&null!==(i=n.page)&&void 0!==i&&null!==(a=i.pageInfo)&&void 0!==a&&null!==(c=a.ibm)&&void 0!==c&&c.country?(s.lc=n.page.pageInfo.language.substring(0,2).toLowerCase(),s.cc=n.page.pageInfo.ibm.country.toLowerCase().trim(),s.cc.indexOf(",")>-1&&(s.cc=s.cc.substring(0,s.cc.indexOf(",")).trim()),"gb"===s.cc&&(s.cc="uk"),"zz"===s.cc&&(s.cc="us")):s.lc=n.page.pageInfo.language.substring(0,2).toLowerCase(),s}return!1}();e(t||function(){var e,t;if(null!==(e=f.document)&&void 0!==e&&null!==(t=e.documentElement)&&void 0!==t&&t.lang){var n=f.document.documentElement.lang.toLowerCase();if(-1===n.indexOf("-"))return{lc:n};var r=n.split("-");return{cc:r[1],lc:r[0]}}return Zt}())}))}},{key:"getLangDisplay",value:(n=m(w.mark((function e(t){var n,r,o,i;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}e.t0=t,e.next=7;break;case 4:return e.next=6,this.getLang();case 6:e.t0=e.sent;case 7:return n=e.t0,e.next=10,this.getList(n);case 10:if(r=e.sent,o=[],r.regionList.forEach((function(e){o=o.concat(e.countryList)})),!(i=o.filter((function(e){if(-1!==e.locale.findIndex((function(e){return e[0]==="".concat(n.lc,"-").concat(n.cc)}))){var t,r=e.locale.filter((function(e){return e.includes("".concat(n.lc,"-").concat(n.cc))}));return(t=e.locale).splice.apply(t,[0,e.locale.length].concat(Ht(r))),e}}))).length){e.next=18;break}return e.abrupt("return","".concat(i[0].name," — ").concat(i[0].locale[0][1]));case 18:return e.abrupt("return","United States — English");case 19:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getList",value:(t=m(w.mark((function e(t){var n,r,o=this;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cc,r=t.lc,e.abrupt("return",new Promise((function(e,t){o.fetchList(n,r,e,t)})));case 2:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"fetchList",value:function(e,t,n,r){var o=this,i="undefined"!==e?"".concat(t,"-").concat(e):"".concat(t),a="".concat(nn,"-").concat(i),c=this.getSessionCache(a);if(c)n(c);else{if(!rn[i]){var s="".concat(en,"/").concat("undefined"!==e?"".concat(e).concat(t):"".concat(t),"-utf8.json");rn[i]=wt.get(s,tn).then((function(e){var t=e.data;return t.timestamp=Date.now(),sessionStorage.setItem("".concat(nn,"-").concat(i),JSON.stringify(t)),t}))}rn[i].then(n,(function(i){e===Zt.cc&&t===Zt.lc?r(i):o.fetchList(Zt.cc,Zt.lc,n,r)}))}}},{key:"verifyLocale",value:function(e,t,n){var r,o;return!(n&&n.regionList.forEach((function(n){return n.countryList.forEach((function(n){var i=n.locale[0][0].split("-"),a=i[1],c=i[0];a===e&&c===t?o={cc:e,lc:t}:a!==e||r||(r=c)}))})))&&r&&(o={cc:e,lc:r}),o}},{key:"getSessionCache",value:function(e){var t="undefined"==typeof sessionStorage?void 0:JSON.parse(sessionStorage.getItem(e));if(t&&t.timestamp){if(!(Date.now()-t.timestamp>72e5))return t;sessionStorage.removeItem(e)}}}]),e}(),an=on,cn=!1;var sn=process&&process.env.MARKETING_SEARCH_HOST||"https://www.ibm.com",un=process&&process.env.MARKETING_SEARCH_VERSION||"v3",ln="".concat(sn,"/marketplace/api/search/").concat(un,"/combined_suggestions"),fn=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"getResults",value:(t=m(w.mark((function e(t){var n;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(ln,"?locale=").concat("en","-").concat("us","&q=").concat(encodeURIComponent(t)),e.next=5,wt.get(n,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then((function(e){return e.data}));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),pn=fn,dn=function(){function e(){o(this,e)}return l(e,null,[{key:"setMastheadLogo",value:function(e){if(void 0===e)return!1;var t=(new Date).getTime(),n=e.end?Date.parse(e.end):null,r=!!(n&&t>n);return!(null===e.svg||r||e.denylist&&-1!==e.denylist.indexOf(location.pathname))&&!(!e.allowlist||0!=e.allowlist.length&&-1===e.allowlist.indexOf(location.pathname)||!e.svg)}}]),e}(),hn=process&&(process.env.REACT_APP_PROFILE_HOST||process.env.PROFILE_HOST)||"https://login.ibm.com",vn=process&&process.env.PROFILE_VERSION||"v1",yn="".concat(hn,"/").concat(vn,"/mgmt/idaas/user/status/"),mn=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"getUserStatus",value:(t=m(w.mark((function e(){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wt.get(yn,{headers:{"Content-Type":"application/json; charset=utf-8"},withCredentials:!0}).then((function(e){return e.data})).catch((function(e){return console.log("Failed Profile Network Call",e),{user:"Unauthenticated"}}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}]),e}(),gn=mn,bn=process&&process.env.SEARCH_TYPEAHEAD_API||"https://www-api.ibm.com",wn=process&&process.env.SEARCH_TYPEAHEAD_VERSION||"v1",xn="".concat(bn,"/search/typeahead/").concat(wn),En=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"getResults",value:(t=m(w.mark((function e(t){var n,r,o,i,a=arguments;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:"",e.next=3,an.getLang();case 3:return r=e.sent,o=["lang=".concat(r.lc).concat(r.cc?"&cc=".concat(r.cc):""),"query=".concat(encodeURIComponent(t)),"".concat(n?"appid=".concat(n):"")].filter((function(e){return e})).join("&"),i="".concat(xn,"?").concat(o),e.next=8,wt.get(i,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then((function(e){return e.data.response}));case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),Sn=En,On=process&&(process.env.REACT_APP_TRANSLATION_HOST||process.env.TRANSLATION_HOST)||"https://1.www.s81c.com",_n="/common/carbon-for-ibm-dotcom/translations/masthead-footer",Tn=process&&(process.env.REACT_APP_DDS_TRANSLATION_ENDPOINT||process.env.DDS_TRANSLATION_ENDPOINT)||_n,kn={},An="en",Ln="us",Pn=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"clearCache",value:function(e){var t=this.getSessionKey(e);if("undefined"!=typeof sessionStorage){Object.keys(kn).forEach((function(e){return delete kn[e]}));for(var n=0;n<sessionStorage.length;++n){var r=sessionStorage.key(n);0===r.indexOf(t)&&sessionStorage.removeItem(r)}}}},{key:"getTranslation",value:(t=m(w.mark((function e(t,n){var r,o,i,a=this;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="en",o="us",!(t&&t.lc&&t.cc)){e.next=7;break}r=t.lc,o=t.cc,e.next=12;break;case 7:return e.next=9,an.getLocale();case 9:i=e.sent,r=i.lc,o=i.cc;case 12:return e.abrupt("return",new Promise((function(e,t){a.fetchTranslation(r,o,n,e,t)})));case 13:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})},{key:"fetchTranslation",value:function(e,t,n,r,o){var i=this,a=this.getSessionKey(n),c="".concat(a,"-").concat(t,"-").concat(e),s=this.getSessionCache(c);if(s)r(s);else{var u="undefined"!==t?"".concat(t,"-").concat(e):"".concat(e);if(!kn[u]){var l=n||Tn,f="undefined"!==t?"".concat(t).concat(e):"".concat(e),p=/((http(s?)):\/\/)/g.test(n)?"":On,d="".concat(p).concat(l,"/").concat(f,".json");kn[u]=wt.get(d,{headers:{"Content-Type":"text/plain",origin:On}}).then((function(e){return i.transformData(e.data)})).then((function(e){return e.timestamp=Date.now(),"undefined"!=typeof sessionStorage&&sessionStorage.setItem("".concat(a,"-").concat(u),JSON.stringify(e)),e}))}kn[u].then(r,(function(a){t===Ln&&e===An?o(a):i.fetchTranslation(An,Ln,n,r,o)}))}}},{key:"getSessionKey",value:function(e){var t="dds-translation";(_n!==Tn||e)&&(t=(e||Tn).replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/gi,""));return t}},{key:"transformData",value:function(e){var t,n=null===(t=e.profileMenu)||void 0===t?void 0:t.signedout;if(n){var r="state=https%3A%2F%2Fwww.ibm.com",o=n.findIndex((function(e){var t;return-1!==(null===(t=e.url)||void 0===t?void 0:t.indexOf(r))}));if(-1!==o&&f.location){var i=encodeURIComponent(f.location.href);e.profileMenu.signedout[o].url=n[o].url.replace(r,"state=".concat(i))}}return e.footerMenu.push(e.socialFollow),e}},{key:"getSessionCache",value:function(e){var t="undefined"==typeof sessionStorage?void 0:JSON.parse(sessionStorage.getItem(e));if(t&&t.timestamp){if(!(Date.now()-t.timestamp>72e5))return t;sessionStorage.removeItem(e)}}}]),e}(),Rn=Pn,jn={exports:{}};!function(e){var t=a.exports;e.exports=function(e,n,r){return(n=t(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports}(jn);var Cn=n(jn.exports);function In(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 Nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){Cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Dn=process&&(process.env.REACT_APP_KALTURA_PARTNER_ID||process.env.KALTURA_PARTNER_ID)||1773841,Mn=process&&(process.env.REACT_APP_KALTURA_UICONF_ID||process.env.KALTURA_UICONF_ID)||27941801,Un="https://cdnapisec.kaltura.com/p/".concat(Dn,"/sp/").concat(Dn,"00/embedIframeJs/uiconf_id/").concat(Mn,"/partner_id/").concat(Dn),Bn="https://cdnsecakmi.kaltura.com/p/".concat(Dn,"/thumbnail/entry_id/"),Fn=50,Hn=0,Gn=!1;function qn(e,t){f.kWidget?(Gn=!1,e()):Gn?++Hn<Fn?setTimeout((function(){qn(e,t)}),100):t():(!function(){Gn=!0;var e=document.createElement("script");e.src=Un,e.async=!0,document.body.appendChild(e)}(),qn(e,t))}var Jn={},Wn=function(){function e(){o(this,e)}var t,n;return l(e,null,[{key:"checkScript",value:function(){return new Promise((function(e,t){qn(e,t)}))}},{key:"getThumbnailUrl",value:function(e){var t=e.mediaId,n=e.height,r=e.width,o=Bn+t;return n&&(o+="/height/".concat(n)),r&&(o+="/width/".concat(r)),o}},{key:"embedMedia",value:(n=m(w.mark((function e(t,n){var r,o,i,a,c=arguments;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},o=!(c.length>3&&void 0!==c[3])||c[3],i=c.length>4&&void 0!==c[4]?c[4]:function(){},a=this.fireEvent,e.next=6,this.checkScript().then((function(){var e=new Promise((function(e){var c;if(!document.getElementById(n)&&document.querySelector("dds-tabs-extended-media")){var s=document.createElement("div");s.classList.add("bx--video-player__video"),s.setAttribute("id",n),document.body.append(s),c=!0}f.kWidget.embed({targetId:n,wid:"_"+Dn,uiconf_id:Mn,entry_id:t,flashvars:Nn(Nn({},{autoPlay:!0,closedCaptions:{plugin:!0},titleLabel:{plugin:!0,align:"left",text:"{mediaProxy.entry.name}"},ibm:{template:"idl"}}),r),params:{wmode:"transparent"},readyCallback:function(n){var r=document.getElementById(n);o&&(r.addJsListener("playerPaused.ibm",(function(){a({playerState:1,kdp:r,mediaId:t})})),r.addJsListener("playerPlayed.ibm",(function(){a({playerState:2,kdp:r,mediaId:t})})),r.addJsListener("playerPlayEnd.ibm",(function(){a({playerState:3,kdp:r,mediaId:t})})),r.addJsListener("IbmCtaEvent.ibm",(function(e){var n=(null==e?void 0:e.customMetricsData)||{};a({playerState:101,kdp:r,mediaId:t,customMetricsData:n})}))),i(r),e(r)}}),c&&document.querySelector("dds-tabs-extended-media").shadowRoot.querySelector(".bx--accordion__item--active dds-video-player").lastChild.parentElement.appendChild(document.getElementById(n))}));return{kWidget:function(){return e}}}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"fireEvent",value:function(e){var t=e.playerState,n=e.kdp,r=e.mediaId,o=e.customMetricsData,i=void 0===o?{}:o,a=Math.round(n.evaluate("{video.player.currentTime}"));2===t&&0===a&&(t=0);var c={playerType:"kaltura",title:n.evaluate("{mediaProxy.entry.name}"),currentTime:a,duration:n.evaluate("{mediaProxy.entry.duration}"),playerState:t,mediaId:r,customMetricsData:i};v.videoPlayerStats(c)}},{key:"api",value:(t=m(w.mark((function e(t){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.checkScript().then((function(){return Jn&&Jn[t]?Jn[t]:new Promise((function(e){return new f.kWidget.api({wid:"_"+Dn}).doRequest({service:"media",action:"get",entryId:t},(function(t){Jn[t.id]=t,e(t)}))}))}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getMediaDuration",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(arguments.length>1?arguments[1]:void 0){var n=Math.floor(t/1e3%60),r=Math.floor(t/6e4%60),o=Math.floor(t/36e5%24);return o=o>0?o+":":"",n=n<10?"0"+n:n,t&&"("+o+r+":"+n+")"}var i=(null==f||null===(e=f.kWidget)||void 0===e?void 0:e.seconds2Measurements(t))||{},a=(null==i?void 0:i.hours)||0,c=(null==i?void 0:i.minutes)||0,s=(null==i?void 0:i.seconds)||0;return c=(a>0?"0"+c:c).toString().slice(-2),(a=a>0?a+":":"")+c+":"+(s=("0"+s).slice(-2))}},{key:"getMediaDurationFormatted",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=t;(arguments.length>1?arguments[1]:void 0)||(n=1e3*t);var r=Math.floor(n/1e3%60),o=Math.floor(n/6e4%60),i=Math.floor(n/36e5%24),a=e.formatTime(r,"second"),c=i||o?e.formatTime(o,"minute"):"",s=i?e.formatTime(i,"hour"):"";return"".concat(s," ").concat(c," ").concat(a).trim()}},{key:"formatTime",value:function(e,t){var n=f.document.documentElement.lang||f.navigator.language;return new Intl.NumberFormat(n,{style:"unit",unitDisplay:"long",unit:t}).format(e)}}]),e}(),Vn=Wn;e.AnalyticsAPI=v,e.CloudAccountAuthAPI=Ot,e.DDOAPI=Pt,e.KalturaPlayer=Vn,e.LocaleAPI=an,e.MarketingSearchAPI=pn,e.MastheadLogo=dn,e.ProfileAPI=gn,e.SearchTypeaheadAPI=Sn,e.TranslationAPI=Rn,e.globalInit=function(){cn||(cn=!0,Pt.setVersion().catch((function(e){console.error("Error setting the version of the library in the DDO:",e)})),an.getLang().then((function(e){It(e.lc)})),v.initAll())},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
13
|
+
qt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),c=new _(o||[]);return r(a,"_invoke",{value:x(e,n,c)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function p(){}function d(){}function h(){}var v={};s(v,i,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(T([])));m&&m!==t&&n.call(m,i)&&(v=m);var g=h.prototype=p.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(r,i,a,c){var s=l(e[r],e,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==Gt(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,c)}))}c(s.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=E(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,r(g,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:d,configurable:!0}),d.displayName=s(h,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(g),s(g,c,"Generator"),s(g,i,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=T,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Jt(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}var Wt=process&&process.env.GEO_API||"https://api.www.s81c.com/webmaster/dbip/";function Vt(){return Kt.apply(this,arguments)}function Kt(){var e;return e=qt().mark((function e(){var t,n;return qt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wt.get(Wt,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then((function(e){return e.data}));case 2:return t=e.sent,n=t&&t.country,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})),Kt=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Jt(i,r,o,a,c,"next",e)}function c(e){Jt(i,r,o,a,c,"throw",e)}a(void 0)}))},Kt.apply(this,arguments)}function zt(e){return zt="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},zt(e)}function Yt(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,(o=r.key,i=void 0,i=function(e,t){if("object"!==zt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===zt(i)?i:String(i)),r)}var o,i}var $t="ipcInfo",Xt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"get",value:function(){var e,t,n=Et.get($t);if(n)return decodeURIComponent(n).split(";").map((function(n){var r=n.split("=");"cc"===r[0]&&(e=r[1]),"lc"===r[0]&&(t=r[1])})),{cc:e,lc:t}}},{key:"set",value:function(e){var t=e.cc,n=e.lc,r="cc=".concat(t,";lc=").concat(n);Et.set($t,encodeURIComponent(r),{expires:365,domain:".ibm.com"})}}],(n=null)&&Yt(t.prototype,n),r&&Yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Qt=process&&(process.env.REACT_APP_TRANSLATION_HOST||process.env.TRANSLATION_HOST)||"https://1.www.s81c.com",Zt={lc:"en",cc:"us"},en="".concat(Qt,"/common/js/dynamicnav/www/countrylist/jsononly"),tn={headers:{"Content-Type":"application/json; charset=utf-8"}},nn="dds-countrylist",rn={};var on=function(){function e(){o(this,e)}var t,n,r;return l(e,null,[{key:"clearCache",value:function(){if("undefined"!=typeof sessionStorage){Object.keys(rn).forEach((function(e){return delete rn[e]}));for(var e=0;e<sessionStorage.length;++e){var t=sessionStorage.key(e);0===t.indexOf(nn)&&sessionStorage.removeItem(t)}}}},{key:"getLocale",value:(r=m(w.mark((function e(){var t,n,r,o,i,a,c;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Xt.get(),e.next=3,this.getLang();case 3:if(!(n=e.sent)){e.next=8;break}return e.abrupt("return",n);case 8:if(!(t&&t.cc&&t.lc)){e.next=14;break}return e.next=11,this.getList(t);case 11:return e.abrupt("return",t);case 14:return e.next=16,Vt();case 16:if(r=e.sent,o=f.navigator.language,i=o.split("-")[0],!r||!i){e.next=26;break}return e.next=22,this.getList({cc:r,lc:i});case 22:return a=e.sent,c=this.verifyLocale(r,i,a),Xt.set(c),e.abrupt("return",c);case 26:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getLang",value:function(){return new Promise((function(e){var t=function(){var e,t,n=Object.assign({},f.digitalData||{});if(null!==(e=n.page)&&void 0!==e&&null!==(t=e.pageInfo)&&void 0!==t&&t.language){var r,o,i,a,c,s={};return null!==(r=n.page)&&void 0!==r&&null!==(o=r.pageInfo)&&void 0!==o&&o.language.includes("-")&&null!==(i=n.page)&&void 0!==i&&null!==(a=i.pageInfo)&&void 0!==a&&null!==(c=a.ibm)&&void 0!==c&&c.country?(s.lc=n.page.pageInfo.language.substring(0,2).toLowerCase(),s.cc=n.page.pageInfo.ibm.country.toLowerCase().trim(),s.cc.indexOf(",")>-1&&(s.cc=s.cc.substring(0,s.cc.indexOf(",")).trim()),"gb"===s.cc&&(s.cc="uk"),"zz"===s.cc&&(s.cc="us")):s.lc=n.page.pageInfo.language.substring(0,2).toLowerCase(),s}return!1}();e(t||function(){var e,t;if(null!==(e=f.document)&&void 0!==e&&null!==(t=e.documentElement)&&void 0!==t&&t.lang){var n=f.document.documentElement.lang.toLowerCase();if(-1===n.indexOf("-"))return{lc:n};var r=n.split("-");return{cc:r[1],lc:r[0]}}return Zt}())}))}},{key:"getLangDisplay",value:(n=m(w.mark((function e(t){var n,r,o,i;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}e.t0=t,e.next=7;break;case 4:return e.next=6,this.getLang();case 6:e.t0=e.sent;case 7:return n=e.t0,e.next=10,this.getList(n);case 10:if(r=e.sent,o=[],r.regionList.forEach((function(e){o=o.concat(e.countryList)})),!(i=o.filter((function(e){if(-1!==e.locale.findIndex((function(e){return e[0]==="".concat(n.lc,"-").concat(n.cc)}))){var t,r=e.locale.filter((function(e){return e.includes("".concat(n.lc,"-").concat(n.cc))}));return(t=e.locale).splice.apply(t,[0,e.locale.length].concat(Ht(r))),e}}))).length){e.next=18;break}return e.abrupt("return","".concat(i[0].name," — ").concat(i[0].locale[0][1]));case 18:return e.abrupt("return","United States — English");case 19:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getList",value:(t=m(w.mark((function e(t){var n,r,o=this;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cc,r=t.lc,e.abrupt("return",new Promise((function(e,t){o.fetchList(n,r,e,t)})));case 2:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"fetchList",value:function(e,t,n,r){var o=this,i="undefined"!==e?"".concat(t,"-").concat(e):"".concat(t),a="".concat(nn,"-").concat(i),c=this.getSessionCache(a);if(c)n(c);else{if(!rn[i]){var s="".concat(en,"/").concat("undefined"!==e?"".concat(e).concat(t):"".concat(t),"-utf8.json");rn[i]=wt.get(s,tn).then((function(e){var t=e.data;return t.timestamp=Date.now(),sessionStorage.setItem("".concat(nn,"-").concat(i),JSON.stringify(t)),t}))}rn[i].then(n,(function(i){e===Zt.cc&&t===Zt.lc?r(i):o.fetchList(Zt.cc,Zt.lc,n,r)}))}}},{key:"verifyLocale",value:function(e,t,n){var r,o;return!(n&&n.regionList.forEach((function(n){return n.countryList.forEach((function(n){var i=n.locale[0][0].split("-"),a=i[1],c=i[0];a===e&&c===t?o={cc:e,lc:t}:a!==e||r||(r=c)}))})))&&r&&(o={cc:e,lc:r}),o}},{key:"getSessionCache",value:function(e){var t="undefined"==typeof sessionStorage?void 0:JSON.parse(sessionStorage.getItem(e));if(t&&t.timestamp){if(!(Date.now()-t.timestamp>72e5))return t;sessionStorage.removeItem(e)}}}]),e}(),an=on,cn=!1;var sn=process&&process.env.MARKETING_SEARCH_HOST||"https://www.ibm.com",un=process&&process.env.MARKETING_SEARCH_VERSION||"v3",ln="".concat(sn,"/marketplace/api/search/").concat(un,"/combined_suggestions"),fn=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"getResults",value:(t=m(w.mark((function e(t){var n;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(ln,"?locale=").concat("en","-").concat("us","&q=").concat(encodeURIComponent(t)),e.next=5,wt.get(n,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then((function(e){return e.data}));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),pn=fn,dn=function(){function e(){o(this,e)}return l(e,null,[{key:"setMastheadLogo",value:function(e){if(void 0===e)return!1;var t=(new Date).getTime(),n=e.end?Date.parse(e.end):null,r=!!(n&&t>n);return!(null===e.svg||r||e.denylist&&-1!==e.denylist.indexOf(location.pathname))&&!(!e.allowlist||0!=e.allowlist.length&&-1===e.allowlist.indexOf(location.pathname)||!e.svg)}}]),e}(),hn=process&&(process.env.REACT_APP_PROFILE_HOST||process.env.PROFILE_HOST)||"https://login.ibm.com",vn=process&&process.env.PROFILE_VERSION||"v1",yn="".concat(hn,"/").concat(vn,"/mgmt/idaas/user/status/"),mn=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"getUserStatus",value:(t=m(w.mark((function e(){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wt.get(yn,{headers:{"Content-Type":"application/json; charset=utf-8"},withCredentials:!0}).then((function(e){return e.data})).catch((function(e){return console.log("Failed Profile Network Call",e),{user:"Unauthenticated"}}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}]),e}(),gn=mn,bn=process&&process.env.SEARCH_TYPEAHEAD_API||"https://www-api.ibm.com",wn=process&&process.env.SEARCH_TYPEAHEAD_VERSION||"v1",xn="".concat(bn,"/search/typeahead/").concat(wn),En=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"getResults",value:(t=m(w.mark((function e(t){var n,r,o,i,a=arguments;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:"",e.next=3,an.getLang();case 3:return r=e.sent,o=["lang=".concat(r.lc).concat(r.cc?"&cc=".concat(r.cc):""),"query=".concat(encodeURIComponent(t)),"".concat(n?"appid=".concat(n):"")].filter((function(e){return e})).join("&"),i="".concat(xn,"?").concat(o),e.next=8,wt.get(i,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then((function(e){return e.data.response}));case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),Sn=En,On=process&&(process.env.REACT_APP_TRANSLATION_HOST||process.env.TRANSLATION_HOST)||"https://1.www.s81c.com",_n="/common/carbon-for-ibm-dotcom/translations/masthead-footer",Tn=process&&(process.env.REACT_APP_DDS_TRANSLATION_ENDPOINT||process.env.DDS_TRANSLATION_ENDPOINT)||_n,kn={},An="en",Ln="us",Pn=function(){function e(){o(this,e)}var t;return l(e,null,[{key:"clearCache",value:function(e){var t=this.getSessionKey(e);if("undefined"!=typeof sessionStorage){Object.keys(kn).forEach((function(e){return delete kn[e]}));for(var n=0;n<sessionStorage.length;++n){var r=sessionStorage.key(n);0===r.indexOf(t)&&sessionStorage.removeItem(r)}}}},{key:"getTranslation",value:(t=m(w.mark((function e(t,n){var r,o,i,a=this;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="en",o="us",!(t&&t.lc&&t.cc)){e.next=7;break}r=t.lc,o=t.cc,e.next=12;break;case 7:return e.next=9,an.getLocale();case 9:i=e.sent,r=i.lc,o=i.cc;case 12:return e.abrupt("return",new Promise((function(e,t){a.fetchTranslation(r,o,n,e,t)})));case 13:case"end":return e.stop()}}),e)}))),function(e,n){return t.apply(this,arguments)})},{key:"fetchTranslation",value:function(e,t,n,r,o){var i=this,a=this.getSessionKey(n),c="".concat(a,"-").concat(t,"-").concat(e),s=this.getSessionCache(c);if(s)r(s);else{var u="undefined"!==t?"".concat(t,"-").concat(e):"".concat(e);if(!kn[u]){var l=n||Tn,f="undefined"!==t?"".concat(t).concat(e):"".concat(e),p=/((http(s?)):\/\/)/g.test(n)?"":On,d="".concat(p).concat(l,"/").concat(f,".json");kn[u]=wt.get(d,{headers:{"Content-Type":"text/plain",origin:On}}).then((function(e){return i.transformData(e.data)})).then((function(e){return e.timestamp=Date.now(),"undefined"!=typeof sessionStorage&&sessionStorage.setItem("".concat(a,"-").concat(u),JSON.stringify(e)),e}))}kn[u].then(r,(function(a){t===Ln&&e===An?o(a):i.fetchTranslation(An,Ln,n,r,o)}))}}},{key:"getSessionKey",value:function(e){var t="dds-translation";(_n!==Tn||e)&&(t=(e||Tn).replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/gi,""));return t}},{key:"transformData",value:function(e){var t,n=null===(t=e.profileMenu)||void 0===t?void 0:t.signedout;if(n){var r="state=https%3A%2F%2Fwww.ibm.com",o=n.findIndex((function(e){var t;return-1!==(null===(t=e.url)||void 0===t?void 0:t.indexOf(r))}));if(-1!==o&&f.location){var i=encodeURIComponent(f.location.href);e.profileMenu.signedout[o].url=n[o].url.replace(r,"state=".concat(i))}}return e.footerMenu.push(e.socialFollow),e}},{key:"getSessionCache",value:function(e){var t="undefined"==typeof sessionStorage?void 0:JSON.parse(sessionStorage.getItem(e));if(t&&t.timestamp){if(!(Date.now()-t.timestamp>72e5))return t;sessionStorage.removeItem(e)}}}]),e}(),Rn=Pn,jn={exports:{}};!function(e){var t=a.exports;e.exports=function(e,n,r){return(n=t(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports}(jn);var Cn=n(jn.exports);function In(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 Nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){Cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Dn=process&&(process.env.REACT_APP_KALTURA_PARTNER_ID||process.env.KALTURA_PARTNER_ID)||1773841,Mn=process&&(process.env.REACT_APP_KALTURA_UICONF_ID||process.env.KALTURA_UICONF_ID)||27941801,Un="https://cdnapisec.kaltura.com/p/".concat(Dn,"/sp/").concat(Dn,"00/embedIframeJs/uiconf_id/").concat(Mn,"/partner_id/").concat(Dn),Bn="https://cdnsecakmi.kaltura.com/p/".concat(Dn,"/thumbnail/entry_id/"),Fn=50,Hn=0,Gn=!1;function qn(e,t){f.kWidget?(Gn=!1,e()):Gn?++Hn<Fn?setTimeout((function(){qn(e,t)}),100):t():(!function(){Gn=!0;var e=document.createElement("script");e.src=Un,e.async=!0,document.body.appendChild(e)}(),qn(e,t))}var Jn={},Wn=function(){function e(){o(this,e)}var t,n;return l(e,null,[{key:"checkScript",value:function(){return new Promise((function(e,t){qn(e,t)}))}},{key:"getThumbnailUrl",value:function(e){var t=e.mediaId,n=e.height,r=e.width,o=Bn+t;return n&&(o+="/height/".concat(n)),r&&(o+="/width/".concat(r)),o}},{key:"embedMedia",value:(n=m(w.mark((function e(t,n){var r,o,i,a,c=arguments;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},o=!(c.length>3&&void 0!==c[3])||c[3],i=c.length>4&&void 0!==c[4]?c[4]:function(){},a=this.fireEvent,e.next=6,this.checkScript().then((function(){var e=new Promise((function(e){var c;if(!document.getElementById(n)&&document.querySelector("dds-tabs-extended-media")){var s=document.createElement("div");s.classList.add("bx--video-player__video"),s.setAttribute("id",n),document.body.append(s),c=!0}f.kWidget.embed({targetId:n,wid:"_"+Dn,uiconf_id:Mn,entry_id:t,flashvars:Nn(Nn({},{autoPlay:!0,closedCaptions:{plugin:!0},titleLabel:{plugin:!0,align:"left",text:"{mediaProxy.entry.name}"},ibm:{template:"idl"}}),r),params:{wmode:"transparent"},readyCallback:function(n){var r=document.getElementById(n);o&&(r.addJsListener("playerPaused.ibm",(function(){a({playerState:1,kdp:r,mediaId:t})})),r.addJsListener("playerPlayed.ibm",(function(){a({playerState:2,kdp:r,mediaId:t})})),r.addJsListener("playerPlayEnd.ibm",(function(){a({playerState:3,kdp:r,mediaId:t})})),r.addJsListener("IbmCtaEvent.ibm",(function(e){var n=(null==e?void 0:e.customMetricsData)||{};a({playerState:101,kdp:r,mediaId:t,customMetricsData:n})}))),i(r),e(r)}}),c&&document.querySelector("dds-tabs-extended-media").shadowRoot.querySelector(".bx--accordion__item--active dds-video-player").lastChild.parentElement.appendChild(document.getElementById(n))}));return{kWidget:function(){return e}}}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"fireEvent",value:function(e){var t=e.playerState,n=e.kdp,r=e.mediaId,o=e.customMetricsData,i=void 0===o?{}:o,a=Math.round(n.evaluate("{video.player.currentTime}"));2===t&&0===a&&(t=0);var c={playerType:"kaltura",title:n.evaluate("{mediaProxy.entry.name}"),currentTime:a,duration:n.evaluate("{mediaProxy.entry.duration}"),playerState:t,mediaId:r,customMetricsData:i};v.videoPlayerStats(c)}},{key:"api",value:(t=m(w.mark((function e(t){return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.checkScript().then((function(){return Jn&&Jn[t]?Jn[t]:new Promise((function(e){return new f.kWidget.api({wid:"_"+Dn}).doRequest({service:"media",action:"get",entryId:t},(function(t){Jn[t.id]=t,e(t)}))}))}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getMediaDuration",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(arguments.length>1?arguments[1]:void 0){var n=Math.floor(t/1e3%60),r=Math.floor(t/6e4%60),o=Math.floor(t/36e5%24);return o=o>0?o+":":"",n=n<10?"0"+n:n,t&&"("+o+r+":"+n+")"}var i=(null==f||null===(e=f.kWidget)||void 0===e?void 0:e.seconds2Measurements(t))||{},a=(null==i?void 0:i.hours)||0,c=(null==i?void 0:i.minutes)||0,s=(null==i?void 0:i.seconds)||0;return c=(a>0?"0"+c:c).toString().slice(-2),(a=a>0?a+":":"")+c+":"+(s=("0"+s).slice(-2))}},{key:"getMediaDurationFormatted",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=t;(arguments.length>1?arguments[1]:void 0)||(n=1e3*t);var r=Math.floor(n/1e3%60),o=Math.floor(n/6e4%60),i=Math.floor(n/36e5%24),a=e.formatTime(r,"second"),c=i||o?e.formatTime(o,"minute"):"",s=i?e.formatTime(i,"hour"):"";return"".concat(s," ").concat(c," ").concat(a).trim()}},{key:"formatTime",value:function(e,t){var n=f.document.documentElement.lang||f.navigator.language;return new Intl.NumberFormat(n,{style:"unit",unitDisplay:"long",unit:t}).format(e)}}]),e}(),Vn=Wn;e.AnalyticsAPI=v,e.CloudAccountAuthAPI=Ot,e.DDOAPI=Pt,e.KalturaPlayerAPI=Vn,e.LocaleAPI=an,e.MarketingSearchAPI=pn,e.MastheadLogo=dn,e.ProfileAPI=gn,e.SearchTypeaheadAPI=Sn,e.TranslationAPI=Rn,e.globalInit=function(){cn||(cn=!0,Pt.setVersion().catch((function(e){console.error("Error setting the version of the library in the DDO:",e)})),an.getLang().then((function(e){It(e.lc)})),v.initAll())},Object.defineProperty(e,"__esModule",{value:!0})}));
|