PageSourceSearch

https://www.tools366.com/_next/static/chunks/6506.551ed7aa9bb4b377.js

js tools366.com collected 2026-10-08 10:32:11 UTC 14,546 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6506],{10685:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(40476),a=n(66088),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},s=n(42264),l=a.forwardRef(function(e,t){return a.createElement(s.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},53854:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(40476),a=n(66088),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},s=n(42264),l=a.forwardRef(function(e,t){return a.createElement(s.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},18692:function(e,t,n){"use strict";n.d(t,{default:function(){return P}});var r=n(91043),a=n.n(r),o=n(66088),s=n(95217),l=n(53083),c=n(6417),i=n(32988),d=n(40476),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},p=n(42264),m=o.forwardRef(function(e,t){return o.createElement(p.Z,(0,d.Z)({},e,{ref:t,icon:u}))}),f=n(10685),h=n(71904),g=n(20055),v=n(70552),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let y=e=>e?o.createElement(f.Z,null):o.createElement(m,null),w={click:"onClick",hover:"onMouseOver"},b=o.forwardRef((e,t)=>{let{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[l,c]=(0,o.useState)(()=>!!r&&n.visible),d=(0,o.useRef)(null);o.useEffect(()=>{r&&c(n.visible)},[r,n]);let u=(0,v.Z)(d),p=()=>{let{disabled:t}=e;t||(l&&u(),c(e=>{var t;let r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r}))},{className:m,prefixCls:f,inputPrefixCls:b,size:C}=e,_=x(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:j}=o.useContext(s.E_),S=j("input",b),N=j("input-password",f),Z=n&&(t=>{let{action:n="click",iconRender:r=y}=e,a=w[n]||"",s=r(l);return o.cloneElement(o.isValidElement(s)?s:o.createElement("span",null,s),{[a]:p,className:"".concat(t,"-icon"),key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}})})(N),k=a()(N,m,{["".concat(N,"-").concat(C)]:!!C}),E=Object.assign(Object.assign({},(0,h.Z)(_,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:k,prefixCls:S,suffix:Z});return C&&(E.size=C),o.createElement(i.Z,Object.assign({ref:(0,g.sQ)(t,d)},E))});var C=n(53854),_=n(24737),j=n(42973),S=n(66471),N=n(13089),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let k=o.forwardRef((e,t)=>
1{let n;let{prefixCls:r,inputPrefixCls:l,className:c,size:d,suffix:u,enterButton:p=!1,addonAfter:m,loading:f,disabled:h,onSearch:v,onChange:x,onCompositionStart:y,onCompositionEnd:w}=e,b=Z(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:k,direction:E}=o.useContext(s.E_),O=o.useRef(!1),P=k("input-search",r),M=k("input",l),{compactSize:L}=(0,N.ri)(P,E),T=(0,S.Z)(e=>{var t;return null!==(t=null!=d?d:L)&&void 0!==t?t:e}),z=o.useRef(null),I=e=>{var t;document.activeElement===(null===(t=z.current)||void 0===t?void 0:t.input)&&e.preventDefault()},B=e=>{var t,n;v&&v(null===(n=null===(t=z.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},R="boolean"==typeof p?o.createElement(C.Z,null):null,G="".concat(P,"-button"),A=p||{},V=A.type&&!0===A.type.__ANT_BUTTON;n=V||"button"===A.type?(0,_.Tm)(A,Object.assign({onMouseDown:I,onClick:e=>{var t,n;null===(n=null===(t=null==A?void 0:A.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),B(e)},key:"enterButton"},V?{className:G,size:T}:{})):o.createElement(j.ZP,{className:G,type:p?"primary":void 0,size:T,disabled:h,key:"enterButton",onMouseDown:I,onClick:B,loading:f,icon:R},p),m&&(n=[n,(0,_.Tm)(m,{key:"addonAfter"})]);let D=a()(P,{["".concat(P,"-rtl")]:"rtl"===E,["".concat(P,"-").concat(T)]:!!T,["".concat(P,"-with-button")]:!!p},c);return o.createElement(i.Z,Object.assign({ref:(0,g.sQ)(z,t),onPressEnter:e=>{O.current||f||B(e)}},b,{size:T,onCompositionStart:e=>{O.current=!0,null==y||y(e)},onCompositionEnd:e=>{O.current=!1,null==w||w(e)},prefixCls:M,addonAfter:n,suffix:u,onChange:e=>{e&&e.target&&"click"===e.type&&v&&v(e.target.value,e),x&&x(e)},className:D,disabled:h}))});var E=n(92207);let O=i.Z;O.Group=e=>{let{getPrefixCls:t,direction:n}=(0,o.useContext)(s.E_),{prefixCls:r,className:i=""}=e,d=t("input-group",r),u=t("input"),[p,m]=(0,c.ZP)(u),f=a()(d,{["".concat(d,"-lg")]:"large"===e.size,["".concat(d,"-sm")]:"small"===e.size,["".concat(d,"-compact")]:e.compact,["".concat(d,"-rtl")]:"rtl"===n},m,i),h=(0,o.useContext)(l.aM),g=(0,o.useMemo)(()=>Object.assign(Object.assign({},h),{isFormItemInput:!1}),[h]);return p(o.createElement("span",{className:f,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},o.createElement(l.aM.Provider,{value:g},e.children)))}
1,O.Search=k,O.TextArea=E.Z,O.Password=b;var P=O},96506:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(93482),a=n(66088),o=n(18692),s=n(94091),l=n(73136),c=n(91826),i=n(42973),d=n(99638),u=n(38),p=n.n(u),m=n(26135);let{TextArea:f}=o.default,h="abcdefghijklmnopqrstuvwxyz",g="ABCDEFGHIJKLMNOPQRSTUVWXYZ",v="0123456789",x="!\";#$%&'()*+,-./:;<=>?@[]^_`{|}~",y="il1Lo0O";function w(e){let{category:t,toolName:n}=e,o=(0,d.T_)(),u="tools.".concat(t,".").concat(n),[w,b]=(0,a.useState)(10),[C,_]=(0,a.useState)(!0),[j,S]=(0,a.useState)(!0),[N,Z]=(0,a.useState)(!0),[k,E]=(0,a.useState)(!0),[O,P]=(0,a.useState)(!0),[M,L]=(0,a.useState)(1),[T,z]=(0,a.useState)([]),[I,B]=(0,a.useState)("");(0,a.useEffect)(()=>{G()},[w,C,j,N,k,O,M]);let R=e=>e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),G=()=>{let e="",t={};if(C&&(e+=g,t.uppercase=g),j&&(e+=h,t.lowercase=h),N&&(e+=v,t.numbers=v),k&&(e+=x,t.symbols=x),O&&(e=e.split("").filter(e=>!y.includes(e)).join("")),""===e){z([o("".concat(u,".characterTip"))]),B("");return}let n=Array.from({length:M},()=>{let n="";for(;n.length<w;){let t=e[Math.floor(Math.random()*e.length)];n+=t}let r=Object.keys(t);for(let e of r){if(n.match(new RegExp("[".concat(R(t[e]),"]"))))continue;let a=null;for(;!a;){let e=r.find(e=>{var r;let a=RegExp("[".concat(R(t[e]),"]"),"g");return t[e]&&(null===(r=n.match(a))||void 0===r?void 0:r.length)>1});e&&(a=e)}a&&(n=n.replace(new RegExp("[".concat(R(t[a]),"]")),t[e][Math.floor(Math.random()*t[e].length)]))}return n});z(n),A(n[0])},A=e=>{let t=0;switch(/[a-z]/.test(e)&&t++,/[A-Z]/.test(e)&&t++,/\d/.test(e)&&t++,/[!\";#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/.test(e)&&t++,e.length>=12&&t++,t){case 1:case 2:B(o("".concat(u,".passwordStrengthWeak")));break;case 3:B(o("".concat(u,".passwordStrengthGood")));break;case 4:B(o("".concat(u,".passwordStrengthStrong")));break;case 5:B(o("".concat(u,".passwordStrengthVeryStrong")));break;default:B(o("".concat(u,".passwordStrengthVeryWeak")))}};return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:p().passwordLen,children:[(0,r.jsxs)("span",{className:p().fieldName,children:[o("".concat(u,".passwordLength")),":"]}),(0,r.jsx)(s.Z,{style:{flex:1},defaultValue:w,min:4,max:64,onChange:e=>b(e),className:p().slider}),(0,r.jsx)(l.Z,{style:{marginLeft:"16px"},min:4,max:64,value:w,className:p().inputNumber,onChange:e=>b(e)})]}),(0,r.jsx)("div",{children:(0,r.jsx)(c.Z,{checked:C,onChange:e=>_(e.target.checked),children:o("".concat(u,".includeUppercase"))})}),(0,r.jsx)("div",{children:(0,r.jsx)(c.Z,{checked:j,onChange:e=>S(e.target.checked),children:o("".concat(u,".includeLowercase"))})}),(0,r.jsx)("div",{children:(0,r.jsx)(c.Z,{checked:N,onChange:e=>Z(e.target.checked),children:o("".concat(u,".includeNumbers"))})}),(0,r.jsx)("div",{children:(0,r.jsxs)(c.Z,{checked:k,onChange:e=>E(e.target.checked),children:[o("".concat(u,".includeSymbols"))," $",x]})}),(0,r.jsx)("div",{children:(0,r.jsxs)(c.Z,{checked:O,onChange:e=>P(e.target.checked),children:[o("".concat(u,".excludeSimilar"))," ",y]})}),(0,r.jsxs)("div",{className:p().passwordCount,children:[(0,r.jsxs)("span",{className:p().fieldName,children:[o("count"),":"]}),(0,r.jsx)(l.Z,{min:1,max:100,defaultValue:M,onChange:e=>L(e)})]}),(0,r.jsxs)("div",{className:p().btnWrap,children:[(0,r.jsx)(i.ZP,{className:p().genBtn,type:"primary",onClick:G,children:o("generate")}),(0,r.jsx)(i.ZP,{className:p().genBtn,type:"primary",onClick:()=>{m.Z.copyToClipboard(o,T.join("\n"))},children:o("copyAll")}),(0,r.jsx)(i.ZP,{className:p().genBtn,type:"primary",onClick:()=>{m.Z.downloadTxtFile(T.join("\n"),"passwords.txt")},children:o("exportAsTxt")})]}),T.map((e,t)=>(0,r.jsxs)("div",{className:p().passItem,children:[(0,r.jsx)(f,{value:e,readOnly:!0,className:p().resultText,autoSize:{minRows:1,maxRows:1}}),(0,r.jsx)(i.ZP,{className:p().copyBtn,type:"primary",onClick:t=>{m.Z.copyToClipboard(o,e)},children:o("copy")})]},t)),(0,r.jsxs)("div",{className:p().passwordStrength,children:[(0,r.jsxs)("span",{className:p().fieldName,children:[o("".concat(u,".passwordStrength")),":"]}),I]}),(0,r.jsxs)("div",{className:p().intro,children:[(0,r.jsx)("div",{className:p().title,children:o("introTitle")}),[1,2,3,4,5,6,7,8,9].map(e=>(0,r.jsxs)("div",{className:p().introItem,children:[o("".concat(u,".intro").concat(e)),"  "]},e))]})]})}},26135:function(e,t,n){"use strict";var r=n(87349);class a{init(){if(!this.inited){this.inited=!0;for(let e=0;e<localStorage.length;e++){let t=localStorage.key(e);t.startsWith("expiringLocalStorage_")&&this.getItem(t.replace("expiringLocalStorage_",""))}}}setItem(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:259200,r=new Date().getTime()+1e3*n;localStorage.setItem("expiringLocalStorage_".concat(e),JSON.stringify({value:t,expiration:r}))}getItem(e){let t=localStorage.getItem("expiringLocalStorage_".concat(e));if(!t)return null;try{let n=JSON.parse(t);if(new Date().getTime()>n.expiration)return localStorage.removeItem("expiringLocalStorage_".concat(e)),null;return n.value}catch(e){return console.error("Error parsing stored value:",e),null}}removeItem(e){localStorage.removeItem("expiringLocalStorage_".concat(e))}constructor(){this.inited=!1}}new a,t.Z={copyToClipboard:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=e("copied");if(n&&(a="".concat(e("copied"),": ").concat(n)),navigator.clipboard)navigator.clipboard.writeText(t).then(function(){r.ZP.success(a)},function(t){r.ZP.error(e("copyError"))});else{let n=document.createElement("textarea");n.value=t,document.body.appendChild(n),n.select();try{document.execCommand("copy"),r.ZP.success(a)}catch(t){r.ZP.error(e("copyError"))}document.body.removeChild(n)}},downloadTxtFile:(e,t)=>
1{let n=document.createElement("a"),r=new Blob([e||""],{type:"text/plain"});n.href=URL.createObjectURL(r),n.download="".concat(t||"output",".txt"),document.body.appendChild(n),n.click()},roundTo:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return isNaN(e)?e:Math.round(e*Math.pow(10,t+1)/10)/Math.pow(10,t)},IsPC:()=>{for(var e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,r=0;r<t.length;r++)if(e.indexOf(t[r])>-1){n=!1;break}return n},getUrlParams(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t||window.location.href,r=n.indexOf("#");r>-1&&(n=n.substring(0,r));let a=n.indexOf("?")>-1?n.split("?")[1]:null,o=a?a.split("&"):[];return o&&(e={},o.forEach(t=>{let n=t.split("=")[0],r=t.split("=")[1];e[n]=decodeURIComponent(r)}),e.length=o.length),e}}},38:function(e){e.exports={passwordLen:"passwordGenerator_passwordLen__i56JV",slider:"passwordGenerator_slider__95UjA",genBtn:"passwordGenerator_genBtn__lZlFC",passItem:"passwordGenerator_passItem__vnzQk",copyBtn:"passwordGenerator_copyBtn__i_Vnc",inputNumber:"passwordGenerator_inputNumber__V9E2q",passwordStrength:"passwordGenerator_passwordStrength__2hQj2",resultText:"passwordGenerator_resultText__vMdu6",fieldName:"passwordGenerator_fieldName__lKpDe",intro:"passwordGenerator_intro__9cqLy",title:"passwordGenerator_title__c9g0m",introItem:"passwordGenerator_introItem__u_BQN"}}}]);

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.