PageSourceSearch

https://parkroll.com/chunk-43MJ3AA3.js

js parkroll.com collected 2026-10-09 22:58:51 UTC 24,326 bytes, 12 lines download raw bytes

1import{d as st,v as rt}from"./chunk-WN7XEXF3.js";import{C as A,E as Q,Ea as O,Ha as T,Ia as S,Ma as J,Oc as it,Sc as nt,ea as D,f as U,ib as tt,ja as b,kb as et,l as X,lb as ot,ob as j,r as P}from"./chunk-FBADWYZW.js";import{a as w,b as M}from"./chunk-RVFOIZLJ.js";var L=class{constructor(e,o){this.open=e,this.close=o||e}isManual(){return this.open==="manual"||this.close==="manual"}},Mt={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function Dt(t,e=Mt){let o=(t||"").trim();if(o.length===0)return[];let i=o.split(/\s+/).map(n=>n.split(":")).map(n=>{let r=e[n[0]]||n;return new L(r[0],r[1])}),s=i.filter(n=>n.isManual());if(s.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(s.length===1&&i.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return i}function ct(t,e){let o=Dt(e.triggers),i=e.target;if(o.length===1&&o[0].isManual())return Function.prototype;let s=[],n=[],r=()=>{n.forEach(f=>s.push(f())),n.length=0};return o.forEach(f=>{let h=f.open===f.close,c=h?e.toggle:e.show;if(!h&&f.close&&e.hide){let l=f.close,u=e.hide,p=()=>t.listen(i,l,u);n.push(p)}c&&s.push(t.listen(i,f.open,()=>c(r)))}),()=>{s.forEach(f=>f())}}function lt(t,e){return e.outsideClick?t.listen("document","click",o=>{e.target&&e.target.contains(o.target)||e.targets&&e.targets.some(i=>i.contains(o.target))||e.hide&&e.hide()}):Function.prototype}function at(t,e){return e.outsideEsc?t.listen("document","keyup.esc",o=>{e.target&&e.target.contains(o.target)||e.targets&&e.targets.some(i=>i.contains(o.target))||e.hide&&e.hide()}):Function.prototype}var d=typeof window<"u"&&window||{},ee=d.document,oe=d.location,ie=d.gc?()=>d.gc():()=>null,ne=d.performance?d.performance:null,se=d.Event,re=d.MouseEvent,fe=d.KeyboardEvent,he=d.EventTarget,ce=d.History,le=d.Location,ae=d.EventListener,ut=function(t){return t.isBs4="bs4",t.isBs5="bs5",t}(ut||{}),v;function dt(){let t=d.document.createElement("span");t.innerText="testing bs version",t.classList.add("d-none"),t.classList.add("pl-1"),d.document.head.appendChild(t);let e=d.getComputedStyle(t).paddingLeft;return e&&parseFloat(e)?(d.document.head.removeChild(t),"bs4"):(d.document.head.removeChild(t),"bs5")}function Tt(){return v||(v=dt()),v==="bs4"}function jt(){return v||(v=dt()),v==="bs5"}function x(){return{isBs4:Tt(),isBs5:jt()}}function Ht(){let t=x(),e=Object.keys(t).find(o=>t[o]);return ut[e]}function ue(){let t="Change";return function(o,i){let s=` __${i}Value`;Object.defineProperty(o,i,{get(){return this[s]},set(n){let r=this[s];this[s]=n,r!==n&&this[i+t]&&this[i+t].emit(n)}})}}var ft=class{static reflow(e){e.offsetHeight}static getStyles(e){let o=e.ownerDocument.defaultView;return(!o||!o.opener)&&(o=d),o.getComputedStyle(e)}static stackOverflowConfig(){let e=Ht();return{crossorigin:"anonymous",integrity:e==="bs5"?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:e==="bs5"?"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"}}},ht={},Vt=typeof console>"u"||!("warn"in console);function de(t){!nt()||Vt||t in ht||(ht[t]=!0,console.warn(t))}var vt=function(t){return t.top="top",t.bottom="bottom",t.left="left",t.right="right",t.auto="auto",t.end="right",t.start="left",t["top left"]="top left",t["top right"]="top right",t["right top"]="right top",t["right bottom"]="right bottom",t["bottom right"]="bottom right",t["bottom left"]="bottom left",t["left bottom"]="left bottom",t["left top"]="left top",t["top start"]="top left",t["top end"]="top right",t["end top"]="right top",t["end bottom"]="right bottom",t["bottom end"]="bottom right",t["bottom start"]="bottom left",t["start bottom"]="start bottom",t["start top"]="left top",t}(vt||{}),B=function(t){return t.top="top",t.bottom="bottom",t.left="start",t.right="end",t.auto="auto",t.end="end",t.start="start",t["top left"]="top start",t["top right"]="top end",t["right top"]="end top",t["right bottom"]="end bottom",t["bottom right"]="bottom end",t["bottom left"]="bottom start",t["left bottom"]="start bottom",t["left top"]="start top",t["top start"]="top start",t["top end"]="top end",t["end top"]="end top",t["end bottom"]="end bottom",t["bottom end"]="bottom end",t["bottom start"]="bottom start",t["start bottom"]="start bottom",t["start top"]="start top",t}(B||{});
1function E(t,e){if(t.nodeType!==1)return[];let i=t.ownerDocument.defaultView?.getComputedStyle(t,null);return e?i&&i[e]:i}function q(t){if(!t)return document.documentElement;let e=null,o=t?.offsetParent,i;for(;o===e&&t.nextElementSibling&&i!==t.nextElementSibling;)i=t.nextElementSibling,o=i.offsetParent;let s=o&&o.nodeName;return!s||s==="BODY"||s==="HTML"?i?i.ownerDocument.documentElement:document.documentElement:o&&["TH","TD","TABLE"].indexOf(o.nodeName)!==-1&&E(o,"position")==="static"?q(o):o}function kt(t){let{nodeName:e}=t;return e==="BODY"?!1:e==="HTML"||q(t.firstElementChild)===t}function F(t){return t.parentNode!==null?F(t.parentNode):t}function k(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;let o=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?t:e,s=o?e:t,n=document.createRange();n.setStart(i,0),n.setEnd(s,0);let r=n.commonAncestorContainer;if(t!==r&&e!==r||i.contains(s))return kt(r)?r:q(r);let f=F(t);return f.host?k(f.host,e):k(t,F(e).host)}function _t(t){if(!t||!t.parentElement)return document.documentElement;let e=t.parentElement;for(;e?.parentElement&&E(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function gt(t,e){let o=e==="x"?"Left":"Top",i=o==="Left"?"Right":"Bottom";return parseFloat(t[`border${o}Width`])+parseFloat(t[`border${i}Width`])}function pt(t,e,o){let i=e,s=o;return Math.max(i[`offset${t}`],i[`scroll${t}`],s[`client${t}`],s[`offset${t}`],s[`scroll${t}`],0)}function Et(t){let e=t.body,o=t.documentElement;return{height:pt("Height",e,o),width:pt("Width",e,o)}}function N(t){return M(w({},t),{right:(t.left||0)+t.width,bottom:(t.top||0)+t.height})}function At(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(Number(t))}function a(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function mt(t){let e=t.getBoundingClientRect();if(!(e&&a(e.top)&&a(e.left)&&a(e.bottom)&&a(e.right)))return e;let o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i=t.nodeName==="HTML"?Et(t.ownerDocument):void 0,s=i?.width||t.clientWidth||a(e.right)&&a(o.left)&&e.right-o.left||0,n=i?.height||t.clientHeight||a(e.bottom)&&a(o.top)&&e.bottom-o.top||0,r=t.offsetWidth-s,f=t.offsetHeight-n;if(r||f){let h=E(t);r-=gt(h,"x"),f-=gt(h,"y"),o.width-=r,o.height-=f}return N(o)}function Y(t,e,o=!1){let i=e.nodeName==="HTML",s=mt(t),n=mt(e),r=E(e),f=parseFloat(r.borderTopWidth),h=parseFloat(r.borderLeftWidth);o&&i&&(n.top=Math.max(n.top??0,0),n.left=Math.max(n.left??0,0));let c=N({top:(s.top??0)-(n.top??0)-f,left:(s.left??0)-(n.left??0)-h,width:s.width,height:s.height});if(c.marginTop=0,c.marginLeft=0,i){let l=parseFloat(r.marginTop),u=parseFloat(r.marginLeft);a(c.top)&&(c.top-=f-l),a(c.bottom)&&(c.bottom-=f-l),a(c.left)&&(c.left-=h-u),a(c.right)&&(c.right-=h-u),c.marginTop=l,c.marginLeft=u}return c}function Z(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function yt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body;default:}let{overflow:e,overflowX:o,overflowY:i}=E(t);return/(auto|scroll|overlay)/.test(String(e)+String(i)+String(o))?t:yt(Z(t))}function bt(t,e="top"){let o=e==="top"?"scrollTop":"scrollLeft",i=t.nodeName;if(i==="BODY"||i==="HTML"){let s=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||s)[o]}return t[o]}function Lt(t,e=!1){let o=t.ownerDocument.documentElement,i=Y(t,o),s=Math.max(o.clientWidth,window.innerWidth||0),n=Math.max(o.clientHeight,window.innerHeight||0),r=e?0:bt(o),f=e?0:bt(o,"left"),h={top:r-Number(i?.top)+Number(i?.marginTop),left:f-Number(i?.left)+Number(i?.marginLeft),width:s,height:n};return N(h)}function Rt(t){let e=t.nodeName;return e==="BODY"||e==="HTML"?!1:E(t,"position")==="fixed"?!0:Rt(Z(t))}function I(t,e,o=0,i,s=!1){let n={top:0,left:0},r=s?_t(t):k(t,e);if(i==="viewport")n=Lt(r,s);else{let f;i==="scrollParent"?(f=yt(Z(e)),f.nodeName==="BODY"&&(f=t.ownerDocument.documentElement)):i==="window"?f=t.ownerDocument.documentElement:f=i;let h=Y(f,r,s);if(h&&f.nodeName==="HTML"&&!Rt(r)){let{height:c,width:l}=Et(t.ownerDocument);a(n.top)&&a(h.top)&&a(h.marginTop)&&(n.top+=h.top-h.marginTop),a(n.top)&&(n.bottom=Number(c)+Number(h.top)),a(n.left)&&a(h.left)&&a(h.marginLeft)&&(n.left+=h.left-h.marginLeft),a(n.top)&&(n.right=Number(l)+Number(h.left))}else h&&(n=h)}return a(n.left)&&(n.left+=o),a(n.top)&&(n.top+=o),a(n.right)&&(n.right-=o),a(n.bottom)&&(n.bottom-=o),n}function Ft({width:t,height:e}){return t*e}function xt(t,e,o,i,s=["top","bottom","right","left"],n="viewport",r=0){if(t.indexOf("auto")===-1)return t;let f=I(o,i,r,n),h={top:{width:f?.width??0,height:(e?.top??0)-(f?.top??0)},right:{width:(f?.right??0)-(e?.right??0),height:f?.height??0},bottom:{width:f?.width??0,height:(f?.bottom??0)-(e?.bottom??0)},left:{width:(e.left??0)-(f?.left??0),height:f?.height??0}},c=Object.keys(h).map(g=>M(w({position:g},h[g]),{area:Ft(h[g])})).sort((g,m)=>m.area-g.area),l=c.filter(({width:g,height:m})=>g>=o.clientWidth&&m>=o.clientHeight);l=l.filter(({position:g})=>s.some(m=>m===g));let u=l.length>0?l[0].position:c[0].position,p=t.split(" ")[1];return o.className=o.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${x().isBs5?B[u]:u}`),u+(p?`-${p}`:"")}function zt(t){return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(t.offsets.target.left??0),top:Math.round(t.offsets.target.top??0),bottom:Math.round(t.offsets.target.bottom??0),right:Math.floor(t.offsets.target.right??0)}}
1function Wt(t){let e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,o=>e[o])}function Bt(t){return t==="right"?"left":t==="left"?"right":t}var H=(t,e=0)=>t?parseFloat(t):e;function Ot(t){let o=t.ownerDocument.defaultView?.getComputedStyle(t),i=H(o?.marginTop)+H(o?.marginBottom),s=H(o?.marginLeft)+H(o?.marginRight);return{width:Number(t.offsetWidth)+s,height:Number(t.offsetHeight)+i}}function St(t,e,o){let i=o?_t(t):k(t,e);return Y(e,i,o)}function z(t,e,o){let i=o.split(" ")[0],s=Ot(t),n={width:s.width,height:s.height},r=["right","left"].indexOf(i)!==-1,f=r?"top":"left",h=r?"left":"top",c=r?"height":"width",l=r?"width":"height";return n[f]=(e[f]??0)+e[c]/2-s[c]/2,n[h]=i===h?(e[h]??0)-s[l]:e[Wt(h)]??0,n}function Nt(t,e){return!!t.modifiers[e]?.enabled}var qt={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function V(t,e){return x().isBs5?qt[e].includes(t):!1}function Yt(t){return x().isBs5?V(t,"end")?"ms-2":V(t,"start")?"me-2":V(t,"top")?"mb-2":V(t,"bottom")?"mt-2":"":""}function Zt(t,e){let o=t.instance.target,i=o.className,s=x().isBs5?B[t.placement]:t.placement;if(t.placementAuto&&(i=i.replace(/bs-popover-auto/g,`bs-popover-${s}`),i=i.replace(/ms-2|me-2|mb-2|mt-2/g,""),i=i.replace(/bs-tooltip-auto/g,`bs-tooltip-${s}`),i=i.replace(/\sauto/g,` ${s}`),i.indexOf("popover")!==-1&&(i=i+" "+Yt(s)),i.indexOf("popover")!==-1&&i.indexOf("popover-auto")===-1&&(i+=" popover-auto"),i.indexOf("tooltip")!==-1&&i.indexOf("tooltip-auto")===-1&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom|end|start/g,`${s.split(" ")[0]}`),e){e.setAttribute(o,"class",i);return}o.className=i}function wt(t,e,o){!t||!e||Object.keys(e).forEach(i=>{let s="";if(["width","height","top","right","bottom","left"].indexOf(i)!==-1&&At(e[i])&&(s="px"),o){o.setStyle(t,i,`${String(e[i])}${s}`);return}t.style[i]=String(e[i])+s})}function It(t){let e=t.offsets.target,o=t.instance.target.querySelector(".arrow");if(!o)return t;let i=["left","right"].indexOf(t.placement.split(" ")[0])!==-1,s=i?"height":"width",n=i?"Top":"Left",r=n.toLowerCase(),f=i?"left":"top",h=i?"bottom":"right",c=Ot(o)[s],l=t.placement.split(" ")[1];(t.offsets.host[h]??0)-c<(e[r]??0)&&(e[r]-=(e[r]??0)-((t.offsets.host[h]??0)-c)),Number(t.offsets.host[r])+Number(c)>(e[h]??0)&&(e[r]+=Number(t.offsets.host[r])+Number(c)-Number(e[h])),e=N(e);let u=E(t.instance.target),p=parseFloat(u[`margin${n}`])||0,g=parseFloat(u[`border${n}Width`])||0,m;if(!l)m=Number(t.offsets.host[r])+Number(t.offsets.host[s]/2-c/2);else{let C=parseFloat(u.borderRadius)||0,_=Number(p+g+C);m=r===l?Number(t.offsets.host[r])+_:Number(t.offsets.host[r])+Number(t.offsets.host[s]-_)}let R=m-(e[r]??0)-p-g;return R=Math.max(Math.min(e[s]-(c+5),R),0),t.offsets.arrow={[r]:Math.round(R),[f]:""},t.instance.arrow=o,t}function Gt(t){if(t.offsets.target=N(t.offsets.target),!Nt(t.options,"flip"))return t.offsets.target=w(w({},t.offsets.target),z(t.instance.target,t.offsets.host,t.placement)),t;let e=I(t.instance.target,t.instance.host,0,"viewport",!1),o=t.placement.split(" ")[0],i=t.placement.split(" ")[1]||"",s=t.offsets.host,n=t.instance.target,r=t.instance.host,f=xt("auto",s,n,r,t.options.allowedPositions),h=[o,f];return h.forEach((c,l)=>{if(o!==c||h.length===l+1)return;o=t.placement.split(" ")[0];let u=o==="left"&&Math.floor(t.offsets.target.right??0)>Math.floor(t.offsets.host.left??0)||o==="right"&&Math.floor(t.offsets.target.left??0)<Math.floor(t.offsets.host.right??0)||o==="top"&&Math.floor(t.offsets.target.bottom??0)>Math.floor(t.offsets.host.top??0)||o==="bottom"&&Math.floor(t.offsets.target.top??0)<Math.floor(t.offsets.host.bottom??0),p=Math.floor(t.offsets.target.left??0)<Math.floor(e.left??0),g=Math.floor(t.offsets.target.right??0)>Math.floor(e.right??0),m=Math.floor(t.offsets.target.top??0)<Math.floor(e.top??0),R=Math.floor(t.offsets.target.bottom??0)>Math.floor(e.bottom??0),C=o==="left"&&p||o==="right"&&g||o==="top"&&m||o==="bottom"&&R,_=["top","bottom"].indexOf(o)!==-1,K=_&&i==="left"&&p||_&&i==="right"&&g||!_&&i==="left"&&m||!_&&i==="right"&&R;(u||C||K)&&((u||C)&&(o=h[l+1]),K&&(i=Bt(i)),t.placement=o+(i?` ${i}`:""),t.offsets.target=w(w({},t.offsets.target),z(t.instance.target,t.offsets.host,t.placement)))}),t}
1function Kt(t,e,o,i){if(!t||!e)return;let s=St(t,e);!o.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!o.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(o="auto");let n=!!o.match(/auto/g),r=o.match(/auto\s(left|right|top|bottom|start|end)/)?o.split(" ")[1]||"auto":o,f=r.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);f&&(r=f[1]+(f[2]?` ${f[2]}`:"")),["left right","right left","top bottom","bottom top"].indexOf(r)!==-1&&(r="auto"),r=xt(r,s,t,e,i?i.allowedPositions:void 0);let h=z(t,s,r);return{options:i||{modifiers:{}},instance:{target:t,host:e,arrow:void 0},offsets:{target:h,host:s,arrow:void 0},positionFixed:!1,placement:r,placementAuto:n}}function Ut(t){if(!Nt(t.options,"preventOverflow"))return t;let e="transform",o=t.instance.target.style,{top:i,left:s,[e]:n}=o;o.top="",o.left="",o[e]="";let r=I(t.instance.target,t.instance.host,0,t.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);o.top=i,o.left=s,o[e]=n;let f=["left","right","top","bottom"],h={primary(c){let l=t.offsets.target[c];return(t.offsets.target[c]??0)<(r[c]??0)&&(l=Math.max(t.offsets.target[c]??0,r[c]??0)),{[c]:l}},secondary(c){let l=c==="right",u=l?"left":"top",p=l?"width":"height",g=t.offsets.target[u];return(t.offsets.target[c]??0)>(r[c]??0)&&(g=Math.min(t.offsets.target[u]??0,(r[c]??0)-t.offsets.target[p])),{[u]:g}}};return f.forEach(c=>{let l=["left","top","start"].indexOf(c)!==-1?h.primary:h.secondary;t.offsets.target=w(w({},t.offsets.target),l(c))}),t}function Xt(t){let e=t.placement,o=e.split(" ")[0],i=e.split(" ")[1];if(i){let{host:s,target:n}=t.offsets,r=["bottom","top"].indexOf(o)!==-1,f=r?"left":"top",h=r?"width":"height",c={start:{[f]:s[f]},end:{[f]:(s[f]??0)+s[h]-n[h]}};t.offsets.target=M(w({},n),{[f]:f===i?c.start[f]:c.end[f]})}return t}var W=class{position(e,o){return this.offset(e,o)}offset(e,o){return St(o,e)}positionElements(e,o,i,s,n){let r=[Gt,Xt,Ut,It],f=vt[i],h=Kt(o,e,f,n);if(h)return r.reduce((c,l)=>l(c),h)}},Pt=new W;function Qt(t,e,o,i,s,n){let r=Pt.positionElements(t,e,o,i,s);if(!r)return;let f=zt(r);wt(e,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${f.left}px, ${f.top}px, 0px)`},n),r.instance.arrow&&wt(r.instance.arrow,r.offsets.arrow,n),Zt(r,n)}var Ct=(()=>{class t{constructor(o,i,s){this.update$$=new U,this.positionElements=new Map,this.isDisabled=!1,rt(s)&&o.runOutsideAngular(()=>{this.triggerEvent$=Q(A(window,"scroll",{passive:!0}),A(window,"resize",{passive:!0}),P(0,X),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(n=>{Qt($(n.target),$(n.element),n.attachment,n.appendToBody,this.options,i.createRenderer(null,null))})})})}position(o){this.addPositionElement(o)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(o){this.positionElements.set($(o.element),o)}calcPosition(){this.update$$.next(null)}deletePositionElement(o){this.positionElements.delete($(o))}setOptions(o){this.options=o}static{this.\u0275fac=function(i){return new(i||t)(b(j),b(ot),b(J))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function $(t){return typeof t=="string"?document.querySelector(t):t instanceof T?t.nativeElement:t??null}var y=class{constructor(e,o,i){this.nodes=e,this.viewRef=o,this.componentRef=i}},G=class{constructor(e,o,i,s,n,r,f,h,c){this._viewContainerRef=e,this._renderer=o,this._elementRef=i,this._injector=s,this._componentFactoryResolver=n,this._ngZone=r,this._applicationRef=f,this._posService=h,this._document=c,this.onBeforeShow=new S,this.onShown=new S,this.onBeforeHide=new S,this.onHidden=new S,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return this._isHiding?!1:!!this._componentRef}attach(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}to(e){return this.container=e||this.container,this}position(e){return e?(this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this):this}provide(e){return this._providers.push(e),this}show(e={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);let o=O.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(o,this._contentRef.n
1odes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof T&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),typeof this.container=="string"&&typeof this._document<"u"){let i=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!i)return;i.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(e.id?{id:e.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(e){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);let o=this._componentRef.location.nativeElement;return o.parentNode?.removeChild(o),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(e?{id:e}:null),this}toggle(){if(this.isShown){this.hide();return}this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(e){this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||this._elementRef?.nativeElement;let o=this._listenOpts.hide=()=>e.hide?e.hide():void this.hide(),i=this._listenOpts.show=n=>{e.show?e.show(n):this.show(n),n()},s=n=>{this.isShown?o():i(n)};return this._renderer&&(this._unregisterListenersFn=ct(this._renderer,{target:e.target,triggers:e.triggers,show:i,hide:o,toggle:s})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(e,o){return e&&o&&(this._inlineViewRef=e.createEmbeddedView(o)),this}_registerOutsideClick(){if(!(!this._componentRef||!this._componentRef.location)){if(this._listenOpts.outsideClick){let e=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=lt(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}if(this._listenOpts.outsideEsc&&this._renderer&&this._elementRef){let e=this._componentRef.location.nativeElement;this._globalListener=at(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})}}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:this.container==="body"})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(e,o,i){if(!e)return new y([]);if(e instanceof tt){if(this._viewContainerRef){let r=this._viewContainerRef.createEmbeddedView(e,o);return r.markForCheck(),new y([r.rootNodes],r)}let n=e.createEmbeddedView({});return this._applicationRef.attachView(n),new y([n.rootNodes],n)}if(typeof e=="function"){let n=this._componentFactoryResolver.resolve
1ComponentFactory(e),r=O.create({providers:this._providers,parent:this._injector}),f=n.create(r);return Object.assign(f.instance,i),this._applicationRef.attachView(f.hostView),new y([[f.location.nativeElement]],f.hostView,f)}let s=this._renderer?[this._renderer.createText(`${e}`)]:[];return new y([s])}},Ne=(()=>{class t{constructor(o,i,s,n,r,f){this._componentFactoryResolver=o,this._ngZone=i,this._injector=s,this._posService=n,this._applicationRef=r,this._document=f}createLoader(o,i,s){return new G(i,s,o,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static{this.\u0275fac=function(i){return new(i||t)(b(et),b(j),b(O),b(Ct),b(it),b(st))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{Dt as a,ee as b,x as c,ue as d,ft as e,de as f,B as g,Yt as h,Ct as i,Ne as j};
2/*! Bundled license information:
3
4ngx-bootstrap/utils/fesm2022/ngx-bootstrap-utils.mjs:
5  (**
6   * @license
7   * Copyright Google Inc. All Rights Reserved.
8   *
9   * Use of this source code is governed by an MIT-style license that can be
10   * found in the LICENSE file at https://angular.io/license
11   *)
12*/

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.