PageSourceSearch

https://exode.me/client/en-US/chunk-7MQ4SBPO.js

js exode.me collected 2026-10-04 16:17:50 UTC 2,920 bytes, 1 lines download raw bytes

1import{h as M}from"./chunk-VDA4PBJF.js";import{E as v,a as I,g as S,o as y}from"./chunk-EBOVR5NW.js";import{Dc as C,Gb as c,Ma as a,X as l,aa as _,bc as g,cc as u,dc as h,jc as f,lb as d,mb as p,nb as m,th as O}from"./chunk-HVCWS4IF.js";import{j as r}from"./chunk-KJ7W2O2B.js";var n=class n{inputId=C.required();scopeItems;selectedId;ngOnInit(){this.buildScopeItems();}buildScopeItems(){this.scopeItems=[{id:"local",label:"Only videos from this platform"},{id:"federated",label:"Videos from all platforms"}];}propagateChange=e=>{};writeValue(e){this.selectedId=e;}registerOnChange(e){this.propagateChange=e;}registerOnTouched(){}onModelChange(){this.propagateChange(this.selectedId);}};r(n,"\u0275fac",function(i){return new(i||n)();}),r(n,"\u0275cmp",a({type:n,selectors:[["my-select-videos-scope"]],inputs:{inputId:[1,"inputId"]},features:[f([{provide:I,useExisting:l(()=>n),multi:!0}])],decls:1,vars:3,consts:[[3,"ngModelChange","inputId","items","ngModel"]],template:function(i,t){i&1&&(p(0,"my-select-options",0),h("ngModelChange",function(o){return u(t.selectedId,o)||(t.selectedId=o),o;}),c("ngModelChange",function(){return t.onModelChange();}),m()),i&2&&(d("inputId",t.inputId())("items",t.scopeItems),g("ngModel",t.selectedId));},dependencies:[v,S,y,M],encapsulation:2}));var w=n;var s=class s{server=_(O);inputId=C.required();sortItems;selectedId;serverConfig;ngOnInit(){this.serverConfig=this.server.getHTMLConfig(),this.buildSortItems();}buildSortItems(){this.sortItems=[{id:"-publishedAt",label:"Recently Added"},{id:"-originallyPublishedAt",label:"Original Publication Date"},{id:"name",label:"Name"}],this.isTrendingSortEnabled("most-viewed")&&this.sortItems.push({id:"-trending",label:"Recent Views"}),this.isTrendingSortEnabled("hot")&&this.sortItems.push({id:"-hot",label:"Hot"}),this.isTrendingSortEnabled("most-liked")&&this.sortItems.push({id:"-likes",label:"Likes"}),this.sortItems.push({id:"-views",label:"Global Views"});}isTrendingSortEnabled(e){return this.serverConfig.trending.videos.algorithms.enabled.includes(e);}propagateChange=e=>{};writeValue(e){this.selectedId=e;}registerOnChange(e){this.propagateChange=e;}registerOnTouched(){}onModelChange(){this.propagateChange(this.selectedId);}};r(s,"\u0275fac",function(i){return new(i||s)();}),r(s,"\u0275cmp",a({type:s,selectors:[["my-select-videos-sort"]],inputs:{inputId:[1,"inputId"]},features:[f([{provide:I,useExisting:l(()=>s),multi:!0}])],decls:1,vars:3,consts:[[3,"ngModelChange","inputId","items","ngModel"]],template:function(i,t){i&1&&(p(0,"my-select-options",0),h("ngModelChange",function(o){return u(t.selectedId,o)||(t.selectedId=o),o;}),c("ngModelChange",function(){return t.onModelChange();}),m()),i&2&&(d("inputId",t.inputId())("items",t.sortItems),g("ngModel",t.selectedId));},dependencies:[v,S,y,M],encapsulation:2}));var V=s;export{w as a,V as b};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/

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.