PageSourceSearch

https://photonq.org/359e92fe0cf75e77c1315937b257409819ed4ab2-d2143ef2a565108f5861.js

js photonq.org collected 2026-10-10 00:18:02 UTC 32,794 bytes, 2 lines download raw bytes

1(self.webpackChunkphotonq=self.webpackChunkphotonq||[]).push([[32618,403194,587766],{32618:function(e,a,t){var r=t(421067).k5;e.exports.FaCloudUploadAlt=function(e){return r({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"}}]})(e)}},231470:function(e,a,t){"use strict";t.d(a,{EA:function(){return c},Q8:function(){return g},rr:function(){return u}});var r=t(681802),s=t(197762),i=t(631427),o=t(692145),l=t(127139);const{withContext:d,PropsProvider:n}=(0,i.a)({key:"skeleton"}),c=d("div"),g=s.forwardRef(function(e,a){const{size:t,...s}=e;return(0,r.jsx)(o.j,{size:t,asChild:!0,ref:a,children:(0,r.jsx)(c,{...s})})});g.displayName="SkeletonCircle";const u=s.forwardRef(function(e,a){const{loading:t=!0,noOfLines:s=3,gap:i,rootProps:o,...d}=e;return(0,r.jsx)(l.B,{gap:i,width:"full",ref:a,...o,children:Array.from({length:t?s:1}).map((e,a)=>(0,r.jsx)(c,{loading:t,height:t?"4":void 0,maxW:t?a===s-1&&s>1?"80%":"100%":void 0,...d},a))})});u.displayName="SkeletonText"},286252:function(e){var a;a=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө"
1:"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function t(t,r){if("string"!=typeof t)throw new Error("slugify: string argument expected");var s=a[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},i=void 0===r.replacement?"-":r.replacement,o=void 0===r.trim||r.trim,l=t.normalize().split("").reduce(function(a,t){var o=s[t];return void 0===o&&(o=e[t]),void 0===o&&(o=t),o===i&&(o=" "),a+o.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),o&&(l=l.trim()),l=l.replace(/\s+/g,i),r.lower&&(l=l.toLowerCase()),l}return t.extend=function(a){Object.assign(e,a)},t},e.exports=a(),e.exports.default=a()},398005:function(e,a,t){"use strict";t.d(a,{A:function(){return p}});var r=t(665585),s=t(127139),i=t(86911),o=t(231470),l=t(947058),d=t(864934),n=t(752061),c=t(775139),g=t(279675),u=t(197762),h=t(32618),m=t(215053);const f=e=>{const{0:a,1:t}=(0,u.useState)(!1),{0:r,1:f}=(0,u.useState)(null),p=e.value;return(0,m.FD)(s.B,{direction:"row",gap:"6",align:"center",width:"full",children:[(0,m.Y)(i.a,{boxSize:36,minW:"36",borderRadius:"lg",bg:"bg.subtle",children:p?(0,m.FD)(m.FK,{children:[r!==p&&(0,m.Y)(o.EA,{borderRadius:"lg",boxSize:"100%"}),(0,m.Y)(l._,{borderRadius:"lg",boxSize:"100%",display:r===p?void 0:"none",src:p,onLoad:()=>{f(p)}})]}):(0,m.Y)(d.o,{boxSize:"100%",borderRadius:"lg",children:(0,m.Y)(n.E,{color:"muted",fontSize:"sm",children:"No image"})})}),(0,m.FD)(s.B,{children:[(0,m.FD)(c.z,{gap:"5",children:[(0,m.FD)(g.$,{loading:a,variant:"outline",onClick:async()=>{t(!0);try{await e.onChoose()}catch(a){}t(!1)},children:[(0,m.Y)(h.FaCloudUploadAlt,{}),"Choose media"]}),e.value&&(0,m.Y)(g.$,{variant:"ghost",onClick:e.onRemove,children:"Remove"})]}),(0,m.Y)(n.E,{fontSize:"sm",mt:"3",color:"muted",children:e.description})]})]})};var p=e=>{const a=(0,r.JW)({id:"FormMediaChooser",onSelect:a=>{e.onChoose(a)}});return(0,m.Y)(f,{onChoose:a.toggleModal,onRemove:e.onRemove,description:e.description,value:e.value})}},403194:function(e,a,t){var r=t(421067).k5;e.exports.FaNewspaper=function(e){return r({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M552 64H88c-13.255 0-24 10.745-24 24v8H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h472c26.51 0 48-21.49 48-48V88c0-13.255-10.745-24-24-24zM56 400a8 8 0 0 1-8-8V144h16v248a8 8 0 0 1-8 8zm236-16H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm-208-96H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm0-96H140c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12z"}}]})(e)}},455498:function(e,a,t){"use strict";t.d(a,{I:function(){return g}});var r=t(86911),s=t(569768),i=t(275558),o=t(279675),l=t(158750),d=t(463214),n=t(887356),c=t(215053);const g=({items:e={},renderItems:a,menuPlacement:t,children:g,...u})=>{const h=Object.entries(e).map(([e,a])=>(0,c.FD)(r.a,{mx:"2",children:[(0,c.Y)(s.Dr,{asChild:!0,value:e,onClick:a.onClick,children:(0,c.FD)(n.N,{variant:"ghost",to:a.path||"#",children:[a.icon&&(0,c.Y)(i.I,{color:"brand.500",asChild:!0,children:(0,c.Y)(a.icon,{})}),a.label]})}),a.divider&&(0,c.Y)(s.bX,{borderColor:"border.emphasized"})]},e));return 0===h.length?null:(0,c.FD)(s.il,{lazyMount:!0,unmountOnExit:!0,positioning:{placement:t},children:[(0,c.Y)(s.cQ,{asChild:!0,children:(0,c.FD)(o.$,{size:"sm",variant:"outline",...u,children:[g,(0,c.Y)(i.I,{asChild:!0,children:(0,c.Y)(d.FaCaretDown,{})})]})}),(0,c.Y)(l.Z,{children:(0,c.Y)(s.y3,{children:(0,c.Y)(s.rm,{children:a?a(h):h})})})]})}},463214:function(e,a,t){var r=t(421067).k5;e.exports.FaCaretDown=function(e){return r({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"}}]})(e)}},465401:function(e,a,t){var r=t(421067).k5;e.exports.FaEdit=function(e){return r({tag:"svg",attr:{viewBox:"0 0 576 512"}
1,child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"}}]})(e)}},675100:function(e,a,t){"use strict";t.d(a,{b:function(){return A}});var r=t(665585),s=t(127139),i=t(950612),o=t(775139),l=t(18744),d=t(752061),n=t(624830),c=t(279675),g=t(928226),u=t(726270),h=t(797284),m=t(716100),f=t(806514),p=t(275558),v=t(86911),C=t(197762),P=t(505362),M=t(698745),F=t(465401),Y=t(184760),b=t(970780),x=t(403194),E=t(827062),D=t(286252),y=t.n(D),T=t(398005),w=t(732474),z=t(455498),H=t(215053);const S=({defaultValue:e,isDisabled:a,items:t,placeholder:r={label:"Choose"},onChange:i})=>{var l,n;const{0:c,1:g}=(0,C.useState)(null),{0:h,1:m}=(0,C.useState)("");(0,C.useEffect)(()=>{e&&g(e)},[e]);const f=(0,C.useMemo)(()=>Object.entries(t).filter(([e,a])=>{const t=e.toLowerCase(),r=a.label.toLowerCase(),s=h.toLowerCase();return t.includes(s)||r.includes(s)}).reduce((e,[a,t],r)=>(e[r]={label:t.label,onClick:()=>{g(a),i&&i(a)}},e),[]),[t,h]),P=null!==c?null===(l=t[c])||void 0===l?void 0:l.label:r.label,M=null!==c?null===(n=t[c])||void 0===n?void 0:n.Icon:r.Icon;return(0,H.Y)(v.a,{pos:"relative",children:(0,H.Y)(z.I,{disabled:a,bgColor:"bg.subtle",items:f,renderItems:e=>(0,H.FD)(s.B,{children:[(0,H.Y)(u.p,{w:"unset",size:"sm",mx:"2",placeholder:"Search...",value:h,onChange:e=>{m(e.target.value)}}),(0,H.Y)(s.B,{overflowY:"auto",maxH:"200px",children:e})]}),children:(0,H.FD)(o.z,{children:[M&&(0,H.Y)(p.I,{as:M}),(0,H.Y)(d.E,{children:P})]})})})},A=({mode:e="create",...a})=>{var t,D,z,A,k,I,O,R,B,N,q,L,j,U;const W=(0,M.A)(),J=(()=>{const e=(0,M.A)();return{heading:{create:e.formatMessage({id:"CmsPagesFormHeadingCreate",defaultMessage:"Create a New Page"}),edit:e.formatMessage({id:"CmsPagesFormHeadingEdit",defaultMessage:"Edit the Page"})},lead:{create:e.formatMessage({id:"CmsPagesFormLeadCreate",defaultMessage:"A page represents an arrangement of fields or blocks that are presented on a specific URL."}),edit:e.formatMessage({id:"CmsPagesFormLeadEdit",defaultMessage:"Edit the page. Enhance SEO and social media presence."})},template:{create:e.formatMessage({id:"CmsPagesFormTemplateCreate",defaultMessage:"Select a Template for the New Page"}),edit:e.formatMessage({id:"CmsPagesFormTemplateEdit",defaultMessage:"The template used for the page"})},templateHelperText:{create:e.formatMessage({id:"CmsPagesFormTemplateHelperTextCreate",defaultMessage:"This template will be applied to the new page, based on the parent page."}),edit:e.formatMessage({id:"CmsPagesFormTemplateHelperTextEdit",defaultMessage:"If you wish to modify the template, create a new page and transfer the content."})},title:{create:e.formatMessage({id:"CmsPagesFormTitleCreate",defaultMessage:"Enter a Title for the New Page"}),edit:e.formatMessage({id:"CmsPagesFormTitleEdit",defaultMessage:"The title of the page"})},titleHelperText:{create:e.formatMessage({id:"CmsPagesFormTitleHelperTextCreate",defaultMessage:"The title of the new page. The URL slug will be automatically generated from the title."}),edit:e.formatMessage({id:"CmsPagesFormTitleHelperTextEdit",defaultMessage:"The title of the page."})},description:{create:e.formatMessage({id:"CmsPagesFormDescriptionCreate",defaultMessage:"Provide a Description for the New Page"}),edit:e.formatMessage({id:"CmsPagesFormDescriptionEdit",defaultMessage:"The description of the page"})},descriptionHelperText:{create:e.formatMessage({id:"CmsPagesFormDescriptionHelperTextCreate",defaultMessage:"The description will be utilized by search engines and social media. Aim for 160-165 characters."}),edit:e.formatMessage({id:"CmsPagesFormDescriptionHelperTextEdit",defaultMessage:"The description will be utilized by search engines and social media. Aim for 160-165 characters."})},parentPage:{create:e.formatMessage({id:"CmsPagesFormParentPageCreate",defaultMessage:"Select a Parent Page"}),edit:e.formatMessage({id:"CmsPagesFormParentPageEdit",defaultMessage:"The parent page of the page"})},parentHelperText:{create:e.formatMessage({id:"CmsPagesFormParentHelperTextCreate",defaultMessage:"This serves as the parent page of the new page."}),edit:e.formatMessage({id:"CmsPagesFormParentHelperTextEdit",defaultMessage:"You have the option to relocate the page to a more suitable parent page."})},image:{create:e.formatMessage({id:"CmsPagesFormImageCreate",defaultMessage:"Image"}),edit:e.formatMessage({id:"CmsPagesFormImageEdit",defaultMessage:"Image"})},imageHelperText:{create:e.formatMessage({id:"CmsPagesFormImageHelperTextCreate",defaultMessage:"Include an image on the page. If left unset, the image of the parent page or site will be utilized."}),edit:e.formatMessage({id:"CmsPagesFormImageHelperTextEdit",defaultMessage:"The image of the page. If left unset, the image of the parent page or site will be utilized."})},post:{create:e.formatMessage({id:"CmsPagesFormPostCreate",defaultMessage:"Mark as a Post"}),edit:e.formatMessage({id:"CmsPagesFormPostEdit",defaultMessage:"Post"})},postHelperText:{create:e.formatMessage({id:"CmsPagesFormPostHelperTextCreate",defaultMessage:"Designate this page as a post to incorporate a date and author field."}),edit:e.formatMessage({id:"CmsPagesFormPostHelperTextEdit",defaultMessage:"Designate this page as a post to incorporate a date and author field."})},postDate:{create:e.formatMessage({id:"CmsPagesFormPostDateCreate",defaultMessage:"Enter a Date for the New Page"}),edit:e.formatMessage({id:"CmsPagesFormPostDateEdit",defaultMessage:"The publication date of the page"})},postDateHelperText:{create:e.formatMessage({id:"CmsPagesFormPostDateHelperTextCreate",defaultMessage:"The date will be employed for post sorting."}),edit:e.formatMessage({id:"CmsPagesFormPostDateHelperTextEdit",defaultMessage:"The date will be employed for post sorting."})},postAuthor:{create:e.formatMessage({id:"CmsPagesFormPostAuthorCreate",defaultMessage:"Enter an Author for the New Page"}),edit:e.formatMessage({id:"CmsPagesFormPostAuthorEdit",defaultMessage:"The author of the page"})},postAuthorHelperText:{create:e.formatMessage({id:"CmsPagesFormPostAuthorHelperTextCreate",defaultMessage:"This will be displayed as the author of the post."}),edit:e.formatMessage({id:"CmsPagesFormPostAuthorHelperTextEdit",defaultMessage:"This will be displayed as the author of the post."})},postCategory:{create:e.formatMessage({id:"CmsPagesFormPostCategoryCreate",defaultMessage:"Enter a Category for the New Page"}),edit:e.formatMessage({id:"CmsPagesFormPostCategoryEdit",defaultMessage:"The category of the page"})},postCategoryHelperText:{create:e.formatMessage({id:"CmsPagesFormPostCategoryHelperTextCreate",defaultMessage:"The category will be used for post classification."}),edit:e.formatMessage({id:"CmsPagesFormPostCategoryHelperTextEdit",defaultMessage:"The category will be used for post classification."})},excludeFromIndex:{create:e.formatMessage({id:"CmsPagesFormExcludeFromIndexCreate",defaultMessage:"Exclude from Index"}),edit:e.formatMessage({id:"CmsPagesFormExcludeFromIndexEdit",defaultMessage:"Exclude from Index"})},excludeFromIndexHelperText:{create:e.formatMessage({id:"CmsPagesFormExcludeFromIndexHelperTextCreate",defaultMessage:"Exclude this page from all index fields (e.g., locations where pages are listed)."}),edit:e.formatMessage({id:"CmsPagesFormExcludeFromIndexHelperTextEdit",defaultMessage:"Exclude this page from all index fields (e.g., locations where pages are listed)."})}}})(),{handleSubmit:V,watch:X,register:$,setValue:G,reset:Z,setError:K,control:Q,formState:{errors:_,isSubmitting:ee}}=(0,P.mN)({defaultValues:a.values});(0,C.useEffect)(()=>{Z(a.values),"edit"===e&&te(!0)},[JSON.stringify(a.values)]);const{0:ae,1:te}=(0,C.useState)(!0),re=e=>{try{var t;return de&&null!==(t=e.blogPost)&&void 0!==t&&t.date||(e.blogPost=void 0),a.onSubmit(e)}catch(s){s instanceof r.bj&&K("slug",{type:"manual",message:W.formatMessage({id:"CmsPagesFormErrorsSlugInUse",defaultMessage:"Slug is already in use"})})}},se=X("title","");(0,C.useEffect)(()=>
1{if("create"!==e)return;const a=y()(se,{lower:!0});G("slug",a)},[e,se,G]);const ie=X("parentPage",""),oe=X("template",""),le=null===(t=a.jaenTemplates)||void 0===t?void 0:t.find(e=>e.id===oe),{0:de,1:ne}=(0,C.useState)(!(null===(D=a.values)||void 0===D||!D.blogPost)),{0:ce,1:ge}=(0,C.useState)(!(null===(z=a.values)||void 0===z||null===(A=z.image)||void 0===A||!A.src)),ue=(0,r.As)();(0,C.useEffect)(()=>{var e;ne(!(null===(e=a.values)||void 0===e||!e.blogPost))},[null===(k=a.values)||void 0===k?void 0:k.blogPost]),(0,C.useEffect)(()=>{var e,t;ge(!(null===(e=a.values)||void 0===e||null===(t=e.image)||void 0===t||!t.src))},[null===(I=a.values)||void 0===I||null===(O=I.image)||void 0===O?void 0:O.src]);const he=X("blogPost",void 0);var me,fe;return(0,C.useEffect)(()=>{if(he&&de&&(he.date||G("blogPost.date",(new Date).toISOString().slice(0,16)),!he.author)){var e,a,t,r,s,i;const o=(null===(e=ue.user)||void 0===e||null===(a=e.profile)||void 0===a?void 0:a.nickname)||(null===(t=ue.user)||void 0===t||null===(r=t.profile)||void 0===r?void 0:r.name)||(null===(s=ue.user)||void 0===s||null===(i=s.profile)||void 0===i?void 0:i.email);o&&G("blogPost.author",o)}},[null==he?void 0:he.date]),(0,C.useEffect)(()=>{var e;de||G("blogPost",(null===(e=a.values)||void 0===e?void 0:e.blogPost)||void 0)},[de]),"edit"===e&&ae?(0,H.Y)(s.B,{w:"full",separator:(0,H.Y)(i.k,{}),gap:"4",children:(0,H.FD)(s.B,{children:[(0,H.FD)(o.z,{justifyContent:"space-between",children:[(0,H.FD)(o.z,{children:[(0,H.Y)(l.D,{as:"h2",size:"sm",children:(null===(me=a.values)||void 0===me?void 0:me.title)||W.formatMessage({id:"CmsPagesLabelsFallbackTitle",defaultMessage:"Page"})}),(0,H.Y)(d.E,{fontSize:"sm",color:"fg.muted",children:null==le?void 0:le.label})]}),(0,H.FD)(n.e,{variant:"outline",children:[(0,H.FD)(w.N,{as:c.$,to:a.path,children:[(0,H.Y)(Y.FaEye,{}),W.formatMessage({id:"CmsPagesFormButtonsPreview",defaultMessage:"Preview"})]}),(0,H.FD)(c.$,{variant:"outline",onClick:()=>{te(!1)},children:[(0,H.Y)(F.FaEdit,{}),W.formatMessage({id:"CmsPagesFormButtonsEdit",defaultMessage:"Edit page"})]})]})]}),(0,H.Y)(d.E,{fontSize:"sm",color:"fg.muted",maxW:"70%",children:null===(fe=a.values)||void 0===fe?void 0:fe.description})]})}):(0,H.Y)("form",{onSubmit:e=>{e.preventDefault(),V(re)()},children:(0,H.FD)(s.B,{w:"full",separator:(0,H.Y)(i.k,{}),gap:"4",children:[(0,H.FD)(s.B,{children:[(0,H.Y)(l.D,{as:"h2",size:"sm",children:J.heading[e]}),(0,H.Y)(d.E,{fontSize:"sm",color:"fg.muted",children:J.lead[e]})]}),"create"==e&&(0,H.FD)(g.XO,{as:"fieldset",invalid:!!_.parentPage,required:!0,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.parentPage[e],(0,H.Y)(g.tR,{})]}),(0,H.Y)(P.xI,{control:Q,name:"parentPage",rules:{required:!0},render:({field:e})=>(0,H.Y)(S,{defaultValue:e.value,onChange:e.onChange,items:a.parentPages})}),(0,H.Y)(g.sp,{children:J.parentHelperText[e]}),(0,H.Y)(g.wp,{children:_.parentPage&&W.formatMessage({id:"CmsPagesFormErrorsParentRequired",defaultMessage:"Parent is required"})})]}),(0,H.FD)(s.B,{gap:"4",children:[a.disableSlug?(0,H.FD)(g.XO,{as:"fieldset",required:!0,invalid:!!_.slug,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.title[e],(0,H.Y)(g.tR,{})]}),(0,H.Y)(u.p,{...$("title",{required:!0}),placeholder:W.formatMessage({id:"CmsPagesFormPlaceholdersTitle",defaultMessage:"Title"})}),(0,H.Y)(g.sp,{children:J.titleHelperText[e]})]}):(0,H.FD)(g.XO,{as:"fieldset",required:!0,invalid:!!_.title||!!_.slug,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.title[e],(0,H.Y)(g.tR,{})]}),(0,H.FD)(h.x,{w:"full",templateColumns:"70% 30%",gap:"2",children:[(0,H.Y)(u.p,{...$("title",{required:!0}),placeholder:W.formatMessage({id:"CmsPagesFormPlaceholdersTitle",defaultMessage:"Title"})}),(0,H.FD)(s.B,{children:[(0,H.Y)(u.p,{...$("slug",{required:!0}),placeholder:W.formatMessage({id:"CmsPagesFormPlaceholdersSlug",defaultMessage:"slug"}),onBlur:e=>{const a=y()(e.target.value,{lower:!0});G("slug",a,{shouldDirty:!0})}}),(0,H.Y)(g.wp,{children:_.slug&&_.slug.message})]})]}),(0,H.Y)(g.sp,{children:J.titleHelperText[e]})]}),(0,H.FD)(g.XO,{as:"fieldset",required:!0,invalid:!!_.description,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.description[e],(0,H.Y)(g.tR,{})]}),(0,H.Y)(m.T,{...$("description",{required:!0}),placeholder:W.formatMessage({id:"CmsPagesFormPlaceholdersDescription",defaultMessage:"Description"})}),(0,H.Y)(g.sp,{w:"full",justifyContent:"space-between",asChild:!0,children:(0,H.FD)(o.z,{children:[(0,H.Y)(d.E,{children:J.descriptionHelperText[e]}),(0,H.Y)(d.E,{children:(null===(R=X("description"))||void 0===R?void 0:R.length)||0})]})})]})]}),!("edit"===e&&(null===(B=a.values)||void 0===B||!B.template))&&(0,H.FD)(g.XO,{as:"fieldset",required:!0,invalid:!!_.template,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.template[e],
1(0,H.Y)(g.tR,{})]}),"create"===e?(0,H.Y)(P.xI,{control:Q,name:"template",rules:{required:!0},render:({field:e})=>{var t,r;return(0,H.Y)(S,{isDisabled:!(null!==(t=a.parentPages[ie])&&void 0!==t&&t.templates),onChange:e.onChange,items:(null===(r=a.parentPages[ie])||void 0===r?void 0:r.templates)||{}})}}):(0,H.Y)(c.$,{variant:"outline",bgColor:"bg.subtle",disabled:!0,children:null==le?void 0:le.label}),(0,H.Y)(g.sp,{children:J.templateHelperText[e]}),(0,H.Y)(g.wp,{children:_.template&&W.formatMessage({id:"CmsPagesFormErrorsTemplateRequired",defaultMessage:"Template is required"})})]}),(0,H.Y)(g.XO,{as:"fieldset",children:(0,H.FD)(s.B,{gap:"4",children:[(0,H.FD)(f.y8,{onCheckedChange:e=>{ge(!!e.checked),e.checked||(G("image.src",void 0),G("image.id",void 0))},checked:ce,children:[(0,H.Y)(f.Ks,{}),(0,H.Y)(f.v7,{children:(0,H.Y)(f.P7,{})}),(0,H.Y)(f.Sb,{children:(0,H.FD)(o.z,{children:[(0,H.Y)(p.I,{color:"brand.500",asChild:!0,children:(0,H.Y)(b.FaImage,{})}),(0,H.FD)(s.B,{gap:"0.5",children:[(0,H.Y)(d.E,{fontWeight:"semibold",children:J.image[e]}),(0,H.Y)(d.E,{fontSize:"sm",color:"fg.muted",children:J.imageHelperText[e]})]})]})})]}),(0,H.Y)(v.a,{display:ce?"flex":"none",children:(0,H.Y)(P.xI,{control:Q,name:"image.src",render:({field:e})=>(0,H.Y)(T.A,{value:e.value,onChoose:e=>{G("image.src",e.url,{shouldDirty:!0}),G("image.id",e.id,{shouldDirty:!0})},onRemove:()=>{G("image.src","",{shouldDirty:!0}),G("image.id","",{shouldDirty:!0})},description:W.formatMessage({id:"CmsPagesFormHelperMediaDescription",defaultMessage:"Upload a photo to represent the organization."})})})})]})}),(0,H.Y)(g.XO,{as:"fieldset",invalid:!(null===(N=_.blogPost)||void 0===N||!N.date)||!(null===(q=_.blogPost)||void 0===q||!q.author),children:(0,H.FD)(s.B,{gap:"4",children:[(0,H.FD)(f.y8,{onCheckedChange:e=>{ne(!!e.checked),e.checked||G("blogPost",void 0)},checked:de,children:[(0,H.Y)(f.Ks,{}),(0,H.Y)(f.v7,{children:(0,H.Y)(f.P7,{})}),(0,H.Y)(f.Sb,{children:(0,H.FD)(o.z,{children:[(0,H.Y)(p.I,{color:"brand.500",asChild:!0,children:(0,H.Y)(x.FaNewspaper,{})}),(0,H.FD)(s.B,{gap:"0.5",children:[(0,H.Y)(d.E,{fontWeight:"semibold",children:J.post[e]}),(0,H.Y)(d.E,{fontSize:"sm",color:"fg.muted",children:J.postHelperText[e]})]})]})})]}),(0,H.FD)(s.B,{gap:"4",display:de?"flex":"none",children:[(0,H.FD)(g.XO,{as:"fieldset",invalid:!(null===(L=_.blogPost)||void 0===L||!L.date),required:de,disabled:!de,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.postDate[e],(0,H.Y)(g.tR,{})]}),(0,H.Y)(u.p,{...$("blogPost.date",{validate:e=>!(!e&&de)||W.formatMessage({id:"CmsPagesFormErrorsDateRequired",defaultMessage:"Date is required for blog posts"})}),type:"datetime-local"}),(0,H.Y)(g.sp,{children:J.postDateHelperText[e]})]}),(0,H.FD)(g.XO,{as:"fieldset",invalid:!(null===(j=_.blogPost)||void 0===j||!j.author),required:de,disabled:!de,children:[(0,H.FD)(g.dh,{as:"legend",children:[J.postAuthor[e],(0,H.Y)(g.tR,{})]}),(0,H.Y)(u.p,{...$("blogPost.author",{validate:e=>!(!e&&de)||W.formatMessage({id:"CmsPagesFormErrorsAuthorRequired",defaultMessage:"Author is required for blog posts"})}),placeholder:W.formatMessage({id:"CmsPagesFormPlaceholdersAuthor",defaultMessage:"Author"})}),(0,H.Y)(g.sp,{children:J.postAuthorHelperText[e]})]}),(0,H.FD)(g.XO,{as:"fieldset",invalid:!(null===(U=_.blogPost)||void 0===U||!U.category),disabled:!de,children:[(0,H.Y)(g.dh,{as:"legend",children:J.postCategory[e]}),(0,H.Y)(u.p,{...$("blogPost.category"),placeholder:W.formatMessage({id:"CmsPagesFormPlaceholdersCategory",defaultMessage:"Category"})}),(0,H.Y)(g.sp,{children:J.postCategoryHelperText[e]})]})]})]})}),(0,H.Y)(g.XO,{as:"fieldset",invalid:!!_.isExcludedFromIndex,children:(0,H.FD)(f.y8,{...$("isExcludedFromIndex",{required:!1}),children:[(0,H.Y)(f.Ks,{}),(0,H.Y)(f.v7,{children:(0,H.Y)(f.P7,{})}),(0,H.Y)(f.Sb,{children:(0,H.FD)(o.z,{children:[(0,H.Y)(p.I,{color:"brand.500",asChild:!0,children:(0,H.Y)(E.l,{})}),(0,H.FD)(s.B,{gap:"0.5",children:[(0,H.Y)(d.E,{fontWeight:"semibold",children:J.excludeFromIndex[e]}),(0,H.Y)(d.E,{fontSize:"sm",color:"fg.muted",children:J.excludeFromIndexHelperText[e]})]})]})})]})}),(0,H.Y)(o.z,{justifyContent:"right",children:(0,H.FD)(n.e,{children:["edit"===e&&(0,H.Y)(c.$,{variant:"outline",onClick:()=>{Z(a.values),te(!0)},children:W.formatMessage({id:"CmsPagesFormButtonsCancel",defaultMessage:"Cancel"})}),(0,H.Y)(c.$,{type:"submit",loading:ee,children:"create"===e?W.formatMessage({id:"CmsPagesFormButtonsCreate",defaultMessage:"Create page"}):W.formatMessage({id:"CmsPagesFormButtonsSave",defaultMessage:"Save page"})})]})})]})})}},692145:function(e,a,t){"use strict";t.d(a,{j:function(){return l}});var r=t(681802),s=t(197762),i=t(86911);const o=(0,s.forwardRef)(function(e,a){const{size:t,...s}=e;return(0,r.jsx)(i.a,{...s,ref:a,boxSize:t,css:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,flexGrow:0,...e.css}})});o.displayName="Square";const l=(0,s.forwardRef)(function(e,a){const{size:t,...s}=e;return(0,r.jsx)(o,{size:t,ref:a,borderRadius:"9999px",...s})});l.displayName="Circle"},716100:function(e,a,t){"use strict";t.d(a,{T:function(){return l}});var r=t(278155),s=t(631427);const{withContext:i,PropsProvider:o}=(0,s.a)({key:"textarea"}),l=i(r.V.Textarea)},827062:function(e,a,t){var r=t(421067).k5;e.exports.l=function(e){return r({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223 149.5c48.6-44.3 123-50.8 179.3-11.7c60.8 42.4 78.9 123.2 44.2 186.9L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3L223 149.5zm223.1 298L83.1 161.5c-11 14.4-20.5 28.7-28.4 42.2l339 265.7c18.7-5.5 36.2-13 52.6-21.8zM34.5 268.3c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c3.1 0 6.1-.1 9.2-.2L33.1 247.8c-1.8 6.8-1.3 14 1.4 20.5z"}}]})(e)}},950612:function(e,a,t){"use strict";t.d(a,{k:function(){return r}});const r=(0,t(971982).B)("div",{base:{borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"}});r.displayName="StackSeparator"}}]);
2//# sourceMappingURL=359e92fe0cf75e77c1315937b257409819ed4ab2-d2143ef2a565108f5861.js.map

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.