| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /volume1/@appstore/SynologyPhotos/ui/ |
Upload File : |
"use strict";(self.webpackChunkFotoReactLibrary=self.webpackChunkFotoReactLibrary||[]).push([["764"],{77842:function(e,n,t){t.r(n);var i=t(7409),a=t(99282),o=t(24460),r=t(23930),c=t.n(r),l=t(45697),s=t.n(l),d=t(67294),u=t(94184),f=t.n(u),h=t(15593),m=t(59435),p=t(8057),g=t(96904),y=t(7719),v=t(79905),b=t(22287),T=t(34774),E=function(e){var n,t=e.handleClose,r=e.updateSelectedAction,c=e.isOpen,l=e.faceList,s=e.library,u=e.thumbnailType,E=e.hintText,_=(0,h.I0)(),k=(0,o._)((0,d.useState)(l.toJS()),2),w=k[0],R=k[1],C=function(e){(!0===w[e].hidden||w.filter(function(e){return!0!==e.hidden}).length>1)&&R(w.map(function(n,t){return t===e?(0,a._)((0,i._)({},n),{hidden:!n.hidden}):n}))};return 0===w.length?null:d.createElement(m.Z,{isOpen:c,className:"synofoto-preview-face-dialog",title:(0,v.n6)("app","reassign_confirm_face"),confirmText:(0,v.n6)("action","ok"),handleConfirm:function(){_(r(w.filter(function(e){return!0!==e.hidden}))),t()},handleCancel:t,showCancel:!0,content:d.createElement(d.Fragment,null,d.createElement("div",{className:"synofoto-preview-face-dialog-hint"},E),d.createElement("div",{className:"synofoto-preview-face-dialog-content"},(n=[],w.forEach(function(e,t){var i=e.id,a=e.additional.thumbnail,o=e.hidden||!1,r=f()("synofoto-selectable-person-overlay","select-mode",{checked:o});n.push(d.createElement("div",{className:"synofoto-selectable-wrapper synofoto-preview-face-dialog-image",key:"preview_face_".concat(i)},d.createElement(p.Z,{imageHeight:100,imageWidth:100,imageUrl:(0,T.AJ)(i,a,u,(0,b.$E)(),void 0,s),isCover:!0,isPerson:!0}),d.createElement("div",{className:r},d.createElement(y.Z,{actionType:"merge_person",visibility:!1,handler:function(){return C(t)},checked:o,dataTestId:"face-button-".concat(i)}))))}),n))),contentPadding:g.k3.TOP_AND_BOTTOM})};E.propTypes={handleClose:s().func.isRequired,updateSelectedAction:s().func.isRequired,isOpen:s().bool.isRequired,faceList:c().list.isRequired,library:s().string.isRequired,thumbnailType:s().string.isRequired,hintText:s().string.isRequired},n.default=E}}]);