PageSourceSearch

https://textcaseconvert.com/static/js/7022.c020a3d9.chunk.js

js textcaseconvert.com collected 2026-10-07 17:21:34 UTC 11,192 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7022],{7022:(e,s,t)=>{t.r(s),t.d(s,{default:()=>x});var a=t(2791),i=t(8029),r=t(4270),n=t(9209),l=t(6320),d=t(6426),c=t(4349),h=t(1851),o=t(184);class p extends a.Component{constructor(){super(...arguments),this.state={value:this.passGen(12),copied:!1,size:12,otherChars:"",msgErr:"",loadSuper:!1,optValue:"numeral",chkNumeral:!0,chkCapitalLetter:!0,chkLowercase:!0,chkOthers:!0},this.chkHandleChange=(e,s)=>{setTimeout((()=>this.state[s]?e.target.classList.add("active"):e.target.classList.remove("active")),50),this.setState({[s]:!this.state[s]})}}componentDidMount(){}render(){const e=this.props.intl,s={"@context":"https://schema.org","@type":"WebApplication",name:"Online Password Generator - TextCaseConvert",applicationCategory:"BrowserApplication",browserRequirements:"Requires JavaScript. Requires HTML5.",operatingSystem:"All",aggregateRating:{"@type":"AggregateRating",ratingValue:"4.2",ratingCount:"1144"},offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},url:"https://textcaseconvert.com",keywords:"password,password generator,password generator online,random password",description:"Generate random passwords online of any length."};return s.name=e.formatMessage({id:"pwdGen.seo.title",defaultMessage:s.name}),s.description=e.formatMessage({id:"pwdGen.seo.description",defaultMessage:s.description}),s.keywords=e.formatMessage({id:"pwdGen.seo.keywords",defaultMessage:s.keywords}),s.url="https://textcaseconvert.com"+this.props.location.pathname,(0,o.jsxs)(a.Fragment,{children:[(0,o.jsxs)(r.Z,{children:[(0,o.jsx)("html",{lang:this.props.location.pathname.split("/")[1]?this.props.location.pathname.split("/")[1]:"en"}),(0,o.jsx)("title",{children:s.name}),(0,o.jsx)("meta",{name:"description",content:s.description}),(0,o.jsx)("meta",{name:"keywords",content:s.keywords}),(0,o.jsx)("link",{rel:"canonical",href:s.url}),(0,o.jsx)("script",{type:"application/ld+json",children:JSON.stringify(s)})]}),(0,o.jsx)("h1",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h1"})}),(0,o.jsxs)("p",{className:"lead",children:[(0,o.jsx)(c.Z,{id:"pwdGen.desc.1"}),(0,o.jsx)(n.Z,{...this.props})]}),(0,o.jsx)(l.Z,{}),(0,o.jsxs)("div",{className:"container no-ad",children:[(0,o.jsx)("div",{className:"text-center font-weight-bold",children:(0,o.jsx)(c.Z,{id:"pwdGen.desc.generated"})}),(0,o.jsxs)("div",{className:"uuid-container",children:[(0,o.jsx)("input",{type:"text",className:"uuid",id:"inputText",readOnly:"readonly",value:this.state.value}),(0,o.jsx)(i.CopyToClipboard,{onCopy:()=>{this.setState({copied:!0}),setTimeout((()=>this.setState({copied:!1})),2e3),this.state.loadSuper||(setTimeout((()=>(0,d.Z)()),5e3),this.setState({loadSuper:!0}))},text:this.state.value,children:(0,o.jsxs)("button",{className:"btn btn-outline-secondary",children:[(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-clipboard",viewBox:"0 0 16 16",children:[(0,o.jsx)("path",{d:"M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"}),(0,o.jsx)("path",{d:"M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"})]})," ",(0,o.jsx)(c.Z,{id:"btn.copy"})]})})]}),(0,o.jsx)("div",{className:"d-flex justify-content-center mb-3",children:(0,o.jsxs)("button",{className:"btn btn-outline-secondary",onClick:()=>this.generator(this.state.size),children:[(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-arrow-repeat",viewBox:"0 0 16 16",children:[(0,o.jsx)("path",{d:"M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z"}),(0,o.jsx)("path",{fillRule:"evenodd",d:"M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z"})]})," ",(0,o.jsx)(c.Z,{id:"pwdGen.btn.generate"})]})}),this.state.copied?(0,o.jsx)("div",{className:"alert alert-success",role:"alert",style:{margin:0,padding:".15rem 1.25rem",textAlign:"center",marginBottom:"15px"},children:"Copied to clipboard"}):null]}),(0,o.jsxs)("div",{className:"container no-ad",children:[(0,o.jsxs)("div",{className:"card-deck mb-3 text-center",children:[(0,o.jsxs)("div",{className:"card mb-4 shadow-sm card-uuid",children:[(0,o.jsx)("div",{className:"card-header",children:(0,o.jsx)("h4",{className:"my-0 font-weight-normal",children:(0,o.jsx)(c.Z,{id:"pwdGen.card.1"})})}),(0,o.jsx)("div",{className:"card-body",children:(0,o.jsxs)("div",{className:"pwd btn-group btn-group-toggle","data-toggle":"buttons",children:[(0,o.jsxs)("label",{className:"btn btn-primary "+("numeral"
1===this.state.optValue?"active":""),onClick:()=>this.setState({optValue:"numeral"}),children:[(0,o.jsx)("input",{type:"radio",name:"options"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.numeral"})]}),(0,o.jsxs)("label",{className:"btn btn-primary "+("capitalLetter"===this.state.optValue?"active":""),onClick:()=>this.setState({optValue:"capitalLetter"}),children:[(0,o.jsx)("input",{type:"radio",name:"options"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.capitalLetter"})]}),(0,o.jsxs)("label",{className:"btn btn-primary "+("lowercase"===this.state.optValue?"active":""),onClick:()=>this.setState({optValue:"lowercase"}),children:[(0,o.jsx)("input",{type:"radio",name:"options"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.lowercase"})]}),(0,o.jsxs)("label",{className:"btn btn-primary "+("others"===this.state.optValue?"active":""),onClick:()=>this.setState({optValue:"others"}),children:[(0,o.jsx)("input",{type:"radio",name:"options"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.others"})]})]})})]}),(0,o.jsxs)("div",{className:"card mb-4 shadow-sm card-uuid",children:[(0,o.jsx)("div",{className:"card-header",children:(0,o.jsx)("h4",{className:"my-0 font-weight-normal",children:(0,o.jsx)(c.Z,{id:"pwdGen.card.2"})})}),(0,o.jsx)("div",{className:"card-body",children:(0,o.jsxs)("div",{className:"pwd btn-group btn-group-toggle","data-toggle":"buttons",children:[(0,o.jsxs)("label",{className:"btn btn-primary "+(this.state.chkNumeral?"active":""),onClick:e=>this.chkHandleChange(e,"chkNumeral"),children:[(0,o.jsx)("input",{type:"checkbox"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.numeral"})]}),(0,o.jsxs)("label",{className:"btn btn-primary "+(this.state.chkCapitalLetter?"active":""),onClick:e=>this.chkHandleChange(e,"chkCapitalLetter"),children:[(0,o.jsx)("input",{type:"checkbox"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.capitalLetter"})]}),(0,o.jsxs)("label",{className:"btn btn-primary "+(this.state.chkLowercase?"active":""),onClick:e=>this.chkHandleChange(e,"chkLowercase"),children:[(0,o.jsx)("input",{type:"checkbox"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.lowercase"})]}),(0,o.jsxs)("label",{className:"btn btn-primary "+(this.state.chkOthers?"active":""),onClick:e=>this.chkHandleChange(e,"chkOthers"),children:[(0,o.jsx)("input",{type:"checkbox"}),(0,o.jsx)(c.Z,{id:"pwdGen.desc.others"})]})]})})]})]}),(0,o.jsxs)("div",{className:"card-deck mb-3 text-center",children:[(0,o.jsxs)("div",{className:"card mb-4 shadow-sm card-uuid",children:[(0,o.jsx)("div",{className:"card-header",children:(0,o.jsxs)("h4",{className:"my-0 font-weight-normal",children:[(0,o.jsx)(c.Z,{id:"pwdGen.card.3"})," "]})}),(0,o.jsx)("div",{className:"card-body",children:(0,o.jsx)("input",{type:"text",id:"size",value:this.state.size,onChange:e=>{let{target:{value:s}}=e;return this.setState({size:s})}})})]}),(0,o.jsxs)("div",{className:"card mb-4 shadow-sm card-uuid",children:[(0,o.jsx)("div",{className:"card-header",children:(0,o.jsx)("h4",{className:"my-0 font-weight-normal",children:(0,o.jsx)(c.Z,{id:"pwdGen.card.4"})})}),(0,o.jsx)("div",{className:"card-body",children:(0,o.jsx)("input",{type:"text",id:"otherChars",value:this.state.otherChars,onChange:e=>{let{target:{value:s}}=e;return this.setState({otherChars:s})}})})]})]})]}),(0,o.jsx)("h3",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.2"})}),(0,o.jsx)("p",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.2.desc.1"})}),(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.2.li.1"})}),(0,o.jsx)("li",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.2.li.2"})}),(0,o.jsx)("li",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.2.li.3"})})]}),(0,o.jsx)("p",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.2.desc.2"})}),(0,o.jsx)("h3",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.1"})}),(0,o.jsx)("p",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.1.desc.1"})}),(0,o.jsx)("p",{children:(0,o.jsx)(c.Z,{id:"pwdGen.h3.1.desc.2"})}),(0,o.jsx)("div",{className:"text-center",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("div",{className:"col-lg-12 pt-5 text-center lang-list",children:[(0,o.jsx)("hr",{className:"mt-5 mb-0"}),(0,o.jsxs)("ul",{className:"list-inline no-ad",children:[(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator",children:(0,o.jsx)(c.Z,{id:"body.lang.en"})})}),(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator/fr",children:(0,o.jsx)(c.Z,{id:"body.lang.fr"})})}),(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator/it",children:(0,o.jsx)(c.Z,{id:"body.lang.it"})})}),(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator/pt",children:(0,o.jsx)(c.Z,{id:"body.lang.pt"})})}),(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator/es",children:(0,o.jsx)(c.Z,{id:"body.lang.es"})})}),(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator/ru",children:(0,o.jsx)(c.Z,{id:"body.lang.ru"})})}),(0,o.jsx)("li",{className:"list-inline-item",children:(0,o.jsx)("a",{href:"/password-generator/de",children:(0,o.jsx)(c.Z,{id:"body.lang.de"})})})]})]})})})})]})}generator(e){this.state.loadSuper||(setTimeout((()=>(0,d.Z)()),5e3),this.setState({loadSuper:!0})),this.setState({value:this.passGen(e),size:e})}passGen(e){let s="";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZ",a="abcdefghijklmnopqrstuvwxyz",i="0123456789",r="!@#$%^&*()_+[]{}|;:,.<>?";let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+[]{}|;:,.<>?";if(this.state){const l=this.state.otherChars;n="",this.state.chkNumeral&&(n+=i),this.state.chkCapitalLetter&&(n+=t),this.state.chkLowercase&&(n+=a),this.state.chkOthers&&(n+=l||r),"numeral"
1===this.state.optValue?(s=i.charAt(Math.floor(10*Math.random())),e--):"capitalLetter"===this.state.optValue?(s=t.charAt(Math.floor(26*Math.random())),e--):"lowercase"===this.state.optValue?(s=a.charAt(Math.floor(26*Math.random())),e--):"others"===this.state.optValue&&(s=r.charAt(Math.floor(24*Math.random())),e--)}for(let t=0;t<e;t++)s+=n.charAt(Math.floor(Math.random()*n.length));return s}}const x=(0,h.ZP)(p)}}]);
2//# sourceMappingURL=7022.c020a3d9.chunk.js.map

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.