PageSourceSearch

https://cdn.tomi.digital/apps/fnt-platform/2.0.09212026.1/chunk-7FUCVSFK.js

js tomi.digital collected 2026-09-24 09:58:01 UTC 16,470 bytes, 1 lines download raw bytes

1import{a as G,b as It,c as zt,d as q}from"./chunk-F7RDFYCE.js";import{a as Ft}from"./chunk-VZJTWKCJ.js";import{a as jt}from"./chunk-HRFRBTT3.js";import{c as Rt,i as At,j as Bt}from"./chunk-WY654ULL.js";import"./chunk-UNG546WR.js";import"./chunk-DY7GXXP3.js";import{a as St,c as Tt,j as kt,m as Et}from"./chunk-JEQCOGCD.js";import"./chunk-JDQTM4TK.js";import{a as Pt,b as vt}from"./chunk-X2JJBX2U.js";import"./chunk-KJ4QD3SP.js";import"./chunk-JGHIXAQ4.js";import"./chunk-3ORFLDEQ.js";import"./chunk-DR3JU5EU.js";import{a as bt,b as Ot}from"./chunk-ZRDGGLZM.js";import"./chunk-76DJPXSG.js";import"./chunk-ZUTNCURO.js";import{d as wt}from"./chunk-GQIMCUCB.js";import"./chunk-MAILJUOZ.js";import"./chunk-5M4XIZMD.js";import"./chunk-6HN5HIFJ.js";import"./chunk-VTF4T7ID.js";import{d as ft,l as _t}from"./chunk-TUKI65JW.js";import"./chunk-E7TZAWVT.js";import{a as yt}from"./chunk-MFENAI4K.js";import"./chunk-M3QVIA7O.js";import{d as ut}from"./chunk-EKVTZPVT.js";import"./chunk-ZYWYILRC.js";import"./chunk-S54BMOKL.js";import"./chunk-3ZR4SHJC.js";import{d as gt,j as dt}from"./chunk-K75VSEIY.js";import"./chunk-7FRBKRRG.js";import"./chunk-WPWHXKEF.js";import"./chunk-ZWC24XOW.js";import{Ua as N,lb as xt,w as k}from"./chunk-2U5T7ZRU.js";import"./chunk-HFHRXST3.js";import{A as pt,D as V,L as ht,Q as Ct,R as Mt,w as st,x as lt,y as T,z as mt}from"./chunk-EHK3LLER.js";import"./chunk-UZFNZKCX.js";import{D as ct,t as rt,u as at}from"./chunk-YDFILND7.js";import{Ac as F,Bd as it,Da as C,Ea as M,Hb as m,Hc as P,K as $,Kc as v,Ob as J,Oc as Z,Pb as b,Pc as y,Qc as w,Ub as A,Uc as B,Zc as _,_c as L,ad as tt,ia as H,jc as W,la as R,lc as X,nc as I,nd as S,oc as j,pc as z,pd as et,qc as p,r as E,ra as K,rb as Y,rc as r,sa as h,sc as a,tc as g,wa as f,wd as nt,x as U,xb as c,xc as O,xd as ot,yc as x}from"./chunk-TROGQXTX.js";import{i as l}from"./chunk-S6MAVN2Q.js";l();l();l();var Dt=["sideleft"],Qt=["main"],Ut=["panel"],$t=()=>["news"],Lt=()=>["binnacle"],Ht=(e,s)=>({student:e,uid:s});function Kt(e,s){}function Yt(e,s){if(e&1&&(r(0,"option",19),_(1),a()),e&2){let t=s.$implicit;p("value",t.id),c(),L(t.name)}}function Jt(e,s){if(e&1){let t=F();r(0,"ul",26)(1,"li",27),P("click",function(){C(t);let o=v(3);return M(o.sendBinnacle(1))}),g(2,"img",28),r(3,"span"),_(4),a()()()}if(e&2){let t=s.$implicit;c(),p("routerLink",S(5,Lt))("queryParams",et(6,Ht,t.id,t.r_user_id)),c(),p("src",t.image!=""?t.image:"https://storage.googleapis.com/aulasamigas/resources/profile/default.jpg",Y),c(2),tt("",t.first_name," ",t.last_name)}}function Wt(e,s){if(e&1&&(r(0,"div",25),j(1,Jt,5,9,"ul",26,I),a()),e&2){let t=v(2);c(),z(t.roles.students)}}function Xt(e,s){if(e&1&&(r(0,"nav",22),g(1,"td-nav-item",23)(2,"td-nav-item",24),W(3,Wt,3,0,"div",25),a()),e&2){let t=v();c(),p("route",S(3,$t)),c(),p("route",S(4,Lt)),c(),X(t.roles.students!=null&&t.roles.students.length?3:-1)}}var Vt=(()=>{class e{constructor(t,n,o,i,d,u,qt){this._router=t,this._route=n,this._userService=o,this._groupService=i,this._eventBroker=d,this._translation=u,this._platform=qt,this.stateDetailPanel="show",this.roles={},this.firstStudentId=0}ngOnInit(){this._platform.isBrowser&&(this._getRoles(),this._loadStaff(),this._setFilter("news"))}ngAfterViewInit(){this.changeOfRoutes()}navigateTo(t){this.currSection=t[0],this._router.navigate(t,{relativeTo:this._route})}sendBinnacle(t){this._eventBroker.emit("force-tabs",t)}_getRoles(){this._userService.getRolesMiAula(!0).then(t=>{this.roles=t,this.firstStudentId=this.roles.students[0]?this.roles.students[0].id:0})}_loadStaff(){this.staff$=this._groupService.getStaff(0).pipe(U(t=>t.map(n=>({id:n.r_user_id,name:n.name}))))}_setFilter(t){switch(this.currSection=t,t){case"news":this.filterHolder=this._translation.translate("contents.filter-filter-by"),this.filterElems$=this.staff$;break;case"binnacle":break}}triggerFilter(t){switch(this.currSection){case"news":this._eventBroker.emit("filter-news",t);break;case"binnacle":this._eventBroker.emit("filter-binnacle",t);break}}changeOfRoutes(){this._router.url.includes("news")?this._setFilter("news"):this._setFilter("binnacle")}static{this.\u0275fac=function(n){return new(n||e)(m(T),m(st),m(Ft),m(yt),m(Bt),m(ht),m(k))}}static{this.\u0275cmp=J({type:e,selectors:[["observator"]],viewQuery:function(n,o){if(n&1&&Z(Dt,5)(Qt,5)(Ut,5),n&2){let i;y(i=w())&&(o.sideleft=i.first),y(i=w())&&(o.main=i.first),y(i=w())&&(o.panel=i.first)}},standalone:!1,decls:30,vars:4,consts:[["filter",""],["ObservatorNavTemplate",""],["height","60",1,"bg-white","shadow"],["ngProjectAs","td-toolbar-left",5,["td-toolbar-left"]],["l10nTranslate","",1,"text-xl","text-blue-grey","ml-4"],["ngProjectAs","td-toolbar-center",5,["td-toolbar-center"]],["src","assets/images/tomi-grey.png","alt","TOMi Digital",1,"hidden","md:block","mx-auto"],["ngProjectAs","td-toolbar-right",5,["td-toolbar-right"]],["routerLink","/messages",1,"relative","focus:outline-none"],[1,"ai","ai-mail","text-lg","mx-2"],[1,"ml-4","md:ml-10"],[1,"container","mx-auto","px-3","py-6","flex"],[1,"hidden","md:block","md:w-2/6","lg:w-1/6"],[3,"ngTemplateOutlet"],[1,"w-full","md:w-4/6","lg:w-5/6","px-6"],[1,"flex","justify-end","mb-4"],["aaSelect","",3,"change"],["value","","disabled","","selected",""],["value","0","l10nTranslate",""],[3,"value"],["id","router-outlet-content",1,"content"],[3,"activate"],[1,"flex","flex-col","pt-6"],["icon","ad","label","toolbar.routes.announcements",1,"my-2",3,"route"],["icon","group-user","label","toolbar.routes.follow-up",1,"my-2",3,"route"],[1,"pt-3"],[1,"nav-sections","list-unstyled"],["routerLinkActive","td-observator-student-active",1,"w-full","flex","items-center","text-grey-light-6","hover:bg-blue-grey-light-05","focus:outline-none","px-2","py-2","cursor-pointer",3,"click","routerLink","queryParams"],["alt","Avatar",1,"img-thumb","mr-3",3,"src"]],template:function(n,o){if(n&1){let i=F();r(0,"td-toolbar",2),O(1,3),g(2,"td-back-button"),r(3,"strong",4),_(4,"toolbar.routes.observator"),a(),x(),O(5,5),g(6,"img",6),x(),O(7,7),r(8,"button",8),g(9,"em",9),a(),g(10,"td-apps-menu",10)(11,"td-avatar",10),x(),a(),r(12,"div",11)(13,"div",12),A(14,Kt,0,0,"ng-template",13),a(),r(15,"div",14)(16,"div",15)(17,"select",16,0),P("change",function(){C(i);let u=B(18);return M(o.triggerFilter(u.value))}),r(19,"option",17),_(20),a(),r(21,"option",18),_(22,"groups-tomi7.all"),a(),j(23,Yt,2,2,"option",19,I),nt(25,"async"),a()(),r(26,"div",20)(27,"router-outlet",21),P("activate",function(){return C(i),M(o.changeOfRoutes())}),a()()()(),A(28,Xt,4,5,"ng-template",null,1,it)}if(n&2){let i=B(29);c(14),p("ngTemplateOutlet",i),c(6),L(o.filterHolder),c(3),z(ot(25,2,o.filterElems$))}},dependencies:[rt,lt,mt,pt,St,Tt,kt,Rt,Ct,bt,Pt,at],styles:[".wrapper[_ngcontent-%COMP%]{padding:16px 0 30px}.td-observator-student-active[_ngcontent-%COMP%]{color:#333;background-color:#f2f5f6}.fix-sideleft[_ngcontent-%COMP%]{position:fixed;top:2px;width:auto;z-index:100;transition:ease .2s}.header[_ngcontent-%COMP%]{margin-bottom:8px}.lateral-left[_ngcontent-%COMP%]{width:255px;position:relative}.img[_ngcontent-%COMP%]{margin-bottom:30px;position:relative}.img-tab[_ngcontent-%COMP%]{width:150px;height:150px;border-radius:50%;margin:auto auto 30px;overflow:hidden;background-position:center!important;background-size:cover!important;cursor:pointer;background-color:#fff!important;color:#9fb2b8;position:relative}.img[_ngcontent-%COMP%]   .type-icon-tab[_ngcontent-%COMP%]{width:45px;height:45px;background-color:#fff;border:1px solid #EAEAEA;border-radius:50%;display:block;margin:-55px auto auto;position:relative}.is-own[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{position:absolute;top:5px;left:-46px;font-weight:700;color:#fff;font-size:20px}.item-set[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:24px;margin-right:5px;color:#6a838d!important}.section-platform[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:26px;margin-left:10px}.btn-new-tan[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:22px}.social[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:28px;margin-right:5px}.img[_ngcontent-%COMP%]   .type-icon-tab[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:28px;line-height:1.5em}.edit-resource[_ngcontent-%COMP%]{position:absolute;right:89px;top:2px;font-size:36px;cursor:pointer}ul.platforms[_ngcontent-%COMP%]   li.list-inline-item[_ngcontent-%COMP%]{font-size:26px!important}.social[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:30px;height:40px}.social[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-right:15px;
1display:flex;align-items:center}.options[_ngcontent-%COMP%]{margin-bottom:30px}.options[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-bottom:15px}.subtitle[_ngcontent-%COMP%]{margin-bottom:10px!important}.description[_ngcontent-%COMP%]{font-size:15px!important;margin-bottom:30px}.http-content[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-weight:300;padding:10px 15px;margin-top:30px}.tab-comment[_ngcontent-%COMP%]   .options[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .tab-comment[_ngcontent-%COMP%]   .openClose[_ngcontent-%COMP%]{color:#9ca9b4;background:transparent;border:none;line-height:15px;padding:0;-webkit-appearance:none;margin-left:10px;cursor:pointer;outline:none}.tab-comment[_ngcontent-%COMP%]{margin:0;width:100%}.tab-comment[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{margin:0 0 15px;width:100%}.tab-comment[_ngcontent-%COMP%]   h5.subtitle[_ngcontent-%COMP%]{margin-bottom:40px}.tab-comment[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]{padding:15px 0;box-sizing:border-box;overflow:hidden;margin-bottom:15px;transition:all ease .25s;max-height:70px;border-bottom:1px solid #cccccc}.tab-comment[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]:last-child{margin-bottom:0}.comment-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-left:50px!important;color:#999}.tab-comment[_ngcontent-%COMP%]   .comment-header[_ngcontent-%COMP%]{margin-bottom:30px;position:relative;display:flex;align-items:center}.tab-comment[_ngcontent-%COMP%]   .comment-header[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:0}.tab-comment[_ngcontent-%COMP%]   .options[_ngcontent-%COMP%]{float:right;margin-top:-5px}.item-set[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:15px;color:#6a838d}.section-author[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .section-author[_ngcontent-%COMP%]{font-size:12px;color:#6a838d}.tab-comment[_ngcontent-%COMP%]   .options[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{cursor:pointer}.tab-comment[_ngcontent-%COMP%]   .comment-header[_ngcontent-%COMP%]   .openClose[_ngcontent-%COMP%]{position:absolute;top:3px;right:-5px}.tab-content[_ngcontent-%COMP%]   .metodology[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:50px;line-height:50px}.tab-comment[_ngcontent-%COMP%]   .openClose[_ngcontent-%COMP%]   em[_ngcontent-%COMP%], .tab-comment[_ngcontent-%COMP%]   .options[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{font-size:32px;vertical-align:sub;line-height:25px}.tab-comment[_ngcontent-%COMP%]   .options[_ngcontent-%COMP%]   em.ai.ai-card-star[_ngcontent-%COMP%]{font-size:30px;vertical-align:middle;color:#6b7f8f}.tab-comment[_ngcontent-%COMP%]   .options[_ngcontent-%COMP%] > span.quantity[_ngcontent-%COMP%]{color:#6b7f8f;cursor:default}.tab-comment[_ngcontent-%COMP%]   .comment-content[_ngcontent-%COMP%]   h5.tab-subtitle[_ngcontent-%COMP%]{margin-bottom:10px!important}.resource-detail[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:15px!important;color:#333}.tab-comment[_ngcontent-%COMP%]   .comment-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:20px!important}.tab-content[_ngcontent-%COMP%]   .tab-comment[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .tab-content[_ngcontent-%COMP%]   .tab-comment[_ngcontent-%COMP%]   .username[_ngcontent-%COMP%]{font-size:16px}.tab-comment[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{height:30px;width:30px;border-radius:50%;border:2px solid #3EA6DF;margin-right:20px;overflow:hidden;vertical-align:middle}.http-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;margin:0 auto 50px}.tab-comment[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:100%}.collapse.show[_ngcontent-%COMP%]{display:block!important}.character-count[_ngcontent-%COMP%]{margin-bottom:15px;opacity:.5;font-size:12px;line-height:12px;margin-top:-10px;text-align:right;display:block}.content-loader[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center}.http-content[_ngcontent-%COMP%]{margin-top:15%}.http-content[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:#395469;font-weight:300;font-size:20px}.content[_ngcontent-%COMP%]{width:100%;height:700px;max-height:calc(100vh - 120px);border-radius:4px}panel[_ngcontent-%COMP%]     .container.panel{position:relative;z-index:2;margin-top:-100vh}  .container.panel .lateral-panel{background:#e3e8ea}.is-own[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:0;height:0;border-left:50px solid #ca0045;border-top:0px solid transparent;border-bottom:50px solid transparent;display:flex;align-items:center;justify-content:center}.section-panel[_ngcontent-%COMP%]{width:100%;height:40px;
1display:flex;align-items:center;justify-content:center}.item-set[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;align-items:center;justify-content:flex-start}.section-author[_ngcontent-%COMP%]{width:100%;height:30px;display:flex;align-items:center;justify-content:flex-start}.section-platform[_ngcontent-%COMP%]{width:100%;height:50px;font-size:12px;display:flex;align-items:center;color:#6a838d}.resource-detail[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:12px!important;color:#0f3e4d}.icon-favorite[_ngcontent-%COMP%]{font-size:32px;position:absolute;top:3px;right:50px;color:#0f3e4d;cursor:pointer}.icon-favorite.add[_ngcontent-%COMP%]{color:#f8e12e}.btn-new-tan[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin:0 auto 35px}.lateral-left-footer[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.container[_ngcontent-%COMP%]{height:calc(100vh - 120px);display:flex;justify-content:center}.no-border[_ngcontent-%COMP%]{border:none}.main-container[_ngcontent-%COMP%]{border:none;background:transparent}.button-container[_ngcontent-%COMP%]{width:90%;display:flex;align-items:center;justify-content:space-evenly}.d-flex[_ngcontent-%COMP%]{flex-direction:row-reverse}.lateral-left-body[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-weight:700;margin-bottom:25px}.img-thumb[_ngcontent-%COMP%]{width:28px;height:28px;border:1px solid #99B1B7;border-radius:50%}"]})}}return e})();l();var Zt="navigate_after_login",Nt=(()=>{class e{constructor(){this._localStorage=f(ft),this._authService=f(_t),this._platform=f(k),this._router=f(T),this._store=f(gt)}canActivate(t,n){let o=t.data.redirectTo||"/auth/login",i=t.data.profileTypes;return this._authService.ping().pipe(H(d=>E(!0).pipe(R(u=>this._store.dispatch(G.initial())),R(u=>this._store.dispatch(G.loadModule())))),$(d=>(this._platform.isBrowser&&d?.status===401&&this._authService.getAccessToken()&&this._authService.logout(),this._localStorage.setItem(Zt,n.url),this._router.navigate([o],{queryParamsHandling:"preserve"}),E(!1))))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=K({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var te=[{path:"",redirectTo:"groups",pathMatch:"full"},{path:"",component:Vt,canActivate:[Nt],data:{profileTypes:[N.Student,N.Parent]},children:[{path:"",redirectTo:"news",pathMatch:"full"},{path:"news",loadChildren:()=>import("./chunk-XA32FM2Y.js").then(e=>e.AnnouncementsModule),resolve:{groupId:"groupIdResolver"}},{path:"binnacle",loadChildren:()=>import("./chunk-QHOSECXC.js").then(e=>e.BinnacleModule),resolve:{student:q},runGuardsAndResolvers:"paramsOrQueryParamsChange"}]}],Gt=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=b({type:e})}static{this.\u0275inj=h({providers:[q,{provide:"groupIdResolver",useValue:(t,n)=>t.parent.params.id}],imports:[V.forChild(te),V]})}}return e})();var cn=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=b({type:e})}static{this.\u0275inj=h({imports:[ct,Gt,Et,At,wt,Mt,xt,Ot,vt,dt.forFeature(jt,It),ut.forFeature([zt])]})}}return e})();export{cn as ObservatorModule};

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.