1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,131733,e=>{"use strict";var t=e.i(272161),a=e.i(397155),i=e.i(609708),l=e.i(820602),r=e.i(990745),s=e.i(119418),o=e.i(191878),n=e.i(936764),c=e.i(301718),d=e.i(103467),h=e.i(522494),u=e.i(259873),m=e.i(229023),f=e.i(809147),v=e.i(849215),p=e.i(195116),L=e.i(865384),x=e.i(211891),g=e.i(966718),b=e.i(149183),C=e.i(579773),y=e.i(899345),A=e.i(721353),j=e.i(205960),M=e.i(812109),S=e.i(592604),P=e.i(638266),F=e.i(929904),N=e.i(457621),z=e.i(582937),w=e.i(894024),k=e.i(593998);function R(e){return(0,t.jsx)(p.MdWarningAmber,{...e,size:e.size??17})}var E=e.i(665097);e.s(["default",0,function({photo:e,revalidatePhoto:T,includeFavorite:_=!0,showKeyCommands:O,alwaysVisible:B,...V}){let{isUserSignedIn:U,registerAdminUpdate:D}=(0,v.useAppState)(),I=(0,P.useAppText)(),$=(0,a.useRef)(null),Z=(0,a.useRef)(null),H=(0,u.useRouter)(),K=(0,u.usePathname)(),G=(0,i.getPathComponents)(K).photoId===e.id,Y=(0,h.isPhotoFav)(e),Q=(0,h.isPathFavs)(K)&&Y,W=(0,E.getVisibilityFromPhoto)(e),q=(0,a.useCallback)(t=>{let a="private"===t;return G&&!!e.hidden!==a?(0,i.pathForPhoto)({photo:{...e,hidden:a}}):void 0},[G,e]),X=(0,a.useMemo)(()=>{let a=[{label:I.admin.edit,icon:(0,t.jsx)(j.default,{}),href:(0,i.pathForAdminPhotoEdit)(e.id)+`?${i.PARAM_REDIRECT}=${encodeURIComponent(K)}`,...O&&{keyCommand:S.KEY_COMMANDS.edit}}];_&&a.push({label:Y?I.admin.unfavorite:I.admin.favorite,icon:(0,t.jsx)(A.default,{size:14,className:"translate-x-[-1px] translate-y-[0.5px]",highlight:Y}),action:()=>(0,c.toggleFavoritePhotoAction)(e.id,Q).then(()=>T?.(e.id)),...O&&{keyCommand:Y?S.KEY_COMMANDS.unfavorite:S.KEY_COMMANDS.favorite}}),a.push({label:I.admin.download,icon:(0,t.jsx)(p.MdOutlineFileDownload,{size:18,className:"translate-x-[-1.5px]"}),href:e.url,hrefDownloadName:(0,d.downloadFileNameForPhoto)(e),...O&&{keyCommand:S.KEY_COMMANDS.download}});let l=(0,E.getVisibilityOptions)(I);return a.push({label:I.admin.setVisibility,icon:(0,t.jsx)("span",{className:"block translate-x-[-1px]",children:l.find(({value:e})=>e===W)?.accessoryStart}),items:l.map(({value:t,label:a,accessoryStart:i})=>({label:a,icon:t===W?(0,f.renderMenuItemCheck)(!0):i,action:()=>(0,s.setPhotoVisibilityAction)(e.id,t,q(t)).then(()=>{T?.(e.id,!0),H.refresh()})}))}),a.push({label:I.admin.sync,labelComplex:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)("span",{children:I.admin.sync}),(0,M.photoNeedsToBeUpdated)(e)&&(0,t.jsx)(y.default,{colorOverride:"blue",className:"ml-1 translate-y-[1.5px]",size:"small"})]}),icon:(0,t.jsx)(g.default,{className:"translate-x-[-1px] translate-y-[0.5px]"}),items:[{label:I.admin.syncAutomatic,icon:(0,t.jsx)(g.default,{className:"translate-x-[-1px] translate-y-[0.5px]"}),action:()=>(0,n.syncPhotoAction)(e.id).then(()=>T?.(e.id))},{label:I.admin.syncUpdateColor,icon:(0,t.jsx)(L.IoMdColorFilter,{size:16,className:"translate-x-[-1px]"}),action:()=>(0,o.storeColorDataForPhotoAction)(e.id,{force:!0}).then(a=>{T?.(e.id),a&&(0,b.toastSuccess)((0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[I.admin.syncUpdateColorSuccess,(0,t.jsx)(C.default,{color:a.oldColor,includeTooltip:!1}),(0,t.jsx)(x.FaArrowRight,{size:10,className:"text-dim"}),(0,t.jsx)(C.default,{color:a.newColor,includeTooltip:!1})]}))})},{label:I.admin.syncOverwrite,icon:(0,t.jsx)(R,{className:"translate-x-[-1.5px]"}),className:"text-warning *:hover:text-warning *:active:text-warning",color:"yellow",action:()=>{if(window.confirm(I.admin.syncOverwriteConfirm))return(0,n.syncPhotoAction)(e.id,{syncMode:"only-missing"}).then(()=>T?.(e.id))}}]}),a.push({label:I.admin.reupload,icon:(0,t.jsx)(N.default,{size:16,className:"translate-x-[-1px] translate-y-px"}),action:()=>new Promise(e=>{Z.current=e,$.current?($.current.value="",$.current.click(),$.current.oncancel=()=>e(!1)):e()})}),{items:a}},[K,I,e,O,_,Y,Q,W,q,T,H]),J=(0,a.useMemo)(()=>({items:[{label:I.admin.delete,icon:(0,t.jsx)(F.default,{className:"translate-x-[-1px]"}),className:"text-error *:hover:text-error *:active:text-error",color:"red",action:()=>
1{if(confirm((0,d.deleteConfirmationTextForPhoto)(e,I)))return(0,l.deletePhotoAction)(e.id,e.url,G).then(()=>{T?.(e.id,!0),D?.()})},...O&&{keyCommandModifier:S.KEY_COMMANDS.delete[0],keyCommand:S.KEY_COMMANDS.delete[1]}}]}),[I,e,O,T,G,D]),ee=(0,a.useMemo)(()=>[X,J],[X,J]);return U||B?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.default,{...V,sections:ee,ariaLabel:`Admin menu for '${(0,d.titleForPhoto)(e)}' photo`}),(0,t.jsx)(w.default,{ref:$,id:`admin-photo-file-${e.id}`,multiple:!1,hidden:!0,onBlobReady:async({blob:t,extension:a})=>(0,z.uploadPhotoFromClient)(t,a).then(t=>(0,r.replacePhotoStorageAction)(e.id,t)).then(()=>T?.(e.id)).finally(Z.current),shouldResize:!k.PRESERVE_ORIGINAL_UPLOADS})]}):null}],131733)},904552,e=>{"use strict";var t=e.i(272161);let a={fujifilm:{label:"Fujifilm",viewBox:"0 9.99 24 4.02",paths:["M18.288 10v3.129c0 .204.096.313.3.313h1.034v.352c0 .04-.028.068-.068.068h-1.672c-.518 0-.6-.284-.6-.544v-3.1c0-.148.056-.216.232-.216h.774m-1.916 0v3.656c0 .164-.068.204-.204.204h-.788v-3.655c0-.125.04-.205.216-.205h.776M0 10.532c0-.3 0-.53.49-.53h2.12v.366c0 .028-.012.054-.054.054H1.28c-.162 0-.244.083-.244.26v.979h1.496v.393c0 .04-.028.054-.056.054h-1.44v1.55c0 .15-.082.204-.246.204H0v-3.33m4.148-.531v2.95c0 .26.04.434.216.53.232.136.64.136.884 0 .164-.096.232-.244.232-.53v-2.76c0-.122.04-.19.218-.19h.774v2.853c0 .667-.42.94-.788 1.035a3.592 3.592 0 0 1-1.7 0c-.558-.164-.816-.49-.816-1.035v-2.663c0-.122.04-.204.19-.204h.79M22.872 10c-.19 0-.314.094-.354.272l-.626 2.663h-.014L21.212 10h-.884c-.176 0-.23.08-.23.23v3.644h.38c.054 0 .08-.026.08-.094v-3.06h.056l.802 3.14h.53c.204 0 .272-.08.328-.272l.72-2.868h.054v3.14h.708c.176 0 .244-.069.244-.23V10h-1.128m-11.708 2.093h-.992v1.767h.788c.136 0 .204-.04.204-.205v-1.562m-.054-.747c.04-.028.054-.056.054-.11V10h-.776c-.176 0-.216.08-.216.204v1.875l.938-.733m-3.4 2.216c.436-.055.572-.314.572-.695v-2.663c0-.164.08-.204.19-.204h.788v2.513c0 .612-.136.927-.49 1.198-.19.136-.516.3-1.25.3-.408 0-.6-.028-.626-.028-.04-.014-.054-.028-.054-.056v-.326c.204-.014.584 0 .87-.04M12.674 10c-.49 0-.49.244-.49.53v.992c0 .028-.014.028-.014.04l-.68.532h.694v1.766h.788c.164 0 .244-.054.244-.204v-1.562h1.442c.028 0 .054-.014.054-.056v-.394h-1.496v-.98c0-.176.082-.256.26-.256h1.278c.04 0 .054-.028.054-.056V10h-2.134"]},nikon:{label:"Nikon",viewBox:"0 8.68 24 6.64",paths:["M8.267 8.681c-.69 0-1.054.463-1.054.873 0 .144.032.653.949.653.762 0 1.057-.488 1.057-.854 0-.244-.2-.672-.952-.672zm-6.87.215L0 15.146h1.72c.194-1 .455-2.056.711-3.138l1.206 3.136H5.27L6.681 8.9H5l-.715 3.176-1.18-3.18Zm8.587.004L8.6 15.144h1.663l.558-2.375.703 2.375h1.705l-.707-2.508 1.715-2.08h-1.91l-1.38 1.664.743-3.32zm6.608 1.465c-2.582 0-2.962 2.01-3.034 2.379-.19.93.02 2.137 1.235 2.457.8.21 2.051.187 2.855-.47.736-.6 1.1-1.619 1.088-2.575-.012-.92-.79-1.791-2.144-1.791zm6.193.072c-.573.038-1.156.35-1.486.807.044-.188.088-.404.14-.658h-1.7l-.999 4.558h1.695l.563-2.586c.104-.476.488-.68.826-.591.146.04.35.15.281.548l-.574 2.63h1.674l.767-3.51a.96.96 0 0 0-.627-1.14 1.594 1.594 0 0 0-.56-.058zm-15.66.121-1.02 4.586h1.676l1.022-4.586zm9.23 1.104c.372-.002.472.218.44.426-.09.545-.245 1.081-.362 1.539-.082.254-.321.4-.601.4-.286 0-.458-.178-.432-.406.04-.384.286-1.357.356-1.549.12-.334.451-.408.6-.41z"]},canon:{label:"Canon",viewBox:"0 0 1000.04 209.153",transform:"matrix(1.2500506,0,0,1.2500506,0,-0.00246783)",paths:["m 130.62,151.03 c -37.195,0 -67.339,-30.16 -67.339,-67.362 0,-37.204 30.144,-67.335 67.339,-67.335 13.11,0 25.35,3.739 35.69,10.22 L 130.62,83.668 197.81,44.872 C 190.51,33.241 180.04,23.219 167.38,15.614 151.27,5.969 128.86,0 104.08,0 68.732,0 37.721,12.845 20.427,32.081 7.623,46.301 0,64.198 0,83.667 c 0,19.483 7.623,37.393 20.427,51.623 17.339,19.26 47.888,32.03 82.653,32.03 34.76,0 65.3,-12.78 82.65,-32.03 0.95,-1.06 1.87,-2.13 2.74,-3.24 l -2.62,-9.82 c -12.19,17.4 -32.38,28.8 -55.23,28.8","m 353.38,163.27 -28.2,-105.2 c -4.53,-17 -20.01,-29.495 -38.44,-29.495 -4.78,0 -9.36,0.854 -13.61,2.4 l -60.71,22.076 62.44,0 10.67,39.848 C 275.18,83.991 261.7,78.571 246.94,78.571 c -29.31,0 -53.04,19.641 -53.04,43.869 0,24.23 23.73,43.9 53.04,43.9 21.1,0 39.76,-10.33 51.27,-26.2 l 6.19,23.13 48.98,0 m -86.02,-16.34 c -13.52,0 -24.48,-10.95 -24.48,-24.49 0,-13.52 10.96,-24.48 24.48,-24.48 13.52,0 24.49,10.96 24.49,24.48 0,13.54 -10.97,24.49 -24.49,24.49 z","m 468.36,28.593 c -3.7,0 -7.2,0.818 -10.32,2.283 l -38.98,18.166 c -1.93,-11.604 -12.01,-20.449 -24.17,-20.449 -3.68,0 -7.19,0.818 -10.35,2.283 l -47.59,22.175 33.46,0 0,110.22 48.98,0 0,-97.958 c 0,-6.759 5.47,-12.261 12.25,-12.261 6.74,0 12.25,5.502 12.25,12.261 l 0,97.958 48.96,0 0,-110.22 c 0,-13.517 -10.97,-24.457 -24.49,-24.457","m 775.52,28.593 c -3.71,0 -7.23,0.818 -10.4,2.283 l -38.94,18.166 c -1.92,-11.604 -12,-20.449 -24.16,-20.449 -3.68,0 -7.19,0.818 -10.36,2.283 l -47.57,22.175 33.45,0 0,110.22 48.97,0 0,-97.958 c 0,-6.759 5.48,-12.261 12.26,-12.261 6.76,0 12.23,5.502 12.23,12.261 l 0,97.958 49,0 0,-110.22 C 800,39.534 789.02,28.594 775.52,28.594","m 652.01,97.959 c 0,38.311 -31.05,69.361 -69.35,69.361 -38.33,0 -69.4,-31.05 -69.4,-69.361 0,-38.301 31.07,-69.366 69.4,-69.366 38.3,0 69.35,31.066 69.35,69.366 M 585.53,49.645 c -2.18,-8.162 -10.57,-13.007 -18.73,-10.813 -8.15,2.185 -13.02,10.58 -10.83,18.741 l 23.79,88.697 c 2.2,8.17 10.57,13.01 18.73,10.85 8.16,-2.21 13.01,-10.6 10.82,-18.76 L 585.53,49.645 Z"]},leica:{label:"Leica",viewBox:"0 0 24 24",paths:["M24 12.003C24 18.628 18.627 24 12 24 5.37 24 0 18.628 0 12.003 0 5.374 5.371 0 12 0c6.
1627 0 12 5.374 12 12.003z"],detail:{fill:"#fff",fillRule:"evenodd",paths:["M9.42 10.954c.198.011.35.146.343.29-.033.94-1.19.795-1.19.795s.17-1.126.846-1.085zm9.313 2.064c.794 0 .952-1.605.952-1.64a.41.41 0 0 0-.423-.398c-.66 0-.9 1.203-.9 1.508 0 .116.007.53.37.53zm-9.949-5.08c.036-.318-.12-.662-.555-.662-1.06 0-1.509 2.963-1.509 2.963s1.853-.438 2.064-2.301zm-6.244 5.82c-.207.021-.423.114-.423.344 0 .139.235.382.608.37.49-.014 1.085-.475 1.085-.475s-.506-.207-1.085-.239a1.026 1.026 0 0 0-.185 0zM11.933 9.446c0 .446.377.555.794.555.418 0 .82-.18.82-.635 0-.456-.48-.555-.82-.555-.471 0-.794.193-.794.635zM9.366 10.53c-1.41 0-2.407.866-2.407 1.904 0 .948.808 1.35 1.852 1.35 1.184 0 2.354-.714 2.354-.714s.071.714 1.006.714c.964 0 1.72-.714 1.72-.714s.417.687 1.376.687c.98 0 1.72-.793 1.72-.793s.272.74 1.243.74c.759 0 1.164-.476 1.164-.476s.212.477.873.477c.808 0 1.402-.556 1.402-.556l-.132-.476s-.307.238-.529.238c-.168 0-.265-.137-.265-.291 0-.347.556-2.064.556-2.064l-1.35.026-.052.212s-.201-.37-.9-.37c-1.352 0-2.085 1.166-2.116 1.852-.007.149-.027.158-.027.158-.032.036-.497.583-1.085.583-.47 0-.555-.384-.555-.635 0-.273.233-1.35.873-1.35.348 0 .555.291.555.291l.186-.608s-.292-.236-.9-.238c-1.308-.001-2.19.967-2.222 1.852-.007.132-.03.176-.027.185-.043.053-.35.423-.767.423-.286 0-.291-.219-.291-.317 0-.135.555-2.064.555-2.064l-1.481.026-.503 1.879s-.826.581-1.958.661c-.584.04-.794-.32-.794-.529v-.08c.001 0 .246.027.424.027.14 0 1.878-.134 1.878-1.19 0-.605-.613-.82-1.376-.82zm12.568 3.889-.132-.476s-3.096 1.078-9.022 1.005c-4.089-.05-7.224-1.243-7.224-1.243s.119-.212.185-.344c.41-.835.9-2.514.9-2.514s2.805-.785 2.805-3.016c0-.706-.674-1.162-1.323-1.19-2.264-.089-2.877 3.128-3.017 3.677-.007.039-.026.053-.026.053-.698-.095-1.085-.238-1.085-.238l-.159.45c.471.223 1.165.29 1.165.29-.136.865-.82 2.488-.82 2.488s-.608-.186-1.376-.186c-1 0-1.35.47-1.376.768-.066.77.911 1.137 1.587 1.137 1.32 0 2.011-.714 2.011-.714s3.695 1.402 7.567 1.402c5.069 0 9.34-1.35 9.34-1.35z"]}},hasselblad:{label:"Hasselblad",viewBox:"198.479 73.723 198.371 15.546",paths:["M304.518,89.098L309.677,89.098L310.119,87.733L304.963,87.733","M344.968,89.098L350.129,89.098L350.571,87.733L345.411,87.733","M231.366,83.87L232.679,83.87L233.631,89.098L237.248,89.098L234.448,73.854L232.036,73.854L226.997,82.591L227.02,82.591L223.048,82.591L222.605,83.87L226.26,83.87L223.243,89.098L225.193,89.098L228.215,83.875L228.208,83.87L231.366,83.87L231.134,82.591L228.951,82.591L228.959,82.588L231.611,78.003L232.446,82.591L231.134,82.591L231.366,83.87Z","M286.934,82.221L285.197,87.681L291.366,87.681L290.941,89.098L280.942,89.098L283.118,82.221L283.105,82.221L280.872,82.221L281.299,80.944L283.53,80.944L283.521,80.941L285.765,73.854L295.761,73.854L295.371,75.202L289.167,75.202L287.341,80.944L291.366,80.944L290.941,82.221L286.934,82.221Z","M304.968,87.736L309.357,73.854L305.67,73.854L300.849,89.098L304.519,89.098","M345.418,87.736L349.81,73.854L346.123,73.854L341.299,89.098L344.969,89.098","M214.079,73.853L211.79,81.085L211.809,81.085L206.191,81.085L206.189,81.085L208.477,73.853L204.861,73.853L202.572,81.085L198.887,81.085L198.479,82.431L202.149,82.431L200.039,89.097L203.655,89.097L205.765,82.431L211.365,82.431L209.259,89.097L212.875,89.097L217.693,73.853L214.079,73.853Z","M366.368,83.87L368.017,83.87L368.971,89.098L372.586,89.098L369.786,73.854L367.373,73.854L362.338,82.591L362.359,82.591L358.39,82.591L357.943,83.87L361.597,83.87L358.584,89.098L360.533,89.098L363.554,83.875L363.546,83.87L366.368,83.87L366.368,82.591L364.29,82.591L364.298,82.588L366.95,78.003L367.785,82.591L367.782,82.591L366.368,82.591L366.368,83.87Z","M248.713,81.869C243.65,78.516 248.806,70.872 255.958,74.836L255.192,76.113C250.76,73.173 247.138,77.308 250.801,78.927C251.867,79.481 252.676,79.736 254.041,80.72C255.415,81.704 255.873,83.061 255.49,84.723C254.383,89.528 248.374,90.647 244.751,87.491L245.732,86.217C250.503,90.219 255.021,85.747 251.996,83.745C250.757,82.922 249.566,82.465 248.713,81.869Z","M266.122,81.869C261.062,78.516 266.214,70.872 273.366,74.836L272.601,76.113C268.167,73.173 264.547,77.308 268.211,78.927C269.278,79.481 270.085,79.736 271.45,80.72
1C272.824,81.704 273.281,83.061 272.899,84.723C271.79,89.528 265.782,90.647 262.16,87.491L263.14,86.217C267.913,90.219 272.43,85.747 269.405,83.745C268.166,82.922 266.974,82.465 266.122,81.869Z","M324.907,80.859L325.566,80.859L325.158,82.253L324.48,82.253L324.401,82.253L322.598,87.747L318.815,87.697L320.636,82.257L320.565,82.257L318.273,82.257L318.735,80.873L319.64,80.873L321.1,80.876L323.449,73.854C323.449,73.854 323.946,73.857 328.415,73.854C334.54,73.846 335.341,79.549 329.26,81.408C334.54,82.634 332.133,88.972 325.15,89.098L318.344,89.098L318.815,87.697L323.905,87.747L325.188,87.747C327.949,87.703 330.821,82.295 326.555,82.253L325.158,82.253L325.566,80.859L326.766,80.859C330.611,80.775 331.455,75.114 327.562,75.201L326.711,75.201L324.907,80.859Z","M386.5,89.098L386.112,89.098L386.112,87.681L386.358,87.681C393.095,87.681 395.789,75.272 390.118,75.272L388.91,75.272L384.657,87.681L386.112,87.681L386.112,89.098L380.616,89.098L385.58,73.854L390.118,73.854C400.626,73.72 398.387,88.676 386.5,89.098Z"]},panasonic:{label:"Panasonic",viewBox:"0 10.16 24 3.68",paths:["M3.157 11.4852c.0399-.6914-.4884-1.2842-1.1798-1.324H0v3.58h1.084v-1.1h.66c.166 0 .333-.02.496-.059.497-.103.87-.52.917-1.025v-.072zm-1.081.005a.35.35 0 0 1-.337.301c-.081.007-.15.007-.23.007h-.425v-.777h.632a.36.36 0 0 1 .36.326.658.658 0 0 1 0 .143zm3.6781 1.45c0-.278-.01-.511-.01-.786a1.654 1.654 0 0 0-.057-.42.666.666 0 0 0-.332-.43 1.046 1.046 0 0 0-.316-.118 2.63 2.63 0 0 0-1.065-.02c-.1.015-.197.043-.29.082a.77.77 0 0 0-.455.5.597.597 0 0 0-.024.261.124.124 0 0 0 .014.048l.86.02a.386.386 0 0 1 .025-.153.262.262 0 0 1 .162-.162.49.49 0 0 1 .342 0 .23.23 0 0 1 .156.157.15.15 0 0 1-.02.13.22.22 0 0 1-.1.078l-.074.024c-.113.03-.228.055-.343.075a6.7928 6.7928 0 0 0-.276.05 3.2483 3.2483 0 0 0-.365.095.787.787 0 0 0-.295.173.621.621 0 0 0-.205.393.792.792 0 0 0 .012.299.71.71 0 0 0 .509.54c.277.084.574.068.841-.043a.83.83 0 0 0 .344-.248c.018.059.038.117.057.176.012.032.03.061.051.087h.948a.414.414 0 0 1-.068-.207c-.0138-.2-.0225-.4004-.026-.601zm-.956-.088a.431.431 0 0 1-.067.193.406.406 0 0 1-.182.145.627.627 0 0 1-.21.054.453.453 0 0 1-.163-.013.244.244 0 0 1-.12-.074.204.204 0 0 1-.057-.106.17.17 0 0 1 .064-.174.314.314 0 0 1 .105-.063c.095-.035.19-.066.288-.093.118-.034.232-.078.342-.131a.907.907 0 0 1 0 .262zm3.262-1.712a1.038 1.038 0 0 0-.755.054 1.662 1.662 0 0 0-.393.262l-.023-.27h-.919v2.559h.982v-1.42a.413.413 0 0 1 .06-.221.383.383 0 0 1 .482-.16c.081.032.142.1.167.183.013.043.02.087.02.131v1.484h1.01v-1.652a1.205 1.205 0 0 0-.06-.394.822.822 0 0 0-.572-.558l.001.002zm5.9501 1.25a1.076 1.076 0 0 0-.42-.231l-.106-.03a4.543 4.543 0 0 0-.58-.122 1.8502 1.8502 0 0 1-.156-.03.3.3 0 0 1-.068-.024.117.117 0 0 1-.059-.152v-.008a.222.222 0 0 1 .131-.105.491.491 0 0 1 .316 0c.107.03.178.133.17.244h.902a.9.9 0 0 0-.055-.31.551.551 0 0 0-.184-.255.848.848 0 0 0-.242-.138 1.196 1.196 0 0 0-.262-.073 2.627 2.627 0 0 0-.642-.037 2.033 2.033 0 0 0-.366.054 1.082 1.082 0 0 0-.444.211.693.693 0 0 0-.28.526.72.72 0 0 0 .052.316.675.675 0 0 0 .393.393c.09.036.183.064.278.082l.554.104c.07.01.138.028.205.051.06.018.103.07.113.131a.19.19 0 0 1-.052.176.304.304 0 0 1-.17.086.492.492 0 0 1-.262-.025.368.368 0 0 1-.105-.061.263.263 0 0 1-.089-.131.41.41 0 0 1-.02-.138h-.932v.055a.773.773 0 0 0 .256.555.99.99 0 0 0 .426.24c.329.098.676.12 1.014.065.16-.023.313-.073.455-.148a.935.935 0 0 0 .176-.118.778.778 0 0 0 .246-.852.632.632 0 0 0-.193-.302v.001zm6.1982-2.226h.957v.676h-.957v-.676zm0 1.024h.957v2.558h-.957v-2.558zm2.872 1.505a1.1666 1.1666 0 0 1-.018.154.393.393 0 0 1-.096.199.299.299 0 0 1-.185.098.364.364 0 0 1-.316-.1.53.53 0 0 1-.152-.26 1.168 1.168 0 0 1 .012-.703.41.41 0 0 1 .178-.232.36.36 0 0 1 .407.017c.092.068.153.17.17.284h.874a.78.78 0 0 0-.09-.417 1.12 1.12 0 0 0-.724-.564 1.711 1.711 0 0 0-.806-.02c-.48.094-.863.456-.984.93a1.383 1.383 0 0 0-.031.621c.023.149.075.291.152.42.095.171.227.32.385.435.189.148.416.239.655.262.18.02.36.012.538-.025a1.24 1.24 0 0 0 .685-.38.928.928 0 0 0 .263-.719h-.917zm-3.704-1.553a1.038 1.038 0 0 0-.755.054 1.656 1.656 0 0 0-.393.262l-.031-.27h-.9181v2.559h.984v-1.428a.425.425 0 0 1 .06-.221.393.393 0 0 1 .484-.16c.08.033.14.1.164.183a.453.453 0 0 1 .021.14v1.483h1.016v-1.652a1.2 1.2 0 0 0-.06-.394.822.822 0 0 0-.572-.558v.002zm-7.8792 1.8c0-.278-.01-.511-.012-.786 0-.142-.018-.283-.054-.42a.675.675 0 0 0-.333-.43 1.056 1.056 0 0 0-.315-.118 2.637 2.637 0 0 0-1.067-.02c-.1.015-.196.043-.289.082a.766.766 0 0 0-.456.5.617.617 0 0 0-.025.261.149.149 0 0 0 .015.048l.86.02a.384.384 0 0 1 .024-.153.262.262 0 0 1 .163-.162.49.49 0 0 1 .342 0 .23.23 0 0 1 .156.157.15.15 0 0 1-.021.13.213.213 0 0 1-.098.078l-.075.024c-.113.03-.228.055-.343.075a6.3141 6.3141 0 0 0-.274.05 3.2042 3.2042 0 0 0-.366.095.762.762 0 0 0-.296.173.617.617 0 0 0-.21.393.753.753 0 0 0 .012.299c.056.26.252.469.508.54.277.084.575.068.842-.043a.808.808
10 0 0 .335-.245c.017.058.036.116.057.173.01.032.029.062.052.087h.948a.418.418 0 0 1-.054-.207 13.4697 13.4697 0 0 1-.026-.601zm-.97-.084a.435.435 0 0 1-.07.189.371.371 0 0 1-.167.145.656.656 0 0 1-.205.054.466.466 0 0 1-.175-.015.248.248 0 0 1-.122-.073.214.214 0 0 1-.055-.105.172.172 0 0 1 .057-.17.344.344 0 0 1 .105-.063 4.83 4.83 0 0 1 .288-.093c.118-.035.233-.079.344-.131.01.087.01.175 0 .262zm5.483-1.72a1.858 1.858 0 0 0-.577 0 1.33 1.33 0 0 0-.747.371 1.21 1.21 0 0 0-.383.798c-.02.185-.003.372.048.551.073.278.239.522.47.693.147.117.32.197.504.235.26.055.527.055.787 0 .184-.038.359-.118.507-.235.23-.17.3961-.415.4681-.693a1.42 1.42 0 0 0 .05-.55 1.208 1.208 0 0 0-.383-.799 1.33 1.33 0 0 0-.743-.37l-.001-.001zm.06 1.814a.388.388 0 0 1-.513.193.371.371 0 0 1-.194-.193.903.903 0 0 1-.072-.246 1.42 1.42 0 0 1 .012-.515.657.657 0 0 1 .1-.247.374.374 0 0 1 .622 0 .627.627 0 0 1 .105.247c.034.17.038.344.01.515a.885.885 0 0 1-.07.246z"]},sony:{label:"Sony",viewBox:"0 9.89 24 4.22",paths:["M8.5505 9.8881c.921 0 1.6574.2303 2.2209.7423.3848.3485.5999.8454.5939 1.3665a1.9081 1.9081 0 0 1-.5939 1.3726c-.5272.4848-1.3483.7423-2.221.7423-.8725 0-1.6785-.2575-2.2148-.7423-.3908-.3485-.609-.8484-.603-1.3726 0-.518.2182-1.015.603-1.3665.5-.4545 1.3847-.7423 2.2149-.7423zm.003 3.6692c.4606 0 .8878-.1606 1.1878-.4575.2999-.2999.4332-.6605.4332-1.1029 0-.4242-.1484-.821-.4333-1.1029-.2938-.2908-.7332-.4545-1.1877-.4545s-.8938.1637-1.1907.4545c-.2848.2818-.4333.6787-.4333 1.103-.006.409.1485.806.4333 1.1029.2969.2939.7332.4575 1.1907.4575zm-4.8418-1.9665c.1605.0424.315.094.4666.1636a1.352 1.352 0 0 1 .3787.2576c.197.206.309.4817.306.7665a.9643.9643 0 0 1-.3787.7788 2.0662 2.0662 0 0 1-.709.3485 3.7231 3.7231 0 0 1-1.1938.1697c-.352 0-.5467-.0406-.8138-.0962l-.077-.016c-.294-.0666-.5817-.1575-.8575-.2787a.0695.0695 0 0 0-.0424-.0121c-.0454 0-.0818.0394-.0818.0848v.203H.1212v-1.4786h.5242a.7559.7559 0 0 0 .1363.418c.2121.2607.4394.3607.6575.4395.3666.1212.7514.1848 1.1362.1969.5526 0 .8756-.134.9455-.163l.009-.0037.0062-.0023c.0616-.0226.3119-.1143.3119-.3916 0-.2743-.2338-.334-.387-.373l-.022-.0058c-.1708-.046-.562-.0872-.9897-.1323l-.1526-.016c-.4848-.0515-.9696-.1273-1.1968-.1758-.4977-.1097-.6942-.2917-.816-.4045l-.0082-.0076A1.0192 1.0192 0 0 1 0 11.1608c0-.497.3394-.797.7575-.9817.4454-.2.9756-.288 1.4392-.288.8211.0031 1.4877.2697 1.727.394.097.0515.1455-.0121.1455-.0606v-.1484h.5272v1.2876h-.4727a.9056.9056 0 0 0-.2939-.4909 1.289 1.289 0 0 0-.297-.1787c-.3968-.1667-.821-.2515-1.2513-.2455-.4423 0-.8665.085-1.0786.2153-.1333.0818-.2.1848-.2.306 0 .1727.1454.2424.2182.2636.1967.0597.6328.103.972.1369.0736.0073.1426.0142.2036.0206.3272.0334 1.012.1243 1.315.2zm18.1673-.9966v-.4787H24v.4696h-.4757c-.1727 0-.2424.0334-.3727.1788l-1.4271 1.63a.098.098 0 0 0-.0182.0698v.7423a1.106 1.106 0 0 0 .0121.103.1496.1496 0 0 0 .1.0909.9368.9368 0 0 0 .1303.009h.4848v.4698h-2.5724v-.4697h.4606a.9343.9343 0 0 0 .1302-.0091.1627.1627 0 0 0 .1031-.091.5626.5626 0 0 0 .009-.1v-.7422c0-.0242 0-.0242-.0333-.0636a606.7592 606.7592 0 0 0-1.4119-1.6028c-.0758-.0788-.2061-.2061-.406-.2061h-.4576v-.4696h2.5876v.4696h-.3121c-.0697 0-.1182.0697-.0576.1455 0 0 .8696 1.0392.8787 1.0513.0091.0122.0152.0122.0273.003.0121-.009.8938-1.0453.8999-1.0543a.0912.0912 0 0 0-.0182-.1273.1095.1095 0 0 0-.0606-.0182zm-6.284-.0031h.4848c.2212 0 .2606.0848.2636.2909l.0273 1.5664-2.5815-2.324H11.944v.4697h.412c.297 0 .3182.1636.3182.309v2.2138c.0004.1285.0009.295-.1818.295h-.506v.4667h2.1634v-.4697h-.5273c-.212 0-.2211-.097-.2242-.303v-1.8816l2.9724 2.6511h.7575l-.0394-2.9966c.003-.218.0182-.2908.2424-.2908h.4726v-.4697H15.595Z"]}},i={fujifilm:{heightEm:.72,verticalAlignEm:0},nikon:{heightEm:.74,verticalAlignEm:0},canon:{heightEm:.72,verticalAlignEm:0},leica:{heightEm:1.2,verticalAlignEm:-.25,fill:"#E20612"},hasselblad:{heightEm:.72,verticalAlignEm:0},panasonic:{heightEm:.72,verticalAlignEm:0},sony:{heightEm:.74,verticalAlignEm:0}};e.s(["default",0,function({brand:e}){let l=a[e],r=i[e],{width:s,height:o}=(e=>{let[,,t,a]=e.split(" ").map(Number);return{width:t,height:a}})(l.viewBox),n=r.heightEm*s/o;return(0,t.jsxs)("svg",{role:"img",viewBox:l.viewBox,width:`${n}em`,height:`${r.heightEm}em`,className:"inline-block shrink-0",style:{verticalAlign:`${r.verticalAlignEm}em`,marginRight:"0.6em"},fill:r.fill??"currentColor",children:[(0,t.jsx)("title",{children:l.label}),(0,t.jsxs)("g",{transform:l.transform,children:[l.paths.map(e=>(0,t.jsx)("path",{d:e},e)),l.detail?.paths.map(e=>(0,t.jsx)("path",{d:e,fill:l.detail?.fill,fillRule:l.detail?.fillRule},e))]})]})}],904552)},389581,e=>{"use strict";var t=e.i(272161),a=e.i(442385),i=e.i(609708),l=e.i(917051),r=e.i(370060),s=e.i(632919),o=e.i(227373),n=e.i(228805),c=e.i(795589),d=e.i(904552);e.s(["default",0,function({camera:e,hideAppleIcon:h,showBrandLogo:u,...m}){let{getCameraCount:f}=(0,n.default)(),v=(0,o.isCameraApple)(e),p=u?(0,c.getCameraBrand)(e.make):void 0;return(0,t.jsx)(r.default,{...m,label:p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{brand:p}),(0,l.formatCameraText)(e,"short")]}):(0,l.formatCameraText)(e),labelForHover:p?(0,l.formatCameraText)(e):void 0,path:(0,i.pathForCamera)(e),hoverQueryOptions:{camera:e}
1,icon:!h&&v?(0,t.jsx)(a.AiFillApple,{title:"Apple",className:"translate-x-[-0.5px] translate-y-[-1px]",size:16}):(0,t.jsx)(s.default,{size:15,className:"translate-x-[-0.5px] translate-y-[-0.5px]"}),hoverCount:m.hoverCount??f(e)})}])},795589,e=>{"use strict";let t=["fujifilm","nikon","canon","leica","hasselblad","panasonic","sony"],a={fujifilm:/\bfuji/i,nikon:/\bnikon/i,canon:/\bcanon/i,leica:/\bleica/i,hasselblad:/\bhasselblad/i,panasonic:/\b(?:panasonic|lumix)/i,sony:/\bsony/i};e.s(["CAMERA_BRANDS",0,t,"getCameraBrand",0,e=>{if(e)return t.find(t=>a[t].test(e))}])},245552,e=>{"use strict";var t=e.i(272161),a=e.i(849215),i=e.i(762981);e.s(["default",0,function({children:e,className:l,...r}){let{shouldShowBaselineGrid:s}=(0,a.useAppState)();return(0,t.jsx)("div",{...r,className:(0,i.clsx)(s&&"bg-baseline-grid",l),children:e})}])},421058,e=>{"use strict";var t=e.i(272161),a=e.i(762981),i=e.i(896460);e.s(["default",0,function({className:e,loadingClassName:l,offsetPadding:r,...s}){return(0,t.jsx)(i.default,{...s,className:(0,a.default)(r&&"-mx-1 -my-0.5","px-1 py-0.5","rounded-md",e),loadingClassName:(0,a.default)("bg-gray-200/50 dark:bg-gray-700/50",l)})}])},427087,e=>{"use strict";var t=e.i(272161),a=e.i(211891);e.s(["default",0,function(e){return(0,t.jsx)(a.FaMapPin,{...e})}])},929904,e=>{"use strict";var t=e.i(272161),a=e.i(991493);e.s(["default",0,function(e){return(0,t.jsx)(a.BiTrash,{...e,size:e.size??15})}])},621139,e=>{"use strict";var t=e.i(272161),a=e.i(397155),i=e.i(640814),l=e.i(828366),r=e.i(53367),s=e.i(691487),o=e.i(153529);let n=Promise.resolve(),c=(0,r.withMiddleware)(i.u,e=>(t,i,r)=>{let c,d=(0,a.useRef)(!1),{cache:h,initialSize:u=1,revalidateAll:m=!1,persistSize:f=!1,revalidateFirstPage:v=!0,revalidateOnMount:p=!1,parallel:L=!1}=r,[,,,x]=l.a.get(l.o);try{(c=(0,l.s)(t?t(0,null):null)[0])&&(c=o.INFINITE_PREFIX+c)}catch(e){}let[g,b,C]=(0,l.c)(h,c),y=(0,a.useCallback)(()=>(0,l.i)(g()._l)?u:g()._l,[h,c,u]);(0,s.useSyncExternalStore)((0,a.useCallback)(e=>c?C(c,()=>{e()}):()=>{},[h,c]),y,y);let A=(0,a.useCallback)(()=>{let e=g()._l;return(0,l.i)(e)?u:e},[c,u]),j=(0,a.useRef)(A());(0,l.u)(()=>{if(!d.current){d.current=!0;return}c&&b({_l:f?j.current:A()})},[c,h]);let M=p&&!d.current,S=e(c,async e=>{let a=g()._i,s=g()._r,o=l.a.get(h),n=o[8],c=()=>o[8]!==n;b({_r:l.U});let d=[],u=A(),[f]=(0,l.c)(h,e),p=f().data,C=[],y=null;for(let e=0;e<u;++e){let[o,n]=(0,l.s)(t(e,L?null:y));if(!o)break;let[u,f]=(0,l.c)(h,o),g=u().data,b=m||a||(0,l.i)(g)||v&&!e&&!(0,l.i)(p)||M||p&&!(0,l.i)(p[e])&&!r.compare(p[e],g);if(i&&("function"==typeof s?s(g,n):b)){let t=async()=>{if(o in x){let e=x[o];delete x[o],g=await e}else g=await i(n);c()||f({data:g,_k:n}),d[e]=g};L?C.push(t):await t()}else d[e]=g;L||(y=g)}return L&&await Promise.all(C.map(e=>e())),c()||b({_i:l.U}),d},r),P=(0,a.useCallback)(function(e,t){let a="boolean"==typeof t?{revalidate:t}:t||{},i=!1!==a.revalidate;return c?(i&&((0,l.i)(e)?b({_i:!0,_r:a.revalidate}):b({_i:!1,_r:a.revalidate})),arguments.length?S.mutate(e,{...a,revalidate:i}):S.mutate()):n},[c,h]),F=(0,a.useCallback)(e=>{let a;if(!c)return n;let[,i]=(0,l.c)(h,c);if((0,l.e)(e)?a=e(A()):"number"==typeof e&&(a=e),"number"!=typeof a)return n;i({_l:a}),j.current=a;let r=[],[s]=(0,l.c)(h,c),o=null;for(let e=0;e<a;++e){let[a]=(0,l.s)(t(e,o)),[i]=(0,l.c)(h,a),n=a?i().data:l.U;if((0,l.i)(n))return P(s().data);r.push(n),o=n}return P(r)},[c,h,P,A]);return{size:A(),setSize:F,mutate:P,get data(){return S.data},get error(){return S.error},get isValidating(){return S.isValidating},get isLoading(){return S.isLoading}}});var d=e.i(65983),h=e.i(83064),u=e.i(978379),m=e.i(536631),f=e.i(762981),v=e.i(849215),p=e.i(606359),L=e.i(638266),x=e.i(522494);let g=e=>parseInt(e.split("__")[1]);e.s(["default",0,function({initialPhotos:e,cacheKey:i,initialOffset:l,itemsPerPage:r,sortBy:s,sortWithPriority:o,excludeFromFeeds:n,query:b,recent:C,year:y,camera:A,lens:j,album:M,tag:S,recipe:P,film:F,focal:N,moreButtonClassName:z="mt-4",wrapMoreButtonInGrid:w,useCachedPhotos:k=!0,includeHiddenPhotos:R,children:E}){let{isUserSignedIn:T}=(0,v.useAppState)(),{utility:_}=(0,L.useAppText)(),O=(0,a.useCallback)((e,t)=>t&&0===t.length?null:`${i}__${e}`,[i]),B=(0,x.isTagPrivate)(S),{data:V,isLoading:U,isValidating:D,error:I,mutate:$,setSize:Z}=c(O,(0,a.useCallback)((e,t)=>(k?u.getPhotosCachedAction:m.getPhotosAction)({offset:l+g(e)*r,sortBy:s,sortWithPriority:o,excludeFromFeeds:n,limit:r,hidden:B?"only":R?"include":"exclude",query:b,recent:C,year:y,camera:A,lens:j,album:M,tag:B?void 0:S,recipe:P,film:F,focal:N},t),[k,s,o,n,l,r,R,B,b,C,y,A,j,M,S,P,F,N]),{initialSize:2,revalidateFirstPage:!1,revalidateOnFocus:!!T,revalidateOnReconnect:!!T}),H=(0,a.useRef)(null),K=U||D,G=(0,a.useMemo)(()=>V&&V[V.length-1]?.length<r,[V,r]),Y=(0,a.useCallback)(()=>{G||K||Z((V?.length??0)+1)},[G,K,Z,V]),Q=(0,a.useCallback)((e,t)=>$(V,{revalidate:(a,i)=>{let l=(V??[]).findIndex(t=>t.some(t=>t.id===e)),r=g(i);return t?r>=l:r===l}}),[V,$]);(0,p.default)({ref:H,onVisible:Y});let W=(0,t.jsx)("div",{ref:H,children:(0,t.jsx)("button",{type:"button",onClick:()=>I?$():Y(),disabled:K,className:(0,f.clsx)("w-full flex justify-center",K&&"subtle"),children:I?_.tryAgain:K?(0,t.jsx)(h.default,{size:20}):_.loadMore})}),q=e?e.concat(V?.flat()??[]):void 0;return(0,t.jsxs)(t.Fragment,{children:[q?E({key:i,photos:q,onLastPhotoVisible:G?void 0:Y,revalidatePhoto:Q}):V?.map((e,t)=>E({key:`${i}-${t}`,photos:e,onLastPhotoVisible:t===V.length-1?Y:void 0,revalidatePhoto:Q})),!G&&(0,t.jsx)("div",{className:z,children:w?(0,t.jsx)(d.default,{contentMain:W}):W})]})}],621139)},501262,e=>{"use strict";var t=e.i(272161),a=e.i(103467),i=e.i(849215),l=e.i(609708),r=e.i(762981),s=e.i(896460),o=e.i(83064),n=e.i(421058),c=e.i(397155),d=e.i(548939),h=e.i(304151),u=e.i(442385),m=e.i(227373);function f({photo:e,children:i,className:s,color:o}){let n=(0,l.pathForPhoto)({photo:e}),v=(0,a.ogCaptionForPhoto)(e),p=(0,a.shouldShowExifDataForPhoto)(e)&&!!v,L=e.title?e.title:e.takenAt||e.createdAt?(0,h.formatDate)({date:e.takenAt||e.createdAt,length:"medium"}).toLocaleUpperCase():(0,a.titleForPhoto)(e,!1),x=(0,c.useMemo)(()=>[e],[e]),g=(0,c.useMemo)(()=>p?(0,t.jsxs)("span",{className:(0,r.default)("flex items-center gap-1","min-w-0"),children:[(0,m.isCameraMakeApple)(e.make)&&(0,t.jsx)(u.AiFillApple,{className:"shrink-0 translate-y-[-0.5px]",size:14}),(0,t.jsx)("span",{className:"truncate",children:v})]}):void 0,[p,e.make,v]),b=(0,c.useMemo)(()=>(0,t.jsx)("span",{className:"truncate",children:L}),[L]);return(0,t.jsx)(d.default,{hoverKey:n,photos:x,photosCount:1,className:s,color:o,header:g,caption:b,children:i})}e.s(["default",0,function({ref:e,photo:c,scroll:d,prefetch:h,nextPhotoAnimation:u,className:m,children:v,loaderType:p="spinner",showHover:L,...x}){let{setNextPhotoAnimation:g}=(0,i.useAppState)(),b=c?{ref:e,className:m,href:(0,l.pathForPhoto)({photo:c,...x}),onClick:()=>g?.(u),scroll:d,prefetch:h}:void 0,C=c?v??(0,a.titleForPhoto)(c):v,y=c&&b?"spinner"===p?(0,t.jsx)(s.default,{...b,children:({isLoading:e})=>(0,t.jsxs)(t.Fragment,{children:[C,e&&(0,t.jsxs)(t.Fragment,{children:["Â ",(0,t.jsx)(o.default,{className:"translate-y-[0.5px]"})]})]})}):(0,t.jsx)(n.default,{...b,offsetPadding:!0,children:C}):(0,t.jsx)("span",{className:(0,r.clsx)("text-gray-300 dark:text-gray-700 cursor-default",m),children:C});return c&&L?(0,t.jsx)(f,{photo:c,className:"inline-flex max-w-full",children:y}):y}],501262)},402235,602921,e=>{"use strict";var t=e.i(272161),a=e.i(621139),i=e.i(231299),l=e.i(281360);function r({photos:e,animate:a=!0,prefetchFirstPhotoLinks:s,onLastPhotoVisible:o,revalidatePhoto:n,showStorageCheck:c,query:d,recent:h,year:u,camera:m,lens:f,album:v,tag:p,recipe:L,film:x,focal:g}){return(0,t.jsx)(i.default,{className:"space-y-1",type:a?"scale":"none",duration:.7,staggerDelay:.15,distanceOffset:0,staggerOnFirstLoadOnly:!0,items:e.map((a,i)=>(0,t.jsx)(l.default,{photo:a,priority:i<=1,prefetchRelatedLinks:s&&0===i,revalidatePhoto:n,shouldZoomOnFKeydown:!1,album:v,primaryTag:p,query:d,recent:h,year:u,showCamera:!m,showLens:!f,showFilm:!x,showRecipe:!L,shouldShareQuery:void 0!==d,shouldShareRecents:void 0!==h,shouldShareYear:void 0!==u,shouldShareCamera:void 0!==m,shouldShareLens:void 0!==f,shouldShareAlbum:void 0!==v,shouldShareTag:void 0!==p,shouldShareFilm:void 0!==x,shouldShareRecipe:void 0!==L,shouldShareFocalLength:void 0!==g,onVisible:i===e.length-1?o:void 0,showStorageCheck:c},a.id)),itemKeys:e.map(e=>e.id)})}
1e.s(["default",0,r],602921),e.s(["default",0,function({cacheKey:e,initialOffset:i,itemsPerPage:l,sortBy:s,sortWithPriority:o,excludeFromFeeds:n,showStorageCheck:c,...d}){return(0,t.jsx)(a.default,{cacheKey:e,initialOffset:i,itemsPerPage:l,sortBy:s,sortWithPriority:o,excludeFromFeeds:n,wrapMoreButtonInGrid:!0,...d,children:({key:e,photos:a,onLastPhotoVisible:i,revalidatePhoto:l})=>(0,t.jsx)(r,{photos:a,...d,onLastPhotoVisible:i,revalidatePhoto:l,showStorageCheck:c},e)})}],402235)},301718,e=>{"use strict";var t=e.i(558126);let a=(0,t.createServerReference)("60d89d5989ac4e3c1ce1b22ceb81f21f2e77850ec0",t.callServer,void 0,t.findSourceMapURL,"toggleFavoritePhotoAction");e.s(["toggleFavoritePhotoAction",0,a])},936764,e=>{"use strict";var t=e.i(558126);let a=(0,t.createServerReference)("6082791b8f68dbb8c4721d44c4b9930d0d7b6ccbf7",t.callServer,void 0,t.findSourceMapURL,"syncPhotoAction");e.s(["syncPhotoAction",0,a])},191878,966718,e=>{"use strict";var t=e.i(558126);let a=(0,t.createServerReference)("602adb93070feee7adc500ba640bec399b3ca35354",t.callServer,void 0,t.findSourceMapURL,"storeColorDataForPhotoAction");e.s(["storeColorDataForPhotoAction",0,a],191878);var i=e.i(272161);e.s(["default",0,function({className:e}){return(0,i.jsx)("svg",{stroke:"currentColor",fill:"currentColor",className:e,strokeWidth:"0",viewBox:"0 0 24 24",height:"15",width:"15",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fill:"none",stroke:"currentColor",strokeWidth:"2",d:"M5,19 L16,19 C19.866,19 23,15.866 23,12 L23,9 M8,15 L4,19 L8,23 M19,5 L8,5 C4.134,5 1,8.134 1,12 L1,15 M16,1 L20,5 L16,9"})})}],966718)},820602,e=>{"use strict";var t=e.i(558126);let a=(0,t.createServerReference)("70f4aae13d2533fbab9a8c781cebb14d4472f7ac9a",t.callServer,void 0,t.findSourceMapURL,"deletePhotoAction");e.s(["deletePhotoAction",0,a])},990745,119418,e=>{"use strict";var t=e.i(558126);let a=(0,t.createServerReference)("60bb4c85797d0fd7b2805f3175b2673321d58f82c7",t.callServer,void 0,t.findSourceMapURL,"replacePhotoStorageAction");e.s(["replacePhotoStorageAction",0,a],990745);let i=(0,t.createServerReference)("70eba7694cd82fc56fc2859063428c986b381a3af3",t.callServer,void 0,t.findSourceMapURL,"setPhotoVisibilityAction");e.s(["setPhotoVisibilityAction",0,i],119418)},96888,e=>{"use strict";var t=e.i(272161),a=e.i(522494),i=e.i(609708),l=e.i(228805),r=e.i(370060),s=e.i(721353);e.s(["default",0,function({badgeIconFirst:e,...o}){let{getTagCount:n}=(0,l.default)();return(0,t.jsx)(r.default,{...o,label:a.TAG_FAVS,path:(0,i.pathForTag)(a.TAG_FAVS),hoverQueryOptions:{tag:a.TAG_FAVS},icon:(0,t.jsx)(s.default,{size:13,className:"translate-x-[-0.5px] translate-y-[-0.5px]",highlight:!0}),iconBadgeEnd:!e&&(0,t.jsx)(s.default,{size:10,className:"translate-y-[-0.5px]",highlight:!0}),hoverCount:o.hoverCount??n(a.TAG_FAVS)})}])},905908,e=>{"use strict";var t=e.i(272161),a=e.i(609708),i=e.i(522494),l=e.i(370060),r=e.i(804186),s=e.i(228805),o=e.i(849215),n=e.i(229023),c=e.i(838356),d=e.i(558126);let h=(0,d.createServerReference)("60920341e03ec0785ae8065a5b7646cd6a62e9a621",d.callServer,void 0,d.findSourceMapURL,"deletePhotoTagGloballyAction"),u=(0,d.createServerReference)("401085a0f2db857913c7db3db0cb61e628e8c1cc9b",d.callServer,void 0,d.findSourceMapURL,"upgradeTagToAlbumAction");var m=e.i(149183),f=e.i(259873),v=e.i(638266),p=e.i(205960),L=e.i(929904);function x({tag:e,count:l}){let r=(0,v.useAppText)(),s=(0,f.usePathname)(),o=(0,f.useRouter)();return(0,t.jsx)(n.default,{ariaLabel:"Tag menu",className:"m-3",classNameButton:"h-3.5 translate-y-1",side:"bottom",sections:[{items:[{label:"Edit",icon:(0,t.jsx)(p.default,{size:17,className:"translate-x-[-1px]"}),href:(0,a.pathForAdminTagEdit)(e)},{icon:(0,t.jsx)(c.TbFolderUp,{size:16,className:"translate-x-[-1px]"}),label:"Upgrade",action:()=>{if(confirm(`Are you sure you want to upgrade "${(0,i.formatTag)(e)}" to an album?`))return u(e).then(()=>{(0,m.toastSuccess)(`"${(0,i.formatTag)(e)}" upgraded to album`),o.push((0,a.pathForAdminAlbumEdit)(e))})}}]},{items:[{icon:(0,t.jsx)(L.default,{className:"translate-x-[-1px]"}),label:"Delete",className:"text-error *:hover:text-error",color:"red",action:()=>
1{if(confirm((0,i.deleteTagConfirmationText)(e,l,r)))return h(e,s)}}]}]})}e.s(["default",0,function({tag:e,showAdminMenu:n,...c}){let{getTagCount:d}=(0,s.default)(),{isUserSignedIn:h}=(0,o.useAppState)(),u=c.hoverCount??d(e);return(0,t.jsx)(l.default,{...c,label:(0,i.formatTag)(e),path:(0,a.pathForTag)(e),hoverQueryOptions:{tag:e},icon:(0,t.jsx)(r.default,{size:14,className:"translate-x-[0.5px]"}),hoverCount:u,action:n&&h&&(0,t.jsx)(x,{tag:e,count:u})})}],905908)},510301,e=>{"use strict";var t=e.i(397155),a=e.i(876971);e.s(["default",0,function({ref:e,shouldScrollIntoView:i}){(0,t.useEffect)(()=>{e?.current&&!(0,a.isElementEntirelyInViewport)(e.current)&&i&&e.current.scrollIntoView({behavior:"smooth"})},[e,i])}])}]);
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.