/*! For license information please see ws-autotours.js.LICENSE.txt */
(self.webpackChunkmp_webgl=self.webpackChunkmp_webgl||[]).push([[8636],{65205:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var o=n(57726),a=n.n(o),i=n(62772),l=n(39869),c=n(95541),s=n(73566),_=n(40104),p=n(9241),r=n(19389),u=n(48270),m=n(80855);var d=n(74848);const b=a().bind({"tooltip-announcement":"tooltip-announcement-ab9c5c92d37b5e0bcf7f","tooltip-announcement__badge":"tooltip-announcement__badge-b221d17948cfdbbdf16d","tooltip-announcement__tooltip":"tooltip-announcement__tooltip-fcbf1e2dae0a94aea35f","tooltip-announcement__title":"tooltip-announcement__title-d70619fad9f62188daf7","tooltip-announcement__title__text":"tooltip-announcement__title__text-c81607b6df5124175ce4","tooltip-announcement__title__icon":"tooltip-announcement__title__icon-a42abaac99d4ad070ec9","tooltip-announcement__close":"tooltip-announcement__close-a61f337eee8b3ecbebed","tooltip-announcement__body":"tooltip-announcement__body-e20936f054e79d510ee9","tooltip-announcement__body__text":"tooltip-announcement__body__text-a5faed9a587904ecff51"}),f=t=>{let{icon:e,target:n,announcement:o,titlePhraseKey:a,badgePhraseKey:f,messagePhraseKey:h,tooltipOptions:g={}}=t;const x=(0,l.Y)(),y=(0,c.H)(),v=(0,i.R)(),j={title:x.t(a),message:x.t(h)};f&&(j.badge=x.t(f));const N=(0,d.jsxs)("div",{className:b("tooltip-announcement"),children:[j.badge?(0,d.jsx)("span",{className:b("tooltip-announcement__badge"),children:j.badge}):null,(0,d.jsxs)("div",{className:b("tooltip-announcement__title"),children:[e?(0,d.jsx)(_.I,{name:e,size:p.l.SMALL,className:b("tooltip-announcement__title__icon")}):null,(0,d.jsx)("span",{title:j.title,className:b("tooltip-announcement__title__text"),children:j.title})]}),(0,d.jsx)(r.$,{icon:"close",onClick:()=>{v?.setToolAnnouncementState(o,s.zR.CLOSE)},size:u.M.SMALL,variant:u.A.TERTIARY,className:b("tooltip-announcement__close")}),(0,d.jsx)("div",{className:b("tooltip-announcement__body"),children:(0,d.jsx)("p",{className:b("tooltip-announcement__body__text"),children:j.message})})]});return(0,d.jsx)(m.m,{sticky:!0,size:"large",theme:"light",title:N,target:n,trigger:"static",placement:y?"top":"left",className:b("tooltip-announcement__tooltip"),...g})}},57726:(t,e)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(this&&this[n]||n);else if(Array.isArray(n))t.push(a.apply(this,n));else if("object"===i)if(n.toString===Object.prototype.toString)for(var l in n)o.call(n,l)&&n[l]&&t.push(this&&this[l]||l);else t.push(n.toString())}}return t.join(" ")}t.exports?(a.default=a,t.exports=a):void 0===(n=function(){return a}.apply(e,[]))||(t.exports=n)}()}}]);