PageSourceSearch

https://www.photoroom.com/_next/static/immutable/chunks/2tr45arglfvoq.js

js photoroom.com collected 2026-09-24 08:28:21 UTC 27,968 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,414505,e=>{"use strict";var t=e.i(497175),i=e.i(637565);e.i(264361);var n=e.i(845728),o=e.i(376402),r=e.i(687270);let a=(0,r.forwardRef)((e,t)=>{let i="i"+r.useId().replace(/[^a-zA-Z0-9]/g,"");return r.createElement("svg",{viewBox:"0 0 20 20",style:{flexShrink:0},fill:"currentColor","aria-hidden":"true",ref:t,...e},r.createElement("g",{id:`${i}-Icon`},r.createElement("path",{id:`${i}-Vector`,fillRule:"evenodd",d:"M10.0001 3.33341C6.31818 3.33341 3.33341 6.31818 3.33341 10.0001C3.33341 13.682 6.31818 16.6667 10.0001 16.6667C13.682 16.6667 16.6667 13.682 16.6667 10.0001C16.6667 6.31818 13.682 3.33341 10.0001 3.33341ZM1.66675 10.0001C1.66675 5.39771 5.39771 1.66675 10.0001 1.66675C14.6025 1.66675 18.3334 5.39771 18.3334 10.0001C18.3334 14.6025 14.6025 18.3334 10.0001 18.3334C5.39771 18.3334 1.66675 14.6025 1.66675 10.0001ZM6.91083 6.91083C7.23626 6.58539 7.7639 6.58539 8.08934 6.91083L10.0001 8.82157L11.9108 6.91083C12.2363 6.58539 12.7639 6.58539 13.0893 6.91083C13.4148 7.23626 13.4148 7.7639 13.0893 8.08934L11.1786 10.0001L13.0893 11.9108C13.4148 12.2363 13.4148 12.7639 13.0893 13.0893C12.7639 13.4148 12.2363 13.4148 11.9108 13.0893L10.0001 11.1786L8.08934 13.0893C7.7639 13.4148 7.23626 13.4148 6.91083 13.0893C6.58539 12.7639 6.58539 12.2363 6.91083 11.9108L8.82157 10.0001L6.91083 8.08934C6.58539 7.7639 6.58539 7.23626 6.91083 6.91083Z",clipRule:"evenodd"})))});var s=e.i(288082),l=e.i(113001),c=e.i(531735),m=e.i(448454),p=e.i(417175),u=e.i(274689),d=e.i(528149);function g({children:e}){let{isPreview:t,storyId:n}=(0,r.use)(p.DataContext),o=(0,m.useIsClient)(),h=(0,u.useIsUnfolding)(),f=o&&!!t&&!h&&window.location===window.parent.location,y=`https://app.storyblok.com/#/me/spaces/191576/stories/0/0/${n}`;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.default,{}),f&&(0,i.jsxs)("div",{role:"banner",className:"bg-accent-alpha-200 flex w-full flex-wrap items-center justify-center gap-2 px-4 py-2",children:[(0,i.jsxs)("p",{className:"body-500 text-content-accent text-center",children:[(0,i.jsx)(l.InfoCircleIcon,{className:"me-2 inline-flex h-4 w-4 shrink-0 align-text-bottom text-current"}),"Storyblok Preview Mode is on, performance could be degraded."]}),(0,i.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[(0,i.jsx)(c.Button,{as:"a",href:"/api/exit-preview",density:"compact",size:"medium",variant:"secondary-accent",icon:(0,i.jsx)(a,{className:"h-4 w-4 shrink-0 text-current"}),children:"Disable Preview Mode"}),!!n&&(0,i.jsx)(c.Button,{as:"a",href:y,target:"_blank",density:"compact",size:"medium",variant:"secondary-accent",icon:(0,i.jsx)(s.ExternalLinkIcon,{className:"h-4 w-4 shrink-0 text-current"}),children:"Edit in Storyblok"})]})]}),e]})}var h=e.i(18869),f=e.i(654916);let y=/\/(\d+)x(\d+)\//;function I({pageUrl:e,image:t,name:i,description:n,type:o="WebPage",datePublished:a,dateModified:s,about:l,mainEntity:c,mentions:m}){let{locale:u}=(0,r.use)(p.DataContext),d=function(e){let t=(0,f.getSchemaImageUrl)(e);if(!t)return null;let i="string"==typeof e?e:e?.filename,n="string"==typeof e?null:e?.alt,o=i?function(e){let t=e.match(y);if(!t)return null;let i=Number(t[1]),n=Number(t[2]);return i&&n?{width:i,height:n}:null}(i):null;return{"@type":"ImageObject",url:t,contentUrl:t,...n?{caption:n}:{},...o??{}}}(t),g=A(a),_=A(s);return(0,h.useJsonLd)("webpage",{"@context":"https://schema.org","@type":o,"@id":`${e}#webpage`,url:e,name:i,...n?{description:n}:{},inLanguage:u,isPartOf:{"@id":f.WEBSITE_ID},...g?{datePublished:g}:{},..._?{dateModified:_}:{},...l?{about:l}:{},...c?{mainEntity:c}:{},...m&&m.length>0?{mentions:m}:{},...d?{primaryImageOfPage:d}:{}}),null}function A(e){if(!e)return;let t=new Date(e);return Number.isNaN(t.getTime())?void 0:t.toISOString()}function _({story:e}){let{defaultFullSlug:t}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o="api"===t,a=o||t?.startsWith("api/"),s=e.content.seo;return a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(I,{pageUrl:n,name:s?.og_title||s?.title||e.name,description:s?.og_description||s?.description,image:s?.og_image||e.content.editorialImage,about:{"@id":f.SOFTWARE_APP_ID},mainEntity:o?{"@id":f.API_ENTITY_ID}:void 0}),o&&(0,i.jsx)(L,{pageUrl:n,story:e})]}):null}function L({pageUrl:e,story:t}){let i=t.content?.seo?.og_description||t.content?.seo?.description,n=function(e){let t=e.content?.body;if(!Array.isArray(t))return null;let i=t.find(e=>e?.component==="FeaturesListBlock");if(!i)return null;let n=function(e){let t=P(e.features);if(t.length>0)return t;let i=e.globalContent;if(i&&"string"!=typeof i){let e=i.content;return P(e?.featuresList)}return[]}(i);return n.length>0?n:null}(t),o={"@context":"https://schema.org","@type":"WebAPI","@id":f.API_ENTITY_ID,name:t.name,url:e,...i?{description:i}:{},provider:{"@id":f.ORGANIZATION_ID}},r=n?{"@context":"https://schema.org","@type":"ItemList","@id":`${e}#capabilities`,name:"Photoroom API capabilities",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:n.length,itemListElement:n.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name}))}:null;return(0,h.useJsonLd)("api-webapi",o),(0,h.useJsonLd)("api-capabilities",r),null}function P(e){return(e??[]).map(e=>({name:e.title})).filter(e=>!!e.name)}e.i(159087);var b=e.i(585228),O=e.i(240866),N=e.i(400450),x=e.i(240028);function T({story:e}){let{defaultFullSlug:t}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o="api/pricing"===t,a=e.content.seo,s=(0,f.getSchemaImageUrl)(a?.og_image||e.content.editorialImage)??x.GENERIC_OG_IMAGE_URL,l=o?function(e){let t=e.content?.body;if(Array.isArray(t))return t.find(e=>e?.component==="ApiPricingHeroBlock")}(e):void 0,c=function(e,t,i,n){if(!e)return[];let o=[];for(let r of e.items??[]){let e=function(e,t,i,n){switch(e){case"basic":return E({planType:"basic",shortName:N.API_BASIC_PLAN_SHORTNAME,offer:D(N.API_BASIC_PLAN_SHORTNAME,O.API_BASIC_MONTHLY_PRICE,i),featureProps:w(t,"basic"),pageUrl:i,image:n});case"plus":return E({planType:"plus",shortName:N.API_PLUS_PLAN_SHORTNAME,offer:D(N.API_PLUS_PLAN_SHORTNAME,O.API_PLUS_MONTHLY_PRICE,i),featureProps:w(t,"plus"),pageUrl:i,image:n});case"enterprise":return E({planType:"enterprise",shortName:N.API_ENTERPRISE_PLAN_SHORTNAME,featureProps:w(t,"enterprise"),pageUrl:i,image:n});case"partner":return null}}(r.planType,t,i,n);e&&o.push(e)}return o}(l?.cards?.[0],l?.features?.[0],n,s),m=`${n}#plans`,u=c.length>0;return(0,h.useJsonLd)("api-pricing-plan-list",o&&u?{"@context":"https://schema.org","@type":"ItemList","@id":m,name:"Photoroom API Plans",url:n,itemListElement:c.map((e,t)=>({"@type":"ListItem",position:t+1,item:e}))}:null),o?(0,i.jsx)(I,{pageUrl:n,name:a?.og_title||a?.title||e.name,description:a?.og_description||a?.description,image:a?.og_image||e.content.editorialImage,about:{"@id":f.API_ENTITY_ID},mainEntity:u?{"@id":m}:void 0,mentions:[{"@id":f.SOFTWARE_APP_ID}]}):null}let C=b.DEFAULT_CURRENCY.toUpperCase(),S={basic:"isBasic",plus:"isPlus",enterprise:"isEnterprise"};function E({planType:e,shortName:t,featureProps:i,pageUrl:n,image:o,offer:r}){let a=`${n}#plan-${e}`,s=`Photoroom API — ${t}`,l=i.length>0?{additionalProperty:i}:{};return r?{"@type":"Product","@id":a,name:s,brand:f.BRAND,image:o,offers:[r],...l}:{"@type":"Service","@id":a,name:s,provider:{"@id":f.ORGANIZATION_ID},...l}}function D(e,t,i){let n=(0,b.getLocalizedPrice)(t,b.DEFAULT_CURRENCY).toFixed(2);return{"@type":"Offer",name:e,category:"subscription",url:i,seller:{"@id":f.ORGANIZATION_ID},price:n,priceCurrency:C,priceSpecification:{"@type":"UnitPriceSpecification",price:n,priceCurrency:C,billingDuration:"P1M",referenceQuantity:{"@type":"QuantitativeValue",value:1,unitText:"image"}}}}function w(e,t){if(!e?.sections)return[];let i=S[t],n=[];for(let t of e.sections)for(let e of t.items??[])e.featureName&&n.push({"@type":"PropertyValue",name:e.featureName,value:!!e[i]});return n}var v=e.i(735379),R=e.i(734123);let U={blog:{itemListNameKey:"structuredData.blog.itemListName",itemListAnchor:"blog-posts",scriptKeyItemList:"blog-hub-itemlist"},"inside-photoroom":{itemListNameKey:"structuredData.insidePhotoroom.itemListName",itemListAnchor:"inside-photoroom-posts",scriptKeyItemList:"inside-photoroom-hub-itemlist"},"customer-stories":{itemListNameKey:"structuredData.customerStories.itemListName",itemListAnchor:"customer-stories",scriptKeyItemList:"customer-stories-hub-itemlist"}};function j({story:e}){let{defaultFullSlug:t,extraProps:n}=(0,r.use)(p.DataContext),o=(0,f.useCanonicalPageUrl)(),a=(0,v.useTranslations)("common"),s=t?U[t]:void 0,l=e.content.seo,c=l?.og_title||l?.title||e.name,m=l?.og_description||l?.description,u=s?function(e){let t=e.content?.featuredBlogPost?.[0],i=t?.link;if(!i||"string"==typeof i||!i.content)return null;let n=i.content.title||i.name;return n?{storyId:i.id,name:n,url:`https://www.photoroom.com${(0,R.getStoryLink)(i).href}`}:null}(e):null,d=s?function(e,t){if(!e||0===e.length)return[];let i=[];for(let n of e){if(!n?.content||void 0!==t&&n.id===t)continue;let e=n.content.title||n.name;e&&i.push({name:e,url:`https://www.photoroom.com${(0,R.getStoryLink)(n).href}`})}return i}(n?.blogPosts,u?.storyId):[],g=u?[u,...d]:d,y=s?`${o}#${s.itemListAnchor}`:"";return(0,h.useJsonLd)(s?.scriptKeyItemList??"blog-hub-itemlist",s&&g.length>0?{"@context":"https://schema.org","@type":"ItemList","@id":y,name:a(s.itemListNameKey),itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:g.length,itemListElement:g.map((e,t)=>({"@type":"ListItem",position:t+1,url:e.url,name:e.name}))}
1:null),s?(0,i.jsx)(I,{type:"CollectionPage",pageUrl:o,name:c,description:m,image:l?.og_image||e.content.editorialImage,about:{"@id":f.ORGANIZATION_ID},mainEntity:g.length>0?{"@id":y}:void 0}):null}function $({story:e}){var t,n,o,a;let s,l,{defaultFullSlug:c}=(0,r.use)(p.DataContext),m=(0,f.useCanonicalPageUrl)(),u=c?.startsWith("comparisons/"),d=e.content.seo,g=d?.og_title||d?.title||e.name,y=d?.og_description||d?.description,A=u?(t=e,Array.isArray(s=t.content?.body)?s.find(e=>e?.component==="ComparisonBlock")??null:null):null,_=A?.comparisonAppName?.trim(),L=_?`${m}#competitor`:null,P=A?(n=A,o=m,a=_,0===(l=(n.features??[]).map(e=>e.featureName?.trim()).filter(Boolean)).length?null:{"@context":"https://schema.org","@type":"ItemList","@id":`${o}#comparison-table`,name:a?`Photoroom vs. ${a} comparison criteria`:"Photoroom comparison criteria",itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:l.length,itemListElement:l.map((e,t)=>({"@type":"ListItem",position:t+1,name:e}))}):null,b=A?k(A,"isPhotoroomFeature"):[],O=A?k(A,"isOtherAppFeature"):[],N=b.length>0?`${m}#photoroom`:null;return(0,h.useJsonLd)("comparison-photoroom",N?{"@context":"https://schema.org","@type":"SoftwareApplication","@id":N,name:"Photoroom",applicationCategory:"MultimediaApplication",applicationSubCategory:"PhotoEditingApplication",operatingSystem:"iOS, Android, Web",inLanguage:"en",description:f.PHOTOROOM_APP_DESCRIPTION,publisher:{"@id":f.ORGANIZATION_ID},sameAs:f.PHOTOROOM_SAME_AS,additionalProperty:b}:null),(0,h.useJsonLd)("comparison-competitor",L&&_?{"@context":"https://schema.org","@type":"SoftwareApplication","@id":L,name:_,applicationCategory:"MultimediaApplication",...O.length>0&&{additionalProperty:O}}:null),(0,h.useJsonLd)("comparison-itemlist",P),u?(0,i.jsx)(I,{pageUrl:m,name:g,description:y,image:d?.og_image||e.content.editorialImage,datePublished:e.first_published_at,dateModified:e.updated_at,about:{"@id":f.SOFTWARE_APP_ID},mentions:[L,N].filter(e=>!!e).map(e=>({"@id":e})),mainEntity:P?{"@id":P["@id"]}:void 0}):null}function k(e,t){return(e.features??[]).filter(e=>e.featureName?.trim()).map(e=>({"@type":"PropertyValue",name:e.featureName.trim(),value:!!e[t]}))}let M=["automation","catalog","api","onboarding","support","sla","customWorkflows","compliance"];function B({story:e}){let{defaultFullSlug:t}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o=(0,v.useTranslations)("common"),a="enterprise"===t,s=e.content.seo,l=s?.og_title||s?.title||e.name,c=s?.og_description||s?.description,m=`${n}#service`,u=`${n}#capabilities`,d=M.map(e=>o(`structuredData.enterprise.capabilities.${e}`)),g={"@context":"https://schema.org","@type":"Service","@id":m,name:l,url:n,...c?{description:c}:{},serviceType:o("structuredData.enterprise.serviceType"),provider:{"@id":f.ORGANIZATION_ID},isRelatedTo:{"@id":f.SOFTWARE_APP_ID}},y={"@context":"https://schema.org","@type":"ItemList","@id":u,name:o("structuredData.enterprise.capabilitiesListName"),itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:d.length,itemListElement:d.map((e,t)=>({"@type":"ListItem",position:t+1,name:e}))};return(0,h.useJsonLd)("enterprise-service",a?g:null),(0,h.useJsonLd)("enterprise-capabilities",a?y:null),a?(0,i.jsx)(I,{pageUrl:n,name:l,description:c,image:s?.og_image||e.content.editorialImage,about:{"@id":f.SOFTWARE_APP_ID},mainEntity:{"@id":m}}):null}let F={comparisons:{itemListNameKey:"structuredData.comparisons.itemListName",itemListAnchor:"comparisons",aboutId:f.SOFTWARE_APP_ID,scriptKeyItemList:"comparisons-hub-itemlist",emitFreshnessDates:!0},templates:{itemListNameKey:"structuredData.templates.itemListName",itemListAnchor:"templates",aboutId:f.SOFTWARE_APP_ID,scriptKeyItemList:"templates-hub-itemlist"},"use-cases":{itemListNameKey:"structuredData.useCases.itemListName",itemListAnchor:"use-cases",aboutId:f.SOFTWARE_APP_ID,scriptKeyItemList:"use-cases-hub-itemlist"},industry:{itemListNameKey:"structuredData.industry.itemListName",itemListAnchor:"industries",aboutId:f.SOFTWARE_APP_ID,scriptKeyItemList:"industry-hub-itemlist"}};function G({story:e}){let{defaultFullSlug:t}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o=(0,v.useTranslations)("common"),a=t?F[t]:void 0,s=e.content.seo,l=s?.og_title||s?.title||e.name,c=s?.og_description||s?.description,m=a?function(e){let t=e.content?.body;if(!Array.isArray(t))return[];let i=t.find(e=>e?.component==="CardsHeroBlock");if(!i)return[];let n=[];for(let e of i.items??[]){if(e?.component!=="EditorialCardBlock")continue;let t=e.link;if(!t||"string"==typeof t||!t.content)continue;let i=t.content.editorialTitle||t.name;if(!i)continue;let o=t.content.editorialDescription;n.push({name:i,url:`https://www.photoroom.com${(0,R.getStoryLink)(t).href}`,...o?{description:o}:{}})}return n}(e):[],u=a?`${n}#${a.itemListAnchor}`:"";return(0,h.useJsonLd)(a?.scriptKeyItemList??"generic-hub-itemlist",a&&m.length>0?{"@context":"https://schema.org","@type":"ItemList","@id":u,name:o(a.itemListNameKey),itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:m.length,itemListElement:m.map((e,t)=>({"@type":"ListItem",position:t+1,url:e.url,name:e.name,...e.description?{description:e.description}:{}}))}
1:null),a?(0,i.jsx)(I,{type:"CollectionPage",pageUrl:n,name:l,description:c,image:s?.og_image||e.content.editorialImage,datePublished:a.emitFreshnessDates?e.first_published_at:void 0,dateModified:a.emitFreshnessDates?e.updated_at:void 0,about:{"@id":a.aboutId},mainEntity:m.length>0?{"@id":u}:void 0}):null}let W={"@context":"https://schema.org","@type":"Organization","@id":f.ORGANIZATION_ID,name:"Photoroom",legalName:"PHOTOROOM S.A.S",logo:"https://www.photoroom.com/logo.png",url:"https://www.photoroom.com",sameAs:f.PHOTOROOM_SAME_AS,contactPoint:[{"@type":"ContactPoint",url:"https://help.photoroom.com/en/",contactType:"customer support",availableLanguage:["en"]}],foundingDate:"2019",founders:[{"@type":"Person",name:"Matthieu Rouif"},{"@type":"Person",name:"Eliot Andres"}]},J={"@context":"https://schema.org","@type":"SoftwareApplication","@id":f.SOFTWARE_APP_ID,name:"Photoroom",operatingSystem:"iOS, Android, Web",applicationCategory:"MultimediaApplication",applicationSubCategory:"PhotoEditingApplication",description:f.PHOTOROOM_APP_DESCRIPTION,publisher:{"@id":f.ORGANIZATION_ID},inLanguage:["en"],downloadUrl:["https://apps.apple.com/us/app/photoroom-ai-photo-editor/id1455009060","https://play.google.com/store/apps/details?id=com.photoroom.app"],installUrl:"https://www.photoroom.com/",offers:{"@type":"Offer",category:"subscription",url:"https://www.photoroom.com/pricing/"}},H={"@context":"https://schema.org","@type":"WebSite","@id":f.WEBSITE_ID,url:"https://www.photoroom.com/",name:"Photoroom",publisher:{"@id":f.ORGANIZATION_ID}};function K(){return(0,h.useJsonLd)("organization",W),(0,h.useJsonLd)("software-app",J),(0,h.useJsonLd)("website",H),null}e.i(933480);var Z=e.i(980949);function z({story:e}){let{defaultFullSlug:t,extraProps:n}=(0,r.use)(p.DataContext),o=(0,f.useCanonicalPageUrl)(),a=(0,v.useTranslations)("common"),s=t===Z.GLOSSARY_ROOT,l=e.content.seo,c=l?.og_title||l?.title||e.name,m=l?.og_description||l?.description,u=s?n?.glossaryIndexTerms??[]:[],d=`${o}#glossary-terms`;return(0,h.useJsonLd)("glossary-hub-itemlist",u.length>0?{"@context":"https://schema.org","@type":"ItemList","@id":d,name:a("structuredData.glossary.itemListName"),itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:u.length,itemListElement:u.map((e,t)=>({"@type":"ListItem",position:t+1,url:`${o}/${e.slug}`,name:e.name,...e.description?{description:e.description}:{}}))}:null),(0,h.useJsonLd)("defined-term-set",u.length>0?{"@context":"https://schema.org","@type":"DefinedTermSet",name:e.content.editorialTitle||e.name,description:m,url:o,hasDefinedTerm:u.map(e=>({"@type":"DefinedTerm",name:e.name,url:`${o}/${e.slug}`}))}:null),s?(0,i.jsx)(I,{type:"CollectionPage",pageUrl:o,name:c,description:m,image:l?.og_image||e.content.editorialImage,mainEntity:u.length>0?{"@id":d}:void 0}):null}var Y=e.i(670656);function V({story:e}){let t,{defaultFullSlug:i}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o=(0,Y.glossaryTermSlug)(i),a=(t=(e.content.body??[]).find(e=>"GlossaryTermHeroBlock"===e.component),t?.titleBlock?.[0]?.title||e.content.editorialTitle||e.name),s=e.content.editorialDescription;return(0,h.useJsonLd)("defined-term",o&&a?{"@context":"https://schema.org","@type":"DefinedTerm",name:a,description:s,url:n,inDefinedTermSet:`https://www.photoroom.com/${Z.GLOSSARY_ROOT}`}:null),null}function Q({story:e}){let t=(0,f.useCanonicalPageUrl)(),{isHome:n}=(0,R.useIsHomepage)(),o=e.content.seo;return n?(0,i.jsx)(I,{pageUrl:t,name:o?.og_title||o?.title||e.name,description:o?.og_description||o?.description,image:o?.og_image||e.content.editorialImage,about:{"@id":f.SOFTWARE_APP_ID}}):null}let q="Photoroom 100 2026",X=["visualConsistency","productFidelity","imageComposition","imageCoverage","conversionFocus","brandDistinctiveness"];function ee(e){return e.replace(/^\/+|\/+$/g,"").split("/")}function et(e){return e?.trim()?Number(e):NaN}function ei({story:e}){let{defaultFullSlug:t,extraProps:i}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o=(0,v.useTranslations)("common"),a=ee(t??e.full_slug??""),s="100-best-product-pages"===a[0]?a.length:0,l=2===s,c=1===s||l?function(e){let t=e.content?.body;if(!Array.isArray(t))return[];for(let e of t){if(e?.component!=="CardsBlock")continue;let t=function(e){let t=[];for(let i of e.features??[]){if(i?.component!=="EditorialCardBlock")continue;let e=i.link;if(!e||"string"==typeof e)continue;let n=e.content?.editorialTitle||e.name;3===ee(e.default_full_slug??e.full_slug??"").length&&n&&t.push({name:n,url:`https://www.photoroom.com${(0,R.getStoryLink)(e).href}`})}return t}(e);if(t.length>0)return t}return[]}(e):[],m=e.content?.editorialTitle||e.name;(0,h.useJsonLd)("photoroom-100-itemlist",c.length>0?{"@context":"https://schema.org","@type":"ItemList","@id":`${n}#brands`,name:l?o("structuredData.photoroom100.categoryItemListName",{category:m,edition:q}):o("structuredData.photoroom100.hubItemListName",{edition:q}),numberOfItems:c.length,...l?{itemListOrder:"https://schema.org/ItemListOrderAscending"}:{},itemListElement:c.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,url:e.url}))}:null);let u=3===s?function(e,t,i,n){var o;let r,a=e.content?.body;if(!Array.isArray(a))return{};let s=a.find(e=>e?.component==="BrandHeroBlock"),l=a.find(e=>e?.component==="BrandInsightBlock"),c=s?.brandName||l?.brandName;if(!c)return{};let m=`${t}#brand`,p=l?.infoSnapshotBlock?.[0]?.website,u=p?.url||p?.cached_url,d=et(s?.rank),g=(0,f.getSchemaImageUrl)(s?.heroImage)??(0,f.getSchemaImageUrl)(s?.productImages?.[0]?.filename),h=(o=l?.brandSummary,r=e=>e.text??(e.content??[]).map(r).join(""),(o?.content??[]).map(r).filter(
1Boolean).join(" ").replace(/\s+/g," ").trim()),y=function(e){let t=et(e?.maxScore),i=X.map(t=>et(e?.[t]));if(!(!t||i.some(e=>!Number.isFinite(e))))return{"@type":"Rating",ratingValue:i.reduce((e,t)=>e+t,0),bestRating:t*X.length,worstRating:0}}(a.find(e=>e?.component==="BrandScoreBlock"));return{organization:{"@context":"https://schema.org","@type":"Organization","@id":m,name:c,...u?{url:u}:{},...g?{image:g}:{},...s?.brandDescription?{description:s.brandDescription}:{},...i&&d?{award:n("structuredData.photoroom100.award",{edition:q,category:i,rank:d})}:{}},review:{"@context":"https://schema.org","@type":"Review","@id":`${t}#review`,name:n("structuredData.photoroom100.reviewName",{brand:c,edition:q}),itemReviewed:{"@id":m},author:{"@type":"Organization",name:n("structuredData.photoroom100.reviewAuthor")},...h?{reviewBody:h}:{},...y?{reviewRating:y}:{}}}}(e,n,i?.brandCategory,o):{};return(0,h.useJsonLd)("photoroom-100-brand",u.organization??null),(0,h.useJsonLd)("photoroom-100-brand-review",u.review??null),null}var en=e.i(414419),eo=e.i(368607),er=e.i(863476),ea=e.i(841623);let es={pro:eo.PRO_PLAN_NAME,business:eo.BUSINESS_PLAN_NAME,ultra:eo.ULTRA_PLAN_NAME,enterprise:eo.ENTERPRISE_PLAN_NAME},el="https://schema.org/InStock";function ec(e){return(0,b.marketingRoundedAmount)(e/100).toFixed(2)}function em(e){return(e?.items??[]).map(e=>({planType:e.planType,name:e.planNameOverride||es[e.planType],description:(0,ea.getRichtextRawContent)(e.description).trim(),disabledPeriods:new Set(e.isDisabledForPeriods??[]),pricePlanType:"ultra"===e.planType?e.subscriptionOptions?.[0]?.subscriptionType:void 0}))}function ep({story:e}){let{defaultFullSlug:t,extraProps:n}=(0,r.use)(p.DataContext),o=(0,f.useCanonicalPageUrl)(),a=en.PRICING_PAGE_SLUGS.includes(t??""),s=n?.pricingCatalog,l=e.content.seo,c=(0,f.getSchemaImageUrl)(l?.og_image||e.content.editorialImage)??x.GENERIC_OG_IMAGE_URL,m=a&&s?(function(e){let t=e.content?.body;if(!Array.isArray(t))return[];let i=t.find(e=>e?.component==="AppPricingHeroBlock");if(i)return em(i.cards?.[0]);let n=(0,en.getPricingHeroTabs)(e).flatMap(e=>e.hero??[]),o=n.find(e=>"PricingHeroPlans"===e.component),r=n.find(e=>"PricingHeroEnterprise"===e.component)?.card?.[0],a=r?[{planType:"enterprise",name:r.name||eo.ENTERPRISE_PLAN_NAME,description:r.description?.trim()??"",disabledPeriods:new Set}]:[];return[...em(o?.cards?.[0]),...a]})(e).map(e=>{var t,i,n,r;let a,l,m,p;return t=e,i=s,n=o,r=c,a=`${n}#plan-${t.planType}`,l=`Photoroom — ${t.name}`,m=t.description?{description:t.description}:{},0===(p=function(e,t,i){switch(e.planType){case"enterprise":default:return[];case"pro":case"business":case"ultra":return function(e,t,i){let{name:n,disabledPeriods:o,pricePlanType:r,planType:a}=e,s=(0,er.tierForSubscriptionType)(t,r??a);if(!s)return[];let l=t.currency.toUpperCase(),c=[],m=s.price?.monthly?.amount;if("number"==typeof m&&!o.has("monthly")){let e=ec(m);c.push({"@type":"Offer",name:`${n} (monthly)`,category:"subscription",url:i,price:e,priceCurrency:l,availability:el,seller:{"@id":f.ORGANIZATION_ID},priceSpecification:{"@type":"UnitPriceSpecification",price:e,priceCurrency:l,billingDuration:"P1M"}})}let p=s.price?.yearly?.amount;if("number"==typeof p&&!o.has("yearly")){let e=ec(p);c.push({"@type":"Offer",name:`${n} (yearly)`,category:"subscription",url:i,price:e,priceCurrency:l,availability:el,seller:{"@id":f.ORGANIZATION_ID},priceSpecification:{"@type":"UnitPriceSpecification",price:e,priceCurrency:l,billingDuration:"P1Y"}})}return c}({...e,planType:e.planType},t,i)}}(t,i,n)).length?{"@type":"Service","@id":a,name:l,...m,provider:{"@id":f.ORGANIZATION_ID}}:{"@type":"Product","@id":a,name:l,brand:f.BRAND,...m,image:r,offers:p}}):[],u=`${o}#plans`;return(0,h.useJsonLd)("pricing-plan-list",a&&m.length>0?{"@context":"https://schema.org","@type":"ItemList","@id":u,name:"Photoroom Plans",url:o,itemListElement:m.map((e,t)=>({"@type":"ListItem",position:t+1,item:e}))}:null),a?(0,i.jsx)(I,{pageUrl:o,name:l?.og_title||l?.title||e.name,description:l?.og_description||l?.description,image:l?.og_image||e.content.editorialImage,datePublished:e.first_published_at,dateModified:e.updated_at,about:{"@id":f.SOFTWARE_APP_ID},mainEntity:m.length>0?{"@id":u}:void 0}):null}function eu({story:e}){let{defaultFullSlug:t}=(0,r.use)(p.DataContext),n=(0,f.useCanonicalPageUrl)(),o=t?.startsWith("tools/")&&!t.startsWith("tools/category/"),a=e.content.seo,s=a?.og_title||a?.title||e.name,l=a?.og_description||a?.description,c=`${n}#app`;return(0,h.useJsonLd)("tool-software-app",o?{"@context":"https://schema.org","@type":"SoftwareApplication","@id":c,name:s,url:n,operatingSystem:"Web",applicationCategory:"MultimediaApplication",publisher:{"@id":f.ORGANIZATION_ID},...l?{description:l}:{}}:null),o?(0,i.jsx)(I,{pageUrl:n,name:s,description:l,image:a?.og_image||e.content.editorialImage,mainEntity:{"@id":c}}):null}var ed=e.i(564900);function eg({story:e}){let{defaultFullSlug:t,extraProps:n}=(0,r.use)(p.DataContext),o=(0,f.useCanonicalPageUrl)(),a=(0,v.useTranslations)("common"),s="tools"===t,l=e.content.seo,c=l?.og_title||l?.title||e.name,m=l?.og_description||l?.description,u=s?function(e){if(!e||0===e.length)return[];let t=[];for(let i of e)for(let e of(0,ed.asResolvedTools)(i.content?.featuredTools)){if(!e.content)continue;let i=e.content.editorialTitle||e.name;if(!i)continue;let n=(0,R.getStoryLink)(e),o=e.content.editorialDescription;t.push({name:i,url:`https://www.photoroom.com${n.href}`,...o?{description:o}:{}})}return t}(n?.categories):[],d=`${o}#tools`;return(0,h.useJsonLd)("tools-hub-itemlist",s&&u.length>0?{"@context":"https://schema.org","@type":"ItemList","@id":d,name:a("structuredData.tools.itemListName"),itemListOrder:"https://schema.org/ItemListOrderAscending",numberOfItems:u.length,itemListElement:u.map((e,t)=>({"@type":"ListItem",position:t+1,url:e.url,name:e.name,...e.description?{description:e.description}:{}}))}
1:null),s?(0,i.jsx)(I,{type:"CollectionPage",pageUrl:o,name:c,description:m,image:l?.og_image||e.content.editorialImage,about:{"@id":f.SOFTWARE_APP_ID},mainEntity:u.length>0?{"@id":d}:void 0}):null}let eh=(0,r.memo)(function({story:e}){let t=(0,f.useCanonicalPageUrl)(),n=e.content?.seo;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(K,{}),(0,i.jsx)(I,{pageUrl:t,name:n?.og_title||n?.title||e.name,description:n?.og_description||n?.description,image:n?.og_image||e.content.editorialImage}),(0,i.jsx)(Q,{story:e}),(0,i.jsx)(ep,{story:e}),(0,i.jsx)(_,{story:e}),(0,i.jsx)(T,{story:e}),(0,i.jsx)(eu,{story:e}),(0,i.jsx)($,{story:e}),(0,i.jsx)(B,{story:e}),(0,i.jsx)(G,{story:e}),(0,i.jsx)(eg,{story:e}),(0,i.jsx)(j,{story:e}),(0,i.jsx)(z,{story:e}),(0,i.jsx)(V,{story:e}),(0,i.jsx)(ei,{story:e})]})},()=>!0);var ef=e.i(182301);e.s(["default",0,function({initialStory:e}){let{generatedAt:a}=(0,r.use)(p.DataContext),s=(0,ef.useCustomStoryblokState)(e);return s?.content?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(g,{children:[(0,i.jsx)(eh,{story:s}),(0,i.jsx)(n.StoryblokComponent,{blok:s.content}),(0,i.jsx)("div",{className:"hidden","aria-hidden":!0,"data-generated-at":a,"data-commit-sha":t.default.env.VERCEL_GIT_COMMIT_SHA})]}),(0,i.jsx)(o.default,{src:"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onloadTurnstileCallback",strategy:"afterInteractive"}),(0,i.jsx)("script",{children:"if (!window.onloadTurnstileCallback) window.onloadTurnstileCallback = function () {};"})]}):(0,i.jsx)("div",{children:"Loading..."})}],414505)}]);

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.