1import{c as Ze,d as je}from"./chunk-TT6DI6XX.js";import{a as We,b as qe}from"./chunk-BQ5YJVYX.js";import{a as Ge,b as Ue}from"./chunk-LHTREZBZ.js";import{a as ke,b as Me,c as Pe}from"./chunk-BHXD2WU2.js";import{d as Re,f as Le,g as Oe}from"./chunk-V6ZBGFNV.js";import"./chunk-L6RZ5DHK.js";import{a as Ve,b as He}from"./chunk-JFFFQECV.js";import{d as $e}from"./chunk-LB3JKWJP.js";import{a as fe,b as Ce}from"./chunk-KGWQHWXQ.js";import"./chunk-F6UBNUMB.js";import"./chunk-4WWPXCPM.js";import{a as Te,c as Be}from"./chunk-DJ5IEVS5.js";import{f as Fe,g as _e,h as Ie,k as De}from"./chunk-HKSL75SR.js";import"./chunk-PHNJJUNP.js";import{a as se,b as Ee,d as xe}from"./chunk-GIVWLFIX.js";import{a as pe}from"./chunk-HFHM36MR.js";import"./chunk-KCO4COLI.js";import{a as H,g as be,h as Ae,j as Ne}from"./chunk-LI6HY6GI.js";import"./chunk-J5QXSPGU.js";import"./chunk-IK42E2MX.js";import{C as me,Ga as O,Ha as g,Hc as ze,Ja as _,Jc as ye,Kc as ve,Nc as we,gc as V,ic as de,mc as Se,qc as he,uc as ge,wa as ce,xa as ue}from"./chunk-26X2XAD6.js";import{Aa as x,Ab as ne,Ac as T,Ba as I,Bc as B,Ca as y,Cc as k,Gc as q,Hc as e,Ic as F,Jb as S,Jc as b,Mc as M,Nc as P,Oc as R,Pb as C,Tc as ae,Ud as re,Va as te,Wb as u,bd as L,dc as v,fc as W,gc as A,hc as N,ic as n,jc as t,kc as d,lc as ie,mc as oe,na as j,o as ee,oc as w,rc as h,sb as m,tc as p,xa as z,xd as le,ya as f,yb as D,za as E}from"./chunk-PXCXDVYP.js";import{f as K}from"./chunk-EQDQRRRY.js";var $=class l{static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon-basic"]],decls:7,vars:2,consts:[[1,"icons-list"],["nzType","home"],["nzType","setting","nzTheme","fill"],["nzType","smile","nzTheme","outline"],["nzType","sync",3,"nzSpin"],["nzType","smile","nzTheme","outline",3,"nzRotate"],["nzType","loading"]],template:function(i,a){i&1&&(n(0,"div",0),d(1,"nz-icon",1)(2,"nz-icon",2)(3,"nz-icon",3)(4,"nz-icon",4)(5,"nz-icon",5)(6,"nz-icon",6),t()),i&2&&(m(4),u("nzSpin",!0),m(),u("nzRotate",180))},dependencies:[_,g],styles:["nz-icon[_ngcontent-%COMP%]{margin-right:6px;font-size:24px}"]})};var Q=class l{static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon-custom"]],decls:13,vars:0,consts:[[2,"color","hotpink"],["d","M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9z"],[2,"font-size","32px"],["d","M99.096 315.634s-82.58-64.032-82.58-132.13c0-66.064 33.032-165.162 148.646-148.646 83.37 11.91 99.096 165.162 99.096 165.162l-165.162 115.614zM924.906 315.634s82.58-64.032 82.58-132.13c0-66.064-33.032-165.162-148.646-148.646-83.37 11.91-99.096 165.162-99.096 165.162l165.162 115.614z","fill","#6B676E","p-id","1143"],["d","M1024 561.548c0 264.526-229.23 429.42-512.002 429.42S0 826.076 0 561.548 283.96 66.064 512.002 66.064 1024 297.022 1024 561.548z","fill","#FFEBD2","p-id","1144"],["d","M330.324 842.126c0 82.096 81.34 148.646 181.678 148.646s181.678-66.55 181.678-148.646H330.324z","fill","#E9D7C3","p-id","1145"],["d","M644.13 611.098C594.582 528.516 561.55 512 512.002 512c-49.548 0-82.58 16.516-132.13 99.096-42.488 70.814-78.73 211.264-49.548 247.742 66.064 82.58 165.162 33.032 181.678 33.032 16.516 0 115.614 49.548 181.678-33.032 29.18-36.476-7.064-176.93-49.55-247.74z","fill","#FFFFFF","p-id","1146"],["d","M611.098 495.484c0-45.608 36.974-82.58 82.58-82.58 49.548 0 198.194 99.098 198.194 165.162s-79.934 144.904-148.646 99.096c-49.548-33.032-132.128-148.646-132.128-181.678zM412.904 495.484c0-45.608-36.974-82.58-82.58-82.58-49.548 0-198.194 99.098-198.194 165.162s79.934 144.904 148.646 99.096c49.548-33.032 132.128-148.646 132.128-181.678z","fill","#6B676E","p-id","1147"],["d","M512.002 726.622c-30.06 0-115.614 5.668-115.614 33.032 0 49.638 105.484 85.24 115.614 82.58 10.128 2.66 115.614-32.944 115.614-82.58-0.002-27.366-85.556-33.032-115.614-33.032z","fill","#464655","p-id","1148"],["d","M330.324 495.484m-33.032 0a33.032 33.032 0 1 0 66.064 0 33.032 33.032 0 1 0-66.064 0Z","fill","#464655","p-id","1149"],["d","M693.678 495.484m-33.032 0a33.032 33.032 0 1 0 66.064 0 33.032 33.032 0 1 0-66.064 0Z","fill","#464655","p-id","1150"]],template:function(i,a){i&1&&(n(0,"nz-icon",0),I(),n(1,"svg"),d(2,"path",1),t()(),y(),n(3,"nz-icon",2),I(),n(4,"svg"),d(5,"path",3)(6,"path",4)(7,"path",5)(8,"path",6)(9,"path",7)(10,"path",8)(11,"path",9)(12,"path",10),t()())},dependencies:[_,g],styles:["nz-icon[_ngcontent-%COMP%]{margin-right:6px;font-size:24px}"]})};var Y=class l{constructor(o){this.iconService=o;this.iconService.fetchFromIconfont({scriptUrl:"https://at.alicdn.com/t/font_8d5l8fzk5b87iudi.js"})}static \u0275fac=function(i){return new(i||l)(D(O))};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon-iconfont"]],decls:3,vars:0,consts:[["nzIconfont","icon-tuichu"],["nzIconfont","icon-facebook"],["nzIconfont","icon-twitter"]],template:function(i,a){i&1&&d(0,"nz-icon",0)(1,"nz-icon",1)(2,"nz-icon",2)},dependencies:[_,g],styles:["nz-icon[_ngcontent-%COMP%]{margin-right:6px;font-size:24px}"]})};var lt=`<svg viewBox="0 0 106 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 2 <defs> 3 <linearGradient x1="68.1279872%" y1="-35.6905737%" x2="30.4400914%" y2="114.942679%" id="linearGradient-1"> 4 <stop stop-color="#FA8E7D" offset="0%"></stop> 5 <stop stop-color="#F74A5C" offset="51.2635191%"></stop> 6 <stop stop-color="#F51D2C" offset="100%"></stop> 7 </linearGradient> 8 <linearGradient x1="68.1279872%" y1="-35.6905737%" x2="74.5363914%" y2="162.511755%" id="linearGradient-2"> 9 <stop stop-color="#FA8E7D" offset="0%"></stop> 10 <stop stop-color="#F74A5C" offset="51.2635191%"></stop> 11 <stop stop-color="#F51D2C" offset="100%"></stop> 12 </linearGradient> 13 <linearGradient x1="69.644116%" y1="0%" x2="69.644116%" y2="100%" id="linearGradient-3">
14 <stop stop-color="#29CDFF" offset="0%"></stop> 15 <stop stop-color="#148EFF" offset="37.8600687%"></stop> 16 <stop stop-color="#0A60FF" offset="100%"></stop> 17 </linearGradient> 18 <linearGradient x1="-19.8191553%" y1="-36.7931464%" x2="138.57919%" y2="157.637507%" id="linearGradient-4"> 19 <stop stop-color="#29CDFF" offset="0%"></stop> 20 <stop stop-color="#0F78FF" offset="100%"></stop> 21 </linearGradient> 22 </defs> 23 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> 24 <g id="Angular" transform="translate(-11.000000, -4.000000)"> 25 <g id="Group-9" transform="translate(11.000000, 4.000000)"> 26 <path d="M65.63,72.2 L53.23,53.2 L46,63.69 L53.37,63.69 C56.4075661,63.69 58.87,66.1524339 58.87,69.19 C58.87,72.2275661 56.4075661,74.69 53.37,74.69 L35.49,74.69 C33.4448986,74.6890667 31.569189,73.5534846 30.620326,71.7418281 C29.671463,69.9301715 29.8061511,67.7416349 30.97,66.06 L48.84,40.26 C49.879226,38.7527636 51.6013948,37.8627393 53.4320154,37.8868264 C55.2626361,37.9109135 56.960791,38.8459421 57.96,40.38 L74.84,66.18 C75.9449505,67.8698206 76.0352122,70.0292067 75.0751376,71.8053446 C74.115063,73.5814826 72.2590116,74.6888076 70.24,74.69 C68.3799194,74.6978131 66.6433454,73.7598372 65.63,72.2 Z" id="Path" fill="url(#linearGradient-1)"></path> 27 <path d="M70.28,25 C69.0616939,25.0004053 67.8648105,24.6796268 66.81,24.07 L52.87,16.07 L39,24 C36.8331842,25.2504298 34.1638674,25.249892 31.9975556,23.9985892 C29.8312438,22.7472865 28.4970513,20.4353214 28.4975555,17.933589 C28.4980597,15.4318566 29.833184,13.1204295 32,11.87 L49.34,1.87 C51.5058075,0.619570435 54.1741925,0.619570435 56.34,1.87 L73.76,11.87 C76.574107,13.4207731 77.9710889,16.688234 77.147902,19.7941088 C76.324715,22.8999837 73.492775,25.0466031 70.28,25 Z" id="Path" fill="url(#linearGradient-2)"></path> 28 <path d="M52.86,119.92 C51.6310454,119.919338 50.4239235,119.595139 49.36,118.98 L3.93,92.75 C1.76486614,91.4999595 0.43077789,89.190081 0.43,86.69 L0.43,34.23 C0.43077789,31.729919 1.76486614,29.4200405 3.93,28.17 L15.16,21.69 C17.3290879,20.369153 20.0434251,20.3267208 22.2527396,21.5791219 C24.4620541,22.831523 25.8197544,25.182284 25.8004986,27.7218131 C25.7812428,30.2613423 24.3880518,32.5912449 22.16,33.81 L14.43,38.27 L14.43,82.65 L52.86,104.83 L89.7896161,83.5159515 C90.7180357,82.9801111 91.29,81.9896088 91.29,80.9176536 L91.29,40.0028421 C91.29,38.9306213 90.7177545,37.9399157 89.7889721,37.4041727 L83.61,33.84 C81.4431842,32.5895704 80.1080601,30.2781434 80.1075559,27.7764111 C80.1070518,25.2746788 81.4412443,22.9627138 83.6075559,21.7114111 C85.7738676,20.4601083 88.4431842,20.4595704 90.61,21.71 L101.79,28.17 C103.955134,29.4200405 105.289222,31.729919 105.29,34.23 L105.29,86.69 C105.289222,89.190081 103.955134,91.4999595 101.79,92.75 L56.36,119 C55.2952279,119.610805 54.087499,119.928265 52.86,119.92 Z" id="Path" fill="url(#linearGradient-3)" fill-rule="nonzero"></path> 29 <path d="M78.06,106.45 C66.89,113 52.87,104.83 52.87,104.83 L15.9403839,83.5159515 C15.0119643,82.9801111 14.44,81.9896088 14.44,80.9176536 L14.44,40.0026171 C14.44,38.9305169 15.0121179,37.9399035 15.9407356,37.4041163 L22.17,33.81 C24.3980518,32.5912449 25.7912428,30.2613423 25.8104986,27.7218131 C25.8297544,25.182284 24.4720541,22.831523 22.2627396,21.5791219 C20.0534251,20.3267208 17.3390879,20.369153 15.17,21.69 L3.94,28.17 C1.77486614,29.4200405 0.44077789,31.729919 0.44,34.23 L0.44,86.69 C0.44077789,89.190081 1.77486614,91.4999595 3.94,92.75 L49.36,119 C51.5258075,120.25043 54.1941925,120.25043 56.36,119 L78.06,106.47 L78.06,106.45 Z" id="Path" fill="url(#linearGradient-4)" fill-rule="nonzero"></path> 30 </g> 31 </g> 32 </g> 33</svg>`,X=class l{constructor(o){this.iconService=o;this.iconService.addIconLiteral("ng-zorro:antd",lt)}static \u0275fac=function(i){return new(i||l)(D(O))};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon-namespace"]],decls:1,vars:0,consts:[["nzType","ng-zorro:antd"]],template:function(i,a){i&1&&d(0,"nz-icon",0)},dependencies:[_,g],styles:["nz-icon[_ngcontent-%COMP%]{margin-right:6px;font-size:24px}"]})};var J=class l{static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon-twotone"]],decls:3,vars:0,consts:[["nzType","smile","nzTheme","twotone"],["nzType","heart","nzTheme","twotone","nzTwotoneColor","#eb2f96"],["nzType","check-circle","nzTheme","twotone","nzTwotoneColor","#52c41a"]],template:function(i,a){i&1&&d(0,"nz-icon",0)(1,"nz-icon",1)(2,"nz-icon",2)},dependencies:[_,g],styles:["nz-icon[_ngcontent-%COMP%]{margin-right:6px;font-size:24px}"]})};
33var Ct=()=>({showPreviewIcon:!1,showRemoveIcon:!1});function Ft(l,o){return this.trackByFn(o)}function _t(l,o){if(l&1){let i=w();n(0,"div",14)(1,"nz-icon",15),R("nzPopoverVisibleChange",function(r){E(i);let c=p();return P(c.popoverVisible,r)||(c.popoverVisible=r),x(r)}),h("click",function(){E(i);let r=p();return x(r.toggleModal())}),I(),n(2,"svg",16),d(3,"path",17),t()()()}if(l&2){let i=p();m(),u("nzPopoverTrigger",null),M("nzPopoverVisible",i.popoverVisible),u("nzPopoverContent",i.localeObj.picSearcherIntro)}}function It(l,o){l&1&&(n(0,"button",18),d(1,"nz-icon",19),t())}function Dt(l,o){if(l&1&&(n(0,"nz-badge",24),e(1),t()),l&2){let i=p().$implicit;m(),b(" ",i," ")}}function yt(l,o){if(l&1&&e(0),l&2){let i=p().$implicit;b(" ",i," ")}}function vt(l,o){if(l&1){let i=w();n(0,"li",21),h("click",function(r){let c=E(i).$implicit,s=p(2);return x(s.onIconClick(r,c))}),d(1,"nz-icon",22),n(2,"span",23),C(3,Dt,2,1,"nz-badge",24)(4,yt,1,1),t()()}if(l&2){let i=o.$implicit,a=p(2);m(),u("nzType",a.kebabCase(i))("nzTheme",a.currentTheme),m(2),v(a.isNewIcon(i)?3:4)}}function wt(l,o){if(l&1&&(n(0,"h3"),e(1),t(),n(2,"ul",20),A(3,vt,5,3,"li",null,Ft,!0),t()),l&2){let i=o.$implicit,a=o.$index,r=p();m(),F(r.localeObj[i]),m(2),N(r.displayedNames[a].icons)}}function bt(l,o){if(l&1){let i=w();n(0,"tr")(1,"td",35)(2,"nz-icon",36),h("click",function(r){let c=E(i).$implicit,s=p(4);return x(s.onIconClick(r,c.type))}),t()(),n(3,"td"),d(4,"nz-progress",37),t()()}if(l&2){let i=o.$implicit,a=p(4);m(2),u("nzTooltipTitle",i.type)("nzType",i.type)("nzTheme",a.currentTheme),m(2),u("nzPercent",i.score)}}function At(l,o){if(l&1&&(n(0,"div",34),e(1),t(),n(2,"table")(3,"thead")(4,"tr")(5,"th",35),e(6),t(),n(7,"th"),e(8),t()()(),n(9,"tbody"),A(10,bt,5,4,"tr",null,W),t()()),l&2){let i=p(3);m(),b(" ",i.localeObj.picSearcherResultTip," "),m(5),b(" ",i.localeObj.picSearcherThIcon," "),m(2),F(i.localeObj.picSearcherThScore),m(2),N(i.icons)}}function Nt(l,o){if(l&1&&d(0,"nz-result",33),l&2){let i=p(3);u("nzSubTitle",i.localeObj.picSearcherServerError)}}function Tt(l,o){if(l&1&&(n(0,"nz-upload",26)(1,"p",27),d(2,"nz-icon",28),t(),n(3,"p",29),e(4),t(),n(5,"p",30),e(6),t()(),n(7,"nz-spin",31)(8,"div",32),C(9,At,12,3)(10,Nt,1,1,"nz-result",33),t()()),l&2){let i=p(2);u("nzCustomRequest",i.customRequestUploadFile)("nzFileList",i.fileList)("nzShowUploadList",ae(9,Ct)),m(4),F(i.localeObj.picSearcherUploadText),m(2),F(i.localeObj.picSearcherUploadHint),m(),u("nzSpinning",i.loading)("nzTip",i.localeObj.picSearcherMatching),m(2),v(i.icons.length?9:-1),m(),v(i.error?10:-1)}}function Bt(l,o){if(l&1&&(n(0,"nz-spin",25),d(1,"div",38),t()),l&2){let i=p(2);u("nzTip",i.localeObj.picSearcherModelLoading)}}function kt(l,o){if(l&1&&(ie(0),C(1,Tt,11,10)(2,Bt,2,1,"nz-spin",25),oe()),l&2){let i=p();m(),v(i.modelLoaded?1:2)}}var Mt=["templateRef"];function Pt(l,o){if(l&1&&(n(0,"span")(1,"code",1),e(2),t(),e(3," copied \u{1F389} "),t()),l&2){let i=p();m(2),F(i.copiedCode)}}var Rt=["StepBackward","StepForward","FastBackward","FastForward","Shrink","ArrowsAlt","Down","Up","Left","Right","CaretUp","CaretDown","CaretLeft","CaretRight","UpCircle","DownCircle","LeftCircle","RightCircle","DoubleRight","DoubleLeft","VerticalLeft","VerticalRight","VerticalAlignTop","VerticalAlignMiddle","VerticalAlignBottom","Forward","Backward","Rollback","Enter","Retweet","Swap","SwapLeft","SwapRight","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PlayCircle","UpSquare","DownSquare","LeftSquare","RightSquare","Login","Logout","MenuFold","MenuUnfold","BorderBottom","BorderHorizontal","BorderInner","BorderOuter","BorderLeft","BorderRight","BorderTop","BorderVerticle","PicCenter","PicLeft","PicRight","RadiusBottomleft","RadiusBottomright","RadiusUpleft","RadiusUpright","Fullscreen","FullscreenExit"],Lt=["Question","QuestionCircle","Plus","PlusCircle","Pause","PauseCircle","Minus","MinusCircle","PlusSquare","MinusSquare","Info","InfoCircle","Exclamation","ExclamationCircle","Close","CloseCircle","CloseSquare","Check","CheckCircle","CheckSquare","ClockCircle","Warning","IssuesClose","Stop"],Ot=["Edit","Form","Copy","Scissor","Delete","Snippets","Diff","Highlight","AlignCenter","AlignLeft","AlignRight","BgColors","Bold","Italic","Underline","Strikethrough","Redo","Undo","ZoomIn","ZoomOut","FontColors","FontSize","LineHeight","Dash","SmallDash","SortAscending","SortDescending","Drag","OrderedList","UnorderedList","RadiusSetting","ColumnWidth","ColumnHeight"],Vt=["AreaChart","PieChart","BarChart","DotChart","LineChart","RadarChart","HeatMap","Fall","Rise","Stock","BoxPlot","Fund","Sliders"],Ht=["Android","Apple","Windows","Linux","Ie","Chrome","Github","Aliwangwang","Dingding","Dingtalk","WeiboSquare","WeiboCircle","Weibo","Taobao","TaobaoCircle","Twitter","Wechat","Youtube","AlipayCircle","Skype","Qq","MediumWorkmark","Gitlab","Medium","Linkedin","GooglePlus","Dropbox","Facebook","Html5","Java","JavaScript","Python","Docker","Kubernetes","Ruby","DotNet","Codepen","CodeSandbox","CodeSandboxCircle","Amazon","Google","CodepenCircle","Alipay","AntDesign","AntCloud","Aliyun","Zhihu","Slack","SlackSquare","Behance","BehanceSquare","Dribbble","DribbbleSquare","Instagram","Yuque","Alibaba","Yahoo","Reddit","Discord","Sketch","Baidu","Bilibili","HarmonyOS","OpenAI","Pinterest","Spotify","TikTok","Twitch","WechatWork","WhatsApp","X"],nt={direction:Rt,suggestion:Lt,edit:Ot,data:Vt,logo:Ht},Gt=["border-outter","radius-upright","colum-width","eye-invisible","batch-folding","code-sandbox","code-sandbox-circle"],Qe=class l{constructor(o,i,a){this._iconService=o;this.message=i;
33this.viewContainerRef=a;this._iconService.addIcon(ue)}displayedNames=[];categoryNames=[];currentTheme="outline";localeObj={chooseTheme:"\u9009\u62E9\u56FE\u6807\u4E3B\u9898\u98CE\u683C",direction:"\u65B9\u5411\u6027\u56FE\u6807",suggestion:"\u63D0\u793A\u5EFA\u8BAE\u6027\u56FE\u6807",edit:"\u7F16\u8F91\u7C7B\u56FE\u6807",data:"\u6570\u636E\u7C7B\u56FE\u6807",other:"\u7F51\u7AD9\u901A\u7528\u56FE\u6807",logo:"\u54C1\u724C\u548C\u6807\u8BC6",search:"\u5728\u6B64\u641C\u7D22\u56FE\u6807\uFF0C\u70B9\u51FB\u56FE\u6807\u53EF\u590D\u5236\u4EE3\u7801",picSearcherIntro:"AI \u622A\u56FE\u641C\u7D22\u4E0A\u7EBF\u4E86\uFF0C\u5FEB\u6765\u4F53\u9A8C\u5427\uFF01\u{1F389}",picSearcherMatching:"\u5339\u914D\u4E2D...",picSearcherModelLoading:"\u795E\u7ECF\u7F51\u7EDC\u6A21\u578B\u52A0\u8F7D\u4E2D...",picSearcherResultTip:"\u4E3A\u60A8\u5339\u914D\u5230\u4EE5\u4E0B\u56FE\u6807\uFF1A",picSearcherServerError:"\u8BC6\u522B\u670D\u52A1\u6682\u4E0D\u53EF\u7528",picSearcherThIcon:"\u56FE\u6807",picSearcherThScore:"\u5339\u914D\u5EA6",picSearcherTitle:"\u4E0A\u4F20\u56FE\u7247\u641C\u7D22\u56FE\u6807",picSearcherUploadHint:"\u6211\u4EEC\u4F1A\u901A\u8FC7\u4E0A\u4F20\u7684\u56FE\u7247\u8FDB\u884C\u5339\u914D\uFF0C\u5F97\u5230\u6700\u76F8\u4F3C\u7684\u56FE\u6807",picSearcherUploadText:"\u70B9\u51FB/\u62D6\u62FD/\u7C98\u8D34\u4E0A\u4F20\u56FE\u7247"};searchingString="";error=!1;loading=!1;modelLoaded=!1;modalVisible=!1;popoverVisible=!1;fileList=[];icons=[];document=j(le);trackByFn=o=>`${o}-${this.currentTheme}`;kebabCase=o=>it(o);isNewIcon=o=>Gt.indexOf(o)>-1;onIconClick(o,i){let a=o.target,r=`<nz-icon nzType="${it(i)}" nzTheme="${this.currentTheme}" />`;a.classList.add("copied"),this._copy(r).then(()=>{setTimeout(()=>{a.classList.remove("copied")},1e3)});let c=this.getCopiedStringTemplateRef(r);this.message.success(c)}_copy(o){return new Promise(i=>{let a=null;try{a=this.document.createElement("textarea"),a.style.height="0px",a.style.opacity="0",a.style.width="0px",this.document.body.appendChild(a),a.value=o,a.select(),this.document.execCommand("copy"),i(o)}finally{a&&a.parentNode&&a.parentNode.removeChild(a)}})}prepareIcons(){let o=this.currentTheme,i=ce[o].filter(c=>!["interation","canlendar"].includes(c)).map(c=>Zt(c)),a=Object.keys(nt).map(c=>({name:c,icons:nt[c].filter(s=>i.indexOf(s)>-1&&s.toLowerCase().includes(this.searchingString.toLowerCase()))})),r=i.filter(c=>a.filter(({name:s})=>s!=="all").every(s=>!s.icons.includes(c))).filter(c=>c.toLowerCase().includes(this.searchingString.toLocaleLowerCase()));a.push({name:"other",icons:r}),a=a.filter(({icons:c})=>!!c.length),this.displayedNames=a,this.categoryNames=a.map(({name:c})=>c)}setIconsShouldBeDisplayed(o){this.currentTheme=o,this.prepareIcons()}onSearchChange(){this.prepareIcons()}getCopiedStringTemplateRef(o){this.viewContainerRef.clear();let i=this.viewContainerRef.createComponent(Ke);return i.instance.copiedCode=o,i.instance.templateRef}loadModel(){if(window.antdIconClassifier){this.onLoad();return}let o=this.document.createElement("script"),i="https://cdn.jsdelivr.net/gh/lewis617/[email protected]/dist/main.js";o.type="text/javascript",o.src=i,o.onload=()=>K(this,null,function*(){yield window.antdIconClassifier?.load(),this.onLoad()}),o.onerror=()=>{throw new Error(`${me} cannot load assets of antd icon classifier from source "${i}".`)},this.document.head.appendChild(o)}onLoad(){this.modelLoaded=!0,this.document.addEventListener("paste",this.onPaste)}onPaste=o=>{let i=o.clipboardData&&o.clipboardData.items,a=null;if(i&&i.length){let r=0;for(;r<i.length;){if(i[r].type.indexOf("image")!==-1){a=i[r].getAsFile();break}r++}}a&&this.uploadFile(a)};customRequestUploadFile=o=>ee(!0).subscribe(()=>{this.uploadFile(o.file)});uploadFile=o=>{this.loading=!0;let i=new FileReader;i.onload=()=>{this.toImage(i.result).then(this.predict),this.fileList=[{uid:"1",name:o.name,status:"done",url:i.result}]},i.readAsDataURL(o)};toImage(o){return new Promise(i=>{let a=new Image;a.setAttribute("crossOrigin","anonymous"),a.src=o,a.onload=function(){i(a)}})}predict=o=>{try{let i=window.antdIconClassifier?.predict(o);this.icons=i.map(a=>({score:Math.ceil(a.score*100),type:a.className.replace(/\s/g,"-")})),this.loading=!1,this.error=!1}catch{this.loading=!1,this.error=!0}};toggleModal(){this.modalVisible=!this.modalVisible,this.popoverVisible=!1,this.fileList=[],this.icons=[],localStorage.getItem("disableIconTip")||localStorage.setItem("disableIconTip","true")}platformId=j(te);ngOnInit(){this.setIconsShouldBeDisplayed("outline"),re(this.platformId)&&(this.loadModel(),this.popoverVisible=!localStorage.getItem("disableIconTip"))}ngOnDestroy(){this.document.removeEventListener("paste",this.onPaste),this.viewContainerRef.clear()}static \u0275fac=function(i){return new(i||l)(D(O),D($e),D(ne))};static \u0275cmp=S({type:l,selectors:[["nz-page-demo-icon-zh"]],decls:29,vars:9,consts:[["suffixIconCamera",""],["addOnAfterIconSearch",""],[1,"icon-selector"],[3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","outline"],["d","M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53
330 96-43 96-96V160c0-53-43-96-96-96z m-12 800H172c-6.6 0-12-5.4-12-12V172c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v680c0 6.6-5.4 12-12 12z"],["nz-radio-button","","nzValue","fill"],["d","M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z"],["nz-radio-button","","nzValue","twotone"],["d","M16 512c0 273.932 222.066 496 496 496s496-222.068 496-496S785.932 16 512 16 16 238.066 16 512z m496 368V144c203.41 0 368 164.622 368 368 0 203.41-164.622 368-368 368z"],["nzSearch","",3,"nzSuffix","nzAddOnAfter"],["nz-input","",3,"ngModelChange","placeholder","ngModel"],[3,"nzVisibleChange","nzOnCancel","nzTitle","nzVisible","nzFooter"],[4,"nzModalContent"],[1,"icon-pic-searcher"],["nz-popover","",1,"icon-pic-btn",3,"nzPopoverVisibleChange","click","nzPopoverTrigger","nzPopoverVisible","nzPopoverContent"],["viewBox","64 64 896 896"],["d","M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"],["nz-button","","nzType","default","nzSearch",""],["nzType","search"],[1,"anticons-list"],[3,"click"],[3,"nzType","nzTheme"],[1,"anticon-class"],["nzDot",""],[3,"nzTip"],["nzType","drag","nzAccept","image/jpeg, image/png","nzListType","picture",3,"nzCustomRequest","nzFileList","nzShowUploadList"],[1,"ant-upload-drag-icon"],["nzType","inbox","nzTheme","outline"],[1,"ant-upload-text"],[1,"ant-upload-hint"],[3,"nzSpinning","nzTip"],[1,"icon-pic-search-result"],["nzStatus","500","nzTitle","503",3,"nzSubTitle"],[1,"result-tip"],[1,"col-icon"],["nz-tooltip","","nzTooltipPlacement","right",3,"click","nzTooltipTitle","nzType","nzTheme"],["nzStrokeLinecap","round",3,"nzPercent"],[2,"height","100px"]],template:function(i,a){if(i&1){let r=w();n(0,"h3"),e(1),t(),n(2,"div",2)(3,"nz-radio-group",3),h("ngModelChange",function(s){return E(r),x(a.setIconsShouldBeDisplayed(s))}),n(4,"label",4)(5,"nz-icon"),I(),n(6,"svg"),d(7,"path",5),t()(),e(8," Outlined "),t(),y(),n(9,"label",6)(10,"nz-icon"),I(),n(11,"svg"),d(12,"path",7),t()(),e(13," Filled "),t(),y(),n(14,"label",8)(15,"nz-icon"),I(),n(16,"svg"),d(17,"path",9),t()(),e(18," Two Tone "),t()(),y(),n(19,"nz-input-group",10)(20,"input",11),R("ngModelChange",function(s){return E(r),P(a.searchingString,s)||(a.searchingString=s),x(s)}),h("ngModelChange",function(){return E(r),x(a.onSearchChange())}),t()(),C(21,_t,4,3,"ng-template",null,0,L)(23,It,2,0,"ng-template",null,1,L),t(),A(25,wt,5,1,null,null,W),n(27,"nz-modal",12),R("nzVisibleChange",function(s){return E(r),P(a.modalVisible,s)||(a.modalVisible=s),x(s)}),h("nzOnCancel",function(){return E(r),x(a.toggleModal())}),C(28,kt,3,1,"ng-container",13),t()}if(i&2){let r=q(22),c=q(24);m(),F(a.localeObj.chooseTheme),m(2),u("ngModel",a.currentTheme),m(16),u("nzSuffix",r)("nzAddOnAfter",c),m(),u("placeholder",a.localeObj.search),M("ngModel",a.searchingString),m(5),N(a.categoryNames),m(2),u("nzTitle",a.localeObj.picSearcherTitle),M("nzVisible",a.modalVisible),u("nzFooter",null)}},dependencies:[ze,Se,he,ge,Be,Te,xe,Ee,se,pe,_,g,De,Fe,Ie,_e,Oe,Le,Re,Ce,fe,Pe,Me,ke,je,Ze,Ue,Ge,de,V,He,Ve,qe,We],styles:["h3[_ngcontent-%COMP%]{margin:1.6em 0 .6em;font-size:18px}ul.anticons-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .anticon[_ngcontent-%COMP%]{font-size:24px}.icon-selector[_ngcontent-%COMP%]{display:flex;justify-content:space-between}nz-input-group[_ngcontent-%COMP%]{margin-left:10px;flex:1 1 0}"]})},Ke=class l{copiedCode;templateRef;static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-page-demo-icon-copied-code"]],viewQuery:function(i,a){if(i&1&&T(Mt,7),i&2){let r;B(r=k())&&(a.templateRef=r.first)}},inputs:{copiedCode:"copiedCode"},decls:2,vars:0,consts:[["templateRef",""],[1,"copied-code"]],template:function(i,a){i&1&&C(0,Pt,4,1,"ng-template",null,0,L)},encapsulation:2})};function Ut(l){return l.replace(/-\w/g,(o,i)=>l.charAt(i+1).toUpperCase())}function Zt(l){let o=Ut(l);return o.charAt(0).toUpperCase()+o.slice(1)}function it(l){return l.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([0-9])([a-zA-Z]+)$/g,"-$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}var Ye=class l{expanded=!1;codeBoxes;goLink(o){window&&(window.location.hash=o)}
33expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon"]],viewQuery:function(i,a){if(i&1&&T(H,5),i&2){let r;B(r=k())&&(a.codeBoxes=r)}},decls:1042,vars:32,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-icon-demo-basic","nzTitle","\u57FA\u672C\u4F7F\u7528"],["nzHref","#components-icon-demo-twotone","nzTitle","\u591A\u8272\u56FE\u6807"],["nzHref","#components-icon-demo-custom","nzTitle","\u81EA\u5B9A\u4E49\u56FE\u6807"],["nzHref","#components-icon-demo-iconfont","nzTitle","\u4F7F\u7528 Iconfont.cn"],["nzHref","#components-icon-demo-namespace","nzTitle","\u547D\u540D\u7A7A\u95F4"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u56FE\u6807\u5217\u8868"],["onclick","window.location.hash = '\u56FE\u6807\u5217\u8868'",1,"anchor"],["href","https://ant.design/components/icon-cn/","target","_blank","rel","noopener"],[1,"language-typescript"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],[1,"page-demo"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C\u4F7F\u7528","nzSelector","nz-demo-icon-basic","nzGenerateCommand","ng g ng-zorro-antd:icon-basic <name>","nzComponentName","NzDemoIconBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u81EA\u5B9A\u4E49\u56FE\u6807","nzSelector","nz-demo-icon-custom","nzGenerateCommand","ng g ng-zorro-antd:icon-custom <name>","nzComponentName","NzDemoIconCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u547D\u540D\u7A7A\u95F4","nzSelector","nz-demo-icon-namespace","nzGenerateCommand","ng g ng-zorro-antd:icon-namespace <name>","nzComponentName","NzDemoIconNamespaceComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u591A\u8272\u56FE\u6807","nzSelector","nz-demo-icon-twotone","nzGenerateCommand","ng g ng-zorro-antd:icon-twotone <name>","nzComponentName","NzDemoIconTwotoneComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u4F7F\u7528 Iconfont.cn","nzSelector","nz-demo-icon-iconfont","nzGenerateCommand","ng g ng-zorro-antd:icon-iconfont <name>","nzComponentName","NzDemoIconIconfontComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["href","http://iconfont.cn/","target","_blank","rel","noopener"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-icon,_nz-icon"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-icon,_nz-icon'",1,"anchor"],["id","nziconservice"],[1,"api-type-label","service"],["onclick","window.location.hash = 'nziconservice'",1,"anchor"],["id","svg_\u56FE\u6807"],["onclick","window.location.hash = 'svg_\u56FE\u6807'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],["id","\u9759\u6001\u52A0\u8F7D\u4E0E\u52A8\u6001\u52A0\u8F7D"],["onclick","window.location.hash = '\u9759\u6001\u52A0\u8F7D\u4E0E\u52A8\u6001\u52A0\u8F7D'",1,"anchor"],[1,"token","comment"],[1,"token","operator"],[1,"token","function"],[1,"language-json"],[1,"token","property"],["id","\u5728\u5B50\u6A21\u5757\u4E2D\u8865\u5145\u56FE\u6807"],["onclick","window.location.hash = '\u5728\u5B50\u6A21\u5757\u4E2D\u8865\u5145\u56FE\u6807'",1,"anchor"],[1,"token","decorator"],[1,"token","at","operator"],[1,"token","class-name"],["id","\u53CC\u8272\u56FE\u6807\u4E3B\u8272"],["onclick","window.location.hash = '\u53CC\u8272\u56FE\u6807\u4E3B\u8272'",1,"anchor"],["id","\u81EA\u5B9A\u4E49_font_\u56FE\u6807"],["onclick","window.location.hash = '\u81EA\u5B9A\u4E49_font_\u56FE\u6807'",1,"anchor"],["href","http://iconfont.cn/help/detail?spm=a313x.7781069.19989104
3319.15&helptype=code","target","_blank","rel","noopener"],["id","\u547D\u540D\u7A7A\u95F4"],["onclick","window.location.hash = '\u547D\u540D\u7A7A\u95F4'",1,"anchor"],["id","\u5E38\u89C1\u95EE\u9898"],["onclick","window.location.hash = '\u5E38\u89C1\u95EE\u9898'",1,"anchor"],["id","\u56FE\u6807\u90FD\u4E0D\u89C1\u4E86\uFF01"],["onclick","window.location.hash = '\u56FE\u6807\u90FD\u4E0D\u89C1\u4E86\uFF01'",1,"anchor"],["id","\u6211\u60F3\u9759\u6001\u5F15\u5165\u5168\u90E8\u7684\u56FE\u6807\uFF0C\u8BE5\u600E\u4E48\u505A\uFF1F"],["onclick","window.location.hash = '\u6211\u60F3\u9759\u6001\u5F15\u5165\u5168\u90E8\u7684\u56FE\u6807\uFF0C\u8BE5\u600E\u4E48\u505A\uFF1F'",1,"anchor"],["href","/components/icon/zh#%E9%9D%99%E6%80%81%E5%8A%A0%E8%BD%BD%E4%B8%8E%E5%8A%A8%E6%80%81%E5%8A%A0%E8%BD%BD"],[1,"token","builtin"],["id","\u52A8\u6001\u52A0\u8F7D\u4F1A\u4E0D\u4F1A\u5F71\u54CD\u7F51\u9875\u7684\u6027\u80FD\uFF1F"],["onclick","window.location.hash = '\u52A8\u6001\u52A0\u8F7D\u4F1A\u4E0D\u4F1A\u5F71\u54CD\u7F51\u9875\u7684\u6027\u80FD\uFF1F'",1,"anchor"],["id","\u6211\u600E\u4E48\u77E5\u9053\u4E00\u4E2A\u56FE\u6807\u7684\u9759\u6001\u5F15\u5165\u540D\uFF1F"],["onclick","window.location.hash = '\u6211\u600E\u4E48\u77E5\u9053\u4E00\u4E2A\u56FE\u6807\u7684\u9759\u6001\u5F15\u5165\u540D\uFF1F'",1,"anchor"]],template:function(i,a){i&1&&(n(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),h("nzClick",function(c){return a.goLink(c)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7),t()(),n(9,"section",8)(10,"h1"),e(11,"Icon"),n(12,"span",9),e(13,"\u56FE\u6807"),t(),d(14,"span",10),n(15,"a",11),d(16,"nz-icon",12),t()(),n(17,"section",8),f(),n(18,"p"),e(19,"\u8BED\u4E49\u5316\u7684\u77E2\u91CF\u56FE\u5F62\u3002"),t(),n(20,"h2",13)(21,"span"),e(22,"\u56FE\u6807\u5217\u8868"),t(),n(23,"a",14),e(24,"#"),t()(),n(25,"p"),e(26,"\u65B0\u7248\u56FE\u6807\u53EF\u80FD\u7565\u6709\u7F3A\u5931\uFF0C\u6211\u4EEC\u5C06\u4E0E "),n(27,"a",15),e(28,"Ant Design"),t(),e(29," \u540C\u6B65\u4FDD\u6301\u56FE\u6807\u7684\u66F4\u65B0\u3002"),t(),n(30,"pre")(31,"code",16)(32,"span",17),e(33,"import"),t(),e(34," "),n(35,"span",18),e(36,"{"),t(),e(37," NzIconModule "),n(38,"span",18),e(39,"}"),t(),e(40," "),n(41,"span",17),e(42,"from"),t(),e(43," "),n(44,"span",19),e(45,"'ng-zorro-antd/icon'"),t(),n(46,"span",18),e(47,";"),t(),e(48,` 34`),t()(),z(),t(),n(49,"section",20),d(50,"nz-page-demo-icon-zh"),t(),n(51,"h2")(52,"span"),e(53,"\u4EE3\u7801\u6F14\u793A"),t(),n(54,"nz-icon",21),h("click",function(){return a.expandAllCode()}),t()()(),n(55,"div",22)(56,"div",23)(57,"nz-code-box",24),d(58,"nz-demo-icon-basic",25),n(59,"div",26),f(),n(60,"p"),e(61,"\u4F7F\u7528 "),n(62,"code"),e(63,"<nz-icon>"),t(),e(64," \u6765\u58F0\u660E\u7EC4\u4EF6\u3002\u4F7F\u7528 "),n(65,"code"),e(66,"nzType"),t(),e(67,` \u5C5E\u6027\u6307\u5B9A\u5BF9\u5E94\u7684\u56FE\u6807\u3002 35\u53EF\u4EE5\u901A\u8FC7 `),n(68,"code"),e(69,"nzTheme"),t(),e(70," \u5C5E\u6027\u6765\u8BBE\u7F6E\u4E0D\u540C\u7684\u4E3B\u9898\u98CE\u683C\u7684\u56FE\u6807\uFF0C\u4E5F\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E "),n(71,"code"),e(72,"nzSpin"),t(),e(73," \u5C5E\u6027\u6765\u5B9E\u73B0\u52A8\u753B\u65CB\u8F6C\u6548\u679C\u3002"),t(),n(74,"blockquote")(75,"p")(76,"code"),e(77,"<nz-icon>"),t(),e(78," \u81EA v19 \u7248\u672C\u8D77\u53D7\u652F\u6301\uFF0C\u800C "),n(79,"code"),e(80,"<span nz-icon>"),t(),e(81," \u4E0E "),n(82,"code"),e(83,"<i nz-icon>"),t(),e(84," \u4ECD\u53D7\u652F\u6301\uFF0C\u4F46\u4E0D\u518D\u63A8\u8350\u3002"),t()(),z(),t()(),n(85,"nz-code-box",27),d(86,"nz-demo-icon-custom",25),n(87,"div",26),f(),n(88,"p"),e(89,"\u4F60\u53EF\u4EE5\u76F4\u63A5\u5C06 "),n(90,"code"),e(91,"svg"),t(),e(92," \u6807\u7B7E\u653E\u5728 "),n(93,"code"),e(94,"nz-icon"),t(),e(95," \u4E2D\u6765\u6E32\u67D3\u81EA\u5B9A\u4E49\u5185\u5BB9\uFF0C\u6211\u4EEC\u4F1A\u4E3A\u4F60\u5904\u7406\u5927\u5C0F\u548C\u989C\u8272\u7B49\u95EE\u9898\u3002"),t(),z(),t()(),n(96,"nz-code-box",28),d(97,"nz-demo-icon-namespace",25),n(98,"div",26),f(),n(99,"p"),e(100,"\u53EF\u4EE5\u4F7F\u7528\u547D\u540D\u7A7A\u95F4\u6765\u6DFB\u52A0\u81EA\u5B9A\u4E49\u7684 Icon\uFF0C\u652F\u6301\u9759\u6001\u52A0\u8F7D\u548C\u52A8\u6001\u52A0\u8F7D\u3002"),t(),z(),t()()(),n(101,"div",23)(102,"nz-code-box",29),d(103,"nz-demo-icon-twotone",25),n(104,"div",26),f(),n(105,"p"),e(106,"\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E "),n(107,"code"),e(108,"nzTheme"),t(),e(109," \u5C5E\u6027\u4E3A "),n(110,"code"),e(111,"twotone"),t(),e(112," \u6765\u6E32\u67D3\u53CC\u8272\u56FE\u6807\uFF0C\u5E76\u4E14\u53EF\u4EE5\u8BBE\u7F6E\u4E3B\u9898\u8272\u3002"),t(),z(),t()(),n(113,"nz-code-box",30),d(114,"nz-demo-icon-iconfont",25),n(115,"div",26),f(),n(116,"p"),e(117,"\u5BF9\u4E8E\u4F7F\u7528 "),n(118,"a",31),e(119,"iconfont.cn"),t(),e(120," \u7684\u7528\u6237\uFF0C\u901A\u8FC7\u8BBE\u7F6E "),n(121,"code"),e(122,"fetchFromIconfont"),t(),e(123," \u65B9\u6CD5\u53C2\u6570\u5BF9\u8C61\u4E2D\u7684 "),n(124,"code"),e(125,"scriptUrl"),t(),e(126," \u5B57\u6BB5\uFF0C\u5373\u53EF\u8F7B\u677E\u5730\u4F7F\u7528\u5DF2\u6709\u9879\u76EE\u4E2D\u7684\u56FE\u6807\u3002"),t(),z(),t()()()(),n(127,"section",32),f(),n(128,"h2",33)(129,"span"),e(130,"API"),t(),n(131,"a",34),e(132,"#"),t()(),n(133,"h3",35)(134,"span"),e(135,"nz-icon, [nz-icon]"),t(),n(136,"label",36),e(137,"component"),t(),n(138,"a",37),e(139,"#"),t()(),n(140,"table")(141,"thead")(142,"tr")(143,"th"),e(144,"\u53C2\u6570"),t(),n(145,"th"),e(146,"\u8BF4\u660E"),t(),n(147,"th"),e(148,"\u7C7B\u578B"),t(),n(149,"th"),e(150,"\u9ED8\u8BA4\u503C"),t(),n(151,"th"),e(152,"\u652F\u6301\u5168\u5C40\u914D\u7F6E"),t()()(),n(153,"tbody")(154,"tr")(155,"td")(156,"code"),e(157,"[nzType]"),t()(),n(158,"td"),e(159,"\u56FE\u6807\u7C7B\u578B\uFF0C\u9075\u5FAA\u56FE\u6807\u7684\u547D\u540D\u89C4\u8303"),t(),n(160,"td"),e(161,"string"),t(),n(162,"td"),e(163,"-"),t(),n(164,"td"),e(165,"-"),t()(),n(166,"tr")(167,"td")(168,"code"),e(169,"[nzTheme]"),t()(),n(170,"td"),e(171,"\u56FE\u6807\u4E3B\u9898\u98CE\u683C\u3002\u53EF\u9009\u5B9E\u5FC3\u3001\u63CF\u7EBF\u3001\u53CC\u8272\u7B49\u4E3B\u9898\u98CE\u683C\uFF0C\u9002\u7528\u4E8E\u5B98\u65B9\u56FE\u6807"),t(),n(172,"td")(173,"code"),e(174,"'fill'\u4E28'outline'\u4E28'twotone'"),t()(),n(175,"td")(176,"code"),e(177,"'outline'"),t()(),n(178,"td"),e(179,"\u2705"),t()(),n(180,"tr")(181,"td")(182,"code"),e(183,"[nzSpin]"),t()(),n(184,"td"),e(185,"\u662F\u5426\u6709\u65CB\u8F6C\u52A8\u753B"),t(),n(186,"td")(187,"code"),e(188,"boolean"),t()(),n(189,"td")(190,"code"),e(191,"false"),t()(),n(192,"td"),e(193,"-"),t()(),n(194,"tr")(195,"td")(196,"code"),e(197,"[nzTwotoneColor]"),t()(),n(198,"td"),e(199,"\u53CC\u8272\u56FE\u6807\u7684\u4E3B\u8981\u989C\u8272\uFF0C\u9ED8\u8BA4\u4E3A Ant Design \u84DD\u8272"),t(),n(200,"td")(201,"code"),e(202,"string (\u5341\u516D\u8FDB\u5236\u989C\u8272)"),t()(),n(203,"td"),e(204,"-"),t(),n(205,"td"),e(206,"\u2705"),t()(),n(207,"tr")(208,"td")(209,"code"),e(210,"[nzIconfont]"),t()(),n(211,"td"),e(212,"\u6307\u5B9A\u6765\u81EA IconFont \u7684\u56FE\u6807\u7C7B\u578B"),t(),n(213,"td"),e(214,"string"),t(),n(215,"td"),e(216,"-"),t(),n(217,"td"),e(218,"-"),t()(),n(219,"tr")(220,"td")(221,"code"),e(222,"[nzRotate]"),t()(),n(223,"td"),e(224,"\u56FE\u6807\u65CB\u8F6C\u89D2\u5EA6"),t(),n(225,"td")(226,"code"),e(227,"number"),t()(),n(228,"td"),e(229,"-"),t(),n(230,"td"),e(231,"-"),t()()()(),n(232,"h3",38)(233,"span"),e(234,"NzIconService"),t(),n(235,"label",39),e(236,"service"),t(),n(237,"a",40),e(238,"#"),t()(),n(239,"table")(240,"thead")(241,"tr")(242,"th"),e(243,"\u65B9\u6CD5"),t(),n(244,"th"),e(245,"\u8BF4\u660E"),t(),n(246,"th"),e(247,"\u53C2\u6570"),t()()(),n(248,"tbody")(249,"tr")(250,"td")(251,"code"),e(252,"addIcon()"),t()(),n(253,"td"),e(254,"\u7528\u4E8E\u9759\u6001\u5F15\u5165\u56FE\u6807\uFF0C\u53EF\u4F20\u5165\u591A\u4E2A\u503C\uFF08\u6216\u8005\u7528\u6570\u7EC4\u89E3\u6784\u8D4B\u503C\uFF09"),t(),n(255,"td")(256,"code"),e(257,"IconDefinition"),t()()(),n(258,"tr")(259,"td")(260,"code"),e(261,"addIconLiteral()"),t()(),n(262,"td"),e(263,"\u7528\u4E8E\u9759\u6001\u5F15\u5165\u7528\u6237\u81EA\u5B9A\u4E49\u56FE\u6807"),t(),n(264,"td")(265,"code"),e(266,"string"),t(),e(267,", "),n(268,"code"),e(269,"string (SVG)"),t()()(),n(270,"tr")(271,"td")(272,"code"),e(273,"fetchFromIconfont()"),t()(),n(274,"td"),e(275,"\u7528\u4E8E\u4ECE IconFont \u83B7\u53D6\u56FE\u6807\u8D44\u6E90\u6587\u4EF6"),t(),n(276,"td")(277,"code"),e(278,"NzIconfontOption"),t()()(),n(279,"tr")(280,"td")(281,"code"),e(282,"changeAssetsSource()"),t()(),n(283,"td"),e(284,"\u7528\u4E8E\u4FEE\u6539\u52A8\u6001\u52A0\u8F7D\u56FE\u6807\u7684\u8D44\u6E90\u524D\u7F00\uFF0C\u4F7F\u5F97\u4F60\u53EF\u4EE5\u90E8\u7F72\u56FE\u6807\u8D44\u6E90\u5230\u4F60\u60F3\u8981\u7684\u4EFB\u4F55\u4F4D\u7F6E\uFF0C\u4F8B\u5982 CDN"),t(),n(285,"td")(286,"code"),e(287,"string"),t()()()()(),n(288,"h3",41)(289,"span"),e(290,"SVG \u56FE\u6807"),t(),n(291,"a",42),e(292,"#"),t()(),n(293,"p"),e(294,"NG-ZORRO \u91C7\u7528 svg \u56FE\u6807\uFF0C\u5E26\u6765\u4E86\u4EE5\u4E0B\u4F18\u52BF\uFF1A"),t(),n(295,"ul")(296,"li"),e(297,"\u652F\u6301\u591A\u8272\u56FE\u6807\u3002"),t(),n(298,"li"),e(299,"\u5728\u4F4E\u7AEF\u8BBE\u5907\u4E0A SVG \u6709\u66F4\u597D\u7684\u6E05\u6670\u5EA6\u3002"),t(),n(300,"li"),e(301,"\u5BF9\u4E8E\u5185\u5EFA\u56FE\u6807\u7684\u66F4\u6362\u53EF\u4EE5\u63D0\u4F9B\u66F4\u591A API\uFF0C\u800C\u65E0\u9700\u6837\u5F0F\u8986\u76D6\u3002"),t()(),n(302,"p"),e(303,"\u4F60\u53EF\u4EE5\u4F7F\u7528 "),n(304,"code"),e(305,"nz-icon"),t(),e(306," \u7EC4\u4EF6\uFF0C\u4F20\u5165 "),n(307,"code"),e(308,"theme"),t(),e(309," \u4EE5\u660E\u786E\u56FE\u6807\u7684\u4E3B\u9898\u98CE\u683C\uFF0C\u4F8B\u5982\uFF1A"),t(),n(310,"pre")(311,"code",43)(312,"span",44)(313,"span",44)(314,"span",18),e(315,"<"),t(),e(316,"nz-icon"),t(),e(317," "),n(318,"span",45),e(319,"nzType"),t(),n(320,"span",46)(321,"span",47),e(322,"="),t(),n(323,"span",18),e(324,'"'),t(),e(325,"star"),n(326,"span",18),e(327,'"'),t()(),e(328," "),n(329,"span",45),e(330,"nzTheme"),t(),n(331,"span",46)(332,"span",47),e(333,"="),t(),n(334,"span",18),e(335,'"'),t(),e(336,"fill"),n(337,"span",18),e(338,'"'),t()(),e(339," "),n(340,"span",18),e(341,"/>"),t()(),e(342,` 36`),t()(),n(343,"h3",48)(344,"span"),e(345,"\u9759\u6001\u52A0\u8F7D\u4E0E\u52A8\u6001\u52A0\u8F7D"),t(),n(346,"a",49),e(347,"#"),t()(),n(348,"p"),e(349,"\u5BF9\u4E8E Ant Design \u63D0\u4F9B\u7684\u56FE\u6807\uFF0C\u6211\u4EEC\u63D0\u4F9B\u4E86\u4E24\u79CD\u65B9\u5F0F\u6765\u52A0\u8F7D\u56FE\u6807\u8D44\u6E90\u6587\u4EF6\u3002"),t(),n(350,"p")(351,"strong"),e(352,"\u9759\u6001\u52A0\u8F7D"),t(),e(353,"\uFF0C\u53EF\u4EE5\u5728 "),n(354,"code"),e(355,"app.config.ts"),t(),e(356," \u4E2D\u4F7F\u7528 "),n(357,"code"),e(358,"provideNzIcons"),t(),e(359," \u5F15\u5165\u4F60\u9700\u8981\u7684\u56FE\u6807\uFF08\u63A8\u8350\uFF09\u6216\u8005\u662F\u5168\u90E8\u7684\u56FE\u6807\uFF0C\u4F8B\u5982\uFF1A"),t(),n(360,"pre")(361,"code",16)(362,"span",17),e(363,"import"),t(),e(364," "),n(365,"span",18),e(366,"{"),t(),e(367," IconDefinition "),n(368,"span",18),e(369,"}"),t(),e(370," "),n(371,"span",17),e(372,"from"),t(),e(373," "),n(374,"span",19),e(375,"'@ant-design/icons-angular'"),t(),n(376,"span",18),e(377,";"),t(),e(378,` 37`),n(379,"span",17),e(380,"import"),t(),e(381," "),n(382,"span",18),e(383,"{"),t(),e(384," provideNzIcons "),n(385,"span",18),e(386,"}"),t(),e(387," "),n(388,"span",17),e(389,"from"),t(),e(390," "),n(391,"span",19),e(392,"'ng-zorro-antd/icon'"),t(),n(393,"span",18),e(394,";"),t(),e(395,` 38 39`),n(396,"span",50),e(397,"// \u5F15\u5165\u4F60\u9700\u8981\u7684\u56FE\u6807\uFF0C\u6BD4\u5982\u4F60\u9700\u8981 fill \u4E3B\u9898\u7684 AccountBook Alert \u548C outline \u4E3B\u9898\u7684 Alert\uFF0C\u63A8\u8350 \u2714\uFE0F"),t(),e(398,` 40`),n(399,"span",17),e(400,"import"),t(),e(401," "),n(402,"span",18),e(403,"{"),t(),e(404," AccountBookFill"),n(405,"span",18),e(406,","),t(),e(407," AlertFill"),n(408,"span",18),e(409,","),t(),e(410," AlertOutline "),n(411,"span",18),e(412,"}"),t(),e(413," "),n(414,"span",17),e(415,"from"),t(),e(416," "),n(417,"span",19),e(418,"'@ant-design/icons-angular/icons'"),t(),n(419,"span",18),e(420,";"),t(),e(421,` 41 42`),n(422,"span",17),e(423,"const"),t(),e(424," icons"),n(425,"span",51),e(426,":"),t(),e(427," IconDefinition"),n(428,"span",18),e(429,"["),t(),n(430,"span",18),e(431,"]"),t(),e(432," "),n(433,"span",51),e(434,"="),t(),e(435," "),n(436,"span",18),e(437,"["),t(),e(438," AccountBookFill"),n(439,"span",18),e(440,","),t(),e(441," AlertOutline"),n(442,"span",18),e(443,","),t(),e(444," AlertFill "),n(445,"span",18),e(446,"]"),t(),n(447,"span",18),e(448,";"),t(),e(449,` 43 44`),n(450,"span",50),e(451,"// \u5F15\u5165\u5168\u90E8\u7684\u56FE\u6807\uFF0C\u4E0D\u63A8\u8350 \u274C"),t(),e(452,` 45`),n(453,"span",50),e(454,"// import * as AllIcons from '@ant-design/icons-angular/icons';"),t(),e(455,` 46 47`),n(456,"span",50),e(457,"// const antDesignIcons = AllIcons as Record<string, IconDefinition>;"),t(),e(458,` 48`),n(459,"span",50),e(460,"// const icons: IconDefinition[] = Object.keys(antDesignIcons).map(key => antDesignIcons[key])"),t(),e(461,` 49 50`),n(462,"span",17),e(463,"export"),t(),e(464," "),n(465,"span",17),e(466,"const"),t(),e(467," appConfig"),n(468,"span",51),e(469,":"),t(),e(470," ApplicationConfig "),n(471,"span",51),e(472,"="),t(),e(473," "),n(474,"span",18),e(475,"{"),t(),e(476,` 51 providers`),n(477,"span",51),e(478,":"),t(),e(479," "),n(480,"span",18),e(481,"["),t(),n(482,"span",52),e(483,"provideNzIcons"),t(),n(484,"span",18),e(485,"("),t(),e(486,"icons"),n(487,"span",18),e(488,")"),t(),n(489,"span",18),e(490,"]"),t(),e(491,` 52`),n(492,"span",18),e(493,"}"),t(),e(494,` 53`),t()(),n(495,"p"),e(496,"\u672C\u8D28\u4E0A\u662F\u8C03\u7528\u4E86 "),n(497,"code"),e(498,"NzIconService"),t(),e(499," \u7684 "),n(500,"code"),e(501,"addIcon"),t(),e(502," \u65B9\u6CD5\uFF0C\u5F15\u5165\u540E\u7684\u6587\u4EF6\u4F1A\u88AB\u6253\u5305\u5230 "),n(503,"code"),e(504,".js"),t(),e(505,` \u6587\u4EF6\u4E2D\u3002 54\u9759\u6001\u5F15\u5165\u4F1A\u589E\u52A0\u5305\u4F53\u79EF\uFF0C\u6240\u4EE5\u6211\u4EEC\u5EFA\u8BAE\u5C3D\u53EF\u80FD\u5730\u4F7F\u7528\u52A8\u6001\u52A0\u8F7D\uFF0C\u5982\u679C\u8981\u9759\u6001\u52A0\u8F7D\uFF0C\u4E5F\u4EC5\u4EC5\u52A0\u8F7D\u4F60\u9700\u8981\u7528\u5230\u7684\u56FE\u6807\u3002`),t(),n(506,"blockquote")(507,"p"),e(508,"\u4E3A\u4E86\u52A0\u5FEB\u6E32\u67D3\u901F\u5EA6\uFF0CNG-ZORRO \u672C\u8EAB\u7528\u5230\u7684\u56FE\u6807\u662F\u9759\u6001\u5F15\u5165\u7684\u3002\u5B98\u7F51\u7684\u56FE\u6807\u662F\u52A8\u6001\u5F15\u5165\u7684\u3002"),t()(),n(509,"p")(510,"strong"),e(511,"\u52A8\u6001\u52A0\u8F7D"),t(),e(512,`\uFF0C\u8FD9\u662F\u4
54E3A\u4E86\u51CF\u5C11\u5305\u4F53\u79EF\u800C\u63D0\u4F9B\u7684\u65B9\u5F0F\u3002\u5F53 NG-ZORRO \u68C0\u6D4B\u7528\u6237\u60F3\u8981\u6E32\u67D3\u7684\u56FE\u6807\u8FD8\u6CA1\u6709\u9759\u6001\u5F15\u5165\u65F6\uFF0C\u4F1A\u53D1\u8D77 HTTP \u8BF7\u6C42\u52A8\u6001\u5F15\u5165\u3002 55\u4F60\u53EA\u9700\u8981\u914D\u7F6E `),n(513,"code"),e(514,"angular.json"),t(),e(515," \u6587\u4EF6\uFF1A"),t(),n(516,"pre")(517,"code",53)(518,"span",18),e(519,"{"),t(),e(520,` 56 `),n(521,"span",54),e(522,'"assets"'),t(),n(523,"span",51),e(524,":"),t(),e(525," "),n(526,"span",18),e(527,"["),t(),e(528,` 57 `),n(529,"span",18),e(530,"{"),t(),e(531,` 58 `),n(532,"span",54),e(533,'"glob"'),t(),n(534,"span",51),e(535,":"),t(),e(536," "),n(537,"span",19),e(538,'"**/*"'),t(),n(539,"span",18),e(540,","),t(),e(541,` 59 `),n(542,"span",54),e(543,'"input"'),t(),n(544,"span",51),e(545,":"),t(),e(546," "),n(547,"span",19),e(548,'"./node_modules/@ant-design/icons-angular/src/inline-svg/"'),t(),n(549,"span",18),e(550,","),t(),e(551,` 60 `),n(552,"span",54),e(553,'"output"'),t(),n(554,"span",51),e(555,":"),t(),e(556," "),n(557,"span",19),e(558,'"/assets/"'),t(),e(559,` 61 `),n(560,"span",18),e(561,"}"),t(),e(562,` 62 `),n(563,"span",18),e(564,"]"),t(),e(565,` 63`),n(566,"span",18),e(567,"}"),t(),e(568,` 64`),t()(),n(569,"p"),e(570,"\u4F60\u53EF\u4EE5\u901A\u8FC7 "),n(571,"code"),e(572,"NzIconService"),t(),e(573," \u7684 "),n(574,"code"),e(575,"changeAssetsSource()"),t(),e(576," \u65B9\u6CD5\u6765\u4FEE\u6539\u56FE\u6807\u8D44\u6E90\u7684\u4F4D\u7F6E\uFF0C\u8FD9\u6837\u4F60\u5C31\u53EF\u4EE5\u90E8\u7F72\u8FD9\u4E9B\u8D44\u6E90\u5230 CDN \u4E0A\u3002\u4F60\u7684\u53C2\u6570\u4F1A\u88AB\u76F4\u63A5\u6DFB\u52A0\u5230 "),n(577,"code"),e(578,"assets/"),t(),e(579," \u7684\u524D\u9762\u3002"),t(),n(580,"p"),e(581,"\u4F8B\u5982\uFF0C\u4F60\u5728 "),n(582,"code"),e(583,"https://mycdn.somecdn.com/icons/assets"),t(),e(584," \u76EE\u5F55\u4E0B\u90E8\u7F72\u4E86\u9759\u6001\u8D44\u6E90\u6587\u4EF6\uFF0C\u5219\u53EF\u4EE5\u901A\u8FC7\u8C03\u7528 "),n(585,"code"),e(586,"changeAssetsSource('https://mycdn.somecdn.com/icons')"),t(),e(587,"\uFF0C\u6765\u544A\u8BC9 NG-ZORRO \u4ECE\u8FD9\u4E2A\u4F4D\u7F6E\u52A8\u6001\u52A0\u8F7D\u56FE\u6807\u8D44\u6E90\u3002"),t(),n(588,"h3",55)(589,"span"),e(590,"\u5728\u5B50\u6A21\u5757\u4E2D\u8865\u5145\u56FE\u6807"),t(),n(591,"a",56),e(592,"#"),t()(),n(593,"p"),e(594,"\u6709\u65F6\u5019\uFF0C\u4E3A\u4E86\u907F\u514D\u589E\u5927 "),n(595,"code"),e(596,"main.js"),t(),e(597," \u7684\u4F53\u79EF\uFF0C\u4F60\u53EF\u80FD\u60F3\u8981\u5728\u61D2\u52A0\u8F7D\u7684\u7EC4\u4EF6\u4E2D\u6216\u8DEF\u7531\u7684 "),n(598,"code"),e(599,"providers"),t(),e(600," \u4E2D\u4F7F\u7528 "),n(601,"code"),e(602,"provideNzIconsPatch"),t(),e(603," \u6765\u8865\u5145\u56FE\u6807"),t(),n(604,"pre")(605,"code",16)(606,"span",17),e(607,"import"),t(),e(608," "),n(609,"span",18),e(610,"{"),t(),e(611," NzIconModule"),n(612,"span",18),e(613,","),t(),e(614," provideNzIconsPatch "),n(615,"span",18),e(616,"}"),t(),e(617," "),n(618,"span",17),e(619,"from"),t(),e(620," "),n(621,"span",19),e(622,"'ng-zorro-antd/icon'"),t(),n(623,"span",18),e(624,";"),t(),e(625,` 65 66`),n(626,"span",50),e(627,"// \u5728 xxx.component.ts \u4E2D"),t(),e(628,` 67`),n(629,"span",57)(630,"span",58),e(631,"@"),t(),n(632,"span",52),e(633,"Component"),t()(),n(634,"span",18),e(635,"("),t(),n(636,"span",18),e(637,"{"),t(),e(638,` 68 imports`),n(639,"span",51),e(640,":"),t(),e(641," "),n(642,"span",18),e(643,"["),t(),e(644,"NzIconModule"),n(645,"span",18),e(646,"]"),t(),n(647,"span",18),e(648,","),t(),e(649,` 69 providers`),n(650,"span",51),e(651,":"),t(),e(652," "),n(653,"span",18),e(654,"["),t(),n(655,"span",52),e(656,"provideNzIconsPatch"),t(),n(657,"span",18),e(658,"("),t(),n(659,"span",18),e(660,"["),t(),e(661,"QuestionOutline"),n(662,"span",18),e(663,"]"),t(),n(664,"span",18),e(665,")"),t(),n(666,"span",18),e(667,"]"),t(),e(668,` 70`),n(669,"span",18),e(670,"}"),t(),n(671,"span",18),e(672,")"),t(),e(673,` 71`),n(674,"span",17),e(675,"class"),t(),e(676," "),n(677,"span",59),e(678,"ChildComponent"),t(),e(679," "),n(680,"span",18),e(681,"{"),t(),n(682,"span",18),e(683,"}"),t(),e(684,` 72 73`),n(685,"span",50),e(686,"// \u6216 \u5728 xxx.routes.ts \u4E2D"),t(),e(687,` 74`),n(688,"span",17),e(689,"const"),t(),e(690," routes"),n(691,"span",51),e(692,":"),t(),e(693," Routes "),n(694,"span",51),e(695,"="),t(),e(696," "),n(697,"span",18),e(698,"["),t(),n(699,"span",18),e(700,"{"),t(),e(701,` 75 path`),n(702,"span",51),e(703,":"),t(),e(704," "),n(705,"span",19),e(706,"''"),t(),n(707,"span",18),e(708,","),t(),e(709,` 76 providers`),n(710,"span",51),e(711,":"),t(),e(712," "),n(713,"span",18),e(714,"["),t(),n(715,"span",52),e(716,"provideNzIconsPatch"),t(),n(717,"span",18),e(718,"("),t(),n(719,"span",18),e(720,"["),t(),e(721,"QuestionOutline"),n(722,"span",18),e(723,"]"),t(),n(724,"span",18),e(725,")"),t(),n(726,"span",18),e(727,"]"),t(),n(728,"span",18),e(729,","),t(),e(730,` 77`),n(731,"span",18),e(732,"}"),t(),n(733,"span",18),e(734,"]"),t(),e(735,` 78`),t()(),n(736,"p"),e(737,"\u8FD9\u6837\uFF0C\u5F53 QuestionOutline \u56FE\u6807\u52A0\u8F7D\u4E4B\u540E\uFF0C\u6574\u4E2A\u5E94\u7528\u90FD\u80FD\u591F\u4F7F\u7528\u5B83\u3002"),t(),n(738,"h3",60)(739,"span"),e(740,"\u53CC\u8272\u56FE\u6807\u4E3B\u8272"),t(),n(741,"a",61),e(742,"#"),t()(),n(743,"p"),e(744,"\u5BF9\u4E8E\u53CC\u8272\u56FE\u6807\uFF0C\u53EF\u4EE5\u901A\u8FC7\u63D0\u4F9B\u5168\u5C40\u914D\u7F6E "),n(745,"code"),e(746,"{ nzIcon: { nzTwotoneColor: 'xxx' } }"),t(),e(747," \u6216 "),n(748,"code"),e(749,"NzConfigService"),t(),e(750," \u7684\u5BF9\u5E94\u65B9\u6CD5\u4FEE\u6539\u6765\u5168\u5C40\u8BBE\u7F6E\u56FE\u6807\u4E3B\u8272\u3002"),t(),n(751,"h3",62)(752,"span"),e(753,"\u81EA\u5B9A\u4E49 font \u56FE\u6807"),t(),n(754,"a",63),e(755,"#"),t()(),n(756,"p"),e(757,"\u6211\u4EEC\u63D0\u4F9B\u4E86 "),n(758,"code"),e(759,"fetchFromIconfont"),t(),e(760," \u65B9\u6CD5\uFF0C\u65B9\u4FBF\u5F00\u53D1\u8005\u8C03\u7528\u5728 "),n(761,"a",31),e(762,"iconfont.cn"),t(),e(763," \u4E0A\u81EA\u884C\u7BA1\u7406\u7684\u56FE\u6807\u3002"),t(),n(764,"pre")(765,"code",16)(766,"span",17),e(767,"this"),t(),n(768,"span",18),e(769,"."),t(),e(770,"_iconService"),n(771,"span",18),e(772,"."),t(),n(773,"span",52),e(774,"fetchFromIconfont"),t(),n(775,"span",18),e(776,"("),t(),n(777,"span",18),e(778,"{"),t(),e(779,` 79 scriptUrl`),n(780,"span",51),e(781,":"),t(),e(782," "),n(783,"span",19),e(784,"'https://at.alicdn.com/t/font_8d5l8fzk5b87iudi.js'"),t(),e(785,` 80`),n(786,"span",18),e(787,"}"),t(),n(788,"span",18),e(789,")"),t(),n(790,"span",18),e(791,";"),t(),e(792,` 81`),t()(),n(793,"pre")(794,"code",43)(795,"span",44)(796,"span",44)(797,"span",18),e(798,"<"),t(),e(799,"nz-icon"),t(),e(800," "),n(801,"span",45),e(802,"nzIconfont"),t(),n(803,"span",46)(804,"span",47),e(805,"="),t(),n(806,"span",18),e(807,'"'),t(),e(808,"icon-tuichu"),n(809,"span",18),e(810,'"'),t()(),e(811," "),n(812,"span",18),e(813,"/>"),t()(),e(814,` 82`),t()(),n(815,"p"),e(816,"\u5176\u672C\u8D28\u4E0A\u662F\u521B\u5EFA\u4E86\u4E00\u4E2A\u4F7F\u7528 "),n(817,"code"),e(818,"<use>"),t(),e(819," \u6807\u7B7E\u6E32\u67D3\u56FE\u6807\u7684\u7EC4\u4EF6\u3002"),t(),n(820,"p")(821,"code"),e(822,"options"),t(),e(823," \u7684\u914D\u7F6E\u9879\u5982\u4E0B\uFF1A"),t(),n(824,"table")(825,"thead")(826,"tr")(827,"th"),e(828,"\u53C2\u6570"),t(),n(829,"th"),e(830,"\u8BF4\u660E"),t(),n(831,"th"),e(832,"\u7C7B\u578B"),t(),n(833,"th"),e(834,"\u9ED8\u8BA4\u503C"),t()()(),n(835,"tbody")(836,"tr")(837,"td")(838,"code"),e(839,"scriptUrl"),t()(),n(840,"td")(841,"a",31),e(842,"iconfont.cn"),t(),e(843," \u9879\u76EE\u5728\u7EBF\u751F\u6210\u7684 "),n(844,"code"),e(845,"js"),t(),e(846," \u5730\u5740\uFF0C\u5728 "),n(847,"code"),e(848,"namespace"),t(),e(849," \u4E5F\u8BBE\u7F6E\u7684\u60C5\u51B5\u4E0B\u6709\u6548"),t(),n(850,"td"),e(851,"string"),t(),n(852,"td"),e(853,"-"),t()()()(),n(854,"p"),e(855,"\u5728 "),n(856,"code"),e(857,"scriptUrl"),t(),e(858," \u90FD\u8BBE\u7F6E\u6709\u6548\u7684\u60C5\u51B5\u4E0B\uFF0C\u7EC4\u4EF6\u5728\u6E32\u67D3\u524D\u4F1A\u81EA\u52A8\u5F15\u5165 "),n(859,"a",31),e(860,"iconfont.cn"),t(),e(861," \u9879\u76EE\u4E2D\u7684\u56FE\u6807\u7B26\u53F7\u96C6\uFF0C\u65E0\u9700\u624B\u52A8\u5F15\u5165\u3002"),t(),n(862,"p"),e(863,"\u89C1 "),n(864,"a",64),e(865,"iconfont.cn \u4F7F\u7528\u5E2E\u52A9"),t(),e(866," \u67E5\u770B\u5982\u4F55\u751F\u6210 js \u5730\u5740\u3002"),t(),n(867,"h3",65)(868,"span"),e(869,"\u547D\u540D\u7A7A\u95F4"),t(),n(870,"a",66),e(871,"#"),t()(),n(872,"p"),e(873,"\u7528\u6237\u53EF\u4EE5\u4F7F\u7528\u8BE5\u529F\u80FD\u65B9\u4FBF\u5730\u6DFB\u52A0\u81EA\u5DF1\u7684\u56FE\u6807\u3002\u5728\u6E32\u67D3\u81EA\u5B9A\u4E49\u56FE\u6807\u65F6\uFF0C\u53EA\u9700\u8981\u5C06 "),n(874,"code"),e(875,"type"),t(),e(876," \u6307\u5B9A\u4E3A "),n(877,"code"),e(878,"namespace:name"),t(),e(879," \u7684\u5F62\u5F0F\uFF0C"),n(880,"code"),e(881,"nz-icon"),t(),e(882," \u7EC4\u4EF6\u5C31\u4F1A\u5728\u7528\u6237\u81EA\u884C\u6DFB\u52A0\u7684\u56FE\u6807\u4E2D\u8FDB\u884C\u68C0\u7D22\u5E76\u6E32\u67D3\u3002\u540C\u65F6\u652F\u6301\u9759\u6001\u548C\u52A8\u6001\u5F15\u5165\u3002"),t(),n(883,"p"),e(884,"\u9759\u6001\u5F15\u5165\uFF0C\u53EA\u9700\u8981\u8C03\u7528 "),n(885,"code"),e(886,"NzIconService"),t(),e(887," \u7684 "),n(888,"code"),e(889,"addIconLiteral"),t(),e(890," \u65B9\u6CD5\u5373\u53EF\u3002"),t(),n(891,"p"),e(892,"\u52A8\u6001\u5F15\u5165\uFF0C\u53EA\u9700\u8981\u4FDD\u8BC1 SVG \u8D44\u6E90\u6587\u4EF6\u653E\u5230\u4E86\u76F8\u5E94\u7684\u76EE\u5F55\uFF0C\u5373 "),n(893,"code"),e(894,"assets/${namespace}"),t(),e(895,`\u3002 83\u4F8B\u5982\u4F60\u5728 `),n(896,"code"),e(897,"zoo"),t(),e(898," \u547D\u540D\u7A7A\u95F4\u4E0B\u6709\u4E00\u4E2A "),n(899,"code"),e(900,"panda"),t(),e(901," \u56FE\u6807\uFF0C\u4F60\u9700\u8981\u5C06 "),n(902,"code"),e(903,"panda.svg"),t(),e(904," \u653E\u5230 "),n(905,"code"),e(906,"assets/zoo"),t(),e(907," \u76EE\u5F55\u4E0B\u3002"),t(),n(908,"h2",67)(909,"span"),e(910,"\u5E38\u89C1\u95EE\u9898"),t(),n(911,"a",68),e(912,"#"),t()(),n(913,"h3",69)(914,"span"),e(915,"\u56FE\u6807\u90FD\u4E0D\u89C1\u4E86\uFF01"),t(),n(916,"a",70),e(917,"#"),t()(),n(918,"p"),e(919,"\u4F60\u662F\u4
83E0D\u662F\u6CA1\u6709\u9605\u8BFB\u4EE5\u4E0A\u7684\u6587\u6863\uFF1F"),t(),n(920,"h3",71)(921,"span"),e(922,"\u6211\u60F3\u9759\u6001\u5F15\u5165\u5168\u90E8\u7684\u56FE\u6807\uFF0C\u8BE5\u600E\u4E48\u505A\uFF1F"),t(),n(923,"a",72),e(924,"#"),t()(),n(925,"p"),e(926,"\u5C3D\u7BA1\u8FD9\u662F\u4E0D\u63A8\u8350\u7684\u884C\u4E3A\uFF0C\u5B9E\u9645\u4E0A\u6211\u4EEC\u5DF2\u7ECF\u5728 "),n(927,"a",73),e(928,"\u9759\u6001\u52A0\u8F7D\u4E0E\u52A8\u6001\u52A0\u8F7D"),t(),e(929," \u90E8\u5206\u6F14\u793A\u8FC7\u4E86\uFF1A"),t(),n(930,"pre")(931,"code",16)(932,"span",17),e(933,"import"),t(),e(934," "),n(935,"span",51),e(936,"*"),t(),e(937," "),n(938,"span",17),e(939,"as"),t(),e(940," AllIcons "),n(941,"span",17),e(942,"from"),t(),e(943," "),n(944,"span",19),e(945,"'@ant-design/icons-angular/icons'"),t(),n(946,"span",18),e(947,";"),t(),e(948,` 84 85`),n(949,"span",17),e(950,"const"),t(),e(951," antDesignIcons "),n(952,"span",51),e(953,"="),t(),e(954," AllIcons "),n(955,"span",17),e(956,"as"),t(),e(957," Record"),n(958,"span",51),e(959,"<"),t(),n(960,"span",74),e(961,"string"),t(),n(962,"span",18),e(963,","),t(),e(964," IconDefinition"),n(965,"span",51),e(966,">"),t(),n(967,"span",18),e(968,";"),t(),e(969,` 86`),n(970,"span",17),e(971,"const"),t(),e(972," icons"),n(973,"span",51),e(974,":"),t(),e(975," IconDefinition"),n(976,"span",18),e(977,"["),t(),n(978,"span",18),e(979,"]"),t(),e(980," "),n(981,"span",51),e(982,"="),t(),e(983," Object"),n(984,"span",18),e(985,"."),t(),n(986,"span",52),e(987,"keys"),t(),n(988,"span",18),e(989,"("),t(),e(990,"antDesignIcons"),n(991,"span",18),e(992,")"),t(),n(993,"span",18),e(994,"."),t(),n(995,"span",52),e(996,"map"),t(),n(997,"span",18),e(998,"("),t(),e(999,"key "),n(1e3,"span",51),e(1001,"=>"),t(),e(1002," antDesignIcons"),n(1003,"span",18),e(1004,"["),t(),e(1005,"key"),n(1006,"span",18),e(1007,"]"),t(),n(1008,"span",18),e(1009,")"),t(),e(1010,` 87`),t()(),n(1011,"p"),e(1012,"\u7136\u540E\u901A\u8FC7 "),n(1013,"code"),e(1014,"provideNzIcons"),t(),e(1015," \u6216\u8005 "),n(1016,"code"),e(1017,"NzIconService"),t(),e(1018," \u7684 "),n(1019,"code"),e(1020,"addIcon"),t(),e(1021," \u65B9\u6CD5\u5F15\u5165\u3002"),t(),n(1022,"h3",75)(1023,"span"),e(1024,"\u52A8\u6001\u52A0\u8F7D\u4F1A\u4E0D\u4F1A\u5F71\u54CD\u7F51\u9875\u7684\u6027\u80FD\uFF1F"),t(),n(1025,"a",76),e(1026,"#"),t()(),n(1027,"p"),e(1028,`\u6211\u4EEC\u7528\u4E86\u591A\u79CD\u624B\u6BB5\u6765\u5C3D\u91CF\u51CF\u5C11\u52A8\u6001\u8BF7\u6C42\uFF0C\u5305\u62EC\u5148\u9759\u6001\u540E\u52A8\u6001\u3001\u7F13\u5B58\u548C\u76F8\u540C\u56FE\u6807\u7684\u8BF7\u6C42\u590D\u7528\uFF0C\u7528\u6237\u5F88\u5C11\u80FD\u611F\u77E5\u5230\u56FE\u6807\u662F\u5F02\u6B65\u52A0\u8F7D\u7684\u3002 88\u5728\u7F51\u7EDC\u73AF\u5883\u5C1A\u53EF\u7684\u60C5\u51B5\u4E0B\uFF0C\u5373\u4F7F\u662F\u6709\u4E09\u767E\u591A\u4E2A\u56FE\u6807\u540C\u65F6\u5C55\u793A\u7684 NG-ZORRO \u5B98\u7F51\uFF0C\u4E5F\u57FA\u672C\u6CA1\u6709\u5361\u987F\u3002 89\u5BF9\u4E8E\u52A0\u8F7D\u901F\u5EA6\u8981\u6C42\u66F4\u9AD8\u7684\u7528\u6237\uFF0C\u6211\u4EEC\u4E5F\u652F\u6301 CDN\u3002`),t(),n(1029,"h3",77)(1030,"span"),e(1031,"\u6211\u600E\u4E48\u77E5\u9053\u4E00\u4E2A\u56FE\u6807\u7684\u9759\u6001\u5F15\u5165\u540D\uFF1F"),t(),n(1032,"a",78),e(1033,"#"),t()(),n(1034,"p"),e(1035,"\u5F88\u7B80\u5355\uFF0C\u5927\u5199\u9A7C\u5CF0\u52A0\u4E3B\u9898\u5373\u4E3A\u56FE\u6807\u7684\u5F15\u5165\u540D\u3002\u6BD4\u5982 "),n(1036,"code"),e(1037,"alibaba"),t(),e(1038," \u7684\u5F15\u5165\u540D\u5C31\u662F "),n(1039,"code"),e(1040,"AlibabaOutline"),t(),e(1041,"\uFF0C\u4E8B\u5B9E\u4E0A\uFF0C\u7F16\u8F91\u5668\u7684\u81EA\u52A8\u8865\u5168\u80FD\u5E2E\u52A9\u5230\u4F60\u3002"),t(),z(),t()()),i&2&&(m(),u("nzOffsetTop",16),m(),u("nzAffix",!1),m(53),u("nzGutter",16),m(),u("nzXl",12)("nzSpan",24),m(),u("nzId","components-icon-demo-basic")("nzLink","components-icon-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/basic.md"),m(28),u("nzId","components-icon-demo-custom")("nzLink","components-icon-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/custom.md"),m(11),u("nzId","components-icon-demo-namespace")("nzLink","components-icon-demo-namespace")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/namespace.md"),m(5),u("nzXl",12)("nzSpan",24),m(),u("nzId","components-icon-demo-twotone")("nzLink","components-icon-demo-twotone")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/twotone.md"),m(11),u("nzId","components-icon-demo-iconfont")("nzLink","components-icon-demo-iconfont")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/iconfont.md"))},dependencies:[Ne,H,be,Ae,we,ve,ye,V,g,$,Q,Y,X,J,Qe],encapsulation:2})};var Qt=()=>({showPreviewIcon:!1,showRemoveIcon:!1});function Yt(l,o){return this.trackByFn(o)}function Xt(l,o){if(l&1){let i=w();n(0,"div",14)(1,"nz-icon",15),R("nzPopoverVisibleChange",function(r){E(i);let c=p();return P(c.popoverVisible,r)||(c.popoverVisible=r),x(r)}),h("click",function(){E(i);let r=p();return x(r.toggleModal())}
89),I(),n(2,"svg",16),d(3,"path",17),t()()()}if(l&2){let i=p();m(),u("nzPopoverTrigger",null),M("nzPopoverVisible",i.popoverVisible),u("nzPopoverContent",i.localeObj.picSearcherIntro)}}function Jt(l,o){l&1&&(n(0,"button",18),d(1,"nz-icon",19),t())}function Kt(l,o){if(l&1&&(n(0,"nz-badge",24),e(1),t()),l&2){let i=p().$implicit;m(),b(" ",i," ")}}function en(l,o){if(l&1&&e(0),l&2){let i=p().$implicit;b(" ",i," ")}}function tn(l,o){if(l&1){let i=w();n(0,"li",21),h("click",function(r){let c=E(i).$implicit,s=p(2);return x(s.onIconClick(r,c))}),d(1,"nz-icon",22),n(2,"span",23),C(3,Kt,2,1,"nz-badge",24)(4,en,1,1),t()()}if(l&2){let i=o.$implicit,a=p(2);m(),u("nzType",a.kebabCase(i))("nzTheme",a.currentTheme),m(2),v(a.isNewIcon(i)?3:4)}}function nn(l,o){if(l&1&&(n(0,"h3"),e(1),t(),n(2,"ul",20),A(3,tn,5,3,"li",null,Yt,!0),t()),l&2){let i=o.$implicit,a=o.$index,r=p();m(),F(r.localeObj[i]),m(2),N(r.displayedNames[a].icons)}}function on(l,o){if(l&1){let i=w();n(0,"tr")(1,"td",35)(2,"nz-icon",36),h("click",function(r){let c=E(i).$implicit,s=p(4);return x(s.onIconClick(r,c.type))}),t()(),n(3,"td"),d(4,"nz-progress",37),t()()}if(l&2){let i=o.$implicit,a=p(4);m(2),u("nzTooltipTitle",i.type)("nzType",i.type)("nzTheme",a.currentTheme),m(2),u("nzPercent",i.score)}}function an(l,o){if(l&1&&(n(0,"div",34),e(1),t(),n(2,"table")(3,"thead")(4,"tr")(5,"th",35),e(6),t(),n(7,"th"),e(8),t()()(),n(9,"tbody"),A(10,on,5,4,"tr",null,W),t()()),l&2){let i=p(3);m(),b(" ",i.localeObj.picSearcherResultTip," "),m(5),b(" ",i.localeObj.picSearcherThIcon," "),m(2),F(i.localeObj.picSearcherThScore),m(2),N(i.icons)}}function ln(l,o){if(l&1&&d(0,"nz-result",33),l&2){let i=p(3);u("nzSubTitle",i.localeObj.picSearcherServerError)}}function rn(l,o){if(l&1&&(n(0,"nz-upload",26)(1,"p",27),d(2,"nz-icon",28),t(),n(3,"p",29),e(4),t(),n(5,"p",30),e(6),t()(),n(7,"nz-spin",31)(8,"div",32),C(9,an,12,3)(10,ln,1,1,"nz-result",33),t()()),l&2){let i=p(2);u("nzCustomRequest",i.customRequestUploadFile)("nzFileList",i.fileList)("nzShowUploadList",ae(9,Qt)),m(4),F(i.localeObj.picSearcherUploadText),m(2),F(i.localeObj.picSearcherUploadHint),m(),u("nzSpinning",i.loading)("nzTip",i.localeObj.picSearcherMatching),m(2),v(i.icons.length?9:-1),m(),v(i.error?10:-1)}}function mn(l,o){if(l&1&&(n(0,"nz-spin",25),d(1,"div",38),t()),l&2){let i=p(2);u("nzTip",i.localeObj.picSearcherModelLoading)}}function cn(l,o){if(l&1&&(ie(0),C(1,rn,11,10)(2,mn,2,1,"nz-spin",25),oe()),l&2){let i=p();m(),v(i.modelLoaded?1:2)}}var un=["templateRef"];function dn(l,o){if(l&1&&(n(0,"span")(1,"code",1),e(2),t(),e(3," copied \u{1F389} "),t()),l&2){let i=p();m(2),F(i.copiedCode)}}var sn=["StepBackward","StepForward","FastBackward","FastForward","Shrink","ArrowsAlt","Down","Up","Left","Right","CaretUp","CaretDown","CaretLeft","CaretRight","UpCircle","DownCircle","LeftCircle","RightCircle","DoubleRight","DoubleLeft","VerticalLeft","VerticalRight","VerticalAlignTop","VerticalAlignMiddle","VerticalAlignBottom","Forward","Backward","Rollback","Enter","Retweet","Swap","SwapLeft","SwapRight","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PlayCircle","UpSquare","DownSquare","LeftSquare","RightSquare","Login","Logout","MenuFold","MenuUnfold","BorderBottom","BorderHorizontal","BorderInner","BorderOuter","BorderLeft","BorderRight","BorderTop","BorderVerticle","PicCenter","PicLeft","PicRight","RadiusBottomleft","RadiusBottomright","RadiusUpleft","RadiusUpright","Fullscreen","FullscreenExit"],pn=["Question","QuestionCircle","Plus","PlusCircle","Pause","PauseCircle","Minus","MinusCircle","PlusSquare","MinusSquare","Info","InfoCircle","Exclamation","ExclamationCircle","Close","CloseCircle","CloseSquare","Check","CheckCircle","CheckSquare","ClockCircle","Warning","IssuesClose","Stop"],En=["Edit","Form","Copy","Scissor","Delete","Snippets","Diff","Highlight","AlignCenter","AlignLeft","AlignRight","BgColors","Bold","Italic","Underline","Strikethrough","Redo","Undo","ZoomIn","ZoomOut","FontColors","FontSize","LineHeight","Dash","SmallDash","SortAscending","SortDescending","Drag","OrderedList","UnorderedList","RadiusSetting","ColumnWidth","ColumnHeight"],xn=["AreaChart","PieChart","BarChart","DotChart","LineChart","RadarChart","HeatMap","Fall","Rise","Stock","BoxPlot","Fund","Sliders"],Sn=["Android","Apple","Windows","Linux","Ie","Chrome","Github","Aliwangwang","Dingding","Dingtalk","WeiboSquare","WeiboCircle","Weibo","Taobao","TaobaoCircle","Twitter","Wechat","Youtube","AlipayCircle","Skype","Qq","MediumWorkmark","Gitlab","Medium","Linkedin","GooglePlus","Dropbox","Facebook","Html5","Java","JavaScript","Python","Docker","Kubernetes","Ruby","DotNet","Codepen","CodeSandbox","CodeSandboxCircle","Amazon","Google","CodepenCircle","Alipay","AntDesign","AntCloud","Aliyun","Zhihu","Slack","SlackSquare","Behance","BehanceSquare","Dribbble","DribbbleSquare","Instagram","Yuque","Alibaba","Yahoo","Reddit","Discord","Sketch","Baidu","Bilibili","HarmonyOS","OpenAI","Pinterest","Spotify","TikTok","Twitch","WechatWork","WhatsApp","X"],ot={direction:sn,suggestion:pn,edit:En,data:xn,logo:Sn},hn=["border-outter","radius-upright","colum-width","eye-invisible","batch-folding","code-sandbox","code-sandbox-circle"],Xe=class l{constructor(o,i,a){this._iconService=o;this.message=i;
89this.viewContainerRef=a;this._iconService.addIcon(ue)}displayedNames=[];categoryNames=[];currentTheme="outline";localeObj={chooseTheme:"Select the Icon Theme",direction:"Directional Icons",suggestion:"Suggested Icons",edit:"Editor Icons",data:"Data Icons",other:"Application Icons",logo:"Brand and Logos",search:"Search icon here. Click icon to copy code.",picSearcherIntro:"AI Search by image is online, you are welcome to use it! \u{1F389}",picSearcherMatching:"Matching...",picSearcherModelLoading:"Model is loading...",picSearcherResultTip:"Matched the following icons for you:",picSearcherServerError:"Predict service is temporarily unavailable",picSearcherThIcon:"Icon",picSearcherThScore:"Probability",picSearcherTitle:"Search by image",picSearcherUploadHint:"We will find the best matching icon based on the image provided",picSearcherUploadText:"Click, drag, or paste file to this area to upload"};searchingString="";error=!1;loading=!1;modelLoaded=!1;modalVisible=!1;popoverVisible=!1;fileList=[];icons=[];document=j(le);trackByFn=o=>`${o}-${this.currentTheme}`;kebabCase=o=>at(o);isNewIcon=o=>hn.indexOf(o)>-1;onIconClick(o,i){let a=o.target,r=`<nz-icon nzType="${at(i)}" nzTheme="${this.currentTheme}" />`;a.classList.add("copied"),this._copy(r).then(()=>{setTimeout(()=>{a.classList.remove("copied")},1e3)});let c=this.getCopiedStringTemplateRef(r);this.message.success(c)}_copy(o){return new Promise(i=>{let a=null;try{a=this.document.createElement("textarea"),a.style.height="0px",a.style.opacity="0",a.style.width="0px",this.document.body.appendChild(a),a.value=o,a.select(),this.document.execCommand("copy"),i(o)}finally{a&&a.parentNode&&a.parentNode.removeChild(a)}})}prepareIcons(){let o=this.currentTheme,i=ce[o].filter(c=>!["interation","canlendar"].includes(c)).map(c=>zn(c)),a=Object.keys(ot).map(c=>({name:c,icons:ot[c].filter(s=>i.indexOf(s)>-1&&s.toLowerCase().includes(this.searchingString.toLowerCase()))})),r=i.filter(c=>a.filter(({name:s})=>s!=="all").every(s=>!s.icons.includes(c))).filter(c=>c.toLowerCase().includes(this.searchingString.toLocaleLowerCase()));a.push({name:"other",icons:r}),a=a.filter(({icons:c})=>!!c.length),this.displayedNames=a,this.categoryNames=a.map(({name:c})=>c)}setIconsShouldBeDisplayed(o){this.currentTheme=o,this.prepareIcons()}onSearchChange(){this.prepareIcons()}getCopiedStringTemplateRef(o){this.viewContainerRef.clear();let i=this.viewContainerRef.createComponent(tt);return i.instance.copiedCode=o,i.instance.templateRef}loadModel(){if(window.antdIconClassifier){this.onLoad();return}let o=this.document.createElement("script"),i="https://cdn.jsdelivr.net/gh/lewis617/[email protected]/dist/main.js";o.type="text/javascript",o.src=i,o.onload=()=>K(this,null,function*(){yield window.antdIconClassifier?.load(),this.onLoad()}),o.onerror=()=>{throw new Error(`${me} cannot load assets of antd icon classifier from source "${i}".`)},this.document.head.appendChild(o)}onLoad(){this.modelLoaded=!0,this.document.addEventListener("paste",this.onPaste)}onPaste=o=>{let i=o.clipboardData&&o.clipboardData.items,a=null;if(i&&i.length){let r=0;for(;r<i.length;){if(i[r].type.indexOf("image")!==-1){a=i[r].getAsFile();break}r++}}a&&this.uploadFile(a)};customRequestUploadFile=o=>ee(!0).subscribe(()=>{this.uploadFile(o.file)});uploadFile=o=>{this.loading=!0;let i=new FileReader;i.onload=()=>{this.toImage(i.result).then(this.predict),this.fileList=[{uid:"1",name:o.name,status:"done",url:i.result}]},i.readAsDataURL(o)};toImage(o){return new Promise(i=>{let a=new Image;a.setAttribute("crossOrigin","anonymous"),a.src=o,a.onload=function(){i(a)}})}predict=o=>{try{let i=window.antdIconClassifier?.predict(o);this.icons=i.map(a=>({score:Math.ceil(a.score*100),type:a.className.replace(/\s/g,"-")})),this.loading=!1,this.error=!1}catch{this.loading=!1,this.error=!0}};toggleModal(){this.modalVisible=!this.modalVisible,this.popoverVisible=!1,this.fileList=[],this.icons=[],localStorage.getItem("disableIconTip")||localStorage.setItem("disableIconTip","true")}platformId=j(te);ngOnInit(){this.setIconsShouldBeDisplayed("outline"),re(this.platformId)&&(this.loadModel(),this.popoverVisible=!localStorage.getItem("disableIconTip"))}ngOnDestroy(){this.document.removeEventListener("paste",this.onPaste),this.viewContainerRef.clear()}static \u0275fac=function(i){return new(i||l)(D(O),D($e),D(ne))};static \u0275cmp=S({type:l,selectors:[["nz-page-demo-icon-en"]],decls:29,vars:9,consts:[["suffixIconCamera",""],["addOnAfterIconSearch",""],[1,"icon-selector"],[3,"ngModelChange","ngModel"],["nz-radio-button","","nzValue","outline"],["d","M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53
890 96-43 96-96V160c0-53-43-96-96-96z m-12 800H172c-6.6 0-12-5.4-12-12V172c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v680c0 6.6-5.4 12-12 12z"],["nz-radio-button","","nzValue","fill"],["d","M864 64H160C107 64 64 107 64 160v704c0 53 43 96 96 96h704c53 0 96-43 96-96V160c0-53-43-96-96-96z"],["nz-radio-button","","nzValue","twotone"],["d","M16 512c0 273.932 222.066 496 496 496s496-222.068 496-496S785.932 16 512 16 16 238.066 16 512z m496 368V144c203.41 0 368 164.622 368 368 0 203.41-164.622 368-368 368z"],["nzSearch","",3,"nzSuffix","nzAddOnAfter"],["nz-input","",3,"ngModelChange","placeholder","ngModel"],[3,"nzVisibleChange","nzOnCancel","nzTitle","nzVisible","nzFooter"],[4,"nzModalContent"],[1,"icon-pic-searcher"],["nz-popover","",1,"icon-pic-btn",3,"nzPopoverVisibleChange","click","nzPopoverTrigger","nzPopoverVisible","nzPopoverContent"],["viewBox","64 64 896 896"],["d","M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"],["nz-button","","nzType","default","nzSearch",""],["nzType","search"],[1,"anticons-list"],[3,"click"],[3,"nzType","nzTheme"],[1,"anticon-class"],["nzDot",""],[3,"nzTip"],["nzType","drag","nzAccept","image/jpeg, image/png","nzListType","picture",3,"nzCustomRequest","nzFileList","nzShowUploadList"],[1,"ant-upload-drag-icon"],["nzType","inbox","nzTheme","outline"],[1,"ant-upload-text"],[1,"ant-upload-hint"],[3,"nzSpinning","nzTip"],[1,"icon-pic-search-result"],["nzStatus","500","nzTitle","503",3,"nzSubTitle"],[1,"result-tip"],[1,"col-icon"],["nz-tooltip","","nzTooltipPlacement","right",3,"click","nzTooltipTitle","nzType","nzTheme"],["nzStrokeLinecap","round",3,"nzPercent"],[2,"height","100px"]],template:function(i,a){if(i&1){let r=w();n(0,"h3"),e(1),t(),n(2,"div",2)(3,"nz-radio-group",3),h("ngModelChange",function(s){return E(r),x(a.setIconsShouldBeDisplayed(s))}),n(4,"label",4)(5,"nz-icon"),I(),n(6,"svg"),d(7,"path",5),t()(),e(8," Outlined "),t(),y(),n(9,"label",6)(10,"nz-icon"),I(),n(11,"svg"),d(12,"path",7),t()(),e(13," Filled "),t(),y(),n(14,"label",8)(15,"nz-icon"),I(),n(16,"svg"),d(17,"path",9),t()(),e(18," Two Tone "),t()(),y(),n(19,"nz-input-group",10)(20,"input",11),R("ngModelChange",function(s){return E(r),P(a.searchingString,s)||(a.searchingString=s),x(s)}),h("ngModelChange",function(){return E(r),x(a.onSearchChange())}),t()(),C(21,Xt,4,3,"ng-template",null,0,L)(23,Jt,2,0,"ng-template",null,1,L),t(),A(25,nn,5,1,null,null,W),n(27,"nz-modal",12),R("nzVisibleChange",function(s){return E(r),P(a.modalVisible,s)||(a.modalVisible=s),x(s)}),h("nzOnCancel",function(){return E(r),x(a.toggleModal())}),C(28,cn,3,1,"ng-container",13),t()}if(i&2){let r=q(22),c=q(24);m(),F(a.localeObj.chooseTheme),m(2),u("ngModel",a.currentTheme),m(16),u("nzSuffix",r)("nzAddOnAfter",c),m(),u("placeholder",a.localeObj.search),M("ngModel",a.searchingString),m(5),N(a.categoryNames),m(2),u("nzTitle",a.localeObj.picSearcherTitle),M("nzVisible",a.modalVisible),u("nzFooter",null)}},dependencies:[ze,Se,he,ge,Be,Te,xe,Ee,se,pe,_,g,De,Fe,Ie,_e,Oe,Le,Re,Ce,fe,Pe,Me,ke,je,Ze,Ue,Ge,de,V,He,Ve,qe,We],styles:["h3[_ngcontent-%COMP%]{margin:1.6em 0 .6em;font-size:18px}ul.anticons-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .anticon[_ngcontent-%COMP%]{font-size:24px}.icon-selector[_ngcontent-%COMP%]{display:flex;justify-content:space-between}nz-input-group[_ngcontent-%COMP%]{margin-left:10px;flex:1 1 0}"]})},tt=class l{copiedCode;templateRef;static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-page-demo-icon-copied-code"]],viewQuery:function(i,a){if(i&1&&T(un,7),i&2){let r;B(r=k())&&(a.templateRef=r.first)}},inputs:{copiedCode:"copiedCode"},decls:2,vars:0,consts:[["templateRef",""],[1,"copied-code"]],template:function(i,a){i&1&&C(0,dn,4,1,"ng-template",null,0,L)},encapsulation:2})};function gn(l){return l.replace(/-\w/g,(o,i)=>l.charAt(i+1).toUpperCase())}function zn(l){let o=gn(l);return o.charAt(0).toUpperCase()+o.slice(1)}function at(l){return l.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([0-9])([a-zA-Z]+)$/g,"-$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}var Je=class l{expanded=!1;codeBoxes;goLink(o){window&&(window.location.hash=o)}
vendor: 12,053 bytes, lines 89-91
89expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||l)};static \u0275cmp=S({type:l,selectors:[["nz-demo-icon"]],viewQuery:function(i,a){if(i&1&&T(H,5),i&2){let r;B(r=k())&&(a.codeBoxes=r)}},decls:1046,vars:32,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-icon-demo-basic","nzTitle","Basic usage"],["nzHref","#components-icon-demo-twotone","nzTitle","Two-tone icon and colorful icon"],["nzHref","#components-icon-demo-custom","nzTitle","Custom icon"],["nzHref","#components-icon-demo-iconfont","nzTitle","Use iconfont.cn"],["nzHref","#components-icon-demo-namespace","nzTitle","Namespace"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","list_of_icons"],["onclick","window.location.hash = 'list_of_icons'",1,"anchor"],["href","https://ant.design/components/icon/","target","_blank","rel","noopener"],[1,"language-typescript"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],[1,"page-demo"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic usage","nzSelector","nz-demo-icon-basic","nzGenerateCommand","ng g ng-zorro-antd:icon-basic <name>","nzComponentName","NzDemoIconBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Custom icon","nzSelector","nz-demo-icon-custom","nzGenerateCommand","ng g ng-zorro-antd:icon-custom <name>","nzComponentName","NzDemoIconCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Namespace","nzSelector","nz-demo-icon-namespace","nzGenerateCommand","ng g ng-zorro-antd:icon-namespace <name>","nzComponentName","NzDemoIconNamespaceComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Two-tone icon and colorful icon","nzSelector","nz-demo-icon-twotone","nzGenerateCommand","ng g ng-zorro-antd:icon-twotone <name>","nzComponentName","NzDemoIconTwotoneComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Use iconfont.cn","nzSelector","nz-demo-icon-iconfont","nzGenerateCommand","ng g ng-zorro-antd:icon-iconfont <name>","nzComponentName","NzDemoIconIconfontComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["href","http://iconfont.cn/","target","_blank","rel","noopener"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-icon,_nz-icon"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-icon,_nz-icon'",1,"anchor"],["id","nziconservice"],[1,"api-type-label","service"],["onclick","window.location.hash = 'nziconservice'",1,"anchor"],["id","svg_icons"],["onclick","window.location.hash = 'svg_icons'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],["id","static_loading_and_dynamic_loading"],["onclick","window.location.hash = 'static_loading_and_dynamic_loading'",1,"anchor"],[1,"token","comment"],[1,"token","operator"],[1,"token","function"],[1,"language-json"],[1,"token","property"],["id","add_icons_in_lazy-loaded_components"],["onclick","window.location.hash = 'add_icons_in_lazy-loaded_components'",1,"anchor"],[1,"token","decorator"],[1,"token","at","operator"],[1,"token","class-name"],["id","set_default_twotone_color"],["onclick","window.location.hash = 'set_default_twotone_color'",1,"anchor"],["id","custom_font_icon"],["onclick","window.location.hash = 'custom_font_icon'",1,"anchor"],["href","https://www.iconfont.cn/help/detail?helptype=code","target","_blank","rel","noopener"],["id","namespace"],["onclick","window.location.hash = 'namespace'",1,"anchor"],["id","faq"],["onclick","window.location.hash = 'faq'",1,"anchor"],["id","all_my_icons_are_gone"],["onclick","window.location.hash = 'all_my_icons_are_gone'",1,"anchor"],["id","there_are_two_similar_icons_in_a_lesscodegreaterandlt;spanandgt;andlt;/spanandgt;less/codegreater_tag_what_happened?"],["onclick","window.location.hash = 'there_are_two_similar_icons_in_a_lesscodegreaterandlt;spanandgt;andlt;/spanandgt;less/codegreater_tag_what_happened?'",1,"anchor"],["id","i_want_to_import_all_icons_statically_what_should_i_do?"],["onclick","window.location.hash = 'i_want_to_import_all_icons_statically_what_should_i_do?'",1,"anchor"],["href","/components/icon/en#static-loading-and-dynamic-loading"],[1,"token","builtin"],["id","does_dynamic_loading_affect_web_pagesand#39;_performance?"],["onclick","window.location.hash = 'does_dynamic_loading_affect_web_pagesand#39;_performance?'",1,"anchor"],["id","how_do_i_know_an_iconand#39;s_corresponding_module_to_import?"],["onclick","window.location.hash = 'how_do_i_know_an_iconand#39;s_corresponding_module_to_import?'",1,"anchor"]],template:function(i,a){i&1&&(n(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),h("nzClick",function(c){return a.goLink(c)}),d(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7),t()(),n(9,"section",8)(10,"h1"),e(11,"Icon"),d(12,"span",9)(13,"span",10),n(14,"a",11),d(15,"nz-icon",12),t()(),n(16,"section",8),f(),n(17,"p"),e(18,"Semantic vector graphics."),t(),n(19,"h2",13)(20,"span"),e(21,"List of icons"),t(),n(22,"a",14),e(23,"#"),t()(),n(24,"p"),e(25,"We keep in syncing with "),n(26,"a",15),e(27,"antd"),t(),e(28,"."),t(),n(29,"pre")(30,"code",16)(31,"span",17),e(32,"import"),t(),e(33," "),n(34,"span",18),e(35,"{"),t(),e(36," NzIconModule "),n(37,"span",18),e(38,"}"),t(),e(39," "),n(40,"span",17),e(41,"from"),t(),e(42," "),n(43,"span",19),e(44,"'ng-zorro-antd/icon'"),t(),n(45,"span",18),e(46,";"),t(),e(47,` 90`),t()(),z(),t(),n(48,"section",20),d(49,"nz-page-demo-icon-en"),t(),n(50,"h2")(51,"span"),e(52,"Examples"),t(),n(53,"nz-icon",21),h("click",function(){return a.expandAllCode()}),t()()(),n(54,"div",22)(55,"div",23)(56,"nz-code-box",24),d(57,"nz-demo-icon-basic",25),n(58,"div",26),f(),n(59,"p"),e(60,"Use "),n(61,"code"),e(62,"<nz-icon>"),t(),e(63," to declare the component. Use the "),n(64,"code"),e(65,"nzType"),t(),e(66,` property to specify the corresponding icon. 91You can set different theme styles of icons by setting the `),n(67,"code"),e(68,"nzTheme"),t(),e(69," property, and you can achieve the animation rotation effect by setting the "),n(70,"code"),e(71,"nzSpin"),t(),e(72," property."),t(),n(73,"blockquote")(74,"p")(75,"code"),e(76,"<nz-icon>"),t(),e(77," is supported since v19, while "),n(78,"code"),e(79,"<span nz-icon>"),t(),e(80," and "),n(81,"code"),e(82,"<i nz-icon>"),t(),e(83," are still supported but not recommended."),t()(),z(),t()(),n(84,"nz-code-box",27),d(85,"nz-demo-icon-custom",25),n(86,"div",26),f(),n(87,"p"),e(88,"You can just put a "),n(89,"code"),e(90,"svg"),t(),e(91," element inside a "),n(92,"code"),e(93,"nz-icon"),t(),e(94," to render custom content. We would take care of size and color for you."),t(),z(),t()(),n(95,"nz-code-box",28),d(96,"nz-demo-icon-namespace",25),n(97,"div",26),f(),n(98,"p"),e(99,"You can use namespace to add your own icons. Static loading and dynamic loading are both supported."),t(),z(),t()()(),n(100,"div",23)(101,"nz-code-box",29),d(102,"nz-demo-icon-twotone",25),n(103,"div",26),f(),n(104,"p"),e(105,"Specify property "),n(106,"code"),e(107,"nzTheme"),t(),e(108," to "),n(109,"code"),e(110,"twotone"),t(),e(111," to render two-tone icons. You can also set the primary color."),t(),z(),t()(),n(112,"nz-code-box",30),d(113,"nz-demo-icon-iconfont",25),n(114,"div",26),f(),n(115,"p"),e(116,"If you are using "),n(117,"a",31),e(118,"iconfont.cn"),t(),e(119,", you can use the icons in your project gracefully."),t(),z(),t()()()(),n(120,"section",32),f(),n(121,"h2",33)(122,"span"),e(123,"API"),t(),n(124,"a",34),e(125,"#"),t()(),n(126,"h3",35)(127,"span"),e(128,"nz-icon, [nz-icon]"),t(),n(129,"label",36),e(130,"component"),t(),n(131,"a",37),e(132,"#"),t()(),n(133,"table")(134,"thead")(135,"tr")(136,"th"),e(137,"Property"),t(),n(138,"th"),e(139,"Description"),t(),n(140,"th"),e(141,"Type"),t(),n(142,"th"),e(143,"Default"),t(),n(144,"th"),e(145,"Global Config"),t()()(),n(146,"tbody")(147,"tr")(148,"td")(149,"code"),e(150,"[nzType]"),t()(),n(151,"td"),e(152,"Type of the ant design icon"),t(),n(153,"td")(154,"code"),e(155,"string"),t()(),n(156,"td"),e(157,"-"),t(),n(158,"td"),e(159,"-"),t()(),n(160,"tr")(161,"td")(162,"code"),e(163,"[nzTheme]"),t()(),n(164,"td"),e(165,"Type of the ant design icon"),t(),n(166,"td")(167,"code"),e(168,"'fill'|'outline'|'twotone'"),t()(),n(169,"td")(170,"code"),e(171,"'outline'"),t()(),n(172,"td"),e(173,"\u2705"),t()(),n(174,"tr")(175,"td")(176,"code"),e(177,"[nzSpin]"),t()(),n(178,"td"),e(179,"Rotate icon with animation"),t(),n(180,"td")(181,"code"),e(182,"boolean"),t()(),n(183,"td")(184,"code"),e(185,"false"),t()(),n(186,"td"),e(187,"-"),t()(),n(188,"tr")(189,"td")(190,"code"),e(191,"[nzTwotoneColor]"),t()(),n(192,"td"),e(193,"Primary color of the two-tone icon."),t(),n(194,"td")(195,"code"),e(196,"string (hex color)"),t()(),n(197,"td"),e(198,"-"),t(),n(199,"td"),e(200,"\u2705"),t()(),n(201,"tr")(202,"td")(203,"code"),e(204,"[nzIconfont]"),t()(),n(205,"td"),e(206,"Type of the icon from iconfont"),t(),n(207,"td")(208,"code"),e(209,"string"),t()(),n(210,"td"),e(211,"-"),t(),n(212,"td"),e(213,"-"),t()(),n(214,"tr")(215,"td")(216,"code"),e(217,"[nzRotate]"),t()(),n(218,"td"),e(219,"Rotate degrees"),t(),n(220,"td")(221,"code"),e(222,"number"),t()(),n(223,"td"),e(224,"-"),t(),n(225,"td"),e(226,"-"),t()()()(),n(227,"h3",38)(228,"span"),e(229,"NzIconService"),t(),n(230,"label",39),e(231,"service"),t(),n(232,"a",40),e(233,"#"),t()(),n(234,"table")(235,"thead")(236,"tr")(237,"th"),e(238,"Methods"),t(),n(239,"th"),e(240,"Description"),t(),n(241,"th"),e(242,"Parameters"),t()()(),n(243,"tbody")(244,"tr")(245,"td")(246,"code"),e(247,"addIcon()"),t()(),n(248,"td"),e(249,"To import icons statically"),t(),n(250,"td")(251,"code"),e(252,"IconDefinition"),t()()(),n(253,"tr")(254,"td")(255,"code"),e(256,"addIconLiteral()"),t()(),n(257,"td"),e(258,"To statically import custom icons"),t(),n(259,"td")(260,"code"),e(261,"string"),t(),e(262,", "),n(263,"code"),e(264,"string (SVG)"),t()()(),n(265,"tr")(266,"td")(267,"code"),e(268,"fetchFromIconfont()"),t()(),n(269,"td"),e(270,"To get icon assets from iconfont"),t(),n(271,"td")(272,"code"),e(273,"NzIconfontOption"),t()()(),n(274,"tr")(275,"td")(276,"code"),e(277,"changeAssetsSource()"),t()(),n(278,"td"),e(279,"Change the location of your icon assets, so that you can deploy them anywhere"),t(),n(280,"td")(281,"code"),e(282,"string"),t()()()()(),n(283,"h3",41)(284,"span"),e(285,"SVG icons"),t(),n(286,"a",42),e(287,"#"),t()(),n(288,"p"),e(289,"NG-ZORRO supports svg icons, which bring benefits below:"),t(),n(290,"ul")(291,"li"),e(292,"Support multiple colors."),t(),n(293,"li"),e(294,"Much more display accuracy in lower-level devices."),t(),n(295,"li"),e(296,"Able to change built-in icons with more props but no styles override."),t()(),n(297,"p"),e(298,"You can use "),n(299,"code"),e(300,"nz-icon"),t(),e(301," component and specify the "),n(302,"code"),e(303,"theme"),t(),e(304," property."),t(),n(305,"pre")(306,"code",43)(307,"span",44)(308,"span",44)(309,"span",18),e(310,"<"),t(),e(311,"nz-icon"),t(),e(312," "),n(313,"span",45),e(314,"nzType"),t(),n(315,"span",46)(316,"span",47),e(317,"="),t(),n(318,"span",18),e(319,'"'),t(),e(320,"star"),n(321,"span",18),e(322,'"'),t()(),e(323," "),n(324,"span",45),e(325,"nzTheme"),t(),n(326,"span",46)(327,"span",47),e(328,"="),t(),n(329,"span",18),e(330,'"'),t(),e(331,"f
91ill"),n(332,"span",18),e(333,'"'),t()(),e(334," "),n(335,"span",18),e(336,"/>"),t()(),e(337,` 92`),t()(),n(338,"h3",48)(339,"span"),e(340,"Static loading and dynamic loading"),t(),n(341,"a",49),e(342,"#"),t()(),n(343,"p"),e(344,"As for icons provided by Ant Design, there are two ways to import them into your project."),t(),n(345,"p")(346,"strong"),e(347,"Static loading"),t(),e(348,". You can load icons statically by registering icons in "),n(349,"code"),e(350,"app.config.ts"),t(),e(351," with "),n(352,"code"),e(353,"provideNzIcons"),t(),e(354," API."),t(),n(355,"pre")(356,"code",16)(357,"span",17),e(358,"import"),t(),e(359," "),n(360,"span",18),e(361,"{"),t(),e(362," IconDefinition "),n(363,"span",18),e(364,"}"),t(),e(365," "),n(366,"span",17),e(367,"from"),t(),e(368," "),n(369,"span",19),e(370,"'@ant-design/icons-angular'"),t(),n(371,"span",18),e(372,";"),t(),e(373,` 93`),n(374,"span",17),e(375,"import"),t(),e(376," "),n(377,"span",18),e(378,"{"),t(),e(379," provideNzIcons "),n(380,"span",18),e(381,"}"),t(),e(382," "),n(383,"span",17),e(384,"from"),t(),e(385," "),n(386,"span",19),e(387,"'ng-zorro-antd/icon'"),t(),n(388,"span",18),e(389,";"),t(),e(390,` 94 95`),n(391,"span",50),e(392,"// Import what you need. RECOMMENDED. \u2714\uFE0F"),t(),e(393,` 96`),n(394,"span",17),e(395,"import"),t(),e(396," "),n(397,"span",18),e(398,"{"),t(),e(399," AccountBookFill"),n(400,"span",18),e(401,","),t(),e(402," AlertFill"),n(403,"span",18),e(404,","),t(),e(405," AlertOutline "),n(406,"span",18),e(407,"}"),t(),e(408," "),n(409,"span",17),e(410,"from"),t(),e(411," "),n(412,"span",19),e(413,"'@ant-design/icons-angular/icons'"),t(),n(414,"span",18),e(415,";"),t(),e(416,` 97 98`),n(417,"span",17),e(418,"const"),t(),e(419," icons"),n(420,"span",51),e(421,":"),t(),e(422," IconDefinition"),n(423,"span",18),e(424,"["),t(),n(425,"span",18),e(426,"]"),t(),e(427," "),n(428,"span",51),e(429,"="),t(),e(430," "),n(431,"span",18),e(432,"["),t(),e(433,"AccountBookFill"),n(434,"span",18),e(435,","),t(),e(436," AlertOutline"),n(437,"span",18),e(438,","),t(),e(439," AlertFill"),n(440,"span",18),e(441,"]"),t(),n(442,"span",18),e(443,";"),t(),e(444,` 99 100`),n(445,"span",50),e(446,"// Import all. NOT RECOMMENDED. \u274C"),t(),e(447,` 101`),n(448,"span",50),e(449,"// import * as AllIcons from '@ant-design/icons-angular/icons';"),t(),e(450,` 102 103`),n(451,"span",50),e(452,"// const antDesignIcons = AllIcons as Record<string, IconDefinition>;"),t(),e(453,` 104`),n(454,"span",50),e(455,"// const icons: IconDefinition[] = Object.keys(antDesignIcons).map(key => antDesignIcons[key])"),t(),e(456,` 105 106`),n(457,"span",17),e(458,"export"),t(),e(459," "),n(460,"span",17),e(461,"const"),t(),e(462," appConfig"),n(463,"span",51),e(464,":"),t(),e(465," ApplicationConfig "),n(466,"span",51),e(467,"="),t(),e(468," "),n(469,"span",18),e(470,"{"),t(),e(471,` 107 providers`),n(472,"span",51),e(473,":"),t(),e(474," "),n(475,"span",18),e(476,"["),t(),n(477,"span",52),e(478,"provideNzIcons"),t(),n(479,"span",18),e(480,"("),t(),e(481,"icons"),n(482,"span",18),e(483,")"),t(),n(484,"span",18),e(485,"]"),t(),e(486,` 108`),n(487,"span",18),e(488,"}"),t(),e(489,` 109`),t()(),n(490,"p"),e(491,"Actually this calls "),n(492,"code"),e(493,"addIcon"),t(),e(494," of "),n(495,"code"),e(496,"NzIconService"),t(),e(497,". Imported icons would be bundled into your "),n(498,"code"),e(499,".js"),t(),e(500,` files. 110Static loading may increase your bundle size, thus we recommend to use dynamic importing.`),t(),n(501,"blockquote")(502,"p"),e(503,"Icons used by "),n(504,"code"),e(505,"NG-ZORRO"),t(),e(506,` itself are imported statically to increase loading speed. However, icons demonstrated on the 111official website are loaded dynamically.`),t()(),n(507,"p")(508,"strong"),e(509,"Dynamic loading"),t(),e(510,`. This way would not increase your bundle size. When NG-ZORRO detects that the icon you want to 112render hasn't been registered yet, it would fire an HTTP request to load it. All you have to do is to config your 113`),n(511,"code"),e(512,"angular.json"),t(),e(513," like this:"),t(),n(514,"pre")(515,"code",53)(516,"span",18),e(517,"{"),t(),e(518,` 114 `),n(519,"span",54),e(520,'"assets"'),t(),n(521,"span",51),e(522,":"),t(),e(523," "),n(524,"span",18),e(525,"["),t(),e(526,` 115 `),n(527,"span",18),e(528,"{"),t(),e(529,` 116 `),n(530,"span",54),e(531,'"glob"'),t(),n(532,"span",51),e(533,":"),t(),e(534," "),n(535,"span",19),e(536,'"**/*"'),t(),n(537,"span",18),e(538,","),t(),e(539,` 117 `),n(540,"span",54),e(541,'"input"'),t(),n(542,"span",51),e(543,":"),t(),e(544," "),n(545,"span",19),e(546,'"./node_modules/@ant-design/icons-angular/src/inline-svg/"'),t(),n(547,"span",18),e(548,","),t(),e(549,` 118 `),n(550,"span",54),e(551,'"output"'),t(),n(552,"span",51),e(553,":"),t(),e(554," "),n(555,"span",19),e(556,'"/assets/"'),t(),e(557,` 119 `),n(558,"span",18),e(559,"}"),t(),e(560,` 120 `),n(561,"span",18),e(562,"]"),t(),e(563,` 121`),n(564,"span",18),e(565,"}"),t(),e(566,` 122`),t()(),n(567,"p"),e(568,"You can call "),n(569,"code"),e(570,"changeAssetsSource()"),t(),e(571," of "),n(572,"code"),e(573,"NzIconService"),t(),e(574,` to change the location of your icon assets, so that you can 123deploy the assets to CDN. The parameter you passed would be added in front of `),n(575,"code"),e(576,"assets/"),t(),e(577,"."),t(),n(578,"p"),e(579,"Assume that you deploy the static assets under "),n(580,"code"),e(581,"https://mycdn.somecdn.com/icons/assets"),t(),e(582,`. You can call 124`),n(583,"code"),e(584,"changeAssetsSource('https://mycdn.somecdn.com/icons')"),t(),e(585," to tell NG-ZORRO that all your resources are located there."),t(),n(586,"h3",55)(587,"span"),e(588,"Add Icons in Lazy-loaded Components"),t(),n(589,"a",56),e(590,"#"),t()(),n(591,"p"),e(592,"Sometimes, you want to import icons in lazy components to avoid increasing the size of the "),n(593,"code"),e(594,"main.js"),t(),e(595,`. 125You can import icons in `),n(596,"code"),e(597,"providers"),t(),e(598," of the component or router with "),n(599,"code"),e(600,"provideNzIconsPatch"),t(),e(601," API."),t(),n(602,"pre")(603,"code",16)(604,"span",17),e(605,"import"),t(),e(606," "),n(607,"span",18),e(608,"{"),t(),e(609," NzIconModule"),n(610,"span",18),e(611,","),t(),e(612," provideNzIconsPatch "),n(613,"span",18),e(614,"}"),t(),e(615," "),n(616,"span",17),e(617,"from"),t(),e(618," "),n(619,"span",19),e(620,"'ng-zorro-antd/icon'"),t(),n(621,"span",18),e(622,";"),t(),e(623,` 126 127`),n(624,"span",50),e(625,"// in xxx.component.ts"),t(),e(626,` 128`),n(627,"span",57)(628,"span",58),e(629,"@"),t(),n(630,"span",52),e(631,"Component"),t()(),n(632,"span",18),e(633,"("),t(),n(634,"span",18),e(635,"{"),t(),e(636,` 129 imports`),n(637,"span",51),e(638,":"),t(),e(639," "),n(640,"span",18),e(64
vendor: 8,006 bytes, lines 129-150
1291,"["),t(),e(642,"NzIconModule"),n(643,"span",18),e(644,"]"),t(),n(645,"span",18),e(646,","),t(),e(647,` 130 providers`),n(648,"span",51),e(649,":"),t(),e(650," "),n(651,"span",18),e(652,"["),t(),n(653,"span",52),e(654,"provideNzIconsPatch"),t(),n(655,"span",18),e(656,"("),t(),n(657,"span",18),e(658,"["),t(),e(659,"QuestionOutline"),n(660,"span",18),e(661,"]"),t(),n(662,"span",18),e(663,")"),t(),n(664,"span",18),e(665,"]"),t(),e(666,` 131`),n(667,"span",18),e(668,"}"),t(),n(669,"span",18),e(670,")"),t(),e(671,` 132`),n(672,"span",17),e(673,"class"),t(),e(674," "),n(675,"span",59),e(676,"ChildComponent"),t(),e(677," "),n(678,"span",18),e(679,"{"),t(),n(680,"span",18),e(681,"}"),t(),e(682,` 133 134`),n(683,"span",50),e(684,"// or in xxx.routes.ts"),t(),e(685,` 135`),n(686,"span",17),e(687,"const"),t(),e(688," routes"),n(689,"span",51),e(690,":"),t(),e(691," Routes "),n(692,"span",51),e(693,"="),t(),e(694," "),n(695,"span",18),e(696,"["),t(),n(697,"span",18),e(698,"{"),t(),e(699,` 136 path`),n(700,"span",51),e(701,":"),t(),e(702," "),n(703,"span",19),e(704,"''"),t(),n(705,"span",18),e(706,","),t(),e(707,` 137 providers`),n(708,"span",51),e(709,":"),t(),e(710," "),n(711,"span",18),e(712,"["),t(),n(713,"span",52),e(714,"provideNzIconsPatch"),t(),n(715,"span",18),e(716,"("),t(),n(717,"span",18),e(718,"["),t(),e(719,"QuestionOutline"),n(720,"span",18),e(721,"]"),t(),n(722,"span",18),e(723,")"),t(),n(724,"span",18),e(725,"]"),t(),n(726,"span",18),e(727,","),t(),e(728,` 138`),n(729,"span",18),e(730,"}"),t(),n(731,"span",18),e(732,"]"),t(),e(733,` 139`),t()(),n(734,"p"),e(735,"Once the QuestionOutline icon get loaded, it would be usable across the application."),t(),n(736,"h3",60)(737,"span"),e(738,"Set Default TwoTone Color"),t(),n(739,"a",61),e(740,"#"),t()(),n(741,"p"),e(742,"When using two-tone icons, you should provide a global configuration like "),n(743,"code"),e(744,"{ nzIcon: { nzTwotoneColor: 'xxx' } }"),t(),e(745," via "),n(746,"code"),e(747,"NzConfigService"),t(),e(748," or call corresponding "),n(749,"code"),e(750,"set"),t(),e(751," method to change to default twotone color."),t(),n(752,"h3",62)(753,"span"),e(754,"Custom Font Icon"),t(),n(755,"a",63),e(756,"#"),t()(),n(757,"p"),e(758,"We provided a "),n(759,"code"),e(760,"fetchFromIconfont"),t(),e(761," method, which is specified for iconfont, to help you use your own icons deployed at "),n(762,"a",31),e(763,"iconfont.cn"),t(),e(764," in a convenient way."),t(),n(765,"pre")(766,"code",16)(767,"span",17),e(768,"this"),t(),n(769,"span",18),e(770,"."),t(),e(771,"_iconService"),n(772,"span",18),e(773,"."),t(),n(774,"span",52),e(775,"fetchFromIconfont"),t(),n(776,"span",18),e(777,"("),t(),n(778,"span",18),e(779,"{"),t(),e(780,` 140 scriptUrl`),n(781,"span",51),e(782,":"),t(),e(783," "),n(784,"span",19),e(785,"'https://at.alicdn.com/t/font_8d5l8fzk5b87iudi.js'"),t(),e(786,` 141`),n(787,"span",18),e(788,"}"),t(),n(789,"span",18),e(790,")"),t(),n(791,"span",18),e(792,";"),t(),e(793,` 142`),t()(),n(794,"p"),e(795,"And then you can use it like this:"),t(),n(796,"pre")(797,"code",43)(798,"span",44)(799,"span",44)(800,"span",18),e(801,"<"),t(),e(802,"nz-icon"),t(),e(803," "),n(804,"span",45),e(805,"nzIconfont"),t(),n(806,"span",46)(807,"span",47),e(808,"="),t(),n(809,"span",18),e(810,'"'),t(),e(811,"icon-tuichu"),n(812,"span",18),e(813,'"'),t()(),e(814," "),n(815,"span",18),e(816,"/>"),t()(),e(817,` 143`),t()(),n(818,"p"),e(819,"It creates a component that uses SVG sprites in essence."),t(),n(820,"p"),e(821,"The following options are available:"),t(),n(822,"table")(823,"thead")(824,"tr")(825,"th"),e(826,"Property"),t(),n(827,"th"),e(828,"Description"),t(),n(829,"th"),e(830,"Type"),t(),n(831,"th"),e(832,"Default"),t()()(),n(833,"tbody")(834,"tr")(835,"td")(836,"code"),e(837,"scriptUrl"),t()(),n(838,"td"),e(839,"The URL generated by iconfont.cn project."),t(),n(840,"td")(841,"code"),e(842,"string"),t()(),n(843,"td"),e(844,"-"),t()()()(),n(845,"p"),e(846,"The property "),n(847,"code"),e(848,"scriptUrl"),t(),e(849," should be set to import the svg sprite symbols."),t(),n(850,"p"),e(851,"See "),n(852,"a",64),e(853,"iconfont.cn document"),t(),e(854," to learn about how to generate the "),n(855,"code"),e(856,"scriptUrl"),t(),e(857,"."),t(),n(858,"h3",65)(859,"span"),e(860,"Namespace"),t(),n(861,"a",66),e(862,"#"),t()(),n(863,"p"),e(864,`We introduced namespace so you could add your own icons in a convenient way. 144When you want to render an icon, you could assign `),n(865,"code"),e(866,"type"),t(),n(867,"code"),e(868,"namespace:name"),t(),e(869,". Dynamic importing and static importing are both supported."),t(),n(870,"p"),e(871,"Static importing. Invoke "),n(872,"code"),e(873,"addIconLiteral"),t(),e(874," of "),n(875,"code"),e(876,"NzIconService"),t(),e(877,"."),t(),n(878,"p"),e(879,"Dynamic importing. Make sure that you have put your SVG resources in directory like "),n(880,"code"),e(881,"assets/${namespace}"),t(),e(882,`. 145For example, if you have a `),n(883,"code"),e(884,"panda"),t(),e(885," icon and in "),n(886,"code"),e(887,"zoo"),t(),e(888," namespace, you should put the file "),n(889,"code"),e(890,"panda.svg"),t(),e(891," in "),n(892,"code"),e(893,"assets/zoo"),t(),e(894,"."),t(),n(895,"h2",67)(896,"span"),e(897,"FAQ"),t(),n(898,"a",68),e(899,"#"),t()(),n(900,"h3",69)(901,"span"),e(902,"All my icons are gone!"),t(),n(903,"a",70),e(904,"#"),t()(),n(905,"p"),e(906,"Have you ever read the docs above?"),t(),n(907,"h3",71)(908,"span"),e(909,"There are two similar icons in a "),n(910,"code"),e(911,"<span></span>"),t(),e(912," tag. What happened?"),t(),n(913,"a",72),e(914,"#"),t()(),n(915,"p"),e(916,"In older versions of NG-ZORRO, there was a font file which would use "),n(917,"code"),e(918,":before"),t(),e(919," to insert an icon according to a "),n(920,"code"),e(921,"<i>"),t(),e(922," tag's "),n(923,"code"),e(924,"class"),t(),e(925,`. 146So if you have two icons, try to remove `),n(926,"code"),e(927,"node_modules"),t(),e(928," and install again. If the problem is still there, search "),n(929,"code"),e(930,"@icon-url"),t(),e(931," and remove that line."),t(),n(932,"h3",73)(933,"span"),e(934,"I want to import all icons statically. What should I do?"),t(),n(935,"a",74),e(936,"#"),t()(),n(937,"p"),e(938,"Although it is not recommended, actually we demonstrate it at section "),n(939,"a",75),e(940,"Static loading and dynamic loading"),t(),e(941,":"),t(),n(942,"pre")(943,"code",16)(944,"span",17),e(945,"import"),t(),e(946," "),n(947,"span",51),e(948,"*"),t(),e(949," "),n(950,"span",17),e(951,"as"),t(),e(952," AllIcons "),n(953,"span",17),e(954,"from"),t(),e(955," "),n(956,"span",19),e(957,"'@ant-design/icons-angular/icons'"),t(),n(958,"span",18),e(959,";"),t(),e(960,` 147 148`),n(961,"span",17),e(962,"const"),t(),e(963," antDesignIcons "),n(964,"span",51),e(965,"="),t(),e(966," AllIcons "),n(967,"span",17),e(968,"as"),t(),e(969," Record"),n(970,"span",51),e(971,"<"),t(),n(972,"span",76),e(973,"string"),t(),n(974,"span",18),e(975,","),t(),e(976," IconDefinition"),n(977,"span",51),e(978,">"),t(),n(979,"span",18),e(980,";"),t(),e(981,` 149`),n(982,"span",17),e(983,"const"),t(),e(984," icons"),n(985,"span",51),e(986,":"),t(),e(987," IconDefinition"),n(988,"span",18),e(989,"["),t(),n(990,"span",18),e(991,"]"),t(),e(992," "),n(993,"span",51),e(994,"="),t(),e(995," Object"),n(996,"span",18),e(997,"."),t(),n(998,"span",52),e(999,"keys"),t(),n(1e3,"span",18),e(1001,"("),t(),e(1002,"antDesignIcons"),n(1003,"span",18),e(1004,")"),t(),n(1005,"span",18),e(1006,"."),t(),n(1007,"span",52),e(1008,"map"),t(),n(1009,"span",18),e(1010,"("),t(),e(1011,"key "),n(1012,"span",51),e(1013,"=>"),t(),e(1014," antDesignIcons"),n(1015,"span",18),e(1016,"["),t(),e(1017,"key"),n(1018,"span",18),e(1019,"]"),t(),n(1020,"span",18),e(1021,")"),t(),e(1022,` 150`),t()(),n(1023,"h3",77)(1024,"span"),e(1025,"Does dynamic loading affect web pages' performance?"),t(),n(1026,"a",78),e(1027,"#"),t()(),n(1028,"p"),e(1029,`We used several methods to reduce requests, such as static cache, dynamic cache and reusable request.
151It's basically not noticeable for visitors that icons are loaded asynchronously assuming web connections are fairly good.`),t(),n(1030,"h3",79)(1031,"span"),e(1032,"How do I know an icon's corresponding module to import?"),t(),n(1033,"a",80),e(1034,"#"),t()(),n(1035,"p"),e(1036,"Capital camel-case "),n(1037,"code"),e(1038,"type & theme"),t(),e(1039,", i.e. "),n(1040,"code"),e(1041,"alibaba"),t(),e(1042," => "),n(1043,"code"),e(1044,"AlibabaOutline"),t(),e(1045,"."),t(),z(),t()()),i&2&&(m(),u("nzOffsetTop",16),m(),u("nzAffix",!1),m(52),u("nzGutter",16),m(),u("nzXl",12)("nzSpan",24),m(),u("nzId","components-icon-demo-basic")("nzLink","components-icon-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/basic.md"),m(28),u("nzId","components-icon-demo-custom")("nzLink","components-icon-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/custom.md"),m(11),u("nzId","components-icon-demo-namespace")("nzLink","components-icon-demo-namespace")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/namespace.md"),m(5),u("nzXl",12)("nzSpan",24),m(),u("nzId","components-icon-demo-twotone")("nzLink","components-icon-demo-twotone")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/twotone.md"),m(11),u("nzId","components-icon-demo-iconfont")("nzLink","components-icon-demo-iconfont")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/icon/demo/iconfont.md"))},dependencies:[Ne,H,be,Ae,we,ve,ye,V,g,$,Q,Y,X,J,Xe],encapsulation:2})};var fn=[{path:"en",component:Je},{path:"zh",component:Ye}],d0=fn;export{d0 as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.