1import{a as dt,b as mt}from"./chunk-I6QXM5YW.js";import{a as gt,b as ut}from"./chunk-YIGTYTW6.js";import"./chunk-736FIYTD.js";import"./chunk-YSC4BQ2I.js";import{a as x}from"./chunk-UXUM5FMD.js";import{a as pt}from"./chunk-HNTRNVU4.js";import{a as ct}from"./chunk-XERGKIMH.js";import"./chunk-OZDBYRUO.js";import"./chunk-O76SMYOH.js";import"./chunk-GIGYDHE3.js";import"./chunk-NE3PN4AS.js";import"./chunk-WW5GLLTQ.js";import"./chunk-YAUOUXC2.js";import"./chunk-DVE7AG4H.js";import"./chunk-4SQT4PHJ.js";import"./chunk-AHK22FXR.js";import"./chunk-4BRIACKQ.js";import"./chunk-RAM2ZLUX.js";import"./chunk-ZBRXLKJX.js";import"./chunk-XQTT574X.js";import"./chunk-TQ4FIG6V.js";import"./chunk-D7UMYMCY.js";import"./chunk-PLD37K76.js";import"./chunk-RO3APBKW.js";import"./chunk-SIBM7MQL.js";import"./chunk-H372D66O.js";import"./chunk-6Z3JPFEM.js";import"./chunk-LX46PNF4.js";import"./chunk-G2LZSWFE.js";import"./chunk-ESDWQW6R.js";import"./chunk-ZRRI7265.js";import"./chunk-PGWVIFI7.js";import"./chunk-E66GKE4J.js";import{a as rt}from"./chunk-VDHMNIPW.js";import"./chunk-ZIPUIG2E.js";import"./chunk-LS62P27S.js";import"./chunk-COB7JTXP.js";import"./chunk-B7MEV2DH.js";import{g as st}from"./chunk-R547OJ2B.js";import"./chunk-G6XYTQMQ.js";import"./chunk-FV7ZM2WZ.js";import"./chunk-U6SSASD4.js";import"./chunk-PCX2ON3C.js";import"./chunk-YPA744ND.js";import"./chunk-KMBGIYKO.js";import"./chunk-3EZYHQEX.js";import"./chunk-HANTXM7F.js";import"./chunk-BQMWDA4F.js";import"./chunk-MWF46UZK.js";import"./chunk-LHRVPUQV.js";import"./chunk-F4R2GYYO.js";import"./chunk-WWXUYJVP.js";import"./chunk-IJLCOAZF.js";import"./chunk-253O5CTU.js";import"./chunk-UOTKKO3D.js";import"./chunk-5DFMJBW7.js";import"./chunk-UVSINPPM.js";import"./chunk-OMXQI42V.js";import"./chunk-3D6MWCMT.js";import"./chunk-3PMZJSMT.js";import"./chunk-EAMPIGF2.js";import"./chunk-EWMPMGKE.js";import"./chunk-7NLDXUER.js";import"./chunk-KYDX7PLZ.js";import"./chunk-7XKLRHXH.js";import"./chunk-VHIBGIIM.js";import"./chunk-WMQEI62T.js";import"./chunk-5RW73NUF.js";import"./chunk-GZSWBVH3.js";import"./chunk-M6FECGVJ.js";import"./chunk-BAV7CPFJ.js";import"./chunk-3BRPUZ4I.js";import"./chunk-3RK6DDJD.js";import"./chunk-GJ6IWQ3Q.js";import"./chunk-TJFKCIBN.js";import"./chunk-V6IYXEWC.js";import"./chunk-B3PI2Z3Z.js";import"./chunk-MSUEAKA3.js";import"./chunk-GAS7A3L4.js";import"./chunk-M3EMDAFZ.js";import{a as at,b as lt}from"./chunk-UKCZCKF3.js";import"./chunk-NJY6F3LT.js";import"./chunk-NYVKXIEZ.js";import"./chunk-DCKGCHBL.js";import"./chunk-GHXZGKMT.js";import"./chunk-GQBR7ALB.js";import"./chunk-V3LPMSAU.js";import"./chunk-57P7T2RM.js";import"./chunk-7RWCIHFI.js";import"./chunk-TZPNXZD6.js";import"./chunk-FO7KVHCD.js";import"./chunk-DTHTIZ5C.js";import"./chunk-DLBWLLE6.js";import"./chunk-YAUIJJXG.js";import{a as et}from"./chunk-NKG7VJI6.js";import"./chunk-SM333LUT.js";import"./chunk-GGQDMCFC.js";import"./chunk-KZOGQMYZ.js";import"./chunk-TWZBNSN4.js";import"./chunk-55MTUKAX.js";import"./chunk-2HJPFN3S.js";import"./chunk-HIEQIAO6.js";import"./chunk-WEDN5HGH.js";import"./chunk-BYHBQABE.js";import"./chunk-6UAWTFFZ.js";import"./chunk-XWGGXTBH.js";import"./chunk-GWP52JAF.js";import"./chunk-SBK5GHAF.js";import"./chunk-FPPRR53P.js";import"./chunk-3UVVCPIT.js";import{a as nt}from"./chunk-HNY54GY7.js";import"./chunk-WAF2UKPS.js";import"./chunk-R3QRL77R.js";import"./chunk-G2NZI5V3.js";import{h as $}from"./chunk-62DYWMYT.js";import"./chunk-NTCDGAR3.js";import"./chunk-UMK6AGIS.js";import"./chunk-PBAOXUCO.js";import"./chunk-7UZYWCAJ.js";import"./chunk-RIQOBMUM.js";import{j as J,l as K,m as Q,o as I}from"./chunk-WX25E2HZ.js";import"./chunk-I5K7UUBW.js";import"./chunk-6BAE5M2B.js";import{a as it,b as ot}from"./chunk-GPTXSPLI.js";import"./chunk-WSF7ZPQZ.js";import"./chunk-7KBFIBUW.js";import"./chunk-JYXQ74JV.js";import"./chunk-7A7LFYDL.js";import"./chunk-IQBBAARC.js";import"./chunk-CWWNL6ZE.js";import"./chunk-FSAIB72R.js";import"./chunk-X474JN3X.js";import{b as tt}from"./chunk-OLSNRRTA.js";import{j as Z}from"./chunk-GJNXMHJK.js";import"./chunk-ROYL3S4H.js";import"./chunk-XWMJJGBF.js";import{a as X}from"./chunk-5G7452JJ.js";
1import"./chunk-O6NNHBDA.js";import"./chunk-VK3ZU6WP.js";import{D as H,F as Y,G as q,p as N,t as G}from"./chunk-BRHCVEVW.js";import{$d as U,Ga as b,Ld as f,Me as S,Ob as o,Oc as i,Pc as a,Qa as k,Qc as l,Qd as z,Ra as L,Rc as m,Sd as r,Td as W,Vc as A,Wc as V,Zc as E,ac as g,ae as P,be as j,de as T,ed as F,ge as B,hc as R,hd as p,ic as M,mc as u,me as D,rd as O,wd as d,yd as v}from"./chunk-7DV7UWC6.js";import"./chunk-XS7UEPGF.js";import"./chunk-IP4IO47A.js";S();S();var yt=t=>({"background-image":t}),bt=()=>({maxWidth:3e3,width:3e3,height:600}),Mt=()=>({maxWidth:1920,width:1920,height:600}),Ot=()=>({maxWidth:1600,width:1600,height:600}),Pt=()=>({maxWidth:1536,width:1536,height:600}),St=()=>({maxWidth:1440,width:1440,height:600}),It=()=>({maxWidth:1366,width:1366,height:600}),kt=()=>({maxWidth:1280,width:1280,height:600}),Lt=()=>({maxWidth:1024,width:1024,height:600}),Rt=()=>({maxWidth:980,width:980,height:600}),At=()=>({maxWidth:768,width:768,height:600}),Vt=()=>({maxWidth:800,width:800,height:600}),Et=()=>({maxWidth:720,width:720,height:600}),Ft=()=>({maxWidth:520,width:520,height:600}),zt=()=>({maxWidth:375,width:375,height:300}),Wt=()=>({maxWidth:320,width:320,height:300}),Ut=(t,s,n,e,c,_,h,w,C,y,vt,ht,ft,xt,wt)=>[t,s,n,e,c,_,h,w,C,y,vt,ht,ft,xt,wt];function jt(t,s){if(t&1&&(a(0,"div",20),m(1,"img",21),l()),t&2){let n=p(3);i("routerLink",f("/",n.organisation==null?null:n.organisation.public_url)),o(),i("alt",n.organisation==null?null:n.organisation.name)}}function Tt(t,s){if(t&1&&(a(0,"div",22),m(1,"div",23)(2,"d2c-img",24,1),l()),t&2){let n=O(3),e=p(3);i("routerLink",f("/",e.organisation==null?null:e.organisation.public_url)),o(),i("ngStyle",n.url&&W(9,yt,"url("+n.url+")")),o(),i("isLazy",!0)("classString","banner-responsive")("responsive",U(26,Ut,[r(11,bt),r(12,Mt),r(13,Ot),r(14,Pt),r(15,St),r(16,It),r(17,kt),r(18,Lt),r(19,Rt),r(20,At),r(21,Vt),r(22,Et),r(23,Ft),r(24,zt),r(25,Wt)]))("filename",e.organisation==null||e.organisation.banner==null?null:e.organisation.banner.path)("lazyLoad",!1)("alt",e.organisation==null?null:e.organisation.name)}}function Bt(t,s){if(t&1&&(A(0),u(1,jt,2,3,"div",18)(2,Tt,4,42,"div",19),V()),t&2){let n=p(2);o(),i("ngIf",!n.organisation.banner),o(),i("ngIf",n.organisation.banner)}}function Dt(t,s){if(t&1&&(a(0,"div",26),m(1,"app-youtube-player",27),l()),t&2){let n=p(3);o(),i("videoId",n.organisation.video==null?null:n.organisation.video.yt_video_id)}}function Nt(t,s){if(t&1&&u(0,Dt,2,1,"div",25),t&2){let n=p(2);i("ngIf",(n.organisation.video==null?null:n.organisation.video.video_source)=="youtube"&&(n.organisation.video==null?null:n.organisation.video.yt_video_id))}}function Gt(t,s){if(t&1&&(a(0,"p"),d(1),l()),t&2){let n=p(2);o(),v(" ",n.topStats==null?null:n.topStats.industry," ")}}function Ht(t,s){if(t&1&&(a(0,"span")(1,"em",17),d(2,"star"),l(),d(3),P(4,"number"),P(5,"slice"),l()),t&2){let n=p(3);o(3),v(" ",T(5,3,j(4,1,n.organisation==null?null:n.organisation.avg_rating),0,3)," ")}}function Yt(t,s){t&1&&m(0,"un-icon",32),t&2&&i("icon","pagelink_arrow.svg")("size",20)}function qt(t,s){if(t&1){let n=E();a(0,"span",30),F("click",function(){k(n);let c=p(3);return L(c.openExternalLink(c.organisation.website))}),d(1),u(2,Yt,1,2,"un-icon",31),l()}if(t&2){let n=p(3);o(),v(" ",n.organisation==null?null:n.organisation.website," "),o(),i("ngIf",n.viewport()!="mobile")}}function Jt(t,s){if(t&1&&(a(0,"div",28),u(1,Ht,6,7,"span",12)(2,qt,3,2,"span",29),l()),t&2){let n=p(2);o(),i("ngIf",n.organisation==null?null:n.organisation.avg_rating),o(),i("ngIf",n.organisation==null?null:n.organisation.website)}}function Kt(t,s){if(t&1&&(a(0,"div",4),u(1,Bt,3,2,"ng-container",5)(2,Nt,1,1,"ng-template",null,0,B),a(4,"div",6)(5,"div",7)(6,"div",8),m(7,"d2c-img",9),l(),a(8,"div",10)(9,"h1"),d(10),a(11,"span",11),d(12),l()(),u(13,Gt,2,1,"p",12)(14,Jt,3,2,"div",13),l()()(),a(15,"section")(16,"div",7),m(17,"app-organisation-review-list",14),a(18,"div",15)(19,"span",16)(20,"em",17),d(21,"arrow_back"),l(),d(22," Back to Organisation Page "),l()()()()()),t&2){let n=O(3),e=p();o(),i("ngIf",(e.organisation==null?null:e.organisation.video)==null||(e.organisation==null||e.organisation.video==null?null:e.organisation.video.yt_video_id)==null)("ngIfElse",n),o(3),i("routerLink",f("/",e.organisation==null?null:e.organisation.public_url)),o(3),i("url",e.organisation.logoUrl2+"?d=120x120")("fallBackUrl",e.organisation.logoUrl)("alt",e.organisation.name)("setAttribute",!0),o(3),v(" ",e.organisation.name," "),o(2),v(" | ",e.organisation==null?null:e.organisation.id),o(),i("ngIf",e.topStats==null?null:e.topStats.industry),o(),i("ngIf",(e.organisation==null?null:e.organisation.avg_rating)||(e.organisation==null?null:e.organisation.website)),o(3),i("org_id",e.organisation==null?null:e.organisation.id)("user_id",e.currentUser==null?null:e.currentUser.id)("isAdmin",e.isAdmin)("userLoggedIn",e.userLoggedIn)("paginationShow",!1)("viewAllButton",!1)("organisation",e.organisation),o(2),i("routerLink",f("/",e.organisation==null?null:e.organisation.public_url))}}function Qt(t,s){t&1&&m(0,"app-organisations-loading-grid",33),t&2&&i("type","orgLoading")}var _t=(()=>{class t{constructor(n,e,c,_,h,w,C,y){this.organisationService=n,this.store=e,this.localStorageService=c,this.route=_,this.router=h,this.helper=w,this.viewportService=C,this.menubarService=y,this.userLoggedIn=!1,this.viewport=D(()=>this.viewportService.viewport())}openExternalLink(n){this.helper.openExternalLink(n)}ngOnInit(){this.menubarService.showCustomDesignBack("loading"),this.getCurrentUser(),this.route.params.subscribe(n=>{if(n.url){console.log(n.url);let c=n.url.split("-"),_=c[c.length-1];isNaN(+_)?this.router.navigateByUrl("/page-not-found"):(this.id=_,this.organisationService.organisationWithCompetitions(this.id).subscribe(h=>{this.organisation=h.data,this.menubarService.showCustomDesignBack(this.organisation?.name)}))}})}ngOnDestroy(){this.menubarService.showCustomDesignBack("")}getCurrentUser(){this.store.select(tt).subscribe(n=>{this.userLoggedIn=n,this.userLoggedIn&&this.localStorageService.getEncItem("currentUser")&&(this.currentUser=this.localStorageService.getEncItem("currentUser"),this.isAdmin=!1,this.currentUser.userRole&&this.currentUser.userRole.length>
10&&this.currentUser.userRole.forEach(e=>{e.name=="admin"&&(this.isAdmin=!0)}))})}static{this.\u0275fac=function(e){return new(e||t)(g(x),g(Z),g(X),g(J),g(K),g(nt),g(rt),g($))}}static{this.\u0275cmp=R({type:t,selectors:[["app-view-all-reviews"]],standalone:!1,features:[z([x])],decls:2,vars:2,consts:[["hasVideo",""],["img1",""],["class","bg",4,"ngIf"],[3,"type",4,"ngIf"],[1,"bg"],[4,"ngIf","ngIfElse"],[1,"overlay",3,"routerLink"],[1,"un-container"],[1,"logo","vertical-align"],[3,"url","fallBackUrl","alt","setAttribute"],[1,"cptn"],[2,"display","none !important"],[4,"ngIf"],["class","other",4,"ngIf"],[3,"org_id","user_id","isAdmin","userLoggedIn","paginationShow","viewAllButton","organisation"],[1,"back_button"],[3,"routerLink"],[1,"material-icons"],["class","no_banner cursor-pointer",3,"routerLink",4,"ngIf"],["class","banner-image valign-wrapper position-relative cursor-pointer",3,"routerLink",4,"ngIf"],[1,"no_banner","cursor-pointer",3,"routerLink"],["src","https://d8it4huxumps7.cloudfront.net/images/opportunity_banner/d2c-organization/dare2compete-organization1.jpg?d=1920x557",3,"alt"],[1,"banner-image","valign-wrapper","position-relative","cursor-pointer",3,"routerLink"],[1,"bg-blur-image",3,"ngStyle"],[3,"isLazy","classString","responsive","filename","lazyLoad","alt"],["class","custom-banner video-wrapper",4,"ngIf"],[1,"custom-banner","video-wrapper"],[3,"videoId"],[1,"other"],["class","single-wrap website",3,"click",4,"ngIf"],[1,"single-wrap","website",3,"click"],[3,"icon","size",4,"ngIf"],[3,"icon","size"],[3,"type"]],template:function(e,c){e&1&&u(0,Kt,23,21,"div",2)(1,Qt,1,1,"app-organisations-loading-grid",3),e&2&&(i("ngIf",c.organisation),o(),i("ngIf",!c.organisation))},dependencies:[Q,at,N,G,et,ct,dt,it,gt,Y,H],styles:["img[_ngcontent-%COMP%]{width:auto;height:auto;display:block}.no_banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.bg[_ngcontent-%COMP%]{background:var(--grey-50)}@media (max-width: 767px){.bg[_ngcontent-%COMP%]{background:var(--grey-00);overflow:hidden}}.video-wrapper[_ngcontent-%COMP%]{min-height:50vh;background:#f3f3f3;justify-content:center;display:flex}@media (max-width: 767px){.video-wrapper[_ngcontent-%COMP%]{min-height:20vh}}.overlay[_ngcontent-%COMP%]{background:var(--grey-00);border-bottom:1px solid var(--stroke-primary);position:relative;padding:24px 0}.overlay[_ngcontent-%COMP%] .un-container[_ngcontent-%COMP%]{align-items:center;display:flex}.overlay[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100px;height:100px;border-radius:8px;border:1px solid var(--stroke-primary);background:var(--grey-00)}.overlay[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img{max-width:85%;max-height:85%}.overlay[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:var(--grey-1100);font-size:20px;font-weight:600;line-height:130%;margin-bottom:0}.overlay[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--grey-800);font-size:16px;line-height:130%;margin-top:10px;margin-bottom:0}.overlay[_ngcontent-%COMP%] .cptn[_ngcontent-%COMP%]{margin-left:16px;width:calc(100% - 100px)}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%]{margin-top:10px;display:flex;align-items:center}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{color:var(--secondary-700)}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;color:var(--grey-1100);font-size:14px;font-weight:600;line-height:120%;gap:4px}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:last-child){padding-right:10px;margin-right:10px;border-right:1px solid var(--stroke-primary)}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] .website[_ngcontent-%COMP%]{color:var(--blue-700);cursor:pointer;transition:.3s}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] .website[_ngcontent-%COMP%] un-icon[_ngcontent-%COMP%]{transition:.3s}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] .website[_ngcontent-%COMP%]:hover{text-decoration:underline}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] .website[_ngcontent-%COMP%]:hover un-icon[_ngcontent-%COMP%]{transform:translate(5px)}@media (max-width: 767px){.overlay[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{border-radius:4px;box-shadow:0 2.667px 8px #00000014}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] span[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:16px}.overlay[_ngcontent-%COMP%] .other[_ngcontent-%COMP%] .website[_ngcontent-%COMP%]{display:block}}section[_ngcontent-%COMP%]{padding:20px 0}@media (max-width: 767px){section[_ngcontent-%COMP%]{padding:16px 0}}.back_button[_ngcontent-%COMP%]{text-align:center;margin-top:30px}.back_button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;border:2px solid var(--blue-700);color:var(--blue-700);padding:13px 30px;font-size:14px;border-radius:12px;font-weight:500;cursor:pointer;transition:.3s}.back_button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background:var(--blue-700);color:var(--grey-00)}.back_button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-size:20px;margin-right:10px}@media (max-width: 767px){.back_button[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 768px){app-organisation-review-list[_ngcontent-%COMP%] .review-section{dis
1play:flex;align-items:flex-start}app-organisation-review-list[_ngcontent-%COMP%] .review-form{background:var(--grey-00);width:280px;order:2;display:block;border-radius:8px;padding:20px;position:sticky;top:0}app-organisation-review-list[_ngcontent-%COMP%] .right_sect{background:var(--grey-00);width:calc(100% - 300px);margin:0 20px 0 0;border-top:0;padding:20px;border-radius:8px}app-organisation-review-list[_ngcontent-%COMP%] .overall_rating{width:100%}app-organisation-review-list[_ngcontent-%COMP%] .rating_bar{width:100%;padding:20px 0}app-organisation-review-list[_ngcontent-%COMP%] .other_info{width:100%}app-organisation-review-list[_ngcontent-%COMP%] .other_info div{flex-direction:inherit!important;align-items:center;gap:8px!important}app-organisation-review-list[_ngcontent-%COMP%] .other_info div br{display:none}}@media (max-width: 767px){[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;height:0;background:transparent}}"]})}}return t})();S();var Xt=[{path:"",component:_t,data:{hideFooter:!0}}],Zt=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=M({type:t})}static{this.\u0275inj=b({imports:[I.forChild(Xt),I]})}}return t})(),En=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=M({type:t})}static{this.\u0275inj=b({imports:[Zt,lt,q,st,pt,mt,ot,ut]})}}return t})();export{Zt as ViewAllReviewRoutingModule,En as ViewAllReviewsModule};
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.