1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:astra-oas-frontend":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a61d3a4d-ed42-4797-9886-f46a90356b2b`,e._sentryDebugIdIdentifier=`sentry-dbid-a61d3a4d-ed42-4797-9886-f46a90356b2b`)}catch{}})();import{St as e,V as t,Wt as n,b as r,d as i,m as a,p as o}from"./DKgyLr-x.js";import{d as s}from"./DmP5lFlL.js";import{a as c}from"./DcLWULOw.js";import{t as l}from"./Euag7Waj.js";import{t as u}from"./DRce9MO7.js";import"./nNMzY4gD.js";import{v as d}from"#entry";import{t as f}from"./q3dvseAA.js";var p={__name:`ButtonWmtCalendar`,props:{hideLabel:{type:Boolean,required:!1},hideIcon:{type:Boolean,required:!1}},setup(p){let m=l(),{wmtCalendarWidgetName:h}=c(m),{track:g}=d(),_=()=>{if(!h.value)return;let e=window.screenX===void 0?window.screenLeft:window.screenX,t=window.screenY===void 0?window.screenTop:window.screenY,n=window.outerWidth===void 0?document.body.clientWidth:window.outerWidth,r=window.outerHeight===void 0?document.body.clientHeight-22:window.outerHeight,i=e+(n-750)/2,a=t+(r-630)/2.5,o=`width=750,height=673,left=`+i+`,top=`+a;setTimeout(()=>{window.open(`https://calendar.wmt.digital/calendar/${h.value}`,`AddCalendar`,o),g(u.EVENT_ADD_TO_CALENDAR,{title:h.value})},500)};return(c,l)=>{let u=f;return e(h)?(t(),a(`button`,{key:0,class:`wmt-calendar-button`,title:`Add To Calendar`,onClick:s(_,[`prevent`])},[i(`span`,{class:n({"sr-only":p.hideLabel})},`Add to Calendar`,2),r(u,{name:`fluent:calendar-add-16-regular`,"aria-hidden":`true`,class:n([`wmt-calendar-button__icon`,{"sr-only":p.hideIcon}])},null,8,[`class`])])):o(``,!0)}}};export{p as t};
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.