1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[695],{2678:function(e,l,a){Promise.resolve().then(a.bind(a,7965))},7965:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return eb}});var t=a(7437),r=a(2265),s=a(6648),u=e=>{let{style:l,title:a,background:r,borderRadius:u,author:o,icon:i,font:n,customIcon:b,aspectRatio:c,width:v}=e;return(0,t.jsx)("div",{className:"mx-auto h-auto my-0 flex text-gray-800 items-center",style:{background:r,width:"".concat(v,"px"),aspectRatio:c,...l},children:(0,t.jsxs)("div",{className:"".concat(n," bg-white w-10/12 m-auto flex flex-col pt-10 rounded-xl"),style:{borderRadius:u},children:[(0,t.jsx)("div",{className:"px-12",children:(0,t.jsx)("div",{children:(0,t.jsx)("h1",{className:"overflow-hidden leading-[2] text-[2.4rem] text-gray-800 font-bold text-center",children:a})})}),(0,t.jsxs)("div",{className:"flex box-border p-4 mx-4 rounded-xl items-center bg-transparent",children:[b?(0,t.jsx)("div",{className:"w-16 h-16",children:(0,t.jsx)(s.default,{src:b,width:64,height:64,alt:"img",className:"rounded-full bg-white border-white"})}):(0,t.jsx)("div",{className:"mr-auto ml-2 items-center justify-center flex",children:(0,t.jsx)("i",{className:"devicon-".concat(i,"-original p-2 dev-icon text-5xl")})}),(0,t.jsx)("h2",{className:"text-xl ml-auto mr-2 font-semibold",children:o})]})]})})},o=e=>{let{style:l,width:a,aspectRatio:r,title:u,borderRadius:o,background:i,author:n,icon:b,font:c,customIcon:v}=e;return(0,t.jsx)("div",{className:"m-auto bg-white ",style:{background:i,width:"".concat(a,"px"),...l},children:(0,t.jsx)("div",{className:" overflow-y-hidden w-full flex items-center",style:{aspectRatio:r},children:(0,t.jsxs)("div",{className:" m-auto h-full p-4 text-gray-800 flex items-center",style:{aspectRatio:r},children:[v?(0,t.jsx)("div",{className:"mx-auto items-center justify-center flex",children:(0,t.jsx)(s.default,{src:v,alt:"img",className:"w-28 h-28 rounded-full bg-white border-4 border-white"})}):(0,t.jsx)("div",{className:" rounded-full p-6 w-32 h-32 bg-white mx-auto items-center justify-center flex",children:(0,t.jsx)("i",{className:"devicon-".concat(b,"-original p-4 dev-icon text-7xl")})}),(0,t.jsx)("div",{className:"h-full w-2/3",children:(0,t.jsxs)("div",{className:"".concat(c," bg-white px-12 justify-center text-left rounded-xl h-full p-4 flex flex-col"),style:{borderRadius:o},children:[(0,t.jsx)("h1",{className:"text-3xl md:text-5xl font-bold text-gray-800",children:u}),(0,t.jsx)("h2",{className:"text-xl mt-10 font-semibold text-left ",children:n})]})})]})})})},i=e=>{let{style:l,width:a,aspectRatio:r,title:u,background:o,author:i,icon:n,font:b,customIcon:c}=e;return(0,t.jsx)("div",{className:"bg-white ",children:(0,t.jsx)("div",{className:"m-auto overflow-y-hidden flex flex-col text-gray-800 px-10 ",style:{background:o,width:"".concat(a,"px"),aspectRatio:r,...l},children:(0,t.jsxs)("div",{className:"".concat(b," rounded-2xl py-6 flex flex-col "),children:[c?(0,t.jsx)("div",{className:" m-6",children:(0,t.jsx)(s.default,{src:c,alt:"img",className:"rounded-full object-cover w-24 h-24 bg-white p-1 border-white"})}):(0,t.jsx)("div",{className:" mr-auto ml-2 items-center justify-center flex",children:(0,t.jsx)("i",{className:"devicon-".concat(n,"-original text-white p-4 dev-icon text-8xl")})}),(0,t.jsx)("h1",{className:"text-3xl p-4 text-white md:text-5xl font-bold ",children:u}),(0,t.jsx)("div",{className:"".concat(b," w-full h-16 flex mt-auto mb-0 p-2 px-6 items-center "),children:(0,t.jsx)("h2",{className:"text-2xl text-white font-semibold",children:i})})]})})})},n=a(3632),b=a(8076);let{Dragger:c}=b.default;var v=e=>{let{style:l,aspectRatio:a,width:s,background:u,title:o,font:i}=e,[b,v]=(0,r.useState)();return(0,t.jsx)("div",{className:"bg-white",children:(0,t.jsxs)("div",{className:"overflow-y-hidden flex flex-col px-4 pt-4 mx-auto",style:{background:u,width:"".concat(s,"px"),aspectRatio:a,...l},children:[(0,t.jsx)("h1",{className:"".concat(i," text-2xl md:text-3xl p-10 text-white font-bold text-center"),children:o}),(0,t.jsxs)("div",{className:"w-10/12 group mx-auto mt-auto mb-0 shadow-lg flex flex-col bg-white rounded-t-xl border-white",children:[(0,t.jsxs)("div",{className:"bg-gray-800 h-8 w-full p-2 flex items-center rounded-t-xl",children:[(0,t.jsx)("div",{className:"bg-red-400 h-3 w-3 rounded-full mx-1"}),(0,t.jsx)("div",{className:"bg-yellow-400 h-3 w-3 rounded-full mx-1"}),(0,t.jsx)("div",{className:"bg-green-400 h-3 w-3 rounded-full mx-1"})]}),b?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:b,className:"object-cover w-full h-full",alt:"preview"}),(0,t.jsx)("button",{onClick:()=>v(""),className:"ml-auto mr-4 cursor-pointer",children:(0,t.jsx)("svg",{className:"group-hover:inline-block absolute top-4 right-4 bg-gray-500 hidden w-8 h-8 p-2 text-white rounded-full z-10",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}):(0,t.jsx)("div",{className:"p-20 py-28 bg-white relative w-full h-full ",children:(0,t.jsxs)(c,{onChange:e=>{v(URL.createObjectURL(e.file.originFileObj))},className:"w-full h-full absolute top-0 left-0",showUploadList:!1,children:[(0,t.jsx)(n.Z,{style:{fontSize:48}}),(0,t.jsx)("div",{className:"mt-2",children:"རིà¼à½à½¼à¼à½ à½à½²à½¢à¼à½ à½à¾²à½´à½à¼à½ à½à½ºà½à¼à½à¾±à½¼à½¦à¼"})]})})]})]})})};let{Dragger:d}=b.default;var m=e=>{let{style:l,borderRadius:a,aspectRatio:u,width:o,title:i,author:b,font:c,icon:v,customIcon:m,background:h}=e,[p,g]=(0,r.useState)();return(0,t.jsx)("div",{className:"bg-white",children:(0,t.jsx)("div",{className:" overflow-y-hidden flex flex-col mx-auto ",style:{background:h,width:"".concat(o,"px"),aspectRatio:u,...l},children:(0,t.jsxs)("div",{style:{borderRadius:a},className:"flex flex-row items-center bg-white rounded justify-center m-4 h-full ",children:[(0,t.jsx)("div",{style:{borderRadius:a},className:"h-full w-1/2 bg-white",children:(0,t.jsxs)("div",{className:"".concat(c," px-12 justify-center text-left h-full p-4 flex flex-col"),children:[(0,t.jsx)("h1",{className:" text-4xl font-bold text-gray-800",children:i}),(0,t.jsxs)("div",{className:"flex items-center mt-10 text-left",children:[m?(0,t.jsx)("div",{className:" ",children:(0,t.jsx)(s.default,{src:m,alt:"img",className:"w-12 h-12 mr-2 rounded-full bg-white border border-white"})}):(0,t.jsx)("div",{className:"mr-2 items-center justify-center flex",children:(0,t.jsx)("i",{className:"devicon-".concat(v,"-original dev-icon text-3xl")})}),(0,t.jsx)("h2",{className:"text-xl font-semibold text-left ",children:b})]})]})}),(0,t.jsx)("div",{style:{borderRadius:a},className:"w-1/2 h-full",children:p?(0,t.jsxs)("div",{style:{borderRadius:a},className:"relative w-full h-full",children:[(0,t.jsx)("img",{style:{borderTopRightRadius:a,borderBottomRightRadius:a},src:p,className:"object-cover w-full h-full",alt:"preview"}),(0,t.jsx)("button",{onClick:()=>g(""),className:"ml-auto mr-4 cursor-pointer",children:(0,t.jsx)("svg",{className:"group-hover:inline-block absolute top-4 right-4 bg-gray-500 hidden w-8 h-8 p-2 text-white rounded-full z-10",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}):(0,t.jsx)("div",{style:{borderRadius:a},className:"p-20 py-28 bg-white relative w-full h-full ",children:(0,t.jsxs)(d,{style:{borderTopRightRadius:a,borderBottomRightRadius:a},onChange:e=>{g(URL.createObjectURL(e.file.originFileObj))},showUploadList:!1,className:"w-full h-full absolute top-0 left-0",children:[(0,t.jsx)(n.Z,{style:{fontSize:48}}),(0,t.jsx)("div",{className:"mt-2",children:"རིà¼à½à½¼à¼à½ à½à½²à½¢à¼à½ à½à¾²à½´à½à¼à½ à½à½ºà½à¼à½à¾±à½¼à½¦à¼"})]})})})]})})})};let{Dragger:h}=b.default;var p=e=>{let{style:l,width:a,aspectRatio:s,background:u,title:o,font:i}=e,[b,c]=(0,r.useState)();return(0,t.jsx)("div",{className:"bg-white",children:(0,t.jsxs)("div",{className:"overflow-y-hidden flex flex-row items-center justify-center px-8 pt-4 mx-auto",style:{background:u,width:"".concat(a,"px"),aspectRatio:s,...l},children:[(0,t.jsx)("h1",{className:"".concat(i," text-2xl w-1/2 md:text-4xl px-4 text-white font-bold text-left"),children:o}),(0,t.jsxs)("div",{className:"w-5/12 m-4 mt-10 group mx-auto h-full shadow-lg flex flex-col bg-white border-t-8 border-x-8 border-gray-800 rounded-t-3xl",children:[(0,t.jsx)("div",{className:"bg-gray-800 h-8 w-full p-2 pb-3 flex items-center rounded-t",children:(0,t.jsxs)("div",{className:"flex mx-auto items-center",children:[(0,t.jsx)("div",{className:"bg-white h-3 w-3 rounded-full mx-1"}),(0,t.jsx)("div",{className:"bg-white h-2 w-20 rounded-full mx-1"})]})}),b?(0,t.jsxs)("div",{className:"relative h-full",children:[(0,t.jsx)("img",{src:b&&b,className:"object-cover rounded -translate-y-1 h-full",alt:"preview"}),(0,t.jsx)("button",{onClick:()=>c(""),className:"ml-auto mr-4 cursor-pointer",children:(0,t.jsx)("svg",{className:"group-hover:inline-block absolute top-4 right-2 bg-gray-500 hidden w-8 h-8 p-2 text-white rounded-full z-10",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}):(0,t.jsx)("div",{className:"bg-white relative w-full h-full ",children:(0,t.jsxs)(h,{onChange:e=>{c(URL.createObjectURL(e.file.originFileObj))},className:"w-full h-full absolute top-0 left-0",showUploadList:!1,children:[(0,t.jsx)(n.Z,{style:{fontSize:48}}),(0,t.jsx)("div",{className:"mt-2",children:"རིà¼à½à½¼à¼à½ à½à½²à½¢à¼à½ à½à¾²à½´à½à¼à½ à½à½ºà½à¼à½à¾±à½¼à½¦à¼"})]})})]})]})})},g=a(9099);let x={title:"འà½à½²à½¢à¼à½à¼à½à¾±à½à¼à½à½¦à¾à½¼à½à¼à½¢à½¼à½à½¦à¼",author:"འà½à½²à½¢à¼à½¢à¾©à½¼à½à¼à½à¼à½à½¼à½ ིà¼à½à½²à½à¼à½à½¦à¾à½¼à½à¼à½¢à½¼à½à½¦à¼",theme:"basic",icon:"react",customIcon:"",font:"font-sans",background:{type:"color",value:"linear-gradient(135deg, rgb(181, 21, 59) 0%, rgb(235, 194, 47) 100%)"},borderRadius:"10",width:"600",ratio:"1:1",aspectRatio:"16/9"},f=(0,g.Ue)(e=>({...x}));var j=function(){let e=f(),l=(0,r.useMemo)(()=>
1{switch(e.background.type){case"wallpaper":return"url('/images/wallpapers/".concat(e.background.value,".jpg') center center / auto 100%");case"custom":return"url(".concat(e.background.value,") center center / auto 100%");case"color":if("string"==typeof e.background.value)return e.background.value;return"";default:return""}},[e.background]),a=(0,r.useMemo)(()=>{let{type:l,value:a}=e.background;return"color"===l&&"object"==typeof a?e.background.value:{}},[e.background]),s=(0,r.useMemo)(()=>e.title.split("\n").map((e,l)=>(0,t.jsxs)(r.Fragment,{children:[e,(0,t.jsx)("br",{})]},l)),[e.title]),n=(0,r.useMemo)(()=>(e.borderRadius||0)+"px",[e.borderRadius]);return(r=>{switch(r){case"basic":default:return(0,t.jsx)(u,{...e,style:a,title:s,background:l,borderRadius:n});case"modern":return(0,t.jsx)(o,{...e,style:a,title:s,background:l,borderRadius:n});case"outline":return(0,t.jsx)(i,{...e,style:a,title:s,background:l,borderRadius:n});case"preview":return(0,t.jsx)(v,{...e,style:a,title:s,background:l,borderRadius:n});case"stylish":return(0,t.jsx)(m,{...e,style:a,title:s,background:l,borderRadius:n});case"mobile":return(0,t.jsx)(p,{...e,style:a,title:s,background:l,borderRadius:n})}})(e.theme)},w=a(8556),y=a(965),k=a(3118),N=a(2611),R=a(1071),q=a(8709),z=a(5057),C=a(9938),S=a(1518),Z=a(6511),L=a(7783),U=a(8358),_=a(7138);let I=[{label:"threedsmax",value:"threedsmax"},{label:"aarch64",value:"aarch64"},{label:"adonisjs",value:"adonisjs"},{label:"aftereffects",value:"aftereffects"},{label:"akka",value:"akka"},{label:"algolia",value:"algolia"},{label:"alpinejs",value:"alpinejs"},{label:"amazonwebservices",value:"amazonwebservices"},{label:"anaconda",value:"anaconda"},{label:"android",value:"android"},{label:"androidstudio",value:"androidstudio"},{label:"angular",value:"angular"},{label:"angularjs",value:"angularjs"},{label:"angularmaterial",value:"angularmaterial"},{label:"ansible",value:"ansible"},{label:"antdesign",value:"antdesign"},{label:"apache",value:"apache"},{label:"apacheairflow",value:"apacheairflow"},{label:"apachekafka",value:"apachekafka"},{label:"apachespark",value:"apachespark"},{label:"apl",value:"apl"},{label:"appcelerator",value:"appcelerator"},{label:"apple",value:"apple"},{label:"appwrite",value:"appwrite"},{label:"archlinux",value:"archlinux"},{label:"arduino",value:"arduino"},{label:"argocd",value:"argocd"},{label:"astro",value:"astro"},{label:"atom",value:"atom"},{label:"awk",value:"awk"},{label:"axios",value:"axios"},{label:"azure",value:"azure"},{label:"azuredevops",value:"azuredevops"},{label:"azuresqldatabase",value:"azuresqldatabase"},{label:"babel",value:"babel"},{label:"backbonejs",value:"backbonejs"},{label:"ballerina",value:"ballerina"},{label:"bamboo",value:"bamboo"},{label:"bash",value:"bash"},{label:"beats",value:"beats"},{label:"behance",value:"behance"},{label:"bitbucket",value:"bitbucket"},{label:"blazor",value:"blazor"},{label:"blender",value:"blender"},{label:"bootstrap",value:"bootstrap"},{label:"bower",value:"bower"},{label:"browserstack",value:"browserstack"},{label:"bulma",value:"bulma"},{label:"bun",value:"bun"},{label:"c",value:"c"},{label:"cairo",value:"cairo"},{label:"cakephp",value:"cakephp"},{label:"canva",value:"canva"},{label:"capacitor",value:"capacitor"},{label:"carbon",value:"carbon"},{label:"cassandra",value:"cassandra"},{label:"centos",value:"centos"},{label:"ceylon",value:"ceylon"},{label:"chrome",value:"chrome"},{label:"circleci",value:"circleci"},{label:"clarity",value:"clarity"},{label:"clion",value:"clion"},{label:"clojure",value:"clojure"},{label:"clojurescript",value:"clojurescript"},{label:"cloudflare",value:"cloudflare"},{label:"cloudflareworkers",value:"cloudflareworkers"},{label:"cmake",value:"cmake"},{label:"codeac",value:"codeac"},{label:"codecov",value:"codecov"},{label:"codeigniter",value:"codeigniter"},{label:"codepen",value:"codepen"},{label:"coffeescript",value:"coffeescript"},{label:"composer",value:"composer"},{label:"confluence",value:"confluence"},{label:"consul",value:"consul"},{label:"contao",value:"contao"},{label:"corejs",value:"corejs"},{label:"cosmosdb",value:"cosmosdb"},{label:"couchbase",value:"couchbase"},{label:"couchdb",value:"couchdb"},{label:"cplusplus",value:"cplusplus"},{label:"crystal",value:"crystal"},{label:"csharp",value:"csharp"},{label:"css3",value:"css3"},{label:"cucumber",value:"cucumber"},{label:"cypressio",value:"cypressio"},{label:"d3js",value:"d3js"},{label:"dart",value:"dart"},{label:"datagrip",value:"datagrip"},{label:"dataspell",value:"dataspell"},{label:"dbeaver",value:"dbeaver"},{label:"debian",value:"debian"},{label:"denojs",value:"denojs"},{label:"devicon",value:"devicon"},{label:"digitalocean",value:"digitalocean"},{label:"discordjs",value:"discordjs"},{label:"django",value:"django"},{label:"djangorest",value:"djangorest"},{label:"docker",value:"docker"},{label:"doctrine",value:"doctrine"},{label:"dot-net",value:"dot-net"},{label:"dotnetcore",value:"dotnetcore"},{label:"dreamweaver",value:"dreamweaver"},{label:"dropwizard",value:"dropwizard"},{label:"drupal",value:"drupal"},{label:"dynamodb",value:"dynamodb"},{label:"eclipse",value:"eclipse"},{label:"ecto",value:"ecto"},{label:"elasticsearch",value:"elasticsearch"},{label:"electron",value:"electron"},{label:"eleventy",value:"eleventy"},{label:"elixir",value:"elixir"},{label:"elm",value:"elm"},{label:"emacs",value:"emacs"},{label:"embeddedc",value:"embeddedc"},{label:"ember",value:"ember"},{label:"envoy",value:"envoy"},{label:"erlang",value:"erlang"},{label:"eslint",value:"eslint"},{label:"express",value:"express"},{label:"facebook",value:"facebook"},{label:"fastapi",value:"fastapi"},{label:"fastify",value:"fastify"},{label:"faunadb",value:"faunadb"},{label:"feathersjs",value:"feathersjs"},{label:"fedora",value:"fedora"},{label:"figma",value:"figma"},{label:"filezilla",value:"filezilla"},{label:"firebase",value:"firebase"},{label:"firefox",value:"firefox"},{label:"flask",value:"flask"},{label:"flutter",value:"flutter"},{label:"fortran",value:"fortran"},{label:"foundation",value:"foundation"},{label:"framermotion",value:"framermotion"},{label:"framework7",value:"framework7"},{label:"fsharp",value:"fsharp"},{label:"gatling",value:"gatling"},{label:"gatsby",value:"gatsby"},{label:"gazebo",value:"gazebo"},{label:"gcc",value:"gcc"},{label:"gentoo",value:"gentoo"},{label:"ghost",value:"ghost"},{label:"gimp",value:"gimp"},{label:"git",value:"git"},{label:"gitbook",value:"gitbook"},{label:"github",value:"github"},{label:"githubactions",value:"githubactions"},{label:"githubcodespaces",value:"githubcodespaces"},{label:"gitlab",value:"gitlab"},{label:"gitpod",value:"gitpod"},{label:"gitter",value:"gitter"},{label:"go",value:"go"},{label:"godot",value:"godot"},{label:"goland",value:"goland"},{label:"google",value:"google"},{label:"googlecloud",value:"googlecloud"},{label:"gradle",value:"gradle"},{label:"grafana",value:"grafana"},{label:"grails",value:"grails"},{label:"graphql",value:"graphql"},{label:"groovy",value:"groovy"},{label:"grpc",value:"grpc"},{label:"grunt",value:"grunt"},{label:"gulp",value:"gulp"},{label:"hadoop",value:"hadoop"},{label:"handlebars",value:"handlebars"},{label:"hardhat",value:"hardhat"},{label:"harvester",value:"harvester"},{label:"haskell",value:"haskell"},{label:"haxe",value:"haxe"},{label:"helm",value:"helm"},{label:"heroku",value:"heroku"},{label:"hibernate",value:"hibernate"},{label:"homebrew",value:"homebrew"},{label:"html5",value:"html5"},{label:"hugo",value:"hugo"},{label:"ie10",value:"ie10"},{label:"ifttt",value:"ifttt"},{label:"illustrator",value:"illustrator"},{label:"influxdb",value:"influxdb"},{label:"inkscape",value:"inkscape"},{label:"insomnia",value:"insomnia"},{label:"intellij",value:"intellij"},{label:"ionic",value:"ionic"},{label:"jaegertracing",value:"jaegertracing"},{label:"jamstack",value:"jamstack"},{label:"jasmine",value:"jasmine"},{label:"java",value:"java"},{label:"javascript",value:"javascript"},{label:"jeet",value:"jeet"},{label:"jekyll",value:"jekyll"},{label:"jenkins",value:"jenkins"},{label:"jest",value:"jest"},{label:"jetbrains",value:"jetbrains"},{label:"jetpackcompose",value:"jetpackcompose"},{label:"jira",value:"jira"},{label:"jiraalign",value:"jiraalign"},{label:"jquery",value:"jquery"},{label:"json",value:"json"},{label:"jule",value:"jule"},{label:"julia",value:"julia"},{label:"junit",value:"junit"},{label:"jupyter",value:"jupyter"},{label:"k3os",value:"k3os"},{label:"k3s",value:"k3s"},{label:"k6",value:"k6"},{label:"kaggle",value:"kaggle"},{label:"karatelabs",value:"karatelabs"},{label:"karma",value:"karma"},{label:"kdeneon",value:"kdeneon"},{label:"keras",value:"keras"},{label:"kibana",value:"kibana"},{label:"knexjs",value:"knexjs"},{label:"knockout",value:"knockout"},{label:"kotlin",value:"kotlin"},{label:"krakenjs",value:"krakenjs"},{label:"ktor",value:"ktor"},{label:"kubernetes",value:"kubernetes"},{label:"labview",value:"labview"},{label:"laravel",value:"laravel"},{label:"latex",value:"latex"},{label:"less",value:"less"},{label:"linkedin",value:"linkedin"},{label:"linux",value:"linux"},{label:"liquibase",value:"liquibase"},{label:"livewire",value:"livewire"},{label:"llvm",value:"llvm"},{label:"lodash",value:"lodash"},{label:"logstash",value:"logstash"},{label:"lua",value:"lua"},{label:"lumen",value:"lumen"},{label:"magento",value:"magento"},{label:"mariadb",value:"mariadb"},{label:"markdown",value:"markdown"},{label:"materializecss",value:"materializecss"},{label:"materialui",value:"materialui"},{label:"matlab",value:"matlab"},{label:"matplotlib",value:"matplotlib"},{label:"maven",value:"maven"},{label:"maya",value:"maya"},{label:"meteor",value:"meteor"},{label:"microsoftsqlserver",value:"microsoftsqlserver"},{label:"minitab",value:"minitab"},{label:"mithril",value:"mithril"},{label:"mobx",value:"mobx"},{label:"mocha",value:"mocha"},{label:"modx",value:"modx"},{label:"moleculer",value:"moleculer"},{label:"mongodb",value:"mongodb"},{label:"mongoose",value:"mongoose"},{label:"moodle",value:"moodle"},{label:"msdos",value:"msdos"},{label:"mysql",value:"mysql"},{label:"nano",value:"nano"},{label:"neo4j",value:"neo4j"},{label:"neovim",value:"neovim"},{label:"nestjs",value:"nestjs"},{label:"netlify",value:"netlify"},{label:"networkx",value:"networkx"},{label:"nextjs",value:"nextjs"},{label:"nginx",value:"nginx"},{label:"ngrx",value:"ngrx"},{label:"nhibernate",value:"nhibernate"},{label:"nim",value:"nim"},{label:"nimble",value:"nimble"},{label:"nixos",value:"nixos"},{label:"nodejs",value:"nodejs"},{label:"nodemon",value:"nodemon"},{label:"nodewebkit",value:"nodewebkit"},{label:"nomad",value:"nomad"},{label:"norg",value:"norg"},{label:"notion",value:"notion"},{label:"npm",value:"npm"},{label:"nuget",value:"nuget"},{label:"numpy",value:"numpy"},{label:"nuxtjs",value:"nuxtjs"},{label:"oauth",value:"oauth"},{label:"objectivec",value:"objectivec"},{label:"ocaml",value:"ocaml"},{label:"ohmyzsh",value:"ohmyzsh"},{label:"okta",value:"okta"},{label:"openal",value:"openal"},{label:"openapi",value:"openapi"},{label:"opencl",value:"opencl"},{label:"opencv",value:"opencv"},{label:"opengl",value:"opengl"},{label:"openstack",value:"openstack"},{label:"opensuse",value:"opensuse"},{label:"opentelemetry",value:"opentelemetry"},{label:"opera",value:"opera"},{label:"oracle",value:"oracle"},{label:"ory",value:"ory"},{label:"p5js",value:"p5js"},{label:"packer",value:"packer"},{label:"pandas",value:"pandas"},{label:"perl",value:"perl"},{label:"pfsense",value:"pfsense"},{label:"phalcon",value:"phalcon"},{label:"phoenix",value:"phoenix"},{label:"photonengine",value:"photonengine"},{label:"photoshop",value:"photoshop"},{label:"php",value:"php"},{label:"phpstorm",value:"phpstorm"},{label:"playwright",value:"playwright"},{label:"plotly",value:"plotly"},{label:"pnpm",value:"pnpm"},{label:"podman",value:"podman"},{label:"poetry",value:"poetry"},{label:"polygon",value:"polygon"},{label:"portainer",value:"portainer"},{label:"postcss",value:"postcss"},{label:"postgresql",value:"postgresql"},{label:"postman",value:"postman"},{label:"powershell",value:"powershell"},{label:"premierepro",value:"premierepro"},{label:"prisma",value:"prisma"},{label:"processing",value:"processing"},{label:"prolog",value:"prolog"},{label:"prometheus",value:"prometheus"},{label:"protractor",value:"protractor"},{label:"pulsar",value:"pulsar"},{label:"pulumi",value:"pulumi"},{label:"puppeteer",value:"puppeteer"},{label:"purescript",value:"purescript"},{label:"putty",value:"putty"},{label:"pycharm",value:"pycharm"},{label:"pypi",value:"pypi"},{label:"pyscript",value:"pyscript"},{label:"pytest",value:"pytest"},{label:"python",value:"python"},{label:"pytorch",value:"pytorch"},{label:"qodana",value:"qodana"},{label:"qt",value:"qt"},{label:"quarkus",value:"quarkus"},{label:"quasar",value:"quasar"},{label:"qwik",value:"qwik"},{label:"r",value:"r"},{label:"rabbitmq",value:"rabbitmq"},{label:"rails",value:"rails"},{label:"railway",value:"railway"},{label:"rancher",value:"rancher"},{label:"raspberrypi",value:"raspberrypi"},{label:"reach",value:"reach"},{label:"react",value:"react"},{label:"reactbootstrap",value:"reactbootstrap"},{label:"reactnavigation",value:"reactnavigation"},{label:"readthedocs",value:"readthedocs"},{label:"realm",value:"realm"},{label:"rect",value:"rect"},{label:"redhat",value:"redhat"},{label:"redis",value:"redis"},{label:"redux",value:"redux"},{label:"renpy",value:"renpy"},{label:"replit",value:"replit"},{label:"rider",value:"rider"},{label:"rocksdb",value:"rocksdb"},{label:"rockylinux",value:"rockylinux"},{label:"rollup",value:"rollup"},{label:"ros",value:"ros"},{label:"rspec",value:"rspec"},{label:"rstudio",value:"rstudio"},{label:"ruby",value:"ruby"},{label:"rubymine",value:"rubymine"},{label:"rust",value:"rust"},{label:"rxjs",value:"rxjs"},{label:"safari",value:"safari"},{label:"salesforce",value:"salesforce"},{label:"sanity",value:"sanity"},{label:"sass",value:"sass"},{label:"scala",value:"scala"},{label:"scalingo",value:"scalingo"},{label:"scikitlearn",value:"scikitlearn"},{label:"sdl",value:"sdl"},{label:"selenium",value:"selenium"},{label:"sema",value:"sema"},{label:"sentry",value:"sentry"},{label:"reactrouter",value:"reactrouter"},{label:"sequelize",value:"sequelize"},{label:"shopware",value:"shopware"},{label:"shotgrid",value:"shotgrid"},{label:"sketch",value:"sketch"},{label:"slack",value:"slack"},{label:"socketio",value:"socketio"},{label:"solidity",value:"solidity"},{label:"solidjs",value:"solidjs"},{label:"sonarqube",value:"sonarqube"},{label:"sourcetree",value:"sourcetree"},{label:"spack",value:"spack"},{label:"splunk",value:"splunk"},{label:"spring",value:"spring"},{label:"spss",value:"spss"},{label:"spyder",value:"spyder"},{label:"sqlalchemy",value:"sqlalchemy"},{label:"sqldeveloper",value:"sqldeveloper"},{label:"sqlite",value:"sqlite"},{label:"ssh",value:"ssh"},{label:"stackoverflow",value:"stackoverflow"},{label:"stata",value:"stata"},{label:"storybook",value:"storybook"},{label:"streamlit",value:"streamlit"},{label:"stylus",value:"stylus"},{label:"subversion",value:"subversion"},{label:"supabase",value:"supabase"},{label:"svelte",value:"svelte"},{label:"swagger",value:"swagger"},{label:"swift",value:"swift"},{label:"swiper",value:"swiper"},{label:"symfony",value:"symfony"},{label:"tailwindcss",value:"tailwindcss"},{label:"tauri",value:"tauri"},{label:"tensorflow",value:"tensorflow"},{label:"terraform",value:"terraform"},{label:"tex",value:"tex"},{label:"thealgorithms",value:"thealgorithms"},{label:"threejs",value:"threejs"},{label:"titaniumsdk",value:"titaniumsdk"},{label:"tomcat",value:"tomcat"},{label:"tortoisegit",value:"tortoisegit"},{label:"towergit",value:"towergit"},{label:"traefikmesh",value:"traefikmesh"},{label:"traefikproxy",value:"traefikproxy"},{label:"travis",value:"travis"},{label:"trello",value:"trello"},{label:"trpc",value:"trpc"},{label:"twitter",value:"twitter"},{label:"typescript",value:"typescript"},{label:"typo3",value:"typo3"},{label:"ubuntu",value:"ubuntu"},{label:"unifiedmodelinglanguage",value:"unifiedmodelinglanguage"},{label:"unity",value:"unity"},{label:"unix",value:"unix"},{label:"unrealengine",value:"unrealengine"},{label:"uwsgi",value:"uwsgi"},{label:"v8",value:"v8"},{label:"vagrant",value:"vagrant"},{label:"vala",value:"vala"},{label:"vault",value:"vault"},{label:"vercel",value:"vercel"},{label:"vertx",value:"vertx"},{label:"vim",value:"vim"},{label:"visualbasic",value
1:"visualbasic"},{label:"visualstudio",value:"visualstudio"},{label:"vite",value:"vite"},{label:"vitejs",value:"vitejs"},{label:"vitess",value:"vitess"},{label:"vitest",value:"vitest"},{label:"vscode",value:"vscode"},{label:"vsphere",value:"vsphere"},{label:"vuejs",value:"vuejs"},{label:"vuestorefront",value:"vuestorefront"},{label:"vuetify",value:"vuetify"},{label:"vyper",value:"vyper"},{label:"wasm",value:"wasm"},{label:"webflow",value:"webflow"},{label:"weblate",value:"weblate"},{label:"webpack",value:"webpack"},{label:"webstorm",value:"webstorm"},{label:"windows11",value:"windows11"},{label:"windows8",value:"windows8"},{label:"woocommerce",value:"woocommerce"},{label:"wordpress",value:"wordpress"},{label:"xamarin",value:"xamarin"},{label:"xcode",value:"xcode"},{label:"xd",value:"xd"},{label:"xml",value:"xml"},{label:"yaml",value:"yaml"},{label:"yarn",value:"yarn"},{label:"yii",value:"yii"},{label:"yugabytedb",value:"yugabytedb"},{label:"yunohost",value:"yunohost"},{label:"zend",value:"zend"},{label:"zig",value:"zig"}],O=[{label:"16:9",desc:"16:9",value:"16/9"},{label:"9:16",desc:"9:16",value:"9/16"},{label:"1:1",desc:"1:1",value:"1/1"},{label:"2:1",desc:"2:1",value:"2/1"},{label:"4:5",desc:"4:5",value:"4/5"},{label:"2.35:1",desc:"སà¾à½à¼à½ à½à¾²à½²à½à¼à½¦à¾¤à¾±à½²à¼à½¦à¾à½ºà½à½¦à¼à½à¾±à½²à¼à½¢à¾£à½à¼à½à¼",value:"2.35/1"}],E=[{label:"theme1",value:"basic"},{label:"theme2",value:"modern"},{label:"theme5",value:"outline"},{label:"theme4",value:"preview"},{label:"theme3",value:"stylish"},{label:"theme6",value:"mobile"}],T=[{label:"gradation-1",value:"linear-gradient(135deg, rgb(181, 21, 59) 0%, rgb(235, 194, 47) 100%)"},{label:"gradation-2",value:"linear-gradient(135deg, rgb(21, 126, 25) 0%, rgb(178, 202, 28) 100%)"},{label:"gradation-3",value:"linear-gradient(135deg, rgb(40, 68, 217) 0%, rgb(21, 212, 201) 100%)"},{label:"gradation-4",value:"linear-gradient(310deg, rgb(214, 233, 255), rgb(214, 229, 255), rgb(209, 214, 255), rgb(221, 209, 255), rgb(243, 209, 255), rgb(255, 204, 245), rgb(255, 204, 223), rgb(255, 200, 199), rgb(255, 216, 199), rgb(255, 221, 199))"},{label:"gradation-5",value:"linear-gradient(135deg, rgb(26, 41, 128) 0%, rgb(38, 208, 206) 100%)"},{label:"gradation-6",value:"linear-gradient(135deg, rgb(245, 175, 25) 0%, rgb(241, 39, 17) 100%)"},{label:"gradation-7",value:"linear-gradient(135deg, rgb(5, 117, 230) 0%, rgb(0, 242, 96) 100%)"},{label:"gradation-8",value:"linear-gradient(135deg, rgb(138, 35, 135) 0%, rgb(242, 113, 33) 100%)"},{label:"gradation-9",value:"linear-gradient(160deg, rgb(204, 251, 252), rgb(197, 234, 254), rgb(189, 211, 255))"},{label:"gradation-10",value:"linear-gradient(135deg, rgb(255, 95, 109) 0%, rgb(255, 195, 113) 100%)"}],F=[{label:"macos-big-sur",value:"macos-big-sur"},{label:"macos-big-sur-colorful",value:"macos-big-sur-colorful"},{label:"macos-big-sur-colorful-dark",value:"macos-big-sur-colorful-dark"},{label:"macos-big-sur-dark",value:"macos-big-sur-dark"},{label:"macos-monterey",value:"macos-monterey"},{label:"macos-monterey-dark",value:"macos-monterey-dark"},{label:"macos-sonoma",value:"macos-sonoma"},{label:"macos-sonoma-dark",value:"macos-sonoma-dark"},{label:"macos-ventura",value:"macos-ventura"},{label:"macos-ventura-dark",value:"macos-ventura-dark"}],M=[{key:"png,1",label:"PNG x1 (é»è®¤)"},{key:"png,2",label:"PNG x2"},{key:"jpeg,1",label:"JPEG x1"},{key:"jpeg,2",label:"JPEG x2"}];var P=a(808),B=a(8087);let{Group:W,Button:G}=q.default,{Dragger:H}=b.default,{TextArea:V}=y.default,D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L.Ti;return Object.entries(e).map(e=>{let[l,a]=e;return{label:l,colors:a}})};var A=e=>{let{value:l,onChange:a}=e,s=(0,B.useTranslations)("Editor"),[u,o]=(0,r.useState)(null==l?void 0:l.value),[i,b]=(0,r.useState)((null==l?void 0:l.type)||"color"),[c,v]=(0,r.useState)("");(0,r.useEffect)(()=>{l&&(o(l.value),b(l.type))},[l]);let d=e=>{o(e),null==a||a({type:i,value:e})},m=(0,r.useMemo)(()=>"wallpaper"===i?F:T,[i]),h=[{label:s("gradient"),value:"color"},{label:s("wallpaper"),value:"wallpaper"},{label:s("import"),value:"custom"}],{token:p}=z.Z.useToken(),g=D({primary:(0,L.R_)(p.colorPrimary),red:L.Q6,green:L.ek}),x=(0,t.jsxs)("div",{className:"max-w-80",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(_.default,{href:"https://uigradients.c
1om/",target:"_blank",children:"uiGradients"})," ","ï¼à½¦à¾à½²à½à¼à½£à¼à½à½à½ à¼à½à½ ིà¼à½¢à½²à½à¼à½ à½à¾±à½´à½¢à¼à½à½à½¼à½à¼ CSS à½à½à½¼à¼à½£à¾à¼à½¦à¾à¾²à½²à½à¼à½ à½à½¼à½à¼à½à½¢à¼à½ à½à¾²à¼à½à½¤à½´à½¦à¼à½à¾±à½¼à½¦à¼"]}),(0,t.jsxs)("div",{className:"mt-2",children:[(0,t.jsx)(_.default,{href:"https://cssgradient.io/",target:"_blank",children:"cssgradient.io"}),"ï¼ à½à¾²à¼à½à½¼à½à¼à½£à½à¼à½à½¦à¼à½à½ºà½à¼à½¦à¾¤à¾±à½à¼à½à½ºà¼à½¢à½²à½à¼à½ à½à¾±à½´à½¢à¼à½à½à½¼à½à¼à½à½à½¼à¼à½à½à½¼à¼"]}),(0,t.jsx)(V,{value:c,onChange:e=>{v(e.target.value)},className:"mt-4",rows:6,placeholder:"à½à½à½¼à¼à½£à¾à¼à½¦à¾à¾²à½²à½à¼à½ à½à½¼à½à¼à½¦à¾¦à¾±à½¢à¼à½à½¢à¾à½ºà¼"})]});return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)(W,{optionType:"button",value:i,onChange:e=>{b(e.target.value)},className:"flex text-center",children:h.map(e=>(0,t.jsx)(G,{className:"w-full",value:e.value,children:e.label},e.value))}),"color"===i?(0,t.jsxs)("div",{className:"mt-4 flex justify-between items-center space-x-4",children:[(0,t.jsx)(C.Z,{presets:g,className:"flex-auto",onChange:e=>{d(e.toRgbString())},showText:!0}),(0,t.jsx)(S.Z,{description:x,title:"རà½à¼à½ à½à½´à½£à¼à½à¾±à½²à¼à½à½à½¼à¼à½£à¾à¼à½¦à¾à¾²à½²à½à¼à½ à½à½¼à½à¼",trigger:"click",okText:"à½à½à½à¼à½ à½à½ºà½£à¼",cancelText:"à½à¾±à½²à½¢à¼à½ à½à½ºà½à¼",onConfirm:()=>{let e=(0,P.Z)(c);null==a||a({type:"color",value:e})},children:(0,t.jsx)(N.ZP,{className:"flex-auto",type:"primary",icon:(0,t.jsx)(U.Z,{}),children:"སà¾à¾²à½²à½à¼à½ à½à½¼à½à¼"})})]}):null,"custom"!==i?(0,t.jsx)(Z.Z,{grid:{column:5},className:"mt-4 gap-1",dataSource:m,renderItem:e=>(0,t.jsxs)("div",{style:{opacity:u===e.value?1:void 0,border:u===e.value?"2px solid #f18446":void 0},className:"p-1 rounded-md border-2 border-transparent box-border opacity-65 hover:opacity-100 cursor-pointer",onClick:()=>d(e.value),children:["wallpaper"===i?(0,t.jsx)("div",{style:{backgroundImage:"url(/images/wallpapers/".concat(e.value,".jpg)")},className:"rounded-md bg-cover bg-center bg-no-repeat min-h-[44px]"}):null,"color"===i?(0,t.jsx)("div",{className:"rounded-md w-full h-full min-h-[44px] opacity-80 hover:opacity-100 cursor-pointer",style:{background:e.value}}):null]})}):(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsxs)(H,{onChange:e=>{let l=URL.createObjectURL(e.file.originFileObj);null==a||a({type:i,value:l})},showUploadList:!1,children:[(0,t.jsx)(n.Z,{style:{fontSize:48}}),(0,t.jsx)("div",{className:"mt-2",children:"རིà¼à½à½¼à¼à½ à½à½²à½¢à¼à½ à½à¾²à½´à½à¼à½ à½à½ºà½à¼à½à¾±à½¼à½¦à¼"})]})})]})})},J=e=>{let{value:l,onChange:a}=e,[s,u]=(0,r.useState)(l);(0,r.useEffect)(()=>{u(l)},[l]);let o=e=>{u(e),null==a||a(e)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(Z.Z,{grid:{column:3,md:5,lg:3},className:"gap-1",dataSource:E,renderItem:e=>(0,t.jsx)("div",{style:{border:s===e.value?"2px solid #f18446":void 0},className:"p-1 rounded-md border-2 border-transparent box-border cursor-pointer",onClick:()=>o(e.value),children:(0,t.jsx)("div",{style:{backgroundImage:"url(/images/".concat(e.label,".webp)")},className:"rounded-md bg-cover bg-center bg-no-repeat min-h-[80px] hover:scale-105 hover:border-gray-200 duration-300 border"})})})})},Q=a(3513),K=a(9108),X=e=>{let{value:l,onChange:a,...s}=e,[u,o]=(0,r.useState)(Number(l)||0),i=e=>{o(e),null==a||a(e)};return(0,r.useEffect)(()=>{o(Number(l)||0)},[l]),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(Q.Z,{...s,onChange:i,value:u,className:"w-full mr-4"}),(0,t.jsx)(K.Z,{min:s.min,max:s.max,step:s.step,value:u,onChange:i})]})};let Y=w.Z.Item,$=y.default.TextArea,ee=(0,r.forwardRef)(function(e,l){let a=(0,B.useTranslations)("Editor"),s=f.setState,u=f(),[o]=w.Z.useForm();(0,r.useImperativeHandle)(l,()=>({setValue:e=>{null==o||o.setFieldsValue(e)}}));let i=e=>{let{children:l}=e;return(0,t.jsx)("span",{className:"text-lg text-gray-500",children:l})};return(0,t.jsxs)(w.Z,{form:o,layout:"vertical",initialValues:u,onValuesChange:(e,l)=>{var a;(null===(a=e.customIcon)||void 0===a?void 0:a.file.status)==="done"?s(l=>({...l,icon:"",customIcon:URL.createObjectURL(e.customIcon.file.originFileObj)})):s(a=>({...a,...l,customIcon:e.icon?"":a.customIcon}))},className:"p-5 pb-16",children:[(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("theme")}),name:"theme",children:(0,t.jsx)(J,{})}),(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("ratio")}),name:"aspectRatio",children:(0,t.jsx)(k.Z,{options:O,optionRender:e=>(0,t.jsx)("div",{className:"flex gap-1 items-center",children:(0,t.jsxs)("div",{className:"flex flex-col leading-7",children:[(0,t.jsx)("span",{className:"font-bold",children:e.data.desc}),(0,t.jsx)("span",{children:e.data.label})]})})})}),(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("title")}),name:"title",children:(0,t.jsx)($,{rows:1,placeholder:a("title_input_placeholder"),autoSize:!0})}),!["preview","mobile"].includes(u.theme)&&(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("author")}),name:"author",children:(0,t.jsx)(y.default,{name:"author",placeholder:a("author_input_placeholder")})}),!["preview","mobile"].includes(u.theme)&&(0,t.jsx)(w.Z.Item,{label:(0,t.jsx)(i,{children:a("icon")}),children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(Y,{noStyle:!0,label:(0,t.jsx)(i,{children:a("icon")}),name:"icon",children:(0,t.jsx)(k.Z,{showSearch:!0,className:"mr-4",options:I,optionRender:e=>(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("span",{className:"mr-2",children:e.data.value}),(0,t.jsx)("div",{className:"ml-auto mr-2",children:(0,t.jsx)("i",{className:"devicon-".concat(e.data.value,"-original dev-icon text-2xl")})})]})})}),(0,t.jsx)(Y,{noStyle:!0,name:"customIcon",children:(0,t.jsx)(b.default,{showUploadList:!1,children:(0,t.jsx)(N.ZP,{icon:(0,t.jsx)(R.Z,{}),children:a("custom")})})})]})}),(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("width")}),name:"width",children:(0,t.jsx)(X,{step:1,max:1e3,min:400})}),!["preview","outline","mobile"].includes(u.theme)&&(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("rounded")}),name:"borderRadius",children:(0,t.jsx)(X,{step:1,max:100,min:0})}),(0,t.jsx)(Y,{label:(0,t.jsx)(i,{children:a("background")}),name:"background",children:(0,t.jsx)(A,{})})]})});var el=a(400),ea=a(6269),et=a(7817),er=a(6639),es=a.n(er);let eu=el.Z.Button,{Footer:eo,Sider:ei,Content:en}=ea.default;function eb(){let e=(0,B.useTranslations)("Editor"),{setState:l}=f,[a,s]=(0,r.useState)(!1),u=r.createRef(),o=(0,r.useRef)(null),i=async(e,l)=>{s(!0);let a=u.current;if(!a){s(!1);return}let t=e.replace(/^\S/,e=>e.toUpperCase()),r=es()["to".concat(t)],o=await r(a,{height:a.offsetHeight*l,width:a.offsetWidth*l,style:{transform:"scale("+l+")",transformOrigin:"top left",width:a.offsetWidth+"px",height:a.offsetHeight+"px"}}),i=document.createElement("A");i.href=o;let n="coverpen-".concat(new Date().toISOString().slice(0,10),"-x").concat(l);i.download="".concat(n,".").concat(e),document.body.appendChild(i),s(!1),i.click(),document.body.removeChild(i)},n=async()=>{let l=u.current;if(!l)return;let a=new ClipboardItem({"image/png":await es().toBlob(l,{height:l.offsetHeight,width:l.offsetWidth,style:{transformOrigin:"top left",width:l.offsetWidth+"px",height:l.offsetHeight+"px"}})});await navigator.clipboard.write([a]),et.ZP.open({message:e("copy_success"),description:e("copy_success_desc")})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(ea.default,{className:"flex flex-col-reverse lg:flex-row",children:[(0,t.jsx)(ei,{width:400,breakpoint:"lg",collapsedWidth:"100%",className:"lg:h-layout bg-white lg:border-r overflow-y-auto",children:(0,t.jsx)(ee,{ref:o})}),(0,t.jsx)(ea.default,{className:"w-full bg-white overflow-x-auto ",children:(0,t.jsx)(en,{className:"min-w-fit lg:h-layout lg:w-layout py-20 flex items-center justify-center",children:(0,t.jsx)("div",{ref:u,className:"min-w-fit",children:(0,t.jsx)(j,{})})})}),(0,t.jsxs)(eo,{className:"flex items-center justify-between bg-white h-[64px] w-full p-0 text-center fixed bottom-0 border-t-[1px] z-10",children:[(0,t.jsx)("div",{className:"lg:w-[400px] lg:ml-0 ml-4",children:(0,t.jsx)(N.ZP,{type:"primary",onClick:()=>{var e;let a={theme:x.theme,aspectRatio:x.aspectRatio,background:x.background,borderRadius:x.borderRadius,width:x.width,font:x.font};null===(e=o.current)||void 0===e||e.setValue(a),l(e=>({...e,...a}))},children:e("reset_style")})}),(0,t.jsxs)("div",{className:"flex items-center h-full float-right mr-4 justify-center",children:[(0,t.jsx)(N.ZP,{type:"primary",onClick:n,children:e("copy")}),(0,t.jsx)(eu,{type:"primary",className:"float-right ml-4",menu:{items:M,onClick:e=>i(e.key.split(",")[0],Number(e.key.split(",")[1]))},onClick:()=>i("png",1),loading:a,children:e("download")})]})]})]})})}}},function(e){e.O(0,[93,974,834,766,971,23,744],function(){return e(e.s=2678)}),_N_E=e.O()}]);
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.