1import{r as tt,a as et,b as I,c as it,d as st,e as nt,g as ot}from"./selector-engine-BX2jQVxG.js";import{r as rt}from"./index-rqlpxwCi.js";function at(g,E){for(var c=0;c<E.length;c++){const a=E[c];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in g)){const h=Object.getOwnPropertyDescriptor(a,s);h&&Object.defineProperty(g,s,h.get?h:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}},w={exports:{}};var lt=w.exports,M;function z(){return M||(M=1,(function(g,E){(function(c,a){a(E)})(lt,(function(c){const s={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},h=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),l=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,v=(p,f)=>{const _=p.nodeName.toLowerCase();return f.includes(_)?h.has(_)?!!l.test(p.nodeValue):!0:f.filter(i=>i instanceof RegExp).some(i=>i.test(_))};function C(p,f,_){if(!p.length)return p;if(_&&typeof _=="function")return _(p);const n=new window.DOMParser().parseFromString(p,"text/html"),m=[].concat(...n.body.querySelectorAll("*"));for(const r of m){const y=r.nodeName.toLowerCase();if(!Object.keys(f).includes(y)){r.remove();continue}const O=[].concat(...r.attributes),N=[].concat(f["*"]||[],f[y]||[]);for(const d of O)v(d,N)||r.removeAttribute(d.nodeName)}return n.body.innerHTML}c.DefaultAllowlist=s,c.sanitizeHtml=C,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})}))})(w,w.exports)),w.exports}var D={exports:{}};var ct=D.exports,R;function ut(){return R||(R=1,(function(g,E){(function(c,a){g.exports=a(tt(),et(),z(),I())})(ct,(function(c,a,s,h){const l="TemplateFactory",v={allowList:s.DefaultAllowlist,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},C={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},p={entry:"(string|element|function|null)",selector:"(string|element)"};class f extends a{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return v}static get DefaultType(){return C}static get NAME(){return l}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[r,y]of Object.entries(this._config.content))this._setContent(i,y,r);const n=i.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&n.classList.add(...m.split(" ")),n}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[n,m]of Object.entries(i))super._typeCheckConfig({selector:n,entry:m},p)}_setContent(i,n,m){const r=c.findOne(m,i);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(h.isElement(n)){this._putElementInTemplate(h.getElement(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(i){return this._config.sanitize?s.sanitizeHtml(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return h.execute(i,[void 0,this])}_putElementInTemplate(i,n){if(this._config.html){n.innerHTML="",n.append(i);return}n.textContent=i.textContent}}return f}))})(D)),D.exports}var ht=P.exports,x;function pt(){return x||(x=1,(function(g,E){(function(c,a){g.exports=a(rt,it(),st(),nt(),I(),z(),ut())})(ht,(function(c,a,s,h,l,v,C){function p(A){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(A){for(const e in A)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(A,e);Object.defineProperty(t,e,o.get?o:{enumerable:!0,get:()=>A[e]})}}return t.default=A,Object.freeze(t)}const f=p(c),_="tooltip",i=new Set(["sanitize","allowList","sanitizeFn"]),n="fade",m="modal",r="show",y=".tooltip-inner",O=`.${m}`,N="hide.bs.modal",d="hover",L="focus",F="click",H="manual",q="hide",
1U="hidden",j="show",V="shown",$="inserted",B="click",W="focusin",G="focusout",K="mouseenter",Q="mouseleave",J={AUTO:"auto",TOP:"top",RIGHT:l.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:l.isRTL()?"right":"left"},X={allowList:v.DefaultAllowlist,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Y={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class S extends a{constructor(t,e){if(typeof f>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return X}static get DefaultType(){return Y}static get NAME(){return _}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),s.off(this._element.closest(O),N,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=s.trigger(this._element,this.constructor.eventName(j)),o=(l.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!o)return;this._disposePopper();const u=this._getTipElement();this._element.setAttribute("aria-describedby",u.getAttribute("id"));const{container:b}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(b.append(u),s.trigger(this._element,this.constructor.eventName($))),this._popper=this._createPopper(u),u.classList.add(r),"ontouchstart"in document.documentElement)for(const Z of[].concat(...document.body.children))s.on(Z,"mouseover",l.noop);const T=()=>{s.trigger(this._element,this.constructor.eventName(V)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(T,this.tip,this._isAnimated())}hide(){if(!this._isShown()||s.trigger(this._element,this.constructor.eventName(q)).defaultPrevented)return;if(this._getTipElement().classList.remove(r),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))s.off(u,"mouseover",l.noop);this._activeTrigger[F]=!1,this._activeTrigger[L]=!1,this._activeTrigger[d]=!1,this._isHovered=null;const o=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),s.trigger(this._element,this.constructor.eventName(U)))};this._queueCallback(o,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(n,r),e.classList.add(`bs-${this.constructor.NAME}-auto`);const o=l.getUID(this.constructor.NAME).toString();return e.setAttribute("id",o),this._isAnimated()&&e.classList.add(n),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new C({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[y]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(n)}_isShown(){return this.tip&&this.tip.classList.contains(r)}_createPopper(t){const e=l.execute(this._config.placement,[this,t,this._element]),o=J[e.toUpperCase()];return f.createPopper(this._element,t,this._getPopperConfig(o))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return l.execute(t,[this._element,this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}}
1,{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:o=>{this._getTipElement().setAttribute("data-popper-placement",o.state.placement)}}]};return{...e,...l.execute(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if(e==="click")s.on(this._element,this.constructor.eventName(B),this._config.selector,o=>{const u=this._initializeOnDelegatedTarget(o);u._activeTrigger[F]=!(u._isShown()&&u._activeTrigger[F]),u.toggle()});else if(e!==H){const o=e===d?this.constructor.eventName(K):this.constructor.eventName(W),u=e===d?this.constructor.eventName(Q):this.constructor.eventName(G);s.on(this._element,o,this._config.selector,b=>{const T=this._initializeOnDelegatedTarget(b);T._activeTrigger[b.type==="focusin"?L:d]=!0,T._enter()}),s.on(this._element,u,this._config.selector,b=>{const T=this._initializeOnDelegatedTarget(b);T._activeTrigger[b.type==="focusout"?L:d]=T._element.contains(b.relatedTarget),T._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},s.on(this._element.closest(O),N,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=h.getDataAttributes(this._element);for(const o of Object.keys(e))i.has(o)&&delete e[o];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:l.getElement(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,o]of Object.entries(this._config))this.constructor.Default[e]!==o&&(t[e]=o);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=S.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}return l.defineJQueryPlugin(S),S}))})(P)),P.exports}var k=pt();const ft=ot(k),gt=at({__proto__:null,default:ft},[k]);export{gt 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.