PageSourceSearch

https://wavevisual.com/_next/static/chunks/pages/flow-editor-c08a8d546eaaa282.js

js wavevisual.com collected 2026-10-04 13:32:29 UTC 22,484 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9252,8489,3352],{34676:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/flow-editor",function(){return s(64084)}])},91891:function(e,t,s){"use strict";s.d(t,{u:function(){return o}});var l=s(52322);s(2784);var i=s(12524),r=s.n(i),n=s(74304);let a=!!(null===n.feconfig||void 0===n.feconfig?void 0:n.feconfig.isDEV),o=e=>{let{title:t,compact:s,narrow:i}=e;return(0,l.jsxs)("svg",{className:r()("w-auto overflow-visible cursor-pointer",i?"h-4 sm:h-5":s?"h-5 md:h-5":"h-6 md:h-7",a?"text-yellow-600":""),width:"1942",height:"328",viewBox:"0 0 1942 328",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("path",{d:"M300.444 20C300.444 11.1635 307.608 4.00002 316.444 4.00002H328.889C337.725 4.00002 344.889 11.1635 344.889 20V308C344.889 316.837 337.725 324 328.889 324H316.444C307.608 324 300.444 316.837 300.444 308V20Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M120 16C120 9.37261 125.373 4.00002 132 4.00002H152C158.627 4.00002 164 9.3726 164 16V312C164 318.627 158.627 324 152 324H132C125.373 324 120 318.627 120 312V16Z",fill:"currentColor"}),(0,l.jsx)("rect",{x:"180",y:"96",width:"44.4444",height:"136",rx:"12",fill:"currentColor"}),(0,l.jsx)("rect",{y:"104",width:"44",height:"120",rx:"12",fill:"currentColor"}),(0,l.jsx)("rect",{x:"360.889",y:"76",width:"44",height:"176",rx:"12",fill:"currentColor"}),(0,l.jsx)("rect",{x:"60",y:"74",width:"44",height:"180",rx:"12",fill:"currentColor"}),(0,l.jsx)("rect",{x:"240.444",y:"64",width:"44",height:"200",rx:"12",fill:"currentColor"}),(0,l.jsx)("rect",{x:"420.889",y:"104",width:"44",height:"120",rx:"12",fill:"currentColor"}),(0,l.jsx)("path",{d:"M546.762 228.418L586.41 60.9375H608.559L613.617 88.8281L571.371 260H547.582L546.762 228.418ZM526.391 60.9375L559.203 228.418L556.469 260H529.945L485.785 60.9375H526.391ZM648.48 227.734L680.883 60.9375H721.488L677.465 260H650.941L648.48 227.734ZM621 60.9375L660.922 229.102L659.828 260H636.039L593.52 88.6914L598.988 60.9375H621ZM816.508 226.641V160.742C816.508 156.003 815.733 151.947 814.184 148.574C812.634 145.111 810.219 142.422 806.938 140.508C803.747 138.594 799.6 137.637 794.496 137.637C790.121 137.637 786.339 138.411 783.148 139.961C779.958 141.419 777.497 143.561 775.766 146.387C774.034 149.121 773.168 152.357 773.168 156.094H733.793C733.793 149.805 735.251 143.835 738.168 138.184C741.085 132.533 745.323 127.565 750.883 123.281C756.443 118.906 763.051 115.488 770.707 113.027C778.454 110.566 787.113 109.336 796.684 109.336C808.168 109.336 818.376 111.25 827.309 115.078C836.241 118.906 843.259 124.648 848.363 132.305C853.559 139.961 856.156 149.531 856.156 161.016V224.316C856.156 232.428 856.658 239.082 857.66 244.277C858.663 249.382 860.121 253.848 862.035 257.676V260H822.25C820.336 255.99 818.878 250.977 817.875 244.961C816.964 238.854 816.508 232.747 816.508 226.641ZM821.703 169.902L821.977 192.188H799.965C794.77 192.188 790.258 192.78 786.43 193.965C782.602 195.15 779.457 196.836 776.996 199.023C774.535 201.12 772.712 203.581 771.527 206.406C770.434 209.232 769.887 212.331 769.887 215.703C769.887 219.076 770.661 222.129 772.211 224.863C773.76 227.507 775.993 229.603 778.91 231.152C781.827 232.611 785.245 233.34 789.164 233.34C795.089 233.34 800.238 232.155 804.613 229.785C808.988 227.415 812.361 224.499 814.73 221.035C817.191 217.572 818.467 214.29 818.559 211.191L828.949 227.871C827.491 231.608 825.486 235.482 822.934 239.492C820.473 243.503 817.328 247.285 813.5 250.84C809.672 254.303 805.069 257.174 799.691 259.453C794.314 261.641 787.934 262.734 780.551 262.734C771.163 262.734 762.641 260.866 754.984 257.129C747.419 253.301 741.404 248.06 736.938 241.406C732.562 234.661 730.375 227.005 730.375 218.438C730.375 210.69 731.833 203.809 734.75 197.793C737.667 191.777 741.951 186.719 747.602 182.617C753.344 178.424 760.499 175.28 769.066 173.184C777.634 170.996 787.569 169.902 798.871 169.902H821.703ZM934.633 231.289L967.445 112.07H1008.6L958.695 260H933.812L934.633 231.289ZM912.074 112.07L945.023 231.426L945.707 260H920.688L870.785 112.07H912.074ZM1092.41 262.734C1080.92 262.734 1070.62 260.911 1061.51 257.266C1052.39 253.529 1044.65 248.379 1038.27 241.816C1031.98 235.254 1027.15 227.643 1023.77 218.984C1020.4 210.234 1018.71 200.938 1018.71 191.094V185.625C1018.71 174.414 1020.31 164.16 1023.5 154.863C1026.69 145.566 1031.25 137.5 1037.17 130.664C1043.19 123.828 1050.48 118.587 1059.05 114.941C1067.61 111.204 1077.28 109.336 1088.03 109.336C1098.51 109.336 1107.81 111.068 1115.92 114.531C1124.03 117.995 1130.82 122.917 1136.29 129.297C1141.85 135.677 1146.05 143.333 1148.87 152.266C1151.7 161.107 1153.11 170.951 1153.11 181.797V198.203H1035.53V171.953H1114.42V168.945C1114.42 163.477 1113.42 158.6 1111.41 154.316C1109.5 149.941 1106.58 146.478 1102.66 143.926C1098.74 141.374 1093.73 140.098 1087.62 140.098C1082.43 140.098 1077.96 141.237 1074.22 143.516C1070.49 145.794 1067.43 148.984 1065.06 153.086C1062.78 157.188 1061.05 162.018 1059.87 167.578C1058.77 173.047 1058.23 179.062 1058.23 185.625V191.094C1058.23 197.018 1059.05 202.487 1060.69 207.5C1062.42 212.513 1064.83 216.842 1067.93 220.488C1071.12 224.134 1074.95 226.96 1079.42 228.965C1083.98 230.97 1089.12 231.973 1094.87 231.973C1101.98 231.973 1108.58 230.605 1114.69 227.871C1120.89 225.046 1126.22 220.807 1130.69 215.156L1149.83 235.938C1146.73 240.404 1142.49 244.688 1137.11 248.789C1131.83 252.891 1125.45 256.263 1117.97 258.906C1110.5 261.458 1101.98 262.734 1092.41 262.734ZM1249.77 218.438L1296.66 60.9375H1342.33L1273.01 260H1242.93L1249.77 218.438ZM1206.57 60.9375L1253.32 218.438L1260.43 260H1230.08L1161.18 60.9375H1206.57ZM1400.02 112.07V260H1360.51V112.07H1400.02ZM1358.05 73.5156C1358.05 67.7734 1360.06 63.0339 1364.07 59.2969C1368.08 55.5599 1373.45 53.6914 1380.2 53.6914C1386.85 53.6914 1392.18 55.5599 1396.2 59.2969C1400.3 63.0339 1402.35 67.7734 1402.35 73.5156C1402.35 79.2578 1400.3 83.9974 1396.2 87.7344C1392.18 91.4714 1386.85 93.3398 1380.2 93.3398C1373.45 93.3398 1368.08 91.4714 1364.07 87.7344C1360.06 83.9974 1358.05 79.2578 1358.05 73.5156ZM1512.54 219.121C1512.54 216.296 1511.72 213.743 1510.08 211.465C1508.44 209.186 1505.39 207.09 1500.92 205.176C1496.55 203.171 1490.21 201.348 1481.92 199.707C1474.44 198.066 1467.47 196.016 1461 193.555C1454.62 191.003 1449.06 187.949 1444.32 184.395C1439.67 180.84 1436.03 176.647 1433.38 171.816C1430.74 166.895 1429.42 161.289 1429.42 155C1429.42 148.802 1430.74 142.969 1433.38 137.5C1436.12 132.031 1439.99 127.201 1445 123.008C1450.11 118.724 1456.31 115.397 1463.6 113.027C1470.98 110.566 1479.27 109.336 1488.48 109.336C1501.33 109.336 1512.3
16 111.387 1521.57 115.488C1530.86 119.59 1537.97 125.241 1542.89 132.441C1547.91 139.551 1550.41 147.663 1550.41 156.777H1511.04C1511.04 152.949 1510.22 149.531 1508.58 146.523C1507.03 143.424 1504.57 141.009 1501.2 139.277C1497.91 137.454 1493.63 136.543 1488.34 136.543C1483.97 136.543 1480.19 137.318 1477 138.867C1473.81 140.326 1471.35 142.331 1469.61 144.883C1467.97 147.344 1467.15 150.078 1467.15 153.086C1467.15 155.365 1467.61 157.415 1468.52 159.238C1469.52 160.97 1471.12 162.565 1473.3 164.023C1475.49 165.482 1478.32 166.849 1481.78 168.125C1485.34 169.31 1489.71 170.404 1494.91 171.406C1505.57 173.594 1515.1 176.465 1523.48 180.02C1531.87 183.483 1538.52 188.223 1543.44 194.238C1548.36 200.163 1550.82 207.956 1550.82 217.617C1550.82 224.18 1549.37 230.195 1546.45 235.664C1543.53 241.133 1539.34 245.918 1533.87 250.02C1528.4 254.03 1521.84 257.174 1514.18 259.453C1506.62 261.641 1498.1 262.734 1488.62 262.734C1474.85 262.734 1463.19 260.273 1453.62 255.352C1444.14 250.43 1436.94 244.186 1432.02 236.621C1427.18 228.965 1424.77 221.126 1424.77 213.105H1462.09C1462.28 218.483 1463.64 222.812 1466.2 226.094C1468.84 229.375 1472.17 231.745 1476.18 233.203C1480.28 234.661 1484.7 235.391 1489.44 235.391C1494.54 235.391 1498.78 234.707 1502.15 233.34C1505.52 231.882 1508.08 229.967 1509.81 227.598C1511.63 225.137 1512.54 222.311 1512.54 219.121ZM1663.89 224.59V112.07H1703.27V260H1666.21L1663.89 224.59ZM1668.27 194.238L1679.89 193.965C1679.89 203.809 1678.75 212.969 1676.47 221.445C1674.19 229.831 1670.77 237.122 1666.21 243.32C1661.66 249.427 1655.92 254.212 1648.99 257.676C1642.06 261.048 1633.9 262.734 1624.52 262.734C1617.32 262.734 1610.66 261.732 1604.55 259.727C1598.54 257.63 1593.34 254.395 1588.97 250.02C1584.68 245.553 1581.31 239.857 1578.85 232.93C1576.48 225.911 1575.3 217.48 1575.3 207.637V112.07H1614.67V207.91C1614.67 212.285 1615.17 215.977 1616.18 218.984C1617.27 221.992 1618.77 224.453 1620.69 226.367C1622.6 228.281 1624.83 229.648 1627.39 230.469C1630.03 231.289 1632.95 231.699 1636.14 231.699C1644.25 231.699 1650.63 230.059 1655.28 226.777C1660.02 223.496 1663.34 219.03 1665.26 213.379C1667.26 207.637 1668.27 201.257 1668.27 194.238ZM1813.19 226.641V160.742C1813.19 156.003 1812.41 151.947 1810.86 148.574C1809.31 145.111 1806.9 142.422 1803.62 140.508C1800.43 138.594 1796.28 137.637 1791.18 137.637C1786.8 137.637 1783.02 138.411 1779.83 139.961C1776.64 141.419 1774.18 143.561 1772.45 146.387C1770.71 149.121 1769.85 152.357 1769.85 156.094H1730.47C1730.47 149.805 1731.93 143.835 1734.85 138.184C1737.76 132.533 1742 127.565 1747.56 123.281C1753.12 118.906 1759.73 115.488 1767.39 113.027C1775.13 110.566 1783.79 109.336 1793.36 109.336C1804.85 109.336 1815.06 111.25 1823.99 115.078C1832.92 118.906 1839.94 124.648 1845.04 132.305C1850.24 139.961 1852.84 149.531 1852.84 161.016V224.316C1852.84 232.428 1853.34 239.082 1854.34 244.277C1855.34 249.382 1856.8 253.848 1858.71 257.676V260H1818.93C1817.02 255.99 1815.56 250.977 1814.55 244.961C1813.64 238.854 1813.19 232.747 1813.19 226.641ZM1818.38 169.902L1818.66 192.188H1796.64C1791.45 192.188 1786.94 192.78 1783.11 193.965C1779.28 195.15 1776.14 196.836 1773.68 199.023C1771.21 201.12 1769.39 203.581 1768.21 206.406C1767.11 209.232 1766.57 212.331 1766.57 215.703C1766.57 219.076 1767.34 222.129 1768.89 224.863C1770.44 227.507 1772.67 229.603 1775.59 231.152C1778.51 232.611 1781.92 233.34 1785.84 233.34C1791.77 233.34 1796.92 232.155 1801.29 229.785C1805.67 227.415 1809.04 224.499 1811.41 221.035C1813.87 217.572 1815.15 214.29 1815.24 211.191L1825.63 227.871C1824.17 231.608 1822.17 235.482 1819.61 239.492C1817.15 243.503 1814.01 247.285 1810.18 250.84C1806.35 254.303 1801.75 257.174 1796.37 259.453C1790.99 261.641 1784.61 262.734 1777.23 262.734C1767.84 262.734 1759.32 260.866 1751.66 257.129C1744.1 253.301 1738.08 248.06 1733.62 241.406C1729.24 234.661 1727.05 227.005 1727.05 218.438C1727.05 210.69 1728.51 203.809 1731.43 197.793C1734.35 191.777 1738.63 186.719 1744.28 182.617C1750.02 178.424 1757.18 175.28 1765.75 173.184C1774.31 170.996 1784.25 169.902 1795.55 169.902H1818.38ZM1924.75 50V260H1885.24V50H1924.75Z",fill:"currentColor"})]})}},68489:function(e,t,s){"use strict";s.r(t),s.d(t,{SupportOfferModal:function(){return C}});var l=s(52322),i=s(2784),r=s(44041),n=s(21353),a=s(34646),o=s(99904),d=s(52522),c=s(7355),x=s(53665);function C(){let e=(0,r.G)(),[t,s]=i.useState(!1),{isPaid:C}=(0,d.hl)(),u=(0,c.aC)();return(0,i.useEffect)(()=>
1{if(t||C||x.isDevEnvironment||u.isLoggedIn)return;let i=setTimeout(()=>{e.info("Need Assistance?",(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.dk,{className:"my-4 text-base",children:"Our support team is here to help with any questions you have"}),(0,l.jsx)(n.z,{theme:"blue",onClick:()=>(0,o.k)(),block:!0,children:"Chat now"})]})),s(!0)},12e5);return()=>clearTimeout(i)},[C,u.isLoggedIn]),null}},64084:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return eO}});var l=s(52322),i=s(2784),r=s(97729),n=s.n(r),a=s(39097),o=s.n(a),d=s(19458),c=s(7355),x=s(43034),C=s(78422),u=s(99127),h=s(61189),m=s(12524),f=s.n(m),j=s(30118),p=s(79130),v=s.n(p),g=s(25237),w=s.n(g),b=s(94133),N=s(3752),H=s(78128),y=s(22509),L=s(3741),k=s(118),E=s(12979),V=s(90655),_=s(92576),M=s.n(_),S=s(52522),Z=s(359),P=s(38420),T=s(23083),A=s(52015),O=s(83553),D=s(95768),R=s(29121),z=s(5987);let F=v().bind(M()),I=w()(()=>Promise.all([s.e(7550),s.e(3761),s.e(6205)]).then(s.bind(s,53761)).then(e=>e.EditorCanvas),{loadableGenerated:{webpack:()=>[53761]},loading:()=>(0,l.jsx)(b.p,{}),ssr:!1}),U=w()(()=>Promise.all([s.e(7472),s.e(9139)]).then(s.bind(s,49139)).then(e=>e.AudioRangeSelection),{loadableGenerated:{webpack:()=>[49139]},loading:()=>(0,l.jsx)(b.p,{}),ssr:!1});L.featureFlags.enablePrinting&&h.E.prefetchQuery("product_prices",async()=>(0,T.vD)(),{staleTime:36e5});let G=e=>{let{tabOptions:t}=e,s=(0,N.d)(),r=(0,H.p)(),{canvasAspectRatio:n}=(0,V._)(),a=(0,P.b)(),{saveState:o}=(0,k.r)(),{setCanvas:c,editMode:x}=(0,S.hl)(),C=(0,i.useRef)(null),u=x!==O.uz.Locked&&s?48:0,h=(0,z.rZ)(r);return(0,Z.U)(C,30,900,u,h),(0,l.jsxs)("div",{className:F("editor","flex flex-col lg:flex-row mx-auto my-0 w-full h-full"),"data-testid":"waveform-editor",children:[!s&&(0,l.jsx)("div",{className:"hidden md:flex",children:(0,l.jsx)(E.d,{position:"left",tabOptions:t})}),(0,l.jsx)("main",{className:F("canvas-wrapper","relative flex flex-col items-center px-0 w-full bg-gray-100 md:h-96 justify-center lg:justify-start",r?"overflow-x-hidden overflow-y-auto":"overflow-hidden",(0,D.Z)(n)),ref:C,children:(0,l.jsxs)("div",{className:"relative flex min-h-0 w-full flex-1 flex-col items-center justify-center overflow-visible lg:justify-start",children:[x!==O.uz.Locked&&(0,l.jsx)(A.p,{}),(0,l.jsx)(I,{setCanvas:c,isMobile:s,static:x===O.uz.Locked}),(0,l.jsx)(R.U,{enabled:r})]})}),s&&(0,l.jsx)("div",{className:"flex justify-center w-full lg:hidden",children:(0,l.jsx)(E.d,{position:"top",tabOptions:t})}),(0,l.jsx)(y.w,{when:()=>o!==k.S.SAVED,message:"You have unsaved changes - are you sure you wish to leave this page?"}),a!==d.SourceType.SAMPLE&&(0,l.jsx)(U,{})]})};var W=s(92670),B=s(24785),q=s.n(B),Q=s(42670),K=s(71680),X=s(21353),Y=s(46334),J=s(40457),$=s(87732),ee=s(91891),et=s(72657),es=s(8752),el=s(78683),ei=s(48201),er=s(83096),en=s(92855),ea=s(97065),eo=s(47389),ed=s(18997),ec=s(75630),ex=s(85603),eC=s(95747);let eu=w()(()=>Promise.all([s.e(4396),s.e(6356)]).then(s.bind(s,86356)).then(e=>e.EditorAdminDialog),{loadableGenerated:{webpack:()=>[86356]},ssr:!1}
1),eh=[{id:"source",label:"Choose Source",completed:!0,active:!1},{id:"customize",label:"Customize",completed:!1,active:!0},{id:"preview",label:"Preview",completed:!1,active:!1},{id:"export",label:"Export",completed:!1,active:!1}],em={[eo._.main]:(0,l.jsx)(ei.i,{defaultValue:"Settings"}),[eo._.emailVerification]:"Email verification",[eo._.login]:"Login",[eo._.forgotPassword]:"Forgot password",[eo._.register]:"Register",[eo._.share]:"Share"},ef=()=>{let[e,t]=(0,i.useState)(!1),s=(0,c.aC)(),{undo:r,redo:n}=(0,j._i)(),a=(0,P.b)(),{editMode:C}=(0,S.hl)(),[h,m]=(0,i.useState)(eo._.main),{playableURL:p}=(0,er.FI)(),{setShownTab:v}=(0,i.useContext)(x.q5),g=C!==O.uz.Locked,w=a===d.SourceType.AUDIO||a===d.SourceType.STOCK||p&&a===d.SourceType.SAMPLE,b=a===d.SourceType.SPOTIFY||a===d.SourceType.SEARCH,N=w||b,H=N||g,y=(0,eC.Q)(e=>e.setRequestAuthWallHandler);return(0,i.useEffect)(()=>(y(()=>{t(!0),m(eo._.register)}),()=>y(null)),[y]),(0,l.jsx)("header",{"data-testid":en.z.EDITOR_PAGE_HEADER,children:(0,l.jsxs)("nav",{className:f()("z-30 flex w-full align-middle shadow-md bg-violet-600 h-14"),children:[(0,l.jsxs)("div",{className:"max-w-[1640px] flex flex-wrap items-center justify-between w-full px-4 py-2 mx-auto mt-0 xl:px-5",children:[(0,l.jsxs)("div",{className:"flex items-center h-full",children:[(0,l.jsxs)(o(),{href:"/",prefetch:!1,onClick:()=>(0,ed.Kz)("editor_home_button_clicked"),className:"flex items-center h-full text-2xl font-bold text-white no-underline hover:no-underline lg:text-4xl hover:text-white","aria-label":"To home page",children:[(0,l.jsx)("span",{className:"hidden lg:inline-block",children:(0,l.jsx)(ee.u,{title:"Editor - "})}),a===d.SourceType.SAMPLE&&!p&&(0,l.jsxs)("span",{className:"inline-flex flex-row items-center lg:hidden",children:[(0,l.jsx)(K.bUI,{className:"mr-1 text-base"}),(0,l.jsx)(u.V9Z,{})]})]}),H&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:f()("h-8 w-px mx-2 sm:mx-4 shrink-0 bg-white/40",N?"hidden lg:flex":"flex"),"aria-hidden":!0}),w&&(0,l.jsx)(et.B,{}),b&&(0,l.jsx)(es.k,{}),g&&(0,l.jsx)("span",{className:f()(N&&"ml-2 sm:ml-0"),children:(0,l.jsx)(ex.w,{})})]})]}),(0,l.jsxs)("div",{className:"flex-row items-center justify-end flex-1 hidden mr-1 text-base lg:flex",children:[(0,l.jsx)("div",{className:"flex items-center mr-4",children:eh.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsxs)("div",{className:f()("flex items-center",{"text-white":e.active,"text-green-300":e.completed,"text-violet-300":!e.active&&!e.completed}),children:[e.completed?(0,l.jsx)(J.U4Q,{className:"mr-1"}):(0,l.jsx)($.FuB,{className:"mr-1"}),(0,l.jsx)("span",{className:"text-sm",children:e.label})]}),t<eh.length-1&&(0,l.jsx)("div",{className:"mx-2 text-violet-300",children:"—"})]},e.id))}),(0,l.jsx)(ec.Q,{}),g&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",{className:f()("flex bg-violet-500 items-center p-2 rounded mr-2 ml-4",{"text-white":!!r,"text-violet-400 cursor-default":!r}),onClick:r||void 0,"aria-label":"Undo",children:[(0,l.jsx)(K.ZHP,{})," ",(0,l.jsx)("span",{className:"ml-2 text-sm",children:(0,l.jsx)(Q.Z,{id:"Editor.Header.Undo"})})]}),(0,l.jsxs)("button",{className:f()("flex bg-violet-500 items-center p-2 rounded ml-2",{"text-white":!!n,"text-violet-400 cursor-default":!n}),onClick:n||void 0,"aria-label":"Redo",children:[(0,l.jsx)(K.GVn,{})," ",(0,l.jsx)("span",{className:"ml-2 text-sm",children:(0,l.jsx)(Q.Z,{id:"Editor.Header.Redo"})})]})]}),!g&&(0,l.jsx)(ea.k,{theme:"primary-inverse",size:"normal",className:"py-2 ml-4 text-sm text-white rounded-lg"})]}),g&&(0,l.jsxs)("div",{className:"flex flex-row justify-end flex-1 mr-0 text-base lg:hidden items-center",children:[(0,l.jsx)("button",{className:f()("flex bg-violet-500 items-center p-2.5 rounded mr-1 ml-4",{"text-white":!!r,"text-violet-400 cursor-default":!r}),onClick:r||void 0,"aria-label":"Undo",children:(0,l.jsx)(K.ZHP,{})}),(0,l.jsx)("button",{className:f()("flex bg-violet-500 items-center p-2.5 rounded ml-2",{"text-white":!!n,"text-violet-400 cursor-default":!n}),onClick:n||void 0,"aria-label":"Redo",children:(0,l.jsx)(K.GVn,{})})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2 ml-4",children:[(0,l.jsx)(X.z,{theme:"primary-inverse",onClick:()=>t(!e),"aria-label":"Toggle side menu",className:"h-10 px-2",children:(0,l.jsx)(K.p4t,{fontSize:24,className:"text-white"})}),s.isAdmin&&(0,l.jsx)(eu,{})]})]}),(0,l.jsx)(Y.U,{visible:e,hide:()=>t(!1),innerClassName:"lg:w-96 lg:h-full right-0",direction:"right",header:(0,l.jsxs)("span",{className:"flex items-center cursor-pointer touch-manipulation",onClick:()=>m(eo._.main),children:[h!==eo._.main&&(0,l.jsx)(K.bUI,{className:"mr-2 text-gray-900"}),em[h]]}),children:(0,l.jsx)(el.F,{hide:()=>t(!1),content:h,setContent:m,setShownTab:v})})]})})};var ej=s(78958),ep=s(65089),ev=s(26140),eg=s(57855),ew=s(68489),eb=s(4842),eN=s(84309),eH=s(74304),ey=s(53665),eL=s(92141),ek=s(2877),eE=s(67148),eV=s(50249),e_=s(62487),eM=s(16572),eS=s(45539),eZ=s(69218);let{paddle:eP}=eH.feconfig,eT=()=>{var e,t;let{isPaid:s,orderType:r,orderId:n,editMode:a,designId:x}=(0,S.hl)(),{canvasAspectRatio:h}=(0,j._i)(),m=a!==O.uz.Locked,p=(0,eE.m)(),v=(0,c.aC)(),g=(0,eM.mv)((null===(e=v.userDetails)||void 0===e?void 0:e.subscriptions)||[]),w=(0,eS.A)(eS.T.FREE_PREVIEW_DOWNLOAD),b=(0,i.useMemo)(()=>
1{if(s&&!m)return[ej.e.export,ej.e.qr];let e=[ej.e.source,ej.e.templates,ej.e.soundwave,ej.e.background,ej.e.text,...L.featureFlags.editorCaptions?[ej.e.captions]:[],ej.e.qr,ej.e.colorPicker,ej.e.colorStopsPicker,ej.e.effectsPicker,ej.e.fontPicker,ej.e.layers,ej.e.animation];return s&&m?e.push(ej.e.export):g||L.featureFlags.freeDownloadsForReviews||"on"===w?e.push(ej.e.export):e.push(ej.e.digitalCheckout),h!==d.AspectRatio["2/1"]&&h!==d.AspectRatio["3/1"]&&L.featureFlags.enablePrinting&&e.push(ej.e.print),e},[h,m,s,g,w]),N=(0,i.useRef)(""),H=(0,ek.U)();return N.current=H.ready?H.product.productId:"",(0,i.useEffect)(()=>{async function e(){var e,t;await Promise.all([eN.B.setup({vendorId:eP.vendorId,sandbox:ey.isDevEnvironment}),x&&N.current&&(0,eL.j)(N.current,null!==(t=null===(e=v.userDetails)||void 0===e?void 0:e.uid)&&void 0!==t?t:"",x)])}setTimeout(()=>{p.current&&x&&!s&&e()},1e4)},[x,p,null===(t=v.userDetails)||void 0===t?void 0:t.uid,s]),(0,eV.u)("EditorPage"),(0,l.jsxs)("div",{className:"h-auto min-h-screen",children:[(0,l.jsx)(ef,{}),r===C.OrderType.print&&(0,l.jsx)("div",{className:"p-4 border-l-4 border-blue-400 bg-blue-50 mx-auto",style:{maxWidth:1640},children:(0,l.jsxs)("div",{className:"3xl:px-5 3xl:container flex mx-auto lg:px-2",children:[(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(u.ocf,{className:"w-5 h-5 text-blue-400","aria-hidden":"true"})}),(0,l.jsx)("div",{className:"ml-3",children:(0,l.jsxs)("p",{className:"text-sm text-blue-700",children:["A print order was made for this design."," ",(0,l.jsx)(o(),{href:"/order?id=".concat(n),legacyBehavior:!0,children:(0,l.jsx)("a",{href:"#",className:"font-medium text-blue-700 underline hover:text-blue-600",children:"View the print order by clicking here."})})]})})]})}),(0,l.jsx)("div",{className:f()("flex min-h-full",q().editorWrapper),children:(0,l.jsx)(G,{tabOptions:b})}),(0,l.jsx)(eZ.P,{}),(0,l.jsx)(ew.SupportOfferModal,{}),(0,l.jsx)(eb.T,{})]})},eA=()=>{let{designId:e}=(0,S.hl)();return(0,l.jsx)(W.H,{title:"Sound Wave Editor",path:"/editor",description:"Our best in class sound wave editor. Create your own sound wave and share it with loved ones.",images:e?[(0,ev.Ww)({src:"/img/d/".concat(e,".jpg"),width:720})]:[],type:"other"})},eO=e=>{let{designContextValue:t,editorContextValue:s}=e;return(0,c.aC)(),(0,l.jsx)(h.g,{children:(0,l.jsx)(ep.bQ,{children:(0,l.jsx)(er.I0,{children:(0,l.jsx)(j.BD,{defaultValue:s,children:(0,l.jsx)(S.Ki,{defaultValue:t,children:(0,l.jsx)(e_.P,{children:(0,l.jsx)(eg.G,{children:(0,l.jsxs)(x.EO,{children:[(0,l.jsx)(n(),{children:(0,l.jsx)("meta",{name:"viewport",content:"initial-scale=1"})}),(0,l.jsx)(eT,{}),(0,l.jsx)(eA,{})]})})})})})})})})}}},function(e){e.O(0,[3365,8127,2602,5647,648,4738,4321,6660,4232,4838,4280,2510,123,6425,1653,8638,4358,324,6577,9037,6170,2066,6438,3955,258,7639,5114,7319,5665,1037,2817,6930,6867,2446,2523,3074,2888,9774,179],function(){return e(e.s=34676)}),_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.