-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchunk-62IBIYBU.js
1 lines (1 loc) · 3.33 KB
/
chunk-62IBIYBU.js
1
import{k as D,l as B}from"./chunk-FQ53TWPT.js";import"./chunk-AMKYUFTK.js";import"./chunk-SK5AAITW.js";import"./chunk-63ZMWUDP.js";import"./chunk-KFOOQGOY.js";import{n as f,o as v}from"./chunk-LRGM5MED.js";import"./chunk-MG7CMGQF.js";import"./chunk-WXI33M2S.js";import{Eb as r,Fb as n,Pb as d,Va as c,Yb as o,Zb as F,cc as g,ga as C,ma as _,nb as s,zb as E}from"./chunk-DXS2GHCC.js";function O(e,t){e&1&&(r(0,"p"),o(1,"\u5728\u684C\u9762\u8BBE\u5907\u4E0A\u6253\u5F00 angular.dev\uFF0C\u76F4\u63A5\u5728\u6D4F\u89C8\u5668\u4E2D\u7F16\u5199\u4EE3\u7801\u3002"),n())}function x(e,t){e&1&&(r(0,"p"),o(1," \u6211\u4EEC\u76EE\u524D\u6B63\u5728\u52AA\u529B\u652F\u6301 Firefox \u6D4F\u89C8\u5668\u7684\u5F00\u53D1\u670D\u52A1\u5668\u3002\u4F46\u76EE\u524D\uFF0C\u8FD8\u8BF7\u5C1D\u8BD5\u4F7F\u7528\u5176\u4ED6\u6D4F\u89C8\u5668\u8FD0\u884C\u8BE5\u9875\u9762\u3002 "),n())}function P(e,t){if(e&1&&s(0,O,2,0,"p")(1,x,2,0,"p"),e&2){let l=d();E(l.isIos?0:l.isFirefox?1:-1)}}function h(e,t){e&1&&(r(0,"p"),o(1," \u6211\u4EEC\u65E0\u6CD5\u542F\u52A8\u6559\u7A0B\u5E94\u7528\u3002\u8BF7\u786E\u4FDD\u5DF2\u4E3A\u6B64\u7AD9\u70B9\u542F\u7528\u7B2C\u4E09\u65B9 Cookie\u3002 "),n())}function y(e,t){e&1&&(r(0,"p"),o(1," \u6211\u4EEC\u65E0\u6CD5\u542F\u52A8\u6559\u7A0B\u5E94\u7528\uFF0C\u56E0\u4E3A\u4F60\u7684\u6D4F\u89C8\u5668\u5185\u5B58\u4E0D\u8DB3\u3002\u8BF7\u5173\u95ED\u5176\u4ED6\u6807\u7B7E\u9875\u6216\u7A97\u53E3\u4E2D\u7684 angular.dev \u6559\u7A0B\uFF0C\u5E76\u5237\u65B0\u9875\u9762\u4EE5\u91CA\u653E\u5185\u5B58\u3002 "),n())}function A(e,t){if(e&1&&(r(0,"small"),o(1," \u9519\u8BEF\u4FE1\u606F\u4E3A\uFF1A "),r(2,"code"),o(3),n()()),e&2){let l=d();c(3),F(l.error().message)}}var k=(()=>{let t=class t{constructor(){this.nodeRuntimeState=C(B),this.isIos=f,this.isFirefox=v,this.error=this.nodeRuntimeState.error,this.ErrorType=D}};t.\u0275fac=function(p){return new(p||t)},t.\u0275cmp=_({type:t,selectors:[["docs-tutorial-preview-error"]],standalone:!0,features:[g],decls:5,vars:2,consts:[[1,"adev-preview-error","docs-light-mode","docs-mini-scroll-track"]],template:function(p,u){if(p&1&&(r(0,"div",0),s(1,P,2,1)(2,h,2,0,"p")(3,y,2,0,"p")(4,A,4,1,"small"),n()),p&2){let a,i,m;c(),E((a=!0)==(((i=u.error())==null?null:i.type)===u.ErrorType.UNSUPPORTED_BROWSER_ENVIRONMENT)?1:a===(((i=u.error())==null?null:i.type)===u.ErrorType.COOKIES||((i=u.error())==null?null:i.type)===u.ErrorType.UNKNOWN)?2:a===(((a=u.error())==null?null:a.type)===u.ErrorType.OUT_OF_MEMORY)?3:-1),c(3),E((m=u.error())!=null&&m.message?4:-1)}},styles:['[_nghost-%COMP%]{margin:5% auto}.adev-preview-error[_ngcontent-%COMP%]{border:1px solid var(--senary-contrast);border-radius:.25rem;padding:1rem}.adev-preview-error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;gap:.5rem;font-weight:600;margin-top:0}.adev-preview-error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"error";font-family:var(--icons);color:var(--orange-red);font-size:1.5rem;font-weight:500}.adev-preview-error[_ngcontent-%COMP%] code[_ngcontent-%COMP%]:not(pre *)[_ngcontent-%COMP%]{white-space:pre-wrap;background:linear-gradient(90deg,var(--hot-red) 0%,var(--orange-red) 100%);background-clip:text;-webkit-background-clip:text;color:transparent}.adev-preview-error[_ngcontent-%COMP%] code[_ngcontent-%COMP%]:not(pre *)[_ngcontent-%COMP%]:before{background:transparent}'],changeDetection:0});let e=t;return e})();export{k as PreviewError};