PageSourceSearch

https://console.azion.com/assets/overlaypanel.esm-BWaqgdfe.js

js azion.com collected 2026-10-01 12:19:34 UTC 10,949 bytes, 79 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`3686179ba4b39e40ec26acbd4462fb1b7f111901`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e5918f78-cfea-4261-80a9-bcc38751e0ad`,e._sentryDebugIdIdentifier=`sentry-dbid-e5918f78-cfea-4261-80a9-bcc38751e0ad`)}catch{}})();import{G as e,H as t,U as n,W as r,d as i,f as a,i as o,k as s,nt as c,p as l,rt as u,u as d,v as f,z as p}from"./runtime-core.esm-bundler-DJe_7dfx.js";import{t as m}from"./runtime-dom.esm-bundler-C3JhlQq3.js";import{a as h,c as g,i as _,r as v,s as y,t as b}from"./basecomponent.esm-CFCT90Rs.js";import{t as x}from"./ripple.esm-C4Cb9E3q.js";import{n as S,t as C}from"./index.esm-DC4u0tC9.js";import{t as w}from"./portal.esm-CzJ9TiNY.js";import{t as T}from"./overlayeventbus.esm-C7Cueed_.js";var E=`
2@layer primevue {
3    .p-overlaypanel {
4        margin-top: 10px;
5    }
6    
7    .p-overlaypanel-flipped {
8        margin-top: 0;
9        margin-bottom: 10px;
10    }
11    
12    .p-overlaypanel-close {
13        display: flex;
14        justify-content: center;
15        align-items: center;
16        overflow: hidden;
17        position: relative;
18    }
19    
20    /* Animation */
21    .p-overlaypanel-enter-from {
22        opacity: 0;
23        transform: scaleY(0.8);
24    }
25    
26    .p-overlaypanel-leave-to {
27        opacity: 0;
28    }
29    
30    .p-overlaypanel-enter-active {
31        transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
32    }
33    
34    .p-overlaypanel-leave-active {
35        transition: opacity 0.1s linear;
36    }
37    
38    .p-overlaypanel:after,
39    .p-overlaypanel:before {
40        bottom: 100%;
41        left: calc(var(--overlayArrowLeft, 0) + 1.25rem);
42        content: ' ';
43        height: 0;
44        width: 0;
45        position: absolute;
46        pointer-events: none;
47    }
48    
49    .p-overlaypanel:after {
50        border-width: 8px;
51        margin-left: -8px;
52    }
53    
54    .p-overlaypanel:before {
55        border-width: 10px;
56        margin-left: -10px;
57    }
58    
59    .p-overlaypanel-flipped:after,
60    .p-overlaypanel-flipped:before {
61        bottom: auto;
62        top: 100%;
63    }
64    
65    .p-overlaypanel.p-overlaypanel-flipped:after {
66        border-bottom-color: transparent;
67    }
68    
69    .p-overlaypanel.p-overlaypanel-flipped:before {
70        border-bottom-color: transparent;
71    }
72}
73`,D={root:function(e){var t=e.instance;return[`p-overlaypanel p-component`,{"p-input-filled":t.$primevue.config.inputStyle===`filled`,"p-ripple-disabled":t.$primevue.config.ripple===!1}]},content:`p-overlaypanel-content`,closeButton:`p-overlaypanel-close p-link`,closeIcon:`p-overlaypanel-close-icon`},O=v(E,{name:`overlaypanel`,manual:!0}).load,k={name:`OverlayPanel`,extends:{name:`BaseOverlayPanel`,extends:b,props:{dismissable:{type:Boolean,default:!0},showCloseIcon:{type:Boolean,default:!1},appendTo:{type:String,default:`body`},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},breakpoints:{type:Object,default:null},closeIcon:{type:String,default:void 0}},css:{classes:D,loadStyle:O},provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:[`show`,`hide`],data:function(){return{visible:!1}},watch:{dismissable:{immediate:!0,handler:function(e){e?this.bindOutsideClickListener():this.unbindOutsideClickListener()}}},selfClick:!1,target:null,eventTarget:null,outsideClickListener:null,scrollHandler:null,resizeListener:null,container:null,styleElement:null,overlayEventListener:null,beforeUnmount:function(){this.dismissable&&this.unbindOutsideClickListener(),this.scrollHandler&&=(this.scrollHandler.destroy(),null),this.destroyStyle(),this.unbindResizeListener(),this.target=null,this.container&&this.autoZIndex&&g.clear(this.container),this.overlayEventListener&&=(T.off(`overlay-click`,this.overlayEventListener),null),this.container=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{toggle:function(e,t){this.visible?this.hide():this.show(e,t)},show:function(e,t){this.visible=!0,this.eventTarget=e.currentTarget,this.target=t||e.currentTarget},hide:function(){this.visible=!1},onContentClick:function(){this.selfClick=!0},onEnter:function(e){var t=this;this.container.setAttribute(this.attributeSelector,``),h.addStyles(e,{position:`absolute`,top:`0`,left:`0`}),this.alignOverlay(),this.dismissable&&this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.autoZIndex&&g.set(`overlay`,e,this.baseZIndex+this.$primevue.config.zIndex.overlay),this.overlayEventListener=function(e){t.container.contains(e.target)&&(t.selfClick=!0)},this.focus(),T.on(`overlay-click`,this.overlayEventListener),this.$emit(`show`)},onLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),T.off(`overlay-click`,this.overlayEventListener),this.overlayEventListener=null,this.$emit(`hide`)},onAfterLeave:function(e){this.autoZIndex&&g.clear(e)},alignOverlay:function(){h.absolutePosition(this.container,this.target);var e=h.getOffset(this.container),t=h.getOffset(this.target),n=0;e.left<t.left&&(n=t.left-e.left),this.container.style.setProperty(`--overlayArrowLeft`,`${n}px`),e.top<t.top&&(this.container.setAttribute(`data-p-overlaypanel-flipped`,`true`),!this.isUnstyled&&h.addClass(this.container,`p-overlaypanel-flipped`))},onContentKeydown:function(e){e.code===`Escape`&&(this.hide(),h.focus(this.target))},onButtonKeydown:function(e){switch(e.code){case`ArrowDown`:case`ArrowUp`:case`ArrowLeft`:case`ArrowRight`:e.preventDefault()}},focus:function(){var e=this.container.querySelector(`[autofocus]`);e&&e.focus()},bindOutsideClickListener:function(){var e=this;!this.outsideClickListener&&h.isClient()&&(this.outsideClickListener=function(t){e.visible&&!e.selfClick&&!e.isTargetClicked(t)&&(e.visible=!1),e.selfClick=!1},document.addEventListener(`click`,this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener(`click`,this.outsideClickListener),this.outsideClickListener=null,this.selfClick=!1)},bindScrollListener:function(){var e=this;this.scrollHandler||=new _(this.target,function(){e.visible&&=!1}),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.visible&&!h.isTouchDevice()&&(e.visible=!1)},window.addEventListener(`resize`,this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),null)},isTargetClicked:function(e){return this.eventTarget&&(this.eventTarget===e.target||this.eventTarget.contains(e.target))},containerRef:function(e){this.container=e},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement(`style`),this.styleElement.type=`text/css`,h.setAttribute(this.styleElement,`nonce`,(e=this.$primevue)==null||(e=e.config)==null||(e=e.csp)==null?void 0:e.nonce),document.head.appendChild(this.styleElement);var t=``;for(var n in this.breakpoints)t+=`
74                        @media screen and (max-width: ${n}) {
75                            .p-overlaypanel[${this.attributeSelector}] {
76                                width: ${this.breakpoints[n]} !important;
77                            }
78                        }
79                    `;this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&=(document.head.removeChild(this.styleElement),null)},onOverlayClick:function(e){T.emit(`overlay-click`,{originalEvent:e,target:this.target})}},computed:{attributeSelector:function(){return y()},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}}
79,directives:{focustrap:S,ripple:x},components:{Portal:w,TimesIcon:C}};function A(e){"@babel/helpers - typeof";return A=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},A(e)}function j(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 M(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?j(Object(n),!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function N(e,t,n){return t=P(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e){var t=F(e,`string`);return A(t)===`symbol`?t:String(t)}function F(e,t){if(A(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(A(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var I=[`aria-modal`],L=[`aria-label`];function R(h,g,_,v,y,b){var x=n(`Portal`),S=r(`ripple`),C=r(`focustrap`);return p(),i(x,{appendTo:h.appendTo},{default:c(function(){return[f(m,s({name:`p-overlaypanel`,onEnter:b.onEnter,onLeave:b.onLeave,onAfterLeave:b.onAfterLeave},h.ptm(`transition`)),{default:c(function(){return[y.visible?u((p(),l(`div`,s({key:0,ref:b.containerRef,role:`dialog`,"aria-modal":y.visible,onClick:g[5]||=function(){return b.onOverlayClick&&b.onOverlayClick.apply(b,arguments)},class:h.cx(`root`)},M(M({},h.$attrs),h.ptm(`root`))),[h.$slots.container?t(h.$slots,`container`,{key:0,onClose:b.hide,onKeydown:function(e){return b.onButtonKeydown(e)}}):(p(),l(o,{key:1},[d(`div`,s({class:h.cx(`content`),onClick:g[0]||=function(){return b.onContentClick&&b.onContentClick.apply(b,arguments)},onMousedown:g[1]||=function(){return b.onContentClick&&b.onContentClick.apply(b,arguments)},onKeydown:g[2]||=function(){return b.onContentKeydown&&b.onContentKeydown.apply(b,arguments)}},h.ptm(`content`)),[t(h.$slots,`default`)],16),h.showCloseIcon?u((p(),l(`button`,s({key:0,class:h.cx(`closeButton`),"aria-label":b.closeAriaLabel,type:`button`,autofocus:``,onClick:g[3]||=function(){return b.hide&&b.hide.apply(b,arguments)},onKeydown:g[4]||=function(){return b.onButtonKeydown&&b.onButtonKeydown.apply(b,arguments)}},h.ptm(`closeButton`)),[t(h.$slots,`closeicon`,{},function(){return[(p(),i(e(h.closeIcon?`span`:`TimesIcon`),s({class:[h.cx(`closeIcon`),h.closeIcon]},h.ptm(`closeIcon`)),null,16,[`class`]))]})],16,L)),[[S]]):a(``,!0)],64))],16,I)),[[C]]):a(``,!0)]}),_:3},16,[`onEnter`,`onLeave`,`onAfterLeave`])]}),_:3},8,[`appendTo`])}k.render=R;export{k 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.