PageSourceSearch

https://photobucket.com/assets/js/UpsellModalContainer-C1bX5yT5.js

js photobucket.com collected 2026-09-24 06:56:59 UTC 6,759 bytes, 1 lines download raw bytes

1import{_ as e,a as l}from"./_virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-B177jzqY.js";import{d as h}from"./_virtual_mf___mfe_internal__host__mf_owner__1__loadShare___mf_0_unleash_mf_1_proxy_mf_2_client_mf_2_react__loadShare__.js-BdtqsXmB.js";import{a as x,e as b,b as y}from"./_virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react__loadShare__.js-ClGO9exV.js";import{D as N,e as w,f as v,g as _,a2 as k,X as C,h as D,S as P,n as I,d as A,C as g,r as u,bX as f,iB as E}from"./index-C8DIms-h.js";import{u as R}from"./useAnalytics-Bqtss9LT.js";import{u as T}from"./useStartPlusCheckout-Cfk75TzO.js";import{D as L}from"./Download01Icon-CklEFm9u.js";import{F as S}from"./FolderPlusIcon-DnEAqiFG.js";import{H as U}from"./HardDriveIcon-Co0x_itC.js";import{R as V,a as F,b as z}from"./RadioGroup-B4auUEKB.js";import"./__virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react__loadShare__.js_commonjs-proxy-D_fXcg40.js";import"./virtualExposes-_ivNhQLP.js";import"./remoteEntry-uboCqDRT.js";import"./preload-helper-s0Msbe4-.js";import"./index-DM2295YJ.js";import"./_virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-_fD68H2V.js";import"./__virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react_mf_2_dom__loadShare__.js_commonjs-proxy-BYnSnx8j.js";import"./_virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react_mf_2_router_mf_2_dom__loadShare__.js-CK4j7iSY.js";import"./_virtual_mf___mfe_internal__host__mf_owner__1__loadShare__react_mf_2_dom__loadShare__.js-ckyQG2Wp.js";import"./CompositeRoot-CHYGGtuW.js";import"./useCompositeItem-Dt2AISPC.js";import"./DirectionContext-CJiZK74l.js";import"./CompositeItem-C1ACorGw.js";import"./useRegisterFieldControl-B2c9p962.js";import"./FieldItemContext-B9aN8s5J.js";import"./useControlled-DMkbsAxB.js";import"./useValueChanged-DjAsLpO_.js";const B=[{Icon:L,label:"Download photos and videos in their original quality"},{Icon:S,label:"Create unlimited groups to share and collaborate"},{Icon:U,label:"Back up your photos automatically with 1 TB of storage"}],G=[{id:"monthly",name:"Monthly",amount:"$8",unit:"month"},{id:"annual",name:"Annually",amount:"$80",unit:"year"}],M=[{id:"monthly",name:"Monthly",amount:"$10",unit:"month"},{id:"annual",name:"Annually",amount:"$100",unit:"year"}],$="linear-gradient(174.55deg, #6a3bf5 0%, #ff00b3 100%)",j="linear-gradient(158.72deg, #ede0ff 0%, #ffe0ea 97.34%)",H="linear-gradient(145.45deg, rgba(255, 224, 234, 0.5) 0%, rgba(200, 155, 255, 0.5) 100%)";function O({open:m,onClose:o,onUpgrade:t,plusPricing:n=!1}){const[s,p]=x("annual"),i=n?M:G;return e(N,{open:m,onOpenChange:a=>{a||o()},children:l(w,{children:[e(v,{}),l(_,{"data-groupsy-root":!0,initialFocus:!1,className:"flex max-h-[calc(100dvh-32px)] w-[520px] max-w-[calc(100vw-32px)] flex-col items-center gap-16 overflow-x-hidden overflow-y-auto rounded-24 bg-background px-24 pt-24 pb-24 sm:gap-24 sm:px-0 sm:pt-40 sm:pb-56",children:[e(k,{"aria-label":"Close",className:"absolute top-0 right-0 flex items-center rounded-12 pt-16 pr-16 pb-[10px] pl-[10px] text-foreground outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:e(C,{size:"small"})}),l("div",{className:"flex w-full flex-col gap-0 text-center sm:w-[472px]",children:[l(D,{className:"font-display text-3xl font-semibold text-foreground",children:["Free has limits."," ",e("span",{className:"bg-clip-text text-transparent",style:{backgroundImage:$},children:"You don’t have to."})]}),e(P,{className:"font-display text-base font-semibold text-foreground",children:"Upgrade to premium features and leave the limits behind."})]}),l("div",{className:"relative w-full sm:w-[422px]",children:[e("div",{"aria-hidden":!0,className:"absolute top-[7px] left-[-13px] hidden h-[114px] w-[168px] items-center justify-center sm:flex",children:e("div",{className:"rotate-[-3deg] skew-x-[7deg]",children:e("div",{className:"h-[107px] w-[149px] rounded-[13px] bg-violet-300 opacity-40"})})}),e("div",{"aria-hidden":!0,className:"absolute top-[5px] right-[-13px] hidden h-[119px] w-[239px] items-center justify-center sm:flex",children:e("div",{className:"rotate-[2deg] skew-x-[-5deg]",children:e("div",{className:"h-[111px] w-[227px] rounded-[13px] bg-violet-300 opacity-40"})})}),e("ul",{className:"relative z-10 flex w-full list-none flex-col gap-12 rounded-16 p-16 sm:gap-16 sm:p-20",style:{backgroundImage:j},children:B.map(({Icon:a,label:r})=>l("li",{className:"flex w-full items-start gap-8",children:[e(a,{size:"small",className:"shrink-0"}),e("p",{className:"flex-1 font-text text-base font-normal text-foreground",children:r})]},r))})]}),l("div",{className:"flex w-full flex-col items-center gap-12 rounded-16 border-t border-b-[3px] border-pink-150 p-16 sm:w-[440px] sm:gap-16 sm:p-20",style:{backgroundImage:H},children:[e("p",{id:"premium-upsell-plan-heading",className:"font-display text-lg font-semibold text-foreground",children:"Choose your Plan"}),e(V,{"aria-labelledby":"premium-upsell-plan-heading",value:s,onValueChange:a=>p(a),className:"flex w-full flex-col gap-12 sm:gap-16",children:i.map(({id:a,name:r,amount:c,unit:d})=>l(F,{value:a,className:I("group flex h-56 w-full items-center gap-8 rounded-[21px] border border-transparent bg-brand-100 px-16 py-16 text-left outline-none sm:h-[70px] sm:py-20","focus-visible:ring-3 focus-visible:ring-ring/50 data-[checked]:border-brand-500"),children:[e("span",{className:"flex size-20 shrink-0 items-center justify-center rounded-full border border-brand-400 bg-white group-data-[checked]:border-brand-500 group-data-[checked]:bg-brand-500",children:e(z,{className:"size-8 rounded-full bg-white"})}),e("span",{className:"flex-1 font-display text-base font-semibold text-foreground",children:r}),l("span",{className:"flex items-center whitespace-nowrap text-foreground",children:[e("span",{className:"font-display text-lg font-semibold",children:c}),e("span",{className:"font-display text-base font-semibold",children:"/"}),e("span",{className:"font-text text-sm font-semibold",children:d})]})]},a))}),e(A,{type:"button",onClick:()=>t==null?void 0:t(s),className:"h-48 w-full rounded-24 bg-brand-500 font-display text-base font-semibold text-white hover:bg-brand-500/90",children:"Upgrade"})]})]})]})})}function ye(){const m=g(u),o=g(f),t=h("usePlansV2"),n=m==="upsellModal",{trackEvent:s}=R(),p=T(),i=b(!1);return y(()=>{n&&!i.current&&s(E.PAYWALL_SHOWN,o?{trigger:o}:{}),i.current=n},[n,o,s]),e(O,{open:n,onClose:()=>{u(null),f(null)},onUpgrade:c=>
1{const d=c==="annual"?"annual":"monthly";if(t){u(null),f(null),p(d);return}window.location.href="/subscription/payment?plan_name=sharing&billing_cycle=".concat(d)},plusPricing:t})}export{ye as default};

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.