diff --git a/docs/1-es2015.2998d1779c270dab4afc.js b/docs/1-es2015.2998d1779c270dab4afc.js deleted file mode 100644 index c4d2476..0000000 --- a/docs/1-es2015.2998d1779c270dab4afc.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"8aeQ":function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var o=e("fXoL"),i=e("tyNb");let c=(()=>{class t{constructor(){this.fullYear=(new Date).getFullYear()}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Eb({type:t,selectors:[["px-footer"]],decls:21,vars:2,consts:[[1,"footer","p-4","container-fluid"],[1,"mt-5","px-2","footer-items","row","w-100","text-center","text-md-left"],[1,"col-12","col-md-8","footer-links"],["href","#",1,"d-block","d-md-inline-block","mr-md-3","mb-3",3,"routerLink"],["target","_blank","href","https://core.ai/privacy.html",1,"d-block","d-md-inline-block","mr-md-3","mb-3"],["target","_blank","href","https://core.ai/terms-of-service.html",1,"d-block","d-md-inline-block","mr-md-3","mb-3"],["target","_blank","href","https://www.gnu.org/licenses/agpl-3.0.en.html",1,"d-block","d-md-inline-block","mr-md-3","mb-3"],[1,"col-12","col-md-4","d-flex","justify-content-center","justify-content-md-end","align-items-center","mt-3","mt-md-0"],[1,"m-0","p-0",2,"color","red"],[1,"container-fluid","align-middle","text-center","mt-4"],[1,"copyright"]],template:function(t,n){1&t&&(o.Pb(0,"section",0),o.Pb(1,"div",1),o.Pb(2,"div",2),o.Pb(3,"a",3),o.nc(4,"About"),o.Ob(),o.Pb(5,"a",4),o.nc(6,"Privacy Policy"),o.Ob(),o.Pb(7,"a",5),o.nc(8,"Terms of service"),o.Ob(),o.Pb(9,"a",6),o.nc(10,"License"),o.Ob(),o.Ob(),o.Pb(11,"div",7),o.Pb(12,"span"),o.nc(13,"Made with "),o.Pb(14,"span",8),o.nc(15,"\u2764\ufe0e"),o.Ob(),o.nc(16," and Javascript in Phoenix"),o.Ob(),o.Ob(),o.Ob(),o.Pb(17,"div",9),o.Pb(18,"span",10),o.nc(19),o.Ob(),o.Ob(),o.Lb(20,"br"),o.Ob()),2&t&&(o.zb(3),o.cc("routerLink","/about"),o.zb(16),o.pc("\xa9 ",n.fullYear," copyright core.ai "))},directives:[i.d],styles:[".footer[_ngcontent-%COMP%]{color:var(--text-color-light);background:url(borderline.9e1f2c6f68b559f9fe01.png),linear-gradient(#282727,#282727);background-position:bottom;background-repeat:no-repeat}@media (max-width:500px){.footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}}.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--text-color-light)}@media (max-width:690px){.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block}}.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--accent-color)}.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%]{color:var(--text-color-gray)}"]}),t})()},QtF9:function(t,n,e){"use strict";e.r(n),e.d(n,"MainModule",(function(){return Y}));var o=e("ofXK"),i=e("tyNb"),c=e("fXoL"),r=e("d6/a"),a=e("2Vo4"),s=e("vkgz"),l=e("tk/3");let d=(()=>{class t{constructor(t){this.http=t,this.apiUrl="https://updates.phcode.io/install.json",this.alertsUrl="https://updates.phcode.io/siteNotifications/en.json"}getDownloadUrls(){return this.http.get(""+this.apiUrl)}getCriticalAlerts(){return this.http.get(""+this.alertsUrl)}}return t.\u0275fac=function(n){return new(n||t)(c.Tb(l.b))},t.\u0275prov=c.Gb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t){this.apiService=t,this.criticalAlertsSubject=new a.a(null),this.criticalAlerts$=this.criticalAlertsSubject.asObservable()}fetchCriticalAlerts(){return null===this.criticalAlertsSubject.value?this.apiService.getCriticalAlerts().pipe(Object(s.a)(t=>this.criticalAlertsSubject.next(t))):this.criticalAlerts$}}return t.\u0275fac=function(n){return new(n||t)(c.Tb(d))},t.\u0275prov=c.Gb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function g(t,n){if(1&t){const t=c.Qb();c.Pb(0,"button",5),c.Xb("click",(function(){return c.gc(t),c.bc(2).closeAlert()})),c.nc(1,"\xd7"),c.Ob()}}function p(t,n){if(1&t&&(c.Pb(0,"div",1),c.mc(1,g,2,0,"button",2),c.Pb(2,"h3",3),c.nc(3),c.Ob(),c.Pb(4,"p",4),c.nc(5),c.Ob(),c.Ob()),2&t){const t=c.bc();c.cc("ngClass","alert alert-"+t.activeAlert.type+"-"+t.activeAlert.severity),c.zb(1),c.cc("ngIf",t.activeAlert.dismissable),c.zb(2),c.oc(t.activeAlert.titleHTML),c.zb(2),c.oc(t.activeAlert.messageHTML)}}var m=function(t){return t.Critical="critical",t.Warning="warning",t.Info="info",t}({});let f=(()=>{class t{constructor(t){this.alertService=t,this.activeAlert=null}ngOnInit(){this.getCriticalAlerts()}getCriticalAlerts(){this.alertService.fetchCriticalAlerts().subscribe(t=>{let n=this.getMobileOperatingSystem()||window.navigator.platform.toLowerCase();n.includes("mac")?n="mac":n.includes("win")?n="win":n.includes("linux")&&(n="linux");const e=t[n];(null==e?void 0:e.messageHTML)&&(null==e?void 0:e.titleHTML)?(this.activeAlert=e,this.activeAlert.severity=this.activeAlert.severity||m.Critical,this.activeAlert.dismissable=this.activeAlert.dismissable||!1,this.activeAlert.type=this.activeAlert.type||3):this.activeAlert=null},()=>{console.error("Failed to get Critical Alerts")})}closeAlert(){this.activeAlert=null}getMobileOperatingSystem(){var t,n=navigator.userAgent||navigator.vendor;return/android/i.test(n)?"android":!(!/iPad|iPhone|iPod/.test(n)||(null===(t=window)||void 0===t?void 0:t.MSStream))&&"ios"}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(b))},t.\u0275cmp=c.Eb({type:t,selectors:[["px-alert"]],decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],["class","close",3,"click",4,"ngIf"],[1,"alert-title"],[1,"alert-content"],[1,"close",3,"click"]],template:function(t,n){1&t&&c.mc(0,p,6,4,"div",0),2&t&&c.cc("ngIf",n.activeAlert)},directives:[o.t,o.q],styles:[".close[_ngcontent-%COMP%]{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;position:absolute;top:10px;right:10px;outline:none}.alert[_ngcontent-%COMP%]{max-width:25vw;padding:20px;margin:8px;position:fixed;top:100px;right:30px;z-index:100}.alert-1-primary[_ngcontent-%COMP%]{background-color:rgba(77,77,255,.3)}.alert-1-primary[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#4d4dff}.alert-1-warning[_ngcontent-%COMP%]{background-color:rgba(255,186,0,.3)}.alert-1-warning[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#ffba00}.alert-2-warning[_ngcontent-%COMP%]{border-left:4px solid #ffba00;background-color:rgba(255,186,0,.5)}.alert-2-warning[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#ffe399}.alert-3-warning[_ngcontent-%COMP%]{border:1px solid #b38200;border-radius:8px;background-color:rgba(255,186,0,.85)}.alert-3-warning[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#fff}.alert-2-success[_ngcontent-%COMP%]{border-left:4px solid #2ec946;background-color:rgba(46,201,70,.5)}.alert-2-success[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#a5ebb0}.alert-2-secondary[_ngcontent-%COMP%]{border-left:4px solid #666;background-color:hsla(0,0%,40%,.5)}.alert-2-secondary[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#b3b3b3}.alert-1-info[_ngcontent-%COMP%]{background-color:rgba(77,77,255,.3)}.alert-1-info[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#4d4dff}.alert-2-info[_ngcontent-%COMP%]{border-left:4px solid #4d4dff;background-color:rgba(77,77,255,.5)}.alert-2-info[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#e6e6ff}.alert-3-info[_ngcontent-%COMP%]{border:1px solid #0101ff;border-radius:8px;background-color:rgba(77,77,255,.85)}.alert-3-info[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#fff}.alert-1-critical[_ngcontent-%COMP%]{background-color:rgba(95,33,32,.3)}.alert-1-critical[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#5f2120}.alert-2-critical[_ngcontent-%COMP%]{border-left:4px solid #5f2120;background-color:rgba(95,33,32,.5)}.alert-2-critical[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#c55553}.alert-3-critical[_ngcontent-%COMP%]{border:1px solid #260d0d;border-radius:8px;background-color:rgba(95,33,32,.85)}.alert-3-critical[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#e5b3b2}.alert-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:8px;font-size:18px;font-family:Poppins,sans-serif}.alert-content[_ngcontent-%COMP%]{margin:0;font-size:14px;font-family:Open Sans,sans-serif;color:#fcfcfc}"]}),t})();var h=e("R0Ic");const u=["downloadLink"],v=["codeSnippet"];function O(t,n){1&t&&(c.Pb(0,"p",15),c.nc(1,"Copy and paste into your Linux terminal to install"),c.Ob())}function P(t,n){if(1&t){const t=c.Qb();c.Nb(0),c.Pb(1,"button",16),c.Xb("click",(function(){return c.gc(t),c.bc(2).downloadFile()})),c.Pb(2,"p",17),c.ac(),c.Pb(3,"svg",18),c.Lb(4,"path",19),c.Lb(5,"path",20),c.Ob(),c.nc(6," Download"),c.Ob(),c.Zb(),c.Pb(7,"span",21),c.nc(8),c.Ob(),c.Ob(),c.Lb(9,"a",22,23),c.Mb()}if(2&t){const t=c.bc(2);c.zb(8),c.pc(" ",t.DownloadBtnLabel," "),c.zb(1),c.cc("href",t.DownloadBtnUrl,c.ic)}}function x(t,n){1&t&&(c.Pb(0,"span",31),c.nc(1,"Copied to clipboard"),c.Ob()),2&t&&c.cc("@enterAnimation",void 0)}function w(t,n){if(1&t){const t=c.Qb();c.Nb(0),c.mc(1,x,2,1,"span",24),c.Pb(2,"button",25),c.Xb("click",(function(){return c.gc(t),c.bc(2).copyCode()})),c.ac(),c.Pb(3,"svg",26),c.Lb(4,"path",27),c.Ob(),c.Ob(),c.Zb(),c.Pb(5,"div",28),c.Xb("click",(function(){return c.gc(t),c.bc(2).copyCode()})),c.Pb(6,"code",29,30),c.nc(8,"wget -qO- https://updates.phcode.io/linux/installer.sh | bash"),c.Ob(),c.Ob(),c.Mb()}if(2&t){const t=c.bc(2);c.zb(1),c.cc("ngIf",t.copied)}}function M(t,n){if(1&t){const t=c.Qb();c.Pb(0,"a",32),c.Xb("click",(function(){c.gc(t);const e=n.$implicit;return c.bc(2).selectPlatform(e.key)})),c.nc(1),c.Ob()}if(2&t){const t=n.$implicit;c.zb(1),c.oc(t.label)}}function C(t,n){1&t&&(c.Nb(0),c.Pb(1,"div",33),c.Pb(2,"span",34),c.nc(3,"Supported on Ubuntu 20+, Fedora 34+, Arch Linux and many more..."),c.Ob(),c.Pb(4,"a",35),c.nc(5,"View source"),c.Ob(),c.Ob(),c.Mb())}function _(t,n){if(1&t&&(c.Pb(0,"div",1),c.mc(1,O,2,0,"p",2),c.Pb(2,"div",3),c.Pb(3,"div",4),c.mc(4,P,11,2,"ng-container",5),c.mc(5,w,9,1,"ng-container",5),c.Pb(6,"button",6),c.Pb(7,"span",7),c.nc(8,"Toggle Dropdown"),c.Ob(),c.Ob(),c.Pb(9,"div",8),c.Pb(10,"a",9),c.nc(11,"Downloads"),c.Ob(),c.Lb(12,"div",10),c.mc(13,M,2,1,"a",11),c.Lb(14,"div",10),c.Pb(15,"div",12),c.Pb(16,"div"),c.Pb(17,"a",13),c.nc(18,"Other downloads"),c.Ob(),c.Ob(),c.Pb(19,"div"),c.Pb(20,"a",14),c.nc(21,"open on web"),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.mc(22,C,6,0,"ng-container",5),c.Ob()),2&t){const t=c.bc();c.zb(1),c.cc("ngIf","linux"===t.platform||t.isLinux),c.zb(3),c.cc("ngIf","linux"!==t.platform&&!t.isLinux),c.zb(1),c.cc("ngIf","linux"===t.platform||t.isLinux),c.zb(8),c.cc("ngForOf",t.donwloadUrlArr),c.zb(9),c.cc("ngIf","linux"===t.platform||t.isLinux)}}var y=function(t){return t.mac_intel="mac_intel",t.mac_m1="mac_m1",t.windows_x64="windows_x64",t.linux="linux",t.unknown="unknown",t}({});let k=(()=>{class t{constructor(){this.isLinux=!1,this.loading=!0,this.DownloadBtnLabel="Download",this.DownloadBtnUrl="",this.copied=!1}ngOnInit(){this.detectPlatform()}selectPlatform(t){this.platform=t,this.setUrls(t)}detectPlatform(){const t=window.navigator.platform.toLowerCase();this.platform=t.includes("win")?y.windows_x64:t.includes("mac")?y.mac_m1:t.includes("linux")?y.linux:y.unknown,this.setUrls(this.platform)}setUrls(t){switch(t){case y.unknown:this.DownloadBtnLabel=z[y.windows_x64],this.DownloadBtnUrl=this.downloadUrls[y.windows_x64];default:this.DownloadBtnLabel=z[t]||"Download",this.DownloadBtnUrl=this.downloadUrls[t]}}downloadFile(){this.downloadLinkRef.nativeElement.click()}copyCode(){const t=this.codeSnippetRef.nativeElement.textContent.trim();if(navigator.clipboard)navigator.clipboard.writeText(t).then(()=>{console.log("Code copied to clipboard!"),this.copied=!0,setTimeout(()=>{this.copied=!1},2e3)}).catch(t=>{console.error("Failed to copy code: ",t)});else{const n=document.createElement("textarea");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),console.log("Code copied to clipboard!")}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-download"]],viewQuery:function(t,n){var e;1&t&&(c.rc(u,!0),c.rc(v,!0)),2&t&&(c.dc(e=c.Yb())&&(n.downloadLinkRef=e.first),c.dc(e=c.Yb())&&(n.codeSnippetRef=e.first))},inputs:{downloadUrls:"downloadUrls",donwloadUrlArr:"donwloadUrlArr",isMobile:"isMobile"},decls:1,vars:1,consts:[["class","container-fluid w-100",4,"ngIf"],[1,"container-fluid","w-100"],["class","text-center text-muted instruction",4,"ngIf"],[1,"primary-button","dropdown-container","download-button","d-flex","justify-center","align-center"],["role","group","aria-label","Button group with nested dropdown",1,"btn-group",2,"width","100%","height","100%"],[4,"ngIf"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"ddntoggle","btn","btn-danger","dropdown-toggle","dropdown-toggle-split"],[1,"sr-only"],[1,"dropdown-menu"],[1,"dropdown-item","disabled"],[1,"dropdown-divider"],["class","dropdown-item","href","javascript:void(0)",3,"click",4,"ngFor","ngForOf"],[2,"display","flex","justify-content","space-around"],["href","https://github.com/phcode-dev/phoenix-desktop/releases","target","_blank",1,"dropdown-link","primary-link"],["href","https://phcode.dev/","target","_blank",1,"dropdown-link","primary-link"],[1,"text-center","text-muted","instruction"],["type","button",1,"btn",2,"height","100%",3,"click"],[2,"font-size","16px","font-weight","bold","margin-bottom","0"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-download",2,"margin-right","10px"],["d","M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"],["d","M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z"],[2,"font-size","14px","font-weight","bold"],["hidden","","download","",3,"href"],["downloadLink",""],["class","copied","id","copy-notification",4,"ngIf"],["id","copy","type","button","aria-haspopup","true",1,"btn",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","gray","viewBox","0 0 16 16",1,"bi","bi-copy"],["fill-rule","evenodd","d","M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1z"],[1,"input-group",3,"click"],["id","codeSnippet",1,"form-control","bg-light"],["codeSnippet",""],["id","copy-notification",1,"copied"],["href","javascript:void(0)",1,"dropdown-item",3,"click"],[1,"linux-more"],[1,"text"],["href","https://updates.phcode.io/linux/installer.sh","target","_blank",1,"primary-link-accent"]],template:function(t,n){1&t&&c.mc(0,_,23,5,"div",0),2&t&&c.cc("ngIf",!n.isMobile)},directives:[o.t,o.s],styles:[".instruction[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-weight:lighter}.copied[_ngcontent-%COMP%]{color:var(--color-success-dark);background-color:hsla(0,0%,100%,.75);position:absolute;top:50%;left:-110px;width:100px;transform:translateY(-50%);padding:5px;border-radius:6px;font-size:small;transition:all .3s ease}.download-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:auto;height:70px;width:100%;min-width:350px;position:relative}.download-button[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%;height:100%;background-color:transparent;border:none;color:#fff}.download-button[_ngcontent-%COMP%] .ddntoggle[_ngcontent-%COMP%]{width:50px}.download-button[_ngcontent-%COMP%] .dropdown-link[_ngcontent-%COMP%]{font-size:var(--font-size-xs)}.download-button[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{min-width:300px}#codeSnippet[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;white-space:nowrap;justify-content:center;align-items:center;-webkit-user-select:text;-moz-user-select:text;user-select:text}#codeSnippet[_ngcontent-%COMP%], #copy[_ngcontent-%COMP%]{background-color:#f4e2da!important}#copy[_ngcontent-%COMP%]{width:50px}.linux-more[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:var(--font-size-xs);margin-top:20px}.linux-more[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:var(--text-color-light)}"],data:{animation:[Object(h.j)("enterAnimation",[Object(h.i)(":enter",[Object(h.h)({opacity:0}),Object(h.e)("100ms",Object(h.h)({opacity:1}))]),Object(h.i)(":leave",[Object(h.h)({opacity:1}),Object(h.e)("100ms",Object(h.h)({opacity:0}))])])]}}),t})();function L(t,n){if(1&t&&c.Lb(0,"px-download",23),2&t){const t=c.bc();c.cc("downloadUrls",t.downloadUrls)("donwloadUrlArr",t.donwloadUrlArr)("isMobile",t.isMobile)}}const z={windows_x64:"Windows x64 Installer",mac_m1:"Mac - Apple Silicon DMG",mac_intel:"Mac - Intel DMG",linux:"Linux x64"};let S=(()=>{class t{constructor(t){this.apiService=t,this.loading=!0,this.isMobile=!1}ngOnInit(){this.apiService.getDownloadUrls().subscribe(t=>{this.downloadUrls=t["phcode.io.DownloadURL"],this.donwloadUrlArr=Object.keys(this.downloadUrls).map(n=>({label:z[n],value:t["phcode.io.DownloadURL"][n],key:n})),this.donwloadUrlArr.push({label:z.linux,value:"",key:y.linux}),this.loading=!1},()=>{console.error("Failed to get URLs")}),this.isMobile=this.checkMobile()}checkMobile(){let t=!1;var n;return n=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(t=!0),t}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(d))},t.\u0275cmp=c.Eb({type:t,selectors:[["px-banner"]],decls:36,vars:9,consts:[[1,"main"],["parent",""],["src","assets/images/vector-top-left.png","alt","topl",1,"vtl","z1"],["src","assets/images/vector-bottom-right.png","alt","bottoml",1,"vbr","z1"],["pxMouseMove","","src","assets/images/stars-left.svg","alt","bottoml",1,"stars-left","z2",3,"parent"],["pxMouseMove","","src","assets/images/stars-right.svg","alt","bottoml",1,"stars-right","z2",3,"parent"],[1,"container","content-container","d-flex","flex-column","justify-center","align-center","z8"],["pxMouseMove","","xMovement","3","yMovement","3","src","assets/images/phoenix-logo.svg","alt","logo",1,"brand-logo",3,"parent"],[1,"brand-text","text-center","z2","d-flex","flex-column","justify-center","align-center"],[3,"downloadUrls","donwloadUrlArr","isMobile",4,"ngIf"],["href","https://phcode.dev/","target","_blank"],["type","button",1,"btn","launch-btn",3,"ngClass"],[2,"font-size","small"],["href","https://brackets.io/","target","_blank",1,"primary-link"],["pxMouseMove","","xMovement","0","yMovement","10","src","assets/images/cloud1.svg","alt","cloud1",1,"cloud","cloud-1","z3",3,"parent"],["pxMouseMove","","xMovement","0","yMovement","15","src","assets/images/cloud2.svg","alt","cloud2",1,"cloud","cloud-2","z6",3,"parent"],["pxMouseMove","","xMovement","0","yMovement","25","src","assets/images/cloud3.svg","alt","cloud3",1,"cloud","cloud-3","z5",3,"parent"],["pxMouseMove","","xMovement","0","yMovement","5","src","assets/images/cloud4.svg","alt","cloud4",1,"cloud","cloud-4","z6",3,"parent"],[1,"sky"],["id","star-1",1,"star"],["id","star-2",1,"star"],["id","star-3",1,"star"],["id","star-4",1,"star"],[3,"downloadUrls","donwloadUrlArr","isMobile"]],template:function(t,n){if(1&t&&(c.Pb(0,"section",0,1),c.Lb(2,"img",2),c.Lb(3,"img",3),c.Lb(4,"img",4),c.Lb(5,"img",5),c.Pb(6,"div",6),c.Lb(7,"img",7),c.Pb(8,"div",8),c.Pb(9,"h1"),c.nc(10,"Phoenix Code"),c.Ob(),c.Pb(11,"span"),c.nc(12,"The text editor designed to make coding as simple and fun as playing a video game"),c.Ob(),c.Lb(13,"br"),c.Lb(14,"br"),c.mc(15,L,1,3,"px-download",9),c.Pb(16,"div"),c.Pb(17,"a",10),c.Pb(18,"button",11),c.nc(19," Launch Web Editor"),c.Ob(),c.Ob(),c.Ob(),c.Lb(20,"br"),c.Pb(21,"span",12),c.nc(22,"Built for you by the "),c.Pb(23,"a",13),c.Pb(24,"strong"),c.nc(25,"brackets.io"),c.Ob(),c.Ob(),c.nc(26," development team"),c.Ob(),c.Ob(),c.Ob(),c.Lb(27,"img",14),c.Lb(28,"img",15),c.Lb(29,"img",16),c.Lb(30,"img",17),c.Pb(31,"div",18),c.Lb(32,"div",19),c.Lb(33,"div",20),c.Lb(34,"div",21),c.Lb(35,"div",22),c.Ob(),c.Ob()),2&t){const t=c.ec(1);c.zb(4),c.cc("parent",t),c.zb(1),c.cc("parent",t),c.zb(2),c.cc("parent",t),c.zb(8),c.cc("ngIf",n.downloadUrls),c.zb(3),c.cc("ngClass",n.isMobile?"primary-button":"transparent-button"),c.zb(9),c.cc("parent",t),c.zb(1),c.cc("parent",t),c.zb(1),c.cc("parent",t),c.zb(1),c.cc("parent",t)}},styles:['.main[_ngcontent-%COMP%]{height:100vh;width:100vw;position:relative;overflow:hidden;background:linear-gradient(#000a2e 80%,#fff);-webkit-user-select:none;-moz-user-select:none;user-select:none}.main[_ngcontent-%COMP%] .vtl[_ngcontent-%COMP%]{position:absolute;top:-10%;left:-20px}.main[_ngcontent-%COMP%] .vbr[_ngcontent-%COMP%]{position:absolute;bottom:10%;right:-20px}.main[_ngcontent-%COMP%] .stars-left[_ngcontent-%COMP%]{position:absolute;left:0;top:10%;opacity:.7}.main[_ngcontent-%COMP%] .stars-right[_ngcontent-%COMP%]{position:absolute;right:0;top:5%;opacity:.7}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{color:var(--text-color-light);top:35%;left:50%;transform:translate(-50%,-50%);position:absolute;font-family:var(--font-montserrat-bold)}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-logo[_ngcontent-%COMP%]{height:25vh;margin-top:100px}@media (max-width:690px){.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-logo[_ngcontent-%COMP%]{margin-top:200px}}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-text[_ngcontent-%COMP%]{margin-top:-30px}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:var(--font-size-xxl);margin-bottom:var(--space-lg)}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--font-montserrat)}.main[_ngcontent-%COMP%] .cloud[_ngcontent-%COMP%]{bottom:0;-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none}.main[_ngcontent-%COMP%] .cloud[_ngcontent-%COMP%], .sky[_ngcontent-%COMP%]{position:absolute;width:100%}.sky[_ngcontent-%COMP%]{height:100%;transform:rotate(136deg);top:-182px;left:472px;z-index:2;opacity:.5}.star[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;height:2px;border-radius:885px;background:linear-gradient(-45deg,#eef0f5,rgba(0,0,255,0));filter:drop-shadow(0 0 6px #d7dff0);animation:tail 5s ease-in-out infinite,shooting 5s ease-in-out infinite}.star[_ngcontent-%COMP%]:after, .star[_ngcontent-%COMP%]:before{content:"";position:absolute;top:calc(50% - 1px);right:0;height:2px;background:linear-gradient(-45deg,rgba(0,0,255,0),#eaeef8,rgba(0,0,255,0));transform:translateX(50%) rotate(45deg);border-radius:100%;animation:shining 3s ease-in-out infinite}.star[_ngcontent-%COMP%]:after{transform:translateX(50%) rotate(-45deg)}.star[_ngcontent-%COMP%]:first-child{top:calc(50% + 119px);left:calc(50% - 43px)}.star[_ngcontent-%COMP%]:first-child:after, .star[_ngcontent-%COMP%]:first-child:before{animation-delay:12s}.star[_ngcontent-%COMP%]:nth-child(2){top:calc(50% + 100px);left:calc(50% - 137px);animation-delay:5s}.star[_ngcontent-%COMP%]:nth-child(2):after, .star[_ngcontent-%COMP%]:nth-child(2):before{animation-delay:10s}.star[_ngcontent-%COMP%]:nth-child(3){top:calc(50% + 90px);left:calc(50% - 222px);animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(3):after, .star[_ngcontent-%COMP%]:nth-child(3):before{animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(4){top:calc(50% + 129px);left:calc(50% - 213px);animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(4):after, .star[_ngcontent-%COMP%]:nth-child(4):before{animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(5){top:calc(50% - 146px);left:calc(50% - 112px);animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(5):after, .star[_ngcontent-%COMP%]:nth-child(5):before{animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(6){top:calc(50% + 108px);left:calc(50% - 160px);animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(6):after, .star[_ngcontent-%COMP%]:nth-child(6):before{animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(7){top:calc(50% - 52px);left:calc(50% - 72px);animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(7):after, .star[_ngcontent-%COMP%]:nth-child(7):before{animation-delay:7s}@keyframes tail{0%{width:0}30%{width:100px}to{width:0}}@keyframes shining{0%{width:0}50%{width:30px}to{width:0}}@keyframes shooting{0%{transform:translateX(0)}to{transform:translateX(500px)}}.launch-btn[_ngcontent-%COMP%]{height:50px;width:100%;min-width:350px;margin-top:30px}']}),t})(),I=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-meet-phoenix"]],decls:25,vars:0,consts:[["id","meet-phoenix",1,"container-fluid","w-100"],[1,"heading-container","text-center","pt-5","w-100"],[1,"heading","col-md-12","col-sm-12","col-xs-12"],[1,"description","col-md-12","col-sm-12","col-xs-12","mt-2","d-flex-center","w-100"],[1,"text-center","w-50","w-xs-100"],[1,"row","content-1","center-below-xs"],[1,"col-md-6","col-sm-12","col-xs-12","mt-sm-4","mt-xs-4","text-sm-center","text-xs-center","text-lg-right","text-xl-right","text-md-right"],["src","assets/images/meetPhoenixGraphics.png","alt","",1,"meet-img",2,"width","100%"],[1,"col-md-6","col-sm-12","col-xs-12"],[1,"row"],[1,"col-md-12","mt-5","center-below-xs"],[1,"row","text-lg-left","text-xl-left","text-md-left","text-sm-center","text-xs-center","mt-4","mb-sm-5","mb-xs-5"],[1,"col-md-6","mt-4"],[1,"heading","col-md-12","mb-4"],[1,"description","col-md-12"],[1,"col-md-4","text-center"],["height","200px","src","assets/images/supportedSystemsbrowers.png","alt","",2,"opacity","70%"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"span",2),c.nc(3," Meet Phoenix Code "),c.Ob(),c.Pb(4,"span",3),c.Pb(5,"div",4),c.nc(6," A text editor specially crafted for web developers, designers, and students. Phoenix Code's advanced visual tools and live previews\neliminate guesswork, making web development quicker and and more enjoyable. "),c.Ob(),c.Ob(),c.Ob(),c.Pb(7,"div",5),c.Pb(8,"div",6),c.Lb(9,"img",7),c.Ob(),c.Pb(10,"div",8),c.Pb(11,"div",9),c.Pb(12,"div",10),c.Pb(13,"div",11),c.Pb(14,"div",12),c.Pb(15,"div",9),c.Pb(16,"span",13),c.nc(17," Runs Everywhere "),c.Ob(),c.Pb(18,"div",14),c.Pb(19,"p"),c.nc(20,"Phoenix Code is natively available for macOS, Windows, and Linux. "),c.Ob(),c.Pb(21,"p"),c.nc(22,"ChromeOS or alternative platforms? Get the web version on any browser-enabled device."),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(23,"div",15),c.Lb(24,"img",16),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob())},styles:["section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xxl)}section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-family:var(--font-montserrat);line-height:1.5;width:40%}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .meet-img[_ngcontent-%COMP%]{max-width:600px;padding:20px}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xl)}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}@media only screen and (max-width:575px){.center-below-xs[_ngcontent-%COMP%]{text-align:center}}"]}),t})();const A=["videoElement"];function E(t,n){if(1&t&&c.Lb(0,"img",12),2&t){const t=c.bc();c.cc("src",t.titleIconSrc,c.ic)}}function j(t,n){if(1&t&&c.Lb(0,"video",13,14),2&t){const t=c.bc();c.cc("src",t.videoSrc,c.ic)}}let U=(()=>{class t{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=this.videoElement.nativeElement;t.muted=!0,t.autoplay=!0,t.loop=!0,t.load(),t.play().catch(t=>{console.error("Error attempting to play video:",t)})}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-video-overlay"]],viewQuery:function(t,n){var e;1&t&&c.rc(A,!0),2&t&&c.dc(e=c.Yb())&&(n.videoElement=e.first)},inputs:{title:"title",titleIconSrc:"titleIconSrc",subtitle:"subtitle",videoSrc:"videoSrc"},decls:14,vars:4,consts:[["id","video-overlay",1,"container","d-flex-center","mt-5"],[1,"row","content-1","center-below-xs","pt-4"],[1,"col-md-6","col-sm-12","col-xs-12"],[1,"row"],[1,"col-md-12","mt-4","center-below-xs"],[1,"row","text-lg-left","text-xl-left","text-md-left","text-sm-center","text-xs-center","mb-sm-5","mb-xs-5"],[1,"heading","col-md-12","mb-4","text-accent"],["style","width: 50px","class","flash-img","alt","flash",3,"src",4,"ngIf"],[1,"description","col-md-10"],[3,"innerHTML"],[1,"col-md-6","col-sm-12","col-xs-12","mt-sm-4","mt-xs-4","text-sm-center","text-xs-center","text-lg-right","text-xl-right","text-md-right"],["muted","","autoplay","","loop","","controls","",3,"src",4,"ngIf"],["alt","flash",1,"flash-img",2,"width","50px",3,"src"],["muted","","autoplay","","loop","","controls","",3,"src"],["videoElement",""]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"div",2),c.Pb(3,"div",3),c.Pb(4,"div",4),c.Pb(5,"div",5),c.Pb(6,"div",3),c.Pb(7,"span",6),c.mc(8,E,1,1,"img",7),c.nc(9),c.Ob(),c.Pb(10,"div",8),c.Lb(11,"div",9),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(12,"div",10),c.mc(13,j,2,1,"video",11),c.Ob(),c.Ob(),c.Ob()),2&t&&(c.zb(8),c.cc("ngIf",n.titleIconSrc),c.zb(1),c.pc(" ",n.title," "),c.zb(2),c.cc("innerHTML",n.subtitle,c.hc),c.zb(2),c.cc("ngIf",n.videoSrc))},directives:[o.t],styles:["section[_ngcontent-%COMP%]{width:90%}section[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{max-height:50svh;width:100%;position:relative;border-radius:20px;overflow:hidden;border:5px solid #333;box-shadow:0 4px 8px rgba(62,62,62,.3)}section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xxl)}section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-family:var(--font-montserrat);line-height:1.5;width:40%}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .meet-img[_ngcontent-%COMP%]{max-width:600px;padding:20px}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xl)}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}@media only screen and (max-width:575px){.center-below-xs[_ngcontent-%COMP%]{text-align:center}}"]}),t})();function T(t,n){if(1&t&&c.Lb(0,"px-video-overlay",25),2&t){const t=n.$implicit;c.cc("title",t.title)("titleIconSrc",t.titleIconSrc)("subtitle",t.subtitle)("videoSrc",t.videoSrc)}}const D=[{title:"Live Preview",subtitle:"See your HTML and CSS code changes instantly, without page reloads! Use powerful UI tools like the colour editor to tweak background\nand text colours, adjust font sizes and border-radius with number dials, or explore page layouts with live code hints. Phoenix Code makes\nyour web design workflows faster and more enjoyable.",titleIconSrc:"assets/images/load.gif",videoSrc:"https://docs-images.phcode.dev/videos/phcode.io-site/live_preview.mp4"},{title:"Code Intelligence for the Web",subtitle:"Write HTML, CSS, and JavaScript faster with on-the-fly code completion and catch errors before they become problems. We're always\nadding better smarts to our code intelligence, making Phoenix Code sharper with every release. It's web development with everything you\nneed, right out of the box- no extensions needed.",titleIconSrc:"assets/images/intelligence.png",videoSrc:"https://docs-images.phcode.dev/videos/phcode.io-site/error_detect.mp4"},{title:"Lightning-Fast Search",subtitle:"Find exactly what you need across your entire project with Instant search. We've fine-tuned the UX to help you pinpoint your query\nfaster: search within specific file types, exclude files and folders, or use regular expressions for complex queries. Phoenix Code's state-of-\nthe-art 'find in files' feature handles large projects with ease, delivering instant results as you type.",titleIconSrc:"assets/images/flash.gif",videoSrc:"https://docs-images.phcode.dev/videos/phcode.io-site/find_in_files.mp4"}];let F=(()=>{class t{constructor(t){this.alertService=t,this.videoOverlayConfig=[],this.featuresFromAPI=null}ngOnInit(){this.alertService.fetchCriticalAlerts().subscribe(t=>{this.videoOverlayConfig=(null==t?void 0:t.features)&&Array.isArray(t.features)&&t.features.length>0?null==t?void 0:t.features:D})}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(b))},t.\u0275cmp=c.Eb({type:t,selectors:[["px-features"]],decls:36,vars:1,consts:[[1,"features","container-fluid"],[1,"heading-container","container","text-center","py-5"],[1,"row","py-5"],[1,"heading","col-md-12"],[3,"title","titleIconSrc","subtitle","videoSrc",4,"ngFor","ngForOf"],[1,"d-flex-center","w-100","my-4","py-4"],[1,"row","col-md-10","col-xs-12","d-flex-center","my-4","py-4"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center","technologies-icon"],["src","assets/images/js.png","alt","icons"],["src","assets/images/ts.png","alt","icons"],["src","assets/images/html.png","alt","icons"],["src","assets/images/css.png","alt","icons"],[1,"col-md-2","col-sm-2","col-xs-12","text-center","mt-2","mt-xs-4"],[1,"container-fluid","pb-5","preview"],[1,"row","pb-5"],[1,"offset-md-1","col-md-3","d-flex-center"],["src","assets/images/extension.png","alt",""],[1,"col-md","d-flex-center"],[1,"container","text-left","text-sm-center","text-xs-center","px-3"],[1,"heading","container","text-left","w-75"],[1,"container","text-left","w-75"],[1,"illustration"],[1,"container","pt-5","d-flex-center"],["src","assets/images/Illustration.png","alt","people"],[3,"title","titleIconSrc","subtitle","videoSrc"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"div",2),c.Pb(3,"span",3),c.nc(4," Packed with features... "),c.Ob(),c.Ob(),c.Ob(),c.mc(5,T,1,4,"px-video-overlay",4),c.Pb(6,"div",5),c.Pb(7,"div",6),c.Pb(8,"span",7),c.nc(9," phoenix is tailor made for "),c.Ob(),c.Pb(10,"span",8),c.Lb(11,"img",9),c.Ob(),c.Pb(12,"span",8),c.Lb(13,"img",10),c.Ob(),c.Pb(14,"span",8),c.Lb(15,"img",11),c.Ob(),c.Pb(16,"span",8),c.Lb(17,"img",12),c.Ob(),c.Pb(18,"span",13),c.nc(19," and many more... "),c.Ob(),c.Ob(),c.Ob(),c.Pb(20,"div",14),c.Pb(21,"div",15),c.Pb(22,"div",16),c.Lb(23,"img",17),c.Ob(),c.Pb(24,"div",18),c.Pb(25,"div",19),c.Pb(26,"p",20),c.nc(27,"Extension and Themes"),c.Ob(),c.Pb(28,"p",21),c.nc(29," Customize the editor's functionality and look & feel with thousands of available extensions and themes. "),c.Ob(),c.Pb(30,"p",21),c.nc(31," Want to automate a task? Create extensions easily that work on any platform, exactly as you need. "),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(32,"section",22),c.Pb(33,"div",23),c.Pb(34,"div",2),c.Lb(35,"img",24),c.Ob(),c.Ob(),c.Ob()),2&t&&(c.zb(5),c.cc("ngForOf",n.videoOverlayConfig))},directives:[o.s,U],styles:[".features[_ngcontent-%COMP%]{background:url(featureBG.cec09191c4879d6552e8.png);background-repeat:repeat;background-size:100% 100%}.features[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--text-color-light)}.features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-size:var(--font-size-lg);font-family:var(--font-montserrat-bold)}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--accent-color);font-size:var(--font-size-xl);font-family:var(--font-montserrat-bold);font-style:italic}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .flash-img[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .sq-img[_ngcontent-%COMP%]{max-width:120px}.technologies-icon[_ngcontent-%COMP%]{width:200px}"]}),t})();var H=e("8aeQ");let B=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-landing"]],decls:6,vars:0,consts:[[1,"w-100","p-0"]],template:function(t,n){1&t&&(c.Pb(0,"div",0),c.Lb(1,"px-alert"),c.Lb(2,"px-banner"),c.Lb(3,"px-meet-phoenix"),c.Lb(4,"px-features"),c.Lb(5,"px-footer"),c.Ob())},directives:[f,S,I,F,H.a],styles:[""]}),t})(),q=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-main"]],decls:2,vars:0,template:function(t,n){1&t&&(c.Lb(0,"px-nav"),c.Lb(1,"px-landing"))},directives:[r.a,B],styles:[""]}),t})();const X=[{path:"",component:q}];let R=(()=>{class t{}return t.\u0275mod=c.Ib({type:t}),t.\u0275inj=c.Hb({factory:function(n){return new(n||t)},imports:[[i.e.forChild(X)],i.e]}),t})(),W=(()=>{class t{constructor(t){this.el=t,this.element=null,this.mouseOverParent=!1,this.parent=null,this.xMovement=10,this.yMovement=10,this.scroll=!1,this.updateElPosition=t=>{const n=t.clientX/document.body.clientWidth,e=t.clientY/document.body.clientHeight;this.element.style.transform=`translate(${(2*n-1)*this.xMovement}px, ${(2*e-1)*this.yMovement}px)`},this.updateElPositionOnScroll=t=>{if(console.log("scroll"),this.scroll){const t=window.scrollY/document.body.clientHeight;this.element.style.transform=`translateY(${3*this.yMovement*(2*t-1)}px)`}},this.element=t.nativeElement}ngAfterViewInit(){this.parent&&(this.parent.addEventListener("mouseenter",()=>{document.addEventListener("mousemove",this.updateElPosition)}),this.parent.addEventListener("mouseleave",()=>{document.removeEventListener("mousemove",this.updateElPosition)}))}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(c.l))},t.\u0275dir=c.Fb({type:t,selectors:[["","pxMouseMove",""]],inputs:{parent:"parent",xMovement:"xMovement",yMovement:"yMovement",scroll:"scroll"}}),t})(),N=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-workspaces"]],decls:57,vars:0,consts:[[1,"workspaces","container-fluid"],[1,"introducing","row"],[1,"d-flex-center","w-100"],[1,"p-4","white","text-intro"],[1,"col-md-12","text-center"],[1,"white","p-4","main-heading"],[1,"col-md-12","text-center","mb-4","table-img"],["src","assets/images/developers-table.png","alt","",1,"white","p-4"],[1,"py-4","col-md-8","offset-md-2","white"],[1,"col-md-12","text-center","my-4","host-img","row"],[1,"py-4","px-0","col-md-4","offset-md-1"],[1,"white","p-4","mt-4"],["src","assets/images/host.png","alt","host",1,"white","p-4"],[1,"col-md-4","px-0"],[1,"white","p-4"],[1,"col-md-12","text-center","my-4"],[1,"row"],[1,"col-md-6"],["src","assets/images/collab-coding.png","alt","",1,"white","collab-coding"],[1,"col-md-6","white"],[1,"main-heading","collab"],[1,"text-left","points"],[1,"col-md-5","offset-md-1","white","d-flex-center","flex-column"],[1,"text-left"],[1,"col-md-6","text-left"],["src","assets/images/login.png","alt","",1,"white","collab-coding"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"div",2),c.Pb(3,"h1",3),c.nc(4,"Introducing"),c.Ob(),c.Ob(),c.Pb(5,"div",4),c.Pb(6,"div",2),c.Pb(7,"h1",5),c.nc(8,"DEVELOPMENT WORKSPACES"),c.Ob(),c.Ob(),c.Ob(),c.Pb(9,"div",6),c.Lb(10,"img",7),c.Pb(11,"div",8),c.Pb(12,"p"),c.nc(13,"Phoenix\u2019s development workspaces are not just your project\u2019s root folder like you have experienced in other IDE\u2019s. Phoenix workspaces are real local & cloud spaces."),c.Ob(),c.Ob(),c.Ob(),c.Pb(14,"div",9),c.Pb(15,"div",10),c.Pb(16,"p",11),c.nc(17,"Setup Development workspaces locally & in the cloud. "),c.Lb(18,"br"),c.nc(19," With just the click of a button"),c.Ob(),c.Ob(),c.Lb(20,"img",12),c.Pb(21,"div",13),c.Pb(22,"p",14),c.nc(23,"Host & share apps easily"),c.Ob(),c.Ob(),c.Ob(),c.Pb(24,"div",15),c.Pb(25,"div",16),c.Pb(26,"div",17),c.Lb(27,"img",18),c.Ob(),c.Pb(28,"div",19),c.Pb(29,"p",20),c.nc(30,"COLLABORATIVE DEVELOPMENT"),c.Ob(),c.Pb(31,"p"),c.nc(32,"do it the right way with phoenix"),c.Ob(),c.Lb(33,"br"),c.Pb(34,"ol",21),c.Pb(35,"li"),c.nc(36," Create custom development workspace and share it with the team. "),c.Ob(),c.Pb(37,"li"),c.nc(38," Seamless workspace roaming between all your connected devices. "),c.Ob(),c.Pb(39,"li"),c.nc(40," Continous cloud backup and recovery of workspaces. "),c.Ob(),c.Pb(41,"li"),c.nc(42," Experience peer programming at its best. "),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(43,"div",16),c.Pb(44,"div",22),c.Pb(45,"p",20),c.nc(46,"AUTH"),c.Ob(),c.Pb(47,"p",23),c.nc(48,"Multiple Authentication mechanisms Supports google, facebook, git and bitbucket logins"),c.Ob(),c.Lb(49,"br"),c.Lb(50,"br"),c.Pb(51,"p",20),c.nc(52,"ENTERPRISE"),c.Ob(),c.Pb(53,"p",23),c.nc(54,"SAML Enterprise logins Optional self hosting Advanced Auditing Enforce source code copy policies in developer machines"),c.Ob(),c.Ob(),c.Pb(55,"div",24),c.Lb(56,"img",25),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob())},styles:[".workspaces[_ngcontent-%COMP%]{color:var(--text-color);background:url(dot-bg.6d062be8b71a29060be2.png);background-size:cover}.workspaces[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.workspaces[_ngcontent-%COMP%] .white[_ngcontent-%COMP%]{background-color:#fff}.workspaces[_ngcontent-%COMP%] .text-intro[_ngcontent-%COMP%]{font-family:var(--font-caveat)}.workspaces[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic}.workspaces[_ngcontent-%COMP%] .table-img[_ngcontent-%COMP%]{margin-top:-5px}.workspaces[_ngcontent-%COMP%] .collab[_ngcontent-%COMP%]{font-size:var(--font-size-xl)}.workspaces[_ngcontent-%COMP%] .points[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:20px 0}"]}),t})(),V=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-server"]],decls:32,vars:1,consts:[[1,"server"],[1,"my-4","w-100","text-center"],[1,"p-4","transparent","main-heading"],[1,"d-flex-center","mb-5"],[1,"terminal"],[1,"row","text-center","px-5"],[1,"col-md-4","link"],[1,"col-md-4","link",3,"routerLink"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Lb(1,"br"),c.Lb(2,"br"),c.Pb(3,"div",1),c.Pb(4,"span",2),c.nc(5," SERVER "),c.Ob(),c.Ob(),c.Lb(6,"br"),c.Pb(7,"div",3),c.Pb(8,"div",4),c.Lb(9,"br"),c.Pb(10,"p"),c.nc(11,"Terminal access: guarenteed on cloud and onprem with sudo access"),c.Ob(),c.Lb(12,"br"),c.Lb(13,"br"),c.Pb(14,"p"),c.nc(15," > On demand virtual machines with sudo access in the cloud for performance "),c.Lb(16,"br"),c.Lb(17,"br"),c.nc(18," > Fully Featured Terminal Support "),c.Lb(19,"br"),c.Lb(20,"br"),c.nc(21," > Choose servers based on geo-location "),c.Ob(),c.Ob(),c.Ob(),c.Lb(22,"br"),c.Pb(23,"div",5),c.Pb(24,"div",6),c.nc(25,"VISION"),c.Ob(),c.Pb(26,"div",6),c.nc(27,"MISSION"),c.Ob(),c.Pb(28,"div",7),c.nc(29,"ABOUT"),c.Ob(),c.Ob(),c.Lb(30,"br"),c.Lb(31,"br"),c.Ob()),2&t&&(c.zb(28),c.cc("routerLink","/about"))},directives:[i.b],styles:[".server[_ngcontent-%COMP%]{color:var(--text-color-light);background:url(white-dot-bg.8d8714e1c71a487e620d.png),linear-gradient(#282727,#282727);background-size:contain;background-repeat:no-repeat}.server[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.server[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{background-color:var(--background-color-dark)}.server[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic;font-size:var(--font-size-xxl)}.server[_ngcontent-%COMP%] .terminal[_ngcontent-%COMP%]{background:url(terminal.7fe5321f9c595f5a815f.png),linear-gradient(#282727,#282727);background-size:cover;min-height:500px;min-width:50vw;background-repeat:none;padding:50px;overflow:hidden;color:var(--text-color-gray)}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);font-size:var(--font-size-xxl);cursor:pointer}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),t})(),Y=(()=>{class t{}return t.\u0275mod=c.Ib({type:t}),t.\u0275inj=c.Hb({factory:function(n){return new(n||t)},imports:[[o.c,R]]}),t})();c.jc(S,[o.q,o.r,o.s,o.t,o.A,o.w,o.x,o.y,o.z,o.u,o.v,i.f,i.b,i.d,i.c,i.g,q,B,r.a,f,k,S,W,I,U,F,N,V,H.a],[o.b,o.G,o.p,o.k,o.E,o.g,o.C,o.F,o.d,o.f,o.i,o.j,o.l])},"d6/a":function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var o=e("fXoL"),i=e("ofXK"),c=e("tyNb");function r(t,n){1&t&&(o.Pb(0,"span",25),o.nc(1,"Phoenix Code"),o.Ob())}let a=(()=>{class t{constructor(){this.navFixed=!1,this.scrollOffset=100}onWindowScroll(){this.navFixed=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)>this.scrollOffset}ngOnInit(){this.scrollOffset=document.getElementById("meet-phoenix").offsetTop-200}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Eb({type:t,selectors:[["px-nav"]],hostBindings:function(t,n){1&t&&o.Xb("scroll",(function(){return n.onWindowScroll()}),!1,o.fc)},decls:39,vars:3,consts:[[1,"navbar","navbar-expand-lg",3,"ngClass"],[1,"navbar-brand",3,"routerLink"],["src","assets/images/phoenix-logo.svg","alt","logo",2,"height","60px","width","60px","margin-right","10px"],["class","sub-heading",4,"ngIf"],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","white","viewBox","0 0 16 16",1,"bi","bi-list"],["fill-rule","evenodd","d","M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"div-inline","my-2","my-lg-0"],[1,"nav-item","active"],["target","_blank","href","https://github.com/orgs/phcode-dev/discussions",1,"nav-link"],["target","_blank","href","https://docs.phcode.dev/",1,"nav-link"],["href","https://github.com/phcode-dev/phoenix","target","_blank","aria-label","GitHub",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 499.36","focusable","false",1,"navbar-nav-svg"],["d","M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z","fill-rule","evenodd"],["href","https://twitter.com/phcodedev","target","_blank","aria-label","Twitter",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-twitter-x"],["d","M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"],["href","https://discord.com/invite/rBpTBPttca","target","_blank","aria-label","Discord",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-discord"],["d","M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612"],["href","https://www.youtube.com/channel/UCNK2a8DKqPQQe3GlfTk-RHg","target","_blank","aria-label","Youtube",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-youtube"],["d","M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"],[1,"sub-heading"]],template:function(t,n){1&t&&(o.Pb(0,"nav",0),o.Pb(1,"a",1),o.Lb(2,"img",2),o.mc(3,r,2,0,"span",3),o.Ob(),o.Pb(4,"button",4),o.ac(),o.Pb(5,"svg",5),o.Lb(6,"path",6),o.Ob(),o.Ob(),o.Zb(),o.Pb(7,"div",7),o.Lb(8,"ul",8),o.Pb(9,"div",9),o.Pb(10,"ul",8),o.Pb(11,"li",10),o.Pb(12,"a",11),o.nc(13,"Support"),o.Ob(),o.Ob(),o.Pb(14,"li",10),o.Pb(15,"a",12),o.nc(16,"Docs"),o.Ob(),o.Ob(),o.Pb(17,"li"),o.Pb(18,"a",13),o.ac(),o.Pb(19,"svg",14),o.Pb(20,"title"),o.nc(21,"GitHub"),o.Ob(),o.Lb(22,"path",15),o.Ob(),o.nc(23," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(24,"li"),o.Pb(25,"a",16),o.ac(),o.Pb(26,"svg",17),o.Lb(27,"path",18),o.Ob(),o.nc(28," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(29,"li"),o.Pb(30,"a",19),o.ac(),o.Pb(31,"svg",20),o.Lb(32,"path",21),o.Ob(),o.nc(33," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(34,"li"),o.Pb(35,"a",22),o.ac(),o.Pb(36,"svg",23),o.Lb(37,"path",24),o.Ob(),o.nc(38," \xa0 "),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob()),2&t&&(o.cc("ngClass",n.navFixed?"navFixed":""),o.zb(1),o.cc("routerLink","/home"),o.zb(2),o.cc("ngIf",n.navFixed))},directives:[i.q,c.d,i.t],styles:["[_nghost-%COMP%]{position:absolute;top:0;width:100%}nav[_ngcontent-%COMP%]{height:var(--nav-height);background-color:transparent;z-index:100}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80px}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:-5px;font-family:var(--font-montserrat-bold);font-size:var(--font-size-xl)}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]:hover{color:var(--text-color-light)}nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin:0 20px}nav[_ngcontent-%COMP%] .nav-link.icon[_ngcontent-%COMP%]{margin:0}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]{fill:var(--text-color-light);height:20px}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]:hover{fill:var(--accent-color)}.navFixed[_ngcontent-%COMP%]{position:fixed;width:100%;background-color:rgba(65,63,63,.594);transition:all .1s ease-in-out}.navbar-collapse.collapsing[_ngcontent-%COMP%], .navbar-collapse.show[_ngcontent-%COMP%]{background-color:rgba(65,63,63,.816);text-align:center}a[_ngcontent-%COMP%]{color:var(--text-color-light)}a[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),t})()}}]); \ No newline at end of file diff --git a/docs/1-es2015.d2f7e4e06fc8ae6b32e7.js b/docs/1-es2015.d2f7e4e06fc8ae6b32e7.js new file mode 100644 index 0000000..7a98dcd --- /dev/null +++ b/docs/1-es2015.d2f7e4e06fc8ae6b32e7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"8aeQ":function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var o=e("fXoL"),i=e("tyNb");let c=(()=>{class t{constructor(){this.fullYear=(new Date).getFullYear()}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Eb({type:t,selectors:[["px-footer"]],decls:21,vars:2,consts:[[1,"footer","p-4","container-fluid"],[1,"mt-5","px-2","footer-items","row","w-100","text-center","text-md-left"],[1,"col-12","col-md-8","footer-links"],["href","#",1,"d-block","d-md-inline-block","mr-md-3","mb-3",3,"routerLink"],["target","_blank","href","https://core.ai/privacy.html",1,"d-block","d-md-inline-block","mr-md-3","mb-3"],["target","_blank","href","https://core.ai/terms-of-service.html",1,"d-block","d-md-inline-block","mr-md-3","mb-3"],["target","_blank","href","https://www.gnu.org/licenses/agpl-3.0.en.html",1,"d-block","d-md-inline-block","mr-md-3","mb-3"],[1,"col-12","col-md-4","d-flex","justify-content-center","justify-content-md-end","align-items-center","mt-3","mt-md-0"],[1,"m-0","p-0",2,"color","red"],[1,"container-fluid","align-middle","text-center","mt-4"],[1,"copyright"]],template:function(t,n){1&t&&(o.Pb(0,"section",0),o.Pb(1,"div",1),o.Pb(2,"div",2),o.Pb(3,"a",3),o.nc(4,"About"),o.Ob(),o.Pb(5,"a",4),o.nc(6,"Privacy Policy"),o.Ob(),o.Pb(7,"a",5),o.nc(8,"Terms of service"),o.Ob(),o.Pb(9,"a",6),o.nc(10,"License"),o.Ob(),o.Ob(),o.Pb(11,"div",7),o.Pb(12,"span"),o.nc(13,"Made with "),o.Pb(14,"span",8),o.nc(15,"\u2764\ufe0e"),o.Ob(),o.nc(16," and Javascript in Phoenix"),o.Ob(),o.Ob(),o.Ob(),o.Pb(17,"div",9),o.Pb(18,"span",10),o.nc(19),o.Ob(),o.Ob(),o.Lb(20,"br"),o.Ob()),2&t&&(o.zb(3),o.cc("routerLink","/about"),o.zb(16),o.pc("\xa9 ",n.fullYear," copyright core.ai "))},directives:[i.d],styles:[".footer[_ngcontent-%COMP%]{color:var(--text-color-light);background:url(borderline.9e1f2c6f68b559f9fe01.png),linear-gradient(#282727,#282727);background-position:bottom;background-repeat:no-repeat}@media (max-width:500px){.footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}}.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--text-color-light)}@media (max-width:690px){.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block}}.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--accent-color)}.footer[_ngcontent-%COMP%] .footer-items[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%]{color:var(--text-color-gray)}"]}),t})()},QtF9:function(t,n,e){"use strict";e.r(n),e.d(n,"MainModule",(function(){return G}));var o=e("ofXK"),i=e("tyNb"),c=e("fXoL"),r=e("d6/a"),a=e("2Vo4"),s=e("vkgz"),l=e("tk/3");let d=(()=>{class t{constructor(t){this.http=t,this.apiUrl="https://updates.phcode.io/install.json",this.downloadCountUrl="https://public-stats.phcode.io/generated/download_counts.json",this.alertsUrl="https://updates.phcode.io/siteNotifications/en.json"}getDownloadUrls(){return this.http.get(""+this.apiUrl)}getDownloadCounts(){return this.http.get(""+this.downloadCountUrl)}getCriticalAlerts(){return this.http.get(""+this.alertsUrl)}}return t.\u0275fac=function(n){return new(n||t)(c.Tb(l.b))},t.\u0275prov=c.Gb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t){this.apiService=t,this.criticalAlertsSubject=new a.a(null),this.criticalAlerts$=this.criticalAlertsSubject.asObservable()}fetchCriticalAlerts(){return null===this.criticalAlertsSubject.value?this.apiService.getCriticalAlerts().pipe(Object(s.a)(t=>this.criticalAlertsSubject.next(t))):this.criticalAlerts$}}return t.\u0275fac=function(n){return new(n||t)(c.Tb(d))},t.\u0275prov=c.Gb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function g(t,n){if(1&t){const t=c.Qb();c.Pb(0,"button",5),c.Xb("click",(function(){return c.gc(t),c.bc(2).closeAlert()})),c.nc(1,"\xd7"),c.Ob()}}function p(t,n){if(1&t&&(c.Pb(0,"div",1),c.mc(1,g,2,0,"button",2),c.Pb(2,"h3",3),c.nc(3),c.Ob(),c.Pb(4,"p",4),c.nc(5),c.Ob(),c.Ob()),2&t){const t=c.bc();c.cc("ngClass","alert alert-"+t.activeAlert.type+"-"+t.activeAlert.severity),c.zb(1),c.cc("ngIf",t.activeAlert.dismissable),c.zb(2),c.oc(t.activeAlert.titleHTML),c.zb(2),c.oc(t.activeAlert.messageHTML)}}var m=function(t){return t.Critical="critical",t.Warning="warning",t.Info="info",t}({});let f=(()=>{class t{constructor(t){this.alertService=t,this.activeAlert=null}ngOnInit(){this.getCriticalAlerts()}getCriticalAlerts(){this.alertService.fetchCriticalAlerts().subscribe(t=>{let n=this.getMobileOperatingSystem()||window.navigator.platform.toLowerCase();n.includes("mac")?n="mac":n.includes("win")?n="win":n.includes("linux")&&(n="linux");const e=t[n];(null==e?void 0:e.messageHTML)&&(null==e?void 0:e.titleHTML)?(this.activeAlert=e,this.activeAlert.severity=this.activeAlert.severity||m.Critical,this.activeAlert.dismissable=this.activeAlert.dismissable||!1,this.activeAlert.type=this.activeAlert.type||3):this.activeAlert=null},()=>{console.error("Failed to get Critical Alerts")})}closeAlert(){this.activeAlert=null}getMobileOperatingSystem(){var t,n=navigator.userAgent||navigator.vendor;return/android/i.test(n)?"android":!(!/iPad|iPhone|iPod/.test(n)||(null===(t=window)||void 0===t?void 0:t.MSStream))&&"ios"}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(b))},t.\u0275cmp=c.Eb({type:t,selectors:[["px-alert"]],decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],["class","close",3,"click",4,"ngIf"],[1,"alert-title"],[1,"alert-content"],[1,"close",3,"click"]],template:function(t,n){1&t&&c.mc(0,p,6,4,"div",0),2&t&&c.cc("ngIf",n.activeAlert)},directives:[o.t,o.q],styles:[".close[_ngcontent-%COMP%]{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;position:absolute;top:10px;right:10px;outline:none}.alert[_ngcontent-%COMP%]{max-width:25vw;padding:20px;margin:8px;position:fixed;top:100px;right:30px;z-index:100}.alert-1-primary[_ngcontent-%COMP%]{background-color:rgba(77,77,255,.3)}.alert-1-primary[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#4d4dff}.alert-1-warning[_ngcontent-%COMP%]{background-color:rgba(255,186,0,.3)}.alert-1-warning[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#ffba00}.alert-2-warning[_ngcontent-%COMP%]{border-left:4px solid #ffba00;background-color:rgba(255,186,0,.5)}.alert-2-warning[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#ffe399}.alert-3-warning[_ngcontent-%COMP%]{border:1px solid #b38200;border-radius:8px;background-color:rgba(255,186,0,.85)}.alert-3-warning[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#fff}.alert-2-success[_ngcontent-%COMP%]{border-left:4px solid #2ec946;background-color:rgba(46,201,70,.5)}.alert-2-success[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#a5ebb0}.alert-2-secondary[_ngcontent-%COMP%]{border-left:4px solid #666;background-color:hsla(0,0%,40%,.5)}.alert-2-secondary[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#b3b3b3}.alert-1-info[_ngcontent-%COMP%]{background-color:rgba(77,77,255,.3)}.alert-1-info[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#4d4dff}.alert-2-info[_ngcontent-%COMP%]{border-left:4px solid #4d4dff;background-color:rgba(77,77,255,.5)}.alert-2-info[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#e6e6ff}.alert-3-info[_ngcontent-%COMP%]{border:1px solid #0101ff;border-radius:8px;background-color:rgba(77,77,255,.85)}.alert-3-info[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#fff}.alert-1-critical[_ngcontent-%COMP%]{background-color:rgba(95,33,32,.3)}.alert-1-critical[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#5f2120}.alert-2-critical[_ngcontent-%COMP%]{border-left:4px solid #5f2120;background-color:rgba(95,33,32,.5)}.alert-2-critical[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#c55553}.alert-3-critical[_ngcontent-%COMP%]{border:1px solid #260d0d;border-radius:8px;background-color:rgba(95,33,32,.85)}.alert-3-critical[_ngcontent-%COMP%] .alert-title[_ngcontent-%COMP%]{color:#e5b3b2}.alert-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:8px;font-size:18px;font-family:Poppins,sans-serif}.alert-content[_ngcontent-%COMP%]{margin:0;font-size:14px;font-family:Open Sans,sans-serif;color:#fcfcfc}"]}),t})();var h=e("R0Ic");const u=["downloadLink"],v=["codeSnippet"];function O(t,n){1&t&&(c.Pb(0,"p",15),c.nc(1,"Copy and paste into your Linux terminal to install"),c.Ob())}function P(t,n){if(1&t){const t=c.Qb();c.Nb(0),c.Pb(1,"button",16),c.Xb("click",(function(){return c.gc(t),c.bc(2).downloadFile()})),c.Pb(2,"p",17),c.ac(),c.Pb(3,"svg",18),c.Lb(4,"path",19),c.Lb(5,"path",20),c.Ob(),c.nc(6," Download"),c.Ob(),c.Zb(),c.Pb(7,"span",21),c.nc(8),c.Ob(),c.Ob(),c.Lb(9,"a",22,23),c.Mb()}if(2&t){const t=c.bc(2);c.zb(8),c.pc(" ",t.DownloadBtnLabel," "),c.zb(1),c.cc("href",t.DownloadBtnUrl,c.ic)("target","chrome_os"===t.platform)}}function x(t,n){1&t&&(c.Pb(0,"span",31),c.nc(1,"Copied to clipboard"),c.Ob()),2&t&&c.cc("@enterAnimation",void 0)}function w(t,n){if(1&t){const t=c.Qb();c.Nb(0),c.mc(1,x,2,1,"span",24),c.Pb(2,"button",25),c.Xb("click",(function(){return c.gc(t),c.bc(2).copyCode()})),c.ac(),c.Pb(3,"svg",26),c.Lb(4,"path",27),c.Ob(),c.Ob(),c.Zb(),c.Pb(5,"div",28),c.Xb("click",(function(){return c.gc(t),c.bc(2).copyCode()})),c.Pb(6,"code",29,30),c.nc(8,"wget -qO- https://updates.phcode.io/linux/installer.sh | bash"),c.Ob(),c.Ob(),c.Mb()}if(2&t){const t=c.bc(2);c.zb(1),c.cc("ngIf",t.copied)}}function M(t,n){if(1&t){const t=c.Qb();c.Pb(0,"a",32),c.Xb("click",(function(){c.gc(t);const e=n.$implicit;return c.bc(2).selectPlatform(e.key)})),c.nc(1),c.Ob()}if(2&t){const t=n.$implicit;c.zb(1),c.oc(t.label)}}function C(t,n){1&t&&(c.Nb(0),c.Pb(1,"div",33),c.Pb(2,"span",34),c.nc(3,"Supported on Ubuntu 20+, Fedora 34+, Arch Linux and many more..."),c.Ob(),c.Pb(4,"a",35),c.nc(5,"View source"),c.Ob(),c.Ob(),c.Mb())}function _(t,n){if(1&t&&(c.Pb(0,"div",1),c.mc(1,O,2,0,"p",2),c.Pb(2,"div",3),c.Pb(3,"div",4),c.mc(4,P,11,3,"ng-container",5),c.mc(5,w,9,1,"ng-container",5),c.Pb(6,"button",6),c.Pb(7,"span",7),c.nc(8,"Toggle Dropdown"),c.Ob(),c.Ob(),c.Pb(9,"div",8),c.Pb(10,"a",9),c.nc(11,"Downloads"),c.Ob(),c.Lb(12,"div",10),c.mc(13,M,2,1,"a",11),c.Lb(14,"div",10),c.Pb(15,"div",12),c.Pb(16,"div"),c.Pb(17,"a",13),c.nc(18,"Other downloads"),c.Ob(),c.Ob(),c.Pb(19,"div"),c.Pb(20,"a",14),c.nc(21,"open on web"),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.mc(22,C,6,0,"ng-container",5),c.Ob()),2&t){const t=c.bc();c.zb(1),c.cc("ngIf","linux"===t.platform||t.isLinux),c.zb(3),c.cc("ngIf","linux"!==t.platform&&!t.isLinux),c.zb(1),c.cc("ngIf","linux"===t.platform||t.isLinux),c.zb(8),c.cc("ngForOf",t.donwloadUrlArr),c.zb(9),c.cc("ngIf","linux"===t.platform||t.isLinux)}}var y=function(t){return t.mac_intel="mac_intel",t.mac_m1="mac_m1",t.windows_x64="windows_x64",t.linux="linux",t.chrome_os="chrome_os",t.unknown="unknown",t}({});let k=(()=>{class t{constructor(){this.isLinux=!1,this.loading=!0,this.DownloadBtnLabel="Download",this.DownloadBtnUrl="",this.copied=!1}ngOnInit(){this.detectPlatform()}selectPlatform(t){this.platform=t,this.setUrls(t)}detectPlatform(){const t=window.navigator.platform.toLowerCase(),n=window.navigator.userAgent.toLowerCase();this.platform=n.includes("cros")?y.chrome_os:t.includes("win")?y.windows_x64:t.includes("mac")?y.mac_m1:t.includes("linux")?y.linux:y.unknown,this.setUrls(this.platform)}setUrls(t){switch(t){case y.unknown:this.DownloadBtnLabel=S[y.windows_x64],this.DownloadBtnUrl=this.downloadUrls[y.windows_x64];default:this.DownloadBtnLabel=S[t]||"Download",this.DownloadBtnUrl=this.downloadUrls[t]}}downloadFile(){this.downloadLinkRef.nativeElement.click()}copyCode(){const t=this.codeSnippetRef.nativeElement.textContent.trim();if(navigator.clipboard)navigator.clipboard.writeText(t).then(()=>{console.log("Code copied to clipboard!"),this.copied=!0,setTimeout(()=>{this.copied=!1},2e3)}).catch(t=>{console.error("Failed to copy code: ",t)});else{const n=document.createElement("textarea");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),console.log("Code copied to clipboard!")}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-download"]],viewQuery:function(t,n){var e;1&t&&(c.rc(u,!0),c.rc(v,!0)),2&t&&(c.dc(e=c.Yb())&&(n.downloadLinkRef=e.first),c.dc(e=c.Yb())&&(n.codeSnippetRef=e.first))},inputs:{downloadUrls:"downloadUrls",donwloadUrlArr:"donwloadUrlArr",isMobile:"isMobile"},decls:1,vars:1,consts:[["class","container-fluid w-100",4,"ngIf"],[1,"container-fluid","w-100"],["class","text-center text-muted instruction",4,"ngIf"],[1,"primary-button","dropdown-container","download-button","d-flex","justify-center","align-center"],["role","group","aria-label","Button group with nested dropdown",1,"btn-group",2,"width","100%","height","100%"],[4,"ngIf"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"ddntoggle","btn","btn-danger","dropdown-toggle","dropdown-toggle-split"],[1,"sr-only"],[1,"dropdown-menu"],[1,"dropdown-item","disabled"],[1,"dropdown-divider"],["class","dropdown-item","href","javascript:void(0)",3,"click",4,"ngFor","ngForOf"],[2,"display","flex","justify-content","space-around"],["href","https://github.com/phcode-dev/phoenix-desktop/releases","target","_blank",1,"dropdown-link","primary-link"],["href","https://phcode.dev/","target","_blank",1,"dropdown-link","primary-link"],[1,"text-center","text-muted","instruction"],["type","button",1,"btn",2,"height","100%",3,"click"],[2,"font-size","16px","font-weight","bold","margin-bottom","0"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-download",2,"margin-right","10px"],["d","M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"],["d","M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z"],[2,"font-size","14px","font-weight","bold"],["hidden","","download","",3,"href","target"],["downloadLink",""],["class","copied","id","copy-notification",4,"ngIf"],["id","copy","type","button","aria-haspopup","true",1,"btn",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","gray","viewBox","0 0 16 16",1,"bi","bi-copy"],["fill-rule","evenodd","d","M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1z"],[1,"input-group",3,"click"],["id","codeSnippet",1,"form-control","bg-light"],["codeSnippet",""],["id","copy-notification",1,"copied"],["href","javascript:void(0)",1,"dropdown-item",3,"click"],[1,"linux-more"],[1,"text"],["href","https://updates.phcode.io/linux/installer.sh","target","_blank",1,"primary-link-accent"]],template:function(t,n){1&t&&c.mc(0,_,23,5,"div",0),2&t&&c.cc("ngIf",!n.isMobile)},directives:[o.t,o.s],styles:[".instruction[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-weight:lighter}.copied[_ngcontent-%COMP%]{color:var(--color-success-dark);background-color:hsla(0,0%,100%,.75);position:absolute;top:50%;left:-110px;width:100px;transform:translateY(-50%);padding:5px;border-radius:6px;font-size:small;transition:all .3s ease}.download-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:auto;height:70px;width:100%;min-width:350px;position:relative}.download-button[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%;height:100%;background-color:transparent;border:none;color:#fff}.download-button[_ngcontent-%COMP%] .ddntoggle[_ngcontent-%COMP%]{width:50px}.download-button[_ngcontent-%COMP%] .dropdown-link[_ngcontent-%COMP%]{font-size:var(--font-size-xs)}.download-button[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{min-width:300px}#codeSnippet[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;white-space:nowrap;justify-content:center;align-items:center;-webkit-user-select:text;-moz-user-select:text;user-select:text}#codeSnippet[_ngcontent-%COMP%], #copy[_ngcontent-%COMP%]{background-color:#f4e2da!important}#copy[_ngcontent-%COMP%]{width:50px}.linux-more[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:var(--font-size-xs);margin-top:20px}.linux-more[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:var(--text-color-light)}"],data:{animation:[Object(h.j)("enterAnimation",[Object(h.i)(":enter",[Object(h.h)({opacity:0}),Object(h.e)("100ms",Object(h.h)({opacity:1}))]),Object(h.i)(":leave",[Object(h.h)({opacity:1}),Object(h.e)("100ms",Object(h.h)({opacity:0}))])])]}}),t})();function L(t,n){if(1&t&&c.Lb(0,"px-download",24),2&t){const t=c.bc();c.cc("downloadUrls",t.downloadUrls)("donwloadUrlArr",t.donwloadUrlArr)("isMobile",t.isMobile)}}function z(t,n){if(1&t&&(c.Pb(0,"span",12),c.nc(1,"with "),c.Pb(2,"a",25),c.Pb(3,"strong"),c.nc(4),c.Ob(),c.Ob(),c.nc(5," downloads and counting..."),c.Ob()),2&t){const t=c.bc();c.zb(2),c.cc("href",t.downloadProofLink,c.ic),c.zb(2),c.oc(t.downloadCount)}}const S={windows_x64:"Windows x64 Installer",mac_m1:"Mac - Apple Silicon DMG",mac_intel:"Mac - Intel DMG",linux:"Linux x64",chrome_os:"Chrome OS App"};let I=(()=>{class t{constructor(t){this.apiService=t,this.loading=!0,this.isMobile=!1}ngOnInit(){this.apiService.getDownloadUrls().subscribe(t=>{this.downloadUrls=t["phcode.io.DownloadURL"],this.donwloadUrlArr=Object.keys(this.downloadUrls).map(n=>({label:S[n],value:t["phcode.io.DownloadURL"][n],key:n})),this.donwloadUrlArr.push({label:S.linux,value:"",key:y.linux}),this.loading=!1},()=>{console.error("Failed to get URLs")}),this.isMobile=this.checkMobile(),this.apiService.getDownloadCounts().subscribe(t=>{this.downloadCount=t.totalDownloads.toLocaleString(),this.downloadProofLink=t.downloadProofLink})}checkMobile(){let t=!1;var n;return n=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(t=!0),t}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(d))},t.\u0275cmp=c.Eb({type:t,selectors:[["px-banner"]],decls:37,vars:10,consts:[[1,"main"],["parent",""],["src","assets/images/vector-top-left.png","alt","topl",1,"vtl","z1"],["src","assets/images/vector-bottom-right.png","alt","bottoml",1,"vbr","z1"],["pxMouseMove","","src","assets/images/stars-left.svg","alt","bottoml",1,"stars-left","z2",3,"parent"],["pxMouseMove","","src","assets/images/stars-right.svg","alt","bottoml",1,"stars-right","z2",3,"parent"],[1,"container","content-container","d-flex","flex-column","justify-center","align-center","z8"],["pxMouseMove","","xMovement","3","yMovement","3","src","assets/images/phoenix-logo.svg","alt","logo",1,"brand-logo",3,"parent"],[1,"brand-text","text-center","z2","d-flex","flex-column","justify-center","align-center"],[3,"downloadUrls","donwloadUrlArr","isMobile",4,"ngIf"],["href","https://phcode.dev/","target","_blank"],["type","button",1,"btn","launch-btn",3,"ngClass"],[2,"font-size","small"],["href","https://brackets.io/","target","_blank",1,"primary-link"],["style","font-size: small;",4,"ngIf"],["pxMouseMove","","xMovement","0","yMovement","10","src","assets/images/cloud1.svg","alt","cloud1",1,"cloud","cloud-1","z3",3,"parent"],["pxMouseMove","","xMovement","0","yMovement","15","src","assets/images/cloud2.svg","alt","cloud2",1,"cloud","cloud-2","z6",3,"parent"],["pxMouseMove","","xMovement","0","yMovement","25","src","assets/images/cloud3.svg","alt","cloud3",1,"cloud","cloud-3","z5",3,"parent"],["pxMouseMove","","xMovement","0","yMovement","5","src","assets/images/cloud4.svg","alt","cloud4",1,"cloud","cloud-4","z6",3,"parent"],[1,"sky"],["id","star-1",1,"star"],["id","star-2",1,"star"],["id","star-3",1,"star"],["id","star-4",1,"star"],[3,"downloadUrls","donwloadUrlArr","isMobile"],["target","_blank",1,"primary-link-accent",3,"href"]],template:function(t,n){if(1&t&&(c.Pb(0,"section",0,1),c.Lb(2,"img",2),c.Lb(3,"img",3),c.Lb(4,"img",4),c.Lb(5,"img",5),c.Pb(6,"div",6),c.Lb(7,"img",7),c.Pb(8,"div",8),c.Pb(9,"h1"),c.nc(10,"Phoenix Code"),c.Ob(),c.Pb(11,"span"),c.nc(12,"The text editor designed to make coding as simple and fun as playing a video game"),c.Ob(),c.Lb(13,"br"),c.Lb(14,"br"),c.mc(15,L,1,3,"px-download",9),c.Pb(16,"div"),c.Pb(17,"a",10),c.Pb(18,"button",11),c.nc(19," Launch Web Editor"),c.Ob(),c.Ob(),c.Ob(),c.Lb(20,"br"),c.Pb(21,"span",12),c.nc(22,"Built for you by the "),c.Pb(23,"a",13),c.Pb(24,"strong"),c.nc(25,"brackets.io"),c.Ob(),c.Ob(),c.nc(26," development team"),c.Ob(),c.mc(27,z,6,2,"span",14),c.Ob(),c.Ob(),c.Lb(28,"img",15),c.Lb(29,"img",16),c.Lb(30,"img",17),c.Lb(31,"img",18),c.Pb(32,"div",19),c.Lb(33,"div",20),c.Lb(34,"div",21),c.Lb(35,"div",22),c.Lb(36,"div",23),c.Ob(),c.Ob()),2&t){const t=c.ec(1);c.zb(4),c.cc("parent",t),c.zb(1),c.cc("parent",t),c.zb(2),c.cc("parent",t),c.zb(8),c.cc("ngIf",n.downloadUrls),c.zb(3),c.cc("ngClass",n.isMobile?"primary-button":"transparent-button"),c.zb(9),c.cc("ngIf",n.downloadCount),c.zb(1),c.cc("parent",t),c.zb(1),c.cc("parent",t),c.zb(1),c.cc("parent",t),c.zb(1),c.cc("parent",t)}},styles:['.main[_ngcontent-%COMP%]{height:100vh;width:100vw;position:relative;overflow:hidden;background:linear-gradient(#000a2e 80%,#fff);-webkit-user-select:none;-moz-user-select:none;user-select:none}.main[_ngcontent-%COMP%] .vtl[_ngcontent-%COMP%]{position:absolute;top:-10%;left:-20px}.main[_ngcontent-%COMP%] .vbr[_ngcontent-%COMP%]{position:absolute;bottom:10%;right:-20px}.main[_ngcontent-%COMP%] .stars-left[_ngcontent-%COMP%]{position:absolute;left:0;top:10%;opacity:.7}.main[_ngcontent-%COMP%] .stars-right[_ngcontent-%COMP%]{position:absolute;right:0;top:5%;opacity:.7}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{color:var(--text-color-light);top:35%;left:50%;transform:translate(-50%,-50%);position:absolute;font-family:var(--font-montserrat-bold)}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-logo[_ngcontent-%COMP%]{height:25vh;margin-top:100px}@media (max-width:690px){.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-logo[_ngcontent-%COMP%]{margin-top:200px}}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-text[_ngcontent-%COMP%]{margin-top:-30px}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:var(--font-size-xxl);margin-bottom:var(--space-lg)}.main[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .brand-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--font-montserrat)}.main[_ngcontent-%COMP%] .cloud[_ngcontent-%COMP%]{bottom:0;-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none}.main[_ngcontent-%COMP%] .cloud[_ngcontent-%COMP%], .sky[_ngcontent-%COMP%]{position:absolute;width:100%}.sky[_ngcontent-%COMP%]{height:100%;transform:rotate(136deg);top:-182px;left:472px;z-index:2;opacity:.5}.star[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;height:2px;border-radius:885px;background:linear-gradient(-45deg,#eef0f5,rgba(0,0,255,0));filter:drop-shadow(0 0 6px #d7dff0);animation:tail 5s ease-in-out infinite,shooting 5s ease-in-out infinite}.star[_ngcontent-%COMP%]:after, .star[_ngcontent-%COMP%]:before{content:"";position:absolute;top:calc(50% - 1px);right:0;height:2px;background:linear-gradient(-45deg,rgba(0,0,255,0),#eaeef8,rgba(0,0,255,0));transform:translateX(50%) rotate(45deg);border-radius:100%;animation:shining 3s ease-in-out infinite}.star[_ngcontent-%COMP%]:after{transform:translateX(50%) rotate(-45deg)}.star[_ngcontent-%COMP%]:first-child{top:calc(50% + 119px);left:calc(50% - 43px)}.star[_ngcontent-%COMP%]:first-child:after, .star[_ngcontent-%COMP%]:first-child:before{animation-delay:12s}.star[_ngcontent-%COMP%]:nth-child(2){top:calc(50% + 100px);left:calc(50% - 137px);animation-delay:5s}.star[_ngcontent-%COMP%]:nth-child(2):after, .star[_ngcontent-%COMP%]:nth-child(2):before{animation-delay:10s}.star[_ngcontent-%COMP%]:nth-child(3){top:calc(50% + 90px);left:calc(50% - 222px);animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(3):after, .star[_ngcontent-%COMP%]:nth-child(3):before{animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(4){top:calc(50% + 129px);left:calc(50% - 213px);animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(4):after, .star[_ngcontent-%COMP%]:nth-child(4):before{animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(5){top:calc(50% - 146px);left:calc(50% - 112px);animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(5):after, .star[_ngcontent-%COMP%]:nth-child(5):before{animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(6){top:calc(50% + 108px);left:calc(50% - 160px);animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(6):after, .star[_ngcontent-%COMP%]:nth-child(6):before{animation-delay:3s}.star[_ngcontent-%COMP%]:nth-child(7){top:calc(50% - 52px);left:calc(50% - 72px);animation-delay:7s}.star[_ngcontent-%COMP%]:nth-child(7):after, .star[_ngcontent-%COMP%]:nth-child(7):before{animation-delay:7s}@keyframes tail{0%{width:0}30%{width:100px}to{width:0}}@keyframes shining{0%{width:0}50%{width:30px}to{width:0}}@keyframes shooting{0%{transform:translateX(0)}to{transform:translateX(500px)}}.launch-btn[_ngcontent-%COMP%]{height:50px;width:100%;min-width:350px;margin-top:30px}']}),t})(),A=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-meet-phoenix"]],decls:25,vars:0,consts:[["id","meet-phoenix",1,"container-fluid","w-100"],[1,"heading-container","text-center","pt-5","w-100"],[1,"heading","col-md-12","col-sm-12","col-xs-12"],[1,"description","col-md-12","col-sm-12","col-xs-12","mt-2","d-flex-center","w-100"],[1,"text-center","w-50","w-xs-100"],[1,"row","content-1","center-below-xs"],[1,"col-md-6","col-sm-12","col-xs-12","mt-sm-4","mt-xs-4","text-sm-center","text-xs-center","text-lg-right","text-xl-right","text-md-right"],["src","assets/images/meetPhoenixGraphics.png","alt","",1,"meet-img",2,"width","100%"],[1,"col-md-6","col-sm-12","col-xs-12"],[1,"row"],[1,"col-md-12","mt-5","center-below-xs"],[1,"row","text-lg-left","text-xl-left","text-md-left","text-sm-center","text-xs-center","mt-4","mb-sm-5","mb-xs-5"],[1,"col-md-6","mt-4"],[1,"heading","col-md-12","mb-4"],[1,"description","col-md-12"],[1,"col-md-4","text-center"],["height","200px","src","assets/images/supportedSystemsbrowers.png","alt","",2,"opacity","70%"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"span",2),c.nc(3," Meet Phoenix Code "),c.Ob(),c.Pb(4,"span",3),c.Pb(5,"div",4),c.nc(6," A text editor specially crafted for web developers, designers, and students. Phoenix Code's advanced visual tools and live previews\neliminate guesswork, making web development quicker and and more enjoyable. "),c.Ob(),c.Ob(),c.Ob(),c.Pb(7,"div",5),c.Pb(8,"div",6),c.Lb(9,"img",7),c.Ob(),c.Pb(10,"div",8),c.Pb(11,"div",9),c.Pb(12,"div",10),c.Pb(13,"div",11),c.Pb(14,"div",12),c.Pb(15,"div",9),c.Pb(16,"span",13),c.nc(17," Runs Everywhere "),c.Ob(),c.Pb(18,"div",14),c.Pb(19,"p"),c.nc(20,"Phoenix Code is natively available for macOS, Windows, and Linux. "),c.Ob(),c.Pb(21,"p"),c.nc(22,"ChromeOS or alternative platforms? Get the web version on any browser-enabled device."),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(23,"div",15),c.Lb(24,"img",16),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob())},styles:["section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xxl)}section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-family:var(--font-montserrat);line-height:1.5;width:40%}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .meet-img[_ngcontent-%COMP%]{max-width:600px;padding:20px}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xl)}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}@media only screen and (max-width:575px){.center-below-xs[_ngcontent-%COMP%]{text-align:center}}"]}),t})();const E=["videoElement"];function j(t,n){if(1&t&&c.Lb(0,"img",12),2&t){const t=c.bc();c.cc("src",t.titleIconSrc,c.ic)}}function U(t,n){if(1&t&&c.Lb(0,"video",13,14),2&t){const t=c.bc();c.cc("src",t.videoSrc,c.ic)}}let T=(()=>{class t{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=this.videoElement.nativeElement;t.muted=!0,t.autoplay=!0,t.loop=!0,t.load(),t.play().catch(t=>{console.error("Error attempting to play video:",t)})}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-video-overlay"]],viewQuery:function(t,n){var e;1&t&&c.rc(E,!0),2&t&&c.dc(e=c.Yb())&&(n.videoElement=e.first)},inputs:{title:"title",titleIconSrc:"titleIconSrc",subtitle:"subtitle",videoSrc:"videoSrc"},decls:14,vars:4,consts:[["id","video-overlay",1,"container","d-flex-center","mt-5"],[1,"row","content-1","center-below-xs","pt-4"],[1,"col-md-6","col-sm-12","col-xs-12"],[1,"row"],[1,"col-md-12","mt-4","center-below-xs"],[1,"row","text-lg-left","text-xl-left","text-md-left","text-sm-center","text-xs-center","mb-sm-5","mb-xs-5"],[1,"heading","col-md-12","mb-4","text-accent"],["style","width: 50px","class","flash-img","alt","flash",3,"src",4,"ngIf"],[1,"description","col-md-10"],[3,"innerHTML"],[1,"col-md-6","col-sm-12","col-xs-12","mt-sm-4","mt-xs-4","text-sm-center","text-xs-center","text-lg-right","text-xl-right","text-md-right"],["muted","","autoplay","","loop","","controls","",3,"src",4,"ngIf"],["alt","flash",1,"flash-img",2,"width","50px",3,"src"],["muted","","autoplay","","loop","","controls","",3,"src"],["videoElement",""]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"div",2),c.Pb(3,"div",3),c.Pb(4,"div",4),c.Pb(5,"div",5),c.Pb(6,"div",3),c.Pb(7,"span",6),c.mc(8,j,1,1,"img",7),c.nc(9),c.Ob(),c.Pb(10,"div",8),c.Lb(11,"div",9),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(12,"div",10),c.mc(13,U,2,1,"video",11),c.Ob(),c.Ob(),c.Ob()),2&t&&(c.zb(8),c.cc("ngIf",n.titleIconSrc),c.zb(1),c.pc(" ",n.title," "),c.zb(2),c.cc("innerHTML",n.subtitle,c.hc),c.zb(2),c.cc("ngIf",n.videoSrc))},directives:[o.t],styles:["section[_ngcontent-%COMP%]{width:90%}section[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{max-height:50svh;width:100%;position:relative;border-radius:20px;overflow:hidden;border:5px solid #333;box-shadow:0 4px 8px rgba(62,62,62,.3)}section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xxl)}section[_ngcontent-%COMP%] .heading-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-family:var(--font-montserrat);line-height:1.5;width:40%}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .meet-img[_ngcontent-%COMP%]{max-width:600px;padding:20px}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);color:var(--primary-color);font-size:var(--font-size-xl)}section[_ngcontent-%COMP%] .content-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}@media only screen and (max-width:575px){.center-below-xs[_ngcontent-%COMP%]{text-align:center}}"]}),t})();function D(t,n){if(1&t&&c.Lb(0,"px-video-overlay",25),2&t){const t=n.$implicit;c.cc("title",t.title)("titleIconSrc",t.titleIconSrc)("subtitle",t.subtitle)("videoSrc",t.videoSrc)}}const F=[{title:"Live Preview",subtitle:"See your HTML and CSS code changes instantly, without page reloads! Use powerful UI tools like the colour editor to tweak background\nand text colours, adjust font sizes and border-radius with number dials, or explore page layouts with live code hints. Phoenix Code makes\nyour web design workflows faster and more enjoyable.",titleIconSrc:"assets/images/load.gif",videoSrc:"https://docs-images.phcode.dev/videos/phcode.io-site/live_preview.mp4"},{title:"Code Intelligence for the Web",subtitle:"Write HTML, CSS, and JavaScript faster with on-the-fly code completion and catch errors before they become problems. We're always\nadding better smarts to our code intelligence, making Phoenix Code sharper with every release. It's web development with everything you\nneed, right out of the box- no extensions needed.",titleIconSrc:"assets/images/intelligence.png",videoSrc:"https://docs-images.phcode.dev/videos/phcode.io-site/error_detect.mp4"},{title:"Lightning-Fast Search",subtitle:"Find exactly what you need across your entire project with Instant search. We've fine-tuned the UX to help you pinpoint your query\nfaster: search within specific file types, exclude files and folders, or use regular expressions for complex queries. Phoenix Code's state-of-\nthe-art 'find in files' feature handles large projects with ease, delivering instant results as you type.",titleIconSrc:"assets/images/flash.gif",videoSrc:"https://docs-images.phcode.dev/videos/phcode.io-site/find_in_files.mp4"}];let H=(()=>{class t{constructor(t){this.alertService=t,this.videoOverlayConfig=[],this.featuresFromAPI=null}ngOnInit(){this.alertService.fetchCriticalAlerts().subscribe(t=>{this.videoOverlayConfig=(null==t?void 0:t.features)&&Array.isArray(t.features)&&t.features.length>0?null==t?void 0:t.features:F})}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(b))},t.\u0275cmp=c.Eb({type:t,selectors:[["px-features"]],decls:36,vars:1,consts:[[1,"features","container-fluid"],[1,"heading-container","container","text-center","py-5"],[1,"row","py-5"],[1,"heading","col-md-12"],[3,"title","titleIconSrc","subtitle","videoSrc",4,"ngFor","ngForOf"],[1,"d-flex-center","w-100","my-4","py-4"],[1,"row","col-md-10","col-xs-12","d-flex-center","my-4","py-4"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center","technologies-icon"],["src","assets/images/js.png","alt","icons"],["src","assets/images/ts.png","alt","icons"],["src","assets/images/html.png","alt","icons"],["src","assets/images/css.png","alt","icons"],[1,"col-md-2","col-sm-2","col-xs-12","text-center","mt-2","mt-xs-4"],[1,"container-fluid","pb-5","preview"],[1,"row","pb-5"],[1,"offset-md-1","col-md-3","d-flex-center"],["src","assets/images/extension.png","alt",""],[1,"col-md","d-flex-center"],[1,"container","text-left","text-sm-center","text-xs-center","px-3"],[1,"heading","container","text-left","w-75"],[1,"container","text-left","w-75"],[1,"illustration"],[1,"container","pt-5","d-flex-center"],["src","assets/images/Illustration.png","alt","people"],[3,"title","titleIconSrc","subtitle","videoSrc"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"div",2),c.Pb(3,"span",3),c.nc(4," Packed with features... "),c.Ob(),c.Ob(),c.Ob(),c.mc(5,D,1,4,"px-video-overlay",4),c.Pb(6,"div",5),c.Pb(7,"div",6),c.Pb(8,"span",7),c.nc(9," phoenix is tailor made for "),c.Ob(),c.Pb(10,"span",8),c.Lb(11,"img",9),c.Ob(),c.Pb(12,"span",8),c.Lb(13,"img",10),c.Ob(),c.Pb(14,"span",8),c.Lb(15,"img",11),c.Ob(),c.Pb(16,"span",8),c.Lb(17,"img",12),c.Ob(),c.Pb(18,"span",13),c.nc(19," and many more... "),c.Ob(),c.Ob(),c.Ob(),c.Pb(20,"div",14),c.Pb(21,"div",15),c.Pb(22,"div",16),c.Lb(23,"img",17),c.Ob(),c.Pb(24,"div",18),c.Pb(25,"div",19),c.Pb(26,"p",20),c.nc(27,"Extension and Themes"),c.Ob(),c.Pb(28,"p",21),c.nc(29," Customize the editor's functionality and look & feel with thousands of available extensions and themes. "),c.Ob(),c.Pb(30,"p",21),c.nc(31," Want to automate a task? Create extensions easily that work on any platform, exactly as you need. "),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(32,"section",22),c.Pb(33,"div",23),c.Pb(34,"div",2),c.Lb(35,"img",24),c.Ob(),c.Ob(),c.Ob()),2&t&&(c.zb(5),c.cc("ngForOf",n.videoOverlayConfig))},directives:[o.s,T],styles:[".features[_ngcontent-%COMP%]{background:url(featureBG.cec09191c4879d6552e8.png);background-repeat:repeat;background-size:100% 100%}.features[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--text-color-light)}.features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-size:var(--font-size-lg);font-family:var(--font-montserrat-bold)}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--accent-color);font-size:var(--font-size-xl);font-family:var(--font-montserrat-bold);font-style:italic}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .flash-img[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .sq-img[_ngcontent-%COMP%]{max-width:120px}.technologies-icon[_ngcontent-%COMP%]{width:200px}"]}),t})();var B=e("8aeQ");let q=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-landing"]],decls:6,vars:0,consts:[[1,"w-100","p-0"]],template:function(t,n){1&t&&(c.Pb(0,"div",0),c.Lb(1,"px-alert"),c.Lb(2,"px-banner"),c.Lb(3,"px-meet-phoenix"),c.Lb(4,"px-features"),c.Lb(5,"px-footer"),c.Ob())},directives:[f,I,A,H,B.a],styles:[""]}),t})(),X=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-main"]],decls:2,vars:0,template:function(t,n){1&t&&(c.Lb(0,"px-nav"),c.Lb(1,"px-landing"))},directives:[r.a,q],styles:[""]}),t})();const R=[{path:"",component:X}];let W=(()=>{class t{}return t.\u0275mod=c.Ib({type:t}),t.\u0275inj=c.Hb({factory:function(n){return new(n||t)},imports:[[i.e.forChild(R)],i.e]}),t})(),N=(()=>{class t{constructor(t){this.el=t,this.element=null,this.mouseOverParent=!1,this.parent=null,this.xMovement=10,this.yMovement=10,this.scroll=!1,this.updateElPosition=t=>{const n=t.clientX/document.body.clientWidth,e=t.clientY/document.body.clientHeight;this.element.style.transform=`translate(${(2*n-1)*this.xMovement}px, ${(2*e-1)*this.yMovement}px)`},this.updateElPositionOnScroll=t=>{if(console.log("scroll"),this.scroll){const t=window.scrollY/document.body.clientHeight;this.element.style.transform=`translateY(${3*this.yMovement*(2*t-1)}px)`}},this.element=t.nativeElement}ngAfterViewInit(){this.parent&&(this.parent.addEventListener("mouseenter",()=>{document.addEventListener("mousemove",this.updateElPosition)}),this.parent.addEventListener("mouseleave",()=>{document.removeEventListener("mousemove",this.updateElPosition)}))}}return t.\u0275fac=function(n){return new(n||t)(c.Kb(c.l))},t.\u0275dir=c.Fb({type:t,selectors:[["","pxMouseMove",""]],inputs:{parent:"parent",xMovement:"xMovement",yMovement:"yMovement",scroll:"scroll"}}),t})(),V=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-workspaces"]],decls:57,vars:0,consts:[[1,"workspaces","container-fluid"],[1,"introducing","row"],[1,"d-flex-center","w-100"],[1,"p-4","white","text-intro"],[1,"col-md-12","text-center"],[1,"white","p-4","main-heading"],[1,"col-md-12","text-center","mb-4","table-img"],["src","assets/images/developers-table.png","alt","",1,"white","p-4"],[1,"py-4","col-md-8","offset-md-2","white"],[1,"col-md-12","text-center","my-4","host-img","row"],[1,"py-4","px-0","col-md-4","offset-md-1"],[1,"white","p-4","mt-4"],["src","assets/images/host.png","alt","host",1,"white","p-4"],[1,"col-md-4","px-0"],[1,"white","p-4"],[1,"col-md-12","text-center","my-4"],[1,"row"],[1,"col-md-6"],["src","assets/images/collab-coding.png","alt","",1,"white","collab-coding"],[1,"col-md-6","white"],[1,"main-heading","collab"],[1,"text-left","points"],[1,"col-md-5","offset-md-1","white","d-flex-center","flex-column"],[1,"text-left"],[1,"col-md-6","text-left"],["src","assets/images/login.png","alt","",1,"white","collab-coding"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Pb(1,"div",1),c.Pb(2,"div",2),c.Pb(3,"h1",3),c.nc(4,"Introducing"),c.Ob(),c.Ob(),c.Pb(5,"div",4),c.Pb(6,"div",2),c.Pb(7,"h1",5),c.nc(8,"DEVELOPMENT WORKSPACES"),c.Ob(),c.Ob(),c.Ob(),c.Pb(9,"div",6),c.Lb(10,"img",7),c.Pb(11,"div",8),c.Pb(12,"p"),c.nc(13,"Phoenix\u2019s development workspaces are not just your project\u2019s root folder like you have experienced in other IDE\u2019s. Phoenix workspaces are real local & cloud spaces."),c.Ob(),c.Ob(),c.Ob(),c.Pb(14,"div",9),c.Pb(15,"div",10),c.Pb(16,"p",11),c.nc(17,"Setup Development workspaces locally & in the cloud. "),c.Lb(18,"br"),c.nc(19," With just the click of a button"),c.Ob(),c.Ob(),c.Lb(20,"img",12),c.Pb(21,"div",13),c.Pb(22,"p",14),c.nc(23,"Host & share apps easily"),c.Ob(),c.Ob(),c.Ob(),c.Pb(24,"div",15),c.Pb(25,"div",16),c.Pb(26,"div",17),c.Lb(27,"img",18),c.Ob(),c.Pb(28,"div",19),c.Pb(29,"p",20),c.nc(30,"COLLABORATIVE DEVELOPMENT"),c.Ob(),c.Pb(31,"p"),c.nc(32,"do it the right way with phoenix"),c.Ob(),c.Lb(33,"br"),c.Pb(34,"ol",21),c.Pb(35,"li"),c.nc(36," Create custom development workspace and share it with the team. "),c.Ob(),c.Pb(37,"li"),c.nc(38," Seamless workspace roaming between all your connected devices. "),c.Ob(),c.Pb(39,"li"),c.nc(40," Continous cloud backup and recovery of workspaces. "),c.Ob(),c.Pb(41,"li"),c.nc(42," Experience peer programming at its best. "),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Pb(43,"div",16),c.Pb(44,"div",22),c.Pb(45,"p",20),c.nc(46,"AUTH"),c.Ob(),c.Pb(47,"p",23),c.nc(48,"Multiple Authentication mechanisms Supports google, facebook, git and bitbucket logins"),c.Ob(),c.Lb(49,"br"),c.Lb(50,"br"),c.Pb(51,"p",20),c.nc(52,"ENTERPRISE"),c.Ob(),c.Pb(53,"p",23),c.nc(54,"SAML Enterprise logins Optional self hosting Advanced Auditing Enforce source code copy policies in developer machines"),c.Ob(),c.Ob(),c.Pb(55,"div",24),c.Lb(56,"img",25),c.Ob(),c.Ob(),c.Ob(),c.Ob(),c.Ob())},styles:[".workspaces[_ngcontent-%COMP%]{color:var(--text-color);background:url(dot-bg.6d062be8b71a29060be2.png);background-size:cover}.workspaces[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.workspaces[_ngcontent-%COMP%] .white[_ngcontent-%COMP%]{background-color:#fff}.workspaces[_ngcontent-%COMP%] .text-intro[_ngcontent-%COMP%]{font-family:var(--font-caveat)}.workspaces[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic}.workspaces[_ngcontent-%COMP%] .table-img[_ngcontent-%COMP%]{margin-top:-5px}.workspaces[_ngcontent-%COMP%] .collab[_ngcontent-%COMP%]{font-size:var(--font-size-xl)}.workspaces[_ngcontent-%COMP%] .points[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:20px 0}"]}),t})(),Y=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c.Eb({type:t,selectors:[["px-server"]],decls:32,vars:1,consts:[[1,"server"],[1,"my-4","w-100","text-center"],[1,"p-4","transparent","main-heading"],[1,"d-flex-center","mb-5"],[1,"terminal"],[1,"row","text-center","px-5"],[1,"col-md-4","link"],[1,"col-md-4","link",3,"routerLink"]],template:function(t,n){1&t&&(c.Pb(0,"section",0),c.Lb(1,"br"),c.Lb(2,"br"),c.Pb(3,"div",1),c.Pb(4,"span",2),c.nc(5," SERVER "),c.Ob(),c.Ob(),c.Lb(6,"br"),c.Pb(7,"div",3),c.Pb(8,"div",4),c.Lb(9,"br"),c.Pb(10,"p"),c.nc(11,"Terminal access: guarenteed on cloud and onprem with sudo access"),c.Ob(),c.Lb(12,"br"),c.Lb(13,"br"),c.Pb(14,"p"),c.nc(15," > On demand virtual machines with sudo access in the cloud for performance "),c.Lb(16,"br"),c.Lb(17,"br"),c.nc(18," > Fully Featured Terminal Support "),c.Lb(19,"br"),c.Lb(20,"br"),c.nc(21," > Choose servers based on geo-location "),c.Ob(),c.Ob(),c.Ob(),c.Lb(22,"br"),c.Pb(23,"div",5),c.Pb(24,"div",6),c.nc(25,"VISION"),c.Ob(),c.Pb(26,"div",6),c.nc(27,"MISSION"),c.Ob(),c.Pb(28,"div",7),c.nc(29,"ABOUT"),c.Ob(),c.Ob(),c.Lb(30,"br"),c.Lb(31,"br"),c.Ob()),2&t&&(c.zb(28),c.cc("routerLink","/about"))},directives:[i.b],styles:[".server[_ngcontent-%COMP%]{color:var(--text-color-light);background:url(white-dot-bg.8d8714e1c71a487e620d.png),linear-gradient(#282727,#282727);background-size:contain;background-repeat:no-repeat}.server[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.server[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{background-color:var(--background-color-dark)}.server[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic;font-size:var(--font-size-xxl)}.server[_ngcontent-%COMP%] .terminal[_ngcontent-%COMP%]{background:url(terminal.7fe5321f9c595f5a815f.png),linear-gradient(#282727,#282727);background-size:cover;min-height:500px;min-width:50vw;background-repeat:none;padding:50px;overflow:hidden;color:var(--text-color-gray)}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);font-size:var(--font-size-xxl);cursor:pointer}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),t})(),G=(()=>{class t{}return t.\u0275mod=c.Ib({type:t}),t.\u0275inj=c.Hb({factory:function(n){return new(n||t)},imports:[[o.c,W]]}),t})();c.jc(I,[o.q,o.r,o.s,o.t,o.A,o.w,o.x,o.y,o.z,o.u,o.v,i.f,i.b,i.d,i.c,i.g,X,q,r.a,f,k,I,N,A,T,H,V,Y,B.a],[o.b,o.G,o.p,o.k,o.E,o.g,o.C,o.F,o.d,o.f,o.i,o.j,o.l])},"d6/a":function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var o=e("fXoL"),i=e("ofXK"),c=e("tyNb");function r(t,n){1&t&&(o.Pb(0,"span",25),o.nc(1,"Phoenix Code"),o.Ob())}let a=(()=>{class t{constructor(){this.navFixed=!1,this.scrollOffset=100}onWindowScroll(){this.navFixed=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)>this.scrollOffset}ngOnInit(){this.scrollOffset=document.getElementById("meet-phoenix").offsetTop-200}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Eb({type:t,selectors:[["px-nav"]],hostBindings:function(t,n){1&t&&o.Xb("scroll",(function(){return n.onWindowScroll()}),!1,o.fc)},decls:39,vars:3,consts:[[1,"navbar","navbar-expand-lg",3,"ngClass"],[1,"navbar-brand",3,"routerLink"],["src","assets/images/phoenix-logo.svg","alt","logo",2,"height","60px","width","60px","margin-right","10px"],["class","sub-heading",4,"ngIf"],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","white","viewBox","0 0 16 16",1,"bi","bi-list"],["fill-rule","evenodd","d","M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"div-inline","my-2","my-lg-0"],[1,"nav-item","active"],["target","_blank","href","https://github.com/orgs/phcode-dev/discussions",1,"nav-link"],["target","_blank","href","https://docs.phcode.dev/",1,"nav-link"],["href","https://github.com/phcode-dev/phoenix","target","_blank","aria-label","GitHub",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 499.36","focusable","false",1,"navbar-nav-svg"],["d","M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z","fill-rule","evenodd"],["href","https://twitter.com/phcodedev","target","_blank","aria-label","Twitter",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-twitter-x"],["d","M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"],["href","https://discord.com/invite/rBpTBPttca","target","_blank","aria-label","Discord",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-discord"],["d","M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612"],["href","https://www.youtube.com/channel/UCNK2a8DKqPQQe3GlfTk-RHg","target","_blank","aria-label","Youtube",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-youtube"],["d","M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"],[1,"sub-heading"]],template:function(t,n){1&t&&(o.Pb(0,"nav",0),o.Pb(1,"a",1),o.Lb(2,"img",2),o.mc(3,r,2,0,"span",3),o.Ob(),o.Pb(4,"button",4),o.ac(),o.Pb(5,"svg",5),o.Lb(6,"path",6),o.Ob(),o.Ob(),o.Zb(),o.Pb(7,"div",7),o.Lb(8,"ul",8),o.Pb(9,"div",9),o.Pb(10,"ul",8),o.Pb(11,"li",10),o.Pb(12,"a",11),o.nc(13,"Support"),o.Ob(),o.Ob(),o.Pb(14,"li",10),o.Pb(15,"a",12),o.nc(16,"Docs"),o.Ob(),o.Ob(),o.Pb(17,"li"),o.Pb(18,"a",13),o.ac(),o.Pb(19,"svg",14),o.Pb(20,"title"),o.nc(21,"GitHub"),o.Ob(),o.Lb(22,"path",15),o.Ob(),o.nc(23," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(24,"li"),o.Pb(25,"a",16),o.ac(),o.Pb(26,"svg",17),o.Lb(27,"path",18),o.Ob(),o.nc(28," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(29,"li"),o.Pb(30,"a",19),o.ac(),o.Pb(31,"svg",20),o.Lb(32,"path",21),o.Ob(),o.nc(33," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(34,"li"),o.Pb(35,"a",22),o.ac(),o.Pb(36,"svg",23),o.Lb(37,"path",24),o.Ob(),o.nc(38," \xa0 "),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob()),2&t&&(o.cc("ngClass",n.navFixed?"navFixed":""),o.zb(1),o.cc("routerLink","/home"),o.zb(2),o.cc("ngIf",n.navFixed))},directives:[i.q,c.d,i.t],styles:["[_nghost-%COMP%]{position:absolute;top:0;width:100%}nav[_ngcontent-%COMP%]{height:var(--nav-height);background-color:transparent;z-index:100}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80px}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:-5px;font-family:var(--font-montserrat-bold);font-size:var(--font-size-xl)}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]:hover{color:var(--text-color-light)}nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin:0 20px}nav[_ngcontent-%COMP%] .nav-link.icon[_ngcontent-%COMP%]{margin:0}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]{fill:var(--text-color-light);height:20px}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]:hover{fill:var(--accent-color)}.navFixed[_ngcontent-%COMP%]{position:fixed;width:100%;background-color:rgba(65,63,63,.594);transition:all .1s ease-in-out}.navbar-collapse.collapsing[_ngcontent-%COMP%], .navbar-collapse.show[_ngcontent-%COMP%]{background-color:rgba(65,63,63,.816);text-align:center}a[_ngcontent-%COMP%]{color:var(--text-color-light)}a[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),t})()}}]); \ No newline at end of file diff --git a/docs/1-es5.2998d1779c270dab4afc.js b/docs/1-es5.2998d1779c270dab4afc.js deleted file mode 100644 index e55e261..0000000 --- a/docs/1-es5.2998d1779c270dab4afc.js +++ /dev/null @@ -1 +0,0 @@ -function _classCallCheck(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,n){for(var e=0;e0?null==n?void 0:n.features:$}))}}]),t}()).\u0275fac=function(t){return new(t||N)(r.Kb(p))},N.\u0275cmp=r.Eb({type:N,selectors:[["px-features"]],decls:36,vars:1,consts:[[1,"features","container-fluid"],[1,"heading-container","container","text-center","py-5"],[1,"row","py-5"],[1,"heading","col-md-12"],[3,"title","titleIconSrc","subtitle","videoSrc",4,"ngFor","ngForOf"],[1,"d-flex-center","w-100","my-4","py-4"],[1,"row","col-md-10","col-xs-12","d-flex-center","my-4","py-4"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center","technologies-icon"],["src","assets/images/js.png","alt","icons"],["src","assets/images/ts.png","alt","icons"],["src","assets/images/html.png","alt","icons"],["src","assets/images/css.png","alt","icons"],[1,"col-md-2","col-sm-2","col-xs-12","text-center","mt-2","mt-xs-4"],[1,"container-fluid","pb-5","preview"],[1,"row","pb-5"],[1,"offset-md-1","col-md-3","d-flex-center"],["src","assets/images/extension.png","alt",""],[1,"col-md","d-flex-center"],[1,"container","text-left","text-sm-center","text-xs-center","px-3"],[1,"heading","container","text-left","w-75"],[1,"container","text-left","w-75"],[1,"illustration"],[1,"container","pt-5","d-flex-center"],["src","assets/images/Illustration.png","alt","people"],[3,"title","titleIconSrc","subtitle","videoSrc"]],template:function(t,n){1&t&&(r.Pb(0,"section",0),r.Pb(1,"div",1),r.Pb(2,"div",2),r.Pb(3,"span",3),r.nc(4," Packed with features... "),r.Ob(),r.Ob(),r.Ob(),r.mc(5,R,1,4,"px-video-overlay",4),r.Pb(6,"div",5),r.Pb(7,"div",6),r.Pb(8,"span",7),r.nc(9," phoenix is tailor made for "),r.Ob(),r.Pb(10,"span",8),r.Lb(11,"img",9),r.Ob(),r.Pb(12,"span",8),r.Lb(13,"img",10),r.Ob(),r.Pb(14,"span",8),r.Lb(15,"img",11),r.Ob(),r.Pb(16,"span",8),r.Lb(17,"img",12),r.Ob(),r.Pb(18,"span",13),r.nc(19," and many more... "),r.Ob(),r.Ob(),r.Ob(),r.Pb(20,"div",14),r.Pb(21,"div",15),r.Pb(22,"div",16),r.Lb(23,"img",17),r.Ob(),r.Pb(24,"div",18),r.Pb(25,"div",19),r.Pb(26,"p",20),r.nc(27,"Extension and Themes"),r.Ob(),r.Pb(28,"p",21),r.nc(29," Customize the editor's functionality and look & feel with thousands of available extensions and themes. "),r.Ob(),r.Pb(30,"p",21),r.nc(31," Want to automate a task? Create extensions easily that work on any platform, exactly as you need. "),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Pb(32,"section",22),r.Pb(33,"div",23),r.Pb(34,"div",2),r.Lb(35,"img",24),r.Ob(),r.Ob(),r.Ob()),2&t&&(r.zb(5),r.cc("ngForOf",n.videoOverlayConfig))},directives:[a.s,X],styles:[".features[_ngcontent-%COMP%]{background:url(featureBG.cec09191c4879d6552e8.png);background-repeat:repeat;background-size:100% 100%}.features[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--text-color-light)}.features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-size:var(--font-size-lg);font-family:var(--font-montserrat-bold)}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--accent-color);font-size:var(--font-size-xl);font-family:var(--font-montserrat-bold);font-style:italic}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .flash-img[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .sq-img[_ngcontent-%COMP%]{max-width:120px}.technologies-icon[_ngcontent-%COMP%]{width:200px}"]}),N),tt=e("8aeQ"),nt=((V=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||V)},V.\u0275cmp=r.Eb({type:V,selectors:[["px-landing"]],decls:6,vars:0,consts:[[1,"w-100","p-0"]],template:function(t,n){1&t&&(r.Pb(0,"div",0),r.Lb(1,"px-alert"),r.Lb(2,"px-banner"),r.Lb(3,"px-meet-phoenix"),r.Lb(4,"px-features"),r.Lb(5,"px-footer"),r.Ob())},directives:[h,T,D,J,tt.a],styles:[""]}),V),et=((W=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||W)},W.\u0275cmp=r.Eb({type:W,selectors:[["px-main"]],decls:2,vars:0,template:function(t,n){1&t&&(r.Lb(0,"px-nav"),r.Lb(1,"px-landing"))},directives:[l.a,nt],styles:[""]}),W),ot=[{path:"",component:et}],it=((Z=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=r.Ib({type:Z}),Z.\u0275inj=r.Hb({factory:function(t){return new(t||Z)},imports:[[c.e.forChild(ot)],c.e]}),Z),at=((Q=function(){function t(n){var e=this;_classCallCheck(this,t),this.el=n,this.element=null,this.mouseOverParent=!1,this.parent=null,this.xMovement=10,this.yMovement=10,this.scroll=!1,this.updateElPosition=function(t){var n=t.clientX/document.body.clientWidth,o=t.clientY/document.body.clientHeight;e.element.style.transform="translate(".concat((2*n-1)*e.xMovement,"px, ").concat((2*o-1)*e.yMovement,"px)")},this.updateElPositionOnScroll=function(t){if(console.log("scroll"),e.scroll){var n=window.scrollY/document.body.clientHeight;e.element.style.transform="translateY(".concat(3*e.yMovement*(2*n-1),"px)")}},this.element=n.nativeElement}return _createClass(t,[{key:"ngAfterViewInit",value:function(){var t=this;this.parent&&(this.parent.addEventListener("mouseenter",(function(){document.addEventListener("mousemove",t.updateElPosition)})),this.parent.addEventListener("mouseleave",(function(){document.removeEventListener("mousemove",t.updateElPosition)})))}}]),t}()).\u0275fac=function(t){return new(t||Q)(r.Kb(r.l))},Q.\u0275dir=r.Fb({type:Q,selectors:[["","pxMouseMove",""]],inputs:{parent:"parent",xMovement:"xMovement",yMovement:"yMovement",scroll:"scroll"}}),Q),ct=((K=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||K)},K.\u0275cmp=r.Eb({type:K,selectors:[["px-workspaces"]],decls:57,vars:0,consts:[[1,"workspaces","container-fluid"],[1,"introducing","row"],[1,"d-flex-center","w-100"],[1,"p-4","white","text-intro"],[1,"col-md-12","text-center"],[1,"white","p-4","main-heading"],[1,"col-md-12","text-center","mb-4","table-img"],["src","assets/images/developers-table.png","alt","",1,"white","p-4"],[1,"py-4","col-md-8","offset-md-2","white"],[1,"col-md-12","text-center","my-4","host-img","row"],[1,"py-4","px-0","col-md-4","offset-md-1"],[1,"white","p-4","mt-4"],["src","assets/images/host.png","alt","host",1,"white","p-4"],[1,"col-md-4","px-0"],[1,"white","p-4"],[1,"col-md-12","text-center","my-4"],[1,"row"],[1,"col-md-6"],["src","assets/images/collab-coding.png","alt","",1,"white","collab-coding"],[1,"col-md-6","white"],[1,"main-heading","collab"],[1,"text-left","points"],[1,"col-md-5","offset-md-1","white","d-flex-center","flex-column"],[1,"text-left"],[1,"col-md-6","text-left"],["src","assets/images/login.png","alt","",1,"white","collab-coding"]],template:function(t,n){1&t&&(r.Pb(0,"section",0),r.Pb(1,"div",1),r.Pb(2,"div",2),r.Pb(3,"h1",3),r.nc(4,"Introducing"),r.Ob(),r.Ob(),r.Pb(5,"div",4),r.Pb(6,"div",2),r.Pb(7,"h1",5),r.nc(8,"DEVELOPMENT WORKSPACES"),r.Ob(),r.Ob(),r.Ob(),r.Pb(9,"div",6),r.Lb(10,"img",7),r.Pb(11,"div",8),r.Pb(12,"p"),r.nc(13,"Phoenix\u2019s development workspaces are not just your project\u2019s root folder like you have experienced in other IDE\u2019s. Phoenix workspaces are real local & cloud spaces."),r.Ob(),r.Ob(),r.Ob(),r.Pb(14,"div",9),r.Pb(15,"div",10),r.Pb(16,"p",11),r.nc(17,"Setup Development workspaces locally & in the cloud. "),r.Lb(18,"br"),r.nc(19," With just the click of a button"),r.Ob(),r.Ob(),r.Lb(20,"img",12),r.Pb(21,"div",13),r.Pb(22,"p",14),r.nc(23,"Host & share apps easily"),r.Ob(),r.Ob(),r.Ob(),r.Pb(24,"div",15),r.Pb(25,"div",16),r.Pb(26,"div",17),r.Lb(27,"img",18),r.Ob(),r.Pb(28,"div",19),r.Pb(29,"p",20),r.nc(30,"COLLABORATIVE DEVELOPMENT"),r.Ob(),r.Pb(31,"p"),r.nc(32,"do it the right way with phoenix"),r.Ob(),r.Lb(33,"br"),r.Pb(34,"ol",21),r.Pb(35,"li"),r.nc(36," Create custom development workspace and share it with the team. "),r.Ob(),r.Pb(37,"li"),r.nc(38," Seamless workspace roaming between all your connected devices. "),r.Ob(),r.Pb(39,"li"),r.nc(40," Continous cloud backup and recovery of workspaces. "),r.Ob(),r.Pb(41,"li"),r.nc(42," Experience peer programming at its best. "),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Pb(43,"div",16),r.Pb(44,"div",22),r.Pb(45,"p",20),r.nc(46,"AUTH"),r.Ob(),r.Pb(47,"p",23),r.nc(48,"Multiple Authentication mechanisms Supports google, facebook, git and bitbucket logins"),r.Ob(),r.Lb(49,"br"),r.Lb(50,"br"),r.Pb(51,"p",20),r.nc(52,"ENTERPRISE"),r.Ob(),r.Pb(53,"p",23),r.nc(54,"SAML Enterprise logins Optional self hosting Advanced Auditing Enforce source code copy policies in developer machines"),r.Ob(),r.Ob(),r.Pb(55,"div",24),r.Lb(56,"img",25),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Ob())},styles:[".workspaces[_ngcontent-%COMP%]{color:var(--text-color);background:url(dot-bg.6d062be8b71a29060be2.png);background-size:cover}.workspaces[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.workspaces[_ngcontent-%COMP%] .white[_ngcontent-%COMP%]{background-color:#fff}.workspaces[_ngcontent-%COMP%] .text-intro[_ngcontent-%COMP%]{font-family:var(--font-caveat)}.workspaces[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic}.workspaces[_ngcontent-%COMP%] .table-img[_ngcontent-%COMP%]{margin-top:-5px}.workspaces[_ngcontent-%COMP%] .collab[_ngcontent-%COMP%]{font-size:var(--font-size-xl)}.workspaces[_ngcontent-%COMP%] .points[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:20px 0}"]}),K),rt=((G=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||G)},G.\u0275cmp=r.Eb({type:G,selectors:[["px-server"]],decls:32,vars:1,consts:[[1,"server"],[1,"my-4","w-100","text-center"],[1,"p-4","transparent","main-heading"],[1,"d-flex-center","mb-5"],[1,"terminal"],[1,"row","text-center","px-5"],[1,"col-md-4","link"],[1,"col-md-4","link",3,"routerLink"]],template:function(t,n){1&t&&(r.Pb(0,"section",0),r.Lb(1,"br"),r.Lb(2,"br"),r.Pb(3,"div",1),r.Pb(4,"span",2),r.nc(5," SERVER "),r.Ob(),r.Ob(),r.Lb(6,"br"),r.Pb(7,"div",3),r.Pb(8,"div",4),r.Lb(9,"br"),r.Pb(10,"p"),r.nc(11,"Terminal access: guarenteed on cloud and onprem with sudo access"),r.Ob(),r.Lb(12,"br"),r.Lb(13,"br"),r.Pb(14,"p"),r.nc(15," > On demand virtual machines with sudo access in the cloud for performance "),r.Lb(16,"br"),r.Lb(17,"br"),r.nc(18," > Fully Featured Terminal Support "),r.Lb(19,"br"),r.Lb(20,"br"),r.nc(21," > Choose servers based on geo-location "),r.Ob(),r.Ob(),r.Ob(),r.Lb(22,"br"),r.Pb(23,"div",5),r.Pb(24,"div",6),r.nc(25,"VISION"),r.Ob(),r.Pb(26,"div",6),r.nc(27,"MISSION"),r.Ob(),r.Pb(28,"div",7),r.nc(29,"ABOUT"),r.Ob(),r.Ob(),r.Lb(30,"br"),r.Lb(31,"br"),r.Ob()),2&t&&(r.zb(28),r.cc("routerLink","/about"))},directives:[c.b],styles:[".server[_ngcontent-%COMP%]{color:var(--text-color-light);background:url(white-dot-bg.8d8714e1c71a487e620d.png),linear-gradient(#282727,#282727);background-size:contain;background-repeat:no-repeat}.server[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.server[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{background-color:var(--background-color-dark)}.server[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic;font-size:var(--font-size-xxl)}.server[_ngcontent-%COMP%] .terminal[_ngcontent-%COMP%]{background:url(terminal.7fe5321f9c595f5a815f.png),linear-gradient(#282727,#282727);background-size:cover;min-height:500px;min-width:50vw;background-repeat:none;padding:50px;overflow:hidden;color:var(--text-color-gray)}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);font-size:var(--font-size-xxl);cursor:pointer}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),G),lt=((Y=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=r.Ib({type:Y}),Y.\u0275inj=r.Hb({factory:function(t){return new(t||Y)},imports:[[a.c,it]]}),Y);r.jc(T,[a.q,a.r,a.s,a.t,a.A,a.w,a.x,a.y,a.z,a.u,a.v,c.f,c.b,c.d,c.c,c.g,et,nt,l.a,h,I,T,at,D,X,J,ct,rt,tt.a],[a.b,a.G,a.p,a.k,a.E,a.g,a.C,a.F,a.d,a.f,a.i,a.j,a.l])},"d6/a":function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var o=e("fXoL"),i=e("ofXK"),a=e("tyNb");function c(t,n){1&t&&(o.Pb(0,"span",25),o.nc(1,"Phoenix Code"),o.Ob())}var r=function(){var t=function(){function t(){_classCallCheck(this,t),this.navFixed=!1,this.scrollOffset=100}return _createClass(t,[{key:"onWindowScroll",value:function(){this.navFixed=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)>this.scrollOffset}},{key:"ngOnInit",value:function(){this.scrollOffset=document.getElementById("meet-phoenix").offsetTop-200}}]),t}();return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Eb({type:t,selectors:[["px-nav"]],hostBindings:function(t,n){1&t&&o.Xb("scroll",(function(){return n.onWindowScroll()}),!1,o.fc)},decls:39,vars:3,consts:[[1,"navbar","navbar-expand-lg",3,"ngClass"],[1,"navbar-brand",3,"routerLink"],["src","assets/images/phoenix-logo.svg","alt","logo",2,"height","60px","width","60px","margin-right","10px"],["class","sub-heading",4,"ngIf"],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","white","viewBox","0 0 16 16",1,"bi","bi-list"],["fill-rule","evenodd","d","M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"div-inline","my-2","my-lg-0"],[1,"nav-item","active"],["target","_blank","href","https://github.com/orgs/phcode-dev/discussions",1,"nav-link"],["target","_blank","href","https://docs.phcode.dev/",1,"nav-link"],["href","https://github.com/phcode-dev/phoenix","target","_blank","aria-label","GitHub",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 499.36","focusable","false",1,"navbar-nav-svg"],["d","M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z","fill-rule","evenodd"],["href","https://twitter.com/phcodedev","target","_blank","aria-label","Twitter",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-twitter-x"],["d","M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"],["href","https://discord.com/invite/rBpTBPttca","target","_blank","aria-label","Discord",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-discord"],["d","M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612"],["href","https://www.youtube.com/channel/UCNK2a8DKqPQQe3GlfTk-RHg","target","_blank","aria-label","Youtube",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-youtube"],["d","M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"],[1,"sub-heading"]],template:function(t,n){1&t&&(o.Pb(0,"nav",0),o.Pb(1,"a",1),o.Lb(2,"img",2),o.mc(3,c,2,0,"span",3),o.Ob(),o.Pb(4,"button",4),o.ac(),o.Pb(5,"svg",5),o.Lb(6,"path",6),o.Ob(),o.Ob(),o.Zb(),o.Pb(7,"div",7),o.Lb(8,"ul",8),o.Pb(9,"div",9),o.Pb(10,"ul",8),o.Pb(11,"li",10),o.Pb(12,"a",11),o.nc(13,"Support"),o.Ob(),o.Ob(),o.Pb(14,"li",10),o.Pb(15,"a",12),o.nc(16,"Docs"),o.Ob(),o.Ob(),o.Pb(17,"li"),o.Pb(18,"a",13),o.ac(),o.Pb(19,"svg",14),o.Pb(20,"title"),o.nc(21,"GitHub"),o.Ob(),o.Lb(22,"path",15),o.Ob(),o.nc(23," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(24,"li"),o.Pb(25,"a",16),o.ac(),o.Pb(26,"svg",17),o.Lb(27,"path",18),o.Ob(),o.nc(28," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(29,"li"),o.Pb(30,"a",19),o.ac(),o.Pb(31,"svg",20),o.Lb(32,"path",21),o.Ob(),o.nc(33," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(34,"li"),o.Pb(35,"a",22),o.ac(),o.Pb(36,"svg",23),o.Lb(37,"path",24),o.Ob(),o.nc(38," \xa0 "),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob()),2&t&&(o.cc("ngClass",n.navFixed?"navFixed":""),o.zb(1),o.cc("routerLink","/home"),o.zb(2),o.cc("ngIf",n.navFixed))},directives:[i.q,a.d,i.t],styles:["[_nghost-%COMP%]{position:absolute;top:0;width:100%}nav[_ngcontent-%COMP%]{height:var(--nav-height);background-color:transparent;z-index:100}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80px}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:-5px;font-family:var(--font-montserrat-bold);font-size:var(--font-size-xl)}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]:hover{color:var(--text-color-light)}nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin:0 20px}nav[_ngcontent-%COMP%] .nav-link.icon[_ngcontent-%COMP%]{margin:0}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]{fill:var(--text-color-light);height:20px}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]:hover{fill:var(--accent-color)}.navFixed[_ngcontent-%COMP%]{position:fixed;width:100%;background-color:rgba(65,63,63,.594);transition:all .1s ease-in-out}.navbar-collapse.collapsing[_ngcontent-%COMP%], .navbar-collapse.show[_ngcontent-%COMP%]{background-color:rgba(65,63,63,.816);text-align:center}a[_ngcontent-%COMP%]{color:var(--text-color-light)}a[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),t}()}}]); \ No newline at end of file diff --git a/docs/1-es5.d2f7e4e06fc8ae6b32e7.js b/docs/1-es5.d2f7e4e06fc8ae6b32e7.js new file mode 100644 index 0000000..595f5d6 --- /dev/null +++ b/docs/1-es5.d2f7e4e06fc8ae6b32e7.js @@ -0,0 +1 @@ +function _classCallCheck(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,n){for(var e=0;e0?null==n?void 0:n.features:J}))}}]),t}()).\u0275fac=function(t){return new(t||W)(r.Kb(p))},W.\u0275cmp=r.Eb({type:W,selectors:[["px-features"]],decls:36,vars:1,consts:[[1,"features","container-fluid"],[1,"heading-container","container","text-center","py-5"],[1,"row","py-5"],[1,"heading","col-md-12"],[3,"title","titleIconSrc","subtitle","videoSrc",4,"ngFor","ngForOf"],[1,"d-flex-center","w-100","my-4","py-4"],[1,"row","col-md-10","col-xs-12","d-flex-center","my-4","py-4"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center"],[1,"col-md-2","col-sm-2","col-xs-12","mb-4","text-center","technologies-icon"],["src","assets/images/js.png","alt","icons"],["src","assets/images/ts.png","alt","icons"],["src","assets/images/html.png","alt","icons"],["src","assets/images/css.png","alt","icons"],[1,"col-md-2","col-sm-2","col-xs-12","text-center","mt-2","mt-xs-4"],[1,"container-fluid","pb-5","preview"],[1,"row","pb-5"],[1,"offset-md-1","col-md-3","d-flex-center"],["src","assets/images/extension.png","alt",""],[1,"col-md","d-flex-center"],[1,"container","text-left","text-sm-center","text-xs-center","px-3"],[1,"heading","container","text-left","w-75"],[1,"container","text-left","w-75"],[1,"illustration"],[1,"container","pt-5","d-flex-center"],["src","assets/images/Illustration.png","alt","people"],[3,"title","titleIconSrc","subtitle","videoSrc"]],template:function(t,n){1&t&&(r.Pb(0,"section",0),r.Pb(1,"div",1),r.Pb(2,"div",2),r.Pb(3,"span",3),r.nc(4," Packed with features... "),r.Ob(),r.Ob(),r.Ob(),r.mc(5,N,1,4,"px-video-overlay",4),r.Pb(6,"div",5),r.Pb(7,"div",6),r.Pb(8,"span",7),r.nc(9," phoenix is tailor made for "),r.Ob(),r.Pb(10,"span",8),r.Lb(11,"img",9),r.Ob(),r.Pb(12,"span",8),r.Lb(13,"img",10),r.Ob(),r.Pb(14,"span",8),r.Lb(15,"img",11),r.Ob(),r.Pb(16,"span",8),r.Lb(17,"img",12),r.Ob(),r.Pb(18,"span",13),r.nc(19," and many more... "),r.Ob(),r.Ob(),r.Ob(),r.Pb(20,"div",14),r.Pb(21,"div",15),r.Pb(22,"div",16),r.Lb(23,"img",17),r.Ob(),r.Pb(24,"div",18),r.Pb(25,"div",19),r.Pb(26,"p",20),r.nc(27,"Extension and Themes"),r.Ob(),r.Pb(28,"p",21),r.nc(29," Customize the editor's functionality and look & feel with thousands of available extensions and themes. "),r.Ob(),r.Pb(30,"p",21),r.nc(31," Want to automate a task? Create extensions easily that work on any platform, exactly as you need. "),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Pb(32,"section",22),r.Pb(33,"div",23),r.Pb(34,"div",2),r.Lb(35,"img",24),r.Ob(),r.Ob(),r.Ob()),2&t&&(r.zb(5),r.cc("ngForOf",n.videoOverlayConfig))},directives:[a.s,R],styles:[".features[_ngcontent-%COMP%]{background:url(featureBG.cec09191c4879d6552e8.png);background-repeat:repeat;background-size:100% 100%}.features[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--text-color-light)}.features[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{font-size:var(--font-size-lg);font-family:var(--font-montserrat-bold)}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:var(--accent-color);font-size:var(--font-size-xl);font-family:var(--font-montserrat-bold);font-style:italic}.features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .flash-img[_ngcontent-%COMP%], .features[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%] .sq-img[_ngcontent-%COMP%]{max-width:120px}.technologies-icon[_ngcontent-%COMP%]{width:200px}"]}),W),nt=e("8aeQ"),et=((Y=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||Y)},Y.\u0275cmp=r.Eb({type:Y,selectors:[["px-landing"]],decls:6,vars:0,consts:[[1,"w-100","p-0"]],template:function(t,n){1&t&&(r.Pb(0,"div",0),r.Lb(1,"px-alert"),r.Lb(2,"px-banner"),r.Lb(3,"px-meet-phoenix"),r.Lb(4,"px-features"),r.Lb(5,"px-footer"),r.Ob())},directives:[v,D,F,tt,nt.a],styles:[""]}),Y),ot=((V=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||V)},V.\u0275cmp=r.Eb({type:V,selectors:[["px-main"]],decls:2,vars:0,template:function(t,n){1&t&&(r.Lb(0,"px-nav"),r.Lb(1,"px-landing"))},directives:[l.a,et],styles:[""]}),V),it=[{path:"",component:ot}],at=(($=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=r.Ib({type:$}),$.\u0275inj=r.Hb({factory:function(t){return new(t||$)},imports:[[c.e.forChild(it)],c.e]}),$),ct=((Z=function(){function t(n){var e=this;_classCallCheck(this,t),this.el=n,this.element=null,this.mouseOverParent=!1,this.parent=null,this.xMovement=10,this.yMovement=10,this.scroll=!1,this.updateElPosition=function(t){var n=t.clientX/document.body.clientWidth,o=t.clientY/document.body.clientHeight;e.element.style.transform="translate(".concat((2*n-1)*e.xMovement,"px, ").concat((2*o-1)*e.yMovement,"px)")},this.updateElPositionOnScroll=function(t){if(console.log("scroll"),e.scroll){var n=window.scrollY/document.body.clientHeight;e.element.style.transform="translateY(".concat(3*e.yMovement*(2*n-1),"px)")}},this.element=n.nativeElement}return _createClass(t,[{key:"ngAfterViewInit",value:function(){var t=this;this.parent&&(this.parent.addEventListener("mouseenter",(function(){document.addEventListener("mousemove",t.updateElPosition)})),this.parent.addEventListener("mouseleave",(function(){document.removeEventListener("mousemove",t.updateElPosition)})))}}]),t}()).\u0275fac=function(t){return new(t||Z)(r.Kb(r.l))},Z.\u0275dir=r.Fb({type:Z,selectors:[["","pxMouseMove",""]],inputs:{parent:"parent",xMovement:"xMovement",yMovement:"yMovement",scroll:"scroll"}}),Z),rt=((Q=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||Q)},Q.\u0275cmp=r.Eb({type:Q,selectors:[["px-workspaces"]],decls:57,vars:0,consts:[[1,"workspaces","container-fluid"],[1,"introducing","row"],[1,"d-flex-center","w-100"],[1,"p-4","white","text-intro"],[1,"col-md-12","text-center"],[1,"white","p-4","main-heading"],[1,"col-md-12","text-center","mb-4","table-img"],["src","assets/images/developers-table.png","alt","",1,"white","p-4"],[1,"py-4","col-md-8","offset-md-2","white"],[1,"col-md-12","text-center","my-4","host-img","row"],[1,"py-4","px-0","col-md-4","offset-md-1"],[1,"white","p-4","mt-4"],["src","assets/images/host.png","alt","host",1,"white","p-4"],[1,"col-md-4","px-0"],[1,"white","p-4"],[1,"col-md-12","text-center","my-4"],[1,"row"],[1,"col-md-6"],["src","assets/images/collab-coding.png","alt","",1,"white","collab-coding"],[1,"col-md-6","white"],[1,"main-heading","collab"],[1,"text-left","points"],[1,"col-md-5","offset-md-1","white","d-flex-center","flex-column"],[1,"text-left"],[1,"col-md-6","text-left"],["src","assets/images/login.png","alt","",1,"white","collab-coding"]],template:function(t,n){1&t&&(r.Pb(0,"section",0),r.Pb(1,"div",1),r.Pb(2,"div",2),r.Pb(3,"h1",3),r.nc(4,"Introducing"),r.Ob(),r.Ob(),r.Pb(5,"div",4),r.Pb(6,"div",2),r.Pb(7,"h1",5),r.nc(8,"DEVELOPMENT WORKSPACES"),r.Ob(),r.Ob(),r.Ob(),r.Pb(9,"div",6),r.Lb(10,"img",7),r.Pb(11,"div",8),r.Pb(12,"p"),r.nc(13,"Phoenix\u2019s development workspaces are not just your project\u2019s root folder like you have experienced in other IDE\u2019s. Phoenix workspaces are real local & cloud spaces."),r.Ob(),r.Ob(),r.Ob(),r.Pb(14,"div",9),r.Pb(15,"div",10),r.Pb(16,"p",11),r.nc(17,"Setup Development workspaces locally & in the cloud. "),r.Lb(18,"br"),r.nc(19," With just the click of a button"),r.Ob(),r.Ob(),r.Lb(20,"img",12),r.Pb(21,"div",13),r.Pb(22,"p",14),r.nc(23,"Host & share apps easily"),r.Ob(),r.Ob(),r.Ob(),r.Pb(24,"div",15),r.Pb(25,"div",16),r.Pb(26,"div",17),r.Lb(27,"img",18),r.Ob(),r.Pb(28,"div",19),r.Pb(29,"p",20),r.nc(30,"COLLABORATIVE DEVELOPMENT"),r.Ob(),r.Pb(31,"p"),r.nc(32,"do it the right way with phoenix"),r.Ob(),r.Lb(33,"br"),r.Pb(34,"ol",21),r.Pb(35,"li"),r.nc(36," Create custom development workspace and share it with the team. "),r.Ob(),r.Pb(37,"li"),r.nc(38," Seamless workspace roaming between all your connected devices. "),r.Ob(),r.Pb(39,"li"),r.nc(40," Continous cloud backup and recovery of workspaces. "),r.Ob(),r.Pb(41,"li"),r.nc(42," Experience peer programming at its best. "),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Pb(43,"div",16),r.Pb(44,"div",22),r.Pb(45,"p",20),r.nc(46,"AUTH"),r.Ob(),r.Pb(47,"p",23),r.nc(48,"Multiple Authentication mechanisms Supports google, facebook, git and bitbucket logins"),r.Ob(),r.Lb(49,"br"),r.Lb(50,"br"),r.Pb(51,"p",20),r.nc(52,"ENTERPRISE"),r.Ob(),r.Pb(53,"p",23),r.nc(54,"SAML Enterprise logins Optional self hosting Advanced Auditing Enforce source code copy policies in developer machines"),r.Ob(),r.Ob(),r.Pb(55,"div",24),r.Lb(56,"img",25),r.Ob(),r.Ob(),r.Ob(),r.Ob(),r.Ob())},styles:[".workspaces[_ngcontent-%COMP%]{color:var(--text-color);background:url(dot-bg.6d062be8b71a29060be2.png);background-size:cover}.workspaces[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.workspaces[_ngcontent-%COMP%] .white[_ngcontent-%COMP%]{background-color:#fff}.workspaces[_ngcontent-%COMP%] .text-intro[_ngcontent-%COMP%]{font-family:var(--font-caveat)}.workspaces[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic}.workspaces[_ngcontent-%COMP%] .table-img[_ngcontent-%COMP%]{margin-top:-5px}.workspaces[_ngcontent-%COMP%] .collab[_ngcontent-%COMP%]{font-size:var(--font-size-xl)}.workspaces[_ngcontent-%COMP%] .points[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:20px 0}"]}),Q),lt=((K=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||K)},K.\u0275cmp=r.Eb({type:K,selectors:[["px-server"]],decls:32,vars:1,consts:[[1,"server"],[1,"my-4","w-100","text-center"],[1,"p-4","transparent","main-heading"],[1,"d-flex-center","mb-5"],[1,"terminal"],[1,"row","text-center","px-5"],[1,"col-md-4","link"],[1,"col-md-4","link",3,"routerLink"]],template:function(t,n){1&t&&(r.Pb(0,"section",0),r.Lb(1,"br"),r.Lb(2,"br"),r.Pb(3,"div",1),r.Pb(4,"span",2),r.nc(5," SERVER "),r.Ob(),r.Ob(),r.Lb(6,"br"),r.Pb(7,"div",3),r.Pb(8,"div",4),r.Lb(9,"br"),r.Pb(10,"p"),r.nc(11,"Terminal access: guarenteed on cloud and onprem with sudo access"),r.Ob(),r.Lb(12,"br"),r.Lb(13,"br"),r.Pb(14,"p"),r.nc(15," > On demand virtual machines with sudo access in the cloud for performance "),r.Lb(16,"br"),r.Lb(17,"br"),r.nc(18," > Fully Featured Terminal Support "),r.Lb(19,"br"),r.Lb(20,"br"),r.nc(21," > Choose servers based on geo-location "),r.Ob(),r.Ob(),r.Ob(),r.Lb(22,"br"),r.Pb(23,"div",5),r.Pb(24,"div",6),r.nc(25,"VISION"),r.Ob(),r.Pb(26,"div",6),r.nc(27,"MISSION"),r.Ob(),r.Pb(28,"div",7),r.nc(29,"ABOUT"),r.Ob(),r.Ob(),r.Lb(30,"br"),r.Lb(31,"br"),r.Ob()),2&t&&(r.zb(28),r.cc("routerLink","/about"))},directives:[c.b],styles:[".server[_ngcontent-%COMP%]{color:var(--text-color-light);background:url(white-dot-bg.8d8714e1c71a487e620d.png),linear-gradient(#282727,#282727);background-size:contain;background-repeat:no-repeat}.server[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:var(--font-montserrat);font-size:var(--font-size-lg)}.server[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{background-color:var(--background-color-dark)}.server[_ngcontent-%COMP%] .main-heading[_ngcontent-%COMP%]{font-family:var(--font-montserrat-extra-bold);font-style:italic;font-size:var(--font-size-xxl)}.server[_ngcontent-%COMP%] .terminal[_ngcontent-%COMP%]{background:url(terminal.7fe5321f9c595f5a815f.png),linear-gradient(#282727,#282727);background-size:cover;min-height:500px;min-width:50vw;background-repeat:none;padding:50px;overflow:hidden;color:var(--text-color-gray)}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{font-family:var(--font-montserrat-bold);font-size:var(--font-size-xxl);cursor:pointer}.server[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),K),st=((G=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=r.Ib({type:G}),G.\u0275inj=r.Hb({factory:function(t){return new(t||G)},imports:[[a.c,at]]}),G);r.jc(D,[a.q,a.r,a.s,a.t,a.A,a.w,a.x,a.y,a.z,a.u,a.v,c.f,c.b,c.d,c.c,c.g,ot,et,l.a,v,I,D,ct,F,R,tt,rt,lt,nt.a],[a.b,a.G,a.p,a.k,a.E,a.g,a.C,a.F,a.d,a.f,a.i,a.j,a.l])},"d6/a":function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var o=e("fXoL"),i=e("ofXK"),a=e("tyNb");function c(t,n){1&t&&(o.Pb(0,"span",25),o.nc(1,"Phoenix Code"),o.Ob())}var r=function(){var t=function(){function t(){_classCallCheck(this,t),this.navFixed=!1,this.scrollOffset=100}return _createClass(t,[{key:"onWindowScroll",value:function(){this.navFixed=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)>this.scrollOffset}},{key:"ngOnInit",value:function(){this.scrollOffset=document.getElementById("meet-phoenix").offsetTop-200}}]),t}();return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Eb({type:t,selectors:[["px-nav"]],hostBindings:function(t,n){1&t&&o.Xb("scroll",(function(){return n.onWindowScroll()}),!1,o.fc)},decls:39,vars:3,consts:[[1,"navbar","navbar-expand-lg",3,"ngClass"],[1,"navbar-brand",3,"routerLink"],["src","assets/images/phoenix-logo.svg","alt","logo",2,"height","60px","width","60px","margin-right","10px"],["class","sub-heading",4,"ngIf"],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","white","viewBox","0 0 16 16",1,"bi","bi-list"],["fill-rule","evenodd","d","M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"div-inline","my-2","my-lg-0"],[1,"nav-item","active"],["target","_blank","href","https://github.com/orgs/phcode-dev/discussions",1,"nav-link"],["target","_blank","href","https://docs.phcode.dev/",1,"nav-link"],["href","https://github.com/phcode-dev/phoenix","target","_blank","aria-label","GitHub",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 499.36","focusable","false",1,"navbar-nav-svg"],["d","M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z","fill-rule","evenodd"],["href","https://twitter.com/phcodedev","target","_blank","aria-label","Twitter",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-twitter-x"],["d","M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"],["href","https://discord.com/invite/rBpTBPttca","target","_blank","aria-label","Discord",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-discord"],["d","M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612"],["href","https://www.youtube.com/channel/UCNK2a8DKqPQQe3GlfTk-RHg","target","_blank","aria-label","Youtube",1,"nav-link","icon"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 16 16",1,"navbar-nav-svg","bi","bi-youtube"],["d","M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"],[1,"sub-heading"]],template:function(t,n){1&t&&(o.Pb(0,"nav",0),o.Pb(1,"a",1),o.Lb(2,"img",2),o.mc(3,c,2,0,"span",3),o.Ob(),o.Pb(4,"button",4),o.ac(),o.Pb(5,"svg",5),o.Lb(6,"path",6),o.Ob(),o.Ob(),o.Zb(),o.Pb(7,"div",7),o.Lb(8,"ul",8),o.Pb(9,"div",9),o.Pb(10,"ul",8),o.Pb(11,"li",10),o.Pb(12,"a",11),o.nc(13,"Support"),o.Ob(),o.Ob(),o.Pb(14,"li",10),o.Pb(15,"a",12),o.nc(16,"Docs"),o.Ob(),o.Ob(),o.Pb(17,"li"),o.Pb(18,"a",13),o.ac(),o.Pb(19,"svg",14),o.Pb(20,"title"),o.nc(21,"GitHub"),o.Ob(),o.Lb(22,"path",15),o.Ob(),o.nc(23," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(24,"li"),o.Pb(25,"a",16),o.ac(),o.Pb(26,"svg",17),o.Lb(27,"path",18),o.Ob(),o.nc(28," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(29,"li"),o.Pb(30,"a",19),o.ac(),o.Pb(31,"svg",20),o.Lb(32,"path",21),o.Ob(),o.nc(33," \xa0 "),o.Ob(),o.Ob(),o.Zb(),o.Pb(34,"li"),o.Pb(35,"a",22),o.ac(),o.Pb(36,"svg",23),o.Lb(37,"path",24),o.Ob(),o.nc(38," \xa0 "),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob(),o.Ob()),2&t&&(o.cc("ngClass",n.navFixed?"navFixed":""),o.zb(1),o.cc("routerLink","/home"),o.zb(2),o.cc("ngIf",n.navFixed))},directives:[i.q,a.d,i.t],styles:["[_nghost-%COMP%]{position:absolute;top:0;width:100%}nav[_ngcontent-%COMP%]{height:var(--nav-height);background-color:transparent;z-index:100}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80px}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:-5px;font-family:var(--font-montserrat-bold);font-size:var(--font-size-xl)}nav[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]:hover{color:var(--text-color-light)}nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin:0 20px}nav[_ngcontent-%COMP%] .nav-link.icon[_ngcontent-%COMP%]{margin:0}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]{fill:var(--text-color-light);height:20px}nav[_ngcontent-%COMP%] .navbar-nav-svg[_ngcontent-%COMP%]:hover{fill:var(--accent-color)}.navFixed[_ngcontent-%COMP%]{position:fixed;width:100%;background-color:rgba(65,63,63,.594);transition:all .1s ease-in-out}.navbar-collapse.collapsing[_ngcontent-%COMP%], .navbar-collapse.show[_ngcontent-%COMP%]{background-color:rgba(65,63,63,.816);text-align:center}a[_ngcontent-%COMP%]{color:var(--text-color-light)}a[_ngcontent-%COMP%]:hover{color:var(--accent-color)}"]}),t}()}}]); \ No newline at end of file diff --git a/docs/6-es5.7617f3444d9e8b6afe98.js b/docs/6-es5.7617f3444d9e8b6afe98.js index 317cc88..3db0d5e 100644 --- a/docs/6-es5.7617f3444d9e8b6afe98.js +++ b/docs/6-es5.7617f3444d9e8b6afe98.js @@ -1 +1 @@ -function _classCallCheck(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,n){for(var t=0;t - +