@brightspot/ui 6.0.5-pr.212.2 → 6.0.5
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.
- package/dist/storybook/assets/{ActionBar.stories-BI_iTJEQ.js → ActionBar.stories-BSwwf2PX.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-BJWzexGS.js → ActionItem.stories-SCIA5Rt0.js} +1 -1
- package/dist/storybook/assets/{AiSparkle.stories-DaA5HO3d.js → AiSparkle.stories-ByeiNU3G.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-Dw8QVNJ-.js → Avatar.stories-1EUJytBr.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-BsNMLTiE.js → AvatarGroup.stories-Bstlt4go.js} +1 -1
- package/dist/storybook/assets/{Badge.stories-GY-ektak.js → Badge.stories-X7m0Vl2G.js} +1 -1
- package/dist/storybook/assets/{Banner.stories-Bg9VB-Fy.js → Banner.stories-ljxjOtEc.js} +1 -1
- package/dist/storybook/assets/{Button-BOLW3-O-.js → Button-Dbpmp5Ih.js} +1 -1
- package/dist/storybook/assets/{Button.stories-DMRHEd8n.js → Button.stories-C5qS3rIw.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories-B2gFm6tD.js → ButtonGroup.stories-Bl1Ko9jX.js} +1 -1
- package/dist/storybook/assets/{Card.stories-CLdjETEv.js → Card.stories-CfFIzXg5.js} +1 -1
- package/dist/storybook/assets/{Celebrate.stories-navEPsY4.js → Celebrate.stories-TSJrIQR8.js} +1 -1
- package/dist/storybook/assets/{Checkbox.stories-5VfpC9R_.js → Checkbox.stories-DUpT9Iwh.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories-BI1KFT4i.js → CircularProgress.stories-usNosiIU.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-DLqRNEnd.js → ClipboardMixin.stories-0jnZ0Drs.js} +1 -1
- package/dist/storybook/assets/{Color-6BZIO3FS-BYF_b3cm.js → Color-6BZIO3FS-C6ecAOER.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-DymlImN1.js → Colors.stories-DcbIlkPs.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-BcAx9THm.js → CombinedEffects.stories-CU-hwRPT.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-D77sglBs.js → ComponentStatesMixin-Dcz-J-hg.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-BFUmXPbv.js → ComponentStatesMixin.stories-orhdmIUX.js} +1 -1
- package/dist/storybook/assets/{CopyToClipboard.stories-CLP60X8y.js → CopyToClipboard.stories-D1R2yCQL.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-CDlv8D8Q.js → Debounce.stories-6z8aEn7O.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-DU2JYRwe.js → DocsRenderer-LL677BLK-B-fTNYB5.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-CJ-QjUYp.js → Dropdown.stories-CeVpVPrP.js} +1 -1
- package/dist/storybook/assets/{EmptyState.stories-HQi_rzX2.js → EmptyState.stories-DdCyApUP.js} +1 -1
- package/dist/storybook/assets/{EscaAvatar.stories-BLqoZyr7.js → EscaAvatar.stories-DNK85ssI.js} +1 -1
- package/dist/storybook/assets/{Events.stories-CvSn4RPH.js → Events.stories-B1qeq2wy.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-MR-daawc.js → Heading.stories-DRu5hUyJ.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-P4LiNUpZ.js → HueRipple.stories-D3zqVZWM.js} +1 -1
- package/dist/storybook/assets/{Icon.stories-h5P6rJQP.js → Icon.stories-CKG5fIIH.js} +1 -1
- package/dist/storybook/assets/{IconButton.stories-Cc0vzr28.js → IconButton.stories-B3RZKBqV.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-yTIIcK9O.js → LinearProgress.stories-BPvFKGi0.js} +1 -1
- package/dist/storybook/assets/{Message.stories-BbFPAVCt.js → Message.stories-Dq3YDccT.js} +1 -1
- package/dist/storybook/assets/{OnFindMixin.stories-BAWi3mlB.js → OnFindMixin.stories-qKTooUKN.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-DJ-6-aNd.js → Pagination.stories-BaFWcckS.js} +1 -1
- package/dist/storybook/assets/{Popover.stories-D9CilGw-.js → Popover.stories-DlHlfWrk.js} +1 -1
- package/dist/storybook/assets/{ReadyMixin-B6XKdlIG.js → ReadyMixin-BQ-q8NO4.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-CPJ_6oiA.js → RovingTabindexMixin.stories-CQkteE6h.js} +1 -1
- package/dist/storybook/assets/{Rtc.stories-DcWHMr_7.js → Rtc.stories-BWBDrPM8.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-DH6wJQFV.js → ScrollShadow.stories-BtM7Q6Ys.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-Cl9xPGbR.js → Switch.stories-Ys6MzOf7.js} +1 -1
- package/dist/storybook/assets/{Tab.stories-BAhU8vUi.js → Tab.stories-CNIDOscR.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories-CLRPMg6P.js → Tabs.stories-oAxuRqKE.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-BbONS-V4.js → Throttle.stories-D2nPrZEL.js} +1 -1
- package/dist/storybook/assets/{Tooltip.stories-B6s8TQSb.js → Tooltip.stories-DJhjWYNV.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-D0C25uui.js → Upload.stories-DBveASQF.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-DL6N7vsq.js → UploadItem.stories-Co5bGJs6.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-BK4n0XMp.js → Welcome.stories-Cls_kv8A.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-Cy9frwq3.js → Widget.stories-CXpqw5z8.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-BuwTEXTQ.js → WithTooltip-65CFNBJE-Ik6o5Ygb.js} +1 -1
- package/dist/storybook/assets/{blocks-BLujz-58.js → blocks-DjXAnVrm.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-B1sNuUky.js → formatter-EIJCOSYU-CQXaWVan.js} +1 -1
- package/dist/storybook/assets/if-defined-BVO6TNCy.js +1 -0
- package/dist/storybook/assets/{iframe-D1g1spfw.js → iframe-D43T7JCn.js} +3 -3
- package/dist/storybook/assets/{index-C6O8j27b.js → index-DIk8fbbl.js} +1 -1
- package/dist/storybook/assets/onFind-CamigPPi.js +1 -0
- package/dist/storybook/assets/{onFind.stories-rDFDR12f.js → onFind.stories-DgxMtTTG.js} +16 -16
- package/dist/storybook/assets/{onRemove.stories-Cmk4GOI5.js → onRemove.stories-DltMfNLX.js} +1 -1
- package/dist/storybook/assets/{onVisible.stories-RZ3Q87MG.js → onVisible.stories-x3VhGAuF.js} +1 -1
- package/dist/storybook/assets/{style-map-DS-2jfV3.js → style-map-C5J-rKx9.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-C5m4nzeD.js → syntaxhighlighter-ED5Y7EFY-CphVNry2.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/util/onFind.d.ts.map +1 -1
- package/dist/util/onFind.js +5 -18
- package/dist/util/onFind.js.map +1 -1
- package/package.json +1 -1
- package/src/legacy/tool-ui/src/ContentEdit.css +1 -1
- package/src/legacy/tool-ui/src/ContentInputGroup.css +13 -15
- package/src/legacy/tool-ui/src/Entry.ts +0 -35
- package/src/legacy/tool-ui/src/Page.css +2 -4
- package/src/legacy/tool-ui/src/Widget.css +2 -2
- package/src/legacy/tool-ui/src/dom/onFind.ts +5 -22
- package/src/legacy/tool-ui/src/main/webapp/dist/4795.034ebc93a67b7a3d6536.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{9576.174d6a99544d17e7416d.js → 9576.7374764b5b7bd5c20e41.js} +1 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/Appetizeio.185641211f7c0e42a455.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/CISpectrum.74db7dc80b3a6797a167.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.1b453045ff46203bbf72.js +500 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/TimedContent.4bb4dc83ffbe4019dd7b.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.5eb44b45700ca0ada362.js → v4.623480353a5aac2beab1.js} +3 -3
- package/src/legacy/tool-ui/src/main/webapp/dist/{v5.258401e39a8c1c1b7878.js → v5.1283d26d374a3deb15a2.js} +4 -4
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.cb6c1a38c5ba7fa9ea93.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/v4/rte/ProseMirror.less +1 -0
- package/src/legacy/tool-ui/src/v5.ts +0 -5
- package/dist/storybook/assets/if-defined-D7P78rGH.js +0 -1
- package/dist/storybook/assets/onFind-ZJa5FYZA.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/4795.beae23779e30c55c6f6a.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/Appetizeio.73eedd6a3761e060bc96.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/CISpectrum.934683148936d8e35f1d.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.8d36c173ebead3cd305f.js +0 -500
- package/src/legacy/tool-ui/src/main/webapp/dist/TimedContent.e7c0eb6a9e39982cd58f.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.5eac97ec93d474fa6085.css +0 -5
- package/src/legacy/tool-ui/src/main/webapp/v4/bsp-rings-bg.svg +0 -9
- /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.8d36c173ebead3cd305f.js.LICENSE.txt → RTEProseMirror.1b453045ff46203bbf72.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.5eb44b45700ca0ada362.js.LICENSE.txt → v4.623480353a5aac2beab1.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.258401e39a8c1c1b7878.js.LICENSE.txt → v5.1283d26d374a3deb15a2.js.LICENSE.txt} +0 -0
|
@@ -1694,9 +1694,6 @@ onFind(
|
|
|
1694
1694
|
)
|
|
1695
1695
|
if (!mobileHeader) return
|
|
1696
1696
|
|
|
1697
|
-
const pageMain = mobileHeader.closest<HTMLElement>('.Page-main')
|
|
1698
|
-
pageMain?.classList.remove('is-headerScrolled')
|
|
1699
|
-
|
|
1700
1697
|
contentEdit.addEventListener(
|
|
1701
1698
|
'scroll',
|
|
1702
1699
|
throttle(100, () => {
|
|
@@ -1709,13 +1706,11 @@ onFind(
|
|
|
1709
1706
|
!mobileHeader.classList.contains('is-scrolled')
|
|
1710
1707
|
) {
|
|
1711
1708
|
mobileHeader.classList.add('is-scrolled')
|
|
1712
|
-
pageMain?.classList.add('is-headerScrolled')
|
|
1713
1709
|
} else if (
|
|
1714
1710
|
scrollTop <= 10 &&
|
|
1715
1711
|
mobileHeader.classList.contains('is-scrolled')
|
|
1716
1712
|
) {
|
|
1717
1713
|
mobileHeader.classList.remove('is-scrolled')
|
|
1718
|
-
pageMain?.classList.remove('is-headerScrolled')
|
|
1719
1714
|
}
|
|
1720
1715
|
}),
|
|
1721
1716
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{E as r}from"./iframe-D1g1spfw.js";const m=o=>o??r;export{m as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Q as W}from"./iframe-D1g1spfw.js";var L={exports:{}},K=L.exports,S;function V(){return S||(S=1,(function(s){(function(e,t){s.exports?s.exports=t():e.log=t()})(K,function(){var e=function(){},t="undefined",a=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),u=["trace","debug","info","warn","error"],n={},i=null;function p(o,c){var r=o[c];if(typeof r.bind=="function")return r.bind(o);try{return Function.prototype.bind.call(r,o)}catch{return function(){return Function.prototype.apply.apply(r,[o,arguments])}}}function U(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function z(o){return o==="debug"&&(o="log"),typeof console===t?!1:o==="trace"&&a?U:console[o]!==void 0?p(console,o):console.log!==void 0?p(console,"log"):e}function y(){for(var o=this.getLevel(),c=0;c<u.length;c++){var r=u[c];this[r]=c<o?e:this.methodFactory(r,o,this.name)}if(this.log=this.debug,typeof console===t&&o<this.levels.SILENT)return"No console available for logging"}function P(o){return function(){typeof console!==t&&(y.call(this),this[o].apply(this,arguments))}}function q(o,c,r){return z(o)||P.apply(this,arguments)}function C(o,c){var r=this,w,k,v,f="loglevel";typeof o=="string"?f+=":"+o:typeof o=="symbol"&&(f=void 0);function D(l){var g=(u[l]||"silent").toUpperCase();if(!(typeof window===t||!f)){try{window.localStorage[f]=g;return}catch{}try{window.document.cookie=encodeURIComponent(f)+"="+g+";"}catch{}}}function T(){var l;if(!(typeof window===t||!f)){try{l=window.localStorage[f]}catch{}if(typeof l===t)try{var g=window.document.cookie,m=encodeURIComponent(f),F=g.indexOf(m+"=");F!==-1&&(l=/^([^;]+)/.exec(g.slice(F+m.length+1))[1])}catch{}return r.levels[l]===void 0&&(l=void 0),l}}function $(){if(!(typeof window===t||!f)){try{window.localStorage.removeItem(f)}catch{}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function b(l){var g=l;if(typeof g=="string"&&r.levels[g.toUpperCase()]!==void 0&&(g=r.levels[g.toUpperCase()]),typeof g=="number"&&g>=0&&g<=r.levels.SILENT)return g;throw new TypeError("log.setLevel() called with invalid level: "+l)}r.name=o,r.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},r.methodFactory=c||q,r.getLevel=function(){return v??k??w},r.setLevel=function(l,g){return v=b(l),g!==!1&&D(v),y.call(r)},r.setDefaultLevel=function(l){k=b(l),T()||r.setLevel(l,!1)},r.resetLevel=function(){v=null,$(),y.call(r)},r.enableAll=function(l){r.setLevel(r.levels.TRACE,l)},r.disableAll=function(l){r.setLevel(r.levels.SILENT,l)},r.rebuild=function(){if(i!==r&&(w=b(i.getLevel())),y.call(r),i===r)for(var l in n)n[l].rebuild()},w=b(i?i.getLevel():"WARN");var x=T();x!=null&&(v=b(x)),y.call(r)}i=new C,i.getLogger=function(c){if(typeof c!="symbol"&&typeof c!="string"||c==="")throw new TypeError("You must supply a name when creating a logger.");var r=n[c];return r||(r=n[c]=new C(c,i.methodFactory)),r};var _=typeof window!==t?window.log:void 0;return i.noConflict=function(){return typeof window!==t&&window.log===i&&(window.log=_),i},i.getLoggers=function(){return n},i.default=i,i})})(L)),L.exports}var Y=V();const G=W(Y),I=Symbol.for("brightspot.onFind");let h;function d(){return h||(h=globalThis[I],h||(h={calledIndex:0,callbacks:[],blacklist:[],triggerPaused:!1,triggerOnResume:!1,triggerAll:!1,triggerElements:[],triggerContainers:new Set,triggerFrame:0,initialized:!1},globalThis[I]=h),h)}class J{#r;#e;#t;#i;#n;constructor(e,t,a){this.#r=e,this.#e=`data-ofc${d().calledIndex++}`,Array.isArray(t)||(t=[t]),this.#t=t.map(t.some(n=>n.indexOf(",")>-1)?n=>n:n=>`${n}:not([${this.#e}])`).join(","),this.#i=a;const u=t.map(n=>n.trim()).filter(n=>n.indexOf(" ")<0&&n.indexOf(",")<0);u.length===t.length&&(this.#n=u)}addTriggerElements(e,t){if(this.#r.contains(t)){t.matches(this.#t)&&e.push(t);for(const a of t.querySelectorAll(this.#t))e.push(a)}}trigger(e){if(document.readyState!=="loading")if(this.#n&&Array.isArray(e))for(const t of e)this.#n.some(a=>t.matches(a))&&this.#o(t);else for(const t of this.#r.querySelectorAll(this.#t))this.#o(t)}#o(e){if(!N(e)&&!e.hasAttribute(this.#e)){e.setAttribute(this.#e,"");try{this.#i(e)}catch(t){G.error("Failed callback!",e,t)}}}}function N(s){if(!(s instanceof Element))return!1;const{blacklist:e}=d();return e.length>0&&e.some(t=>s.closest(t)!==null)}const R=Array.prototype.every,O=s=>s.nodeType===Node.TEXT_NODE;function E(s){const e=d();if(e.triggerPaused){e.triggerOnResume=!0;return}const t=Array.isArray(s),a=[];if(t){for(const n of s){const i=n.target;if(!N(i))switch(n.type){case"attributes":n.oldValue!==i.getAttribute(n.attributeName)&&a.push(n);break;case"childList":(!R.call(n.addedNodes,O)||!R.call(n.removedNodes,O))&&a.push(n);break}}if(a.length===0)return}a.length>500&&(e.triggerAll=!0);const u=e.triggerContainers??(e.triggerContainers=new Set);if(!e.triggerAll)if(t)for(const n of a){const i=n.target;switch(n.type){case"attributes":e.triggerElements.push(i);break;case"childList":u.add(i);break}}else e.triggerAll=!0;(e.triggerAll||e.triggerElements.length>0||u.size>0)&&!e.triggerFrame&&(e.triggerFrame=window.requestAnimationFrame(()=>{let n;if(!e.triggerAll){for(const i of u)if(i instanceof Element)for(const p of e.callbacks)p.addTriggerElements(e.triggerElements,i);n=e.triggerElements}e.triggerAll=!1,e.triggerElements=[],e.triggerContainers=new Set,e.triggerFrame=0,e.callbacks.forEach(i=>i.trigger(n))}))}function M(){E(),new MutationObserver(E).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function Q(){const s=d();s.initialized||(s.initialized=!0,document.readyState==="loading"?document.addEventListener("DOMContentLoaded",M):M())}function A(s,e,t){Q();let a,u;typeof t<"u"?(a=s,u=e):(a=document,u=s,t=e);const n=new J(a,u,t);return n.trigger(),d().callbacks.push(n),()=>{const{callbacks:i}=d(),p=i.indexOf(n);p!==-1&&i.splice(p,1)}}A.triggerCallbacks=E;A.pause=()=>{d().triggerPaused=!0};A.resume=()=>{const s=d();s.triggerPaused=!1,s.triggerOnResume&&(s.triggerOnResume=!1,setTimeout(E,100))};A.ignore=(...s)=>{const{blacklist:e}=d();for(const t of s){try{document.querySelector(t)}catch{continue}e.includes(t)||e.push(t)}};export{G as l,A as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[4795],{99022(e,t,n){n.d(t,{A:()=>g});var r=n(83394),i=(n(44764),n(26594));function o(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function s(e,t){return e.get(c(e,t))}function a(e,t,n){return e.set(c(e,t),n),n}function c(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap;function h(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function p(e,t,n){return e.set(w(e,t),n),n}function m(e,t){return e.get(w(e,t))}function w(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,y=new WeakMap;class g{static get toggles(){return w(g,this,A)._}static toggle(e,t,n){let i,o="boolean"==typeof n&&n;function s(e){return"function"==typeof e}if(s(n)&&(i=n,o=i()),o){const o=new g(e,t);let a;s(n)&&window.addEventListener("click",a=(0,r.A)(n=>{if(!(n instanceof Event))return;const r=n.target;if(r instanceof HTMLElement&&!e.contains(r)&&!t.contains(r)){const t=r.closest("[data-tether-rx]");t&&!t.contains(e)||(i(),void 0!==a&&window.removeEventListener("click",a,!0),o.destroy(),A._.delete(e))}}),!0),A._.set(e,{tether:o,closeListener:a})}else{const t=A._.get(e);t&&(void 0!==t.closeListener&&window.removeEventListener("click",t.closeListener,!0),t.tether.destroy(),A._.delete(e))}return o}static getReference(e){for(const t of b._.tethers)if(m(y,t)===e)return m(v,t);return null}get element(){return m(y,this)}get reference(){return m(v,this)}constructor(e,t){h(this,v,void 0),h(this,y,void 0),p(v,this,e),p(y,this,t),e.classList.contains("ComboInput")&&!t.parentElement?.hasAttribute("data-tether-anchor")&&(null!==e.closest("dialog")?e.closest("dialog")?.append(t):null===e.closest(".Popup")?document.querySelector(".Page")?.append(t):e.closest(".Popup")?.append(t)),b._.add(this)}destroy(){b._.remove(this)}}var b={_:new class{constructor(){o(this,l,void 0),o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),a(l,this,new WeakMap),a(u,this,[]),a(f,this,null),a(d,this,(0,i.A)(this.updateImmediately.bind(this)))}get tethers(){return s(u,this)}add(e){s(u,this).push(e),this.start()}remove(e){const t=s(u,this),n=t.indexOf(e);n>-1&&t.splice(n,1),t.length<0&&this.stop()}start(){this.updateImmediately(),null===s(f,this)&&(window.addEventListener("resize",s(d,this),!0),window.addEventListener("scroll",s(d,this),!0),a(f,this,setInterval(s(d,this),50)))}stop(){null!==s(f,this)&&(window.removeEventListener("resize",s(d,this)),window.removeEventListener("scroll",s(d,this)),clearInterval(s(f,this)),a(f,this,null))}updateImmediately(){const e=s(u,this);if(0===e.length)return;const t=[],n=document.documentElement;let r=n.clientWidth/2,i=n.clientHeight/2;const o="rtl"===n.dir;for(const s of e){const e=s.element,a=s.reference.getBoundingClientRect(),c=a.width,l=a.height;if(0===c&&0===l)continue;let u,d=a.top,f=a.left,h=n.clientWidth;if(e.parentElement?.hasAttribute("popover")){d=s.reference.offsetTop,f=s.reference.offsetLeft;const t=e.parentElement;h=t.clientWidth,r=h/2,i=t.clientHeight/2}let p=f;if(o){const e=h-f-c;p=e,u=e<r?"l":"r"}else u=f<r?"l":"r";t.push({element:e,x:u,y:d+l/2<i?"t":"b",l:`${p}px`,w:`${c}px`,t:`${d}px`,h:`${l}px`})}for(const e of t){const t=e.element,n=s(l,this).get(t)||{},r=t.style;e.x!==n.x&&t.setAttribute("data-tether-rx",e.x),e.y!==n.y&&t.setAttribute("data-tether-ry",e.y),e.l!==n.l&&r.setProperty("--Tether-rl",e.l),e.w!==n.w&&r.setProperty("--Tether-rw",e.w),e.t!==n.t&&r.setProperty("--Tether-rt",e.t),e.h!==n.h&&r.setProperty("--Tether-rh",e.h),s(l,this).set(t,e)}}}},A={_:new WeakMap}},55408(e,t,n){n.d(t,{A:()=>g});var r=n(96203),i=(n(57573),n(39403));function o(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function s(e,t){return e.get(c(e,t))}function a(e,t,n){return e.set(c(e,t),n),n}function c(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap;function h(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function p(e,t,n){return e.set(w(e,t),n),n}function m(e,t){return e.get(w(e,t))}function w(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,y=new WeakMap;class g{static get toggles(){return w(g,this,A)._}static toggle(e,t,n){let i,o="boolean"==typeof n&&n;function s(e){return"function"==typeof e}if(s(n)&&(i=n,o=i()),o){const o=new g(e,t);let a;s(n)&&window.addEventListener("click",a=(0,r.A)(n=>{if(!(n instanceof Event))return;const r=n.target;if(r instanceof HTMLElement&&!e.contains(r)&&!t.contains(r)){const t=r.closest("[data-tether-rx]");t&&!t.contains(e)||(i(),void 0!==a&&window.removeEventListener("click",a,!0),o.destroy(),A._.delete(e))}}),!0),A._.set(e,{tether:o,closeListener:a})}else{const t=A._.get(e);t&&(void 0!==t.closeListener&&window.removeEventListener("click",t.closeListener,!0),t.tether.destroy(),A._.delete(e))}return o}static getReference(e){for(const t of b._.tethers)if(m(y,t)===e)return m(v,t);return null}get element(){return m(y,this)}get reference(){return m(v,this)}constructor(e,t){h(this,v,void 0),h(this,y,void 0),p(v,this,e),p(y,this,t),e.classList.contains("ComboInput")&&!t.parentElement?.hasAttribute("data-tether-anchor")&&(null!==e.closest("dialog")?e.closest("dialog")?.append(t):null===e.closest(".Popup")?document.querySelector(".Page")?.append(t):e.closest(".Popup")?.append(t)),b._.add(this)}destroy(){b._.remove(this)}}var b={_:new class{constructor(){o(this,l,void 0),o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),a(l,this,new WeakMap),a(u,this,[]),a(f,this,null),a(d,this,(0,i.A)(this.updateImmediately.bind(this)))}get tethers(){return s(u,this)}add(e){s(u,this).push(e),this.start()}remove(e){const t=s(u,this),n=t.indexOf(e);n>-1&&t.splice(n,1),t.length<0&&this.stop()}start(){this.updateImmediately(),null===s(f,this)&&(window.addEventListener("resize",s(d,this),!0),window.addEventListener("scroll",s(d,this),!0),a(f,this,setInterval(s(d,this),50)))}stop(){null!==s(f,this)&&(window.removeEventListener("resize",s(d,this)),window.removeEventListener("scroll",s(d,this)),clearInterval(s(f,this)),a(f,this,null))}updateImmediately(){const e=s(u,this);if(0===e.length)return;const t=[],n=document.documentElement;let r=n.clientWidth/2,i=n.clientHeight/2;const o="rtl"===n.dir;for(const s of e){const e=s.element,a=s.reference.getBoundingClientRect(),c=a.width,l=a.height;if(0===c&&0===l)continue;let u,d=a.top,f=a.left,h=n.clientWidth;if(e.parentElement?.hasAttribute("popover")){d=s.reference.offsetTop,f=s.reference.offsetLeft;const t=e.parentElement;h=t.clientWidth,r=h/2,i=t.clientHeight/2}let p=f;if(o){const e=h-f-c;p=e,u=e<r?"l":"r"}else u=f<r?"l":"r";t.push({element:e,x:u,y:d+l/2<i?"t":"b",l:`${p}px`,w:`${c}px`,t:`${d}px`,h:`${l}px`})}for(const e of t){const t=e.element,n=s(l,this).get(t)||{},r=t.style;e.x!==n.x&&t.setAttribute("data-tether-rx",e.x),e.y!==n.y&&t.setAttribute("data-tether-ry",e.y),e.l!==n.l&&r.setProperty("--Tether-rl",e.l),e.w!==n.w&&r.setProperty("--Tether-rw",e.w),e.t!==n.t&&r.setProperty("--Tether-rt",e.t),e.h!==n.h&&r.setProperty("--Tether-rh",e.h),s(l,this).set(t,e)}}}},A={_:new WeakMap}},38745(e,t,n){function r(e,...t){const n=document.createElement(e),r=t[0];if(!("object"!=typeof r||Array.isArray(r)||r instanceof Node)){t.shift();for(const[e,t]of Object.entries(r))"dataset"===e?Object.keys(t).forEach(e=>n.dataset[e]=t[e]):void 0===t?n.removeAttribute(e):e in n?Object.assign(n,{[e]:t}):n.setAttribute(e,t)}return i(n,t),n}function i(e,t){if(t)if(Array.isArray(t)||t instanceof NodeList)for(const n of t)i(e,n);else t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t.toString()))}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0}),n(84978),n(25809)},25936(e,t,n){function r(e,...t){const n=document.createElement(e),r=t[0];if(!("object"!=typeof r||Array.isArray(r)||r instanceof Node)){t.shift();for(const[e,t]of Object.entries(r))"dataset"===e?Object.keys(t).forEach(e=>n.dataset[e]=t[e]):void 0===t?n.removeAttribute(e):e in n?Object.assign(n,{[e]:t}):n.setAttribute(e,t)}return i(n,t),n}function i(e,t){if(t)if(Array.isArray(t)||t instanceof NodeList)for(const n of t)i(e,n);else t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t.toString()))}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0}),n(49371),n(96648)},95628(e,t,n){function r(e,t){return e?(Array.isArray(t)&&(t=t.join(",")),e.querySelector(t)):null}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},60021(e,t,n){function r(e,t){return e?(Array.isArray(t)&&(t=t.join(",")),e.querySelector(t)):null}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},83394(e,t,n){let r;function i(e){return function(...t){if(t[0]instanceof Event||t[0]instanceof window.jQuery.Event){const n=t[0].target;n===r&&e.apply(n,t)}}}n.d(t,{A:()=>i}),window.addEventListener("mousedown",({target:e})=>{r=e})},96203(e,t,n){let r;function i(e){return function(...t){if(t[0]instanceof Event||t[0]instanceof window.jQuery.Event){const n=t[0].target;n===r&&e.apply(n,t)}}}n.d(t,{A:()=>i}),window.addEventListener("mousedown",({target:e})=>{r=e})},56155(e,t,n){n.d(t,{A:()=>C}),n(44764),n(84978),n(13722),n(91672),n(92280);var r=n(59314),i=n.n(r);function o(e,t,n){s(e,t),t.set(e,n)}function s(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let u=0;var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;s(this,r=w),r.add(this),o(this,d,void 0),o(this,f,void 0),o(this,h,void 0),o(this,p,void 0),o(this,m,void 0),c(d,this,e),c(f,this,"data-ofc"+u++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(f,this)}])`).join(",")),c(p,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(m,this,i)}addTriggerElements(e,t){if(a(d,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,y).call(this,t);else for(const e of a(d,this).querySelectorAll(a(h,this)))l(w,this,y).call(this,e)}}function y(e){if(!M(e)&&!e.hasAttribute(a(f,this))){e.setAttribute(a(f,this),"");try{a(p,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let g,b=!1,A=!1,E=!1,k=[],L=new Set;const x=[];function M(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const T=Array.prototype.every,P=e=>e.nodeType===Node.TEXT_NODE;function S(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!M(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":T.call(t.addedNodes,P)&&T.call(t.removedNodes,P)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":k.push(t);break;case"childList":L.add(t)}}else E=!0;(E||k.length>0||L.size>0)&&!g&&(g=window.requestAnimationFrame(()=>{let e;if(!E){for(const e of L)if(e instanceof Element)for(const t of x)t.addTriggerElements(k,e);e=k}E=!1,k=[],L=new Set,g=0,x.forEach(t=>t.trigger(e))}))}function W(){document.documentElement.hidden=!1,S(),new MutationObserver(S).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function j(e,t,n){let r,i;void 0!==n?(r=e,i=t):(r=document,i=e,n=t);const o=new v(r,i,n);o.trigger(),x.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",W):W(),j.triggerCallbacks=S,j.pause=()=>{b=!0},j.resume=()=>{b=!1,A&&(A=!1,setTimeout(S,100))};const C=7717==n.j?j:null},91762(e,t,n){n.d(t,{A:()=>C}),n(57573),n(49371),n(42723),n(56065),n(56673);var r=n(23707),i=n.n(r);function o(e,t,n){s(e,t),t.set(e,n)}function s(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let u=0;var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;s(this,r=w),r.add(this),o(this,d,void 0),o(this,f,void 0),o(this,h,void 0),o(this,p,void 0),o(this,m,void 0),c(d,this,e),c(f,this,"data-ofc"+u++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(f,this)}])`).join(",")),c(p,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(m,this,i)}addTriggerElements(e,t){if(a(d,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,y).call(this,t);else for(const e of a(d,this).querySelectorAll(a(h,this)))l(w,this,y).call(this,e)}}function y(e){if(!M(e)&&!e.hasAttribute(a(f,this))){e.setAttribute(a(f,this),"");try{a(p,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let g,b=!1,A=!1,E=!1,k=[],L=new Set;const x=[];function M(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const T=Array.prototype.every,P=e=>e.nodeType===Node.TEXT_NODE;function S(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!M(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":T.call(t.addedNodes,P)&&T.call(t.removedNodes,P)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":k.push(t);break;case"childList":L.add(t)}}else E=!0;(E||k.length>0||L.size>0)&&!g&&(g=window.requestAnimationFrame(()=>{let e;if(!E){for(const e of L)if(e instanceof Element)for(const t of x)t.addTriggerElements(k,e);e=k}E=!1,k=[],L=new Set,g=0,x.forEach(t=>t.trigger(e))}))}function W(){document.documentElement.hidden=!1,S(),new MutationObserver(S).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function j(e,t,n){let r,i;void 0!==n?(r=e,i=t):(r=document,i=e,n=t);const o=new v(r,i,n);o.trigger(),x.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",W):W(),j.triggerCallbacks=S,j.pause=()=>{b=!0},j.resume=()=>{b=!1,A&&(A=!1,setTimeout(S,100))};const C=3324==n.j?j:null},66556(e,t,n){n.d(t,{AM:()=>s,D1:()=>o,H0:()=>a}),n(84978),n(13722),n(25809);var r=n(9968);if(7717==n.j)var i=n(36500);function o(e,t){!function(e){l(e,"button, a");e.querySelector('[role="menuitem"]')||e.querySelectorAll("button, a").forEach(e=>{e.hasAttribute("role")||(e.setAttribute("role","menuitem"),e.classList.add("Dropdown-item"))})}(e),function(e,t){t.hasAttribute("aria-controls")||(e.id||(e.id=(0,i.A)()),t.setAttribute("aria-controls",e.id))}(e,t),function(e,t){(function(e,t){t.addEventListener("keydown",n=>{const r=e.closest('[role="toolbar"]'),i=r?.getAttribute("aria-orientation");switch(n.key){case"ArrowDown":case"ArrowRight":if(r&&("vertical"===i&&"ArrowDown"===n.key||"vertical"!==i&&"ArrowRight"===n.key))break;t.click(),n.stopPropagation(),n.preventDefault();break;case"ArrowUp":case"ArrowLeft":if(r&&("vertical"===i&&"ArrowUp"===n.key||"vertical"!==i&&"ArrowLeft"===n.key))break;t.click(),"true"===t.getAttribute("aria-expanded")&&e.addEventListener("transitionend",()=>{c(d(u(e)),-1)},{once:!0})}})})(e,t),function(e,t){e.addEventListener("keydown",e=>{switch(e.key){case"Escape":t.click(),t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowLeft":case"ArrowUp":c(e.target,-1),e.preventDefault();break;case"ArrowRight":case"ArrowDown":c(e.target,1),e.preventDefault()}})}(e,t),a(e,t)}(e,t)}function s(e,t,n=e){const i=e.querySelector(".ComboInput"),o=n=>{t.classList.contains("is-active")&&"Tab"===n.key&&!e.contains(document.activeElement)&&document.activeElement!==i&&document.activeElement!==t&&t.click()};l(e,'[role="menuitem"]'),r.A.toggle(t,e,()=>{const r=t.classList.toggle("is-active");return r?(t.setAttribute("aria-expanded",!0),window.addEventListener("keyup",o),e.addEventListener("transitionend",()=>{const t=u(e);if(!t?.length)return;const n=d(t);n?.setAttribute("tabindex","0"),n?.focus()},{once:!0})):(t.setAttribute("aria-expanded",!1),window.removeEventListener("keyup",o)),n.classList.toggle("is-open",r)})}function a(e,t){e.querySelectorAll('button, a, [role="menuitem"]').forEach(e=>{e.addEventListener("click",()=>{"true"===t.getAttribute("aria-expanded")&&(t.click(),t.focus())})})}function c(e,t){const n=function(e){if(e)return e.closest(".is-open")||e.closest("ul")}(e),r=u(n);if(!n||!r)return;const i=r.indexOf(e);if(-1===i)return;e.setAttribute("tabindex","-1");const o=n.querySelector("li.focus");if(o&&o.classList.remove("focus"),-1===t){let e=i-1>-1?r[i-1]:r[r.length-1];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}if(1===t){let e=i+1<r.length?r[i+1]:r[0];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}}function l(e,t){e.querySelectorAll(t).forEach(e=>{e.setAttribute("tabindex","-1")})}function u(e){if(e)return Array.from(e.querySelectorAll('[role="menuitem"]')).filter(e=>!(e.hasAttribute("aria-hidden")||e.closest('[aria-hidden="true"]')||"none"===window.getComputedStyle(e).display||e.classList.contains("screen-reader-only")))}function d(e){for(const t of e)if(t.matches(".is-selected, .selected")||t.parentElement.matches(".is-selected, .selected"))return t;return e[0]}},79365(e,t,n){n.d(t,{AM:()=>s,D1:()=>o,H0:()=>a}),n(49371),n(42723),n(96648);var r=n(22777);if(3324==n.j)var i=n(49309);function o(e,t){!function(e){l(e,"button, a");e.querySelector('[role="menuitem"]')||e.querySelectorAll("button, a").forEach(e=>{e.hasAttribute("role")||(e.setAttribute("role","menuitem"),e.classList.add("Dropdown-item"))})}(e),function(e,t){t.hasAttribute("aria-controls")||(e.id||(e.id=(0,i.A)()),t.setAttribute("aria-controls",e.id))}(e,t),function(e,t){(function(e,t){t.addEventListener("keydown",n=>{const r=e.closest('[role="toolbar"]'),i=r?.getAttribute("aria-orientation");switch(n.key){case"ArrowDown":case"ArrowRight":if(r&&("vertical"===i&&"ArrowDown"===n.key||"vertical"!==i&&"ArrowRight"===n.key))break;t.click(),n.stopPropagation(),n.preventDefault();break;case"ArrowUp":case"ArrowLeft":if(r&&("vertical"===i&&"ArrowUp"===n.key||"vertical"!==i&&"ArrowLeft"===n.key))break;t.click(),"true"===t.getAttribute("aria-expanded")&&e.addEventListener("transitionend",()=>{c(d(u(e)),-1)},{once:!0})}})})(e,t),function(e,t){e.addEventListener("keydown",e=>{switch(e.key){case"Escape":t.click(),t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowLeft":case"ArrowUp":c(e.target,-1),e.preventDefault();break;case"ArrowRight":case"ArrowDown":c(e.target,1),e.preventDefault()}})}(e,t),a(e,t)}(e,t)}function s(e,t,n=e){const i=e.querySelector(".ComboInput"),o=n=>{t.classList.contains("is-active")&&"Tab"===n.key&&!e.contains(document.activeElement)&&document.activeElement!==i&&document.activeElement!==t&&t.click()};l(e,'[role="menuitem"]'),r.A.toggle(t,e,()=>{const r=t.classList.toggle("is-active");return r?(t.setAttribute("aria-expanded",!0),window.addEventListener("keyup",o),e.addEventListener("transitionend",()=>{const t=u(e);if(!t?.length)return;const n=d(t);n?.setAttribute("tabindex","0"),n?.focus()},{once:!0})):(t.setAttribute("aria-expanded",!1),window.removeEventListener("keyup",o)),n.classList.toggle("is-open",r)})}function a(e,t){e.querySelectorAll('button, a, [role="menuitem"]').forEach(e=>{e.addEventListener("click",()=>{"true"===t.getAttribute("aria-expanded")&&(t.click(),t.focus())})})}function c(e,t){const n=function(e){if(e)return e.closest(".is-open")||e.closest("ul")}(e),r=u(n);if(!n||!r)return;const i=r.indexOf(e);if(-1===i)return;e.setAttribute("tabindex","-1");const o=n.querySelector("li.focus");if(o&&o.classList.remove("focus"),-1===t){let e=i-1>-1?r[i-1]:r[r.length-1];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}if(1===t){let e=i+1<r.length?r[i+1]:r[0];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}}function l(e,t){e.querySelectorAll(t).forEach(e=>{e.setAttribute("tabindex","-1")})}function u(e){if(e)return Array.from(e.querySelectorAll('[role="menuitem"]')).filter(e=>!(e.hasAttribute("aria-hidden")||e.closest('[aria-hidden="true"]')||"none"===window.getComputedStyle(e).display||e.classList.contains("screen-reader-only")))}function d(e){for(const t of e)if(t.matches(".is-selected, .selected")||t.parentElement.matches(".is-selected, .selected"))return t;return e[0]}},9968(e,t,n){n.d(t,{A:()=>r.A});var r=n(99022)},22777(e,t,n){n.d(t,{A:()=>r.A});var r=n(55408)},5292(e,t,n){n.d(t,{A:()=>r.A});var r=n(38745)},18101(e,t,n){n.d(t,{A:()=>r.A});var r=n(25936)},32246(e,t,n){n.d(t,{A:()=>r.A});var r=n(56155)},45055(e,t,n){n.d(t,{A:()=>r.A});var r=n(91762)},26594(e,t,n){function r(e){let t;return function(){t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{t=void 0,e.apply(this,[...arguments])})}}n.d(t,{A:()=>r})},39403(e,t,n){function r(e){let t;return function(){t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{t=void 0,e.apply(this,[...arguments])})}}n.d(t,{A:()=>r})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[2963],{56155(e,t,n){n.d(t,{A:()=>N}),n(44764),n(84978),n(13722),n(91672),n(92280);var s=n(59314),i=n.n(s);function o(e,t,n){r(e,t),t.set(e,n)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,m=new WeakMap,f=new WeakMap,v=new WeakSet;class g{constructor(e,t,n){var s;r(this,s=v),s.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,m,void 0),o(this,f,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(m,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(f,this,i)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(f,this)&&Array.isArray(e))for(const t of e)a(f,this).some(e=>t.matches(e))&&l(v,this,w).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(v,this,w).call(this,e)}}function w(e){if(!T(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(m,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let y,b=!1,A=!1,E=!1,L=[],M=new Set;const C=[];function T(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const k=Array.prototype.every,S=e=>e.nodeType===Node.TEXT_NODE;function P(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!T(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":k.call(t.addedNodes,S)&&k.call(t.removedNodes,S)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":L.push(t);break;case"childList":M.add(t)}}else E=!0;(E||L.length>0||M.size>0)&&!y&&(y=window.requestAnimationFrame(()=>{let e;if(!E){for(const e of M)if(e instanceof Element)for(const t of C)t.addTriggerElements(L,e);e=L}E=!1,L=[],M=new Set,y=0,C.forEach(t=>t.trigger(e))}))}function W(){document.documentElement.hidden=!1,P(),new MutationObserver(P).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function I(e,t,n){let s,i;void 0!==n?(s=e,i=t):(s=document,i=e,n=t);const o=new g(s,i,n);o.trigger(),C.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",W):W(),I.triggerCallbacks=P,I.pause=()=>{b=!0},I.resume=()=>{b=!1,A&&(A=!1,setTimeout(P,100))};const N=7717==n.j?I:null},91762(e,t,n){n.d(t,{A:()=>N}),n(57573),n(49371),n(42723),n(56065),n(56673);var s=n(23707),i=n.n(s);function o(e,t,n){r(e,t),t.set(e,n)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,m=new WeakMap,f=new WeakMap,v=new WeakSet;class g{constructor(e,t,n){var s;r(this,s=v),s.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,m,void 0),o(this,f,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(m,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(f,this,i)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(f,this)&&Array.isArray(e))for(const t of e)a(f,this).some(e=>t.matches(e))&&l(v,this,w).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(v,this,w).call(this,e)}}function w(e){if(!T(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(m,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let y,b=!1,A=!1,E=!1,L=[],M=new Set;const C=[];function T(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const k=Array.prototype.every,S=e=>e.nodeType===Node.TEXT_NODE;function P(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!T(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":k.call(t.addedNodes,S)&&k.call(t.removedNodes,S)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":L.push(t);break;case"childList":M.add(t)}}else E=!0;(E||L.length>0||M.size>0)&&!y&&(y=window.requestAnimationFrame(()=>{let e;if(!E){for(const e of M)if(e instanceof Element)for(const t of C)t.addTriggerElements(L,e);e=L}E=!1,L=[],M=new Set,y=0,C.forEach(t=>t.trigger(e))}))}function W(){document.documentElement.hidden=!1,P(),new MutationObserver(P).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function I(e,t,n){let s,i;void 0!==n?(s=e,i=t):(s=document,i=e,n=t);const o=new g(s,i,n);o.trigger(),C.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",W):W(),I.triggerCallbacks=P,I.pause=()=>{b=!0},I.resume=()=>{b=!1,A&&(A=!1,setTimeout(P,100))};const N=3324==n.j?I:null},48874(e,t,n){n.r(t);var s=n(32246),i=n(27170);(0,s.A)('iframe[name="AppetizeIoEmbedded"]',e=>{const t=e.getAttribute("data-preview-url");if(!t)return;const n=e.id,s=e.getAttribute("src"),o=window.parent.document.querySelector('.AppetizeIo-displayControls[id="'+n+'"]'),r=o.closest(".PreviewFrame");if(!r)return;const a=document.createElement("DIV");a.classList.add("AppetizeIo-scale");const c=document.createElement("SPAN");c.innerText="Scale";const l=document.createElement("INPUT");l.type="range",l.min=25,l.max=100,l.value=50,a.appendChild(c),a.appendChild(l),l.oninput=function(){e.contentWindow.postMessage({type:"setScale",value:l.value},s)};const d=document.createElement("SPAN");d.classList.add("AppetizeIo-rotate"),d.classList.add("is-portrait"),d.onclick=function(){d.classList.contains("is-portrait")?(d.classList.remove("is-portrait"),e.contentWindow.postMessage("rotateLeft",s)):(d.classList.add("is-portrait"),e.contentWindow.postMessage("rotateRight",s))};const u=document.createElement("SPAN");u.classList.add("AppetizeIo-restorePage"),u.onclick=function(){u.dataset.url&&e.contentWindow.postMessage({type:"url",value:u.dataset.url},s)};const p=(0,i.A)(2e3,async()=>{try{u.dataset.url||(u.dataset.url=t),e&&e.contentWindow&&e.contentWindow.postMessage({type:"url",value:t},s)}catch(e){console.error(e)}}),h=function(e){"firstFrameReceived"===e.data?(o.innerHTML="",o.contains(a)||o.appendChild(a),o.contains(d)||o.appendChild(d),o.contains(u)||o.appendChild(u),p(),r.addEventListener("brightspot-preview-update",p)):"sessionEnded"===e.data&&(o.contains(u)&&o.removeChild(u),r.removeEventListener("brightspot-preview-update",p))};window.addEventListener("message",h),window.onbeforeunload=function(){o.innerHTML="",r.removeEventListener("brightspot-preview-update",p),window.removeEventListener("message",h)}})},77875(e,t,n){n.r(t);var s=n(45055),i=n(39979);(0,s.A)('iframe[name="AppetizeIoEmbedded"]',e=>{const t=e.getAttribute("data-preview-url");if(!t)return;const n=e.id,s=e.getAttribute("src"),o=window.parent.document.querySelector('.AppetizeIo-displayControls[id="'+n+'"]'),r=o.closest(".PreviewFrame");if(!r)return;const a=document.createElement("DIV");a.classList.add("AppetizeIo-scale");const c=document.createElement("SPAN");c.innerText="Scale";const l=document.createElement("INPUT");l.type="range",l.min=25,l.max=100,l.value=50,a.appendChild(c),a.appendChild(l),l.oninput=function(){e.contentWindow.postMessage({type:"setScale",value:l.value},s)};const d=document.createElement("SPAN");d.classList.add("AppetizeIo-rotate"),d.classList.add("is-portrait"),d.onclick=function(){d.classList.contains("is-portrait")?(d.classList.remove("is-portrait"),e.contentWindow.postMessage("rotateLeft",s)):(d.classList.add("is-portrait"),e.contentWindow.postMessage("rotateRight",s))};const u=document.createElement("SPAN");u.classList.add("AppetizeIo-restorePage"),u.onclick=function(){u.dataset.url&&e.contentWindow.postMessage({type:"url",value:u.dataset.url},s)};const p=(0,i.A)(2e3,async()=>{try{u.dataset.url||(u.dataset.url=t),e&&e.contentWindow&&e.contentWindow.postMessage({type:"url",value:t},s)}catch(e){console.error(e)}}),h=function(e){"firstFrameReceived"===e.data?(o.innerHTML="",o.contains(a)||o.appendChild(a),o.contains(d)||o.appendChild(d),o.contains(u)||o.appendChild(u),p(),r.addEventListener("brightspot-preview-update",p)):"sessionEnded"===e.data&&(o.contains(u)&&o.removeChild(u),r.removeEventListener("brightspot-preview-update",p))};window.addEventListener("message",h),window.onbeforeunload=function(){o.innerHTML="",r.removeEventListener("brightspot-preview-update",p),window.removeEventListener("message",h)}})},32246(e,t,n){n.d(t,{A:()=>s.A});var s=n(56155)},45055(e,t,n){n.d(t,{A:()=>s.A});var s=n(91762)},27170(e,t,n){function s(e,t){if(e<=0)return t;let n;return function(){clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(this,[...arguments])},e)}}n.d(t,{A:()=>s})},39979(e,t,n){function s(e,t){if(e<=0)return t;let n;return function(){clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(this,[...arguments])},e)}}n.d(t,{A:()=>s})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[2882],{56155(e,t,n){n.d(t,{A:()=>I}),n(44764),n(84978),n(13722),n(91672),n(92280);var r=n(59314),s=n.n(r);function o(e,t,n){i(e,t),t.set(e,n)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;i(this,r=w),r.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,f,void 0),o(this,m,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(f,this,n);const s=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);s.length===t.length&&c(m,this,s)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,b).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(w,this,b).call(this,e)}}function b(e){if(!C(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(f,this).call(this,e)}catch(t){s().error("Failed callback!",e,t)}}}let g,y=!1,E=!1,A=!1,T=[],k=new Set;const x=[];function C(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const L=Array.prototype.every,M=e=>e.nodeType===Node.TEXT_NODE;function S(e){if(y)return void(E=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!C(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":L.call(t.addedNodes,M)&&L.call(t.removedNodes,M)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(A=!0),!A)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":T.push(t);break;case"childList":k.add(t)}}else A=!0;(A||T.length>0||k.size>0)&&!g&&(g=window.requestAnimationFrame(()=>{let e;if(!A){for(const e of k)if(e instanceof Element)for(const t of x)t.addTriggerElements(T,e);e=T}A=!1,T=[],k=new Set,g=0,x.forEach(t=>t.trigger(e))}))}function O(){document.documentElement.hidden=!1,S(),new MutationObserver(S).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function P(e,t,n){let r,s;void 0!==n?(r=e,s=t):(r=document,s=e,n=t);const o=new v(r,s,n);o.trigger(),x.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O):O(),P.triggerCallbacks=S,P.pause=()=>{y=!0},P.resume=()=>{y=!1,E&&(E=!1,setTimeout(S,100))};const I=7717==n.j?P:null},91762(e,t,n){n.d(t,{A:()=>I}),n(57573),n(49371),n(42723),n(56065),n(56673);var r=n(23707),s=n.n(r);function o(e,t,n){i(e,t),t.set(e,n)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;i(this,r=w),r.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,f,void 0),o(this,m,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(f,this,n);const s=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);s.length===t.length&&c(m,this,s)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,b).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(w,this,b).call(this,e)}}function b(e){if(!C(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(f,this).call(this,e)}catch(t){s().error("Failed callback!",e,t)}}}let g,y=!1,E=!1,A=!1,T=[],k=new Set;const x=[];function C(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const L=Array.prototype.every,M=e=>e.nodeType===Node.TEXT_NODE;function S(e){if(y)return void(E=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!C(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":L.call(t.addedNodes,M)&&L.call(t.removedNodes,M)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(A=!0),!A)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":T.push(t);break;case"childList":k.add(t)}}else A=!0;(A||T.length>0||k.size>0)&&!g&&(g=window.requestAnimationFrame(()=>{let e;if(!A){for(const e of k)if(e instanceof Element)for(const t of x)t.addTriggerElements(T,e);e=T}A=!1,T=[],k=new Set,g=0,x.forEach(t=>t.trigger(e))}))}function O(){document.documentElement.hidden=!1,S(),new MutationObserver(S).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function P(e,t,n){let r,s;void 0!==n?(r=e,s=t):(r=document,s=e,n=t);const o=new v(r,s,n);o.trigger(),x.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O):O(),P.triggerCallbacks=S,P.pause=()=>{y=!0},P.resume=()=>{y=!1,E&&(E=!1,setTimeout(S,100))};const I=3324==n.j?P:null},33582(e,t,n){n.d(t,{A:()=>o});var r=n(56155);let s=0;function o(e,t){const n="_ovc"+s++,o=new IntersectionObserver(e=>{for(const r of e)if(r.isIntersecting){const e=r.target,s=e.classList;s.contains(n)||(s.add(n),o.unobserve(e),t(e))}});(0,r.A)(e,e=>{o.observe(e)})}},46391(e,t,n){n.d(t,{A:()=>o});var r=n(91762);let s=0;function o(e,t){const n="_ovc"+s++,o=new IntersectionObserver(e=>{for(const r of e)if(r.isIntersecting){const e=r.target,s=e.classList;s.contains(n)||(s.add(n),o.unobserve(e),t(e))}});(0,r.A)(e,e=>{o.observe(e)})}},67177(e,t,n){n.a(e,async(e,r)=>{try{n.r(t),n(84978),n(39589),n(91672);var s=n(10013),o=(n(29320),n(1439));window.BRIGHTSPOT?.ui.cms.enableV5UI||await n.e(4374).then(n.bind(n,34374));const e=(e,t)=>{const n=e.next(".sp-replacer").find(".sp-preview");if(t)n.attr("data-color",t);else{n.removeAttr("data-color");const r=e.prop("placeholder");t=r?.startsWith("#")&&r||"transparent"}n.find(".sp-preview-inner").css("background-color",t)};let i=0;(0,s.A)('btu-input > input[type="text"].color',t=>{const n=o(t),r=()=>n.spectrum("reflow");n.spectrum({allowEmpty:!0,cancelText:"Cancel",chooseText:"OK",clickoutFiresChange:!1,palette:(window.THEME_BUNDLE_COLOR_SWATCHES||[]).map(e=>e.color),preferredFormat:"hex6",showInitial:!1,showInput:!0,showPalette:!0,show:function(){const t=Number.parseInt(this.closest(".Popup")?this.closest(".Popup").style.zIndex:"100007")+1;n.spectrum("container").css("z-index",t),window.addEventListener("resize",r,!0),window.addEventListener("scroll",r,!0),e(n,n.val())},hide:function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r),e(n,n.val())},change:function(t){e(n,t),n[0].dispatchEvent(new Event("change",{bubbles:!0}))},move:function(t){e(n,t)}}),n.next(".sp-replacer").find(".sp-preview").attr("data-placeholder",n.prop("placeholder")),e(n,n.val()),n.on("placeholderUpdate",()=>{const t=n.next(".sp-replacer").find(".sp-preview");t.attr("data-placeholder",n.attr("placeholder")),e(n,t.attr("data-color"))});const s=t.parentNode?.querySelector(":scope > .sp-replacer");if(!s)return;const a="sp-container-"+i++,c=n.spectrum("container")[0];if(!c)return;c.id=a,s.setAttribute("aria-controls",a);const l=t.closest("dialog");l&&l.appendChild(c)}),o(window).on("resize",()=>{o(document).find('input[type="text"].color').each(function(){var e=o(this);e.spectrum&&(e.prop("disabled")?e.spectrum("disable"):e.spectrum("enable"))})}),r()}catch(e){r(e)}},1)},2784(e,t,n){n.a(e,async(e,r)=>{try{n.r(t),n(49371),n(26780),n(56065);var s=n(97204),o=(n(42129),n(88630));window.BRIGHTSPOT?.ui.cms.enableV5UI||await n.e(9561).then(n.bind(n,49561));const e=(e,t)=>{const n=e.next(".sp-replacer").find(".sp-preview");if(t)n.attr("data-color",t);else{n.removeAttr("data-color");const r=e.prop("placeholder");t=r?.startsWith("#")&&r||"transparent"}n.find(".sp-preview-inner").css("background-color",t)};let i=0;(0,s.A)('btu-input > input[type="text"].color',t=>{const n=o(t),r=()=>n.spectrum("reflow");n.spectrum({allowEmpty:!0,cancelText:"Cancel",chooseText:"OK",clickoutFiresChange:!1,palette:(window.THEME_BUNDLE_COLOR_SWATCHES||[]).map(e=>e.color),preferredFormat:"hex6",showInitial:!1,showInput:!0,showPalette:!0,show:function(){const t=Number.parseInt(this.closest(".Popup")?this.closest(".Popup").style.zIndex:"100007")+1;n.spectrum("container").css("z-index",t),window.addEventListener("resize",r,!0),window.addEventListener("scroll",r,!0),e(n,n.val())},hide:function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r),e(n,n.val())},change:function(t){e(n,t),n[0].dispatchEvent(new Event("change",{bubbles:!0}))},move:function(t){e(n,t)}}),n.next(".sp-replacer").find(".sp-preview").attr("data-placeholder",n.prop("placeholder")),e(n,n.val()),n.on("placeholderUpdate",()=>{const t=n.next(".sp-replacer").find(".sp-preview");t.attr("data-placeholder",n.attr("placeholder")),e(n,t.attr("data-color"))});const s=t.parentNode?.querySelector(":scope > .sp-replacer");if(!s)return;const a="sp-container-"+i++,c=n.spectrum("container")[0];if(!c)return;c.id=a,s.setAttribute("aria-controls",a);const l=t.closest("dialog");l&&l.appendChild(c)}),o(window).on("resize",()=>{o(document).find('input[type="text"].color').each(function(){var e=o(this);e.spectrum&&(e.prop("disabled")?e.spectrum("disable"):e.spectrum("enable"))})}),r()}catch(e){r(e)}},1)},10013(e,t,n){n.d(t,{A:()=>r.A});var r=n(33582)},97204(e,t,n){n.d(t,{A:()=>r.A});var r=n(46391)}}]);
|