1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7f19e35a-72d1-5757-bc5f-d3ae2489c9f3")}catch(e){}}(); 3import{a as z}from"./chunk-XM57WXT2.js";import{a as H}from"./chunk-XIVKRWFU.js";import{a as P}from"./chunk-GMOM7OVF.js";import"./chunk-OZS24Q2A.js";import"./chunk-RH2XXNXD.js";import{a as N,b as j}from"./chunk-SOCZ6N5V.js";import"./chunk-ZWCNYL4J.js";import{D as L}from"./chunk-D7INPA5Y.js";import"./chunk-OMSROY3C.js";import"./chunk-DPKSD3U3.js";import{I as W,l as D,q as U}from"./chunk-ALQRFA6S.js";import"./chunk-SZLOI7II.js";import{e as i}from"./chunk-7A7LDGKG.js";import"./chunk-3EP7OHNH.js";import"./chunk-GBS5NEN2.js";import"./chunk-LWW7BOTF.js";import{b as B}from"./chunk-COTPHALG.js";import{s as V}from"./chunk-KF3FKZRO.js";import{r as O}from"./chunk-OD5Z4FIV.js";import{k as I,u as R}from"./chunk-FMNOXGZD.js";import{Lb as _,Nc as f,Pb as F,Pc as A,Qa as x,Qb as w,Sc as h,Tc as C,Uc as b,jc as d,kc as u,lc as c,mc as S,qc as T,rc as M,sb as s,ta as m,tc as E,ya as v,za as k}from"./chunk-GHGZ4ZGT.js";import"./chunk-ALSDDZFP.js";import{j as o}from"./chunk-EKFLB6J2.js";function q(a,n){if(a&1){let p=E();T(0),u(1,"li",11)(2,"mat-checkbox",7),b("ngModelChange",function(e){let t=v(p).$implicit;return C(t.checked,e)||(t.checked=e),k(e)}),u(3,"span",12),f(4),c()()(),M()}if(a&2){let p=n.$implicit;s(2),h("ngModel",p.checked),d("color","primary"),s(2),A(" ",p.displayTitle," ")}}var ce=(()=>{let n=class n extends L{constructor(){super(...arguments);o(this,"router",m(V));o(this,"_localRepository",m(O));o(this,"accountSettingsService",m(P));o(this,"headerConfig",{title:"\u0645\u062F\u06CC\u0631\u06CC\u062A \u0645\u062D\u062A\u0648\u0627 \u062F\u0631 \u0635\u0641\u062D\u06C0 \u0627\u0635\u0644\u06CC"});o(this,"routes",B);o(this,"hiddenUsernavbar",!1);o(this,"filters",[{displayTitle:"\u067E\u0633\u062A\u200C\u0647\u0627",verb:i.Posted,checked:!0},{displayTitle:"\u0644\u06CC\u0633\u062A\u200C\u0647\u0627",verb:i.Booklisted,checked:!0},{displayTitle:"\u0628\u0631\u06CC\u062F\u06C0 \u06A9\u062A\u0627\u0628\u200C\u200C\u0647\u0627",verb:i.Quoted,checked:!0},{displayTitle:"\u06CC\u0627\u062F\u062F\u0627\u0634\u062A\u200C\u0647\u0627 \u0648 \u0627\u0645\u062A\u06CC\u0627\u0632\u200C\u0647\u0627",verb:i.Reviewed,checked:!0},{displayTitle:"\u067E\u0633\u0646\u062F\u0647\u0627\u06CC \u062F\u06CC\u06AF\u0631\u0627\u0646",verb:i.Liked,checked:!0},{displayTitle:"\u0646\u0638\u0631\u0647\u0627\u06CC \u062F\u06CC\u06AF\u0631\u0627\u0646",verb:i.Commented,checked:!0},{displayTitle:"\u062A\u063A\u06CC\u06CC\u0631 \u0648\u0636\u0639\u06CC\u062A \u0645\u0637\u0627\u0644\u0639\u06C0 \u062F\u06CC\u06AF\u0631\u0627\u0646",verb:i.ReadingProgressed,checked:!0},{displayTitle:"\u06A9\u062A\u0627\u0628\u200C\u0647\u0627\u06CC\u06CC \u06A9\u0647 \u062F\u06CC\u06AF\u0631\u0627\u0646 \u062E\u0648\u0627\u0647\u0646\u062F \u062E\u0648\u0627\u0646\u062F",verb:i.StateChangedIWantToRead,checked:!0},{displayTitle:"\u06A9\u062A\u0627\u0628\u200C\u0647\u0627\u06CC\u06CC \u06A9\u0647 \u062F\u06CC\u06AF\u0631\u0627\u0646 \u0645\u06CC\u200C\u062E\u0648\u0627\u0646\u0646\u062F",verb:i.StateChangedToCurrently,checked:!0},{displayTitle:"\u06A9\u062A\u0627\u0628\u200C\u0647\u0627\u06CC\u06CC \u06A9\u0647 \u062F\u06CC\u06AF\u0631\u0627\u0646 \u062E\u0648\u0627\u0646\u062F\u0647\u200C\u0627\u0646\u062F",verb:i.StateChangedToRead,checked:!0},{displayTitle:"\u0634\u0631\u0648\u0639 \u0686\u0627\u0644\u0634",verb:i.ChallengePicked,checked:!0},{displayTitle:"\u067E\u0627\u06CC\u0627\u0646 \u0686\u0627\u0644\u0634",verb:i.ChallengeObtained,checked:!0},{displayTitle:"\u062F\u0633\u062A\u0627\u0648\u0631\u062F\u0647\u0627",verb:i.AchievementObtained,checked:!0},{displayTitle:"\u0628\u0627\u0634\u06AF\u0627\u0647\u200C\u0647\u0627",verb:i.Clubed,checked:!0}]);o(this,"filteredVerbs",[]);o(this,"deselectedFilter");o(this,"setting",new z)}ngOnInit(){this._localRepository.IsInBrowser&&(this.hiddenUsernavbar=!!this._localRepository.getLocalItem("hiddenUsernavbar")),this.accountSettingsService.getSetting().subscribe(e=>{var t,r,g,l;e.hasError||((r=(t=e==null?void 0:e.result)==null?void 0:t.ignoreFeedVerbConfigs)==null?void 0:r.length)>0&&((l=(g=e==null?void 0:e.result)==null?void 0:g.ignoreFeedVerbConfigs)==null||l.forEach(Q=>
3{this.filters.forEach(y=>{Q===y.verb&&(y.checked=!1)})}))})}ngOnDestroy(){if(this._localRepository.IsInBrowser){let e=[];this.filters.forEach(t=>{t.checked||(t.verb===i.Reviewed?(e.push("5"),e.push("6")):e.push(t.verb.toString()))}),this._localRepository.setLocalItem("filters",JSON.stringify(e)),(e==null?void 0:e.length)>0&&e.forEach(t=>{var r;t&&((r=this.setting.ignoreFeedVerbConfigs)==null||r.push(+t))}),this.accountSettingsService.changeSettings(this.setting).subscribe()}}back(){this._localRepository.IsInBrowser&&this.router.navigate([this.routes.setting_profile])}};o(n,"\u0275fac",(()=>{let e;return function(r){return(e||(e=x(n)))(r||n)}})()),o(n,"\u0275cmp",_({type:n,selectors:[["app-feeds-filter"]],features:[F],decls:13,vars:4,consts:[[1,"w-full","px-2","px-sm-0","flex","flex-wrap"],[1,"w-full","flex","flex-wrap"],[1,"sticky","top-0","z-30","bg-white","dark:bg-gray-900","shadow-sm",3,"_Config"],[1,"w-full","pb-2","mt-4","px-4","flex","flex-wrap","border-b","border-gray-100","dark:border-gray-700"],[1,"text-xs","md:text-sm","font-regular","leading-8","text-gray-800","py-2"],[1,"w-full","mt-4","flex","flex-wrap","items-start","px-4"],[1,"w-full","block","sm:hidden"],[3,"ngModelChange","ngModel","color"],[1,"mx-2","text-sm","md:text-base","font-regular","text-gray-800"],[1,"list-none","pr-0","mt-4"],[4,"ngFor","ngForOf"],[1,"!mb-6"],[1,"mr-4","text-sm","md:text-base","font-regular","text-gray-800"]],template:function(t,r){t&1&&(u(0,"div",0)(1,"article",1),S(2,"app-header",2),u(3,"div",3)(4,"p",4),f(5," \u0628\u0627 \u0627\u0646\u062A\u062E\u0627\u0628 \u06AF\u0632\u06CC\u0646\u0647\u200C\u0647\u0627\u06CC \u0632\u06CC\u0631\u060C \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0645\u062D\u062A\u0648\u0627\u06CC \u0635\u0641\u062D\u06C0 \u0627\u0635\u0644\u06CC \u0628\u0647\u062E\u0648\u0627\u0646 \u0631\u0627 \u0628\u0647 \u0634\u06CC\u0648\u06C0 \u062E\u0648\u062F\u062A\u0627\u0646 \u0645\u062F\u06CC\u0631\u06CC\u062A \u06A9\u0646\u06CC\u062F. "),c()(),u(6,"div",5)(7,"div",6)(8,"mat-checkbox",7),b("ngModelChange",function(l){return C(r.hiddenUsernavbar,l)||(r.hiddenUsernavbar=l),l}),u(9,"span",8),f(10," \u0645\u062E\u0641\u06CC \u06A9\u0631\u062F\u0646 \u0646\u0648\u0627\u0631 \u06A9\u0627\u0631\u0628\u0631\u0627\u0646 \u062F\u0631 \u0635\u0641\u062D\u06C0 \u0627\u0635\u0644\u06CC "),c()()(),u(11,"ul",9),w(12,q,5,3,"ng-container",10),c()()()()),t&2&&(s(2),d("_Config",r.headerConfig),s(6),h("ngModel",r.hiddenUsernavbar),d("color","primary"),s(4),d("ngForOf",r.filters))},dependencies:[R,I,W,D,U,j,N,H],styles:["[_nghost-%COMP%]{width:100%!important}"]}));let a=n;return a})();export{ce as FeedsFilterComponent}; 4 5//# debugId=7f19e35a-72d1-5757-bc5f-d3ae2489c9f3
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.