-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchunk-cTiqoivu.js
More file actions
1 lines (1 loc) · 20.8 KB
/
chunk-cTiqoivu.js
File metadata and controls
1 lines (1 loc) · 20.8 KB
1
import {R,W as Wt$1,o as on,Z as Z$1}from'./chunk-DNUn-C9K.js';import {d as D,ab as r1,aK as we,R as Rr,Z as Se,aL as Mc,aM as rv,Y as Yo,aN as st,aO as o,aP as k,aQ as mt,h as Wf,aR as Z,aS as z,i as Ow,D as Db,aT as Tc,aU as Ic,B as Bh,aV as Up,aW as hc,x as ds,a3 as Xe,ak as pw,n as gl,a4 as Sh,O as OD,X as Xh,p as ml,a6 as rw,J as zh,S as SI,b as Wh,A as AD,aw as JD,ax as KD,ay as XD,a7 as I,aE as Xt,aX as fi,aY as Pe,aZ as gm,a_ as uu,V as V$1,a$ as ng,W as WD,U as UD,r as ag,o as ow,C as dg,$ as $h,z as Il,b0 as hp,M as Xu,N as ed,b1 as ke,aJ as ww}from'./main-KOP5P77L.js';import'./chunk-sW1CHal8.js';var j=300,ft=800,V=(()=>{class n{destroyRef=D(mt);document=D(I);focusMonitor=D(Xt);container;content;editor;resizer;resizeData=Yo({initialContentContainerWidthInPercentage:0,initialDividerPosition:0,initialEditorContainerWidthInPercentage:0,isProgress:false});init(t,e,i,o){this.container=t,this.content=e,this.resizer=i,this.editor=o,this.listenToResizeStart(),this.listenToResize(),this.listenToResizeEnd(),this.resizeContainersUsingKeyArrows();}listenToResizeStart(){fi(this.resizer.nativeElement,"mousedown").pipe(Pe(t=>({editor:this.editor,event:t})),st(t=>!!t.editor?.nativeElement),k(this.destroyRef)).subscribe(({event:t})=>{let e=this.getCurrentContainerWidth(this.content.nativeElement),i=this.getCurrentContainerWidth(this.editor.nativeElement);this.content.nativeElement.style.minWidth=`${j}px`,this.resizeData.update(o=>(o.initialDividerPosition=t.pageX,o.isProgress=true,o.initialContentContainerWidthInPercentage=e,o.initialEditorContainerWidthInPercentage=i,z({},o)));});}listenToResize(){fi(this.document,"mousemove").pipe(Pe(t=>({editor:this.editor,event:t})),st(t=>!!t.editor?.nativeElement),k(this.destroyRef)).subscribe(({event:t})=>{if(this.resizeData().isProgress){let e=t.pageX,i=this.getParentContainerWidth(),o=(e-this.resizeData().initialDividerPosition)/i*100,A=this.resizeData().initialContentContainerWidthInPercentage+o,wt=this.resizeData().initialEditorContainerWidthInPercentage-o;this.setWidthOfTheContainers(A,wt);}});}listenToResizeEnd(){fi(this.document,"mouseup").pipe(k(this.destroyRef)).subscribe(()=>{this.resizeData().isProgress&&(this.content.nativeElement.style.minWidth=`${j}px`,this.resizeData.update(t=>(t.isProgress=false,t.initialDividerPosition=0,t.initialContentContainerWidthInPercentage=0,t.initialEditorContainerWidthInPercentage=0,z({},t))));});}resizeContainersUsingKeyArrows(){gm([this.focusMonitor.monitor(this.resizer),fi(this.document,"keydown")]).pipe(st(([t,e])=>!!t&&(e.key==="ArrowLeft"||e.key==="ArrowRight")),k(this.destroyRef),uu(()=>this.focusMonitor.stopMonitoring(this.resizer))).subscribe(([t,e])=>{let i=e.key==="ArrowLeft"?-1:1,o=this.getCurrentContainerWidth(this.content.nativeElement),A=this.getCurrentContainerWidth(this.editor.nativeElement);this.setWidthOfTheContainers(o+i,A-i);});}setWidthOfTheContainers(t,e){let o=this.container.nativeElement.offsetWidth*t/100;o>j&&o<ft&&this.editor&&(this.content.nativeElement.style.width=`${t}%`,this.editor.nativeElement.style.width=`${e}%`);}getCurrentContainerWidth(t){let e=Number(t.style.width.replace("%",""));return e>0?e:t.offsetWidth/this.getParentContainerWidth()*100}getParentContainerWidth(){return this.resizer.nativeElement.offsetWidth+this.content.nativeElement.offsetWidth+this.editor.nativeElement.offsetWidth}static \u0275fac=function(e){return new(e||n)};static \u0275prov=V$1({token:n,factory:n.\u0275fac})}return n})();var xt=["content"],bt=["editor"],Pt=["resizer"],yt=["revealAnswerButton"];function Ot(n,s){n&1&&ng(0);}function Tt(n,s){n&1&&ng(0);}function Mt(n,s){n&1&&Xh(0,"docs-viewer",11),n&2&&Wh("docContent",s);}function Rt(n,s){if(n&1&&(gl(0,"div",10,2),Sh(2,Tt,1,0,"ng-container",6),OD(3,Mt,1,1,"docs-viewer",11),ml()),n&2){let t,e=WD(),i=rw(7);zh("adev-nav-open",e.showNavigationDropdown()),SI(2),Wh("ngTemplateOutlet",i),SI(),AD((t=e.documentContent())?3:-1,t);}}function Et(n,s){n&1&&ng(0);}function kt(n,s){if(n&1&&Sh(0,Et,1,0,"ng-container",13),n&2){let t=WD(2);Wh("ngComponentOutlet",t.embeddedEditorComponent);}}function Dt(n,s){if(n&1&&(gl(0,"div",12,3),OD(2,kt,1,1,"ng-container"),ml()),n&2){let t=WD();zh("adev-split-tutorial",t.shouldRenderContent()),SI(2),AD(t.embeddedEditorComponent?2:-1);}}function zt(n,s){if(n&1){let t=UD();gl(0,"button",26,4),ag("click",function(){Xu(t);let i=WD(2);return ed(i.answerRevealed()?i.handleResetAnswer():i.handleRevealAnswer())}),ow(2),ml();}if(n&2){let t=WD(2);zh("adev-reset-answer-button",t.answerRevealed()),Wh("disabled",!t.canRevealAnswer()),$h("text",t.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848")("aria-label",t.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"),SI(2),Il(" ",t.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"," ");}}function St(n,s){if(n&1&&(gl(0,"a",19)(1,"button",27)(2,"docs-icon"),ow(3,"download"),ml()()()),n&2){let t=WD(2);Wh("download",t.stepName()+".zip")("href",t.localTutorialZipUrl(),hp);}}function At(n,s){if(n&1&&(gl(0,"a",21)(1,"button",28)(2,"docs-icon"),ow(3,"chevron_left"),ml()()()),n&2){let t=WD(2);Wh("routerLink",t.previousStepPath);}}function Wt(n,s){n&1&&(gl(0,"button",22)(1,"docs-icon"),ow(2,"chevron_left"),ml()());}function Nt(n,s){if(n&1&&(gl(0,"a",21)(1,"button",28)(2,"docs-icon"),ow(3,"chevron_right"),ml()()()),n&2){let t=WD(2);Wh("routerLink",t.nextStepPath);}}function It(n,s){n&1&&(gl(0,"button",22)(1,"docs-icon"),ow(2,"chevron_right"),ml()());}function Ft(n,s){if(n&1){let t=UD();gl(0,"button",29,4),ag("click",function(){Xu(t);let i=WD(2);return ed(i.answerRevealed()?i.handleResetAnswer():i.handleRevealAnswer())}),ow(2),ml();}if(n&2){let t=WD(2);zh("adev-reset-answer-button",t.answerRevealed()),Wh("disabled",!t.canRevealAnswer()),$h("text",t.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848")("aria-label",t.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"),SI(2),Il(" ",t.answerRevealed()?"\u91CD\u7F6E":"\u663E\u793A\u7B54\u6848"," ");}}function Bt(n,s){if(n&1&&(gl(0,"a",21),ow(1,"\u4E0B\u4E00\u4E2A\u6559\u7A0B"),ml()),n&2){let t=WD(3);Wh("routerLink","/"+t.nextTutorialPath());}}function Lt(n,s){if(n&1){let t=UD();gl(0,"div",30),ag("docsClickOutside",function(){Xu(t);let i=WD(2);return ed(i.hideNavigationDropdown())}),Xh(1,"docs-navigation-list",31),OD(2,Bt,2,1,"a",21),ml();}if(n&2){let t=WD(2);SI(),Wh("isDropdownView",true)("navigationItems",t.tutorialNavigationItems()),SI(),AD(t.nextTutorialPath()?2:-1);}}function jt(n,s){if(n&1){let t=UD();gl(0,"div",14)(1,"div",15)(2,"button",16),ag("click",function(i){Xu(t);let o=WD();return ed(o.toggleNavigationDropdown(i))}),gl(3,"docs-icon"),ow(4,"unfold_more"),ml(),gl(5,"div",17)(6,"span"),ow(7),ml(),gl(8,"span"),ow(9),ml()()(),OD(10,zt,3,6,"button",18),OD(11,St,4,2,"a",19),gl(12,"div",20),OD(13,At,4,1,"a",21),OD(14,Wt,3,0,"button",22),OD(15,Nt,4,1,"a",21),OD(16,It,3,0,"button",22),ml(),gl(17,"div",23),OD(18,Ft,3,6,"button",24),ml(),OD(19,Lt,3,3,"div",25),ml()();}if(n&2){let t=WD();SI(),zh("adev-nav-open",t.showNavigationDropdown()),SI(6),dg(t.tutorialName()),SI(2),dg(t.stepName()),SI(),AD(t.shouldRenderRevealAnswer()?10:-1),SI(),AD(t.localTutorialZipUrl()?11:-1),SI(2),AD(t.previousStepPath?13:-1),SI(),AD(t.previousStepPath?-1:14),SI(),AD(t.nextStepPath?15:-1),SI(),AD(t.nextStepPath?-1:16),SI(2),AD(t.shouldRenderRevealAnswer()?18:-1),SI(),AD(t.showNavigationDropdown()?19:-1);}}var U="\u7B80\u4ECB",ce=(()=>{class n{content;editor;resizer;revealAnswerButton;changeDetectorRef=D(r1);environmentInjector=D(we);elementRef=D(Rr);embeddedTutorialManager=D(R);nodeRuntimeState=D(Wt$1);route=D(Se);splitResizerHandler=D(V);isBrowser=Mc(D(rv));documentContent=Yo(null);localTutorialZipUrl=Yo(void 0);nextTutorialPath=Yo(null);stepName=Yo(null);tutorialName=Yo(null);tutorialNavigationItems=Yo([]);showNavigationDropdown=Yo(false);shouldRenderContent=Yo(false);shouldRenderEmbeddedEditor=Yo(false);shouldRenderRevealAnswer=Yo(false);nextStepPath;previousStepPath;embeddedEditorComponent;canRevealAnswer=Yo(false);answerRevealed=Yo(false);constructor(){this.route.data.pipe(st(()=>!!this.route?.routeConfig?.path?.startsWith(`${o.TUTORIALS}/`)),k()).subscribe(e=>{let i=e.docContent?.contents??null;this.documentContent.set(i),this.setTutorialData(e);});let t=D(mt);Wf(()=>{this.splitResizerHandler.init(this.elementRef,this.content,this.resizer,this.editor),ke(this.loadEmbeddedEditorComponent()).pipe(k(t)).subscribe(e=>{this.embeddedEditorComponent=e,this.changeDetectorRef.markForCheck();});});}toggleNavigationDropdown(t){t.stopPropagation(),this.showNavigationDropdown.update(e=>!e);}hideNavigationDropdown(){this.showNavigationDropdown.set(false);}async handleRevealAnswer(){if(!this.canRevealAnswer())return;this.embeddedTutorialManager.revealAnswer();let t=await on(this.environmentInjector);await Promise.all(Object.entries(this.embeddedTutorialManager.answerFiles()).map(([e,i])=>t.writeFile(e,i))),this.answerRevealed.set(true);}async handleResetAnswer(){if(!this.canRevealAnswer())return;this.embeddedTutorialManager.resetRevealAnswer();let t=await on(this.environmentInjector);await Promise.all(Object.entries(this.embeddedTutorialManager.tutorialFiles()).map(([e,i])=>t.writeFile(e,i))),this.answerRevealed.set(false);}async setTutorialData(t){this.showNavigationDropdown.set(false),this.answerRevealed.set(false),this.setRouteData(t);let{tutorialData:e}=t;e.type==="local"?this.setLocalTutorialData(e):e.type==="editor"&&this.isBrowser&&await this.setEditorTutorialData(t.path.replace(`${o.TUTORIALS}/`,""));}setRouteData(t){let{tutorialData:e}=t,i=t.parent?t.parent.label:t.label,o=e.title===i?U:e.title;this.tutorialName.set(i),this.stepName.set(o),this.tutorialNavigationItems.set(t.parent?[Z(z({},t.parent),{label:U})]:[Z(z({},t),{label:U})]),this.shouldRenderContent.set(e.type!=="editor-only"),this.nextStepPath=e.nextStep?`/${e.nextStep}`:void 0,this.previousStepPath=e.previousStep?`/${e.previousStep}`:void 0,this.nextTutorialPath.set(e.nextTutorial?`/${e.nextTutorial}`:null);}setLocalTutorialData(t){this.localTutorialZipUrl.set(t.sourceCodeZipPath),this.shouldRenderEmbeddedEditor.set(false),this.shouldRenderRevealAnswer.set(false);}async setEditorTutorialData(t){this.shouldRenderEmbeddedEditor.set(true);let e=t.replace(`${o.TUTORIALS}/`,"");await this.embeddedTutorialManager.fetchAndSetTutorialFiles(e);let i=Object.keys(this.embeddedTutorialManager.answerFiles()).length>0;this.shouldRenderRevealAnswer.set(i),await this.loadEmbeddedEditor();}async loadEmbeddedEditor(){let t=await on(this.environmentInjector);this.canRevealAnswer=Ow(()=>this.nodeRuntimeState.loadingStep()>Z$1.BOOT),await t.init();}async loadEmbeddedEditorComponent(){return await import('./chunk-DNUn-C9K.js').then(function(n){return n.c}).then(t=>t.EmbeddedEditor)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=Db({type:n,selectors:[["adev-tutorial"]],viewQuery:function(e,i){if(e&1&&(JD(xt,5),JD(bt,5),JD(Pt,5),JD(yt,5)),e&2){let o;KD(o=XD())&&(i.content=o.first),KD(o=XD())&&(i.editor=o.first),KD(o=XD())&&(i.resizer=o.first),KD(o=XD())&&(i.revealAnswerButton=o.first);}},features:[pw([V])],decls:8,vars:7,consts:[["resizer",""],["tutorialNav",""],["content",""],["editor",""],["revealAnswerButton",""],[1,"adev-page-content"],[4,"ngTemplateOutlet"],[1,"docs-tutorial-content",3,"adev-nav-open"],["role","separator",1,"adev-tutorial-resizer"],[1,"docs-tutorial-editor",3,"adev-split-tutorial"],[1,"docs-tutorial-content"],[1,"docs-viewer","docs-viewer-scroll-margin-large",3,"docContent"],[1,"docs-tutorial-editor"],[4,"ngComponentOutlet"],[1,"adev-tutorial-nav-container"],[1,"adev-tutorial-nav"],[1,"adev-unfold-button",3,"click"],[1,"adev-current-tutorial"],[1,"docs-reveal-answer-button","adev-reveal-desktop-button","docs-primary-btn",3,"disabled","adev-reset-answer-button"],[3,"download","href"],[1,"adev-nav-arrows"],[3,"routerLink"],["disabled","",1,"docs-primary-btn"],[1,"adev-reveal-mobile-button-container"],[1,"docs-reveal-answer-button","adev-reveal-mobile-button","docs-primary-btn",3,"disabled","adev-reset-answer-button"],[1,"adev-tutorial-nav-list-dropdown"],[1,"docs-reveal-answer-button","adev-reveal-desktop-button","docs-primary-btn",3,"click","disabled"],[1,"adev-download-button","docs-primary-btn"],[1,"docs-primary-btn"],[1,"docs-reveal-answer-button","adev-reveal-mobile-button","docs-primary-btn",3,"click","disabled"],[1,"adev-tutorial-nav-list-dropdown",3,"docsClickOutside"],[1,"adev-nav-list",3,"isDropdownView","navigationItems"]],template:function(e,i){if(e&1&&(gl(0,"div",5),Sh(1,Ot,1,0,"ng-container",6),OD(2,Rt,4,4,"div",7),Xh(3,"button",8,0),OD(5,Dt,3,3,"div",9),ml(),Sh(6,jt,20,12,"ng-template",null,1,ww)),e&2){let o=rw(7);zh("adev-nav-open",i.showNavigationDropdown()),SI(),Wh("ngTemplateOutlet",o),SI(),AD(i.shouldRenderContent()?2:-1),SI(),zh("adev-tutorial-resizer-hidden",!i.shouldRenderEmbeddedEditor()||!i.shouldRenderContent()),SI(2),AD(i.shouldRenderEmbeddedEditor()?5:-1);}},dependencies:[Tc,Ic,Bh,Up,hc,ds,Xe],styles:['.adev-page-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:row;position:relative;padding:0 var(--layout-padding) var(--layout-padding);max-width:calc(100vw - var(--layout-padding) * 2);container:page-content/inline-size}@media (max-width: 900px){.adev-page-content[_ngcontent-%COMP%]{flex-direction:column}}@media (min-width: 901px){.adev-page-content[_ngcontent-%COMP%] > .adev-tutorial-nav-container[_ngcontent-%COMP%]{display:none}}.adev-page-content.adev-nav-open[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;width:100%;height:100%;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.adev-page-content[_ngcontent-%COMP%]:has(.docs-tutorial-editor) .docs-tutorial-content[_ngcontent-%COMP%]{width:calc(50% - .0625rem - var(--layout-padding))}@media (max-width: 900px){.adev-page-content[_ngcontent-%COMP%]:has(.docs-tutorial-editor) .docs-tutorial-content[_ngcontent-%COMP%]{width:100%!important}}@media (max-width: 900px){.adev-page-content[_ngcontent-%COMP%]:has(.adev-tutorial-nav-container) .docs-tutorial-editor[_ngcontent-%COMP%]{height:calc(100vh - 200px)}}@media (max-width: 700px){.adev-page-content[_ngcontent-%COMP%]:has(.adev-tutorial-nav-container) .docs-tutorial-editor[_ngcontent-%COMP%]{height:calc(100vh - 200px)}}.docs-tutorial-content[_ngcontent-%COMP%]{max-width:var(--page-width);min-width:300px;width:100%;box-sizing:content-box;container:tutorial-content/inline-size;z-index:var(--z-index-content)}@media (max-width: 900px){.docs-tutorial-content[_ngcontent-%COMP%] > .adev-tutorial-nav-container[_ngcontent-%COMP%]{display:none}}.docs-tutorial-content.adev-nav-open[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;width:100%;height:100%;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.docs-viewer[_ngcontent-%COMP%]{padding:0}.adev-tutorial-resizer[_ngcontent-%COMP%]{position:sticky;top:var(--layout-padding);width:.0625rem;padding-inline:1.56rem;margin-block-start:var(--layout-padding);cursor:col-resize;align-self:stretch;height:100vh}.adev-tutorial-resizer[_ngcontent-%COMP%]:before{content:"";position:absolute;left:calc(50% - .5px);top:0;bottom:0;background:var(--senary-contrast);transition:background .3s ease;width:1px}.adev-tutorial-resizer-hidden[_ngcontent-%COMP%]{display:none}@media (max-width: 900px){.adev-tutorial-resizer[_ngcontent-%COMP%]{display:none}}.docs-tutorial-editor[_ngcontent-%COMP%]{position:sticky;top:0;width:100%;min-width:300px;padding-block-start:var(--layout-padding);height:100vh}.adev-split-tutorial[_ngcontent-%COMP%]{width:50%}@media (min-width: 1801px){.adev-split-tutorial[_ngcontent-%COMP%]{width:100%}}@media (max-width: 900px){.adev-split-tutorial[_ngcontent-%COMP%]{width:100%!important}}',".adev-tutorial-nav-container[_ngcontent-%COMP%]{position:sticky;top:0;width:100%;background-color:var(--page-background);padding-block-start:var(--layout-padding);padding-block-end:calc(1.5rem + 50px);margin-block-end:1rem;border-block-end:1px solid var(--septenary-contrast);z-index:var(--z-index-nav);transition:background-color .3s ease;container:nav-container/inline-size}@media (max-width: 900px){.adev-tutorial-nav-container[_ngcontent-%COMP%]{top:60px}}@media (max-width: 700px){.adev-tutorial-nav-container[_ngcontent-%COMP%]{top:55px}}@container tutorial-content (max-width: 430px){.adev-tutorial-nav-container[_ngcontent-%COMP%]:has(.docs-reveal-answer-button){padding-block-end:calc(1.5rem + 85px)}}@container page-content (max-width: 430px){.adev-tutorial-nav-container[_ngcontent-%COMP%]:has(.docs-reveal-answer-button){padding-block-end:calc(1.5rem + 85px)}}.adev-tutorial-nav[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;gap:.5rem;width:100%;flex-wrap:wrap;z-index:var(--z-index-nav)}.adev-unfold-button[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;padding-inline:0;border:none;background-color:transparent;cursor:pointer;flex:1;z-index:var(--z-index-nav)}.adev-unfold-button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%]{min-width:1.5rem;color:var(--quinary-contrast);transition:color .2s ease-in-out}.adev-nav-open[_ngcontent-%COMP%] .adev-unfold-button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%], .adev-unfold-button[_ngcontent-%COMP%]:hover docs-icon[_ngcontent-%COMP%]{color:var(--primary-contrast)}.adev-current-tutorial[_ngcontent-%COMP%]{text-align:left;letter-spacing:.00875rem}.adev-current-tutorial[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-block-end:.2rem;color:var(--quaternary-contrast);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.adev-current-tutorial[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--primary-contrast);font-weight:500;font-size:.875rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.adev-download-button[_ngcontent-%COMP%]{width:2.875rem;height:2.875rem;padding:0}@container nav-container (max-width: 430px){.adev-reveal-desktop-button[_ngcontent-%COMP%]{display:none}}.adev-reveal-mobile-button-container[_ngcontent-%COMP%]{display:flex}@container nav-container (max-width: 430px){.adev-reveal-mobile-button-container[_ngcontent-%COMP%]{width:100%;justify-content:end}}@container nav-container (min-width: 430px){.adev-reveal-mobile-button-container[_ngcontent-%COMP%]{display:none}}.docs-reveal-answer-button[_ngcontent-%COMP%]{height:2.875rem;width:120px}.adev-reset-answer-button[_ngcontent-%COMP%]{background:var(--senary-contrast);transition:opacity .3s ease,background .3s ease}.adev-reset-answer-button[_ngcontent-%COMP%]:hover{background:var(--quinary-contrast)}.adev-reset-answer-button[_ngcontent-%COMP%]:hover:after{opacity:0}.adev-reset-answer-button[_ngcontent-%COMP%]:hover:before{background:var(--octonary-contrast)}.adev-nav-arrows[_ngcontent-%COMP%]{display:flex;gap:.5rem;margin-left:auto}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:2.875rem;height:2.875rem;display:flex;justify-content:center;align-items:center}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background:var(--quinary-contrast)}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled docs-icon[_ngcontent-%COMP%]{color:var(--quinary-contrast)}.adev-nav-arrows[_ngcontent-%COMP%] button[_ngcontent-%COMP%] docs-icon[_ngcontent-%COMP%]{z-index:var(--z-index-icon);color:var(--primary-contrast)}",'.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%]{background-color:var(--page-background);border:1px solid var(--senary-contrast);border-radius:.25rem;z-index:var(--z-index-nav);margin-top:1rem;width:100%;box-shadow:10px 4px 40px #0000000d;display:flex;flex-direction:column}@container tutorial-content (max-width: 430px){.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%]{margin-top:0}}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-block-end:1rem}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:sticky;display:flex;align-items:center;justify-content:flex-end;color:var(--gray-400);background-color:var(--page-background);border-block-start:1px solid var(--senary-contrast);border-radius:0 0 .25rem .25rem;text-align:right;padding:1rem;font-size:.875rem;transition:color .3s ease}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--primary-contrast);background-color:var(--octonary-contrast)}.adev-tutorial-nav-list-dropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"chevron_right";font-family:var(--icons);font-size:1.3rem;margin-inline-start:.2rem}.adev-nav-list[_ngcontent-%COMP%]{height:max-content;max-height:calc(var(--fixed-content-height) - var(--layout-padding) - 67px);padding-block-start:1rem;padding-block-end:0}@container tutorial-content (max-width: 430px){.adev-nav-list[_ngcontent-%COMP%]{max-height:calc(var(--fixed-content-height) - var(--layout-padding) - 105px)}}@media (max-width: 900px){.adev-nav-list[_ngcontent-%COMP%]{max-height:calc(var(--fixed-content-height) - var(--layout-padding) - 167px)}}.adev-nav-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--senary-contrast)}'],changeDetection:0})}return n})();export{ce as default};