PageSourceSearch

https://ekipa-next.web.app/common.874439d2de9ce477.js

js ekipa-next.web.app collected 2026-10-03 12:22:04 UTC 15,367 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkplatform=self.webpackChunkplatform||[]).push([[592],{9913:(C,T,n)=>{n.d(T,{J:()=>M});var t=n(9521),e=n(4650),o=n(4006),d=n(4809),r=n(4004),c=n(6895),_=n(9549),s=n(7331),h=n(3238),f=n(7957),v=n(7392),E=n(430);const Z=["skillInput"];function y(l,a){1&l&&(e.TgZ(0,"label",13),e._uU(1),e.ALo(2,"transloco"),e.qZA()),2&l&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"teamSettings.teamName")," * "))}function b(l,a){if(1&l&&(e.TgZ(0,"label",13),e._uU(1),e.qZA()),2&l){const i=e.oxw();e.xp6(1),e.Oqu(i.challenge.entity_name)}}function O(l,a){1&l&&(e.TgZ(0,"p",14),e._uU(1),e.ALo(2,"transloco"),e.qZA()),2&l&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"createTeam.nameError")," "))}function m(l,a){1&l&&(e.TgZ(0,"p",15),e._uU(1),e.ALo(2,"transloco"),e.qZA()),2&l&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"createTeam.descriptionHelperText")," "))}function p(l,a){if(1&l&&(e.TgZ(0,"p",16),e._uU(1),e.qZA()),2&l){const i=e.oxw();e.xp6(1),e.hij(" ",i.challenge.entity_description_helper," ")}}function u(l,a){1&l&&(e.TgZ(0,"mat-icon",27),e._uU(1,"cancel"),e.qZA())}function A(l,a){if(1&l){const i=e.EpF();e.TgZ(0,"mat-chip",25),e.NdJ("removed",function(){const I=e.CHM(i).$implicit,k=e.oxw(2);return e.KtG(k.remove(I))}),e._uU(1),e.YNc(2,u,2,0,"mat-icon",26),e.qZA()}if(2&l){const i=a.$implicit,g=e.oxw(2);e.Q6J("selectable",g.selectable)("removable",g.removable),e.xp6(1),e.hij(" ",i," "),e.xp6(1),e.Q6J("ngIf",g.removable)}}function D(l,a){if(1&l&&(e.TgZ(0,"mat-option",28),e._uU(1),e.qZA()),2&l){const i=a.$implicit;e.Q6J("value",i),e.xp6(1),e.hij(" ",i," ")}}function P(l,a){if(1&l){const i=e.EpF();e.TgZ(0,"div",5)(1,"label",6),e._uU(2),e.ALo(3,"transloco"),e.qZA(),e.TgZ(4,"p",16),e._uU(5),e.ALo(6,"transloco"),e.qZA(),e.TgZ(7,"mat-form-field",17)(8,"mat-label"),e._uU(9),e.ALo(10,"transloco"),e.qZA(),e.TgZ(11,"mat-chip-list",null,18),e.YNc(13,A,3,4,"mat-chip",19),e.TgZ(14,"input",20,21),e.NdJ("matChipInputTokenEnd",function(x){e.CHM(i);const I=e.oxw();return e.KtG(I.add(x))}),e.ALo(16,"transloco"),e.qZA()()(),e.TgZ(17,"mat-autocomplete",22,23),e.NdJ("optionSelected",function(x){e.CHM(i);const I=e.oxw();return e.KtG(I.selected(x))}),e.YNc(19,D,2,2,"mat-option",24),e.ALo(20,"async"),e.qZA()()}if(2&l){const i=e.MAs(12),g=e.MAs(18),x=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,11,"createTeam.needs")),e.xp6(3),e.hij(" ",e.lcZ(6,13,"createTeam.needsDescription")," "),e.xp6(4),e.Oqu(e.lcZ(10,15,"createTeam.skills")),e.xp6(4),e.Q6J("ngForOf",x.skills.value),e.xp6(1),e.s9C("placeholder",e.lcZ(16,17,"createTeam.otherSkills")),e.Q6J("formControl",x.skillInputCtrl)("matAutocomplete",g)("matChipInputFor",i)("matChipInputSeparatorKeyCodes",x.separatorKeysCodes)("matChipInputAddOnBlur",!g.isOpen),e.xp6(5),e.Q6J("ngForOf",e.lcZ(20,19,x.filteredSkills$))}}const U=[[["","alternateButtons",""]],[["","submitButtonText",""]]];class M{constructor(a){this.formBuilder=a,this.submitted=new e.vpe,this.form=this.formBuilder.group({name:["",o.kI.required],description:[""],skills:new o.p4([])}),this.skillInputCtrl=new o.p4(""),this.allSkills=d.JL,this.visible=!0,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[t.K5,t.OC]}get skills(){return this.form.get("skills")}ngOnInit(){if(this.filteredSkills$=this.skillInputCtrl.valueChanges.pipe((0,r.U)(a=>a?this._filter(a):this.allSkills.slice())),this.team){console.log(this.form.getRawValue());const{data:a}=this.team;this.form.get("name").setValue(this.team.name||""),this.form.get("description").setValue(a.description||""),this.form.get("skills").setValue(a.skills||[]),console.log(this.form.getRawValue())}}add(a){const i=a.chipInput.inputElement,g=a.value;(g||"").trim()&&(this.skills.value.push(g.trim()),this.skills.updateValueAndValidity()),i&&(i.value=""),this.skillInputCtrl.setValue(null),this.form.markAsDirty()}remove(a){const i=this.skills.value.indexOf(a);i>=0&&this.skills.value.splice(i,1),this.form.markAsDirty()}selected(a){this.skillInputCtrl.setValue(null),this.skillInput.nativeElement.value="",this.skills.value.push(a.option.viewValue),this.skills.updateValueAndValidity()}_filter(a){const i=a.toLowerCase();return this.allSkills.filter(g=>0===g.toLowerCase().indexOf(i))}onSubmit(){this.submitted.emit(this.form.value),this.form.markAsPristine(),console.warn(this.form.value)}}M.\u0275fac=function(a){return new(a||M)(e.Y36(o.QS))},M.\u0275cmp=e.Xpm({type:M,selectors:[["ekipa-team-edit"]],viewQuery:function(a,i){if(1&a&&e.Gf(Z,5),2&a){let g;e.iGM(g=e.CRH())&&(i.skillInput=g.first)}},inputs:{challenge:"challenge",team:"team"},outputs:{submitted:"submitted"},ngContentSelectors:["[alternateButtons]","[submitButtonText]"],decls:20,vars:14,consts:[[3,"formGroup","ngSubmit"],["class","font-semibold",4,"ngIf","ngIfElse"],["name",""],["formControlName","name","type","text",1,"w-full","mt-3","form-input"],["class","text-base text-gray-500 animate-fade-in-top",4,"ngIf"],[1,"mt-8"],[1,"block","mb-2","font-semibold"],["class","mb-2 text-sm text-gray-800",4,"ngIf","ngIfElse"],["desc",""],["formControlName","description",1,"w-full","h-40","form-textarea",3,"placeholder"],["class","mt-8",4,"ngIf"],[1,"flex","justify-end"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"font-semibold"],[1,"text-base","text-gray-500","animate-fade-in-top"],[1,"mb-2","text-sm","text-gray-800"],[1,"mb-0","text-sm","text-gray-800"],["appearance","outline",1,"w-full"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],[3,"placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],["skillInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(a,i){if(1&a&&(e.F$t(U),e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(1,y,3,3,"label",1),e.YNc(2,b,2,1,"ng-template",null,2,e.W1O),e._UZ(4,"input",3),e.YNc(5,O,3,3,"p",4),e.TgZ(6,"div",5)(7,"label",6),e._uU(8),e.ALo(9,"transloco"),e.qZA(),e.YNc(10,m,3,3,"p",7),e.YNc(11,p,2,1,"ng-template",null,8,e.W1O),e._UZ(13,"textarea",9),e.ALo(14,"transloco"),e.qZA(),e.YNc(15,P,21,21,"div",10),e.TgZ(16,"div",11),e.Hsn(17),e.TgZ(18,"button",12),e.Hsn(19,1),e.qZA()()()),2&a){const g=e.MAs(3),x=e.MAs(12);e.Q6J("formGroup",i.form),e.xp6(1),e.Q6J("ngIf",null===i.challenge.entity_name)("ngIfElse",g),e.xp6(4),e.Q6J("ngIf",!i.form.get("name").valid&&i.form.get("name").touched),e.xp6(3),e.Oqu(e.l
1cZ(9,10,"createTeam.description")),e.xp6(2),e.Q6J("ngIf",null===i.challenge.entity_description_helper)("ngIfElse",x),e.xp6(3),e.s9C("placeholder",e.lcZ(14,12,"createTeam.teamProjectDescription")),e.xp6(2),e.Q6J("ngIf","true"===i.challenge.skills_input_on_create_team),e.xp6(3),e.Q6J("disabled",!i.form.valid||i.form.pristine)}},dependencies:[c.sg,c.O5,o._Y,o.Fj,o.JJ,o.JL,o.oH,o.sg,o.u,_.KE,_.hX,s.qn,s.HS,s.oH,s.qH,h.ey,f.XC,f.ZL,v.Hw,c.Ov,E.Ot],encapsulation:2})},9679:(C,T,n)=>{n.d(T,{c:()=>f});var t=n(6895),e=n(4006),o=n(7957),d=n(7331),r=n(3238),c=n(9549),_=n(7392),s=n(430),h=n(4650);class f{}f.\u0275fac=function(E){return new(E||f)},f.\u0275mod=h.oAB({type:f}),f.\u0275inj=h.cJS({imports:[t.ez,e.u5,e.UX,s.y4,c.lN,d.Hi,r.Ng,o.Bb,_.Ps]})},3452:(C,T,n)=>{n.d(T,{m:()=>e});var t=n(4650);class e{}e.\u0275fac=function(d){return new(d||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["ekipa-empty-list"]],inputs:{title:"title",subTitle:"subTitle"},decls:9,vars:2,consts:[[1,"text-center","px-6","py-4","text-gray-400","bg-gray-100","rounded-md"],[1,"py-8"],[1,"mb-4"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20",1,"inline-block","fill-current","text-grey","h-16","w-16"],["d","M11.933 13.069s7.059-5.094 6.276-10.924a.465.465 0 0 0-.112-.268.436.436 0 0 0-.263-.115C12.137.961 7.16 8.184 7.16 8.184c-4.318-.517-4.004.344-5.974 5.076-.377.902.234 1.213.904.959l2.148-.811 2.59 2.648-.793 2.199c-.248.686.055 1.311.938.926 4.624-2.016 5.466-1.694 4.96-6.112zm1.009-5.916a1.594 1.594 0 0 1 0-2.217 1.509 1.509 0 0 1 2.166 0 1.594 1.594 0 0 1 0 2.217 1.509 1.509 0 0 1-2.166 0z"],[1,"text-2xl","text-grey-darker","font-medium","mb-4"],[1,"text-grey","max-w-xs","mx-auto","mb-6"]],template:function(d,r){1&d&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t.O4$(),t.TgZ(3,"svg",3),t._UZ(4,"path",4),t.qZA()(),t.kcU(),t.TgZ(5,"p",5),t._uU(6),t.qZA(),t.TgZ(7,"p",6),t._uU(8),t.qZA()()()),2&d&&(t.xp6(6),t.Oqu(r.title),t.xp6(2),t.Oqu(r.subTitle))},encapsulation:2})},2636:(C,T,n)=>{n.d(T,{l:()=>r});var t=n(4650),e=n(6895);function o(c,_){if(1&c&&(t.TgZ(0,"div",4)(1,"div",5)(2,"div"),t.O4$(),t.TgZ(3,"svg",6),t._UZ(4,"path",7),t.qZA()(),t.kcU(),t.TgZ(5,"a",8),t._uU(6),t.qZA()()()),2&c){const s=_.$implicit;t.xp6(5),t.Q6J("href",s.download_url,t.LSH),t.xp6(1),t.Oqu(s.name)}}function d(c,_){if(1&c&&(t.ynx(0),t.TgZ(1,"p",2),t._uU(2),t.ALo(3,"date"),t.qZA(),t.YNc(4,o,7,2,"div",3),t.BQk()),2&c){const s=t.oxw();t.xp6(2),t.hij("Uploaded on ",t.xi3(3,2,s.submittedAt,"medium"),""),t.xp6(2),t.Q6J("ngForOf",s.files)}}
1class r{constructor(){}ngOnInit(){}}r.\u0275fac=function(_){return new(_||r)},r.\u0275cmp=t.Xpm({type:r,selectors:[["ekipa-submitted-files"]],inputs:{files:"files",submittedAt:"submittedAt"},decls:3,vars:2,consts:[[1,"text-md","font-extrabold","title-font","text-gray-700","mt-8"],[4,"ngIf"],[1,"text-gray-500","text-sm"],["class","mt-8",4,"ngFor","ngForOf"],[1,"mt-8"],[1,"flex","items-center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"h-5","w-5","mr-2"],["fillRule","evenodd","d","M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clipRule","evenodd"],["target","_blank",1,"break-words","min-w-0","hover:underline",3,"href"]],template:function(_,s){1&_&&(t.TgZ(0,"h2",0),t._uU(1),t.qZA(),t.YNc(2,d,5,5,"ng-container",1)),2&_&&(t.xp6(1),t.hij(" Submitted files (",(null==s.files?null:s.files.length)||0,")\n"),t.xp6(1),t.Q6J("ngIf",s.files))},dependencies:[e.sg,e.O5,e.uU],encapsulation:2})},1645:(C,T,n)=>{n.d(T,{Q:()=>o});var t=n(4650);class o{}o.\u0275fac=function(r){return new(r||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["ekipa-tab-group"]],ngContentSelectors:["*"],decls:3,vars:0,consts:[[1,"border-b","border-gray-300","mb-4"],[1,"flex","flex-nowrap","overflow-auto","-mb-px"]],template:function(r,c){1&r&&(t.F$t(),t.TgZ(0,"div",0)(1,"ul",1),t.Hsn(2),t.qZA()())},encapsulation:2})},3845:(C,T,n)=>{n.d(T,{D:()=>s});var t=n(4650),e=n(6895),o=n(9132);const d=[[["","svg",""]],"*"],r=function(h){return{"border-b-2 border-primary py-4 my-0 hover:bg-transparent hover:rounded-none":h}},c=function(h){return{"hidden md:block":h}};class s{constructor(){this.hideTextOnMobile=!0}}s.\u0275fac=function(f){return new(f||s)},s.\u0275cmp=t.Xpm({type:s,selectors:[["ekipa-tab-item"]],inputs:{routeTo:"routeTo",isActive:"isActive",hideTextOnMobile:"hideTextOnMobile"},ngContentSelectors:["[svg]","*"],decls:6,vars:7,consts:[["routerLinkActive","",1,"mr-2",3,"routerLink"],["rla","routerLinkActive"],[1,"flex","items-center","gap-2","cursor-pointer","text-gray-800","hover:bg-gray-200","hover:rounded-lg","rounded-t-lg","py-2","px-4","my-2","text-sm","font-medium","text-center",3,"ngClass"],[1,"whitespace-no-wrap","block",3,"ngClass"]],template:function(f,v){if(1&f&&(t.F$t(d),t.TgZ(0,"li",0,1)(2,"div",2),t.Hsn(3),t.TgZ(4,"div",3),t.Hsn(5,1),t.qZA()()()),2&f){const E=t.MAs(1);t.Q6J("routerLink",v.routeTo?v.routeTo:null),t.xp6(2),t.Q6J("ngClass",t.VKq(3,r,void 0===v.isActive?E.isActive:v.isActive)),t.xp6(2),t.Q6J("ngClass",t.VKq(5,c,v.hideTextOnMobile))}},dependencies:[e.mk,o.rH,o.Od],encapsulation:2})},8441:(C,T,n)=>{n.d(T,{R:()=>o});var t=n(4650),e=n(4006);class o{constructor(){this.send=new t.vpe}onSend(){this.message.length&&(this.send.emit(this.message),this.message="")}}o.\u0275fac=function(r){return new(r||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["ekipa-message-input"]],outputs:{send:"send"},decls:7,vars:1,consts:[[1,"flex","flex-row","items-center"],[1,"w-full"],["type","text","placeholder","Type your message....",1,"border","border-transparent","w-full","focus:outline-none","text-sm","h-10","flex","items-center",3,"ngModel","ngModelChange","keyup.enter"],[1,"ml-6"],[1,"flex","items-center","justify-center","h-10","w-10","rounded-full","bg-gray-200","hover:bg-gray-300","text-white",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-5","h-5","transform","rotate-90","-mr-px"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 19l9 2-9-18-9 18 9-2zm0 0v-8"]],template:function(r,c){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"input",2),t.NdJ("ngModelChange",function(s){return c.message=s})("keyup.enter",function(){return c.onSend()}),t.qZA()(),t.TgZ(3,"div",3)(4,"button",4),t.NdJ("click",function(){return c.onSend()}),t.O4$(),t.TgZ(5,"svg",5),t._UZ(6,"path",6),t.qZA()()()()),2&r&&(t.xp6(2),t.Q6J("ngModel",c.message))},dependencies:[e.Fj,e.JJ,e.On],encapsulation:2})},8925:(C,T,n)=>{n.d(T,{U:()=>O});var t=n(4650),e=n(6895),o=n(1682),d=n(8771),r=n(2515),c=n(7391);class _{constructor(p){this.browserLocale=p,this.browserLocale.includes("de")?this.locale=r.Z:this.locale=c.Z}transform(p){let u;if(p){const A=new Date(p);A&&function s(m){return"number"==typeof m.getTime()}(A)&&(u=(0,d.Z)(A,{locale:this.locale,addSuffix:!0}))}return u||p}}function h(m,p){1&m&&t.GkF(0)}function f(m,p){if(1&m&&(t.ynx(0),t.YNc(1,h,1,0,"ng-container",6),t.BQk()),2&m){t.oxw();const u=t.MAs(11);
1t.xp6(1),t.Q6J("ngTemplateOutlet",u)}}function v(m,p){1&m&&t.GkF(0)}function E(m,p){if(1&m&&(t.ynx(0),t.YNc(1,v,1,0,"ng-container",6),t.BQk()),2&m){t.oxw();const u=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet",u)}}function Z(m,p){if(1&m&&t._UZ(0,"ekipa-avatar",7),2&m){const u=t.oxw();t.Q6J("name",u.sender.displayName)("src",u.sender.photoUrl)("profileId",u.sender.profileId)("size","sm")}}_.\u0275fac=function(p){return new(p||_)(t.Y36(t.soG,16))},_.\u0275pipe=t.Yjl({name:"distanceInWords",type:_,pure:!1});const y=function(m){return{"ml-auto justify-end":m}},b=function(m,p){return{"rounded-l-lg rounded-br-lg":m,"rounded-r-lg rounded-bl-lg":p}};class O{constructor(){this.direction="incoming"}}O.\u0275fac=function(p){return new(p||O)},O.\u0275cmp=t.Xpm({type:O,selectors:[["ekipa-text-message"]],inputs:{message:"message",sender:"sender",direction:"direction"},decls:12,vars:13,consts:[[1,"flex","w-full","mt-2","space-x-3","max-w-md","gap-2",3,"ngClass"],[4,"ngIf"],[1,"py-2","px-3","shadow","bg-white",3,"ngClass"],[1,"text-sm"],[1,"text-xs","text-gray-500","leading-none"],["avatar",""],[4,"ngTemplateOutlet"],[3,"name","src","profileId","size"]],template:function(p,u){1&p&&(t.TgZ(0,"div",0),t.YNc(1,f,2,1,"ng-container",1),t.TgZ(2,"div")(3,"div",2)(4,"p",3),t._uU(5),t.qZA()(),t.TgZ(6,"span",4),t._uU(7),t.ALo(8,"distanceInWords"),t.qZA()(),t.YNc(9,E,2,1,"ng-container",1),t.qZA(),t.YNc(10,Z,1,4,"ng-template",null,5,t.W1O)),2&p&&(t.Q6J("ngClass",t.VKq(8,y,"outgoing"===u.direction)),t.xp6(1),t.Q6J("ngIf","incoming"===u.direction),t.xp6(2),t.Q6J("ngClass",t.WLB(10,b,"outgoing"===u.direction,"incoming"===u.direction)),t.xp6(2),t.Oqu(u.message.content),t.xp6(2),t.Oqu(t.lcZ(8,6,u.message.created_at)),t.xp6(2),t.Q6J("ngIf","outgoing"===u.direction))},dependencies:[e.mk,e.O5,e.tP,o.A,_],encapsulation:2})}}]);

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.