stoobly-agent 0.33.7__py3-none-any.whl → 0.34.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. stoobly_agent/__init__.py +1 -1
  2. stoobly_agent/app/cli/dev_tools_cli.py +1 -0
  3. stoobly_agent/app/cli/endpoint_cli.py +25 -2
  4. stoobly_agent/app/cli/helpers/endpoint_facade.py +22 -1
  5. stoobly_agent/app/cli/helpers/endpoints_import_context.py +57 -0
  6. stoobly_agent/app/cli/helpers/endpoints_import_service.py +152 -0
  7. stoobly_agent/app/cli/helpers/openapi_endpoint_adapter.py +111 -6
  8. stoobly_agent/app/cli/helpers/replay_facade.py +4 -0
  9. stoobly_agent/app/cli/request_cli.py +2 -0
  10. stoobly_agent/app/cli/scenario_cli.py +2 -0
  11. stoobly_agent/app/cli/types/test.py +2 -0
  12. stoobly_agent/app/models/factories/resource/local_db/helpers/request_builder.py +1 -1
  13. stoobly_agent/app/models/types/endpoint.py +28 -2
  14. stoobly_agent/app/proxy/handle_mock_service.py +15 -3
  15. stoobly_agent/app/proxy/intercept_settings.py +39 -0
  16. stoobly_agent/app/proxy/mock/eval_fixtures_service.py +61 -0
  17. stoobly_agent/app/proxy/mock/types/__init__.py +10 -0
  18. stoobly_agent/app/proxy/replay/replay_request_service.py +11 -3
  19. stoobly_agent/app/proxy/run.py +6 -0
  20. stoobly_agent/app/proxy/test/context.py +12 -0
  21. stoobly_agent/app/proxy/test/context_abc.py +15 -0
  22. stoobly_agent/app/settings/intercept_settings.py +1 -1
  23. stoobly_agent/cli.py +13 -2
  24. stoobly_agent/config/constants/custom_headers.py +2 -0
  25. stoobly_agent/config/constants/env_vars.py +2 -0
  26. stoobly_agent/lib/api/api.py +4 -0
  27. stoobly_agent/lib/api/body_param_names_resource.py +36 -0
  28. stoobly_agent/lib/api/endpoints_resource.py +9 -2
  29. stoobly_agent/lib/api/header_names_resource.py +36 -0
  30. stoobly_agent/lib/api/interfaces/endpoints.py +2 -0
  31. stoobly_agent/lib/api/query_param_names_resource.py +36 -0
  32. stoobly_agent/lib/api/response_header_names_resource.py +36 -0
  33. stoobly_agent/lib/api/response_param_names_resource.py +36 -0
  34. stoobly_agent/public/0-es2015.a7e60cafc0868f87a771.js +1 -0
  35. stoobly_agent/public/0-es5.a7e60cafc0868f87a771.js +1 -0
  36. stoobly_agent/public/1-es2015.cb071776436f10954db5.js +1 -0
  37. stoobly_agent/public/1-es5.cb071776436f10954db5.js +1 -0
  38. stoobly_agent/public/10-es2015.bb1702aaf3968a2cb521.js +1 -0
  39. stoobly_agent/public/10-es5.bb1702aaf3968a2cb521.js +1 -0
  40. stoobly_agent/public/12-es2015.591ec692afb8f8d13842.js +1 -0
  41. stoobly_agent/public/12-es5.591ec692afb8f8d13842.js +1 -0
  42. stoobly_agent/public/13-es2015.f381e7d6ff361b669e12.js +1 -0
  43. stoobly_agent/public/13-es5.f381e7d6ff361b669e12.js +1 -0
  44. stoobly_agent/public/14-es2015.1ffb225a16d6292dbddd.js +1 -0
  45. stoobly_agent/public/14-es5.1ffb225a16d6292dbddd.js +1 -0
  46. stoobly_agent/public/15-es2015.2cf39bcaeb0ea2c52297.js +1 -0
  47. stoobly_agent/public/15-es5.2cf39bcaeb0ea2c52297.js +1 -0
  48. stoobly_agent/public/16-es2015.0e9422b274e642f95e41.js +1 -0
  49. stoobly_agent/public/16-es5.0e9422b274e642f95e41.js +1 -0
  50. stoobly_agent/public/17-es2015.7fb08367a22d1e34aed7.js +1 -0
  51. stoobly_agent/public/17-es5.7fb08367a22d1e34aed7.js +1 -0
  52. stoobly_agent/public/18-es2015.5caa4789d1c335e628f2.js +1 -0
  53. stoobly_agent/public/18-es5.5caa4789d1c335e628f2.js +1 -0
  54. stoobly_agent/public/19-es2015.8049aef58c329c500f9b.js +1 -0
  55. stoobly_agent/public/19-es5.8049aef58c329c500f9b.js +1 -0
  56. stoobly_agent/public/2-es2015.8f184ac63348ba447b1f.js +1 -0
  57. stoobly_agent/public/2-es5.8f184ac63348ba447b1f.js +1 -0
  58. stoobly_agent/public/20-es2015.473486aabfa4d4a6431b.js +1 -0
  59. stoobly_agent/public/20-es5.473486aabfa4d4a6431b.js +1 -0
  60. stoobly_agent/public/21-es2015.63ed4e6b242fbc047bd6.js +1 -0
  61. stoobly_agent/public/21-es5.63ed4e6b242fbc047bd6.js +1 -0
  62. stoobly_agent/public/22-es2015.df183804415330639987.js +1 -0
  63. stoobly_agent/public/22-es5.df183804415330639987.js +1 -0
  64. stoobly_agent/public/23-es2015.0da63b056fabde91bb0b.js +1 -0
  65. stoobly_agent/public/23-es5.0da63b056fabde91bb0b.js +1 -0
  66. stoobly_agent/public/28-es2015.9fe030e9d3b0e52239aa.js +1 -0
  67. stoobly_agent/public/28-es5.9fe030e9d3b0e52239aa.js +1 -0
  68. stoobly_agent/public/29-es2015.9b440f22de725732e5ab.js +1 -0
  69. stoobly_agent/public/29-es5.9b440f22de725732e5ab.js +1 -0
  70. stoobly_agent/public/30-es2015.6ad2a5126b0a27c1e7c6.js +1 -0
  71. stoobly_agent/public/30-es5.6ad2a5126b0a27c1e7c6.js +1 -0
  72. stoobly_agent/public/31-es2015.f4291150f35d54ff19ca.js +1 -0
  73. stoobly_agent/public/31-es5.f4291150f35d54ff19ca.js +1 -0
  74. stoobly_agent/public/32-es2015.c8f6ccb43bdba0adf199.js +1 -0
  75. stoobly_agent/public/32-es5.c8f6ccb43bdba0adf199.js +1 -0
  76. stoobly_agent/public/33-es2015.f985e93402ebf86322ef.js +1 -0
  77. stoobly_agent/public/33-es5.f985e93402ebf86322ef.js +1 -0
  78. stoobly_agent/public/34-es2015.0e1961fb3cf649a52d49.js +1 -0
  79. stoobly_agent/public/34-es5.0e1961fb3cf649a52d49.js +1 -0
  80. stoobly_agent/public/35-es2015.a4ae56a89c0324397624.js +1 -0
  81. stoobly_agent/public/35-es5.a4ae56a89c0324397624.js +1 -0
  82. stoobly_agent/public/36-es2015.b8fdd25590a79c820119.js +1 -0
  83. stoobly_agent/public/36-es5.b8fdd25590a79c820119.js +1 -0
  84. stoobly_agent/public/37-es2015.6567a0ce4cf87ad7287b.js +1 -0
  85. stoobly_agent/public/37-es5.6567a0ce4cf87ad7287b.js +1 -0
  86. stoobly_agent/public/38-es2015.6f6d751bff41d84d727a.js +1 -0
  87. stoobly_agent/public/38-es5.6f6d751bff41d84d727a.js +1 -0
  88. stoobly_agent/public/39-es2015.47f63177e7d4509a22fa.js +1 -0
  89. stoobly_agent/public/39-es5.47f63177e7d4509a22fa.js +1 -0
  90. stoobly_agent/public/3rdpartylicenses.txt +2418 -0
  91. stoobly_agent/public/4-es2015.182e1ce1811ef67571fb.js +1 -0
  92. stoobly_agent/public/4-es5.182e1ce1811ef67571fb.js +1 -0
  93. stoobly_agent/public/40-es2015.5333067cdc4077c7495a.js +1 -0
  94. stoobly_agent/public/40-es5.5333067cdc4077c7495a.js +1 -0
  95. stoobly_agent/public/41-es2015.7a2434380c81c11ff2c5.js +1 -0
  96. stoobly_agent/public/41-es5.7a2434380c81c11ff2c5.js +1 -0
  97. stoobly_agent/public/42-es2015.5dde662fe1e3b4e4bdd1.js +1 -0
  98. stoobly_agent/public/42-es5.5dde662fe1e3b4e4bdd1.js +1 -0
  99. stoobly_agent/public/43-es2015.608e917d689b9bb762cb.js +1 -0
  100. stoobly_agent/public/43-es5.608e917d689b9bb762cb.js +1 -0
  101. stoobly_agent/public/44-es2015.2ae5fea15b5e8c2681d3.js +1 -0
  102. stoobly_agent/public/44-es5.2ae5fea15b5e8c2681d3.js +1 -0
  103. stoobly_agent/public/45-es2015.e46f228c795174428515.js +1 -0
  104. stoobly_agent/public/45-es5.e46f228c795174428515.js +1 -0
  105. stoobly_agent/public/46-es2015.22a0d8e0b4bbfb513741.js +1 -0
  106. stoobly_agent/public/46-es5.22a0d8e0b4bbfb513741.js +1 -0
  107. stoobly_agent/public/47-es2015.3878e5d1d692107748f3.js +1 -0
  108. stoobly_agent/public/47-es5.3878e5d1d692107748f3.js +1 -0
  109. stoobly_agent/public/5-es2015.aba7173be56fc19b4b6f.js +1 -0
  110. stoobly_agent/public/5-es5.aba7173be56fc19b4b6f.js +1 -0
  111. stoobly_agent/public/6-es2015.5fb726c0555664300974.js +1 -0
  112. stoobly_agent/public/6-es5.5fb726c0555664300974.js +1 -0
  113. stoobly_agent/public/7-es2015.9b9ab4adf24d13bdc2f8.js +1 -0
  114. stoobly_agent/public/7-es5.9b9ab4adf24d13bdc2f8.js +1 -0
  115. stoobly_agent/public/8-es2015.cdd7dce2a24aaf9d974f.js +1 -0
  116. stoobly_agent/public/8-es5.cdd7dce2a24aaf9d974f.js +1 -0
  117. stoobly_agent/public/9-es2015.cdde98f2537997afbf0f.js +1 -0
  118. stoobly_agent/public/9-es5.cdde98f2537997afbf0f.js +1 -0
  119. stoobly_agent/public/CHANGELOG.md +58 -0
  120. stoobly_agent/public/README.md +264 -0
  121. stoobly_agent/public/_redirects +1 -0
  122. stoobly_agent/public/assets/img/demo/1.jpg +0 -0
  123. stoobly_agent/public/assets/img/demo/2.jpg +0 -0
  124. stoobly_agent/public/assets/img/demo/3.jpg +0 -0
  125. stoobly_agent/public/assets/img/demo/4.jpg +0 -0
  126. stoobly_agent/public/assets/img/demo/5.jpg +0 -0
  127. stoobly_agent/public/assets/img/demo/6.jpg +0 -0
  128. stoobly_agent/public/assets/img/demo/7.jpg +0 -0
  129. stoobly_agent/public/assets/img/demo/8.jpg +0 -0
  130. stoobly_agent/public/assets/img/demo/landscape.jpg +0 -0
  131. stoobly_agent/public/assets/img/demo/mountain-cinematic.jpg +0 -0
  132. stoobly_agent/public/assets/img/illustrations/checklist.svg +164 -0
  133. stoobly_agent/public/assets/img/illustrations/data_center.svg +150 -0
  134. stoobly_agent/public/assets/img/illustrations/idea.svg +213 -0
  135. stoobly_agent/public/assets/img/illustrations/it_support.svg +168 -0
  136. stoobly_agent/public/assets/img/illustrations/peak_mountain_3.svg +262 -0
  137. stoobly_agent/public/assets/img/illustrations/under_constructions_1.svg +282 -0
  138. stoobly_agent/public/assets/img/logo/colored.png +0 -0
  139. stoobly_agent/public/assets/img/logo/colored.svg +9 -0
  140. stoobly_agent/public/assets/img/logo/white.png +0 -0
  141. stoobly_agent/public/assets/img/logo/white.svg +8 -0
  142. stoobly_agent/public/common-es2015.6f230354b12587f9be81.js +1 -0
  143. stoobly_agent/public/common-es5.6f230354b12587f9be81.js +1 -0
  144. stoobly_agent/public/favicon.ico +0 -0
  145. stoobly_agent/public/index.html +118 -0
  146. stoobly_agent/public/main-es2015.081bbd2709f22e95933e.js +1 -0
  147. stoobly_agent/public/main-es5.081bbd2709f22e95933e.js +1 -0
  148. stoobly_agent/public/polyfills-es2015.8ce2adc69f283f6c4c5e.js +1 -0
  149. stoobly_agent/public/polyfills-es5.7530172ddcec11a10eb3.js +1 -0
  150. stoobly_agent/public/runtime-es2015.362e49d383fb724f5414.js +1 -0
  151. stoobly_agent/public/runtime-es5.362e49d383fb724f5414.js +1 -0
  152. stoobly_agent/public/styles.ca104d947fbb2eebbeca.css +6 -0
  153. stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_additional_props_test.py +34 -0
  154. stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_info_test.py +80 -3
  155. stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_oauth2_scopes_test.py +82 -1
  156. stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_missing_servers_test.py +80 -3
  157. stoobly_agent/test/app/cli/helpers/openapi_endpoint_adapter_test.py +617 -4
  158. stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +1 -1
  159. stoobly_agent/test/app/proxy/mock/eval_fixtures_service_test.py +95 -0
  160. {stoobly_agent-0.33.7.dist-info → stoobly_agent-0.34.1.dist-info}/METADATA +1 -1
  161. {stoobly_agent-0.33.7.dist-info → stoobly_agent-0.34.1.dist-info}/RECORD +164 -35
  162. {stoobly_agent-0.33.7.dist-info → stoobly_agent-0.34.1.dist-info}/LICENSE +0 -0
  163. {stoobly_agent-0.33.7.dist-info → stoobly_agent-0.34.1.dist-info}/WHEEL +0 -0
  164. {stoobly_agent-0.33.7.dist-info → stoobly_agent-0.34.1.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1 @@
1
+ !function(){function l(l,n){return function(l){if(Array.isArray(l))return l}(l)||function(l,n){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(l)))return;var e=[],t=!0,u=!1,i=void 0;try{for(var a,o=l[Symbol.iterator]();!(t=(a=o.next()).done)&&(e.push(a.value),!n||e.length!==n);t=!0);}catch(r){u=!0,i=r}finally{try{t||null==o.return||o.return()}finally{if(u)throw i}}return e}(l,n)||e(l,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(l){return function(l){if(Array.isArray(l))return t(l)}(l)||function(l){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(l))return Array.from(l)}(l)||e(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(l,n){if(l){if("string"==typeof l)return t(l,n);var e=Object.prototype.toString.call(l).slice(8,-1);return"Object"===e&&l.constructor&&(e=l.constructor.name),"Map"===e||"Set"===e?Array.from(l):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(l,n):void 0}}function t(l,n){(null==n||n>l.length)&&(n=l.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=l[e];return t}function u(l,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(l,t.key,t)}}function i(l,n,e){return n&&u(l.prototype,n),e&&u(l,e),l}function a(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{PNSm:function(l,n){n.__esModule=!0,n.default={body:'<path d="M22 9.24l-7.19-.62L12 2L9.19 8.63L2 9.24l5.46 4.73L5.82 21L12 17.27L18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27l1-4.28l-3.32-2.88l4.38-.38L12 6.1l1.71 4.04l4.38.38l-3.32 2.88l1 4.28L12 15.4z" fill="currentColor"/>',width:24,height:24}},RBzx:function(e,t,u){"use strict";u.r(t),u.d(t,"ProjectsModuleNgFactory",function(){return Wt});var o=u("8Y7J"),r=function l(){a(this,l)},c=u("9cE2"),s=u("ntJQ"),b=u("nmIE"),d=u("CAmX"),m=u("s7LF"),f=u("iELJ"),p=u("VDRc"),h=u("/q54"),g=u("1Xc+"),O=u("Dxy4"),y=u("YEUz"),v=u("omvX"),x=u("XE/z"),z=u("Tj54"),_=u("l+Q0"),A=u("cUpR"),k=u("mGvx"),C=u("BSbQ"),w=u("H3DK"),j=u("Q2Ze"),M=u("9gLZ"),T=u("SCoL"),I=u("e6WT"),L=u("UhP/"),S=u("8sFK"),P=u("5mnX"),F=u.n(P),U=u("e3EN"),R=u.n(U),D=u("6qw8"),N=u.n(D),H=u("KaaH"),E=u.n(H),Y=function(){function l(n,e,t){a(this,l),this.project=n,this.dialogRef=e,this.fb=t,this.isUpdate=!1,this.onCreate=new o.o,this.form=this.fb.group({name:null,description:null}),this.icClose=F.a,this.icDelete=R.a,this.icPerson=E.a,this.icEmail=N.a}return i(l,[{key:"ngOnInit",value:function(){this.project&&(this.isUpdate=!0),this.form.patchValue(this.project||{})}},{key:"save",value:function(){this.onCreate.emit(this.form.value),this.dialogRef.close()}}]),l}(),B=o.yb({encapsulation:0,styles:[[""]],data:{}});function q(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,77,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,e){var t=!0,u=l.component;return"submit"===n&&(t=!1!==o.Ob(l,2).onSubmit(e)&&t),"reset"===n&&(t=!1!==o.Ob(l,2).onReset()&&t),"ngSubmit"===n&&(t=!1!==u.save()&&t),t},null,null)),o.zb(1,16384,null,0,m.A,[],null,null),o.zb(2,540672,null,0,m.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),o.Tb(2048,null,m.d,null,[m.k]),o.zb(4,16384,null,0,m.r,[[6,m.d]],null,null),(l()(),o.Ab(5,0,null,null,12,"div",[["class","mat-dialog-title"],["fxLayout","row"],["fxLayoutAlign","start center"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o.zb(6,81920,null,0,f.m,[[2,f.l],o.l,f.e],null,null),o.zb(7,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(8,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(9,0,null,null,2,"h2",[["class","headline m-0"],["fxFlex","auto"]],null,null,null,null,null)),o.zb(10,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Yb(11,null,[""," Project"])),(l()(),o.Ab(12,0,null,null,5,"button",[["class","text-secondary mat-focus-indicator"],["mat-dialog-close",""],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,13)._onButtonClick(e)&&t),t},g.d,g.b)),o.zb(13,606208,null,0,f.g,[[2,f.l],o.l,f.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),o.zb(14,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Ab(15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(16,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(17,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Ab(18,0,null,null,1,"mat-divider",[["class","-mx-6 text-border mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,k.b,k.a)),o.zb(19,49152,null,0,C.a,[],null,null),(l()(),o.Ab(20,0,null,null,48,"mat-dialog-content",[["class","mat-dialog-content"],["fxLayout","column"]],null,null,null,null,null)),o.zb(21,16384,null,0,f.j,[],null,null),o.zb(22,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),(l()(),o.Ab(23,0,null,null,22,"mat-form-field",[["class","mt-6 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,w.b,w.a)),o.zb(24,7520256,null,9,j.g,[o.l,o.h,o.l,[2,M.b],[2,j.c],T.a,o.B,[2,v.a]],null,null),o.Ub(603979776,1,{_controlNonStatic:0}),o.Ub(335544320,2,{_controlStatic:0}),o.Ub(603979776,3,{_labelChildNonStatic:0}),o.Ub(335544320,4,{_labelChildStatic:0}),o.Ub(603979776,5,{_placeholderChild:0}),o.Ub(603979776,6,{_errorChildren:1}),o.Ub(603979776,7,{_hintChildren:1}),o.Ub(603979776,8,{_prefixChildren:1}),o.Ub(603979776,9,{_suffixChildren:1}),o.Tb(2048,null,j.b,null,[j.g]),(l()(),o.Ab(35,0,null,3,2,"mat-label",[],null,null,null,null,null)),o.zb(36,16384,[[3,4],[4,4]],0,j.k,[],null,null),(l()(),o.Yb(-1,null,["Name"])),(l()(),o.Ab(38,0,null,1,7,"input",[["cdkFocusInitial",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var t=!0;return"input"===n&&(t=!1!==o.Ob(l,39)._handleInput(e.target.value)&&t),"blur"===n&&(t=!1!==o.Ob(l,39).onTouched()&&t),"compositionstart"===n&&(t=!1!==o.Ob(l,39)._compositionStart()&&t),"compositionend"===n&&(t=!1!==o.Ob(l,39)._compositionEnd(e.target.value)&&t),"focus"===n&&(t=!1!==o.Ob(l,43)._focusChanged(!0)&&t),"blur"===n&&(t=!1!==o.Ob(l,43)._focusChanged(!1)&&t),"input"===n&&(t=!1!==o.Ob(l,43)._onInput()&&t),t},null,null)),o.zb(39,16384,null,0,m.e,[o.G,o.l,[2,m.a]],null,null),o.Tb(1024,null,m.o,function(l){return[l]},[m.e]),o.zb(41,671744,null,0,m.j,[[3,m.d],[8,null],[8,null],[6,m.o],[2,m.z]],{name:[0,"name"]},null),o.Tb(2048,null,m.p,null,[m.j]),o.zb(43,5128192,null,0,I.a,[o.l,T.a,[6,m.p],[2,m.s],[2,m.k],L.d,[8,null],S.a,o.B,[2,j.b]],null,null),o.zb(44,16384,null,0,m.q,[[4,m.p]],null,null),o.Tb(2048,[[1,4],[2,4]],j.h,null,[I.a]),(l()(),o.Ab(46,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,w.b,w.a)),o.zb(47,7520256,null,9,j.g,[o.l,o.h,o.l,[2,M.b],[2,j.c],T.a,o.B,[2,v.a]],null,null),o.Ub(603979776,10,{_controlNonStatic:0}),o.Ub(335544320,11,{_controlStatic:0}),o.Ub(603979776,12,{_labelChildNonStatic:0}),o.Ub(335544320,13,{_labelChildStatic:0}),o.Ub(603979776,14,{_placeholderChild:0}),o.Ub(603979776,15,{_errorChildren:1}),o.Ub(603979776,16,{_hintChildren:1}),o.Ub(603979776,17,{_prefixChildren:1}),o.Ub(603979776,18,{_suffixChildren:1}),o.Tb(2048,null,j.b,null,[j.g]),(l()(),o.Ab(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),o.zb(59,16384,[[12,4],[13,4]],0,j.k,[],null,null),(l()(),o.Yb(-1,null,["Description"])),(l()(),o.Ab(61,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var t=!0;return"input"===n&&(t=!1!==o.Ob(l,62)._handleInput(e.target.value)&&t),"blur"===n&&(t=!1!==o.Ob(l,62).onTouched()&&t),"compositionstart"===n&&(t=!1!==o.Ob(l,62)._compositionStart()&&t),"compositionend"===n&&(t=!1!==o.Ob(l,62)._compositionEnd(e.target.value)&&t),"focus"===n&&(t=!1!==o.Ob(l,66)._focusChanged(!0)&&t),"blur"===n&&(t=!1!==o.Ob(l,66)._focusChanged(!1)&&t),"input"===n&&(t=!1!==o.Ob(l,66)._onInput()&&t),t},null,null)),o.zb(62,16384,null,0,m.e,[o.G,o.l,[2,m.a]],null,null),o.Tb(1024,null,m.o,function(l){return[l]},[m.e]),o.zb(64,671744,null,0,m.j,[[3,m.d],[8,null],[8,null],[6,m.o],[2,m.z]],{name:[0,"name"]},null),o.Tb(2048,null,m.p,null,[m.j]),o.zb(66,5128192,null,0,I.a,[o.l,T.a,[6,m.p],[2,m.s],[2,m.k],L.d,[8,null],S.a,o.B,[2,j.b]],null,null),o.zb(67,16384,null,0,m.q,[[4,m.p]],null,null),o.Tb(2048,[[10,4],[11,4]],j.h,null,[I.a]),(l()(),o.Ab(69,0,null,null,8,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),o.zb(70,16384,null,0,f.f,[],null,null),(l()(),o.Ab(71,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-button",""],["mat-dialog-close",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,72)._onButtonClick(e)&&t),t},g.d,g.b)),o.zb(72,606208,null,0,f.g,[[2,f.l],o.l,f.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),o.zb(73,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Yb(-1,0,["CANCEL"])),(l()(),o.Ab(75,0,null,null,2,"button",[["class","mat-focus-indicator"],["color","primary"],["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],null,null,g.d,g.b)),o.zb(76,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),(l()(),o.Yb(77,0,["",""]))],function(l,n){var e=n.component;l(n,2,0,e.form),l(n,6,0),l(n,7,0,"row"),l(n,8,0,"start center"),l(n,10,0,"auto"),l(n,13,0,"button",""),l(n,16,0),l(n,17,0,e.icClose),l(n,22,0,"column"),l(n,41,0,"name"),l(n,43,0),l(n,64,0,"description"),l(n,66,0),l(n,72,0,"button",""),l(n,76,0,"primary")},function(l,n){var e=n.component;l(n,0,0,o.Ob(n,4).ngClassUntouched,o.Ob(n,4).ngClassTouched,o.Ob(n,4).ngClassPristine,o.Ob(n,4).ngClassDirty,o.Ob(n,4).ngClassValid,o.Ob(n,4).ngClassInvalid,o.Ob(n,4).ngClassPending),l(n,5,0,o.Ob(n,6).id),l(n,11,0,e.isUpdate?"Edit":"New"),l(n,12,0,o.Ob(n,13).ariaLabel||null,o.Ob(n,13).type,o.Ob(n,14).disabled||null,"NoopAnimations"===o.Ob(n,14)._animationMode,o.Ob(n,14).disabled),l(n,15,0,o.Ob(n,16)._usingFontIcon()?"font":"svg",o.Ob(n,16)._svgName||o.Ob(n,16).fontIcon,o.Ob(n,16)._svgNamespace||o.Ob(n,16).fontSet,o.Ob(n,16).inline,"primary"!==o.Ob(n,16).color&&"accent"!==o.Ob(n,16).color&&"warn"!==o.Ob(n,16).color,o.Ob(n,17).inline,o.Ob(n,17).size,o.Ob(n,17).iconHTML),l(n,18,0,o.Ob(n,19).vertical?"vertical":"horizontal",o.Ob(n,19).vertical,!o.Ob(n,19).vertical,o.Ob(n,19).inset),l(n,23,1,["standard"==o.Ob(n,24).appearance,"fill"==o.Ob(n,24).appearance,"outline"==o.Ob(n,24).appearance,"legacy"==o.Ob(n,24).appearance,o.Ob(n,24)._control.errorState,o.Ob(n,24)._canLabelFloat(),o.Ob(n,24)._shouldLabelFloat(),o.Ob(n,24)._hasFloatingLabel(),o.Ob(n,24)._hideControlPlaceholder(),o.Ob(n,24)._control.disabled,o.Ob(n,24)._control.autofilled,o.Ob(n,24)._control.focused,"accent"==o.Ob(n,24).color,"warn"==o.Ob(n,24).color,o.Ob(n,24)._shouldForward("untouched"),o.Ob(n,24)._shouldForward("touched"),o.Ob(n,24)._shouldForward("pristine"),o.Ob(n,24)._shouldForward("dirty"),o.Ob(n,24)._shouldForward("valid"),o.Ob(n,24)._shouldForward("invalid"),o.Ob(n,24)._shouldForward("pending"),!o.Ob(n,24)._animationsEnabled]),l(n,38,1,[o.Ob(n,43)._isServer,o.Ob(n,43).id,o.Ob(n,43).placeholder,o.Ob(n,43).disabled,o.Ob(n,43).required,o.Ob(n,43).readonly&&!o.Ob(n,43)._isNativeSelect||null,o.Ob(n,43).errorState,o.Ob(n,43).required.toString(),o.Ob(n,44).ngClassUntouched,o.Ob(n,44).ngClassTouched,o.Ob(n,44).ngClassPristine,o.Ob(n,44).ngClassDirty,o.Ob(n,44).ngClassValid,o.Ob(n,44).ngClassInvalid,o.Ob(n,44).ngClassPending]),l(n,46,1,["standard"==o.Ob(n,47).appearance,"fill"==o.Ob(n,47).appearance,"outline"==o.Ob(n,47).appearance,"legacy"==o.Ob(n,47).appearance,o.Ob(n,47)._control.errorState,o.Ob(n,47)._canLabelFloat(),o.Ob(n,47)._shouldLabelFloat(),o.Ob(n,47)._hasFloatingLabel(),o.Ob(n,47)._hideControlPlaceholder(),o.Ob(n,47)._control.disabled,o.Ob(n,47)._control.autofilled,o.Ob(n,47)._control.focused,"accent"==o.Ob(n,47).color,"warn"==o.Ob(n,47).color,o.Ob(n,47)._shouldForward("untouched"),o.Ob(n,47)._shouldForward("touched"),o.Ob(n,47)._shouldForward("pristine"),o.Ob(n,47)._shouldForward("dirty"),o.Ob(n,47)._shouldForward("valid"),o.Ob(n,47)._shouldForward("invalid"),o.Ob(n,47)._shouldForward("pending"),!o.Ob(n,47)._animationsEnabled]),l(n,61,1,[o.Ob(n,66)._isServer,o.Ob(n,66).id,o.Ob(n,66).placeholder,o.Ob(n,66).disabled,o.Ob(n,66).required,o.Ob(n,66).readonly&&!o.Ob(n,66)._isNativeSelect||null,o.Ob(n,66).errorState,o.Ob(n,66).required.toString(),o.Ob(n,67).ngClassUntouched,o.Ob(n,67).ngClassTouched,o.Ob(n,67).ngClassPristine,o.Ob(n,67).ngClassDirty,o.Ob(n,67).ngClassValid,o.Ob(n,67).ngClassInvalid,o.Ob(n,67).ngClassPending]),l(n,71,0,o.Ob(n,72).ariaLabel||null,o.Ob(n,72).type,o.Ob(n,73).disabled||null,"NoopAnimations"===o.Ob(n,73)._animationMode,o.Ob(n,73).disabled),l(n,75,0,o.Ob(n,76).disabled||null,"NoopAnimations"===o.Ob(n,76)._animationMode,o.Ob(n,76).disabled),l(n,77,0,e.isUpdate?"UPDATE":"CREATE")})}var V=o.wb("projects-create",Y,function(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"projects-create",[],null,null,null,q,B)),o.zb(1,114688,null,0,Y,[f.a,f.l,m.g],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),$=u("CeGm"),W=u("SVse"),G=u("Y1Mv"),K=u("ZTz/"),J=u("7KAL"),X=function(l){return l.Clone="clone",l.Move="move",l.Restore="restore",l}({}),Q=function(){function l(n,e,t){a(this,l),this.defaults=n,this.dialogRef=e,this.fb=t,this.mode=X.Move,this.onSubmit=new o.o,this.projects=[],this.organizations=[],this.icClose=F.a,this.icDelete=R.a}return i(l,[{key:"ngOnInit",value:function(){var l,n=this.defaults,e=n.organization,t=n.organizations,u=n.project;this.project=u,u.isDeleted&&this.mode===X.Move&&(this.mode=X.Restore),this.organization=e,this.organizations=t,this.form=this.fb.group({sourceOrganization:new m.h(e),sourceOrganizationName:new m.h(e.name),destinationOrganization:new m.h(e,[m.w.required])},{validators:[(l=this.mode,function(n){if(l!==X.Move)return null;var e=n.value,t=e.destinationOrganization,u=e.sourceOrganization;return(null==t?void 0:t.id)===(null==u?void 0:u.id)?{destinationOrganization:!0}:null})]})}},{key:"ngOnDestroy",value:function(){}},{key:"selectOrganization",value:function(l){this.organization=l.value}},{key:"submit",value:function(){var l=this.form.value.destinationOrganization;this.onSubmit.emit({organization:l}),this.dialogRef.close()}},{key:"compareOrganization",value:function(l,n){return(null==l?void 0:l.id)===(null==n?void 0:n.id)}},{key:"isClone",value:function(){return this.mode===X.Clone}},{key:"projectTitle",value:function(){var l=this.project;return l?""+l.name:"Projects"}}]),l}(),Z=o.yb({encapsulation:0,styles:[[".title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}"]],data:{}});function ll(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,33,null,null,null,null,null,null,null)),(l()(),o.Ab(1,0,null,null,2,"h4",[["class","mt-2 mb-2"]],null,null,null,null,null)),(l()(),o.Yb(2,null,[""," From"])),o.Sb(3,1),(l()(),o.Ab(4,0,null,null,27,"div",[["class","w-full"],["fxLayout","row"],["fxLayoutAlign","space-around start"],["fxLayoutGap","10px"]],null,null,null,null,null)),o.zb(5,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(6,1720320,null,0,p.e,[o.l,o.B,M.b,h.i,p.j,h.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),o.zb(7,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(8,0,null,null,23,"mat-form-field",[["class","w-full mat-form-field"],["fxFlex","100"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,w.b,w.a)),o.zb(9,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(10,7520256,null,9,j.g,[o.l,o.h,o.l,[2,M.b],[2,j.c],T.a,o.B,[2,v.a]],null,null),o.Ub(603979776,1,{_controlNonStatic:0}),o.Ub(335544320,2,{_controlStatic:0}),o.Ub(603979776,3,{_labelChildNonStatic:0}),o.Ub(335544320,4,{_labelChildStatic:0}),o.Ub(603979776,5,{_placeholderChild:0}),o.Ub(603979776,6,{_errorChildren:1}),o.Ub(603979776,7,{_hintChildren:1}),o.Ub(603979776,8,{_prefixChildren:1}),o.Ub(603979776,9,{_suffixChildren:1}),o.Tb(2048,null,j.b,null,[j.g]),(l()(),o.Ab(21,0,null,3,2,"mat-label",[],null,null,null,null,null)),o.zb(22,16384,[[3,4],[4,4]],0,j.k,[],null,null),(l()(),o.Yb(-1,null,["Organization"])),(l()(),o.Ab(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sourceOrganizationName"],["matInput",""],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var t=!0;return"input"===n&&(t=!1!==o.Ob(l,25)._handleInput(e.target.value)&&t),"blur"===n&&(t=!1!==o.Ob(l,25).onTouched()&&t),"compositionstart"===n&&(t=!1!==o.Ob(l,25)._compositionStart()&&t),"compositionend"===n&&(t=!1!==o.Ob(l,25)._compositionEnd(e.target.value)&&t),"focus"===n&&(t=!1!==o.Ob(l,30)._focusChanged(!0)&&t),"blur"===n&&(t=!1!==o.Ob(l,30)._focusChanged(!1)&&t),"input"===n&&(t=!1!==o.Ob(l,30)._onInput()&&t),t},null,null)),o.zb(25,16384,null,0,m.e,[o.G,o.l,[2,m.a]],null,null),o.Tb(1024,null,m.o,function(l){return[l]},[m.e]),o.zb(27,671744,null,0,m.j,[[3,m.d],[8,null],[8,null],[6,m.o],[2,m.z]],{name:[0,"name"]},null),o.Tb(2048,null,m.p,null,[m.j]),o.zb(29,16384,null,0,m.q,[[4,m.p]],null,null),o.zb(30,5128192,null,0,I.a,[o.l,T.a,[6,m.p],[2,m.s],[2,m.k],L.d,[8,null],S.a,o.B,[2,j.b]],{readonly:[0,"readonly"]},null),o.Tb(2048,[[1,4],[2,4]],j.h,null,[I.a]),(l()(),o.Ab(32,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,k.b,k.a)),o.zb(33,49152,null,0,C.a,[],null,null)],function(l,n){l(n,5,0,"row"),l(n,6,0,"10px"),l(n,7,0,"space-around start"),l(n,9,0,"100"),l(n,27,0,"sourceOrganizationName"),l(n,30,0,"")},function(l,n){var e=n.component,t=o.Zb(n,2,0,l(n,3,0,o.Ob(n.parent,0),e.mode));l(n,2,0,t),l(n,8,1,["standard"==o.Ob(n,10).appearance,"fill"==o.Ob(n,10).appearance,"outline"==o.Ob(n,10).appearance,"legacy"==o.Ob(n,10).appearance,o.Ob(n,10)._control.errorState,o.Ob(n,10)._canLabelFloat(),o.Ob(n,10)._shouldLabelFloat(),o.Ob(n,10)._hasFloatingLabel(),o.Ob(n,10)._hideControlPlaceholder(),o.Ob(n,10)._control.disabled,o.Ob(n,10)._control.autofilled,o.Ob(n,10)._control.focused,"accent"==o.Ob(n,10).color,"warn"==o.Ob(n,10).color,o.Ob(n,10)._shouldForward("untouched"),o.Ob(n,10)._shouldForward("touched"),o.Ob(n,10)._shouldForward("pristine"),o.Ob(n,10)._shouldForward("dirty"),o.Ob(n,10)._shouldForward("valid"),o.Ob(n,10)._shouldForward("invalid"),o.Ob(n,10)._shouldForward("pending"),!o.Ob(n,10)._animationsEnabled]),l(n,24,1,[o.Ob(n,29).ngClassUntouched,o.Ob(n,29).ngClassTouched,o.Ob(n,29).ngClassPristine,o.Ob(n,29).ngClassDirty,o.Ob(n,29).ngClassValid,o.Ob(n,29).ngClassInvalid,o.Ob(n,29).ngClassPending,o.Ob(n,30)._isServer,o.Ob(n,30).id,o.Ob(n,30).placeholder,o.Ob(n,30).disabled,o.Ob(n,30).required,o.Ob(n,30).readonly&&!o.Ob(n,30)._isNativeSelect||null,o.Ob(n,30).errorState,o.Ob(n,30).required.toString()]),l(n,32,0,o.Ob(n,33).vertical?"vertical":"horizontal",o.Ob(n,33).vertical,!o.Ob(n,33).vertical,o.Ob(n,33).inset)})}function nl(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,1)._selectViaInteraction()&&t),"keydown"===n&&(t=!1!==o.Ob(l,1)._handleKeydown(e)&&t),t},$.c,$.a)),o.zb(1,8568832,[[19,4]],0,L.q,[o.l,o.h,[2,L.j],[2,L.i]],{value:[0,"value"]},null),(l()(),o.Yb(2,0,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,o.Ob(n,1)._getTabIndex(),o.Ob(n,1).selected,o.Ob(n,1).multiple,o.Ob(n,1).active,o.Ob(n,1).id,o.Ob(n,1)._getAriaSelected(),o.Ob(n,1).disabled.toString(),o.Ob(n,1).disabled),l(n,2,0,n.context.$implicit.name)})}function el(l){return o.bc(0,[o.Qb(0,W.y,[]),(l()(),o.Ab(1,0,null,null,67,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,e){var t=!0,u=l.component;return"submit"===n&&(t=!1!==o.Ob(l,3).onSubmit(e)&&t),"reset"===n&&(t=!1!==o.Ob(l,3).onReset()&&t),"ngSubmit"===n&&(t=!1!==u.submit()&&t),t},null,null)),o.zb(2,16384,null,0,m.A,[],null,null),o.zb(3,540672,null,0,m.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),o.Tb(2048,null,m.d,null,[m.k]),o.zb(5,16384,null,0,m.r,[[6,m.d]],null,null),(l()(),o.Ab(6,0,null,null,12,"div",[["class","mat-dialog-title"],["fxLayout","row"],["fxLayoutAlign","start center"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o.zb(7,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(8,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),o.zb(9,81920,null,0,f.m,[[2,f.l],o.l,f.e],null,null),(l()(),o.Ab(10,0,null,null,2,"h2",[["class","headline m-0 title"],["fxFlex","auto"]],null,null,null,null,null)),o.zb(11,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Yb(12,null,["",""])),(l()(),o.Ab(13,0,null,null,5,"button",[["class","text-secondary mat-focus-indicator"],["mat-dialog-close",""],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,14)._onButtonClick(e)&&t),t},g.d,g.b)),o.zb(14,606208,null,0,f.g,[[2,f.l],o.l,f.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),o.zb(15,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Ab(16,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(17,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(18,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Ab(19,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,k.b,k.a)),o.zb(20,49152,null,0,C.a,[],null,null),(l()(),o.Ab(21,0,null,null,38,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),o.zb(22,16384,null,0,f.j,[],null,null),(l()(),o.jb(16777216,null,null,1,null,ll)),o.zb(24,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.Ab(25,0,null,null,2,"h4",[["class","mb-2 mt-2"]],null,null,null,null,null)),(l()(),o.Yb(26,null,[""," To"])),o.Sb(27,1),(l()(),o.Ab(28,0,null,null,31,"div",[["class","w-full"],["fxLayout","row"],["fxLayoutAlign","space-around start"],["fxLayoutGap","10px"]],null,null,null,null,null)),o.zb(29,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(30,1720320,null,0,p.e,[o.l,o.B,M.b,h.i,p.j,h.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),o.zb(31,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(32,0,null,null,27,"mat-form-field",[["class","w-full mat-form-field"],["fxFlex","fill"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,w.b,w.a)),o.zb(33,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(34,7520256,null,9,j.g,[o.l,o.h,o.l,[2,M.b],[2,j.c],T.a,o.B,[2,v.a]],null,null),o.Ub(603979776,10,{_controlNonStatic:0}),o.Ub(335544320,11,{_controlStatic:0}),o.Ub(603979776,12,{_labelChildNonStatic:0}),o.Ub(335544320,13,{_labelChildStatic:0}),o.Ub(603979776,14,{_placeholderChild:0}),o.Ub(603979776,15,{_errorChildren:1}),o.Ub(603979776,16,{_hintChildren:1}),o.Ub(603979776,17,{_prefixChildren:1}),o.Ub(603979776,18,{_suffixChildren:1}),o.Tb(2048,null,j.b,null,[j.g]),(l()(),o.Ab(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),o.zb(46,16384,[[12,4],[13,4]],0,j.k,[],null,null),(l()(),o.Yb(-1,null,["Organization"])),(l()(),o.Ab(48,0,null,1,11,"mat-select",[["aria-autocomplete","none"],["aria-haspopup","true"],["class","mat-select"],["formControlName","destinationOrganization"],["role","combobox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-label",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null],[2,"mat-select-multiple",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var t=!0,u=l.component;return"keydown"===n&&(t=!1!==o.Ob(l,53)._handleKeydown(e)&&t),"focus"===n&&(t=!1!==o.Ob(l,53)._onFocus()&&t),"blur"===n&&(t=!1!==o.Ob(l,53)._onBlur()&&t),"selectionChange"===n&&(t=!1!==u.selectOrganization(e)&&t),t},G.b,G.a)),o.Tb(6144,null,L.j,null,[K.d]),o.zb(50,671744,null,0,m.j,[[3,m.d],[8,null],[8,null],[8,null],[2,m.z]],{name:[0,"name"]},null),o.Tb(2048,null,m.p,null,[m.j]),o.zb(52,16384,null,0,m.q,[[4,m.p]],null,null),o.zb(53,2080768,null,3,K.d,[J.e,o.h,o.B,L.d,o.l,[2,M.b],[2,m.s],[2,m.k],[2,j.b],[6,m.p],[8,null],K.b,y.k,[2,K.a]],{compareWith:[0,"compareWith"]},{selectionChange:"selectionChange"}),o.Ub(603979776,19,{options:1}),o.Ub(603979776,20,{optionGroups:1}),o.Ub(603979776,21,{customTrigger:0}),o.Tb(2048,[[10,4],[11,4]],j.h,null,[K.d]),(l()(),o.jb(16777216,null,1,1,null,nl)),o.zb(59,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"]},null),(l()(),o.Ab(60,0,null,null,8,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),o.zb(61,16384,null,0,f.f,[],null,null),(l()(),o.Ab(62,0,null,null,2,"button",[["class","mat-focus-indicator"],["color","primary"],["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],null,null,g.d,g.b)),o.zb(63,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{disabled:[0,"disabled"],color:[1,"color"]},null),(l()(),o.Yb(-1,0,["SUBMIT"])),(l()(),o.Ab(65,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-button",""],["mat-dialog-close",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,66)._onButtonClick(e)&&t),t},g.d,g.b)),o.zb(66,606208,null,0,f.g,[[2,f.l],o.l,f.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),o.zb(67,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Yb(-1,0,["CANCEL"]))],function(l,n){var e=n.component;l(n,3,0,e.form),l(n,7,0,"row"),l(n,8,0,"start center"),l(n,9,0),l(n,11,0,"auto"),l(n,14,0,"button",""),l(n,17,0),l(n,18,0,e.icClose),l(n,24,0,!e.isClone()&&!e.project.isDeleted),l(n,29,0,"row"),l(n,30,0,"10px"),l(n,31,0,"space-around start"),l(n,33,0,"fill"),l(n,50,0,"destinationOrganization"),l(n,53,0,e.compareOrganization),l(n,59,0,e.organizations),l(n,63,0,e.form.invalid,"primary"),l(n,66,0,"button","")},function(l,n){var e=n.component;l(n,1,0,o.Ob(n,5).ngClassUntouched,o.Ob(n,5).ngClassTouched,o.Ob(n,5).ngClassPristine,o.Ob(n,5).ngClassDirty,o.Ob(n,5).ngClassValid,o.Ob(n,5).ngClassInvalid,o.Ob(n,5).ngClassPending),l(n,6,0,o.Ob(n,9).id),l(n,12,0,e.projectTitle()),l(n,13,0,o.Ob(n,14).ariaLabel||null,o.Ob(n,14).type,o.Ob(n,15).disabled||null,"NoopAnimations"===o.Ob(n,15)._animationMode,o.Ob(n,15).disabled),l(n,16,0,o.Ob(n,17)._usingFontIcon()?"font":"svg",o.Ob(n,17)._svgName||o.Ob(n,17).fontIcon,o.Ob(n,17)._svgNamespace||o.Ob(n,17).fontSet,o.Ob(n,17).inline,"primary"!==o.Ob(n,17).color&&"accent"!==o.Ob(n,17).color&&"warn"!==o.Ob(n,17).color,o.Ob(n,18).inline,o.Ob(n,18).size,o.Ob(n,18).iconHTML),l(n,19,0,o.Ob(n,20).vertical?"vertical":"horizontal",o.Ob(n,20).vertical,!o.Ob(n,20).vertical,o.Ob(n,20).inset);var t=o.Zb(n,26,0,l(n,27,0,o.Ob(n,0),e.mode));l(n,26,0,t),l(n,32,1,["standard"==o.Ob(n,34).appearance,"fill"==o.Ob(n,34).appearance,"outline"==o.Ob(n,34).appearance,"legacy"==o.Ob(n,34).appearance,o.Ob(n,34)._control.errorState,o.Ob(n,34)._canLabelFloat(),o.Ob(n,34)._shouldLabelFloat(),o.Ob(n,34)._hasFloatingLabel(),o.Ob(n,34)._hideControlPlaceholder(),o.Ob(n,34)._control.disabled,o.Ob(n,34)._control.autofilled,o.Ob(n,34)._control.focused,"accent"==o.Ob(n,34).color,"warn"==o.Ob(n,34).color,o.Ob(n,34)._shouldForward("untouched"),o.Ob(n,34)._shouldForward("touched"),o.Ob(n,34)._shouldForward("pristine"),o.Ob(n,34)._shouldForward("dirty"),o.Ob(n,34)._shouldForward("valid"),o.Ob(n,34)._shouldForward("invalid"),o.Ob(n,34)._shouldForward("pending"),!o.Ob(n,34)._animationsEnabled]),l(n,48,1,[o.Ob(n,52).ngClassUntouched,o.Ob(n,52).ngClassTouched,o.Ob(n,52).ngClassPristine,o.Ob(n,52).ngClassDirty,o.Ob(n,52).ngClassValid,o.Ob(n,52).ngClassInvalid,o.Ob(n,52).ngClassPending,o.Ob(n,53).id,o.Ob(n,53).tabIndex,o.Ob(n,53).panelOpen?o.Ob(n,53).id+"-panel":null,o.Ob(n,53).panelOpen,o.Ob(n,53).ariaLabel||null,o.Ob(n,53).required.toString(),o.Ob(n,53).disabled.toString(),o.Ob(n,53).errorState,o.Ob(n,53)._ariaDescribedby||null,o.Ob(n,53)._getAriaActiveDescendant(),o.Ob(n,53).disabled,o.Ob(n,53).errorState,o.Ob(n,53).required,o.Ob(n,53).empty,o.Ob(n,53).multiple]),l(n,62,0,o.Ob(n,63).disabled||null,"NoopAnimations"===o.Ob(n,63)._animationMode,o.Ob(n,63).disabled),l(n,65,0,o.Ob(n,66).ariaLabel||null,o.Ob(n,66).type,o.Ob(n,67).disabled||null,"NoopAnimations"===o.Ob(n,67)._animationMode,o.Ob(n,67).disabled)})}var tl=o.wb("stoobly-projects-move",Q,function(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"stoobly-projects-move",[],null,null,null,el,Z)),o.zb(1,245760,null,0,Q,[f.a,f.l,m.g],null,null)],function(l,n){l(n,1,0)},null)},{mode:"mode"},{onSubmit:"onSubmit"},[]),ul=u("pMnS"),il=u("MqSg"),al=u("007U"),ol=u("eTQ1"),rl=u("Pwwu"),cl=u("M9ds"),sl=u("tx0H"),bl=u("UTQ3"),dl=u("ura0"),ml=u("6uZp"),fl=u.n(ml),pl=u("om0Q"),hl=u.n(pl),gl=u("pN9m"),Ol=u.n(gl),yl=u("h+Y6"),vl=u.n(yl),xl=u("CdmR"),zl=u.n(xl),_l=u("rwX0"),Al=u.n(_l),kl=u("YA1h"),Cl=u.n(kl),wl=u("bE8U"),jl=u.n(wl),Ml=u("PNSm"),Tl=u.n(Ml),Il=function(){function l(){a(this,l),this.delete=new o.o,this.move=new o.o,this.toggleStar=new o.o,this.update=new o.o,this.view=new o.o,this.icBusiness=fl.a,this.icPhone=Cl.a,this.icMail=N.a,this.icChat=hl.a,this.icStar=jl.a,this.icStarBorder=Tl.a,this.icPeople=Al.a,this.icEdit=Ol.a,this.icLink=vl.a,this.icDelete=R.a,this.icOpenWith=zl.a}return i(l,[{key:"ngOnInit",value:function(){}},{key:"emitToggleStar",value:function(l,n){l.stopPropagation(),this.toggleStar.emit(n)}}]),l}(),Ll=o.yb({encapsulation:0,styles:[[""]],data:{}});function Sl(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"mat-icon",[["class","text-amber-500 mat-icon notranslate"],["role","img"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1],[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,x.b,x.a)),o.zb(1,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),o.zb(2,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null)],function(l,n){l(n,1,0,n.component.icStar),l(n,2,0)},function(l,n){l(n,0,0,o.Ob(n,1).inline,o.Ob(n,1).size,o.Ob(n,1).iconHTML,o.Ob(n,2)._usingFontIcon()?"font":"svg",o.Ob(n,2)._svgName||o.Ob(n,2).fontIcon,o.Ob(n,2)._svgNamespace||o.Ob(n,2).fontSet,o.Ob(n,2).inline,"primary"!==o.Ob(n,2).color&&"accent"!==o.Ob(n,2).color&&"warn"!==o.Ob(n,2).color)})}function Pl(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1],[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,x.b,x.a)),o.zb(1,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),o.zb(2,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null)],function(l,n){l(n,1,0,n.component.icStarBorder),l(n,2,0)},function(l,n){l(n,0,0,o.Ob(n,1).inline,o.Ob(n,1).size,o.Ob(n,1).iconHTML,o.Ob(n,2)._usingFontIcon()?"font":"svg",o.Ob(n,2)._svgName||o.Ob(n,2).fontIcon,o.Ob(n,2)._svgNamespace||o.Ob(n,2).fontSet,o.Ob(n,2).inline,"primary"!==o.Ob(n,2).color&&"accent"!==o.Ob(n,2).color&&"warn"!==o.Ob(n,2).color)})}function Fl(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,36,"div",[["class","card overflow-hidden"]],null,null,null,null,null)),(l()(),o.Ab(1,0,null,null,17,"div",[["class","p-4 text-center hover:bg-hover trans-ease-out cursor-pointer relative mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.view.emit(u.project.id)&&t),t},null,null)),o.zb(2,212992,null,0,L.v,[o.l,o.B,T.a,[2,L.k],[2,v.a]],null,null),(l()(),o.Ab(3,0,null,null,2,"div",[["class","mx-auto h-24 w-24"]],null,null,null,null,null)),(l()(),o.Ab(4,0,null,null,1,"ngx-avatar",[["class","avatar"],["size","100"]],null,null,null,sl.b,sl.a)),o.zb(5,704512,null,0,bl.a,[bl.d,bl.c],{size:[0,"size"],initials:[1,"initials"]},null),(l()(),o.Ab(6,0,null,null,1,"h2",[["class","title mb-1 mt-3"]],null,null,null,null,null)),(l()(),o.Yb(7,null,["",""])),(l()(),o.Ab(8,0,null,null,4,"div",[["class","body-2 text-secondary"]],null,null,null,null,null)),o.zb(9,278528,null,0,W.k,[o.u,o.v,o.l,o.G],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o.zb(10,933888,null,0,dl.a,[o.l,h.i,h.f,o.u,o.v,o.G,[6,W.k]],{ngClass:[0,"ngClass"],klass:[1,"klass"]},null),(l()(),o.Ab(11,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),o.Yb(12,null,["",""])),(l()(),o.Ab(13,0,null,null,5,"button",[["class","absolute top-2 right-2 mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.emitToggleStar(e,null==u.project?null:u.project.id)&&t),t},g.d,g.b)),o.zb(14,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.jb(16777216,null,0,1,null,Sl)),o.zb(16,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(16777216,null,0,1,null,Pl)),o.zb(18,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.Ab(19,0,null,null,17,"div",[["class","bg-app-bar p-2"],["fxLayout","row"],["fxLayoutAlign","space-around center"]],null,null,null,null,null)),o.zb(20,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(21,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(22,0,null,null,4,"button",[["class","text-secondary mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.update.emit(u.project)&&t),t},g.d,g.b)),o.zb(23,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Ab(24,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1],[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,x.b,x.a)),o.zb(25,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),o.zb(26,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),(l()(),o.Ab(27,0,null,null,4,"button",[["class","text-secondary mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.move.emit(u.project.id)&&t),t},g.d,g.b)),o.zb(28,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Ab(29,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1],[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,x.b,x.a)),o.zb(30,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),o.zb(31,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),(l()(),o.Ab(32,0,null,null,4,"button",[["class","text-secondary mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.delete.emit(u.project.id)&&t),t},g.d,g.b)),o.zb(33,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Ab(34,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1],[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,x.b,x.a)),o.zb(35,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),o.zb(36,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null)],function(l,n){var e=n.component;l(n,2,0),l(n,5,0,"100",o.Hb(1,"",e.project.name,"")),l(n,9,0,"body-2 text-secondary",e.project.description?"":"text-transparent"),l(n,10,0,e.project.description?"":"text-transparent","body-2 text-secondary"),l(n,16,0,null==e.project?null:e.project.starred),l(n,18,0,!(null!=e.project&&e.project.starred)),l(n,20,0,"row"),l(n,21,0,"space-around center"),l(n,25,0,e.icEdit),l(n,26,0),l(n,30,0,e.icOpenWith),l(n,31,0),l(n,35,0,e.icDelete),l(n,36,0)},function(l,n){var e=n.component;l(n,1,0,o.Ob(n,2).unbounded),l(n,7,0,null==e.project?null:e.project.name),l(n,12,0,e.project.description?e.project.description:"N/A"),l(n,13,0,o.Ob(n,14).disabled||null,"NoopAnimations"===o.Ob(n,14)._animationMode,o.Ob(n,14).disabled),l(n,22,0,o.Ob(n,23).disabled||null,"NoopAnimations"===o.Ob(n,23)._animationMode,o.Ob(n,23).disabled),l(n,24,0,o.Ob(n,25).inline,o.Ob(n,25).size,o.Ob(n,25).iconHTML,o.Ob(n,26)._usingFontIcon()?"font":"svg",o.Ob(n,26)._svgName||o.Ob(n,26).fontIcon,o.Ob(n,26)._svgNamespace||o.Ob(n,26).fontSet,o.Ob(n,26).inline,"primary"!==o.Ob(n,26).color&&"accent"!==o.Ob(n,26).color&&"warn"!==o.Ob(n,26).color),l(n,27,0,o.Ob(n,28).disabled||null,"NoopAnimations"===o.Ob(n,28)._animationMode,o.Ob(n,28).disabled),l(n,29,0,o.Ob(n,30).inline,o.Ob(n,30).size,o.Ob(n,30).iconHTML,o.Ob(n,31)._usingFontIcon()?"font":"svg",o.Ob(n,31)._svgName||o.Ob(n,31).fontIcon,o.Ob(n,31)._svgNamespace||o.Ob(n,31).fontSet,o.Ob(n,31).inline,"primary"!==o.Ob(n,31).color&&"accent"!==o.Ob(n,31).color&&"warn"!==o.Ob(n,31).color),l(n,32,0,o.Ob(n,33).disabled||null,"NoopAnimations"===o.Ob(n,33)._animationMode,o.Ob(n,33).disabled),l(n,34,0,o.Ob(n,35).inline,o.Ob(n,35).size,o.Ob(n,35).iconHTML,o.Ob(n,36)._usingFontIcon()?"font":"svg",o.Ob(n,36)._svgName||o.Ob(n,36).fontIcon,o.Ob(n,36)._svgNamespace||o.Ob(n,36).fontSet,o.Ob(n,36).inline,"primary"!==o.Ob(n,36).color&&"accent"!==o.Ob(n,36).color&&"warn"!==o.Ob(n,36).color)})}var Ul,Rl=u("Nhcz"),Dl=u("qXT7"),Nl=u("rJgo"),Hl=u("A4cF"),El=u("1O3W"),Yl=u("vkgz"),Bl=u("XXSj"),ql=u("zK3P"),Vl=function(l){return l.isDeleted="is_deleted",l.shared="shared",l}({}),$l=u("V99k"),Wl=u("9kE9"),Gl=function(l){return l[l.Organization=0]="Organization",l[l.SharedWithMe=1]="SharedWithMe",l[l.Trash=2]="Trash",l}({}),Kl=function(){function e(l,n,t,u,i,o,r,c,s,b,d,m,f){var p=this;a(this,e),this.icons=l,this.activatedRoute=n,this.dialog=t,this.layoutConfigService=u,this.location=i,this.projectDataService=o,this.projectsDataService=r,this.projectResource=c,this.organizationDataService=s,this.organizationResource=b,this.route=d,this.router=m,this.userData=f,this.activeTabIndex=Gl.Organization,this.projects=[],this.trackById=ql.a,this.theme=Bl.a,this.openDialog=function(l){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=arguments.length>3?arguments[3]:void 0,u=p.dialog.open(l,{data:n,maxWidth:"1000px",minWidth:"750px",width:"50%"}),i=u.componentInstance.onSubmit.subscribe(function(l){t&&t(l)});Object.keys(e).forEach(function(l){u.componentInstance[l]=e[l]}),u.afterClosed().subscribe(function(){return i.unsubscribe()})},this.layoutConfigService.setIkaros()}return i(e,[{key:"ngOnInit",value:function(){var l=this.route.snapshot;this.indexParams=this.initializeIndexParams(l.queryParams),this.projects=this.initializeProjects(l),this.organizations=this.initializeOrganizations(l),this.initializeTabs(l)}},{key:"createProject",value:function(l){var n=this;l.organization_id=this.selectedOrganization.id,this.projectResource.create(l).subscribe(function(l){n.projects.unshift(l)},function(l){})}},{key:"updateProject",value:function(l,n){var e=this;this.projectResource.update(l.id,n).subscribe(function(){return e.getProjects().subscribe()},function(l){})}},{key:"getProjects",value:function(){var l=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexParams;return this.projectResource.index(n).pipe(Object(Yl.a)(function(n){l.projects=n.list.map(function(l){return new $l.r(l)})}))}},{key:"deleteProject",value:function(l){var n=this;this.projectResource.destroy(l).subscribe(function(e){n.projects=n.projects.filter(function(n){return n.id!==l})},function(l){})}},{key:"getOrganizations",value:function(){var l=this;this.organizationResource.index().subscribe(function(n){l.organizations=n},function(l){})}},{key:"createOrganization",value:function(l){var n=this;this.organizationResource.create(l).subscribe(function(l){n.organizations.push(l),n.organizations=n.organizations.slice(0)},function(l){})}},{key:"openMoveProjectDialog",value:function(l){var e=this,t=this.projects.find(function(n){return n.id===l});this.openDialog(Q,{organization:this.selectedOrganization,organizations:[this.shadowOrganization].concat(n(this.organizations)),project:t},{mode:X.Move},function(l){var n=l.organization;e.updateProject(t,{organization_id:n.id})})}},{key:"handleTabChange",value:function(l){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{page:0,size:20};switch(l.index){case Gl.Organization:delete e.filter,this.selectedOrganization.isShadow||(e.organization_id=this.selectedOrganization.id);break;case Gl.SharedWithMe:if(this.selectedOrganization.isShadow){e.filter=Vl.shared,this.indexParams=e;break}case Gl.Trash:e.filter=Vl.isDeleted,this.selectedOrganization.isShadow||(e.organization_id=this.selectedOrganization.id)}this.getProjects(e).subscribe(function(){n.activeTabIndex=l.index,n.indexParams=e,n.updateUrlQueryParams(n.indexParams)})}},{key:"viewOrganization",value:function(l){this.selectedOrganization=l,this.organizationDataService.set(this.selectedOrganization),this.handleTabChange({index:Gl.Organization})}},{key:"openCreateDialog",value:function(){var l=this,n=this.dialog.open(Y,{maxWidth:"750px",minWidth:"500px",width:"50%"}),e=n.componentInstance.onCreate.subscribe(function(n){l.createProject(n)});n.afterClosed().subscribe(function(){e.unsubscribe()})}},{key:"openUpdateDialog",value:function(l){var n=this,e=this.dialog.open(Y,{maxWidth:"750px",minWidth:"500px",width:"50%",data:l}),t=e.componentInstance.onCreate.subscribe(function(e){n.updateProject(l,e)});e.afterClosed().subscribe(function(){t.unsubscribe()})}},{key:"showRequests",value:function(l){this.router.navigateByUrl("/requests?project_id="+l)}},{key:"showProjectMembers",value:function(l){this.router.navigateByUrl("/projects/".concat(l,"/members"))}},{key:"showUserOrganizations",value:function(){this.router.navigateByUrl("/users/".concat(this.userData.user.id,"/organizations"))}},{key:"showOrganization",value:function(){this.router.navigateByUrl("/organizations/".concat(this.selectedOrganization.id,"/settings"))}},{key:"toggleStar",value:function(l){var n=this.projects.find(function(n){return n.id===l});n&&this.updateProject(n,{starred:!n.starred})}},{key:"openCreateOrganizationDialog",value:function(){var l=this,n=this.dialog.open(Wl.a,{maxWidth:"750px",minWidth:"500px",width:"50%"}),e=n.componentInstance.onCreate.subscribe(function(n){l.createOrganization(n)});n.afterClosed().subscribe(function(){e.unsubscribe()})}},{key:"ngOnDestroy",value:function(){this.layoutConfigService.setZeus()}},{key:"initializeOrganizations",value:function(l){var n=l.data.organizations.map(function(l){return new $l.l(l)});return this.selectedOrganization=n.find(function(n){return n.id===parseInt(l.queryParams.organization_id)}),this.shadowOrganization=n.find(function(l){return l.isShadow}),this.selectedOrganization=this.selectedOrganization||this.shadowOrganization,this.organizationDataService.set(this.selectedOrganization),n.filter(function(l){return!l.isShadow})}},{key:"initializeProjects",value:function(l){var n=l.data.projects.list.map(function(l){return new $l.r(l)});return this.projectsDataService.set(this.projects),this.projectDataService.set(null),n}},{key:"initializeTabs",value:function(l){this.activeTabIndex=this.filterToIndex(l.queryParams.filter)}},{key:"filterToIndex",value:function(l){var n;switch(l||(l=this.route.snapshot.queryParams.filter),l){case Vl.shared:return Gl.SharedWithMe;case Vl.isDeleted:return(null===(n=this.selectedOrganization)||void 0===n?void 0:n.isShadow)?Gl.Trash:Gl.SharedWithMe;default:return Gl.Organization}}},{key:"updateUrlQueryParams",value:function(n){var e=this;Object.entries(n).forEach(function(n){var t=l(n,2),u=t[0],i=t[1];e.indexParams[u]=i});var t=this.router.createUrlTree([],{relativeTo:this.activatedRoute,queryParams:this.snakeCaseKeys(this.indexParams)}).toString();this.location.go(t)}},{key:"snakeCaseKeys",value:function(n){var e=this,t=Object.assign({},n);return Object.entries(t).forEach(function(n){var u=l(n,2),i=u[0],a=u[1];t[e.camelToSnakeCase(i)]=a}),t}},{key:"camelToSnakeCase",value:function(l){return"string"!=typeof l?l:l.replace(/[A-Z]/g,function(l){return"_"+l.toLowerCase()})}},{key:"initializeIndexParams",value:function(l){var n=Object.assign({},l);return n.page=n.page||0,n.size=n.size||20,n}}]),e}(),Jl=u("7wwx"),Xl=u.n(Jl),Ql=u("LgSP"),Zl=u.n(Ql),ln=u("MzEE"),nn=u.n(ln),en=u("baq9"),tn=u.n(en),un=u("+4LO"),an=u.n(un),on=u("sF+I"),rn=u.n(on),cn=u("hF2C"),sn=u.n(cn),bn=((Ul=function l(){a(this,l),this.icSearch=rn.a,this.icCloudDownload=nn.a,this.icFilterList=an.a,this.icArrowDropDown=Zl.a,this.icAdd=Xl.a,this.icPeople=Al.a,this.icCollections=tn.a,this.icSettings=sn.a}).\u0275prov=o.cc({factory:function(){return new Ul},token:Ul,providedIn:"root"}),Ul),dn=u("iInd"),mn=u("U9Lm"),fn=u("msBP"),pn=u("sNP5"),hn=u("4UAC"),gn=u("HZ73"),On=u("wjWB"),yn=u("m/Wb"),vn=o.yb({encapsulation:0,styles:[[".tab-container[_ngcontent-%COMP%]{display:block!important}"]],data:{animation:[{type:7,name:"scaleIn",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"scale(0)"},offset:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"fadeInRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:40,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}},{type:7,name:"fadeInUp",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"scaleFadeIn",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function xn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,3,"button",[["class","ltr:ml-2 mat-focus-indicator"],["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.showOrganization()&&t),t},g.d,g.b)),o.zb(1,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),(l()(),o.Ab(2,0,null,0,1,"ic-icon",[["inline","true"],["size","25px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(3,606208,null,0,_.a,[A.b],{icon:[0,"icon"],inline:[1,"inline"],size:[2,"size"]},null)],function(l,n){var e=n.component;l(n,1,0,"primary"),l(n,3,0,e.icons.icSettings,"true","25px")},function(l,n){l(n,0,0,o.Ob(n,1).disabled||null,"NoopAnimations"===o.Ob(n,1)._animationMode,o.Ob(n,1).disabled),l(n,2,0,o.Ob(n,3).inline,o.Ob(n,3).size,o.Ob(n,3).iconHTML)})}function zn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function _n(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,15,"div",[["class","mt-5 tab-container"]],null,null,null,null,null)),(l()(),o.Ab(1,0,null,null,11,"div",[["class","container "],["fxFlex","100"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(2,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(3,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),o.zb(4,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(5,0,null,null,1,"h5",[],[[24,"@fadeInRight",0]],null,null,null,null)),(l()(),o.Yb(-1,null,["Projects"])),(l()(),o.Ab(7,0,null,null,5,"button",[["class","ltr:ml-3 rtl:mr-4 mat-focus-indicator"],["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.openCreateDialog()&&t),t},g.d,g.b)),o.zb(8,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),(l()(),o.Ab(9,0,null,0,1,"ic-icon",[["class","ltr:mr-1 rtl:ml-1 ltr:-ml-1 rtl:-mr-1"],["inline","true"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(10,606208,null,0,_.a,[A.b],{icon:[0,"icon"],inline:[1,"inline"]},null),(l()(),o.Ab(11,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),o.Yb(-1,null,["CREATE"])),(l()(),o.jb(16777216,null,null,2,null,zn)),o.zb(14,540672,null,0,W.u,[o.R],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),o.Rb(15,{projects:0})],function(l,n){var e=n.component;l(n,2,0,"row"),l(n,3,0,"start center"),l(n,4,0,"100"),l(n,8,0,"primary"),l(n,10,0,e.icons.icAdd,"true");var t=l(n,15,0,e.projects);l(n,14,0,t,o.Ob(n.parent,49))},function(l,n){l(n,5,0,void 0),l(n,7,0,o.Ob(n,8).disabled||null,"NoopAnimations"===o.Ob(n,8)._animationMode,o.Ob(n,8).disabled),l(n,9,0,o.Ob(n,10).inline,o.Ob(n,10).size,o.Ob(n,10).iconHTML)})}function An(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function kn(l){return o.bc(0,[(l()(),o.jb(16777216,null,null,2,null,An)),o.zb(1,540672,null,0,W.u,[o.R],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),o.Rb(2,{projects:0}),(l()(),o.jb(0,null,null,0))],function(l,n){var e=l(n,2,0,n.component.projects);l(n,1,0,e,o.Ob(n.parent.parent,49))},null)}function Cn(l){return o.bc(0,[(l()(),o.Ab(0,16777216,null,null,6,"mat-tab",[["label","Shared With Me"]],null,null,null,rl.f,rl.a)),o.zb(1,770048,[[1,4]],2,cl.d,[o.R,cl.b],{textLabel:[0,"textLabel"]},null),o.Ub(603979776,4,{templateLabel:0}),o.Ub(335544320,5,{_explicitContent:0}),(l()(),o.jb(0,[[5,2]],0,2,null,kn)),o.Tb(6144,null,cl.o,null,[cl.g]),o.zb(6,16384,null,0,cl.g,[o.O],null,null),(l()(),o.jb(0,null,null,0))],function(l,n){l(n,1,0,"Shared With Me")},null)}function wn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function jn(l){return o.bc(0,[(l()(),o.jb(16777216,null,null,2,null,wn)),o.zb(1,540672,null,0,W.u,[o.R],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),o.Rb(2,{projects:0}),(l()(),o.jb(0,null,null,0))],function(l,n){var e=l(n,2,0,n.component.projects);l(n,1,0,e,o.Ob(n.parent,49))},null)}function Mn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"projects-card",[],[[24,"@fadeInUp",0]],[[null,"move"],[null,"view"],[null,"delete"],[null,"toggleStar"],[null,"update"]],function(l,n,e){var t=!0,u=l.component;return"move"===n&&(t=!1!==u.openMoveProjectDialog(e)&&t),"view"===n&&(t=!1!==u.showRequests(e)&&t),"delete"===n&&(t=!1!==u.deleteProject(e)&&t),"toggleStar"===n&&(t=!1!==u.toggleStar(e)&&t),"update"===n&&(t=!1!==u.openUpdateDialog(e)&&t),t},Fl,Ll)),o.zb(1,114688,null,0,Il,[],{project:[0,"project"]},{delete:"delete",move:"move",toggleStar:"toggleStar",update:"update",view:"view"})],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,void 0)})}function Tn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,5,"div",[["class","overflow-y-auto w-full"]],[[24,"@stagger",0]],null,null,null,null)),(l()(),o.Ab(1,0,null,null,4,"div",[["class","p-gutter container"],["gdColumns","1fr 1fr 1fr 1fr"],["gdColumns.lt-md","1fr 1fr"],["gdColumns.xs","1fr"],["gdGap","24px"]],null,null,null,null,null)),o.zb(2,671744,null,0,Rl.h,[o.l,Rl.g,h.i,h.f],{gdColumns:[0,"gdColumns"],"gdColumns.xs":[1,"gdColumns.xs"],"gdColumns.lt-md":[2,"gdColumns.lt-md"]},null),o.zb(3,671744,null,0,Rl.c,[o.l,h.i,Rl.i,h.f],{gdGap:[0,"gdGap"]},null),(l()(),o.jb(16777216,null,null,1,null,Mn)),o.zb(5,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(l,n){var e=n.component;l(n,2,0,"1fr 1fr 1fr 1fr","1fr","1fr 1fr"),l(n,3,0,"24px"),l(n,5,0,n.parent.context.projects,e.trackById)},function(l,n){l(n,0,0,void 0)})}function In(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,6,"div",[["fxFlex","auto"],["fxLayout","column"],["fxLayoutAlign","center center"]],[[24,"@scaleFadeIn",0]],null,null,null,null)),o.zb(1,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(2,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),o.zb(3,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(4,0,null,null,0,"img",[["class","m-12 h-64"],["src","assets/img/illustrations/idea.svg"]],null,null,null,null,null)),(l()(),o.Ab(5,0,null,null,1,"h2",[["class","headline m-0 text-center mb-12"]],null,null,null,null,null)),(l()(),o.Yb(-1,null,["No Projects Found"]))],function(l,n){l(n,1,0,"column"),l(n,2,0,"center center"),l(n,3,0,"auto")},function(l,n){l(n,0,0,void 0)})}function Ln(l){return o.bc(0,[(l()(),o.jb(16777216,null,null,1,null,Tn)),o.zb(1,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(16777216,null,null,1,null,In)),o.zb(3,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(0,null,null,0))],function(l,n){l(n,1,0,n.context.projects.length>0),l(n,3,0,0===n.context.projects.length)},null)}function Sn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),o.Ab(1,0,null,null,2,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==o.Ob(l,2)._checkDisabled(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,2)._handleMouseEnter()&&t),"click"===n&&(t=!1!==u.viewOrganization(l.context.$implicit)&&t),t},Dl.c,Dl.b)),o.zb(2,4374528,[[8,4],[9,4]],0,Nl.g,[o.l,W.d,y.h,[2,Nl.c]],null,null),(l()(),o.Yb(3,0,[" "," "]))],null,function(l,n){l(n,1,0,o.Ob(n,2).role,!0,o.Ob(n,2)._highlighted,o.Ob(n,2)._triggersSubmenu,o.Ob(n,2)._getTabIndex(),o.Ob(n,2).disabled.toString(),o.Ob(n,2).disabled||null),l(n,3,0,n.context.$implicit.name)})}function Pn(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==o.Ob(l,1)._checkDisabled(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,1)._handleMouseEnter()&&t),"click"===n&&(t=!1!==u.viewOrganization(u.shadowOrganization)&&t),t},Dl.c,Dl.b)),o.zb(1,4374528,[[8,4],[9,4]],0,Nl.g,[o.l,W.d,y.h,[2,Nl.c]],null,null),(l()(),o.Yb(-1,0,[" Personal "])),(l()(),o.Ab(3,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,k.b,k.a)),o.zb(4,49152,null,0,C.a,[],null,null),(l()(),o.jb(16777216,null,null,1,null,Sn)),o.zb(6,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"]},null),(l()(),o.jb(0,null,null,0))],function(l,n){l(n,6,0,n.component.organizations)},function(l,n){l(n,0,0,o.Ob(n,1).role,!0,o.Ob(n,1)._highlighted,o.Ob(n,1)._triggersSubmenu,o.Ob(n,1)._getTabIndex(),o.Ob(n,1).disabled.toString(),o.Ob(n,1).disabled||null),l(n,3,0,o.Ob(n,4).vertical?"vertical":"horizontal",o.Ob(n,4).vertical,!o.Ob(n,4).vertical,o.Ob(n,4).inset)})}function Fn(l){return o.bc(0,[o.Qb(0,Hl.a,[]),(l()(),o.Ab(1,0,null,null,47,"div",[["class","h-full"],["fxLayout","column"]],null,null,null,null,null)),o.zb(2,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),(l()(),o.Ab(3,0,null,null,22,"div",[["class","p-4 border-b"],["fxFlex","none"]],null,null,null,null,null)),o.zb(4,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(5,0,null,null,20,"div",[["class","container"]],null,null,null,null,null)),(l()(),o.Ab(6,0,null,null,19,"div",[["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(7,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(8,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(9,0,null,null,16,"nav",[["class","border-0"],["fxFlex","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(10,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),o.zb(11,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(12,0,null,null,3,"span",[["class","w-12 h-12 rounded-full text-primary-500 ltr:mr-4 rtl:ml-4 flex items-center justify-center"]],[[24,"@scaleIn",0],[4,"background-color",null]],null,null,null,null)),o.Sb(13,2),(l()(),o.Ab(14,0,null,null,1,"ic-icon",[["size","24px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(15,606208,null,0,_.a,[A.b],{icon:[0,"icon"],size:[1,"size"]},null),(l()(),o.Ab(16,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),o.Yb(-1,null,["Organization"])),(l()(),o.Ab(18,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","ltr:ml-3 mat-focus-indicator mat-menu-trigger"],["color","primary"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null],[1,"aria-expanded",0],[1,"aria-controls",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(l,n,e){var t=!0;return"mousedown"===n&&(t=!1!==o.Ob(l,20)._handleMousedown(e)&&t),"keydown"===n&&(t=!1!==o.Ob(l,20)._handleKeydown(e)&&t),"click"===n&&(t=!1!==o.Ob(l,20)._handleClick(e)&&t),t},g.d,g.b)),o.zb(19,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),o.zb(20,1196032,null,0,Nl.i,[El.c,o.l,o.R,Nl.d,[2,Nl.c],[8,null],[2,M.b],y.h],{menu:[0,"menu"]},null),(l()(),o.Yb(21,0,[" "," "])),(l()(),o.Ab(22,0,null,0,1,"ic-icon",[["inline","true"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(23,606208,null,0,_.a,[A.b],{icon:[0,"icon"],inline:[1,"inline"]},null),(l()(),o.jb(16777216,null,null,1,null,xn)),o.zb(25,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.Ab(26,0,null,null,22,"div",[["class","p-4"],["fxFlex","none"]],null,null,null,null,null)),o.zb(27,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(28,0,null,null,20,"div",[["class","container"]],null,null,null,null,null)),(l()(),o.Ab(29,0,null,null,19,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedTabChange"]],function(l,n,e){var t=!0;return"selectedTabChange"===n&&(t=!1!==l.component.handleTabChange(e)&&t),t},rl.d,rl.b)),o.zb(30,3325952,null,1,cl.h,[o.l,o.h,[2,cl.a],[2,v.a]],{selectedIndex:[0,"selectedIndex"]},{selectedTabChange:"selectedTabChange"}),o.Ub(603979776,1,{_allTabs:1}),o.Tb(2048,null,cl.b,null,[cl.h]),(l()(),o.Ab(33,16777216,null,null,6,"mat-tab",[],null,null,null,rl.f,rl.a)),o.zb(34,770048,[[1,4]],2,cl.d,[o.R,cl.b],{textLabel:[0,"textLabel"]},null),o.Ub(603979776,2,{templateLabel:0}),o.Ub(335544320,3,{_explicitContent:0}),(l()(),o.jb(0,[[3,2]],0,2,null,_n)),o.Tb(6144,null,cl.o,null,[cl.g]),o.zb(39,16384,null,0,cl.g,[o.O],null,null),(l()(),o.jb(16777216,null,null,1,null,Cn)),o.zb(41,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.Ab(42,16777216,null,null,6,"mat-tab",[["label","Trash"]],null,null,null,rl.f,rl.a)),o.zb(43,770048,[[1,4]],2,cl.d,[o.R,cl.b],{textLabel:[0,"textLabel"]},null),o.Ub(603979776,6,{templateLabel:0}),o.Ub(335544320,7,{_explicitContent:0}),(l()(),o.jb(0,[[7,2]],0,2,null,jn)),o.Tb(6144,null,cl.o,null,[cl.g]),o.zb(48,16384,null,0,cl.g,[o.O],null,null),(l()(),o.jb(0,[["projectCards",2]],null,0,null,Ln)),(l()(),o.Ab(50,0,null,null,20,"mat-menu",[["xPosition","before"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,Dl.d,Dl.a)),o.Tb(6144,null,Nl.c,null,[Nl.e]),o.zb(52,1294336,[["categoryMenu",4]],3,Nl.e,[o.l,o.B,Nl.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),o.Ub(603979776,8,{_allItems:1}),o.Ub(603979776,9,{items:1}),o.Ub(603979776,10,{lazyContent:0}),(l()(),o.jb(16777216,null,0,2,null,Pn)),o.zb(57,147456,null,0,Nl.f,[o.O,o.j,o.g,o.t,o.R,W.d,o.h],null,null),o.Tb(2048,[[10,4]],Nl.a,null,[Nl.f]),(l()(),o.Ab(59,0,null,0,5,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==o.Ob(l,60)._checkDisabled(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,60)._handleMouseEnter()&&t),"click"===n&&(t=!1!==u.showUserOrganizations()&&t),t},Dl.c,Dl.b)),o.zb(60,4374528,[[8,4],[9,4]],0,Nl.g,[o.l,W.d,y.h,[2,Nl.c]],null,null),(l()(),o.Ab(61,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(62,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(63,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Yb(-1,0,[" Manage organizations "])),(l()(),o.Ab(65,0,null,0,5,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==o.Ob(l,66)._checkDisabled(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,66)._handleMouseEnter()&&t),"click"===n&&(t=!1!==u.openCreateOrganizationDialog()&&t),t},Dl.c,Dl.b)),o.zb(66,4374528,[[8,4],[9,4]],0,Nl.g,[o.l,W.d,y.h,[2,Nl.c]],null,null),(l()(),o.Ab(67,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(68,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(69,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Yb(-1,0,[" Create organization "]))],function(l,n){var e=n.component;l(n,2,0,"column"),l(n,4,0,"none"),l(n,7,0,"row"),l(n,8,0,"start center"),l(n,10,0,"start center"),l(n,11,0,"row"),l(n,15,0,e.icons.icPeople,"24px"),l(n,19,0,"primary"),l(n,20,0,o.Ob(n,52)),l(n,23,0,e.icons.icArrowDropDown,"true"),l(n,25,0,!e.selectedOrganization.isShadow),l(n,27,0,"none"),l(n,30,0,e.activeTabIndex),l(n,34,0,o.Hb(1,"",e.selectedOrganization.name,"")),l(n,41,0,e.selectedOrganization.isShadow),l(n,43,0,"Trash"),l(n,52,0,"before","below"),l(n,62,0),l(n,63,0,e.icons.icPeople),l(n,68,0),l(n,69,0,e.icons.icAdd)},function(l,n){var e=n.component,t=o.Zb(n,12,1,l(n,13,0,o.Ob(n,0),e.theme.colors.primary[500],.9));l(n,12,0,void 0,t),l(n,14,0,o.Ob(n,15).inline,o.Ob(n,15).size,o.Ob(n,15).iconHTML),l(n,18,0,o.Ob(n,19).disabled||null,"NoopAnimations"===o.Ob(n,19)._animationMode,o.Ob(n,19).disabled,o.Ob(n,20).menuOpen||null,o.Ob(n,20).menuOpen?o.Ob(n,20).menu.panelId:null),l(n,21,0,e.selectedOrganization.name),l(n,22,0,o.Ob(n,23).inline,o.Ob(n,23).size,o.Ob(n,23).iconHTML),l(n,29,0,o.Ob(n,30).dynamicHeight,"below"===o.Ob(n,30).headerPosition),l(n,50,0,null,null,null),l(n,59,0,o.Ob(n,60).role,!0,o.Ob(n,60)._highlighted,o.Ob(n,60)._triggersSubmenu,o.Ob(n,60)._getTabIndex(),o.Ob(n,60).disabled.toString(),o.Ob(n,60).disabled||null),l(n,61,0,o.Ob(n,62)._usingFontIcon()?"font":"svg",o.Ob(n,62)._svgName||o.Ob(n,62).fontIcon,o.Ob(n,62)._svgNamespace||o.Ob(n,62).fontSet,o.Ob(n,62).inline,"primary"!==o.Ob(n,62).color&&"accent"!==o.Ob(n,62).color&&"warn"!==o.Ob(n,62).color,o.Ob(n,63).inline,o.Ob(n,63).size,o.Ob(n,63).iconHTML),l(n,65,0,o.Ob(n,66).role,!0,o.Ob(n,66)._highlighted,o.Ob(n,66)._triggersSubmenu,o.Ob(n,66)._getTabIndex(),o.Ob(n,66).disabled.toString(),o.Ob(n,66).disabled||null),l(n,67,0,o.Ob(n,68)._usingFontIcon()?"font":"svg",o.Ob(n,68)._svgName||o.Ob(n,68).fontIcon,o.Ob(n,68)._svgNamespace||o.Ob(n,68).fontSet,o.Ob(n,68).inline,"primary"!==o.Ob(n,68).color&&"accent"!==o.Ob(n,68).color&&"warn"!==o.Ob(n,68).color,o.Ob(n,69).inline,o.Ob(n,69).size,o.Ob(n,69).iconHTML)})}var Un,Rn,Dn,Nn=o.wb("projects-index",Kl,function(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"projects-index",[],null,null,null,Fn,vn)),o.zb(1,245760,null,0,Kl,[bn,dn.a,f.e,mn.a,W.i,fn.a,pn.a,hn.a,gn.a,On.a,dn.a,dn.p,yn.a],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),Hn=u("24Fd"),En=u("ZFy/"),Yn=u("OaSA"),Bn=u("GXRp"),qn=u("y3B+"),Vn=u("pMoy"),$n=u("GlcN"),Wn=u("LUZP"),Gn=u("K0NO"),Kn=u("/sr0"),Jn=u("ZuBe"),Xn=u("CtHx"),Qn=u("dbD4"),Zn=u("5QHs"),le=u("DnKK"),ne=u("GFCp"),ee={appearance:"standard"},te=function(){function l(n,e,t,u,i,o,r,c,s,b,d){a(this,l),this.activatedRoute=n,this.dialog=e,this.file=t,this.location=u,this.projectsInvitationResource=i,this.projectMemberIcons=o,this.projectMembersDataService=r,this.projectsUserResource=c,this.projectsUserRoleData=s,this.router=b,this.route=d,this.layoutCtrl=new m.h("boxed"),this.columns=[{label:"Checkbox",property:"checkbox",type:"checkbox",visible:!0},{label:"Role",property:"role",type:"dropdown",visible:!0},{label:"Name",property:"name",type:"text",visible:!0},{label:"Email",property:"email",type:"text",visible:!0}],this.pageIndex=this.route.snapshot.queryParams.page||0,this.pageSize=10,this.pageSizeOptions=[5,10,20,50],this.selection=new Xn.c(!0,[]),this.searchCtrl=new m.h,this.crumbs=[{name:"ProjectsUsers"}]}return i(l,[{key:"ngOnInit",value:function(){var l=this;this.dataSource=new Yn.l,this.projectMembersDataService.members$.subscribe(function(n){l.dataSource.data=n});var n=this.route.snapshot.data.members.map(function(l){return new $l.t(l)});this.projectMembersDataService.set(n),this.searchCtrl.valueChanges.pipe(Object(le.a)(this)).subscribe(function(n){return l.onFilterChange(n)}),this.icons=this.projectMemberIcons,this.roleData=this.projectsUserRoleData}},{key:"ngAfterViewInit",value:function(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}},{key:"getProjectsUsers",value:function(l){var n=this,e=this.getProjectId();this.projectsUserResource.index(e,l).subscribe(function(l){n.projectMembersDataService.set(l)},function(l){})}},{key:"inviteProjectsUser",value:function(l){var n=this,e=this.getProjectId();this.projectsInvitationResource.create(e,l).subscribe(function(l){n.projectMembersDataService.add(l)},function(l){})}},{key:"showProjectsUser",value:function(l){var n=this.file.join("/","users",l.id,"profile");this.router.navigate([n])}},{key:"destroyProjectsUser",value:function(l){var n=this,e=this.getProjectId();l.isInvitee()?this.projectsInvitationResource.destroy(e,l.id).subscribe(function(e){n.projectMembersDataService.deleteByEmail(l.email),n.selection.deselect(l)}):this.projectsUserResource.destroy(e,l.id).subscribe(function(e){n.projectMembersDataService.delete(l.id),n.selection.deselect(l)})}},{key:"destroyProjectsUsers",value:function(l){var n=this;l.forEach(function(l){return n.destroyProjectsUser(l)})}},{key:"updateProjectsUser",value:function(l,n){var e=this.getProjectId();this.projectsUserResource.update(e,l.id,n).subscribe(function(e){for(var t in n)n.hasOwnProperty(t)&&(l[t]=n[t])})}},{key:"openCreateDialog",value:function(){var l=this,n=this.dialog.open(ne.a,{maxWidth:"750px",minWidth:"500px",width:"50%"}),e=n.componentInstance.onCreate.subscribe(function(n){l.inviteProjectsUser(n)});n.afterClosed().subscribe(function(l){e.unsubscribe()})}},{key:"onFilterChange",value:function(l){this.dataSource&&(l=(l=l.trim()).toLowerCase(),this.dataSource.filter=l)}},{key:"toggleColumnVisibility",value:function(l,n){n.stopPropagation(),n.stopImmediatePropagation(),l.visible=!l.visible}},{key:"isAllSelected",value:function(){return this.selection.selected.length===this.dataSource.data.length}},{key:"masterToggle",value:function(){var l=this;this.isAllSelected()?this.selection.clear():this.dataSource.data.forEach(function(n){return l.selection.select(n)})}},{key:"trackByProperty",value:function(l,n){return n.property}},{key:"onPaginateChange",value:function(l){var n=Object.assign({},this.route.snapshot.queryParams);n.page=l.pageIndex;var e=this.router.createUrlTree([],{relativeTo:this.activatedRoute,queryParams:n}).toString();this.location.go(e)}},{key:"getProjectId",value:function(){return this.route.snapshot.parent.params.project_id}},{key:"ngOnDestroy",value:function(){}},{key:"visibleColumns",get:function(){return this.columns.filter(function(l){return l.visible}).map(function(l){return l.property})}}]),l}(),ue=u("h5yU"),ie=u("iCaw"),ae=((Un=function(){function l(n){a(this,l),this.restApi=n,this.PROJECT_ENDPOINT="projects",this.ENDPOINT="invitations"}return i(l,[{key:"index",value:function(l,n){return this.restApi.index([this.PROJECT_ENDPOINT,l,this.ENDPOINT],n)}},{key:"show",value:function(l,n,e){return this.restApi.show([this.PROJECT_ENDPOINT,l,this.ENDPOINT,n],e)}},{key:"create",value:function(l,n){return this.restApi.create([this.PROJECT_ENDPOINT,l,this.ENDPOINT],n)}},{key:"update",value:function(l,n,e){return this.restApi.update([this.PROJECT_ENDPOINT,l,this.ENDPOINT,n],e)}},{key:"destroy",value:function(l,n){return this.restApi.destroy([this.PROJECT_ENDPOINT,l,this.ENDPOINT,n])}}]),l}()).\u0275prov=o.cc({factory:function(){return new Un(o.dc(ie.a))},token:Un,providedIn:"root"}),Un),oe=u("u1Nz"),re=u("2Vo4"),ce=u("D9MS"),se=((Rn=function(){function l(){a(this,l),this.subject=new re.a(null),this.members$=this.subject.asObservable()}return i(l,[{key:"set",value:function(l){this.members=l,this.subject.next(l)}},{key:"add",value:function(l){this.members.unshift(new ce.a(l)),this.set(this.members)}},{key:"delete",value:function(l){this.members.splice(this.members.findIndex(function(n){return n.id===l}),1),this.set(this.members)}},{key:"deleteByEmail",value:function(l){this.members.splice(this.members.findIndex(function(n){return n.email===l}),1),this.set(this.members)}}]),l}()).\u0275prov=o.cc({factory:function(){return new Rn},token:Rn,providedIn:"root"}),Rn),be=u("XTWy"),de=((Dn=function(){function l(){var n=this;a(this,l),this.roleTitlesMap={},this.titleRolesMap={};var e=Object.keys(ce.b);e=e.slice(e.length/2);var t=Object.keys(ce.c);(t=t.slice(t.length/2)).forEach(function(l,t){n.roleTitlesMap[l]=e[t],n.titleRolesMap[e[t]]=l}),this.roleTitles=Object.values(this.roleTitlesMap)}return i(l,[{key:"getRoleTitle",value:function(l){return this.roleTitlesMap[l]}}]),l}()).\u0275prov=o.cc({factory:function(){return new Dn},token:Dn,providedIn:"root"}),Dn),me=o.yb({encapsulation:0,styles:[[".table-container[_ngcontent-%COMP%]{box-sizing:border-box;display:block}"]],data:{animation:[{type:7,name:"fadeInUp",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:40,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}}]}});function fe(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),o.Yb(-1,null,["Members"]))],null,null)}function pe(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),o.Yb(-1,null,["s"]))],null,null)}function he(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),o.Yb(1,null,[""," member"])),(l()(),o.jb(16777216,null,null,1,null,pe)),o.zb(3,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.Yb(-1,null,[" selected"]))],function(l,n){l(n,3,0,n.component.selection.selected.length>1)},function(l,n){l(n,1,0,n.component.selection.selected.length)})}function ge(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,7,"div",[["class","mr-4 pr-4 border-r"],["fxFlex","none"]],null,null,null,null,null)),o.zb(1,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(2,16777216,null,null,5,"button",[["class","mat-focus-indicator mat-tooltip-trigger"],["color","warn"],["mat-icon-button",""],["matTooltip","Remove selected"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.destroyProjectsUsers(u.selection.selected)&&t),t},g.d,g.b)),o.zb(3,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),o.zb(4,4341760,null,0,En.d,[El.c,o.l,J.c,o.R,o.B,T.a,y.c,y.h,En.b,[2,M.b],[2,En.a]],{message:[0,"message"]},null),(l()(),o.Ab(5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(6,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(7,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null)],function(l,n){var e=n.component;l(n,1,0,"none"),l(n,3,0,"warn"),l(n,4,0,"Remove selected"),l(n,6,0),l(n,7,0,e.icons.icDelete)},function(l,n){l(n,2,0,o.Ob(n,3).disabled||null,"NoopAnimations"===o.Ob(n,3)._animationMode,o.Ob(n,3).disabled),l(n,5,0,o.Ob(n,6)._usingFontIcon()?"font":"svg",o.Ob(n,6)._svgName||o.Ob(n,6).fontIcon,o.Ob(n,6)._svgNamespace||o.Ob(n,6).fontSet,o.Ob(n,6).inline,"primary"!==o.Ob(n,6).color&&"accent"!==o.Ob(n,6).color&&"warn"!==o.Ob(n,6).color,o.Ob(n,7).inline,o.Ob(n,7).size,o.Ob(n,7).iconHTML)})}function Oe(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,4,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o.zb(1,16384,null,0,Yn.e,[Bn.e,o.l],null,null),(l()(),o.Ab(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],function(l,n,e){var t=!0;return"change"===n&&(t=!1!==(e?l.component.masterToggle():null)&&t),t},qn.b,qn.a)),o.Tb(5120,null,m.o,function(l){return[l]},[Vn.b]),o.zb(4,12763136,null,0,Vn.b,[o.l,o.h,y.h,o.B,[8,null],[2,v.a],[2,Vn.a]],{color:[0,"color"],checked:[1,"checked"],indeterminate:[2,"indeterminate"]},{change:"change"})],function(l,n){var e=n.component;l(n,4,0,"primary",e.selection.hasValue()&&e.isAllSelected(),e.selection.hasValue()&&!e.isAllSelected())},function(l,n){l(n,2,0,o.Ob(n,4).id,null,o.Ob(n,4).indeterminate,o.Ob(n,4).checked,o.Ob(n,4).disabled,"before"==o.Ob(n,4).labelPosition,"NoopAnimations"===o.Ob(n,4)._animationMode)})}function ye(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,4,"td",[["class","w-4 mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o.zb(1,16384,null,0,Yn.a,[Bn.e,o.l],null,null),(l()(),o.Ab(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"click"]],function(l,n,e){var t=!0;return"change"===n&&(t=!1!==(e?l.component.selection.toggle(l.context.$implicit):null)&&t),"click"===n&&(t=!1!==e.stopPropagation()&&t),t},qn.b,qn.a)),o.Tb(5120,null,m.o,function(l){return[l]},[Vn.b]),o.zb(4,12763136,null,0,Vn.b,[o.l,o.h,y.h,o.B,[8,null],[2,v.a],[2,Vn.a]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"})],function(l,n){l(n,4,0,"primary",n.component.selection.isSelected(n.context.$implicit))},function(l,n){l(n,2,0,o.Ob(n,4).id,null,o.Ob(n,4).indeterminate,o.Ob(n,4).checked,o.Ob(n,4).disabled,"before"==o.Ob(n,4).labelPosition,"NoopAnimations"===o.Ob(n,4)._animationMode)})}function ve(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o.zb(1,16384,null,0,Yn.e,[Bn.e,o.l],null,null)],null,null)}function xe(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"td",[["class","w-8 min-w-8 pr-0 mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o.zb(1,16384,null,0,Yn.a,[Bn.e,o.l],null,null),(l()(),o.Ab(2,0,null,null,0,"img",[["class","avatar h-8 w-8 align-middle"]],[[8,"src",4]],null,null,null,null))],null,function(l,n){l(n,2,0,n.context.$implicit.imageSrc)})}function ze(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,3,"th",[["class","uppercase mat-header-cell mat-sort-header"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"keydown"],[null,"mouseenter"],[null,"mouseleave"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,2)._handleClick()&&t),"keydown"===n&&(t=!1!==o.Ob(l,2)._handleKeydown(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!1)&&t),t},$n.b,$n.a)),o.zb(1,16384,null,0,Yn.e,[Bn.e,o.l],null,null),o.zb(2,4440064,null,0,Wn.c,[Wn.d,o.h,[2,Wn.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"],y.h,o.l],{id:[0,"id"]},null),(l()(),o.Yb(3,0,[" ",""]))],function(l,n){l(n,2,0,"")},function(l,n){l(n,0,0,o.Ob(n,2)._getAriaSortAttribute(),o.Ob(n,2)._isDisabled()),l(n,3,0,n.parent.parent.context.$implicit.label)})}function _e(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o.zb(1,278528,null,0,W.k,[o.u,o.v,o.l,o.G],{ngClass:[0,"ngClass"]},null),o.zb(2,933888,null,0,dl.a,[o.l,h.i,h.f,o.u,o.v,o.G,[6,W.k]],{ngClass:[0,"ngClass"]},null),o.zb(3,16384,null,0,Yn.a,[Bn.e,o.l],null,null),(l()(),o.Yb(4,null,["",""]))],function(l,n){l(n,1,0,n.parent.parent.context.$implicit.cssClasses),l(n,2,0,n.parent.parent.context.$implicit.cssClasses)},function(l,n){l(n,4,0,n.context.$implicit[n.parent.parent.context.$implicit.property])})}function Ae(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,12,null,null,null,null,null,null,null)),o.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yn.c]),o.zb(2,16384,null,3,Yn.c,[[2,Bn.a]],{name:[0,"name"]},null),o.Ub(603979776,14,{cell:0}),o.Ub(603979776,15,{headerCell:0}),o.Ub(603979776,16,{footerCell:0}),o.Tb(2048,[[3,4]],Bn.e,null,[Yn.c]),(l()(),o.jb(0,null,null,2,null,ze)),o.zb(8,16384,null,0,Yn.f,[o.O],null,null),o.Tb(2048,[[15,4]],Bn.k,null,[Yn.f]),(l()(),o.jb(0,null,null,2,null,_e)),o.zb(11,16384,null,0,Yn.b,[o.O],null,null),o.Tb(2048,[[14,4]],Bn.c,null,[Yn.b])],function(l,n){l(n,2,0,n.parent.context.$implicit.property)},null)}function ke(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,null,null,null,null,null,null,null)),(l()(),o.jb(16777216,null,null,1,null,Ae)),o.zb(2,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(0,null,null,0))],function(l,n){l(n,2,0,"text"===n.context.$implicit.type)},null)}function Ce(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,3,"th",[["class","uppercase mat-header-cell mat-sort-header"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"keydown"],[null,"mouseenter"],[null,"mouseleave"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,2)._handleClick()&&t),"keydown"===n&&(t=!1!==o.Ob(l,2)._handleKeydown(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!1)&&t),t},$n.b,$n.a)),o.zb(1,16384,null,0,Yn.e,[Bn.e,o.l],null,null),o.zb(2,4440064,null,0,Wn.c,[Wn.d,o.h,[2,Wn.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"],y.h,o.l],{id:[0,"id"]},null),(l()(),o.Yb(3,0,[" ",""]))],function(l,n){l(n,2,0,"")},function(l,n){l(n,0,0,o.Ob(n,2)._getAriaSortAttribute(),o.Ob(n,2)._isDisabled()),l(n,3,0,n.parent.parent.context.$implicit.label)})}function we(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,5,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o.zb(1,278528,null,0,W.k,[o.u,o.v,o.l,o.G],{ngClass:[0,"ngClass"]},null),o.zb(2,933888,null,0,dl.a,[o.l,h.i,h.f,o.u,o.v,o.G,[6,W.k]],{ngClass:[0,"ngClass"]},null),o.zb(3,16384,null,0,Yn.a,[Bn.e,o.l],null,null),(l()(),o.Yb(4,null,["",""])),o.Sb(5,1)],function(l,n){l(n,1,0,n.parent.parent.context.$implicit.cssClasses),l(n,2,0,n.parent.parent.context.$implicit.cssClasses)},function(l,n){var e=o.Zb(n,4,0,l(n,5,0,o.Ob(n.parent.parent.parent,0),n.context.$implicit[n.parent.parent.context.$implicit.property]));l(n,4,0,e)})}function je(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,12,null,null,null,null,null,null,null)),o.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yn.c]),o.zb(2,16384,null,3,Yn.c,[[2,Bn.a]],{name:[0,"name"]},null),o.Ub(603979776,17,{cell:0}),o.Ub(603979776,18,{headerCell:0}),o.Ub(603979776,19,{footerCell:0}),o.Tb(2048,[[3,4]],Bn.e,null,[Yn.c]),(l()(),o.jb(0,null,null,2,null,Ce)),o.zb(8,16384,null,0,Yn.f,[o.O],null,null),o.Tb(2048,[[18,4]],Bn.k,null,[Yn.f]),(l()(),o.jb(0,null,null,2,null,we)),o.zb(11,16384,null,0,Yn.b,[o.O],null,null),o.Tb(2048,[[17,4]],Bn.c,null,[Yn.b])],function(l,n){l(n,2,0,n.parent.context.$implicit.property)},null)}function Me(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,null,null,null,null,null,null,null)),(l()(),o.jb(16777216,null,null,1,null,je)),o.zb(2,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(0,null,null,0))],function(l,n){l(n,2,0,"date"===n.context.$implicit.type)},null)}function Te(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,3,"th",[["class","uppercase mat-header-cell mat-sort-header"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"keydown"],[null,"mouseenter"],[null,"mouseleave"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,2)._handleClick()&&t),"keydown"===n&&(t=!1!==o.Ob(l,2)._handleKeydown(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!1)&&t),t},$n.b,$n.a)),o.zb(1,16384,null,0,Yn.e,[Bn.e,o.l],null,null),o.zb(2,4440064,null,0,Wn.c,[Wn.d,o.h,[2,Wn.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"],y.h,o.l],{id:[0,"id"]},null),(l()(),o.Yb(-1,0,["Role"]))],function(l,n){l(n,2,0,"")},function(l,n){l(n,0,0,o.Ob(n,2)._getAriaSortAttribute(),o.Ob(n,2)._isDisabled())})}function Ie(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o.zb(1,16384,null,0,Yn.a,[Bn.e,o.l],null,null),(l()(),o.Ab(2,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-focus-indicator mat-menu-trigger"],["color","accent"],["mat-flat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null],[1,"aria-expanded",0],[1,"aria-controls",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],function(l,n,e){var t=!0;return"mousedown"===n&&(t=!1!==o.Ob(l,4)._handleMousedown(e)&&t),"keydown"===n&&(t=!1!==o.Ob(l,4)._handleKeydown(e)&&t),"click"===n&&(t=!1!==o.Ob(l,4)._handleClick(e)&&t),"click"===n&&(t=!1!==e.stopPropagation()&&t),t},g.d,g.b)),o.zb(3,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{disabled:[0,"disabled"],color:[1,"color"]},null),o.zb(4,1196032,null,0,Nl.i,[El.c,o.l,o.R,Nl.d,[2,Nl.c],[8,null],[2,M.b],y.h],{menu:[0,"menu"],menuData:[1,"menuData"]},null),o.Rb(5,{member:0}),(l()(),o.Yb(6,0,[" "," "]))],function(l,n){var e=n.context.$implicit.isInvitee();l(n,3,0,e,"accent");var t=o.Ob(n.parent,151),u=l(n,5,0,n.context.$implicit);l(n,4,0,t,u)},function(l,n){var e=n.component;l(n,2,0,o.Ob(n,3).disabled||null,"NoopAnimations"===o.Ob(n,3)._animationMode,o.Ob(n,3).disabled,o.Ob(n,4).menuOpen||null,o.Ob(n,4).menuOpen?o.Ob(n,4).menu.panelId:null),l(n,6,0,e.roleData.getRoleTitle(n.context.$implicit.role))})}function Le(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"th",[["class","mat-header-cell mat-sort-header"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"keydown"],[null,"mouseenter"],[null,"mouseleave"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==o.Ob(l,2)._handleClick()&&t),"keydown"===n&&(t=!1!==o.Ob(l,2)._handleKeydown(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===n&&(t=!1!==o.Ob(l,2)._setIndicatorHintVisible(!1)&&t),t},$n.b,$n.a)),o.zb(1,16384,null,0,Yn.e,[Bn.e,o.l],null,null),o.zb(2,4440064,null,0,Wn.c,[Wn.d,o.h,[2,Wn.b],[2,"MAT_SORT_HEADER_COLUMN_DEF"],y.h,o.l],{id:[0,"id"]},null)],function(l,n){l(n,2,0,"")},function(l,n){l(n,0,0,o.Ob(n,2)._getAriaSortAttribute(),o.Ob(n,2)._isDisabled())})}function Se(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,8,"td",[["class","w-10 text-secondary mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o.zb(1,16384,null,0,Yn.a,[Bn.e,o.l],null,null),(l()(),o.Ab(2,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","mat-focus-indicator mat-menu-trigger"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null],[1,"aria-expanded",0],[1,"aria-controls",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],function(l,n,e){var t=!0;return"mousedown"===n&&(t=!1!==o.Ob(l,4)._handleMousedown(e)&&t),"keydown"===n&&(t=!1!==o.Ob(l,4)._handleKeydown(e)&&t),"click"===n&&(t=!1!==o.Ob(l,4)._handleClick(e)&&t),"click"===n&&(t=!1!==e.stopPropagation()&&t),t},g.d,g.b)),o.zb(3,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),o.zb(4,1196032,null,0,Nl.i,[El.c,o.l,o.R,Nl.d,[2,Nl.c],[8,null],[2,M.b],y.h],{menu:[0,"menu"],menuData:[1,"menuData"]},null),o.Rb(5,{member:0}),(l()(),o.Ab(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(7,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(8,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null)],function(l,n){var e=n.component,t=o.Ob(n.parent,142),u=l(n,5,0,n.context.$implicit);l(n,4,0,t,u),l(n,7,0),l(n,8,0,e.icons.icMoreHoriz)},function(l,n){l(n,2,0,o.Ob(n,3).disabled||null,"NoopAnimations"===o.Ob(n,3)._animationMode,o.Ob(n,3).disabled,o.Ob(n,4).menuOpen||null,o.Ob(n,4).menuOpen?o.Ob(n,4).menu.panelId:null),l(n,6,0,o.Ob(n,7)._usingFontIcon()?"font":"svg",o.Ob(n,7)._svgName||o.Ob(n,7).fontIcon,o.Ob(n,7)._svgNamespace||o.Ob(n,7).fontSet,o.Ob(n,7).inline,"primary"!==o.Ob(n,7).color&&"accent"!==o.Ob(n,7).color&&"warn"!==o.Ob(n,7).color,o.Ob(n,8).inline,o.Ob(n,8).size,o.Ob(n,8).iconHTML)})}function Pe(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,Gn.d,Gn.a)),o.Tb(6144,null,Bn.l,null,[Yn.g]),o.zb(2,49152,null,0,Yn.g,[],null,null)],null,null)}function Fe(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"tr",[["class","hover:bg-hover trans-ease-out cursor-pointer mat-row"],["mat-row",""],["role","row"]],[[24,"@fadeInUp",0]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.showProjectsUser(l.context.$implicit)&&t),t},Gn.e,Gn.b)),o.Tb(6144,null,Bn.o,null,[Yn.i]),o.zb(2,49152,null,0,Yn.i,[],null,null)],null,function(l,n){l(n,0,0,void 0)})}function Ue(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,7,"button",[["class","checkbox-item mat-menu-item"]],null,[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.toggleColumnVisibility(l.context.$implicit,e)&&t),t},null,null)),(l()(),o.Ab(1,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"],[null,"ngModelChange"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==e.stopPropagation()&&t),"ngModelChange"===n&&(t=!1!==(l.context.$implicit.visible=e)&&t),t},qn.b,qn.a)),o.zb(2,12763136,null,0,Vn.b,[o.l,o.h,y.h,o.B,[8,null],[2,v.a],[2,Vn.a]],{color:[0,"color"]},null),o.Tb(1024,null,m.o,function(l){return[l]},[Vn.b]),o.zb(4,671744,null,0,m.t,[[8,null],[8,null],[8,null],[6,m.o]],{model:[0,"model"]},{update:"ngModelChange"}),o.Tb(2048,null,m.p,null,[m.t]),o.zb(6,16384,null,0,m.q,[[4,m.p]],null,null),(l()(),o.Yb(7,0,[" "," "]))],function(l,n){l(n,2,0,"primary"),l(n,4,0,n.context.$implicit.visible)},function(l,n){l(n,1,1,[o.Ob(n,2).id,null,o.Ob(n,2).indeterminate,o.Ob(n,2).checked,o.Ob(n,2).disabled,"before"==o.Ob(n,2).labelPosition,"NoopAnimations"===o.Ob(n,2)._animationMode,o.Ob(n,6).ngClassUntouched,o.Ob(n,6).ngClassTouched,o.Ob(n,6).ngClassPristine,o.Ob(n,6).ngClassDirty,o.Ob(n,6).ngClassValid,o.Ob(n,6).ngClassInvalid,o.Ob(n,6).ngClassPending]),l(n,7,0,n.context.$implicit.label)})}function Re(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,6,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==o.Ob(l,1)._checkDisabled(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,1)._handleMouseEnter()&&t),"click"===n&&(t=!1!==u.destroyProjectsUser(l.context.member)&&t),t},Dl.c,Dl.b)),o.zb(1,4374528,[[29,4],[30,4]],0,Nl.g,[o.l,W.d,y.h,[2,Nl.c]],null,null),(l()(),o.Ab(2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(3,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(4,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Ab(5,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),o.Yb(-1,null,["Delete"]))],function(l,n){var e=n.component;l(n,3,0),l(n,4,0,e.icons.icDelete)},function(l,n){l(n,0,0,o.Ob(n,1).role,!0,o.Ob(n,1)._highlighted,o.Ob(n,1)._triggersSubmenu,o.Ob(n,1)._getTabIndex(),o.Ob(n,1).disabled.toString(),o.Ob(n,1).disabled||null),l(n,2,0,o.Ob(n,3)._usingFontIcon()?"font":"svg",o.Ob(n,3)._svgName||o.Ob(n,3).fontIcon,o.Ob(n,3)._svgNamespace||o.Ob(n,3).fontSet,o.Ob(n,3).inline,"primary"!==o.Ob(n,3).color&&"accent"!==o.Ob(n,3).color&&"warn"!==o.Ob(n,3).color,o.Ob(n,4).inline,o.Ob(n,4).size,o.Ob(n,4).iconHTML)})}function De(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==o.Ob(l,1)._checkDisabled(e)&&t),"mouseenter"===n&&(t=!1!==o.Ob(l,1)._handleMouseEnter()&&t),"click"===n&&(t=!1!==u.updateProjectsUser(l.parent.context.member,{role:u.roleData.titleRolesMap[l.context.$implicit]})&&t),t},Dl.c,Dl.b)),o.zb(1,4374528,[[32,4],[33,4]],0,Nl.g,[o.l,W.d,y.h,[2,Nl.c]],null,null),(l()(),o.Yb(2,0,[" "," "]))],null,function(l,n){l(n,0,0,o.Ob(n,1).role,!0,o.Ob(n,1)._highlighted,o.Ob(n,1)._triggersSubmenu,o.Ob(n,1)._getTabIndex(),o.Ob(n,1).disabled.toString(),o.Ob(n,1).disabled||null),l(n,2,0,n.context.$implicit)})}function Ne(l){return o.bc(0,[(l()(),o.jb(16777216,null,null,1,null,De)),o.zb(1,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"]},null),(l()(),o.jb(0,null,null,0))],function(l,n){l(n,1,0,n.component.roleData.roleTitles)},null)}function He(l){return o.bc(0,[o.Qb(0,W.e,[o.w]),o.Ub(402653184,1,{paginator:0}),o.Ub(402653184,2,{sort:0}),(l()(),o.Ab(3,0,null,null,128,"vex-page-layout",[["class","vex-page-layout"]],[[2,"vex-page-layout-card",null],[2,"vex-page-layout-simple",null]],null,null,Kn.b,Kn.a)),o.zb(4,49152,null,0,Jn.a,[],null,null),(l()(),o.Ab(5,0,null,0,126,"div",[["class","mt-5 table-container"]],[[2,"px-gutter",null]],null,null,null,null)),(l()(),o.Ab(6,0,null,null,125,"div",[["class","card overflow-auto"]],null,null,null,null,null)),(l()(),o.Ab(7,0,null,null,48,"div",[["class","bg-app-bar px-6 h-16 border-b sticky left-0"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(8,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(9,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(10,0,null,null,6,"h2",[["class","title my-0 ltr:pr-4 rtl:pl-4 ltr:mr-4 rtl:ml-4 ltr:border-r rtl:border-l"],["fxFlex","none"],["fxHide.xs",""]],null,null,null,null,null)),o.zb(11,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(12,4866048,null,0,dl.b,[o.l,dl.d,h.i,h.f,h.e,o.D,h.g],{"fxHide.xs":[0,"fxHide.xs"]},null),(l()(),o.jb(16777216,null,null,1,null,fe)),o.zb(14,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(16777216,null,null,1,null,he)),o.zb(16,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.jb(16777216,null,null,1,null,ge)),o.zb(18,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null),(l()(),o.Ab(19,0,null,null,12,"div",[["class","bg-card rounded-full border px-4"],["fxFlex","400px"],["fxFlex.lt-md","auto"],["fxHide.xs",""],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(20,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(21,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),o.zb(22,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"],"fxFlex.lt-md":[1,"fxFlex.lt-md"]},null),o.zb(23,4866048,null,0,dl.b,[o.l,dl.d,h.i,h.f,h.e,o.D,h.g],{"fxHide.xs":[0,"fxHide.xs"]},null),(l()(),o.Ab(24,0,null,null,1,"ic-icon",[["size","20px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(25,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"],size:[1,"size"]},null),(l()(),o.Ab(26,0,null,null,5,"input",[["class","px-4 py-3 border-0 outline-none w-full bg-transparent"],["placeholder","Search..."],["type","search"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,e){var t=!0;return"input"===n&&(t=!1!==o.Ob(l,27)._handleInput(e.target.value)&&t),"blur"===n&&(t=!1!==o.Ob(l,27).onTouched()&&t),"compositionstart"===n&&(t=!1!==o.Ob(l,27)._compositionStart()&&t),"compositionend"===n&&(t=!1!==o.Ob(l,27)._compositionEnd(e.target.value)&&t),t},null,null)),o.zb(27,16384,null,0,m.e,[o.G,o.l,[2,m.a]],null,null),o.Tb(1024,null,m.o,function(l){return[l]},[m.e]),o.zb(29,540672,null,0,m.i,[[8,null],[8,null],[6,m.o],[2,m.z]],{form:[0,"form"]},null),o.Tb(2048,null,m.p,null,[m.i]),o.zb(31,16384,null,0,m.q,[[4,m.p]],null,null),(l()(),o.Ab(32,0,null,null,1,"span",[["fxFlex",""]],null,null,null,null,null)),o.zb(33,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),(l()(),o.Ab(34,0,null,null,6,"button",[["class","ml-4 mat-focus-indicator"],["fxFlex","none"],["fxHide.gt-xs",""],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],null,null,g.d,g.b)),o.zb(35,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(36,4866048,null,0,dl.b,[o.l,dl.d,h.i,h.f,h.e,o.D,h.g],{"fxHide.gt-xs":[0,"fxHide.gt-xs"]},null),o.zb(37,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),(l()(),o.Ab(38,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(39,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(40,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Ab(41,16777216,null,null,7,"button",[["aria-haspopup","true"],["class","ml-4 mat-focus-indicator mat-menu-trigger mat-tooltip-trigger"],["fxFlex","none"],["mat-icon-button",""],["matTooltip","Filter Columns"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null],[1,"aria-expanded",0],[1,"aria-controls",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(l,n,e){var t=!0;return"mousedown"===n&&(t=!1!==o.Ob(l,44)._handleMousedown(e)&&t),"keydown"===n&&(t=!1!==o.Ob(l,44)._handleKeydown(e)&&t),"click"===n&&(t=!1!==o.Ob(l,44)._handleClick(e)&&t),t},g.d,g.b)),o.zb(42,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(43,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],null,null),o.zb(44,1196032,null,0,Nl.i,[El.c,o.l,o.R,Nl.d,[2,Nl.c],[8,null],[2,M.b],y.h],{menu:[0,"menu"]},null),o.zb(45,4341760,null,0,En.d,[El.c,o.l,J.c,o.R,o.B,T.a,y.c,y.h,En.b,[2,M.b],[2,En.a]],{message:[0,"message"]},null),(l()(),o.Ab(46,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(47,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(48,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Ab(49,16777216,null,null,6,"button",[["class","ml-4 mat-focus-indicator mat-tooltip-trigger"],["color","primary"],["fxFlex","none"],["mat-mini-fab",""],["matTooltip","Create Member"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.openCreateDialog()&&t),t},g.d,g.b)),o.zb(50,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(51,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),o.zb(52,4341760,null,0,En.d,[El.c,o.l,J.c,o.R,o.B,T.a,y.c,y.h,En.b,[2,M.b],[2,En.a]],{message:[0,"message"]},null),(l()(),o.Ab(53,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,x.b,x.a)),o.zb(54,8634368,null,0,z.b,[o.l,z.d,[8,null],z.a,o.n],null,null),o.zb(55,606208,null,0,_.a,[A.b],{icIcon:[0,"icIcon"]},null),(l()(),o.Ab(56,0,null,null,73,"table",[["class","w-full mat-table mat-sort"],["mat-table",""],["matSort",""]],[[24,"@stagger",0],[2,"mat-table-fixed-layout",null]],null,null,Gn.f,Gn.c)),o.Tb(6144,null,Bn.q,null,[Yn.k]),o.Tb(512,null,Xn.f,Xn.e,[]),o.Tb(512,null,Bn.y,Bn.z,[o.B]),o.zb(60,2342912,null,5,Yn.k,[o.u,o.h,o.l,[8,null],[2,M.b],W.d,T.a,[2,Xn.f],[2,Bn.y],[2,J.e]],{dataSource:[0,"dataSource"]},null),o.Ub(603979776,3,{_contentColumnDefs:1}),o.Ub(603979776,4,{_contentRowDefs:1}),o.Ub(603979776,5,{_contentHeaderRowDefs:1}),o.Ub(603979776,6,{_contentFooterRowDefs:1}),o.Ub(603979776,7,{_noDataRow:0}),o.zb(66,737280,[[2,4]],0,Wn.b,[],null,null),o.Tb(2048,null,Bn.a,null,[Yn.k]),(l()(),o.Ab(68,0,null,null,12,null,null,null,null,null,null,null)),o.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yn.c]),o.zb(70,16384,null,3,Yn.c,[[2,Bn.a]],{name:[0,"name"]},null),o.Ub(603979776,8,{cell:0}),o.Ub(603979776,9,{headerCell:0}),o.Ub(603979776,10,{footerCell:0}),o.Tb(2048,[[3,4]],Bn.e,null,[Yn.c]),(l()(),o.jb(0,null,null,2,null,Oe)),o.zb(76,16384,null,0,Yn.f,[o.O],null,null),o.Tb(2048,[[9,4]],Bn.k,null,[Yn.f]),(l()(),o.jb(0,null,null,2,null,ye)),o.zb(79,16384,null,0,Yn.b,[o.O],null,null),o.Tb(2048,[[8,4]],Bn.c,null,[Yn.b]),(l()(),o.Ab(81,0,null,null,12,null,null,null,null,null,null,null)),o.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yn.c]),o.zb(83,16384,null,3,Yn.c,[[2,Bn.a]],{name:[0,"name"]},null),o.Ub(603979776,11,{cell:0}),o.Ub(603979776,12,{headerCell:0}),o.Ub(603979776,13,{footerCell:0}),o.Tb(2048,[[3,4]],Bn.e,null,[Yn.c]),(l()(),o.jb(0,null,null,2,null,ve)),o.zb(89,16384,null,0,Yn.f,[o.O],null,null),o.Tb(2048,[[12,4]],Bn.k,null,[Yn.f]),(l()(),o.jb(0,null,null,2,null,xe)),o.zb(92,16384,null,0,Yn.b,[o.O],null,null),o.Tb(2048,[[11,4]],Bn.c,null,[Yn.b]),(l()(),o.jb(16777216,null,null,1,null,ke)),o.zb(95,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(l()(),o.jb(16777216,null,null,1,null,Me)),o.zb(97,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(l()(),o.Ab(98,0,null,null,12,null,null,null,null,null,null,null)),o.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yn.c]),o.zb(100,16384,null,3,Yn.c,[[2,Bn.a]],{name:[0,"name"]},null),o.Ub(603979776,20,{cell:0}),o.Ub(603979776,21,{headerCell:0}),o.Ub(603979776,22,{footerCell:0}),o.Tb(2048,[[3,4]],Bn.e,null,[Yn.c]),(l()(),o.jb(0,null,null,2,null,Te)),o.zb(106,16384,null,0,Yn.f,[o.O],null,null),o.Tb(2048,[[21,4]],Bn.k,null,[Yn.f]),(l()(),o.jb(0,null,null,2,null,Ie)),o.zb(109,16384,null,0,Yn.b,[o.O],null,null),o.Tb(2048,[[20,4]],Bn.c,null,[Yn.b]),(l()(),o.Ab(111,0,null,null,12,null,null,null,null,null,null,null)),o.Tb(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Yn.c]),o.zb(113,16384,null,3,Yn.c,[[2,Bn.a]],{name:[0,"name"]},null),o.Ub(603979776,23,{cell:0}),o.Ub(603979776,24,{headerCell:0}),o.Ub(603979776,25,{footerCell:0}),o.Tb(2048,[[3,4]],Bn.e,null,[Yn.c]),(l()(),o.jb(0,null,null,2,null,Le)),o.zb(119,16384,null,0,Yn.f,[o.O],null,null),o.Tb(2048,[[24,4]],Bn.k,null,[Yn.f]),(l()(),o.jb(0,null,null,2,null,Se)),o.zb(122,16384,null,0,Yn.b,[o.O],null,null),o.Tb(2048,[[23,4]],Bn.c,null,[Yn.b]),(l()(),o.jb(0,null,null,2,null,Pe)),o.zb(125,540672,null,0,Yn.h,[o.O,o.u,[2,Bn.a]],{columns:[0,"columns"]},null),o.Tb(2048,[[5,4]],Bn.m,null,[Yn.h]),(l()(),o.jb(0,null,null,2,null,Fe)),o.zb(128,540672,null,0,Yn.j,[o.O,o.u,[2,Bn.a]],{columns:[0,"columns"]},null),o.Tb(2048,[[4,4]],Bn.p,null,[Yn.j]),(l()(),o.Ab(130,0,null,null,1,"mat-paginator",[["class","sticky left-0 mat-paginator"]],null,[[null,"page"]],function(l,n,e){var t=!0;return"page"===n&&(t=!1!==l.component.onPaginateChange(e)&&t),t},Qn.b,Qn.a)),o.zb(131,245760,[[1,4]],0,Zn.c,[Zn.d,o.h,[2,Zn.a]],{pageIndex:[0,"pageIndex"],pageSize:[1,"pageSize"],pageSizeOptions:[2,"pageSizeOptions"]},{page:"page"}),(l()(),o.Ab(132,0,null,null,7,"mat-menu",[["xPosition","before"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,Dl.d,Dl.a)),o.Tb(6144,null,Nl.c,null,[Nl.e]),o.zb(134,1294336,[["columnFilterMenu",4]],3,Nl.e,[o.l,o.B,Nl.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),o.Ub(603979776,26,{_allItems:1}),o.Ub(603979776,27,{items:1}),o.Ub(603979776,28,{lazyContent:0}),(l()(),o.jb(16777216,null,0,1,null,Ue)),o.zb(139,278528,null,0,W.m,[o.R,o.O,o.u],{ngForOf:[0,"ngForOf"]},null),(l()(),o.Ab(140,0,null,null,8,"mat-menu",[["xPosition","before"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,Dl.d,Dl.a)),o.Tb(6144,null,Nl.c,null,[Nl.e]),o.zb(142,1294336,[["actionsMenu",4]],3,Nl.e,[o.l,o.B,Nl.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),o.Ub(603979776,29,{_allItems:1}),o.Ub(603979776,30,{items:1}),o.Ub(603979776,31,{lazyContent:0}),(l()(),o.jb(16777216,null,0,2,null,Re)),o.zb(147,147456,null,0,Nl.f,[o.O,o.j,o.g,o.t,o.R,W.d,o.h],null,null),o.Tb(2048,[[31,4]],Nl.a,null,[Nl.f]),(l()(),o.Ab(149,0,null,null,8,"mat-menu",[["xPosition","after"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,Dl.d,Dl.a)),o.Tb(6144,null,Nl.c,null,[Nl.e]),o.zb(151,1294336,[["categoryMenu",4]],3,Nl.e,[o.l,o.B,Nl.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),o.Ub(603979776,32,{_allItems:1}),o.Ub(603979776,33,{items:1}),o.Ub(603979776,34,{lazyContent:0}),(l()(),o.jb(16777216,null,0,2,null,Ne)),o.zb(156,147456,null,0,Nl.f,[o.O,o.j,o.g,o.t,o.R,W.d,o.h],null,null),o.Tb(2048,[[34,4]],Nl.a,null,[Nl.f])],function(l,n){var e=n.component;l(n,8,0,"row"),l(n,9,0,"start center"),l(n,11,0,"none"),l(n,12,0,""),l(n,14,0,e.selection.isEmpty()),l(n,16,0,e.selection.hasValue()),l(n,18,0,e.selection.hasValue()),l(n,20,0,"row"),l(n,21,0,"start center"),l(n,22,0,"400px","auto"),l(n,23,0,""),l(n,25,0,e.icons.icSearch,"20px"),l(n,29,0,e.searchCtrl),l(n,33,0,""),l(n,35,0,"none"),l(n,36,0,""),l(n,39,0),l(n,40,0,e.icons.icSearch),l(n,42,0,"none"),l(n,44,0,o.Ob(n,134)),l(n,45,0,"Filter Columns"),l(n,47,0),l(n,48,0,e.icons.icFilterList),l(n,50,0,"none"),l(n,51,0,"primary"),l(n,52,0,"Create Member"),l(n,54,0),l(n,55,0,e.icons.icAdd),l(n,60,0,e.dataSource),l(n,66,0),l(n,70,0,"checkbox"),l(n,83,0,"image"),l(n,95,0,e.columns,e.trackByProperty),l(n,97,0,e.columns,e.trackByProperty),l(n,100,0,"role"),l(n,113,0,"actions"),l(n,125,0,e.visibleColumns),l(n,128,0,e.visibleColumns),l(n,131,0,e.pageIndex,e.pageSize,e.pageSizeOptions),l(n,134,0,"before","below"),l(n,139,0,e.columns),l(n,142,0,"before","below"),l(n,151,0,"after","below")},function(l,n){var e=n.component;l(n,3,0,o.Ob(n,4).isCard,o.Ob(n,4).isSimple),l(n,5,0,"fullwidth"===e.layoutCtrl.value),l(n,24,0,o.Ob(n,25).inline,o.Ob(n,25).size,o.Ob(n,25).iconHTML),l(n,26,0,o.Ob(n,31).ngClassUntouched,o.Ob(n,31).ngClassTouched,o.Ob(n,31).ngClassPristine,o.Ob(n,31).ngClassDirty,o.Ob(n,31).ngClassValid,o.Ob(n,31).ngClassInvalid,o.Ob(n,31).ngClassPending),l(n,34,0,o.Ob(n,37).disabled||null,"NoopAnimations"===o.Ob(n,37)._animationMode,o.Ob(n,37).disabled),l(n,38,0,o.Ob(n,39)._usingFontIcon()?"font":"svg",o.Ob(n,39)._svgName||o.Ob(n,39).fontIcon,o.Ob(n,39)._svgNamespace||o.Ob(n,39).fontSet,o.Ob(n,39).inline,"primary"!==o.Ob(n,39).color&&"accent"!==o.Ob(n,39).color&&"warn"!==o.Ob(n,39).color,o.Ob(n,40).inline,o.Ob(n,40).size,o.Ob(n,40).iconHTML),l(n,41,0,o.Ob(n,43).disabled||null,"NoopAnimations"===o.Ob(n,43)._animationMode,o.Ob(n,43).disabled,o.Ob(n,44).menuOpen||null,o.Ob(n,44).menuOpen?o.Ob(n,44).menu.panelId:null),l(n,46,0,o.Ob(n,47)._usingFontIcon()?"font":"svg",o.Ob(n,47)._svgName||o.Ob(n,47).fontIcon,o.Ob(n,47)._svgNamespace||o.Ob(n,47).fontSet,o.Ob(n,47).inline,"primary"!==o.Ob(n,47).color&&"accent"!==o.Ob(n,47).color&&"warn"!==o.Ob(n,47).color,o.Ob(n,48).inline,o.Ob(n,48).size,o.Ob(n,48).iconHTML),l(n,49,0,o.Ob(n,51).disabled||null,"NoopAnimations"===o.Ob(n,51)._animationMode,o.Ob(n,51).disabled),l(n,53,0,o.Ob(n,54)._usingFontIcon()?"font":"svg",o.Ob(n,54)._svgName||o.Ob(n,54).fontIcon,o.Ob(n,54)._svgNamespace||o.Ob(n,54).fontSet,o.Ob(n,54).inline,"primary"!==o.Ob(n,54).color&&"accent"!==o.Ob(n,54).color&&"warn"!==o.Ob(n,54).color,o.Ob(n,55).inline,o.Ob(n,55).size,o.Ob(n,55).iconHTML),l(n,56,0,void 0,o.Ob(n,60).fixedLayout),l(n,132,0,null,null,null),l(n,140,0,null,null,null),l(n,149,0,null,null,null)})}var Ee,Ye=o.wb("project-members",te,function(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,2,"project-members",[],null,null,null,He,me)),o.zb(1,4440064,null,0,te,[dn.a,f.e,ue.a,W.i,ae,oe.a,se,be.a,de,dn.p,dn.a],null,null),o.Tb(256,null,j.c,ee,[])],function(l,n){l(n,1,0)},null)},{columns:"columns"},{},[]),Be=u("cK4I"),qe=function(){function l(n,e,t,u){a(this,l),this.dialog=n,this.projectResource=e,this.projectDataService=t,this.projectSettingsIcons=u,this.links=[{label:"MEMBERS",route:"./"},{label:"BILLING",route:"",disabled:!1}]}return i(l,[{key:"ngOnInit",value:function(){var l=this;this.projectDataService.project$.subscribe(function(n){n&&(l.project=new $l.r(n))}),this.icons=this.projectSettingsIcons}},{key:"scenariosPath",value:function(){return"/scenarios"}},{key:"projectQueryParams",value:function(l){return{project_id:l.id}}},{key:"openUpdateProjectDialog",value:function(){var l=this,n=this.dialog.open(Be.a,{maxWidth:"750px",minWidth:"500px",width:"50%",data:this.project}),e=n.componentInstance.onUpdate.subscribe(function(n){l.updateProject(n)});n.afterClosed().subscribe(function(){e.unsubscribe()})}},{key:"updateProject",value:function(l){var n=this;this.projectResource.update(this.project.id,l).subscribe(function(l){n.project=l,n.projectDataService.set(l)},function(l){})}}]),l}(),Ve=u("NBim"),$e=u.n(Ve),We=u("+tDV"),Ge=u.n(We),Ke=u("+q50"),Je=u.n(Ke),Xe=u("OcYv"),Qe=u.n(Xe),Ze=u("6W+F"),lt=u.n(Ze),nt=((Ee=function l(){a(this,l),this.icWork=lt.a,this.icPhone=Cl.a,this.icPersonAdd=Je.a,this.icCheck=Ge.a,this.icMail=N.a,this.icAccessTime=$e.a,this.icAdd=Xl.a,this.icWhatshot=Qe.a,this.icEdit=Ol.a}).\u0275prov=o.cc({factory:function(){return new Ee},token:Ee,providedIn:"root"}),Ee),et=o.yb({encapsulation:0,styles:[[""]],data:{animation:[{type:7,name:"fadeInUp",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"fadeInRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"scaleIn",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"scale(0)"},offset:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:40,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}}]}});function tt(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,53,"div",[["class","mt-6"],["fxLayout","row"],["fxLayout.lt-md","column"],["fxLayoutAlign","start start"],["fxLayoutAlign.lt-md","start stretch"],["fxLayoutGap","24px"]],null,null,null,null,null)),o.zb(1,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"],"fxLayout.lt-md":[1,"fxLayout.lt-md"]},null),o.zb(2,1720320,null,0,p.e,[o.l,o.B,M.b,h.i,p.j,h.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),o.zb(3,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"],"fxLayoutAlign.lt-md":[1,"fxLayoutAlign.lt-md"]},null),(l()(),o.Ab(4,0,null,null,49,"div",[["fxFlex","calc(70% - 12px)"],["fxFlex.lt-md","auto"]],null,null,null,null,null)),o.zb(5,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"],"fxFlex.lt-md":[1,"fxFlex.lt-md"]},null),(l()(),o.Ab(6,0,null,null,47,"div",[["class","card"]],null,null,null,null,null)),(l()(),o.Ab(7,0,null,null,2,"div",[["class","px-gutter py-4 border-b"]],null,null,null,null,null)),(l()(),o.Ab(8,0,null,null,1,"h2",[["class","block title"]],null,null,null,null,null)),(l()(),o.Yb(-1,null,[" Settings "])),(l()(),o.Ab(10,0,null,null,43,"div",[["class","px-gutter py-4"],["gdColumns","1fr"],["gdColumns.xs","1fr"],["gdGap","16px"]],null,null,null,null,null)),o.zb(11,671744,null,0,Rl.h,[o.l,Rl.g,h.i,h.f],{gdColumns:[0,"gdColumns"],"gdColumns.xs":[1,"gdColumns.xs"]},null),o.zb(12,671744,null,0,Rl.c,[o.l,h.i,Rl.i,h.f],{gdGap:[0,"gdGap"]},null),(l()(),o.Ab(13,0,null,null,10,"div",[["class","py-3"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(14,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(15,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(16,0,null,null,2,"div",[["class","w-10 h-10 rounded-full bg-primary-50 text-primary-500 ltr:mr-3 rtl:ml-3 flex items-center justify-center"]],[[24,"@scaleIn",0]],null,null,null,null)),(l()(),o.Ab(17,0,null,null,1,"ic-icon",[["size","20px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(18,606208,null,0,_.a,[A.b],{icon:[0,"icon"],size:[1,"size"]},null),(l()(),o.Ab(19,0,null,null,4,"div",[],[[24,"@fadeInRight",0]],null,null,null,null)),(l()(),o.Ab(20,0,null,null,1,"p",[["class","m-0 body-1"]],null,null,null,null,null)),(l()(),o.Yb(21,null,["",""])),(l()(),o.Ab(22,0,null,null,1,"p",[["class","m-0 caption text-hint"]],null,null,null,null,null)),(l()(),o.Yb(-1,null,["Project display name"])),(l()(),o.Ab(24,0,null,null,10,"div",[["class","py-3"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(25,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(26,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(27,0,null,null,2,"div",[["class","w-10 h-10 rounded-full bg-primary-50 text-primary-500 ltr:mr-3 rtl:ml-3 flex items-center justify-center"]],[[24,"@scaleIn",0]],null,null,null,null)),(l()(),o.Ab(28,0,null,null,1,"ic-icon",[["size","20px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(29,606208,null,0,_.a,[A.b],{icon:[0,"icon"],size:[1,"size"]},null),(l()(),o.Ab(30,0,null,null,4,"div",[],[[24,"@fadeInRight",0]],null,null,null,null)),(l()(),o.Ab(31,0,null,null,1,"p",[["class","m-0 body-1"]],null,null,null,null,null)),(l()(),o.Yb(32,null,["",""])),(l()(),o.Ab(33,0,null,null,1,"p",[["class","m-0 caption text-hint"]],null,null,null,null,null)),(l()(),o.Yb(-1,null,["Description"])),(l()(),o.Ab(35,0,null,null,10,"div",[["class","py-3"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),o.zb(36,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(37,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(38,0,null,null,2,"div",[["class","w-10 h-10 rounded-full bg-primary-50 text-primary-500 ltr:mr-3 rtl:ml-3 flex items-center justify-center"]],[[24,"@scaleIn",0]],null,null,null,null)),(l()(),o.Ab(39,0,null,null,1,"ic-icon",[["size","20px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),o.zb(40,606208,null,0,_.a,[A.b],{icon:[0,"icon"],size:[1,"size"]},null),(l()(),o.Ab(41,0,null,null,4,"div",[],[[24,"@fadeInRight",0]],null,null,null,null)),(l()(),o.Ab(42,0,null,null,1,"p",[["class","m-0 body-1"]],null,null,null,null,null)),(l()(),o.Yb(43,null,["",""])),(l()(),o.Ab(44,0,null,null,1,"p",[["class","m-0 caption text-hint"]],null,null,null,null,null)),(l()(),o.Yb(-1,null,["Project Key"])),(l()(),o.Ab(46,0,null,null,7,"div",[["class","py-3"],["fxLayout","row"],["fxLayoutAlign","start"]],null,null,null,null,null)),o.zb(47,671744,null,0,p.d,[o.l,h.i,p.k,h.f],{fxLayout:[0,"fxLayout"]},null),o.zb(48,671744,null,0,p.c,[o.l,h.i,p.i,h.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),o.Ab(49,0,null,null,4,"button",[["class","rtl:mr-4 mat-focus-indicator"],["color","primary"],["fxFlex","none"],["fxHide.xs",""],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.openUpdateProjectDialog()&&t),t},g.d,g.b)),o.zb(50,737280,null,0,p.b,[o.l,h.i,h.e,p.h,h.f],{fxFlex:[0,"fxFlex"]},null),o.zb(51,4866048,null,0,dl.b,[o.l,dl.d,h.i,h.f,h.e,o.D,h.g],{"fxHide.xs":[0,"fxHide.xs"]},null),o.zb(52,4374528,null,0,O.b,[o.l,y.h,[2,v.a]],{color:[0,"color"]},null),(l()(),o.Yb(-1,0,[" EDIT "]))],function(l,n){var e=n.component;l(n,1,0,"row","column"),l(n,2,0,"24px"),l(n,3,0,"start start","start stretch"),l(n,5,0,"calc(70% - 12px)","auto"),l(n,11,0,"1fr","1fr"),l(n,12,0,"16px"),l(n,14,0,"row"),l(n,15,0,"start center"),l(n,18,0,e.icons.icPhone,"20px"),l(n,25,0,"row"),l(n,26,0,"start center"),l(n,29,0,e.icons.icWork,"20px"),l(n,36,0,"row"),l(n,37,0,"start center"),l(n,40,0,e.icons.icWork,"20px"),l(n,47,0,"row"),l(n,48,0,"start"),l(n,50,0,"none"),l(n,51,0,""),l(n,52,0,"primary")},function(l,n){var e=n.component;l(n,16,0,void 0),l(n,17,0,o.Ob(n,18).inline,o.Ob(n,18).size,o.Ob(n,18).iconHTML),l(n,19,0,void 0),l(n,21,0,e.project.name),l(n,27,0,void 0),l(n,28,0,o.Ob(n,29).inline,o.Ob(n,29).size,o.Ob(n,29).iconHTML),l(n,30,0,void 0),l(n,32,0,e.project.description||"N/A"),l(n,38,0,void 0),l(n,39,0,o.Ob(n,40).inline,o.Ob(n,40).size,o.Ob(n,40).iconHTML),l(n,41,0,void 0),l(n,43,0,e.project.key),l(n,49,0,o.Ob(n,52).disabled||null,"NoopAnimations"===o.Ob(n,52)._animationMode,o.Ob(n,52).disabled)})}function ut(l){return o.bc(0,[(l()(),o.jb(16777216,null,null,1,null,tt)),o.zb(1,16384,null,0,W.n,[o.R,o.O],{ngIf:[0,"ngIf"]},null)],function(l,n){l(n,1,0,n.component.project)},null)}var it,at,ot,rt=o.wb("project-settings",qe,function(l){return o.bc(0,[(l()(),o.Ab(0,0,null,null,1,"project-settings",[],null,null,null,ut,et)),o.zb(1,114688,null,0,qe,[f.e,hn.a,fn.a,nt],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),ct=u("yCYx"),st=u("9b/N"),bt=u("TN/R"),dt=u("IheW"),mt=u("1z/I"),ft=u("u9T3"),pt=u("68Yx"),ht=u("Chvm"),gt=u("ckCZ"),Ot=function l(){a(this,l)},yt=function l(){a(this,l)},vt=u("zQhy"),xt=u("tq8E"),zt=function l(){a(this,l)},_t=function l(){a(this,l)},At=u("7lCJ"),kt=u("J0XA"),Ct=u("CE41"),wt=u("Ynp+"),jt=u("PCNd"),Mt=u("KOEO"),Tt=u("PDjf"),It=u("zHaW"),Lt=u("iItg"),St=u("uSXD"),Pt=u("5RkR"),Ft=u("W9Vp"),Ut=u("ebis"),Rt=u("99iP"),Dt=((at=function(){function l(n,e,t){a(this,l),this.projectDataService=n,this.router=e,this.uri=t}return i(l,[{key:"canActivate",value:function(l,n){var e=this.projectDataService.project;if(e){var t=this.router.getCurrentNavigation().finalUrl,u=null==t?void 0:t.queryParams;if(!(null==u?void 0:u.organization_id)){var i=this.uri.class(n.url);return this.router.navigate([i.pathname],{queryParams:{organization_id:e.organizationId}}),!1}}return!0}}]),l}()).\u0275prov=o.cc({factory:function(){return new at(o.dc(fn.a),o.dc(dn.p),o.dc(Rt.a))},token:at,providedIn:"root"}),at),Nt=((it=function(){function l(n){a(this,l),this.organizationResource=n}return i(l,[{key:"resolve",value:function(l){var n={};return l.data.shadow&&(n.shadow=!0),this.organizationResource.index(n)}}]),l}()).\u0275prov=o.cc({factory:function(){return new it(o.dc(On.a))},token:it,providedIn:"root"}),it),Ht=u("qJKI"),Et=u("7JS9"),Yt=((ot=function(){function l(n){a(this,l),this.projectsUserResource=n}return i(l,[{key:"resolve",value:function(l){return this.projectsUserResource.index(l.parent.params.project_id)}}]),l}()).\u0275prov=o.cc({factory:function(){return new ot(o.dc(be.a))},token:ot,providedIn:"root"}),ot),Bt=u("1MPc"),qt=u("98S0"),Vt={shadow:!0},$t=function l(){a(this,l)},Wt=o.xb(r,[],function(l){return o.Lb([o.Mb(512,o.j,o.bb,[[8,[c.a,s.a,b.b,b.a,d.a,V,tl,ul.a,il.a,al.a,al.b,ol.a,Nn,Hn.a,Ye,rt,ct.a]],[3,o.j],o.z]),o.Mb(4608,W.p,W.o,[o.w]),o.Mb(4608,st.c,st.c,[]),o.Mb(4608,El.c,El.c,[El.j,El.e,o.j,El.i,El.f,o.t,o.B,W.d,M.b,W.i,El.h]),o.Mb(5120,El.k,El.l,[El.c]),o.Mb(5120,f.c,f.d,[El.c]),o.Mb(135680,f.e,f.e,[El.c,o.t,[2,W.i],[2,f.b],f.c,[3,f.e],El.e]),o.Mb(5120,K.b,K.c,[El.c]),o.Mb(5120,En.b,En.c,[El.c]),o.Mb(5120,Nl.d,Nl.k,[El.c]),o.Mb(5120,o.b,function(l,n){return[h.j(l,n)]},[W.d,o.D]),o.Mb(4608,L.d,L.d,[]),o.Mb(4608,bt.n,bt.n,[]),o.Mb(5120,bt.a,bt.b,[El.c]),o.Mb(4608,m.g,m.g,[]),o.Mb(4608,m.y,m.y,[]),o.Mb(4608,L.c,L.x,[[2,L.g],T.a]),o.Mb(4608,bl.d,bl.d,[]),o.Mb(4608,bl.e,bl.e,[[2,bl.f]]),o.Mb(4608,bl.c,bl.c,[dt.c,bl.e]),o.Mb(5120,Zn.d,Zn.b,[[3,Zn.d]]),o.Mb(5120,Wn.d,Wn.a,[[3,Wn.d]]),o.Mb(4608,oe.a,oe.a,[]),o.Mb(1073742336,W.c,W.c,[]),o.Mb(1073742336,M.a,M.a,[]),o.Mb(1073742336,L.l,L.l,[y.j,[2,L.e],W.d]),o.Mb(1073742336,mt.g,mt.g,[]),o.Mb(1073742336,T.b,T.b,[]),o.Mb(1073742336,L.w,L.w,[]),o.Mb(1073742336,st.d,st.d,[]),o.Mb(1073742336,y.a,y.a,[y.j]),o.Mb(1073742336,cl.m,cl.m,[]),o.Mb(1073742336,O.c,O.c,[]),o.Mb(1073742336,J.b,J.b,[]),o.Mb(1073742336,J.d,J.d,[]),o.Mb(1073742336,El.g,El.g,[]),o.Mb(1073742336,f.k,f.k,[]),o.Mb(1073742336,C.b,C.b,[]),o.Mb(1073742336,z.c,z.c,[]),o.Mb(1073742336,L.u,L.u,[]),o.Mb(1073742336,L.r,L.r,[]),o.Mb(1073742336,j.i,j.i,[]),o.Mb(1073742336,K.e,K.e,[]),o.Mb(1073742336,En.e,En.e,[]),o.Mb(1073742336,Nl.j,Nl.j,[]),o.Mb(1073742336,Nl.h,Nl.h,[]),o.Mb(1073742336,h.c,h.c,[]),o.Mb(1073742336,p.g,p.g,[]),o.Mb(1073742336,dl.c,dl.c,[]),o.Mb(1073742336,Rl.a,Rl.a,[]),o.Mb(1073742336,ft.a,ft.a,[h.g,o.D]),o.Mb(1073742336,_.b,_.b,[]),o.Mb(1073742336,pt.a,pt.a,[]),o.Mb(1073742336,ht.a,ht.a,[]),o.Mb(1073742336,S.c,S.c,[]),o.Mb(1073742336,I.b,I.b,[]),o.Mb(1073742336,bt.o,bt.o,[]),o.Mb(1073742336,m.x,m.x,[]),o.Mb(1073742336,m.u,m.u,[]),o.Mb(1073742336,L.y,L.y,[]),o.Mb(1073742336,L.o,L.o,[]),o.Mb(1073742336,gt.a,gt.a,[]),o.Mb(1073742336,Ot,Ot,[]),o.Mb(1073742336,bl.b,bl.b,[]),o.Mb(1073742336,yt,yt,[]),o.Mb(1073742336,vt.d,vt.d,[]),o.Mb(1073742336,xt.c,xt.c,[]),o.Mb(1073742336,zt,zt,[]),o.Mb(1073742336,_t,_t,[]),o.Mb(1073742336,At.a,At.a,[]),o.Mb(1073742336,dn.t,dn.t,[[2,dn.z],[2,dn.p]]),o.Mb(1073742336,kt.a,kt.a,[]),o.Mb(1073742336,Ct.a,Ct.a,[]),o.Mb(1073742336,Zn.e,Zn.e,[]),o.Mb(1073742336,Bn.r,Bn.r,[]),o.Mb(1073742336,Yn.m,Yn.m,[]),o.Mb(1073742336,Wn.e,Wn.e,[]),o.Mb(1073742336,Vn.d,Vn.d,[]),o.Mb(1073742336,Vn.c,Vn.c,[]),o.Mb(1073742336,m.m,m.m,[]),o.Mb(1073742336,wt.a,wt.a,[]),o.Mb(1073742336,jt.a,jt.a,[]),o.Mb(1073742336,Mt.a,Mt.a,[]),o.Mb(1073742336,Tt.e,Tt.e,[]),o.Mb(1073742336,It.e,It.e,[]),o.Mb(1073742336,Lt.a,Lt.a,[]),o.Mb(1073742336,St.a,St.a,[]),o.Mb(1073742336,Pt.a,Pt.a,[]),o.Mb(1073742336,Ft.a,Ft.a,[]),o.Mb(1073742336,Ut.a,Ut.a,[]),o.Mb(1073742336,$t,$t,[]),o.Mb(1073742336,r,r,[]),o.Mb(256,L.f,L.h,[]),o.Mb(1024,dn.n,function(){return[[{canActivate:[Dt],path:"",component:Kl,resolve:{projects:Et.a,organizations:Nt},data:Vt},{path:":project_id",component:qt.a,resolve:{project:Ht.a},children:[{path:"",component:te,resolve:{members:Yt}},{path:"settings",component:qe,resolve:{project:Ht.a}},{path:"members",component:te,resolve:{members:Yt}},{path:"proxy-settings",component:Bt.a}]}]]},[])])})},bE8U:function(l,n){n.__esModule=!0,n.default={body:'<path opacity=".3" d="M12 15.4l-3.76 2.27l1-4.28l-3.32-2.88l4.38-.38L12 6.1l1.71 4.04l4.38.38l-3.32 2.88l1 4.28z" fill="currentColor"/><path d="M22 9.24l-7.19-.62L12 2L9.19 8.63L2 9.24l5.46 4.73L5.82 21L12 17.27L18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27l1-4.28l-3.32-2.88l4.38-.38L12 6.1l1.71 4.04l4.38.38l-3.32 2.88l1 4.28L12 15.4z" fill="currentColor"/>',width:24,height:24}},baq9:function(l,n){n.__esModule=!0,n.default={body:'<path opacity=".3" d="M8 16h12V4H8v12zm3.5-4.33l1.69 2.26l2.48-3.09L19 15H9l2.5-3.33z" fill="currentColor"/><path d="M8 2c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H8zm12 14H8V4h12v12zm-4.33-5.17l-2.48 3.09l-1.69-2.25L9 15h10zM4 22h14v-2H4V6H2v14c0 1.1.9 2 2 2z" fill="currentColor"/>',width:24,height:24}},"h+Y6":function(l,n){n.__esModule=!0,n.default={body:'<path d="M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2zm-3-4h8v2H8z" fill="currentColor"/>',width:24,height:24}},om0Q:function(l,n){n.__esModule=!0,n.default={body:'<path opacity=".3" d="M20 4H4v13.17L5.17 16H20V4zm-6 10H6v-2h8v2zm4-3H6V9h12v2zm0-3H6V6h12v2z" fill="currentColor"/><path d="M20 18c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14zm-16-.83V4h16v12H5.17L4 17.17zM6 12h8v2H6zm0-3h12v2H6zm0-3h12v2H6z" fill="currentColor"/>',width:24,height:24}},qJKI:function(l,n,e){"use strict";e.d(n,"a",function(){return r});var t=e("8Y7J"),u=e("4UAC"),o=e("msBP"),r=function(){var l=function(){function l(n,e){a(this,l),this.projectResource=n,this.projectDataService=e}return i(l,[{key:"resolve",value:function(l){return this.projectDataService.get(l.queryParams.project_id||l.params.project_id||l.parent.params.project_id)}}]),l}();return l.\u0275prov=t.cc({factory:function(){return new l(t.dc(u.a),t.dc(o.a))},token:l,providedIn:"root"}),l}()},rwX0:function(l,n){n.__esModule=!0,n.default={body:'<circle cx="9" cy="8.5" opacity=".3" r="1.5" fill="currentColor"/><path opacity=".3" d="M4.34 17h9.32c-.84-.58-2.87-1.25-4.66-1.25s-3.82.67-4.66 1.25z" fill="currentColor"/><path d="M9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5S5.5 6.57 5.5 8.5S7.07 12 9 12zm0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7zm0 6.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5zM4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25H4.34zm11.7-3.19c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44zM15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35c.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35z" fill="currentColor"/>',width:24,height:24}}}])}();