1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9594],{20550:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var c=t(4942),o=t(87462),l=t(97685),r=t(67294),a=t(94184),i=t.n(a),s=t(97435),u=t(40753),f=t.n(u),p=t(59844),b=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&n.indexOf(c)<0&&(t[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(c=Object.getOwnPropertySymbols(e);o<c.length;o++)n.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(t[c[o]]=e[c[o]])}return t},d=function(e){var n,t=r.useContext(p.E_).getPrefixCls,l=e.prefixCls,a=e.className,s=e.checked,u=b(e,["prefixCls","className","checked"]),f=t("tag",l),d=i()(f,(n={},(0,c.Z)(n,"".concat(f,"-checkable"),!0),(0,c.Z)(n,"".concat(f,"-checkable-checked"),s),n),a);return delete u.onChange,r.createElement("span",(0,o.Z)({},u,{className:d,onClick:function(n){var t=e.checked,c=e.onChange,o=e.onClick;c&&c(!t),o&&o(n)}}))},m=t(98787),v=t(68349),y=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&n.indexOf(c)<0&&(t[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(c=Object.getOwnPropertySymbols(e);o<c.length;o++)n.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(t[c[o]]=e[c[o]])}return t},h=new RegExp("^(".concat(m.Y.join("|"),")(-inverse)?$")),C=new RegExp("^(".concat(m.E.join("|"),")$")),E=function(e,n){var t,a=e.prefixCls,u=e.className,b=e.style,d=e.children,m=e.icon,E=e.color,O=e.onClose,g=e.closeIcon,k=e.closable,w=void 0!==k&&k,x=y(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),N=r.useContext(p.E_),_=N.getPrefixCls,Z=N.direction,P=r.useState(!0),j=(0,l.Z)(P,2),S=j[0],T=j[1];r.useEffect((function(){"visible"in x&&T(x.visible)}),[x.visible]);var I=function(){return!!E&&(h.test(E)||C.test(E))},R=(0,o.Z)({backgroundColor:E&&!I()?E:void 0},b),X=I(),$=_("tag",a),F=i()($,(t={},(0,c.Z)(t,"".concat($,"-").concat(E),X),(0,c.Z)(t,"".concat($,"-has-color"),E&&!X),(0,c.Z)(t,"".concat($,"-hidden"),!S),(0,c.Z)(t,"".concat($,"-rtl"),"rtl"===Z),t),u),Y=function(e){e.stopPropagation(),O&&O(e),e.defaultPrevented||"visible"in x||T(!1)},q="onClick"in x||d&&"a"===d.type,z=(0,s.Z)(x,["visible"]),A=m||null,B=A?r.createElement(r.Fragment,null,A,r.createElement("span",null,d)):d,D=r.createElement("span",(0,o.Z)({},z,{ref:n,className:F,style:R}),B,w?g?r.createElement("div",{className:"".concat($,"-close-icon"),onClick:Y},g):r.createElement(f(),{className:"".concat($,"-close-icon"),onClick:Y}):null);return q?r.createElement(v.Z,null,D):D},O=r.forwardRef(E);O.displayName="Tag",O.CheckableTag=d;var g=O},44374:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/content/Template9",function(){return t(75152)}])}},function(e){e.O(0,[3732,2753,6799,5152,9774,2888,179],(function(){return n=44374,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.