PageSourceSearch

https://playground.pixazo.ai/static/js/AgenticTemplates.153b4e01.chunk.js

js pixazo.ai collected 2026-09-28 12:44:57 UTC 47,659 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkplayground_pixazo=self.webpackChunkplayground_pixazo||[]).push([[5223],{15362(e,t,a){a.r(t),a.d(t,{AgenticHistoryEmpty:()=>J,default:()=>H});var r=a(96540),c=a(13561),l=a(14656);function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,c,l,n,i=[],o=!0,m=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;o=!1}else for(;!(o=(r=l.call(a)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(e){m=!0,c=e}finally{try{if(!o&&null!=a.return&&(n=a.return(),Object(n)!==n))return}finally{if(m)throw c}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}const o="#2c2e33",m="#17181b",s="#101114",d="#3a3d44";function p(e){let t=e.x,a=e.y,c=e.c,l=e.w,n=void 0===l?72:l;return r.createElement("g",null,r.createElement("rect",{x:t,y:a,width:n,height:8,rx:4,fill:"#33363d"}),r.createElement("rect",{x:t,y:a+15,width:.78*n,height:8,rx:4,fill:"#2a2d33"}),r.createElement("rect",{x:t,y:a+30,width:.5*n,height:8,rx:4,fill:c,opacity:"0.6"}))}function h(e){let t=e.x,a=e.y,c=e.w,l=void 0===c?24:c,n=e.dashed,i=void 0!==n&&n;return r.createElement("g",{stroke:e.c,strokeWidth:"2.4",strokeLinecap:"round",fill:"none"},r.createElement("path",{d:"M".concat(t," ").concat(a," H").concat(t+l),strokeDasharray:i?"4 4":void 0}),r.createElement("path",{d:"M".concat(t+l-7," ").concat(a-6," L").concat(t+l," ").concat(a," L").concat(t+l-7," ").concat(a+6),strokeLinejoin:"round"}))}function u(e){let t=e.x,a=e.y,c=e.s,l=void 0===c?9:c,n=e.c,i=e.opacity;return r.createElement("path",{opacity:void 0===i?1:i,d:"M".concat(t," ").concat(a-l," Q").concat(t+.22*l," ").concat(a-.22*l," ").concat(t+l," ").concat(a," Q").concat(t+.22*l," ").concat(a+.22*l," ").concat(t," ").concat(a+l," Q").concat(t-.22*l," ").concat(a+.22*l," ").concat(t-l," ").concat(a," Q").concat(t-.22*l," ").concat(a-.22*l," ").concat(t," ").concat(a-l," Z"),fill:n})}function g(e){let t=e.x,a=e.y,c=e.w,l=e.h,n=e.c,i=e.id,m=e.k,s=void 0===m?"a":m,d=e.rx,p=void 0===d?8:d,h=e.flat,u=void 0!==h&&h,g=e.faded,y=void 0!==g&&g;const E="".concat(i,"-ph-").concat(s);return r.createElement("g",{opacity:y?.45:1},r.createElement("clipPath",{id:E},r.createElement("rect",{x:t,y:a,width:c,height:l,rx:p})),r.createElement("g",{clipPath:"url(#".concat(E,")")},u?r.createElement(r.Fragment,null,r.createElement("rect",{x:t,y:a,width:c,height:l,fill:"#26304a"}),r.createElement("rect",{x:t,y:a+.42*l,width:c,height:.58*l,fill:"#1a2233"}),r.createElement("circle",{cx:t+.7*c,cy:a+.28*l,r:.13*Math.min(c,l),fill:n}),r.createElement("path",{d:"M".concat(t," ").concat(a+l," L").concat(t+.42*c," ").concat(a+.38*l," L").concat(t+.84*c," ").concat(a+l," Z"),fill:"#111a2b"})):r.createElement(r.Fragment,null,r.createElement("rect",{x:t,y:a,width:c,height:l,fill:"url(#".concat(i,"-sky)")}),r.createElement("circle",{cx:t+.72*c,cy:a+.29*l,r:.12*Math.min(c,l),fill:n,opacity:"0.92"}),r.createElement("path",{d:"M".concat(t," ").concat(a+l," L").concat(t+.35*c," ").concat(a+.42*l," L").concat(t+.6*c," ").concat(a+l," Z"),fill:"#2a3040"}),r.createElement("path",{d:"M".concat(t+.38*c," ").concat(a+l," L").concat(t+.72*c," ").concat(a+.55*l," L").concat(t+c," ").concat(a+l," Z"),fill:"#1c2130"}))),r.createElement("rect",{x:t,y:a,width:c,height:l,rx:p,fill:"none",stroke:o}))}function y(e){let t=e.x,a=e.y,c=e.w,l=e.h,n=e.children,i=e.faded,d=void 0!==i&&i,p=e.accent;const h=[];for(let o=t+9;o<t+c-12;o+=17)h.push(r.createElement("rect",{key:"t".concat(o),x:o,y:a+4,width:8,height:5,rx:1.5,fill:"#0a0b0d"})),h.push(r.createElement("rect",{key:"b".concat(o),x:o,y:a+l-9,width:8,height:5,rx:1.5,fill:"#0a0b0d"}));return r.createElement("g",{opacity:d?.5:1},r.createElement("rect",{x:t,y:a,width:c,height:l,rx:8,fill:s,stroke:p||o}),h,r.createElement("rect",{x:t+7,y:a+13,width:c-14,height:l-26,rx:4,fill:m,stroke:"#232529"}),n)}const E=[.34,.62,.9,.48,.96,.4,.72,.3,.84,.54,.92,.44,.66,.34,.78,.5,.6,.38];
1function x(e){let t=e.x,a=e.y,c=e.w,l=e.h,n=e.c,i=e.bars,o=void 0===i?14:i,m=e.dim,s=void 0!==m&&m,p=e.opacity,h=e.from,u=void 0===h?0:h;const g=c/(1.75*o),y=o>1?(c-o*g)/(o-1):0;return r.createElement("g",{opacity:void 0===p?1:p},Array.from({length:o},(e,c)=>{const i=Math.max(3,l*E[(c+u)%E.length]);return r.createElement("rect",{key:c,x:t+c*(g+y),y:a+(l-i)/2,width:g,height:i,rx:g/2,fill:s?d:n,opacity:s?1:.88})}))}function f(e){let t=e.x,a=e.y,c=e.w,l=void 0===c?52:c,n=e.h,i=void 0===n?21:n,m=e.label,s=e.c,d=e.solid,p=void 0!==d&&d,h=e.dim,u=void 0!==h&&h;return r.createElement("g",null,r.createElement("rect",{x:t,y:a,width:l,height:i,rx:i/2,fill:p?s:"#0d0e10",stroke:p?s:u?o:s,strokeOpacity:p||u?1:.5}),r.createElement("text",{x:t+l/2,y:a+i/2+3.8,textAnchor:"middle",fontSize:"10.5",fontWeight:"700",letterSpacing:"0.4",fill:p?"#0b0b0c":u?"#7c8189":"#c9ccd2"},m))}function w(e){let t=e.cx,a=e.cy,c=e.r,l=void 0===c?15:c,n=e.c;return r.createElement("g",null,r.createElement("circle",{cx:t,cy:a,r:l,fill:"#0b0b0c",fillOpacity:"0.72",stroke:n,strokeWidth:"1.4"}),r.createElement("path",{d:"M".concat(t-.26*l," ").concat(a-.4*l," L").concat(t+.44*l," ").concat(a," L").concat(t-.26*l," ").concat(a+.4*l," Z"),fill:n}))}function b(e){let t=e.cx,a=e.y,c=e.s,l=void 0===c?1:c,n=e.fill;return r.createElement("g",{fill:void 0===n?"#454b58":n},r.createElement("circle",{cx:t,cy:a,r:13*l}),r.createElement("path",{d:"M".concat(t-24*l," ").concat(a+52*l," Q").concat(t-22*l," ").concat(a+19*l," ").concat(t," ").concat(a+19*l," Q").concat(t+22*l," ").concat(a+19*l," ").concat(t+24*l," ").concat(a+52*l," Z")}))}function v(e){let t=e.x,a=e.y,c=e.w,l=e.h,n=void 0===l?26:l,i=e.c,s=e.from,d=void 0===s?0:s,p=e.to,h=void 0===p?1:p,u=e.rx,g=void 0===u?5:u;return r.createElement("g",null,r.createElement("rect",{x:t,y:a,width:c,height:n,rx:g,fill:m,stroke:o}),r.createElement("rect",{x:t+c*d,y:a,width:c*(h-d),height:n,rx:g,fill:i,opacity:"0.22"}),r.createElement("rect",{x:t+c*d,y:a,width:c*(h-d),height:n,rx:g,fill:"none",stroke:i,strokeWidth:"1.5"}))}function k(e){let t=e.y,a=e.c,c=e.s,l=void 0===c?1:c;return r.createElement("g",{transform:"translate(".concat(e.x," ").concat(t,") scale(").concat(l,")"),stroke:a,strokeWidth:1.8/l,fill:"none",strokeLinecap:"round"},r.createElement("path",{d:"M-6 -8 L5 6"}),r.createElement("path",{d:"M6 -8 L-5 6"}),r.createElement("circle",{cx:"-6",cy:"9",r:"3"}),r.createElement("circle",{cx:"6",cy:"9",r:"3"}))}const _={"make-image":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(p,{x:26,y:74,c:t,w:70}),r.createElement(h,{x:112,y:92,w:22,c:t}),r.createElement(g,{x:150,y:40,w:144,h:118,c:t,id:a}),r.createElement(u,{x:172,y:62,s:9,c:t}),r.createElement(u,{x:188,y:78,s:5,c:t,opacity:.7}))},"edit-image":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(g,{x:22,y:46,w:118,h:104,c:t,id:a,k:"a"}),r.createElement(h,{x:150,y:98,w:20,c:t}),r.createElement(g,{x:182,y:46,w:116,h:104,c:t,id:a,k:"b",flat:!0}),r.createElement("g",{transform:"translate(196,60)"},r.createElement("rect",{x:"0",y:"0",width:"18",height:"18",rx:"4",fill:t}),r.createElement("rect",{x:"22",y:"0",width:"18",height:"18",rx:"4",fill:"#7c5cff",opacity:"0.85"}),r.createElement("rect",{x:"44",y:"0",width:"18",height:"18",rx:"4",fill:"#ff7ab6",opacity:"0.85"})))},"combine-images":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(g,{x:18,y:38,w:90,h:72,c:t,id:a,k:"a"}),r.createElement(g,{x:38,y:92,w:90,h:72,c:t,id:a,k:"b",flat:!0}),r.createElement("g",{stroke:t,strokeWidth:"2.4",strokeLinecap:"round"},r.createElement("path",{d:"M142 100 H160"}),r.createElement("path",{d:"M151 91 V109"})),r.createElement(g,{x:182,y:50,w:116,h:100,c:t,id:a,k:"c"}),r.createElement(u,{x:288,y:58,s:7,c:t,opacity:.8}))},"make-video":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(p,{x:22,y:78,c:t,w:58}),r.createElement(h,{x:94,y:96,w:20,c:t}),r.createElement(y,{x:126,y:34,w:172,h:132,accent:o},r.createElement(g,{x:133,y:47,w:158,h:106,c:t,id:a,rx:4}),r.createElement(w,{cx:212,cy:100,r:17,c:t})))},"restyle-video":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:20,y:40,w:280,h:120},r.createElement(g,{x:27,y:53,w:132,h:94,c:t,id:a,k:"a",rx:4}),r.createElement(g,{x:161,y:53,w:132,h:94,c:t,id:a,k:"b",rx:4,flat:!0}),r.createElement("path",{d:"M160 53 V147",stroke:t,strokeWidth:"2"})),r.createElement(f,{x:198,y:166,w:72,h:20,label:"ANIME",c:t,solid:!0}),r.createElement(f,{x:50,y:166,w:72,h:20,label:"ORIGINAL",c:t,dim:!0}))},"stitch-videos":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:14,y:52,w:126,h:100},r.createElement(g,{x:21,y:65,w:112,h:74,c:t,id:a,k:"a",rx:4})),r.createElement(y,{x:180,y:52,w:126,h:100},r.createElement(g,{x:187,y:65,w:112,h:74,c:t,id:a,k:"b",flat:!0,rx:4})),r.createElement("rect",{x:138,y:65,width:44,height:74,fill:"url(#".concat(a,"-fade)")}),r.createElement(f,{x:129,y:158,w:62,h:20,label:"1s FADE",c:t,solid:!0}))},"continue-video":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:12,y:44,w:128,h:104},r.createElement(g,{x:19,y:57,w:114,h:78,c:t,id:a,k:"a",rx:4})),r.createElement("g",null,r.createElement(h,{x:146,y:96,w:26,c:t,dashed:!0}),r.createElement("rect",{x:128,y:80,width:16,height:32,rx:3,fill:"none",stroke:t,strokeWidth:"1.6",strokeDasharray:"3 3"})),r.createElement(y,{x:182,y:44,w:128,h:104,accent:t}
1,r.createElement(g,{x:189,y:57,w:30,h:78,c:t,id:a,k:"b",rx:4,faded:!0}),r.createElement(g,{x:221,y:57,w:82,h:78,c:t,id:a,k:"c",rx:4,flat:!0})),r.createElement("text",{x:160,y:168,textAnchor:"middle",fontSize:"10.5",fontWeight:"700",fill:"#7c8189",letterSpacing:"0.4"},"LAST FRAME CARRIES OVER"))},"make-music":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement("rect",{x:24,y:52,width:272,height:96,rx:12,fill:s,stroke:o}),r.createElement(x,{x:44,y:70,w:198,h:60,c:t,bars:18}),r.createElement("g",{transform:"translate(258,84)"},r.createElement("circle",{cx:"0",cy:"0",r:"22",fill:t,fillOpacity:"0.12",stroke:t,strokeOpacity:"0.5"}),r.createElement("path",{d:"M-4 8 V-9 L10 -12 V5",stroke:t,strokeWidth:"2.2",fill:"none",strokeLinecap:"round"}),r.createElement("circle",{cx:"-7",cy:"9",r:"4",fill:t}),r.createElement("circle",{cx:"7",cy:"6",r:"4",fill:t})),r.createElement(p,{x:24,y:158,c:t,w:62}))},"swap-audio":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(y,{x:26,y:26,w:268,h:92},r.createElement(g,{x:33,y:39,w:254,h:66,c:t,id:e.id,rx:4}),r.createElement(w,{cx:160,cy:72,r:14,c:t})),r.createElement("g",null,r.createElement(x,{x:34,y:130,w:110,h:30,c:t,dim:!0,bars:12}),r.createElement("path",{d:"M34 145 H144",stroke:"#ff6b6b",strokeWidth:"2",strokeLinecap:"round"})),r.createElement(h,{x:154,y:145,w:20,c:t}),r.createElement(x,{x:186,y:130,w:110,h:30,c:t,bars:12,from:5}))},"upscale-image":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement("g",null,[0,1,2,3].map(e=>[0,1,2,3].map(t=>r.createElement("rect",{key:"".concat(e,"-").concat(t),x:30+18*t,y:64+18*e,width:17,height:17,fill:(e+t)%2?"#2a3040":"#1c2130"}))),r.createElement("rect",{x:30,y:64,width:72,height:72,rx:4,fill:"none",stroke:o})),r.createElement(h,{x:114,y:100,w:22,c:t}),r.createElement(g,{x:152,y:44,w:142,h:112,c:t,id:a}),r.createElement(f,{x:244,y:150,w:44,h:20,label:"4×",c:t,solid:!0}))},"upscale-video":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:18,y:48,w:128,h:104,faded:!0},r.createElement(g,{x:25,y:61,w:114,h:78,c:t,id:a,k:"a",rx:4})),r.createElement(f,{x:48,y:158,w:62,h:20,label:"720p",c:t,dim:!0}),r.createElement(h,{x:154,y:100,w:22,c:t}),r.createElement(y,{x:190,y:40,w:116,h:120,accent:t},r.createElement(g,{x:197,y:53,w:102,h:94,c:t,id:a,k:"b",rx:4})),r.createElement(f,{x:216,y:166,w:64,h:20,label:"1080p",c:t,solid:!0}))},"cutout-image":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(g,{x:20,y:46,w:116,h:108,c:t,id:a}),r.createElement(h,{x:146,y:100,w:22,c:t}),r.createElement("g",null,r.createElement("rect",{x:182,y:46,width:116,height:108,rx:8,fill:"url(#".concat(a,"-checker)"),stroke:o}),r.createElement(b,{cx:240,y:80,s:.92,fill:"#4b5262"}),r.createElement("path",{d:"M240 65 m-16 0 a16 16 0 1 0 32 0 a16 16 0 1 0 -32 0",fill:"none",stroke:t,strokeWidth:"1.4",strokeDasharray:"4 4",opacity:"0.9"})))},"cutout-video":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:16,y:46,w:122,h:108},r.createElement(g,{x:23,y:59,w:108,h:82,c:t,id:a,rx:4}),r.createElement(b,{cx:77,y:82,s:.6,fill:"#5b6373"})),r.createElement(h,{x:148,y:100,w:22,c:t}),r.createElement(y,{x:184,y:46,w:122,h:108,accent:t},r.createElement("rect",{x:191,y:59,width:108,height:82,rx:4,fill:"url(#".concat(a,"-checker)")}),r.createElement(b,{cx:245,y:82,s:.6,fill:"#4b5262"})))},"lip-sync":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(y,{x:18,y:40,w:140,h:120},r.createElement("rect",{x:25,y:53,width:126,height:94,rx:4,fill:"#1d2029"}),r.createElement("circle",{cx:88,cy:88,r:26,fill:"#4b5262"}),r.createElement("circle",{cx:79,cy:83,r:3,fill:"#0d0e10"}),r.createElement("circle",{cx:97,cy:83,r:3,fill:"#0d0e10"}),r.createElement("path",{d:"M76 99 Q88 110 100 99 Q88 104 76 99 Z",fill:t}
1),r.createElement("path",{d:"M60 122 H116",stroke:"#2a2d33",strokeWidth:"6",strokeLinecap:"round"})),r.createElement("g",{stroke:t,strokeWidth:"1.5",strokeDasharray:"3 4",opacity:"0.8"},r.createElement("path",{d:"M160 100 H186"})),r.createElement("rect",{x:192,y:64,width:112,height:72,rx:10,fill:s,stroke:o}),r.createElement(x,{x:204,y:80,w:88,h:40,c:t,bars:10}))},"trim-video":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(y,{x:22,y:30,w:276,h:80},r.createElement(g,{x:29,y:43,w:262,h:54,c:t,id:e.id,rx:4})),r.createElement(v,{x:22,y:126,w:276,h:30,c:t,from:.08,to:.46}),r.createElement("g",{fill:t},r.createElement("rect",{x:40,y:118,width:7,height:46,rx:3.5}),r.createElement("rect",{x:144,y:118,width:7,height:46,rx:3.5})),r.createElement(f,{x:196,y:168,w:92,h:20,label:"KEEP 0–5s",c:t,solid:!0}))},"crop-video":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement("rect",{x:22,y:44,width:276,height:112,rx:8,fill:m,stroke:o}),r.createElement("text",{x:40,y:166,fontSize:"10.5",fontWeight:"700",fill:"#7c8189",letterSpacing:"0.4"},"16:9"),r.createElement("rect",{x:122,y:32,width:76,height:136,rx:8,fill:"#0e0f11",fillOpacity:"0.7",stroke:t,strokeWidth:"2"}),r.createElement("g",{fill:t},r.createElement("rect",{x:116,y:26,width:12,height:12,rx:3}),r.createElement("rect",{x:192,y:26,width:12,height:12,rx:3}),r.createElement("rect",{x:116,y:162,width:12,height:12,rx:3}),r.createElement("rect",{x:192,y:162,width:12,height:12,rx:3})),r.createElement("text",{x:160,y:104,textAnchor:"middle",fontSize:"13",fontWeight:"700",fill:t},"9:16"))},"resize-video":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(g,{x:54,y:38,w:196,h:110,c:t,id:e.id}),r.createElement("g",{stroke:t,strokeWidth:"1.8",strokeLinecap:"round"},r.createElement("path",{d:"M54 162 H250"}),r.createElement("path",{d:"M62 156 L54 162 L62 168",fill:"none"}),r.createElement("path",{d:"M242 156 L250 162 L242 168",fill:"none"}),r.createElement("path",{d:"M266 38 V148"}),r.createElement("path",{d:"M260 46 L266 38 L272 46",fill:"none"}),r.createElement("path",{d:"M260 140 L266 148 L272 140",fill:"none"})),r.createElement(f,{x:104,y:168,w:96,h:22,label:"1080 × 1080",c:t,solid:!0}))},"speed-video":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(v,{x:22,y:54,w:276,h:28,c:t,from:0,to:0}),r.createElement("g",{fill:d},[0,1,2,3,4,5,6,7].map(e=>r.createElement("rect",{key:e,x:34+33*e,y:62,width:4,height:12,rx:2}))),r.createElement(v,{x:22,y:112,w:276,h:28,c:t,from:0,to:.52}),r.createElement("g",{fill:t},[0,1,2,3,4,5,6,7].map(e=>r.createElement("rect",{key:e,x:34+17*e,y:120,width:4,height:12,rx:2}))),r.createElement("g",{stroke:t,strokeWidth:"2.4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"M212 120 L222 126 L212 132"}),r.createElement("path",{d:"M226 120 L236 126 L226 132"})),r.createElement(f,{x:250,y:152,w:44,h:21,label:"2×",c:t,solid:!0}),r.createElement(f,{x:26,y:152,w:44,h:21,label:"1×",c:t,dim:!0}))},"slice-audio":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement("rect",{x:20,y:54,width:280,height:92,rx:12,fill:s,stroke:o}),r.createElement(x,{x:34,y:72,w:80,h:56,c:t,dim:!0,bars:8}),r.createElement(x,{x:124,y:72,w:72,h:56,c:t,bars:7,from:3}),r.createElement(x,{x:206,y:72,w:80,h:56,c:t,dim:!0,bars:8,from:9}),r.createElement("g",{stroke:t,strokeWidth:"1.6",strokeDasharray:"4 4"},r.createElement("path",{d:"M119 58 V142"}),r.createElement("path",{d:"M201 58 V142"})),r.createElement(k,{x:201,y:40,c:t,s:1.5}),r.createElement(f,{x:124,y:152,w:72,h:20,label:"FIRST 15s",c:t,solid:!0}))},"extract-audio":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(y,{x:18,y:34,w:130,h:100},r.createElement(g,{x:25,y:47,w:116,h:74,c:t,id:e.id,rx:4})),r.createElement("g",{stroke:t,strokeWidth:"2.2",fill:"none",strokeLinecap:"round"},r.createElement("path",{d:"M152 84 H176"}),r.createElement("path",{d:"M170 78 L176 84 L170 90",strokeLinejoin:"round"})),r.createElement("rect",{x:186,y:44,width:116,height:80,rx:12,fill:s,stroke:t,strokeOpacity:"0.5"}),r.createElement(x,{x:198,y:62,w:92,h:44,c:t,bars:10}),r.createElement(f,{x:210,y:140,w:68,h:21,label:"MP3",c:t,solid:!0}))},"strip-audio":e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(y,{x:26,y:30,w:268,h:92,accent:t},r.createElement(g,{x:33,y:43,w:254,h:66,c:t,id:e.id,rx:4})),r.createElement(x,{x:40,y:136,w:150,h:34,c:t,dim:!0,bars:14}),r.createElement("g",{transform:"translate(238,152)"},r.createElement("path",{d:"M-18 -8 H-10 L-2 -16 V16 L-10 8 H-18 Z",fill:d}),r.createElement("g",{stroke:"#ff6b6b",strokeWidth:"2.4",strokeLinecap:"round"},r.createElement("path",{d:"M6 -8 L20 8"}),r.createElement("path",{d:"M20 -8 L6 8"}))))},"grab-frame":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:12,y:92,w:296,h:82},r.createElement(g,{x:19,y:105,w:88,h:56,c:t,id:a,k:"a",rx:3,faded:!0}),r.createElement(g,{x:113,y:105,w:88,h:56,c:t,id:a,k:"b",rx:3,faded:!0}),r.createElement(g,{x:207,y:105,w:88,h:56,c:t,id:a,k:"c",rx:3,faded:!0})),r.createElement("g",null,r.createElement("path",{d:"M157 100 V78",stroke:t,strokeWidth:"1.6",strokeDasharray:"3 3"}),r.createElement(g,{x:100,y:14,w:120,h:64,c:t,id:a,k:"d"}),r.createElement("rect",{x:100,y:14,width:120,height:64,rx:8,fill:"none",stroke:t,strokeWidth:"2"})),r.createElement(f,{x:16,y:22,w:56,h:21,label:"PNG",c:t,solid:!0}))},"convert-video":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(y,{x:26,y:44,w:110,h:92,faded:!0},r.createElement(g,{x:33,y:57,w:96,h:66,c:t,id:a,k:"a",rx:4})),r.createElement(f,{x:44,y:144,w:70,h:22,label:"MOV",c:t,dim:!0}),r.createElement(h,{x:146,y:90,w:24,c:t}),r.createElement(y,{x:184,y:44,w:110,h:92,accent:t},r.createElement(g,{x:191,y:57,w:96,h:66,c:t,id:a,k:"b",rx:4})),r.createElement(f,{x:204,y:144,w:70,h:22,label:"MP4",c:t,solid:!0}))},"convert-image":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(g,{x:26,y:44,w:106,h:92,c:t,id:a,k:"a",faded:!0}),r.createElement(f,{x:44,y:144,w:70,h:22,label:"PNG",c:t,dim:!0}),r.createElement(h,{x:144,y:90,w:24,c:t}),r.createElement(g,{x:182,y:44,w:106,h:92,c:t,id:a,k:"b"}),r.createElement(f,{x:200,y:144,w:70,h:22,label:"JPG",c:t,solid:!0}))},"video-gif":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement(g,{x:24,y:56,w:78,h:62,c:t,id:a,k:"a",rx:6}),r.createElement(g,{x:110,y:56,w:78,h:62,c:t,id:a,k:"b",rx:6,flat:!0}),r.createElement(g,{x:196,y:56,w:78,h:62,c:t,id:a,k:"c",rx:6}),r.createElement("g",{stroke:t,strokeWidth:"2.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("path",{d:"M274 126 V138 H34"}),r.createElement("path",{d:"M44 130 L34 138 L44 146"})),r.createElement(f,{x:128,y:154,w:62,h:22,label:"GIF",c:t,solid:!0}))},vectorize:e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement("g",{fill:"#3a4152"},[[44,74],[60,74],[76,74],[92,74],[52,90],[68,90],[84,90],[44,106],[60,106],[76,106],[92,106],[60,122],[76,122]].map(e=>{let t=n(e,2),a=t[0],c=t[1];return r.createElement("rect",{key:"".concat(a,"-").concat(c),x:a,y:c,width:15,height:15})})),r.createElement(h,{x:128,y:100,w:24,c:t}),r.createElement("g",null,r.createElement("path",{d:"M232 52 L246 88 L286 92 L256 116 L266 154 L232 134 L198 154 L208 116 L178 92 L218 88 Z",fill:t,fillOpacity:"0.14",stroke:t,strokeWidth:"2",strokeLinejoin:"round"}),[[232,52],[286,92],[266,154],[198,154],[178,92]].map(e=>{let a=n(e,2),c=a[0],l=a[1];return r.createElement("rect",{key:"".concat(c,"-").concat(l),x:c-4,y:l-4,width:8,height:8,fill:"#0b0b0c",stroke:t,strokeWidth:"1.6"})})))},"print-ready":e=>{let t=e.c,a=e.id;return r.createElement(r.Fragment,null,r.createElement("g",null,r.createElement("rect",{x:92,y:22,width:136,height:156,rx:6,fill:"#e9eaec"}),r.createElement("rect",{x:104,y:34,width:112,height:132,rx:3,fill:"none",stroke:"#b6b9bf",strokeDasharray:"4 4"}),r.createElement(g,{x:112,y:44,w:96,h:72,c:t,id:a,rx:3}),r.createElement("rect",{x:112,y:126,width:96,height:7,rx:3.5,fill:"#c8cbd1"}),r.createElement("rect",{x:112,y:140,width:64,height:7,rx:3.5,fill:"#d6d8dd"})),r.createElement(f,{x:16,y:54,w:54,h:22,label:"A4",c:t,solid:!0}),r.createElement(f,{x:244,y:122,w:66,h:22,label:"300 DPI",c:t,solid:!0}))},subtitles:e=>{let t=e.c;
1return r.createElement(r.Fragment,null,r.createElement(y,{x:22,y:30,w:276,h:112},r.createElement(g,{x:29,y:43,w:262,h:86,c:t,id:e.id,rx:4}),r.createElement("rect",{x:72,y:100,width:176,height:22,rx:5,fill:"#0b0b0c",fillOpacity:"0.82"}),r.createElement("text",{x:160,y:115,textAnchor:"middle",fontSize:"11",fontWeight:"600",fill:"#eef0f3"},"Hello — welcome back.")),r.createElement(f,{x:54,y:158,w:64,h:22,label:"SCC",c:t,dim:!0}),r.createElement(h,{x:128,y:169,w:20,c:t}),r.createElement(f,{x:160,y:158,w:64,h:22,label:"SRT",c:t,solid:!0}))}},S=e=>{let t=e.c;return r.createElement(r.Fragment,null,r.createElement(g,{x:90,y:44,w:140,h:112,c:t,id:e.id}),r.createElement(u,{x:112,y:64,s:9,c:t}))};function M(e){let t=e.art,a=e.accent,c=void 0===a?"#D1FE17":a,l=e.className;const n="a".concat((0,r.useId)().replace(/:/g,"")),i=_[t]||S;return r.createElement("svg",{className:l,viewBox:"0 0 320 200",preserveAspectRatio:"xMidYMid slice",role:"presentation","aria-hidden":"true",focusable:"false"},r.createElement("defs",null,r.createElement("linearGradient",{id:"".concat(n,"-bg"),x1:"0",y1:"0",x2:"1",y2:"1"},r.createElement("stop",{offset:"0%",stopColor:"#141519"}),r.createElement("stop",{offset:"100%",stopColor:"#0a0a0c"})),r.createElement("linearGradient",{id:"".concat(n,"-sky"),x1:"0",y1:"0",x2:"0",y2:"1"},r.createElement("stop",{offset:"0%",stopColor:"#334066"}),r.createElement("stop",{offset:"100%",stopColor:"#10121a"})),r.createElement("linearGradient",{id:"".concat(n,"-fade"),x1:"0",y1:"0",x2:"1",y2:"0"},r.createElement("stop",{offset:"0%",stopColor:c,stopOpacity:"0"}),r.createElement("stop",{offset:"50%",stopColor:c,stopOpacity:"0.55"}),r.createElement("stop",{offset:"100%",stopColor:c,stopOpacity:"0"})),r.createElement("radialGradient",{id:"".concat(n,"-glow"),cx:"50%",cy:"50%",r:"50%"},r.createElement("stop",{offset:"0%",stopColor:c,stopOpacity:"0.2"}),r.createElement("stop",{offset:"100%",stopColor:c,stopOpacity:"0"})),r.createElement("pattern",{id:"".concat(n,"-checker"),width:"14",height:"14",patternUnits:"userSpaceOnUse"},r.createElement("rect",{width:"14",height:"14",fill:"#1a1b1f"}),r.createElement("rect",{width:"7",height:"7",fill:"#232429"}),r.createElement("rect",{x:"7",y:"7",width:"7",height:"7",fill:"#232429"}))),r.createElement("rect",{width:"320",height:"200",fill:"url(#".concat(n,"-bg)")}),r.createElement("ellipse",{cx:"248",cy:"26",rx:"150",ry:"92",fill:"url(#".concat(n,"-glow)")}),i({c,id:n}))}Object.keys(_);const L={"make-image":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mmna5dhjPixazoAi_1773308927239.png",model:"nano-banana-pro",badge:"FROM A PROMPT"},"edit-image":{url:"https://imagesai.appypie.com/7686410/V9fcgyH9Cfxbbpqesdy3_017696794161401.jpg",model:"grok-imagine-edit",badge:"RESTYLED"},"combine-images":{url:"https://imagesai.appypie.com/7686410/1v8Tz7gyqwSc2to6tiki_017670016821172.png",model:"photo-collage-maker",badge:"SIDE BY SIDE"},"make-video":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/videoframe_1192_1770280435981.png",model:"kling-video-3-0-pro",badge:"5s CLIP"},"restyle-video":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/videoframe_1005_1769688816137.png",model:"grok-imagine-video",badge:"NEW STYLE"},"stitch-videos":{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/119576.webp",model:"kling-video-2-6-motion-control",badge:"1s FADE"},"continue-video":{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/803597",model:"wan-2-6-flash-i2v",badge:"NEXT SCENE"},"make-music":{url:"https://aiimages.pixazo.ai/7686410/PreviewImageUrlT17761601441126.webp",model:"minimax-music-2-0",badge:"30s TRACK"},"swap-audio":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mleulid5PixazoAi_1770622070194.png",model:"elevenlabs-voice-changer",badge:"NEW AUDIO"},"upscale-image":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mnxcu5ifPixazoAi_1776094562307.png",model:"seedvr2",badge:"4×"},"upscale-video":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/videoframe_5327_1768812122179.png",model:"crystal-video-upscaler",badge:"720p → 1080p"},"cutout-image":{url:"https://imagesai.appypie.com/10096875/G39u2ZFTtLjtDrHK1POD_017679502081416.png",model:"profile-picture-maker",badge:"TRANSPARENT PNG"},"cutout-video":{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/810479",model:"veed-video-bg-removal-fast",badge:"NO GREEN SCREEN"},"lip-sync":{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/779287",model:"omnihuman-1-5",badge:"MOUTH SYNCED"},"trim-video":{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/508145",model:"motion-control",badge:"KEEP FIRST 5s"},"crop-video":{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/26405.webp",model:"kling-video-2-6-motion-control",badge:"→ 9:16"},"resize-video":{url:"https://imagesai.appypie.com/7686410/PreviewImageUrlT17681919881865.webp",model:"ltx-2-distilled-t2v",badge:"1080 × 1080"},"speed-video":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mlhr9m20PixazoAi_1770797826167.png",model:"minecraft-parkour-video",badge:"2× SPEED"},"slice-audio":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mleulid5PixazoAi_1770640396791.png",model:"tracks",badge:"FIRST 15s"},"extract-audio":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/13613__1__1776778857822.jpg",model:"minimax-speech-2-8",badge:"→ MP3"},"strip-audio":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/4080666_286_1777356409768.jpg",model:"chatterbox",badge:"MUTED"},"grab-frame":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/videoframe_5875_1768812173343.png",model:"crystal-video-upscaler",badge:"→ PNG"},"convert-video":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/videoframe_5041__4__1771505182240.png",model:"runway-gen-4-5",badge:"→ MP4"},"convert-image":{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mnx8q5hyPixazoAi_1776087659497.png",model:"gpt-image-1-5",badge:"→ JPG"},"video-gif":{url:"https://imagesai.appypie.com/7686410/gifVideo_1767612836_1940.gif",model:"gif-generator",badge:"→ GIF"},vectorize:{url:"https://imagesai.appypie.com/dynamicmodelasset/sample-data-set/images/mk51vs50PixazoAi_1767852764166.png",model:"logo-maker",badge:"→ SVG"},"print-ready":{url:"https://imagesai.appypie.com/7686410/axV1bslr1UJxzk3tDx0j_017670122021512.png",model:"poster-maker",badge:"A4 · 300 DPI"},subtitles:{url:"https://imagesai.appypie.com/7686410/MyUploads/Images/AiStudioUploaded/490752",model:"omnihuman-1-5",badge:"→ SRT"}},N=e=>L[e]||null;var C=a(78137),A=a(16503),z=a(25577);function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?O(Object(a),!0).forEach(function(t){F(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function F(e,t,a){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,c,l,n,i=[],o=!0,m=!1;try{if(l=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;o=!1}else for(;!(o=(r=l.call(a)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(e){m=!0,c=e}finally{try{if(!o&&null!=a.return&&(n=a.return(),Object(n)!==n))return}finally{if(m)throw c}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?R(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}const T="all",V=l.V7.reduce((e,t)=>e+t.cards.length,0),j=[{art:"make-video",accent:"#D1FE17"},{art:"video-gif",accent:"#C79BFF"},{art:"make-image",accent:"#7CE7C7"}],W=()=>r.createElement("svg",{viewBox:"0 0 20 20",width:"15",height:"15",fill:"none","aria-hidden":"true"},r.createElement("circle",{cx:"9",cy:"9",r:"5.4",stroke:"currentColor",strokeWidth:"1.7"}),r.createElement("path",{d:"M13.2 13.2 L17 17",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"}));function U(e){let t=e.art,a=e.accent,c=e.className,l=e.transform,n=void 0===l?"width=480,quality=70,format=auto":l;const i=N(t),o=I((0,r.useState)(!1),2),m=o[1];return!i||o[0]?r.createElement(M,{art:t,accent:a,className:c}):r.createElement("img",{className:c,src:(s=i.url,/\.gif(\?|$)/i.test(s||"")?i.url:(0,C.nO)(i.url,n)),alt:"",loading:"lazy",decoding:"async",draggable:!1,onError:()=>m(!0)});var s}function G(e){var t;let a=e.card,c=e.accent,l=e.maxOnly,n=e.used,i=e.onUse;const o=a.example.trim(),m=null===(t=N(a.art))||void 0===t?void 0:t.badge;return r.createElement("article",{className:"agt-card".concat(n?" is-used":""),style:{"--agt-accent":c}},r.createElement("button",{type:"button",className:"agt-card__art",onClick:i,"aria-label":"Use this template: ".concat(a.title),title:"Use this prompt — ".concat(o)},r.createElement(U,{art:a.art,accent:c,className:"agt-card__media"}),l&&r.createElement("span",{className:"agt-card__max"},"Max"),m&&r.createElement("span",{className:"agt-card__badge"},m)),r.createElement("div",{className:"agt-card__body"},r.createElement("h4",{className:"agt-card__title"},r.createElement("span",{className:"agt-card__icon","aria-hidden":"true"},a.icon),a.title),r.createElement("p",{className:"agt-card__desc"},a.desc),r.createElement("button",{type:"button",className:"agt-card__example",onClick:i},r.createElement("span",{className:"agt-card__quote"},o),r.createElement("span",{className:"agt-card__cta"},n?"Added ✓":"Use →"))))}const D=r.memo(G);function H(){const e=(0,c.wA)(),t=(0,c.d4)(e=>e.storylineData.projectId),a=I((0,r.useState)(T),2),n=a[0],i=a[1],o=I((0,r.useState)(""),2),m=o[0],s=o[1],d=I((0,r.useState)(null),2),p=d[0],h=d[1],u=(0,r.useRef)(null),g=I((0,r.useState)(()=>(0,A.JW)(t)),2),y=g[0],E=g[1];(0,r.useEffect)(()=>{E((0,A.JW)(t))},[t]),(0,r.useEffect)(()=>{const e=e=>{var t;return E("free"===(null==e||null===(t=e.detail)||void 0===t?void 0:t.mode)?"free":"paid")};return window.addEventListener(A.tp,e),()=>window.removeEventListener(A.tp,e)},[]);const x="free"===y;(0,r.useEffect)(()=>()=>clearTimeout(u.current),[]);const f=(0,r.useMemo)(()=>{const e=m.trim().toLowerCase();return l.V7.filter(e=>n===T||e.id===n).map(t=>P(P({},t),{},{cards:e?t.cards.filter(t=>"".concat(t.title," ").concat(t.desc," ").concat(t.example).toLowerCase().includes(e)):t.cards})).filter(e=>e.cards.length>0)},[n,m]),w=(0,r.useMemo)(()=>f.reduce((e,t)=>
1e+t.cards.length,0),[f]),b=(0,r.useCallback)((t,a)=>{(0,A.HR)({text:t.example,maxOnly:!!a.maxOnly,title:t.title}),"undefined"!=typeof window&&window.innerWidth<=768&&e((0,z.HH)(!0)),h(t.title),clearTimeout(u.current),u.current=setTimeout(()=>h(null),1800)},[e]);return r.createElement("section",{className:"agt","aria-label":"Agent templates"},r.createElement("div",{className:"agt__hero"},r.createElement("div",{className:"agt__hero-copy"},r.createElement("h2",{className:"agt__hero-title"},r.createElement("span",{className:"agt__hero-mark"},"CREATE")," ANYTHING BY JUST ASKING"),r.createElement("p",{className:"agt__hero-sub"},"Agent P picks the model, plans the steps and delivers the finished file. Tap any card to drop its prompt into the chat — then hit send."),r.createElement("div",{className:"agt__hero-meta"},r.createElement("span",null,r.createElement("strong",null,V)," things it can do"),r.createElement("span",{className:"agt__hero-dot"}),r.createElement("span",null,"Type ",r.createElement("kbd",null,"@")," to use your own files"))),r.createElement("div",{className:"agt__hero-art","aria-hidden":"true"},j.map((e,t)=>r.createElement("div",{key:e.art,className:"agt__hero-tile agt__hero-tile--".concat(t+1)},r.createElement(U,{art:e.art,accent:e.accent,className:"agt__hero-media",transform:"width=320,quality=70,format=auto"}))))),r.createElement("div",{className:"agt__toolbar"},r.createElement("div",{className:"agt__chips",role:"tablist","aria-label":"Template categories"},r.createElement("button",{type:"button",role:"tab","aria-selected":n===T,className:"agt__chip".concat(n===T?" is-active":""),onClick:()=>i(T)},"All"),l.V7.map(e=>r.createElement("button",{key:e.id,type:"button",role:"tab","aria-selected":n===e.id,className:"agt__chip".concat(n===e.id?" is-active":""),style:{"--agt-accent":e.accent},onClick:()=>i(e.id),title:e.blurb},r.createElement("span",{className:"agt__chip-dot"}),e.short||e.title))),r.createElement("label",{className:"agt__search"},r.createElement(W,null),r.createElement("input",{type:"text",value:m,onChange:e=>s(e.target.value),placeholder:"Search — upscale, crop, music…","aria-label":"Search templates"}),m&&r.createElement("button",{type:"button",className:"agt__search-clear",onClick:()=>s(""),"aria-label":"Clear search"},"✕"))),x&&r.createElement("p",{className:"agt__lite-note"},"You're in ",r.createElement("strong",null,"Lite"),". Cards marked ",r.createElement("span",{className:"agt__badge"},"Max")," only run in Max — flip the Lite/Max toggle next to the chat box to use them."),f.map(e=>r.createElement("div",{className:"agt__section",key:e.id},r.createElement("div",{className:"agt__section-head"},r.createElement("span",{className:"agt__section-dot",style:{background:e.accent}}),r.createElement("h3",{className:"agt__section-title"},e.title),e.maxOnly&&r.createElement("span",{className:"agt__badge",title:"Runs in Max mode only"},"Max"),r.createElement("span",{className:"agt__section-blurb"},e.blurb)),r.createElement("div",{className:"agt__grid"},e.cards.map(t=>r.createElement(D,{key:t.title,card:t,accent:e.accent,maxOnly:e.maxOnly,used:p===t.title,onUse:()=>b(t,e)}))))),0===w&&r.createElement("div",{className:"agt__empty"},r.createElement("p",{className:"agt__empty-title"},"No template matches “",m.trim(),"”."),r.createElement("p",{className:"agt__empty-sub"},"You can still just ask — the agent reads plain English, it doesn't need a template."),r.createElement("button",{type:"button",className:"agt__empty-reset",onClick:()=>{s(""),i(T)}},"Show all ",V," templates")),r.createElement("footer",{className:"agt__foot"},"Tip: type ",r.createElement("kbd",null,"@")," in the chat to point at anything you've uploaded or generated — e.g. ",r.createElement("em",null,"“Upscale @Image1”"),". Uploads and results both get a handle automatically."))}function J(){const e=(0,c.wA)();return r.createElement("div",{className:"agt-empty-history"},r.createElement("div",{className:"agt-empty-history__art","aria-hidden":"true"},r.createElement(U,{art:"make-video",accent:"#D1FE17",className:"agt-empty-history__media"})),r.createElement("h3",{className:"agt-empty-history__title"},"Nothing rendered yet"),r.createElement("p",{className:"agt-empty-history__sub"},"Every image, video and audio file the agent delivers lands here — click one to preview, download, or send it back into the chat with ",r.createElement("kbd",null,"@"),"."),r.createElement("button",{type:"button",className:"agt-empty-history__cta",onClick:()=>e((0,z.EP)("sample"))},"Browse templates →"))}},16503(e,t,a){a.d(t,{GH:()=>o,HR:()=>s,JW:()=>i,Ub:()=>m});const r=e=>"agenticMode:".concat(e),c="agenticMode:last",l="agentic:use-prompt",n="agentic:mode";function i(e){try{const t=localStorage.getItem(r(e));return"free"===t||"paid"===t?t:"free"===localStorage.getItem(c)?"free":"paid"}catch(t){return"paid"}}function o(e,t){const a="free"===t?"free":"paid";try{localStorage.setItem(r(e),a),localStorage.setItem(c,a)}catch(l){}return a}function m(e){try{window.dispatchEvent(new CustomEvent(n,{detail:{mode:e}}))}catch(t){}}function s(e){if(null!=e&&e.text)try{window.dispatchEvent(new CustomEvent(l,{detail:e}))}catch(t){}}a.d(t,["tp",0,n,"y7",0,l])},14656(e,t,a){a.d(t,["V7",0,[{id:"create",title:"Create",short:"Create",blurb:"Available in both Lite and Max.",maxOnly:!1,accent:"#D1FE17",cards:[{icon:"🖼",title:"Make an image",desc:"Generate a brand-new image from a text description.",example:"A serene mountain landscape at sunset in watercolor style.",art:"make-image",tools:["pixazo_generate_image"]},{icon:"✏️",title:"Edit or restyle an image",desc:"Take an image you uploaded and change its style, add elements, or fix details.",example:"Convert @Image1 to Studio Ghibli style.",art:"edit-image",tools:["pixazo_edit_image"]},{icon:"🧩",title:"Combine images",desc:"Merge multiple images into a single composition — side-by-side, stacked, or grid.",example:"Compose @Image1 and @Image2 side by side.",art:"combine-images",tools:["pixazo_compose_images"]}
1,{icon:"🎬",title:"Make a video",desc:"Generate a short video from a prompt — or animate a still image.",example:"Animate @Image1 with a gentle slow camera zoom (5 seconds).",art:"make-video",tools:["pixazo_generate_video","pixazo_animate_image"]},{icon:"🌀",title:"Restyle or edit a video",desc:"Convert any uploaded video to a new visual style — anime, watercolor, comic, painterly.",example:"Restyle @Video1 to CoMix Wave anime style.",art:"restyle-video",tools:["pixazo_reference_video","pixazo_edit_video"]},{icon:"🎞",title:"Stitch videos with a transition",desc:"Join two or more videos end-to-end with a smooth crossfade or hard cut.",example:"Join @Video1 and @Video2 with a 1-second fade transition.",art:"stitch-videos",tools:["pixazo_compose_videos"]},{icon:"🔗",title:"Continue a video",desc:"Generate the next scene of your story. The agent grabs the final frame of your previous clip so characters, lighting, and setting stay consistent across cuts.",example:"Continue @Video1 — the character walks into the next room.",art:"continue-video",tools:["pixazo_continue_video"]},{icon:"🎵",title:"Make music",desc:"Generate an original audio track from a text description of the mood, genre, and instruments.",example:"Generate a 30-second upbeat lo-fi track with soft piano.",art:"make-music",tools:["pixazo_generate_music"]},{icon:"🔊",title:"Add or replace audio",desc:"Swap a video's audio track with a different audio file.",example:"Replace the audio of @Video1 with @Audio1.",art:"swap-audio",tools:["pixazo_mux_audio"]}]},{id:"enhance",title:"Enhance & clean up",short:"Enhance",blurb:"Raise quality or isolate a subject.",maxOnly:!0,accent:"#7CE7C7",cards:[{icon:"🔍",title:"Upscale an image",desc:"Super-resolve a small or soft image to a larger, sharper version.",example:"Upscale @Image1 to a higher resolution.",art:"upscale-image",tools:["pixazo_upscale_image"]},{icon:"📽",title:"Upscale a video",desc:"Raise a clip's resolution — good for old footage or low-res exports.",example:"Upscale @Video1 to 1080p.",art:"upscale-video",tools:["pixazo_upscale_video"]},{icon:"✂️",title:"Remove an image background",desc:"Cut the subject out of a photo and drop the background to transparent.",example:"Remove the background from @Image1.",art:"cutout-image",tools:["pixazo_remove_image_background"]},{icon:"🎭",title:"Remove a video background",desc:"Roto the subject out of a clip, frame by frame, with no green screen.",example:"Remove the background from @Video1.",art:"cutout-video",tools:["pixazo_remove_video_background"]},{icon:"👄",title:"Lip-sync a video",desc:"Re-sync a talking head's mouth to a different audio track — dubbing, translation, or a re-recorded VO.",example:"Lip-sync @Video1 to @Audio1.",art:"lip-sync",tools:["pixazo_lip_sync"]}]},{id:"reframe",title:"Trim, crop & resize",short:"Reframe",blurb:"Reshape a clip without regenerating it.",maxOnly:!0,accent:"#8AB4FF",cards:[{icon:"⏱",title:"Trim a video",desc:"Keep only the part of the clip you want and drop the rest.",example:"Trim @Video1 to the first 5 seconds.",art:"trim-video",tools:["pixazo_trim_video"]},{icon:"🔲",title:"Crop or reframe a video",desc:"Re-crop a clip to a new aspect ratio — 9:16 for Reels, 1:1 for feed, 16:9 for YouTube.",example:"Crop @Video1 to 9:16 for Reels.",art:"crop-video",tools:["pixazo_crop_video"]},{icon:"📐",title:"Resize a video",desc:"Scale a clip to exact pixel dimensions without re-cropping it.",example:"Resize @Video1 to 1080x1080.",art:"resize-video",tools:["pixazo_resize_video"]},{icon:"⏩",title:"Change video speed",desc:"Speed a clip up or slow it down; the audio is pitch-corrected to match.",example:"Play @Video1 at 2x speed.",art:"speed-video",tools:["pixazo_change_video_speed"]},{icon:"🎚",title:"Slice audio",desc:"Cut an audio file down to the section you actually need.",example:"Cut @Audio1 down to the first 15 seconds.",art:"slice-audio",tools:["pixazo_slice_audio"]}]},{id:"extract",title:"Pull audio & frames out",short:"Extract",blurb:"Split a clip into its parts.",maxOnly:!0,accent:"#FFB86B",cards:[{icon:"🎧",title:"Extract the audio",desc:"Pull a clip's soundtrack out as a standalone audio file.",example:"Extract the audio from @Video1 as an MP3.",art:"extract-audio",tools:["pixazo_extract_audio"]},{icon:"🔇",title:"Remove the audio",desc:"Strip the soundtrack and keep a silent video — handy before adding a new one.",example:"Remove the audio from @Video1.",art:"strip-audio",tools:["pixazo_strip_audio"]},{icon:"📸",title:"Grab a still frame",desc:"Freeze one moment of a clip as an image — a thumbnail, a poster, or a reference for the next shot.",example:"Grab a still frame from @Video1 at 3 seconds.",art:"grab-frame",tools:["pixazo_extract_frame"]}]},{id:"convert",title:"Convert & export",short:"Convert",blurb:"Get a file into the format a platform or printer needs.",maxOnly:!0,accent:"#C79BFF",cards:[{icon:"🔄",title:"Convert a video format",desc:"Transcode a clip to MP4 so it plays everywhere.",example:"Convert @Video1 to MP4.",art:"convert-video",tools:["pixazo_convert_video"]},{icon:"🖨",title:"Convert an image format",desc:"Change an image between PNG, JPG, WEBP, HEIC and more.",example:"Convert @Image1 to JPG.",art:"convert-image",tools:["pixazo_convert_image"]},{icon:"🎡",title:"Video to animated GIF",desc:"Turn a short clip into a looping GIF for chat, docs, or email.",example:"Turn @Video1 into an animated GIF.",art:"video-gif",tools:["pixazo_video_to_gif"]},{icon:"📈",title:"Vectorize to SVG",desc:"Trace a logo or flat graphic into clean vector paths that scale to any size.",example:"Vectorize @Image1 to an SVG.",art:"vectorize",tools:["pixazo_vectorize_image"]},{icon:"🖼",title:"Prepare for print",desc:"Set an image to a real paper size and DPI. If it lacks the pixels for a crisp print, the agent says so instead of faking it.",example:"Prepare @Image1 for print at A4, 300 DPI.",art:"print-ready",tools:["pixazo_prepare_for_print"]},{icon:"💬",title:"Convert subtitles",desc:"Convert a caption file between SCC, SRT, VTT and ASS — broadcast captions to web-ready subtitles.",example:"Convert this caption file to SRT: ",art:"subtitles",tools:["pixazo_convert_subtitles"]}]}]])},78137(e,t,a){var r=a(55179);const c=e=>{if(!e||"string"!=typeof e)return e;if(!e.includes("cdn-cgi/image"))return e;const t=e.indexOf("cdn-cgi/image/");if(-1===t)return e;const a=e.substring(t+14),r=a.indexOf("/http");return-1===r?e:a.substring(r+1)},l=new Set(["w","width","h","height","q","quality","format","f","fit","dpr"]),n=e=>{if(!e||"string"!=typeof e)return e;const t=e.indexOf("?");if(-1===t)return e;try{const a=e.substring(0,t),r=new URLSearchParams(e.substring(t+1));let c=!1;for(const e of[...r.keys()])l.has(e.toLowerCase())&&(r.delete(e),c=!0);if(!c)return e;const n=r.toString();return n?"".concat(a,"?").concat(n):a}catch(a){return e}},i=new Set(["imagesai.appypie.com"]);a.d(t,["IQ",0,c,"Sk",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.time,r=void 0===a?"1s":a,c=t.width,l=void 0===c?640:c;if(!e||"string"!=typeof e)return"";if(e.includes("/cdn-cgi/media/"))return e;let n="";try{n=new URL(e).hostname}catch(o){return""}return i.has(n)?"https://".concat(n,"/cdn-cgi/media/mode=frame,t
1ime=").concat(r,",width=").concat(l,",format=jpg/").concat(e):""},"nO",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"width=297,quality=70,format=auto";if(!e||"string"!=typeof e)return e;if(e.startsWith("data:")||e.startsWith("blob:"))return e;if(e.includes("/cdn-cgi/media/"))return e;let a=c(e);return a=n(a),"".concat(r.ML,"/").concat(t,"/").concat(a)},"oJ",0,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.