PageSourceSearch

https://cdn-mp.dmarket.com/prod/static/chunk-PD7KWXWZ.js

js dmarket.com collected 2026-10-01 11:59:14 UTC 15,296 bytes, 31 lines download raw bytes

1import{a as Te,b as Ee,c as Ne}from"./chunk-I34QOWVB.js";import{a as ke}from"./chunk-V5D3N3QP.js";import"./chunk-SMIEDFSQ.js";import{a as Se,b as be,d as ye}from"./chunk-FLTUI6IT.js";import{o as ve,x as qe}from"./chunk-4OYFNPRL.js";import{d as we}from"./chunk-6KZ5E2JO.js";import{a as Ce}from"./chunk-V5GMAM2J.js";import"./chunk-K6N2LRW5.js";import"./chunk-RJ3TZPH3.js";import"./chunk-UG3332RX.js";import"./chunk-BCREOCRG.js";import"./chunk-GYXPBKOT.js";import{c as ue}from"./chunk-KJUD54TR.js";import"./chunk-S46OKC2S.js";import"./chunk-4D2J2JE5.js";import"./chunk-RLJWZLZK.js";import"./chunk-VOVXNCGX.js";import"./chunk-YNLW4HML.js";import{j as L,k as R}from"./chunk-GXXRNSBZ.js";import{b as xe}from"./chunk-RM2GT4QJ.js";import{e as he,j as de}from"./chunk-UOCVC65W.js";import"./chunk-LOEMP4YU.js";import{A as _e,Tb as O,Ub as H,qb as C,rb as ge}from"./chunk-JNGJABXR.js";import"./chunk-GLQ2GEPF.js";import"./chunk-ADGZKV2X.js";import"./chunk-P4S4MVU6.js";import"./chunk-LC35BJX7.js";import{a as D}from"./chunk-H7FJWLCW.js";import{Ia as fe}from"./chunk-VMOL7TFU.js";import{$ as ee,Bc as F,Cc as B,Ec as I,F as G,Ga as d,H as J,Ha as _,K,Lc as h,Ma as k,Nc as m,Oa as S,P as X,Qb as g,Qd as $,Sa as P,Sb as ce,Ua as ie,V as Z,Wa as oe,Wb as N,Xc as se,Yc as le,Za as re,Zc as M,ad as i,cd as q,ee as me,g as W,h as Q,ha as te,ma as ne,nc as b,pc as y,rc as u,sa as E,sc as v,tc as x,uc as f,ud as pe,vc as a,wc as c,wd as V,xa as s,xb as ae,xc as w,y as Y,zb as r}from"./chunk-YO2RX74J.js";import"./chunk-CJN3JB5D.js";var Fe=(()=>{class t{constructor(){this.faqService=s(ve)}resolve(e){return this.faqService.getFaqCategories(ue)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Be=(()=>{class t{onWindowScroll(){this.windowScrolled=window.pageYOffset>560}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=g({type:t,selectors:[["scroll-top"]],hostBindings:function(n,o){n&1&&h("scroll",function(){return o.onWindowScroll()},ae)},decls:4,vars:2,consts:[[1,"c-scrollTop"],[1,"c-scrollTop__button",3,"click"]],template:function(n,o){n&1&&(a(0,"div",0)(1,"button",1),h("click",function(){return o.scrollToTop()}),a(2,"mat-icon"),i(3,"arrow_upward"),c()()()),n&2&&M("c-scrollTop--s
1how",o.windowScrolled)},dependencies:[xe],styles:[".c-scrollTop[_ngcontent-%COMP%]{position:fixed;bottom:15px;right:15px;width:40px;height:40px;z-index:10;transform:scale(0);opacity:0;transition:var(--ex-transition-primary);border-right:var(--ex-radius--primary);background:var(--ex-bg-color--200);color:var(--ex-color-white);cursor:pointer}.c-scrollTop__button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;cursor:pointer;width:100%;height:100%}.c-scrollTop--show[_ngcontent-%COMP%]{transform:scale(1);opacity:1}"],changeDetection:0})}}return t})();var Ie=(()=>{class t{constructor(){this.el=s(re),this.destroyRef=s(k),this.#e=ge(),this.eventName="scroll",this.spiedClass="",this.changeAnchorOnScroll=!1,this.sectionChange$=new S}#e;ngOnInit(){if(this.#e)return;let e=100,n=this.el?.nativeElement;G(this.scrollElement?this.scrollElement:window,this.eventName).pipe(X(e),D(this.destroyRef)).subscribe(()=>{let p=n?.offsetTop||0,Le=this.scrollElement?this.scrollElement.scrollTop:window.scrollY||document.documentElement.scrollTop,Re=document.getElementsByClassName(this.spiedClass),j;for(let U of Re)this.isElementInView(U,p,Le)&&(j=U);this.setCurrentSection(j)})}setCurrentSection(e){e?.id&&e.id!==this.currentSectionId&&(this.changeHash(e.id),this.currentSectionId=e.id,this.sectionChange$.emit(this.currentSectionId))}isElementInView(e,n,o){return e.offsetTop-n<=o}changeHash(e){history&&history.pushState&&this.changeAnchorOnScroll&&history.pushState(null,null,location.pathname+"#"+e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=ce({type:t,selectors:[["","windowScrollSpy",""]],inputs:{eventName:"eventName",spiedClass:"spiedClass",changeAnchorOnScroll:"changeAnchorOnScroll",scrollElement:"scrollElement"},outputs:{sectionChange$:"sectionChange$"}})}}return t})();var Me=(()=>{class t{constructor(){this.#e=C(),this.#t=P(0),this.topNavigationElement=P(void 0),this.topNavigationHeight=this.#t.asReadonly()}#e;#t;calculateTopOffset(){this.#e&&setTimeout(()=>{let e=this.topNavigationElement()?.nativeElement;e&&this.#t.set(e.offsetHeight)},0)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ve=t=>({title:t}),$e=t=>[t];function ze(t,l){if(t&1){let e=I();a(0,"li")(1,"a",9),h("click",function(){let o=d(e).$implicit,p=m(4);return _(p.onSectionChange.emit(o.articleId))}),i(2),c()()}if(t&2){let e=l.$implicit,n=m(4);r(),M("active",n.faqNavBlock===e.articleId),f("routerLink",".")("fragment",e.articleId),r(),q(" ",e.title," ")}}function Ae(t,l){if(t&1&&(a(0,"ol",8),v(1,ze,3,5,"li",null,u),c()),t&2){let e=m().$implicit;r(),x(e.faqArticles)}}function je(t,l){if(t&1&&(a(0,"mat-expansion-panel",5)(1,"mat-expansion-panel-header",6)(2,"h2",7),i(3),c()(),b(4,Ae,3,0,"ol",8),c()),t&2){let e=l.$implicit,n=m(2);f("expanded",n.isBiggerScreen),r(3),q(" ",e.title," "),r(),y(e.faqArticles.length?4:-1)}}function Ue(t,l){if(t&1&&(F(0),a(1,"nav",1),w(2,"app-crumbs",2),a(3,"h1",3),i(4,"DMarket FAQ"),c(),a(5,"mat-accordion",4),v(6,je,5,3,"mat-expansion-panel",5,u),c()(),B()),t&2){let e=l.$implicit,n=m();r(2),f("crumbs",V(4,$e,V(2,Ve,e("FAQ")))),r(3),f("multi",!0),r(),x(n.categories)}}var We=".c-faqNav",Qe=".c-faqNav__itemTitle.active",Ye=500,De=(()=>{class t{constructor(){this.viewBreakpointService=s(H),this.categories=[],this.onSectionChange=new S,this.repositionParentScroll=new S,this.isBiggerScreen=this.viewBreakpointService.isBreakpoint(O.MinTablet),this.#e=C()}#e;ngOnChanges(e){!e.faqNavBlock?.previousValue&&e.faqNavBlock?.currentValue&&e.faqNavBlock.currentValue!==e.faqNavBlock.previousValue&&this.scrollToActiveElement()}scrollToActiveElement(){this.#e&&setTimeout(()=>{this.isBiggerScreen&&document?.querySelector(We)?.querySelector(Qe)?.scrollIntoView({behavior:"auto",block:"center"}),this.repositionParent()},0)}repositionParent(){setTimeout(()=>{this.repositionParentScroll.emit()},Ye)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=g({type:t,selectors:[["navigation"]],inputs:{topHeight:"topHeight",faqNavBlock:"faqNavBlock",categories:"categories"},outputs:{onSectionChange:"onSectionChange",repositionParentScroll:"repositionParentScroll"},features:[oe],decls:1,vars:0,consts:[[4,"transloco"],[1,"custom-scrollbar","h-full","overflow-y-auto","px-4","md:px-5","xl:pr-5","xl:pb-7","xl:pl-7","[&_.mat-accordion_.mat-expansion-panel]:mt-0!"],[3,"crumbs"],[1,"green-500","mb-5","text-xl","font-medium","text-green-200"],[1,"text-md","block","font-medium","text-white","[counter-reset:nav]",3,"multi"],[1,"border-b!","border-solid!","border-dm-zinc-800","md:border-transparent!",3,"expanded"],[1,"flex","w-full","cursor-pointer","items-center","py-2","transition-dm-primary","hover:text-green-200","[&.active]:text-green-200"],[1,"before:mr-1","before:hidden","before:content-[counters(nav,'.')_'._']","before:[counter-increment:nav]","before:md:inline"],[1,"ml-2","pb-2","text-sm/[1.3]","[counter-reset:nav]","md:ml-4","md:pb-0"],[1,"flex","w-full","cursor-pointer","py-2","transition-dm-primary","before:mr-1","before:hidden","before:content-[counters(nav,'.')_'._']","before:[counter-increment:nav]","hover:text-green-200","before:md:inline-block","[&.active]:text-green-200",3,"click","routerLink","fragment"]],template:function(n,o){n&1&&N(0,Ue,8,6,"ng-container",0)},dependencies:[R,L,ke,ye,Se,be,de],encapsulation:2,changeDetection:0})}}return t})();function Ge(t,l){t&1&&(i(0,`
2    `),a(1,"div",7),i(2,`
3      `),w(3,"spinner",8),i(4,`
4    `),c(),i(5,`
5  `))}function Je(t,l){if(t&1&&(i(0,`
6                `),a(1,"section",10),i(2,`
7                  `),a(3,"h2",11),i(4),c(),i(5,`
8                  `),w(6,"markdown",12),i(7,`
9                `),c(),i(8,`
10              `)),t&2){let e=l.$implicit;r(),f("id",e.articleId),r(3),q(`
11                    `,e.title,`
12                  `),r(2),f("data",e.description)}}function Ke(t,l){if(t&1&&(i(0,`
13            `),a(1,"div",9),i(2,`
14              `),v(3,Je,9,3,null,null,u),c(),i(5,`
15          `)),t&2){let e=m().$implicit;r(3),x(e.faqArticles)}}function Xe(t,l){if(t&1&&(i(0,`
16        `),a(1,"div"),i(2,`
17          `),b(3,Ke,6,0),c(),i(4,`
18      `)),t&2){let e=l.$implicit;r(3),y(e.faqArticles.length?3:-1)}}function Ze(t,l){if(t&1){let e=I();F(0),i(1,`
19  `),b(2,Ge,6,0),a(3,"div",2),i(4,`
20    `),a(5,"div",3),i(6,`
21      `),a(7,"navigation",4),h("onSectionChange",function(o){d(e);let p=m();return _(p.onSectionChange(o))})("repositionParentScroll",function(){d(e);let o=m();return _(o.repositionSection())}),i(8,`
22      `),c(),i(9,`
23    `),c(),i(10,`
24    `),a(11,"div",5,0),h("sectionChange$",function(o){d(e);let p=m();return _(p.onSectionChange(o))}),i(13,`
25      `),w(14,"scroll-top",6),i(15,`
26      `),v(16,Xe,5,1,null,null,u),c(),i(18,`
27  `),c(),i(19,`
28`),B()}if(t&2){let e=se(12),n=m();r(2),y(n.loading?2:-1),r(),le("height",n.sidebarHeight()),r(4),f("faqNavBlock",n.currentSection)("categories",n.categories),r(4),f("scrollElement",e),r(5),x(n.categories)}}var z=1e3,Oe=100,A=".c-faq__content",et=60,He=(()=>{class t{#e;constructor(){this.viewportScroller=s(fe),this.cdr=s(me),this.route=s(he),this.topNavigationService=s(Me),this.viewBreakpointService=s(H),this.destroyRef=s(k),this.currentSection="",this.categories=[],this.loading=!0,this.topNavigationHeight=$(()=>Math.max(this.topNavigationService.topNavigationHeight(),et)),this.sidebarHeight=$(()=>this.isMobile?"auto":`calc(100vh - ${this.topNavigationHeight()}px)`),this.faqHeight$=new Q(0),this.stopResize$=new W,this.observer=null,this.pageMetaQuery=qe(_e.FaqPage),this.#e=C(),this.viewportScroller.setHistoryScrollRestoration("auto"),ie(()=>this.viewportScroller.setOffset([0,this.topNavigationHeight()]))}get isMobile(){return this.viewBreakpointService.isBreakpoint(O.MaxMobile)}
28ngAfterViewInit(){this.getCategories(this.route.snapshot.data.categories),this.#e&&setTimeout(()=>{this.observeHostChanges(),this.detectContentLoad()},z)}ngOnDestroy(){if(this.#e){let e=document.querySelector(A);e&&this.observer?.unobserve?.(e),this.resetResizeObserver()}}onSectionChange(e){e!==this.currentSection&&(this.currentSection=e)}handleFragment(){this.route.fragment.pipe(Z(),D(this.destroyRef)).subscribe(e=>{e&&!this.isMobile&&this.scrollToSection(!0)})}getCategories(e){this.categories=e,this.cdr.detectChanges()}observeHostChanges(){this.observer||(this.observer=new ResizeObserver(([n])=>{n?.contentRect?.height&&this.faqHeight$.next(n?.contentRect?.height)}));let e=document.querySelector(A);e?this.observer?.observe(e):setTimeout(()=>this.observeHostChanges(),z)}resetResizeObserver(){this.stopResize$.next(!0),this.stopResize$.complete(),this.faqHeight$.next(0)}detectContentLoad(){J(z).pipe(ne(this.faqHeight$),Y(([,e])=>e),ee(),K(([e,n])=>n===e),te(this.stopResize$)).subscribe(()=>{this.resetResizeObserver(),this.scrollToSection(!1)})}repositionSection(){this.handleFragment(),setTimeout(()=>{this.loading=!1,this.cdr.detectChanges()},Oe)}scrollToSection(e=!0){let n=this.categories[0].faqArticles[0],p=location.hash.replace(/^#/,"")||n.articleId;p&&(e&&this.scrollToElement(p),this.currentSection=p,this.cdr.detectChanges())}scrollToElement(e){let o=document?.querySelector(A)?.querySelector(`#${e}`);setTimeout(()=>{o?.scrollIntoView({behavior:"auto",block:"start"})},Oe)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=g({type:t,selectors:[["faq"]],features:[pe([Ne()])],decls:2,vars:0,consts:[["scrollContainer",""],[4,"transloco"],[1,"flex","flex-col","flex-wrap","md:flex-row","md:flex-nowrap"],[1,"max-w-full","min-w-[320px]","p-0","md:h-full","md:flex-[30%]","md:bg-dm-zinc-900"],[3,"onSectionChange","repositionParentScroll","faqNavBlock","categories"],["imgLazyLoadLegacy","","windowScrollSpy","","eventName","mousewheel","spiedClass","spySection",1,"c-faq__content","scroll-behavior-auto","flex","h-full","flex-col","items-center","overflow-y-auto","[counter-reset:sectionList]","md:flex-[70%]",3,"sectionChange$","scrollElement"],[1,"md:hidden"],[1,"fixed","top-0","right-0","bottom-0","left-0","z-50","flex","h-full","w-full","items-center","justify-center","bg-white/5"],["sizePx","30px",1,"o-loading"],[1,"h-","w-full","[counter-increment:sectionList]","[counter-reset:section]"],[1,"spySection","w-full","max-w-[100vw]","px-4","py-7","md:max-w-none","md:px-7","md:pt-10",3,"id"],[1,"before:mr-1","before:content-[counter(sectionList)_'.'_counter(section)_'_']","before:[counter-increment:section]"],[3,"data"]],template:function(n,o){n&1&&(N(0,Ze,20,6,"ng-container",1),i(1,`
29`))},dependencies:[R,L,Ce,De,we,Ie,Be,Ee,Te],styles:[`@layer properties;.c-faq__content div{width:100%}.c-faq__content img{margin:auto;display:block;max-height:200px;max-width:100%;object-fit:contain}@media(width>=768px){.c-faq__content img{max-height:400px}}.c-faq__content h1,.c-faq__content h2,.c-faq__content h3,.c-faq__content h4,.c-faq__content h5{margin-bottom:30px;font-size:1rem;line-height:var(--tw-leading, normal);--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);color:#8dd294}@media(width>=640px){.c-faq__content h1,.c-faq__content h2,.c-faq__content h3,.c-faq__content h4,.c-faq__content h5{font-size:1.25rem;line-height:var(--tw-leading, normal)}}.c-faq__content p,.c-faq__content ul,.c-faq__content ol{margin-top:calc(var(--spacing, .25rem) * 5);font-size:.75rem;line-height:var(--tw-leading, normal);--tw-leading: 22px;line-height:22px;color:#fff}@media(width>=640px){.c-faq__content p,.c-faq__content ul,.c-faq__content ol{font-size:.875rem;line-height:var(--tw-leading, normal)}}.c-faq__content p+h1,.c-faq__content p+h2,.c-faq__content p+h3,.c-faq__content p+h4,.c-faq__content p+h5,.c-faq__content p+h6,.c-faq__content ul+h1,.c-faq__content ul+h2,.c-faq__content ul+h3,.c-faq__content ul+h4,.c-faq__content ul+h5,.c-faq__content ul+h6,.c-faq__content ol+h1,.c-faq__content ol+h2,.c-faq__content ol+h3,.c-faq__content ol+h4,.c-faq__content ol+h5,.c-faq__content ol+h6{margin-top:30px}.c-faq__content ul{list-style-type:disc}.c-faq__content ol{list-style-type:decimal}.c-faq__content ul,.c-faq__content ol{padding-left:calc(var(--spacing, .25rem) * 4)}.c-faq__content a{overflow-wrap:break-word}.c-faq__content .table-wrapper{display:block;width:100%;overflow-x:auto}.c-faq__content .table-wrapper table{width:100%}@media(width>=768px){.c-faq__content .table-wrapper table{width:auto}}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-leading{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-leading: initial}}}
30/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
31`],encapsulation:2,changeDetection:0})}}return t})();var on=[{path:"",component:He,resolve:{categories:Fe}}];export{on as faqRoutes};

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.