PageSourceSearch

https://www.gardensillustrated.com/chunk-JFVBZQSO.js

js gardensillustrated.com collected 2026-10-02 04:21:24 UTC 27,596 bytes, 3 lines download raw bytes

1import{o as xe,t as _t}from"./chunk-ZH6ZNVE5.js";import{Aa as D,Ca as Me,D as Ie,Fa as De,Gb as $,H as Ee,Ja as w,Ka as Y,L as ye,Lb as Fe,Ma as we,Oa as Re,Pa as Oe,Qa as Ne,V as ve,Y as be,Z as Ae,a as pe,aa as G,bd as Se,cd as d,ea as h,f as p,g as _e,ha as _,ja as o,na as Te,o as fe,pb as Ce,rc as Le,sa as S,t as ge,ta as M,wa as W,xa as A,xb as x,zb as z}from"./chunk-7ECHXWGJ.js";import{a as l,d as a}from"./chunk-HQXTCKBE.js";var Z,g,P=a(()=>{d();d();_t();try{Z=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Z=!1}g=(()=>{class s{_platformId=o(Re);isBrowser=this._platformId?xe(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Z)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()});function Pe(){if(R==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>R=!0}))}finally{R=R||!1}return R}function T(s){return Pe()?s:!!s.capture}var R,X=a(()=>{});function ke(){if(Q==null){let s=typeof document<"u"?document.head:null;Q=!!(s&&(s.createShadowRoot||s.attachShadow))}return Q}function q(s){if(ke()){let t=s.getRootNode?s.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function f(s){return s.composedPath?s.composedPath()[0]:s.target}var Q,J=a(()=>{});function Ht(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ft=a(()=>{});var Ue=a(()=>{P();X();J()});function O(s){return s.buttons===0||s.detail===0}function N(s){let t=s.touches&&s.touches[0]||s.changedTouches&&s.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var ee=a(()=>{});function I(s){return s instanceof w?s.nativeElement:s}var te=a(()=>{d()});var Be,je,Ke,ie,Ve,C,He,k,gt,Ge=a(()=>{d();d();G();De();ee();J();P();X();te();Be=new _("cdk-input-modality-detector-options"),je={ignoreKeys:[18,17,224,91,16]},Ke=650,ie={passive:!0,capture:!0},Ve=(()=>{class s{_platform=o(g);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new _e(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>
vendor: 6,019 bytes, line 1
1i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=f(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Ke||(this._modality.next(O(e)?"keyboard":"mouse"),this._mostRecentTarget=f(e))};_onTouchstart=e=>{if(N(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=f(e)};constructor(){let e=o(A),i=o(M),n=o(Be,{optional:!0});if(this._options=l(l({},je),n),this.modalityDetected=this._modality.pipe(ve(1)),this.modalityChanged=this.modalityDetected.pipe(ye()),this._platform.isBrowser){let r=o(Ce).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[r.listen(i,"keydown",this._onKeydown,ie),r.listen(i,"mousedown",this._onMousedown,ie),r.listen(i,"touchstart",this._onTouchstart,ie)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})(),C=(function(s){return s[s.IMMEDIATE=0]="IMMEDIATE",s[s.EVENTUAL=1]="EVENTUAL",s})(C||{}),He=new _("cdk-focus-monitor-default-options"),k=T({passive:!0,capture:!0}),gt=(()=>{class s{_ngZone=o(A);_platform=o(g);_inputModalityDetector=o(Ve);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=o(M);_stopInputModalityDetector=new p;constructor(){let e=o(He,{optional:!0});this._detectionMode=e?.detectionMode||C.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=f(e);for(let n=i;n;n=n.parentElement)e.type==="focus"?this._onFocus(e,n):this._onBlur(e,n)};monitor(e,i=!1){let n=I(e);if(!this._platform.isBrowser||n.nodeType!==1)return fe();let r=q(n)||this._document,c=this._elementInfo.get(n);if(c)return i&&(c.checkChildren=!0),c.subject;let E={checkChildren:i,subject:new p,rootNode:r};return this._elementInfo.set(n,E),this._registerGlobalListeners(E),E.subject}stopMonitoring(e){let i=I(e),n=this._elementInfo.get(i);n&&(n.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(n))}focusVia(e,i,n){let r=I(e),c=this._document.activeElement;r===c?this._getClosestElementsInfo(r).forEach(([E,K])=>this._originChanged(E,i,K)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===C.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===C.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?Ke:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(e,i){let n=this._elementInfo.get(i),r=f(e);!n||!n.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),n)}_onBlur(e,i){let n=this._elementInfo.get(i);!n||n.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(n,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,k),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,k)}),this._rootNodeFocusListenerCount.set(i,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(be(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let n=this._rootNodeFocusListenerCount.get(i);n>1?this._rootNodeFocusListenerCount.set(i,n-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,k),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,k),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,n){this._setClasses(e,i),this._emitOrigin(n,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((n,r)=>{(r===e||n.checkChildren&&r.contains(e))&&i.push([r,n])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let c=0;c<r.length;c++)if(r[c].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()});var U,se,We=a(()=>{d();d();U=new WeakMap,se=(()=>{class s{_appRef;_injector=o(S);_environmentInjector=o(Te);load(e){let i=this._appRef=this._appRef||this._injector.get(Fe),n=U.get(i);
1n||(n={loaders:new Set,refs:[]},U.set(i,n),i.onDestroy(()=>{U.get(i)?.refs.forEach(r=>r.destroy()),U.delete(i)})),n.loaders.has(e)||(n.loaders.add(e),n.refs.push(Se(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()});var Ye=a(()=>{We()});function bi(s){return Array.isArray(s)?s:[s]}var It=a(()=>{});function Et(s,t){if(!ze.has(s))try{b||(b=document.createElement("style"),t&&b.setAttribute("nonce",t),b.setAttribute("type","text/css"),document.head.appendChild(b)),b.sheet&&(b.sheet.insertRule(`@media ${s} {body{ }}`,0),ze.add(s))}catch(e){console.error(e)}}function yt(s){return{matches:s==="all"||s==="",media:s,addListener:()=>{},removeListener:()=>{}}}var ze,b,ne,$e=a(()=>{d();d();P();ze=new Set,ne=(()=>{class s{_platform=o(g);_nonce=o(Ne,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yt}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Et(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()});var re,vt,Ze=a(()=>{d();d();re={},vt=(()=>{class s{_appId=o(we);getId(e){return this._appId!=="ng"&&(e+=this._appId),re.hasOwnProperty(e)||(re[e]=0),`${e}${re[e]++}`}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()});var bt,B,Xe=a(()=>{G();De();bt=200,B=class{_letterKeyStream=new p;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new p;selectedItem=this._selectedItem;constructor(t,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:bt;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(t),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(Ae(e=>this._pressedLetters.push(e)),Ee(t),Ie(()=>this._pressedLetters.length>0),ge(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let n=(this._selectedItemIndex+i)%this._items.length,r=this._items[n];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}}});function Qe(s,...t){return t.length?t.some(e=>s[e]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}var qe=a(()=>{});var j,Je=a(()=>{d();G();Xe();qe();j=class{_items;_activeItemIndex=D(-1);_activeItem=D(null);_wrap=!1;_typeaheadSubscription=pe.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,e){this._items=t,t instanceof Y?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):$(t)&&(this._effectRef=Me(()=>this._itemsChanged(t()),{injector:e}))}tabOut=new p;change=new p;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new B(e,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){let e=this._activeItem();this.updateActiveItem(t),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(t){let e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!t[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex()+this._pageUpAndDown.delta,c=this._getItemsArray().length;this._setActiveItemByIndex(r<c?r:c-1,-1);break}else return;default:(n||Qe(t,"shiftKey"))&&this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let e=this._getItemsArray(),i=typeof t=="number"?t:e.indexOf(t),n=e[i];this._activeItem.set(n??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}
1destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let n=(this._activeItemIndex()+t*i+e.length)%e.length,r=e[n];if(!this._skipPredicateFn(r)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,e){let i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(t+=e,!i[t])return;this.setActiveItem(t)}}_getItemsArray(){return $(this._items)?this._items():this._items instanceof Y?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let e=this._activeItem();if(e){let i=t.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}}});var oe,et=a(()=>{Je();oe=class extends j{_origin="program";setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}});var tt=a(()=>{Ge();Ze();et();ee()});function as(s){return s==null?"":typeof s=="string"?s:`${s}px`}var At=a(()=>{});var it=a(()=>{te()});var st=a(()=>{$e()});function Mt(){return o(Tt,{optional:!0})?.animationsDisabled||o(Oe,{optional:!0})==="NoopAnimations"?"di-disabled":(nt??=o(ne).matchMedia("(prefers-reduced-motion)").matches,nt?"reduced-motion":"enabled")}function rt(){return Mt()!=="enabled"}var Tt,nt,ot=a(()=>{st();d();Tt=new _("MATERIAL_ANIMATIONS"),nt=null});function Rt(s,t,e){let i=Math.max(Math.abs(s-e.left),Math.abs(s-e.right)),n=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+n*n)}var m,ae,at,ce,ct,Dt,dt,lt,ut,wt,de,Ot,Ns,Nt=a(()=>{Ue();d();d();tt();it();Ye();ot();m=(function(s){return s[s.FADING_IN=0]="FADING_IN",s[s.VISIBLE=1]="VISIBLE",s[s.FADING_OUT=2]="FADING_OUT",s[s.HIDDEN=3]="HIDDEN",s})(m||{}),ae=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=m.HIDDEN;constructor(t,e,i,n=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},at=T({passive:!0,capture:!0}),ce=class{_events=new Map;addHandler(t,e,i,n){let r=this._events.get(e);if(r){let c=r.get(i);c?c.add(n):r.set(i,new Set([n]))}else this._events.set(e,new Map([[i,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,at)})}removeHandler(t,e,i){let n=this._events.get(t);if(!n)return;let r=n.get(e);r&&(r.delete(i),r.size===0&&n.delete(e),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,at)))}_delegateEventHandler=t=>{let e=f(t);e&&this._events.get(t.type)?.forEach((i,n)=>{(n===e||n.contains(e))&&i.forEach(r=>r.handleEvent(t))})}},ct={enterDuration:225,exitDuration:150},Dt=800,dt=T({passive:!0,capture:!0}),lt=["mousedown","touchstart"],ut=["mouseup","mouseleave","touchend","touchcancel"],wt=(()=>{class s{static \u0275fac=function(i){return new(i||s)};static \u0275cmp=x({type:s,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
2`],encapsulation:2,changeDetection:0})}return s})(),de=class s{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new ce;constructor(t,e,i,n,r){this._target=t,this._ngZone=e,this._platform=n,n.isBrowser&&(this._containerElement=I(i)),r&&r.get(se).load(wt)}fadeInRipple(t,e,i={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=l(l({},ct),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);let c=i.radius||Rt(t,e,n),E=t-n.left,K=e-n.top,F=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${E-c}px`,u.style.top=`${K-c}px`,u.style.height=`${c*2}px`,u.style.width=`${c*2}px`,i.color!=null&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${F}ms`,this._containerElement.appendChild(u);let le=window.getComputedStyle(u),pt=le.transitionProperty,ue=le.transitionDuration,V=pt==="none"||ue==="0s"||ue==="0s, 0s"||n.width===0&&n.height===0,y=new ae(this,u,i,V);u.style.transform="scale3d(1, 1, 1)",y.state=m.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let L=null;return!V&&(F||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let he=()=>{L&&(L.fallbackTimer=null),clearTimeout(me),this._finishRippleTransition(y)},H=()=>this._destroyRipple(y),me=setTimeout(H,F+100);u.addEventListener("transitionend",he),u.addEventListener("transitioncancel",H),L={onTransitionEnd:he,onTransitionCancel:H,fallbackTimer:me}}),this._activeRipples.set(y,L),(V||!F)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===m.FADING_OUT||t.state===m.HIDDEN)return;let e=t.element,i=l(l({},ct),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=m.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}
2fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=I(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,lt.forEach(i=>{s._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ut.forEach(e=>{this._triggerElement.addEventListener(e,this,dt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===m.FADING_IN?this._startFadeOutTransition(t):t.state===m.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=m.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=m.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=O(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Dt;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!N(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=t.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let e=t.state===m.VISIBLE||t.config.terminateOnPointerUp&&t.state===m.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(lt.forEach(e=>s._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(ut.forEach(e=>t.removeEventListener(e,this,dt)),this._pointerUpEventsRegistered=!1))}};Ot=new _("mat-ripple-global-options"),Ns=(()=>{class s{_elementRef=o(w);_animationsDisabled=rt();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=o(A),i=o(g),n=o(Ot,{optional:!0}),r=o(S);this._globalOptions=n||{},this._rippleRenderer=new de(this,e,this._elementRef,i,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:l(l(l({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,n){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,l(l({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,l(l({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||s)};static \u0275dir=z({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,n){i&2&&Le("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return s})()});function Ft(){return o(M)}function ht(s){let t=s?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?Lt.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Ct,Lt,St,mt=a(()=>{d();d();Ct=new _("cdk-dir-doc",{providedIn:"root",factory:Ft});Lt=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;St=(()=>{class s{get value(){return this.valueSignal()}valueSignal=D("ltr");change=new W;constructor(){let e=o(Ct,{optional:!0});if(e){let i=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(ht(i||n||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||s)};static \u0275prov=h({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()});var xt=a(()=>{mt()});var Us,Pt=a(()=>{d();Us=(()=>{class s{static \u0275fac=function(i){return new(i||s)};static \u0275cmp=x({type:s,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,n){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
3`],encapsulation:2,changeDetection:0})}return s})()});
3export{g as a,P as b,bi as c,It as d,rt as e,ot as f,O as g,N as h,f as i,J as j,I as k,te as l,gt as m,se as n,We as o,Ye as p,vt as q,Ze as r,Qe as s,qe as t,oe as u,tt as v,St as w,mt as x,xt as y,Us as z,Pt as A,Ht as B,ft as C,Ue as D,as as E,At as F,Ot as G,Ns as H,Nt as I};

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.