1"use strict";(self.webpackChunkvisually_io=self.webpackChunkvisually_io||[]).push([[6067],{357:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAARABQDASIAAhEBAxEB/8QAGAABAQEBAQAAAAAAAAAAAAAAAAQDAgX/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAG6qas8sHWgYg//xAAcEAABAwUAAAAAAAAAAAAAAAABAAIDEBETMjP/2gAIAQEAAQUChFy8DGoNpOaajT//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAEDAQE/AR//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/AR//xAAYEAEBAAMAAAAAAAAAAAAAAAABABAgIf/aAAgBAQAGPwJnmGdf/8QAHBAAAQUAAwAAAAAAAAAAAAAAIQABEBExQXGh/9oACAEBAAE/ITJrCbBXUeVAXiNLL9R//9oADAMBAAIAAwAAABBADwD/xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAEDAQE/EB//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/EB//xAAdEAEAAgICAwAAAAAAAAAAAAABESEAEDFxQVGh/9oACAEBAAE/ECOMKj3itGHYGqXJ7hPnKFTL51zdZ9TX/9k="},"images":{"fallback":{"src":"/static/17459eba47d677d183a112576a19913d/1fec5/4.jpg","srcSet":"/static/17459eba47d677d183a112576a19913d/dea8e/4.jpg 480w,\\n/static/17459eba47d677d183a112576a19913d/557fd/4.jpg 960w,\\n/static/17459eba47d677d183a112576a19913d/1fec5/4.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/17459eba47d677d183a112576a19913d/6727b/4.webp 480w,\\n/static/17459eba47d677d183a112576a19913d/0faa6/4.webp 960w,\\n/static/17459eba47d677d183a112576a19913d/6c23f/4.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1648.9999999999998}')},1571:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAANABQDASIAAhEBAxEB/8QAFwABAAMAAAAAAAAAAAAAAAAAAAECBf/EABUBAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIQAxAAAAHeRaAr/8QAFRABAQAAAAAAAAAAAAAAAAAAEAH/2gAIAQEAAQUCY//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABQQAQAAAAAAAAAAAAAAAAAAACD/2gAIAQEABj8CX//EABUQAQEAAAAAAAAAAAAAAAAAAAEQ/9oACAEBAAE/ISq//9oADAMBAAIAAwAAABDID//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8QP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8QP//EABsQAAIBBQAAAAAAAAAAAAAAAAEREAAhQWFx/9oACAEBAAE/EAQpl4XYcDq0/wD/2Q=="},"images":{"fallback":{"src":"/static/22975ff4dac74e3bb679325a704523b1/365de/1.jpg","srcSet":"/static/22975ff4dac74e3bb679325a704523b1/331e8/1.jpg 480w,\\n/static/22975ff4dac74e3bb679325a704523b1/3aadd/1.jpg 960w,\\n/static/22975ff4dac74e3bb679325a704523b1/365de/1.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/22975ff4dac74e3bb679325a704523b1/f002a/1.webp 480w,\\n/static/22975ff4dac74e3bb679325a704523b1/2ab7d/1.webp 960w,\\n/static/22975ff4dac74e3bb679325a704523b1/f4920/1.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1227}')},8936:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAPABQDASIAAhEBAxEB/8QAGQAAAgMBAAAAAAAAAAAAAAAAAAMBAgQF/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAAB7DEWMZAf/8QAGxABAAICAwAAAAAAAAAAAAAAAgMSAAEREyH/2gAIAQEAAQUCBNanJvGZDo9o5l3Z/wD/xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAEDAQE/AT//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAECAQE/AT//xAAYEAADAQEAAAAAAAAAAAAAAAAAAREhMv/aAAgBAQAGPwJYjlGC0tKj/8QAHBAAAwACAwEAAAAAAAAAAAAAAAERQVEhMXHx/9oACAEBAAE/IXrdWj5AqikUwLh8poyi+C8BD//aAAwDAQACAAMAAAAQ48//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAEDAQE/ED//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAECAQE/ED//xAAZEAEBAQEBAQAAAAAAAAAAAAABEQAhUfH/2gAIAQEAAT8QR1MtjvN83lYJOCZ20ASvMChQR6ydbAsm/9k="},"images":{"fallback":{"src":"/static/26e71d928ab2b201f6c9e6658143ec6b/01ff9/6.jpg","srcSet":"/static/26e71d928ab2b201f6c9e6658143ec6b/f2a70/6.jpg 480w,\\n/static/26e71d928ab2b201f6c9e6658143ec6b/ffd38/6.jpg 960w,\\n/static/26e71d928ab2b201f6c9e6658143ec6b/01ff9/6.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/26e71d928ab2b201f6c9e6658143ec6b/e20be/6.webp 480w,\\n/static/26e71d928ab2b201f6c9e6658143ec6b/cf7cd/6.webp 960w,\\n/static/26e71d928ab2b201f6c9e6658143ec6b/608dc/6.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1464}')},10015:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAQCAIAAACZeshMAAAACXBIWXMAABYlAAAWJQFJUiTwAAABuklEQVQoz4WTS29TMRCF89fYsQKJHX8QJFaIDfwBELQppaCSJuRVidC8/Jrx2L62x0a5l5RIkPToW4yuztHxtca9UkuphQvHFMmRUsoYDWBaaURoZ20teu9K4c7f0QshdXgfvU9CGCWNUqAVSKF3SCOFQXDBp3tzR4+w3GOhENYOtx86LNRDZ0fvMOldCZ6DZ++ys7Gb91/YIh8Ng06cS62l1qq1Hk/Gs+mEiGqrUgqaRHA83ISMsAN09D4451JKvJfR0f43bKGgyYh0MxhNJ/PRcHx9PZhN5/P57WAw/DEax5hAJ3uyOVokKdVmI6x13geyhGitJeZytJmwoM7Ohf75ZwQKvuHg6oFOH5utYQD78sUrKYkwD9+9Xn67asT64TBhMSrmVLxL69V28XP5/uPX2eWF/P7Ft/uTEsOJMKidY72St7PF3WKjhJESlURH0VN84J/bZubMORfmEm
1NumiSEOjvrf+pfCoMW+URzyrsl+XtDtdZ+v//k6bPnjx99ePumaSqodKw5gQ6HIDRoGrIMv9Z3F+fLqyuz1I4qAf+726y3jdgcsA5iE+S2kSprk83KWB3bd/Kn+TeX749ahlUTIAAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/0c747e8428b0f64bb2cda262672a975d/67190/5.png","srcSet":"/static/0c747e8428b0f64bb2cda262672a975d/a9530/5.png 549w,\\n/static/0c747e8428b0f64bb2cda262672a975d/04659/5.png 1097w,\\n/static/0c747e8428b0f64bb2cda262672a975d/67190/5.png 2194w","sizes":"(min-width: 2194px) 2194px, 100vw"},"sources":[{"srcSet":"/static/0c747e8428b0f64bb2cda262672a975d/9e40d/5.webp 549w,\\n/static/0c747e8428b0f64bb2cda262672a975d/35b71/5.webp 1097w,\\n/static/0c747e8428b0f64bb2cda262672a975d/6e9ae/5.webp 2194w","type":"image/webp","sizes":"(min-width: 2194px) 2194px, 100vw"}]},"width":2194,"height":1710}')},12335:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAALABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAIF/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAAB3LiwD//EABUQAQEAAAAAAAAAAAAAAAAAAAIQ/9oACAEBAAEFAjTf/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPwE//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPwE//8QAFRABAQAAAAAAAAAAAAAAAAAAEAH/2gAIAQEABj8Ca//EABkQAQACAwAAAAAAAAAAAAAAAAEAMRARIf/aAAgBAQABPyGjlKia5Cif/9oADAMBAAIAAwAAABCDD//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8QP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8QP//EABoQAQADAAMAAAAAAAAAAAAAAAEAESEQMVH/2gAIAQEAAT8QzC96zhQNgFRDRLHEjtnyf//Z"},"images":{"fallback":{"src":"/static/7fecb9d077217132625a6df774c2ba29/4e78b/1.jpg","srcSet":"/static/7fecb9d077217132625a6df774c2ba29/fb67e/1.jpg 480w,\\n/static/7fecb9d077217132625a6df774c2ba29/eaa01/1.jpg 960w,\\n/static/7fecb9d077217132625a6df774c2ba29/4e78b/1.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/7fecb9d077217132625a6df774c2ba29/3a3a2/1.webp 480w,\\n/static/7fecb9d077217132625a6df774c2ba29/09089/1.webp 960w,\\n/static/7fecb9d077217132625a6df774c2ba29/3a03f/1.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1078}')},35503:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAARABQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAQCBf/EABQBAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhADEAAAAbrYrTkg1oMA/8QAGhAAAQUBAAAAAAAAAAAAAAAAMgABAgMQIv/aAAgBAQABBQKg5NwqDmCbf//EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQMBAT8BH//EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQIBAT8BH//EABkQAAIDAQAAAAAAAAAAAAAAAAABECAhQf/aAAgBAQAGPwIechjr/8QAHBAAAQUAAwAAAAAAAAAAAAAAAQAQETFBIWGh/9oACAEBAAE/IeRSMQqVm8iOOwFrLG//2gAMAwEAAgADAAAAECPAAP/EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQMBAT8QH//EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQIBAT8QH//EAB4QAQACAQQDAAAAAAAAAAAAAAEAEWEQITFBcZGx/9oACAEBAAE/ECBBB8mSXWjBidQ+79IIXakOanWg8vGn/9k="},"images":{"fallback":{"src":"/static/8e295a678416605a13ca24016eb45e3e/eed01/5.jpg","srcSet":"/static/8e295a678416605a13ca24016eb45e3e/d2cd7/5.jpg 480w,\\n/static/8e295a678416605a13ca24016eb45e3e/9c5aa/5.jpg 960w,\\n/static/8e295a678416605a13ca24016eb45e3e/eed01/5.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/8e295a678416605a13ca24016eb45e3e/28b0e/5.webp 480w,\\n/static/8e295a678416605a13ca24016eb45e3e/c997f/5.webp 960w,\\n/static/8e295a678416605a13ca24016eb45e3e/be204/5.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1666}')},37099:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAALABQDASIAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAEDAgX/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAHt0xQQw//EABUQAQEAAAAAAAAAAAAAAAAAAAIQ/9oACAEBAAEFAjTf/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPwE//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPwE//8QAFBABAAAAAAAAAAAAAAAAAAAAIP/aAAgBAQAGPwJf/8QAGRABAAIDAAAAAAAAAAAAAAAAAQAQESEx/9oACAEBAAE/IVpoME5v/9oADAMBAAIAAwAAABDAD//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8QP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8QP//EABwQAAEDBQAAAAAAAAAAAAAAABEAASEQMUFRgf/aAAgBAQABPxAzWdIQFFMeur9f/9k="},"images":{"fallback":{"src":"/static/5b20b11ce3a20c92332832c2da39d528/0af92/2.jpg","srcSet":"/static/5b20b11ce3a20c92332832c2da39d528/e2f72/2.jpg 480w,\\n/static/5b20b11ce3a20c92332832c2da39d528/b240d/2.jpg 960w,\\n/static/5b20b11ce3a20c92332832c2da39d528/0af92/2.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/5b20b11ce3a20c92332832c2da39d528/fa601/2.webp 480w,\\n/static/5b20b11ce3a20c92332832c2da39d528/56499/2.
1webp 960w,\\n/static/5b20b11ce3a20c92332832c2da39d528/7b01b/2.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1097}')},39623:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAKABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAIF/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAAB3lCVD//EABYQAAMAAAAAAAAAAAAAAAAAABARIP/aAAgBAQABBQIKP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABQQAQAAAAAAAAAAAAAAAAAAACD/2gAIAQEABj8CX//EABYQAQEBAAAAAAAAAAAAAAAAABEAIP/aAAgBAQABPyEiGP/aAAwDAQACAAMAAAAQww//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAEDAQE/ED//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAECAQE/ED//xAAcEAACAQUBAAAAAAAAAAAAAAABEQAgMUFhgaH/2gAIAQEAAT8QC2Ji5Z7NHtH/2Q=="},"images":{"fallback":{"src":"/static/2cbf61eac2909deb9fd5d25f9a7b5395/5cfa0/6.jpg","srcSet":"/static/2cbf61eac2909deb9fd5d25f9a7b5395/5247b/6.jpg 377w,\\n/static/2cbf61eac2909deb9fd5d25f9a7b5395/2d5ac/6.jpg 754w,\\n/static/2cbf61eac2909deb9fd5d25f9a7b5395/5cfa0/6.jpg 1508w","sizes":"(min-width: 1508px) 1508px, 100vw"},"sources":[{"srcSet":"/static/2cbf61eac2909deb9fd5d25f9a7b5395/a8b56/6.webp 377w,\\n/static/2cbf61eac2909deb9fd5d25f9a7b5395/55383/6.webp 754w,\\n/static/2cbf61eac2909deb9fd5d25f9a7b5395/a02f6/6.webp 1508w","type":"image/webp","sizes":"(min-width: 1508px) 1508px, 100vw"}]},"width":1508,"height":768}')},45648:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAANABQDASIAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAQFAQP/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAGg1P7Cxgf/xAAcEAADAAEFAAAAAAAAAAAAAAAAAQIDEhMUITL/2gAIAQEAAQUCwyqNuR+oyaDkMfb/AP/EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABgQAAMBAQAAAAAAAAAAAAAAAAABMRAR/9oACAEBAAY/An1EGQmf/8QAGBABAQEBAQAAAAAAAAAAAAAAAQARUWH/2gAIAQEAAT8hOxN544B2QOB28MtHt//aAAwDAQACAAMAAAAQo8//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAEDAQE/ED//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAECAQE/ED//xAAbEAEAAwADAQAAAAAAAAAAAAABABEhQXGR8f/aAAgBAQABPxDIxSl4yNeG9QiFAg9hBYh1Sp9dlolKWp//2Q=="},"images":{"fallback":{"src":"/static/0e43e2ece02318578ec67a1a3ffca6b0/61291/2.jpg","srcSet":"/static/0e43e2ece02318578ec67a1a3ffca6b0/7fa25/2.jpg 480w,\\n/static/0e43e2ece02318578ec67a1a3ffca6b0/85ebb/2.jpg 960w,\\n/static/0e43e2ece02318578ec67a1a3ffca6b0/61291/2.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/0e43e2ece02318578ec67a1a3ffca6b0/55a20/2.webp 480w,\\n/static/0e43e2ece02318578ec67a1a3ffca6b0/3dbc4/2.webp 960w,\\n/static/0e43e2ece02318578ec67a1a3ffca6b0/87bf6/2.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1245}')},57615:function(e,t,a){a.r(t),a.d(t,{default:function(){return ba}});var A=a(96540),n=a(12285),l=a(15545),i=a(47979),r=a(83469),o=a(42644),s=a(74225),c=a.n(s),d=a(92173),u=a(82347),p=a(83727),m=a(80947),f=a(12104),g=a(35216);const h=[{id:"cro-agent",label:"Visually Copilot",description:"Choose the default model for Visually Copilot."},{id:"section-modifier",label:"Editing page or section",description:"Choose the default model for editing a page or section."},{id:"widget-developer",label:"Adding new element",description:"Choose the default model for adding a new element."}];function E(){var e;const{account:t}=(0,A.useContext)(u.Lu),{updateUserDetails:a}=(0,m.n)(),{listAllAgentsMetadata:n}=(0,p.v)(),{0:l,1:i}=(0,A.useState)(!0),{0:r,1:s}=(0,A.useState)(!1),{0:E,1:I}=(0,A.useState)(null),{0:S,1:D}=(0,A.useState)(null),{0:R,1:Y}=(0,A.useState)((null==t||null===(e=t.store)||void 0===e?void 0:e.defaultAiModels)||{}),{0:P,1:_}=(0,A.useState)((0,f.wM)(R)),{0:T,1:U}=(0,A.useState)([]),F=(0,A.useMemo)(()=>(0,f.wM)(R)!==P,[R,P]),M=h.map(e=>{const t=T.filter(t=>t.businessId===e.id),a=R[e.id];return Object.assign({},e,{selectedModelId:a,options:t.map(e=>({value:e.id,label:e.businessModelName}))})});return c()(async e=>{i(!0);try{const t=await n();e()&&U(null!=t?t:[])}catch(t){e()&&I("Unable to load available AI models.")}finally{e()&&i(!1)}},[]),A.createElement(d.KT,{loading:l},A.createElement(v,null,A.createElement(w,{as:"h3"},"Default Models for AI Agents"),A.createElement(y,null,"Manage the default AI models used by your agents. These preferences are saved at the user level and apply only to your account, not to the entire store.")),A.createElement(C,null,M.map(e=>{let{id:t,label:a,description:n,selectedModelId:i,options:s}=e;return A.createElement(x,{key:t},A.createElement(B,null,A.createElement(j,{htmlFor:t},a),A.createElement(Q,{type:"button","aria-label":n,title:n},"?")),A.createElement(k,null,A.createElement(N,{id:t,name:t,value:null!=i?i:"",disabled:l||r||0===s.length,onChange:e=>(e=>{const t=(0,g.I)({id:e,type:"agent"});Y(a=>Object.assign({},a,{[t.businessId]:e})),D(null)})(e.target.value)},A.createElement("option",{value:"",disabled:!0},"Select a model"),s.map(e=>A.createElement("option",{key:e.value,value:e.value},e.label))),A.createElement(o.fK4,{size:16,"aria-hidden":"true"})))})),E&&A.createElement(d.hu,{role:"alert"},E),S&&A.createElement(d.hu,{role:"alert"},S),F&&A.createElement(b,{type:"button",small:!0,black:!0,disabled:l||r,onClick:async()=>
1{if(!r&&F){s(!0),D(null);try{await a({defaultAiModels:R}),_((0,f.wM)(R))}catch(e){D("Unable to save default AI models. Please try again.")}finally{s(!1)}}}},r?"Saving...":"Save Changes"))}const b=(0,n.default)(d.$5).withConfig({displayName:"default-ai-agents__SaveButton",componentId:"sc-1c0wb42-0"})(["align-self:flex-end;width:auto;"]),v=n.default.div.withConfig({displayName:"default-ai-agents__PanelHeader",componentId:"sc-1c0wb42-1"})(["display:flex;flex-direction:column;gap:1.4rem;"]),w=(0,n.default)(d.eA).withConfig({displayName:"default-ai-agents__PanelTitle",componentId:"sc-1c0wb42-2"})(["font-size:2.4rem;line-height:1.3;text-align:left;"]),y=(0,n.default)(d.hu).withConfig({displayName:"default-ai-agents__PanelDescription",componentId:"sc-1c0wb42-3"})(["color:#444;font-size:1.5rem;line-height:1.6;"]),C=n.default.div.withConfig({displayName:"default-ai-agents__AgentGrid",componentId:"sc-1c0wb42-4"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;margin:0.6rem 0 1.4rem;","{grid-template-columns:1fr;}"],i.fi.down("md")),x=n.default.div.withConfig({displayName:"default-ai-agents__AgentCard",componentId:"sc-1c0wb42-5"})(["display:flex;flex-direction:column;gap:2.4rem;min-width:0;padding:1.6rem 1.8rem 1.8rem;border:1px solid #d8dde2;border-radius:0.8rem;background:#fff;box-shadow:0 4px 6px rgba(151,210,206,0.22),0 1px 1px rgba(0,0,0,0.1);"]),B=n.default.div.withConfig({displayName:"default-ai-agents__AgentHeader",componentId:"sc-1c0wb42-6"})(["display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-left:0.8rem;"]),j=n.default.label.withConfig({displayName:"default-ai-agents__AgentLabel",componentId:"sc-1c0wb42-7"})(["color:#444;font-family:Inter,sans-serif;font-size:1.5rem;line-height:2.4rem;"]),Q=n.default.button.withConfig({displayName:"default-ai-agents__HelpIcon",componentId:"sc-1c0wb42-8"})(["display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.3rem;height:2.3rem;padding:0;border:0;border-radius:50%;background:#ededed;color:#555;font-family:Inter,sans-serif;font-size:1.2rem;cursor:help;&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]),k=n.default.div.withConfig({displayName:"default-ai-agents__SelectWrapper",componentId:"sc-1c0wb42-9"})(["position:relative;svg{position:absolute;top:50%;right:1.6rem;transform:translateY(-50%);color:#aaa;pointer-events:none;}"]),N=n.default.select.withConfig({displayName:"default-ai-agents__ModelSelect",componentId:"sc-1c0wb42-10"})(["appearance:none;width:100%;min-height:4.8rem;padding:1.2rem 4rem 1.2rem 3.8rem;border:1px solid #c4c4c4;border-radius:0.4rem;background:#fff;color:#555;font-family:Inter,sans-serif;font-size:1.3rem;cursor:pointer;&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]);var I=a(39086),S=a(14556),D=a(48320),R=a(88761),Y=a(51055);var P=a(47967);const _=n.default.div.withConfig({displayName:"skill-card-components__SkillCard",componentId:"sc-eu68px-0"})(["position:relative;display:flex;flex-direction:column;gap:1.8rem;min-width:0;min-height:29rem;padding:2rem 2.6rem 3.6rem;border:1px solid #d8dde2;border-radius:0.8rem;background:#fff;box-shadow:0 4px 6px rgba(151,210,206,0.22),0 1px 1px rgba(0,0,0,0.1);"]),T=n.default.span.withConfig({displayName:"skill-card-components__SkillTitle",componentId:"sc-eu68px-1"})(["margin:0;text-align:left;color:#444;font-family:Inter,sans-serif;font-size:1.5rem;font-weight:600;line-height:2rem;"]),U=n.default.button.withConfig({displayName:"skill-card-components__IconButton",componentId:"sc-eu68px-2"})(["display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;cursor:pointer;&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]),F=(0,n.default)(_).withConfig({displayName:"skill-card-components__ExistingSkillCard",componentId:"sc-eu68px-3"})(["gap:1.6rem;padding:2.4rem 3rem 3.6rem 4.4rem;","{padding-left:2.6rem;}"],i.fi.down("sm")),M=n.default.div.withConfig({displayName:"skill-card-components__SkillHeader",componentId:"sc-eu68px-4"})(["display:flex;align-items:center;gap:1.8rem;padding-right:1.8rem;"]),G=(0,n.default)(d.hu).withConfig({displayName:"skill-card-components__SkillDescription",componentId:"sc-eu68px-5"})(["color:#444;font-size:1.3rem;line-height:1.85rem;"]);function O(){const e=(0,A.useRef)({active:!0});return(0,A.useEffect)(()=>{const t={active:!0};return e.current=t,()=>{t.active=!1}},[]),()=>e.current.active}function z(e){let{disabled:t,onGenerated:a,onGeneratingChange:n}=e;(0,D.dC)();const l=O(),{generateSkill:i}=function(){const{post:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{generateSkill:async a=>{const A=a.trim();if(!A)throw new Error("Describe the skill you want to create.");const n=await e(Y.JZ.aiGenerateSkill(),{prompt:A});if(!t.ok){const e=t.data,a=null==e?void 0:e.detail,A="string"==typeof a?a:null==a?void 0:a.message;throw new Error(A||"Unable to generate the skill. Please try again later.")}if("draft"===(null==n?void 0:n.type)){var l,i;if("intent"!==n.status||"ready"!==n.generationStatus||"string"!=typeof(null===(l=n.draft)||void 0===l?void 0:l.title)||"string"!=typeof(null===(i=n.draft)||void 0===i?void 0:i.instructions))throw new Error("The skill builder returned an invali
1d draft.")}else{if("clarification"!==(null==n?void 0:n.type))throw new Error("The skill builder returned an unexpected response.");if("intent"!==n.status||"awaiting_input"!==n.generationStatus||"string"!=typeof n.question||!n.question.trim())throw new Error("The skill builder returned an invalid question.")}return n},loading:a}}(),r=(0,S.Ul)(""),s=(0,S.Ul)(null),c=(0,S.Ul)(!1),u=(0,S.Ul)(null),p=(0,S.Ul)(""),m=(0,S.Ul)(""),f=async e=>{if(!c.value&&!t&&e.trim())if(e.length>8e3)u.value="This request is too long. Please shorten your request or answer.";else{c.value=!0,n(!0),u.value=null;try{const t=await i(e);if(!l())return;m.value=e,"draft"===t.type?(s.value=null,a(t,e)):s.value=t.question,p.value=""}catch(A){if(!l())return;u.value=A instanceof Error?A.message:"Unable to generate the skill. Please try again."}finally{l()&&(c.value=!1,n(!1))}}};return A.createElement(A.Fragment,null,A.createElement(_,{"aria-busy":c.value},A.createElement(T,{as:"label",htmlFor:"new-ai-skill"},"Add new skill"),A.createElement(H,{id:"new-ai-skill",placeholder:"For example: âFor recommendations and upsells, show Add to Cart as a plus icon in the bottom-right corner of the product image.â",value:r.value,maxLength:8e3,disabled:c.value||t,onChange:e=>{r.value=e.target.value}}),A.createElement(L,{type:"button","aria-label":"Generate skill",disabled:c.value||t||!r.value.trim(),onClick:()=>{const e=r.value;c.value||t||!e.trim()||e.length>8e3||(r.value="",f(e))}},A.createElement(o.dyV,{size:18,"aria-hidden":"true"})),c.value&&!s.value&&A.createElement(d.hu,{role:"status"},"Creating skillâ¦"),u.value&&!s.value&&A.createElement(d.hu,{role:"alert"},u.value),A.createElement(P.O,{loading:c.value&&!s.value,backgroundColor:"rgba(255, 255, 255, 0.75)",blurAmount:2,borderRadius:"0.8rem",spinnerSize:32})),s.value&&A.createElement(F,{"aria-busy":c.value},A.createElement(M,null,A.createElement(T,{as:"h4"},"Help us refine your skill")),A.createElement(G,{as:"label",htmlFor:"skill-clarification-answer"},s.value),A.createElement(H,{id:"skill-clarification-answer",placeholder:"Type your answerâ¦",value:p.value,maxLength:8e3,disabled:c.value||t,onChange:e=>{p.value=e.target.value}}),A.createElement(d.$5,{type:"button",small:!0,black:!0,disabled:c.value||!p.value.trim()||t,onClick:()=>{const e=p.value.trim();if(!e||!s.value)return;const t=[m.value,"Clarification question:",s.value,"User answer:",e].join("\n\n");f(t)}},c.value?"Creating skillâ¦":"Continue"),u.value&&A.createElement(d.hu,{role:"alert"},u.value),A.createElement(P.O,{loading:c.value&&!!s.value,backgroundColor:"rgba(255, 255, 255, 0.75)",blurAmount:2,borderRadius:"0.8rem",spinnerSize:32})))}const H=n.default.textarea.withConfig({displayName:"skill-builder__SkillInput",componentId:"sc-u4hnhn-0"})(["width:100%;min-height:15rem;padding:0 2.8rem 0 0;border:0;background:transparent;color:#444;font-family:Inter,sans-serif;font-size:1.6rem;line-height:2.4rem;resize:vertical;&::placeholder{color:#a0a0a0;opacity:1;}&:focus,&:focus-visible{outline:none;}"]),L=(0,n.default)(U).withConfig({displayName:"skill-builder__AddButton",componentId:"sc-u4hnhn-1"})(["align-self:flex-end;width:3.6rem;height:3.6rem;margin:auto -0.6rem -1.6rem 0;border-radius:50%;background:#000;color:#fff;"]);var J=a(80033),Z=a(74083);const V=n.default.div.withConfig({displayName:"context-menu__ContextMenuWrapper",componentId:"sc-kk6vfp-0"})(["padding:2rem;border-radius:1rem;box-shadow:0 2px 7px 0 rgba(0,0,0,0),0 6px 7px 0 rgba(151,210,206,0.22),0 0.5px 0.5px 0 rgba(0,0,0,0.15);background-color:#fff;font-family:Eesti,sans-serif;font-size:1.4rem;color:#a6afb8;display:flex;flex-direction:column;gap:1.5rem;&& *{user-select:none;}"]),X=n.default.div.withConfig({displayName:"context-menu__ContextMenuItem",componentId:"sc-kk6vfp-1"})(["cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:3rem;&:hover{color:black;}&:active{color:#858d94;}transition:color 0.2s ease-in-out;"]);function W(e){let{label:t,disabled:a,approveLabel:n,deleteLabel:l,onApprove:i,onDelete:r,activationLabel:o,onActivation:s}=e;const{0:c,1:d}=(0,A.useState)(!1),u=(0,A.useRef)(null),p=(0,A.useRef)(null),m=(0,A.useId)();(0,A.useEffect)(()=>{a&&d(!1)},[a]),(0,A.useEffect)(()=>{var e,t;c&&(null===(e=p.current)||void 0===e||null===(t=e.querySelector("button"))||void 0===t||t.focus())},[c]);const f=e=>{!a&&u.current&&(d(!1),u.current.focus(),e(u.current))};return A.createElement(q,null,A.createElement(Z.Q,{isOpen:c&&!a,positions:["bottom","top"],align:"start",padding:8,containerStyle:{zIndex:"1000"},onClickOutside:()=>d(!1),content:A.createElement(V,{ref:p,id:m,role:"menu","aria-label":t,onKeyDown:e=>{if("Escape"===e.key||"Tab"===e.key){var t;if(d(!1),"Escape"===e.key)e.preventDefault(),null===(t=u.current)||void 0===t||t.focus();return}const a=Array.from(e.currentTarget.querySelectorAll("button"));if(!a.length)return;const A=a.indexOf(document.activeElement);let n=A;if("ArrowDown"===e.key)n=(A+1)%a.length;else if("ArrowUp"===e.key)n=(A-1+a.length)%a.length;else if("Home"===e.key)n=0;else{if("End"!==e.key)return;n=a.length-1}e.preventDefault(),a[n].focus()}},i&&A.createElement($,{as:"button",type:"button",role:"menuitem",onClick:()=>f(i)},n),s&&A.createElement($,{as:"button",type:"button",role:"menuitem",onClick:()=>f(s)},o),A.createElement($,{as:"button",type:"button",role:"menuitem",onClick:()=>f(r)},l))},A.createElement(K,{type:"button","aria-label":t,"aria-haspopup":"menu","aria-expanded":c&&!a,"aria-controls":c&&!a?m:void 0,disabled:a,onClick:e=>{u.current=e.currentTarget,d(!c)}},A.createElement(J.hyW,{size:16,"aria-hidden":"true"}))))}const q=n.default.div.withConfig({displayName:"skill-actions-menu__SettingsAnchor",componentId:"sc-1e5pp6l-0"})(["position:absolute;bottom:0.8rem;left:3rem;"]),K=n.default.button.withConfig({displayName:"skill-actions-menu__SettingsButton",componentId:"sc-1e5pp6l-1"})(["display:inline-flex;align-items:center;justify-content:center;width:2.8rem;height:2.8rem;padding:0;border:0;background:transparent;color:#666;cursor:pointer;&:disabled{cursor:default;opacity:0.5;}&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]),$=(0,n.default)(X).withConfig({displayName:"skill-actions-menu__MenuButton",componentId:"sc-1e5pp6l-2"})(["border:0;padding:0.5rem;background:transparent;color:#444;font:inherit;text-align:left;&:focus-visible{outline:2px solid #666;outline-offset:2px;}"]);function ee(e){var t;let{skill:a,generated:n,disabled:l,pendingAction:i,onEdit:r,onApprove:s,onArchive:c,onActivation:d}=e;const u=null!==(t=a.draft)&&void 0!==t?t:a.approved;if(!u)return null;const p=!!a.draft&&("intent"===a.status||JSON.stringify(a.draft)!==JSON.stringify(a.approved));let m="Draft",f="#fff3bf";"approved"===a.status&&(m=a.enabled?"Active":"Deactivated",f=a.enabled?"#c9f4e2":"#e9ecef",p&&(m+=" · Unapproved changes"));let g="Approve";"approve"===i?g="Approvingâ¦":"approved"===a.status&&(g="Approve Changes");let h=a.enabled?"Deactivate":"Reactivate";"deactivate"===i?h="Deactivatingâ¦":"activate"===i&&(h="Reactivatingâ¦");const E=!!i;return A.createElement(F,{"aria-busy":E},A.createElement(M,null,A.createElement(T,{as:"h4"}
1,u.title),A.createElement(te,{$background:f},m)),A.createElement(G,null,u.description),A.createElement(ae,{type:"button","aria-label":"Edit "+u.title,disabled:l||E,onClick:e=>r(e.currentTarget)},A.createElement(o.WXf,{size:16,"aria-hidden":"true"})),A.createElement(W,{label:n?"New skill settings":"Settings for "+u.title,disabled:l||E,activationLabel:h,onActivation:"approved"===a.status&&a.approved?d:void 0,approveLabel:g,deleteLabel:"archive"===i?"Deletingâ¦":"Delete",onApprove:p?s:void 0,onDelete:c}),A.createElement(P.O,{loading:E,backgroundColor:"rgba(255, 255, 255, 0.75)",blurAmount:2,borderRadius:"0.8rem",spinnerSize:32}))}const te=n.default.span.withConfig({displayName:"skill-card__ActiveBadge",componentId:"sc-1p4wll4-0"})(["padding:0.6rem 1.4rem;border-radius:2rem;background:",";color:#000;font-family:Inter,sans-serif;font-size:1.2rem;line-height:1.6rem;"],e=>e.$background),ae=(0,n.default)(U).withConfig({displayName:"skill-card__EditButton",componentId:"sc-1p4wll4-1"})(["position:absolute;top:2.4rem;right:2rem;color:#222;"]);var Ae=a(27433),ne=a(30573),le=a(15371);function ie(e){var t;let{skill:a,fromRef:n,onSave:l,onClose:i}=e;(0,D.dC)();const r=O(),o=null!==(t=a.draft)&&void 0!==t?t:a.approved,s=(0,S.Ul)(o.instructions),c=(0,S.Ul)(!1),u=(0,S.Ul)(!1),p=(0,S.Ul)(null),m=(0,S.Ul)(!1),f=s.value!==o.instructions,g=()=>{c.value||(f?m.value=!0:i())};return A.createElement(Ae.w,{loading:c.value,isVisible:!0,showBackdrop:!0,fromRef:n,contentPadding:8,paddingBottom:3,noTopContentSpacing:!0,noBottomContentSpacing:!0,shadowFixScrollerMargin:0,shadowFixScrollerPadding:0,overflowTop:{heightInRem:0},overflowBottom:{heightInRem:0},targetPosAndSize:(0,le.F)(70,80),toStyle:{borderRadius:"1rem",backgroundColor:"#fff"},onClose:()=>{m.value?m.value=!1:g()},header:A.createElement(T,{as:"h3"},m.value?"Unsaved changes":o.title)},m.value?A.createElement(ne.u,{title:"Discard your changes?",description:"Your edits will be lost if you close without saving.",yesCaption:"Discard Changes",noCaption:"Continue Editing",onConfirm:()=>{m.value=!1,i()},onDiscard:()=>{m.value=!1},onClose:()=>{m.value=!1}}):A.createElement(re,null,A.createElement("label",{htmlFor:"skill-instructions-editor"},"Skill instructions"),A.createElement(oe,{"aria-busy":c.value},A.createElement(se,{id:"skill-instructions-editor",value:s.value,maxLength:2e4,disabled:c.value,onChange:e=>{s.value=e.target.value,u.value=!1,p.value=null}})),u.value&&A.createElement(d.hu,{role:"status"},"Changes saved."),p.value&&A.createElement(d.hu,{role:"alert"},p.value),A.createElement(ce,null,A.createElement(d.$5,{type:"button",onClick:g},"Close"),A.createElement(d.$5,{type:"button",black:!0,disabled:c.value||!f||!s.value.trim(),onClick:async()=>{if(!c.value&&f&&s.value.trim()){c.value=!0,p.value=null,u.value=!1;try{const e=await l(a,Object.assign({},o,{instructions:s.value.trim()}));if(!r())return;s.value=e.draft.instructions,m.value=!1,u.value=!0}catch(e){r()&&(p.value=e instanceof Error?e.message:"Unable to save the draft.")}finally{r()&&(c.value=!1)}}}},"Save Changes"))))}const re=n.default.div.withConfig({displayName:"skill-editor__EditorContent",componentId:"sc-fxjpzj-0"})(["display:flex;flex-direction:column;gap:1rem;width:100%;height:100%;min-height:0;box-sizing:border-box;padding:0 1rem;font-family:Inter,sans-serif;font-size:1.4rem;"]),oe=n.default.div.withConfig({displayName:"skill-editor__EditorInputWrapper",componentId:"sc-fxjpzj-1"})(["position:relative;display:flex;flex:1;min-height:0;width:100%;"]),se=n.default.textarea.withConfig({displayName:"skill-editor__InstructionsEditor",componentId:"sc-fxjpzj-2"})(["flex:1;width:100%;min-height:0;box-sizing:border-box;padding:1.4rem;border:1px solid #c4c4c4;border-radius:0.8rem;font-family:inherit;font-size:1.6rem;line-height:1.6;resize:none;overflow-y:auto;&:focus,&:focus-visible{outline:none;}"]),ce=n.default.div.withConfig({displayName:"skill-editor__EditorActions",componentId:"sc-fxjpzj-3"})(["display:flex;flex-shrink:0;justify-content:flex-end;gap:1.2rem;padding:1rem 0 0;"]),de={approve:{title:"Publish this skill?",description:"This will publish the saved draft for this store and replace any previously approved version. A deactivated skill will remain deactivated.",caption:"Publish"},archive:{title:"Delete this skill?",description:"This will archive the skill and remove it from this list. It will no longer be available to new AI runs.",caption:"Delete"}
1,deactivate:{title:"Unpublish this skill?",description:"New AI runs will no longer use this skill. Runs already in progress may still use it. You can publish it again later.",caption:"Unpublish"},activate:{title:"Publish this skill again?",description:"New AI runs can use the previously approved version again. Unpublished changes will remain unpublished.",caption:"Publish"}};function ue(e){let{action:t,title:a,fromRef:n,onConfirm:l,onClose:i}=e;const r=de[t];return A.createElement(Ae.w,{isVisible:!0,showBackdrop:!0,hideCloseButton:!0,fromRef:n,targetPosAndSize:(0,le.F)(45,40),padding:0,contentPadding:0,noTopContentSpacing:!0,noBottomContentSpacing:!0,shadowFixScrollerMargin:0,shadowFixScrollerPadding:0,overflowTop:{heightInRem:0},overflowBottom:{heightInRem:0},toStyle:{position:"relative",top:0,left:0,right:"auto",bottom:"auto",minWidth:0,borderRadius:"1rem",backgroundColor:"#fff"},onClose:i},A.createElement(ne.u,{titleH:"auto",title:A.createElement(A.Fragment,null,r.title,A.createElement("div",{style:{marginTop:"0.75rem",fontSize:"1.4rem",fontWeight:500,overflowWrap:"anywhere"}},a)),description:r.description,yesCaption:r.caption,noCaption:"Cancel",onConfirm:l,onDiscard:i,onClose:i}))}function pe(e){const t=O(),{listSkills:a}=function(){const{get:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{listSkills:async()=>{const a=await e(Y.JZ.aiListSkills());if(!t.ok)throw new Error("Unable to fetch saved skills. Please try again later.");if(!Array.isArray(null==a?void 0:a.skills))throw new Error("The server returned an invalid skills list.");return a.skills},loading:a}}(),{saveSkillDraft:A}=function(){const{patch:e,response:t}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{saveSkillDraft:async(a,A,n)=>{var l;const i=await e(Y.JZ.aiSaveSkillDraft(a),{expectedRevision:A,draft:{title:n.title,description:n.description,instructions:n.instructions,target_agents:n.targetAgents,tags:n.tags}});if(!t.ok){const e=t.data;throw new Error("string"==typeof(null==e?void 0:e.detail)?e.detail:"Unable to save the skill draft. Please try again later.")}if((null==i?void 0:i.skillId)!==a||!Number.isInteger(i.revision)||i.revision<=A||"string"!=typeof(null===(l=i.draft)||void 0===l?void 0:l.instructions))throw new Error("The server returned an invalid skill draft response.");return i}}}(),{approveSkill:n}=function(){const{post:e,response:t}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{approveSkill:async(a,A)=>{const n=await e(Y.JZ.aiApproveSkill(a),{expectedRevision:A});if(!t.ok){const e=t.data;throw new Error("string"==typeof(null==e?void 0:e.detail)?e.detail:"Unable to approve the skill. Please try again later.")}if((null==n?void 0:n.skillId)!==a||"approved"!==n.status||"boolean"!=typeof n.enabled||!Number.isInteger(n.revision)||n.revision<=A||"string"!=typeof n.generationStatus||"string"!=typeof n.approved.instructions)throw new Error("The server returned an invalid skill response.");return n}}}(),{archiveSkill:l}=function(){const{post:e,response:t}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{archiveSkill:async(a,A)=>{const n=await e(Y.JZ.aiArchiveSkill(a),{expectedRevision:A});if(!t.ok){const e=t.data;throw new Error("string"==typeof(null==e?void 0:e.detail)?e.detail:"Unable to archive the skill. Please try again.")}if((null==n?void 0:n.skillId)!==a||"archived"!==n.status||!1!==n.enabled||!Number.isInteger(n.revision)||n.revision<=A)throw new Error("The server returned an invalid archive response.");return n}}}(),{setSkillActivation:i}=function(){const{patch:e,response:t}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{setSkillActivation:async(a,A,n)=>{const l=await e(Y.JZ.aiSetSkillActivation(a),{expectedRevision:A,enabled:n});if(!t.ok){const e=t.data;throw new Error("string"==typeof(null==e?void 0:e.detail)?e.detail:"Unable to update skill activation. Please try again later.")}if((null==l?void 0:l.skillId)!==a||"approved"!==l.status||l.enabled!==n||!Number.isInteger(l.revision)||l.revision<=A||"string"!=typeof l.updatedAt)throw new Error("The server returned an invali
1d activation response.");return l}}}(),r=(0,S.Ul)([]),o=(0,S.Ul)(null),s=(0,S.Ul)(!1),d=(0,S.Ul)(null),u=(0,S.Ul)(null),p=(0,S.Ul)(null);c()(async t=>{if(e){s.value=!0;try{const e=await a();if(t()){const t=new Set(r.value.map(e=>e.skillId));r.value=[].concat((0,I.A)(r.value),(0,I.A)(e.filter(e=>!t.has(e.skillId))))}}catch(A){t()&&(d.value=A instanceof Error?A.message:"Unable to load skills. Please try again.")}finally{t()&&(s.value=!1)}}},[e]);const m=e=>{const t=r.value.some(t=>t.skillId===e.skillId);r.value=t?r.value.map(t=>t.skillId===e.skillId?e:t):[e].concat((0,I.A)(r.value))};return{skills:r,generatedSkillId:o,loading:s,loadError:d,actionError:u,pendingAction:p,addGeneratedSkill:(e,t)=>{m({skillId:e.skillId,revision:e.revision,status:e.status,enabled:!1,draft:e.draft,approved:null,intent:{prompt:t}}),o.value=e.skillId},saveDraft:async(e,a)=>{const n=await A(e.skillId,e.revision,a),l=Object.assign({},e,n);return t()&&m(l),l},performAction:async e=>{if(p.value)return;p.value=e,u.value=null;const{skill:a,action:A}=e;try{if("approve"===A){const e=await n(a.skillId,a.revision);if(!t())return;m(Object.assign({},a,e))}else if("archive"===A){const e=await l(a.skillId,a.revision);if(!t())return;r.value=r.value.filter(t=>t.skillId!==e.skillId)}else{const e=await i(a.skillId,a.revision,"activate"===A);if(!t())return;m(Object.assign({},a,e))}o.value===a.skillId&&(o.value=null)}catch(s){t()&&(u.value=s instanceof Error?s.message:"Unable to "+A+" the skill.")}finally{t()&&(p.value=null)}}}}function me(){var e;const{account:t}=(0,A.useContext)(u.Lu),a=null==t||null===(e=t.store)||void 0===e?void 0:e.alias;return A.createElement(fe,{key:null!=a?a:"no-store",storeAlias:a})}function fe(e){var t,a,n;let{storeAlias:l}=e;(0,D.dC)();const i=pe(l),r=(0,S.Ul)(!1),o=(0,S.Ul)(!1),s=(0,S.Ul)(null),c=(0,S.Ul)(null),u=(0,A.useRef)(null),p=(0,A.useRef)(null),m=(0,A.useId)(),f=i.skills.value.find(e=>e.skillId===s.value),g=i.skills.value.find(e=>e.skillId===i.generatedSkillId.value),h=i.skills.value.filter(e=>e.skillId!==i.generatedSkillId.value),E=g?[g].concat((0,I.A)(h)):h,b=r.value?E:E.slice(0,5),v=!l||o.value||i.loading.value||!!i.pendingAction.value||!!f||!!c.value,w=(e,t,a)=>{p.current=a,i.actionError.value=null,c.value={action:e,skill:t}};return A.createElement(A.Fragment,null,A.createElement(d.KT,null,A.createElement(ge,null,A.createElement(he,{as:"h3"},"Skills"),A.createElement(Ee,null,"Define rules and instructions for AI agents working on this store. Skills are shared across the account and apply to all users.")),A.createElement(be,null,i.actionError.value&&A.createElement(d.hu,{role:"alert"},i.actionError.value),A.createElement(ve,{id:m},A.createElement(z,{disabled:!l||i.loading.value||!!i.pendingAction.value||!!f||!!c.value,onGenerated:i.addGeneratedSkill,onGeneratingChange:e=>{o.value=e}}),i.loading.value&&A.createElement(d.hu,{role:"status"},"Loading saved skillsâ¦"),i.loadError.value&&A.createElement(d.hu,{role:"alert"},i.loadError.value),b.map(e=>{var t;return A.createElement(ee,{key:e.skillId,skill:e,generated:e.skillId===i.generatedSkillId.value,disabled:v,pendingAction:(null===(t=i.pendingAction.value)||void 0===t?void 0:t.skill.skillId)===e.skillId?i.pendingAction.value.action:void 0,onEdit:t=>{u.current=t,s.value=e.skillId},onApprove:t=>w("approve",e,t),onArchive:t=>w("archive",e,t),onActivation:t=>w(e.enabled?"deactivate":"activate",e,t)})})),A.createElement(we,null,E.length>5&&A.createElement(ye,{type:"button","aria-expanded":r.value,"aria-controls":m,onClick:()=>{r.value=!r.value}},r.value?"Show Less":"Show All")))),c.value&&A.createElement(ue,{action:c.value.action,title:null!==(t=null===(a=null!==(n=c.value.skill.draft)&&void 0!==n?n:c.value.skill.approved)||void 0===a?void 0:a.title)&&void 0!==t?t:"",fromRef:p,onClose:()=>{c.value=null},onConfirm:()=>{const e=c.value;c.value=null,e&&i.performAction(e)}}),f&&A.createElement(ie,{key:f.skillId,skill:f,fromRef:u,onSave:i.saveDraft,onClose:()=>{s.value=null}}))}const ge=n.default.div.withConfig({displayName:"skills__PanelHeader",componentId:"sc-14wcug1-0"})(["display:flex;flex-direction:column;gap:1.4rem;"]),he=(0,n.default)(d.eA).withConfig({displayName:"skills__PanelTitle",componentId:"sc-14wcug1-1"})(["font-size:2.4rem;line-height:1.3;text-align:left;"]),Ee=(0,n.default)(d.hu).withConfig({displayName:"skills__PanelDescription",componentId:"sc-14wcug1-2"})(["color:#444;font-size:1.5rem;line-height:1.6;"]),be=n.default.div.withConfig({displayName:"skills__SkillsContent",componentId:"sc-14wcug1-3"})(["margin-bottom:-3.6rem;","{margin-bottom:-2.4rem;}"],i.fi.down("sm")),ve=n.default.div.withConfig({displayName:"skills__SkillsGrid",componentId:"sc-14wcug1-4"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;","{grid-template-columns:1fr;}"],i.fi.down("md")),we=n.default.div.withConfig({displayName:"skills__SkillsFooter",componentId:"sc-14wcug1-5"})(["position:relative;display:flex;justify-content:center;align-items:flex-start;height:5.8rem;margin-top:1.6rem;padding-top:1.2rem;"]),ye=(0,n.default)(U).withConfig({displayName:"skills__ShowAllButton",componentId:"sc-14wcug1-6"})(["position:relative;min-height:2.8rem;padding:0.5rem 1.8rem;border:1px solid #555;border-radius:2rem;background:#fff;color:#000;box-shadow:0 2px 5px rgba(0,0,0,0.15);font-family:Inter,sans-serif;font-size:1.2rem;"]),Ce=n.default.div.withConfig({displayName:"style-card-components__StyleCard",componentId:"sc-1s0q5je-0"})(["display:flex;flex-direction:column;text-align:left;gap:1.8rem;min-width:0;min-height:18rem;padding:2rem 2.6rem 3rem;border:1px solid #d8dde2;border-radius:0.8rem;background:#fff;box-shadow:0 4px 6px rgba(151,210,206,0.22),0 1px 1px rgba(0,0,0,0.1);"]),xe=n.default.h4.withConfig({displayName:"style-card-components__CardTitle",componentId:"sc-1s0q5je-1"})(["margin:0;color:#444;font-family:Inter,sans-serif;font-size:1.5rem;font-weight:400;line-height:2rem;"]),Be=n.default.button.withConfig({displayName:"style-card-components__EditButton",componentId:"sc-1s0q5je-2"})(["display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;border:0;background:transparent;color:#333;cursor:pointer;&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]);var je=a(21839),Qe=a(52582),ke=a(3770);var Ne=a(62852);function Ie(e){var t="function"==typeof Map?new Map:void 0;return Ie=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return function(e,t,a){if((0,Ne.A)())return Reflect.construct.apply(null,arguments);var A=[null];A.push.apply(A,t);var n=new(e.bind.apply(e,A));return a&&(0,ke.A)(n,a.prototype),n}(e,arguments,(0,Qe.A)(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),(0,ke.A)(a,e)},Ie(e)}function Se(e){if(!e||!Number.isInteger(e.revision)||e.revision<0||"boolean"!=typeof e.canReset)throw new Error("The server returned an invali
1d styles response.");if("ready"===e.status&&"string"==typeof e.extractedText&&e.extractedText.trim()&&("extracted"===e.source||"override"===e.source))return e;if("not_available"===e.status&&null===e.extractedText&&null===e.source)return e;throw new Error("The server returned an invalid styles response.")}let De=function(e){function t(){var t;return(t=e.call(this,"The styles changed. Reload the latest version before saving.")||this).name="StylesRevisionConflictError",t}return(0,je.A)(t,e),t}(Ie(Error));function Re(e){let{initialText:t,initialRevision:a,initialCanReset:n,onSaved:l}=e;const{saveStylesOverride:i}=function(){const{patch:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{saveStylesOverride:async(a,A)=>{const n=await e(Y.JZ.aiExtractedStyles(),{text:a,expectedRevision:A});if(409===t.status)throw new De;if(!t.ok)throw new Error("Unable to save styles. Please try again later.");const l=Se(n);if("ready"!==l.status||"override"!==l.source)throw new Error("The server returned an invalid saved styles response.");return l},loading:a}}(),{resetStylesOverride:r}=function(){const{post:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{resetStylesOverride:async a=>{const A=await e(Y.JZ.aiResetStyles(),{expectedRevision:a});if(409===t.status)throw new De;if(!t.ok)throw new Error("Unable to restore extracted styles. Please try again later.");const n=Se(A);if("ready"!==n.status||"extracted"!==n.source||n.canReset)throw new Error("The server returned an invalid restored styles response.");return n},loading:a}}(),o=(0,S.Ul)(t),s=(0,S.Ul)(t),c=(0,S.Ul)(a),d=(0,S.Ul)(n),u=(0,S.Ul)(!1),p=(0,S.Ul)(!1),m=(0,S.Ul)(null),f=(0,S.Ul)(!1),g=(0,S.Ul)(!1),h=(0,S.Ul)(!1),E=(0,S.Ul)(!1),b=(0,A.useRef)(!0);(0,A.useEffect)(()=>(b.current=!0,()=>{b.current=!1}),[]);const v=o.value!==s.value;return{text:o,canReset:d,saving:u,saved:p,error:m,conflict:f,resetting:g,confirmReset:h,restored:E,hasChanges:v,saveChanges:async()=>{if(!(g.value||u.value||f.value||!v||!o.value.trim()||o.value.length>5e4)){u.value=!0,p.value=!1,E.value=!1,m.value=null;try{const e=await i(o.value,c.value);if(!b.current)return;if("ready"!==e.status)throw new Error("The server returned no saved styles.");o.value=e.extractedText,s.value=e.extractedText,c.value=e.revision,d.value=e.canReset,p.value=!0,l(e)}catch(e){if(!b.current)return;f.value=e instanceof De,m.value=e instanceof Error?e.message:"Unable to save styles. Please try again."}finally{b.current&&(u.value=!1)}}},restoreStyles:async()=>{if(!(u.value||g.value||f.value)&&d.value){h.value=!1,g.value=!0,p.value=!1,E.value=!1,m.value=null;try{const e=await r(c.value);if(!b.current)return;if("ready"!==e.status)throw new Error("The server returned no restored styles.");o.value=e.extractedText,s.value=e.extractedText,c.value=e.revision,d.value=e.canReset,E.value=!0,l(e)}catch(e){if(!b.current)return;f.value=e instanceof De,m.value=e instanceof Error?e.message:"Unable to restore extracted styles. Please try again."}finally{b.current&&(g.value=!1)}}}}}function Ye(e){(0,D.dC)();const t=(0,S.Ul)(!1),a=(0,A.useId)(),n=(0,A.useId)(),{text:l,canReset:i,saving:r,saved:o,error:s,conflict:c,resetting:u,confirmReset:p,restored:m,hasChanges:f,saveChanges:g,restoreStyles:h}=Re(e),E=r.value||u.value;return A.createElement(Ce,null,A.createElement(xe,{as:"label",htmlFor:a},"Styling instructions"),A.createElement(Pe,null,A.createElement(_e,{id:a,$expanded:t.value,readOnly:!t.value,value:l.value,maxLength:5e4,disabled:E||p.value,"aria-busy":E,onChange:e=>{l.value=e.target.value,o.value=!1,m.value=!1,c.value||(s.value=null)}}),A.createElement(P.O,{loading:E,backgroundColor:"rgba(255, 255, 255, 0.75)",blurAmount:2,borderRadius:"0.6rem",spinnerSize:32})),o.value&&A.createElement(d.hu,{role:"status"},"Changes saved."),m.value&&A.createElement(d.hu,{role:"status"},"Extracted styles restored."),s.value&&A.createElement(d.hu,{role:"alert"},s.value),c.value&&A.createElement(d.hu,null,"Copy your edits before refreshing the page to load the latest version."),t.value&&p.value?A.createElement(Ue,{role:"group","aria-labelledby":n},A.createElement(d.hu,{id:n},"Restore extracted styles? This will remove your saved override and discard any unsaved edits."),A.createElement(Te,null,A.createElement(d.$5,{type:"button",onClick:()=>{p.value=!1}},"Continue Editing"),A.createElement(d.$5,{type:"button",black:!0,onClick:h},"Restore"))):A.createElement(Te,null,A.createElement(d.$5,{type:"button",disabled:E,"aria-expanded":t.value,"aria-controls":a,onClick:()=>{t.value=!t.value}},t.value?"Show less":"Show more"),t.value&&A.createElement(A.Fragment,null,i.value&&A.createElement(d.$5,{type:"button",disabled:E||c.value,onClick:()=>{p.value=!0}},u.value?"Restoringâ¦":"Restore extracted styles"),A.createElement(d.$5,{type:"button",black:!0,disabled:E||c.value||!f||!l.value.trim()||l.value.length>5e4,onClick:g},r.value?"Savingâ¦":"Save Changes"))))}const Pe=n.default.div.withConfig({displayName:"styles-editor__EditorInputWrapper",componentId:"sc-vofai1-0"})(["position:relative;width:100%;"]),_e=n.default.textarea.withConfig({displayName:"styles-editor__InstructionsEditor",componentId:"sc-vofai1-1"})(["display:block;width:100%;height:",";padding:1.8rem;border:1px solid #d0d0d0;border-radius:0.6rem;background:",";color:#444;font-family:Inter,sans-serif;font-size:1.6rem;line-height:1.6;resize:none;overflow-y:auto;box-sizing:border-box;&:focus,&:focus-visible{outline:none;}"],e=>e.$expanded?"min(55vh, 48rem)":"20rem",e=>e.$expanded?"#fff":"#fafafa"),Te=n.default.div.withConfig({displayName:"styles-editor__EditorActions",componentId:"sc-vofai1-2"})(["display:flex;flex-wrap:wrap;justify-content:flex-end;
1gap:1rem;> button{width:auto;}"]),Ue=n.default.div.withConfig({displayName:"styles-editor__ResetConfirmation",componentId:"sc-vofai1-3"})(["display:flex;flex-direction:column;gap:1.4rem;"]);function Fe(e){var t;const{getExtractedStyles:a}=function(){const{get:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{getExtractedStyles:async()=>{const a=await e(Y.JZ.aiExtractedStyles());if(!t.ok)throw new Error("Unable to fetch extracted styles. Please try again later.");return Se(a)},loading:a}}(),A=(0,S.Ul)(0),n=(0,S.Ul)(null);c()(async t=>{if(n.value=null,e)try{const A=await a();t()&&(n.value={storeAlias:e,data:A,error:null})}catch(A){t()&&(n.value={storeAlias:e,data:null,error:A instanceof Error?A.message:"Unable to load extracted styles."})}},[e,A.value]);return{currentResult:(null===(t=n.value)||void 0===t?void 0:t.storeAlias)===e?n.value:null,retry:()=>{n.value=null,A.value+=1},updateStyles:t=>{e&&(n.value={storeAlias:e,data:t,error:null})}}}function Me(e){var t,a,A,n,l,i;if(!(e&&Number.isInteger(e.revision)&&!(e.revision<1)&&["pending","extracted"].includes(e.initializationStatus)&&Array.isArray(e.userEditedPaths)&&Array.isArray(null===(t=e.styles)||void 0===t?void 0:t.tones)&&null!==(a=e.styles)&&void 0!==a&&a.colors&&null!==(A=e.styles)&&void 0!==A&&null!==(n=A.typography)&&void 0!==n&&n.headline&&null!==(l=e.styles)&&void 0!==l&&null!==(i=l.typography)&&void 0!==i&&i.body))throw new Error("The server returned an invalid style preferences response.");return e}let Ge=function(e){function t(){var t;return(t=e.call(this,"Style preferences changed. Reload the latest preferences before saving.")||this).name="PreferredStylesConflictError",t}return(0,je.A)(t,e),t}(Ie(Error));function Oe(){const{patch:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{savePreferredStyles:async a=>{const A=await e(Y.JZ.aiPreferredStyles(),a);if(409===t.status)throw new Ge;if(422===t.status)throw new Error("Some style preferences are invalid. Check your selections and try again.");if(!t.ok)throw new Error("Unable to save style preferences. Please try again later.");return Me(A)},loading:a}}function ze(e){var t;const{getPreferredStyles:a}=function(){const{get:e,response:t,loading:a}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE}));return{getPreferredStyles:async()=>{const a=await e(Y.JZ.aiPreferredStyles());if(!t.ok)throw new Error("Unable to fetch style preferences. Please try again later.");return Me(a)},loading:a}}(),A=(0,S.Ul)(0),n=(0,S.Ul)(null);c()(async t=>{if(n.value=null,e)try{const A=await a();t()&&(n.value={storeAlias:e,data:A,error:null})}catch(A){t()&&(n.value={storeAlias:e,data:null,error:A instanceof Error?A.message:"Unable to load style preferences."})}},[e,A.value]);const l=(null===(t=n.value)||void 0===t?void 0:t.storeAlias)===e?n.value:null;return{currentResult:l,loading:!!e&&!l,retry:()=>{n.value=null,A.value+=1},updatePreferences:t=>{e&&(n.value={storeAlias:e,data:t,error:null})}}}function He(e){const t=null!=e?e:"";let a="",A=!1,n=-1;for(let l=0;l<t.length;l+=1){const e=t[l];if(A)A=!1;else if("\\"===e)A=!0;else if(a)e===a&&(a="");else if('"'===e||"'"===e)a=e;else if(","===e){n=l;break}}return-1===n?{primaryFont:t.trim(),fallbackFonts:""}:{primaryFont:t.slice(0,n).trim(),fallbackFonts:t.slice(n+1).trim()}}function Le(e){const{primaryFont:t}=He(e);return"system-ui"===t?"System default":t||"Not specified"}var Je=a(19739);function Ze(e){let{value:t,disabled:a,onChange:n}=e;return A.createElement(Xe,null,A.createElement(We,null,A.createElement("span",null,"Primary font"),A.createElement(qe,{type:"text",value:t.primaryFont,maxLength:200,disabled:a,placeholder:"For example: Arial",onChange:e=>n(Object.assign({},t,{primaryFont:e.target.value}))}),A.createElement(Ke,null,"system-ui"===t.primaryFont.trim()?"System default â uses the visitorâs device font.":"Enter a font family available on your storefront.")),A.createElement(Ve,null,A.createElement("summary",null,"Advanced: fallback fonts"),A.createElement(We,null,A.createElement("span",null,"Fallback fonts"),A.createElement(qe,{type:"text",value:t.fallbackFonts,maxLength:200,disabled:a,placeholder:"For example: Ar
1ial, sans-serif",onChange:e=>n(Object.assign({},t,{fallbackFonts:e.target.value}))}),A.createElement(Ke,null,"Used in order when the primary font is unavailable. Separate font names with commas."))),A.createElement(We,null,A.createElement("span",null,"Font weight"),A.createElement(qe,{type:"number",min:1,max:1e3,step:1,value:t.fontWeight,disabled:a,placeholder:"For example: 400 or 700",onChange:e=>n(Object.assign({},t,{fontWeight:e.target.value}))}),A.createElement(Ke,null,"Common weights: 400 regular, 500 medium, 600 semibold, 700 bold.")),A.createElement(We,null,A.createElement("span",null,"Style description"),A.createElement(qe,{type:"text",value:t.description,maxLength:500,disabled:a,placeholder:"For example: Bold, clean headlines",onChange:e=>n(Object.assign({},t,{description:e.target.value}))})))}const Ve=n.default.details.withConfig({displayName:"typography-fields__Advanced",componentId:"sc-15o1xmb-0"})(["color:#5d606c;font-family:Inter,sans-serif;font-size:1.3rem;text-align:left;> summary{cursor:pointer;}&[open] > summary{margin-bottom:1.4rem;}"]),Xe=n.default.div.withConfig({displayName:"typography-fields__Fields",componentId:"sc-15o1xmb-1"})(["display:flex;flex-direction:column;gap:1.8rem;"]),We=n.default.label.withConfig({displayName:"typography-fields__Field",componentId:"sc-15o1xmb-2"})(["display:flex;flex-direction:column;align-items:stretch;gap:0.8rem;min-width:0;color:#5d606c;font-family:Inter,sans-serif;font-size:1.4rem;font-weight:500;text-align:left;"]),qe=(0,n.default)(Je.ks).withConfig({displayName:"typography-fields__FontInput",componentId:"sc-15o1xmb-3"})(["width:100%;min-width:0;box-sizing:border-box;padding:1.2rem;border:1px solid #d8dde2;border-radius:0.8rem;background:#fff;box-shadow:none;font-size:1.4rem;font-weight:400;line-height:1.5;&:focus,&:focus-visible{outline:none;box-shadow:none;}&:disabled{opacity:0.5;cursor:not-allowed;}"]),Ke=n.default.span.withConfig({displayName:"typography-fields__HelpText",componentId:"sc-15o1xmb-4"})(["color:#798794;font-size:1.2rem;font-weight:400;line-height:1.5;text-align:left;"]);function $e(e){var t;let{target:a,preferences:n,fromRef:l,onSaved:i,onClose:r,onReload:o}=e;(0,D.dC)();const s=O(),{savePreferredStyles:c}=Oe(),[u]=A.useState(n),p=u.styles.typography[a],m=(0,S.Ul)(Object.assign({description:null!==(t=p.description)&&void 0!==t?t:""},He(p.fontFamily),{fontWeight:null===p.fontWeight?"":String(p.fontWeight)})),f=(0,S.Ul)(!1),g=(0,S.Ul)(null),h=(0,S.Ul)(!1),E=m.value.description.trim()||null,b=He(p.fontFamily),v=m.value.primaryFont.trim()!==b.primaryFont||m.value.fallbackFonts.trim()!==b.fallbackFonts?(w=m.value.primaryFont,y=m.value.fallbackFonts,[w.trim(),y.trim()].filter(Boolean).join(", ")||null):p.fontFamily;var w,y;const C=(null===v||v.length<=200)&&(!m.value.fallbackFonts.trim()||!!m.value.primaryFont.trim()),x=m.value.fontWeight.trim(),B=""===x?null:Number(x),j=null===B||Number.isInteger(B)&&B>=1&&B<=1e3,Q=[];E!==p.description&&Q.push({path:"typography."+a+".description",value:E}),v!==p.fontFamily&&Q.push({path:"typography."+a+".font_family",value:v}),B!==p.fontWeight&&Q.push({path:"typography."+a+".font_weight",value:B});const k=()=>{f.value||r()};return A.createElement(Ae.w,{loading:f.value,isVisible:!0,showBackdrop:!0,fromRef:l,targetPosAndSize:(0,le.F)(55,52),contentPadding:4,paddingBottom:3,noTopContentSpacing:!0,noBottomContentSpacing:!0,shadowFixScrollerMargin:0,shadowFixScrollerPadding:0,overflowTop:{heightInRem:0},overflowBottom:{heightInRem:0},toStyle:{borderRadius:"1rem",backgroundColor:"#fff"},disableCloseOnBackdropClick:!0,hideCloseButton:f.value,onClose:k},A.createElement(et,{"aria-busy":f.value},A.createElement(tt,null,"headline"===a?"Headline typography":"Body typography"),A.createElement(Ze,{value:m.value,disabled:f.value||h.value,onChange:e=>{m.value=e}}),!C&&A.createElement(d.hu,{role:"alert"},"Enter a primary font when using fallbacks. The complete font stack must not exceed 200 characters."),!j&&A.createElement(d.hu,{role:"alert"},"Font weight must be a whole number between 1 and 1000."),g.value&&A.createElement(d.hu,{role:"alert"},g.value),h.value&&A.createElement(d.$5,{type:"button",small:!0,onClick:()=>{r(),o()}},"Discard edits and reload"),A.createElement(at,null,A.createElement(d.$5,{type:"button",small:!0,disabled:f.value,onClick:k},"Cancel"),A.createElement(d.$5,{type:"button",small:!0,black:!0,disabled:f.value||h.value||!j||!C||0===Q.length,onClick:async()=>
1{if(!f.value&&!h.value&&j&&C&&0!==Q.length){f.value=!0,g.value=null;try{const e=await c({expectedRevision:u.revision,changes:Q});if(!s())return;i(e),r()}catch(e){if(!s())return;h.value=e instanceof Ge,g.value=e instanceof Error?e.message:"Unable to save typography."}finally{s()&&(f.value=!1)}}}},f.value?"Savingâ¦":"Save"))))}const et=n.default.div.withConfig({displayName:"typography-editor__EditorContent",componentId:"sc-1ta4lih-0"})(["position:relative;display:flex;flex-direction:column;gap:2rem;"]),tt=n.default.h3.withConfig({displayName:"typography-editor__EditorTitle",componentId:"sc-1ta4lih-1"})(["margin:0;padding-right:3rem;color:#111;font-family:Inter,sans-serif;font-size:2rem;font-weight:600;line-height:1.3;text-align:left;"]),at=n.default.div.withConfig({displayName:"typography-editor__Actions",componentId:"sc-1ta4lih-2"})(["display:flex;justify-content:flex-end;gap:1rem;"]);function At(e){let{preferences:t,labels:a,fromRef:n,onSaved:l,onClose:i,onReload:r}=e;(0,D.dC)();const o=O(),{savePreferredStyles:s}=Oe(),c=(0,S.Ul)((0,I.A)(t.styles.tones)),u=(0,S.Ul)(!1),p=(0,S.Ul)(null),m=(0,S.Ul)(!1),f=c.value.length!==t.styles.tones.length||c.value.some(e=>!t.styles.tones.includes(e)),g=()=>{u.value||i()};return A.createElement(Ae.w,{loading:u.value,isVisible:!0,showBackdrop:!0,fromRef:n,targetPosAndSize:(0,le.F)(42,50),contentPadding:4,paddingBottom:3,noTopContentSpacing:!0,noBottomContentSpacing:!0,shadowFixScrollerMargin:0,shadowFixScrollerPadding:0,overflowTop:{heightInRem:0},overflowBottom:{heightInRem:0},toStyle:{borderRadius:"1rem",backgroundColor:"#fff"},disableCloseOnBackdropClick:!0,hideCloseButton:u.value,onClose:g},A.createElement(nt,{"aria-busy":u.value},A.createElement(nt,{"aria-busy":u.value},A.createElement(lt,null,"Choose tones"),A.createElement(d.hu,null,"Select the visual character you want for this store. Colors and fonts stay unchanged.")),A.createElement(d.hu,null,"Select the visual character you want for this store. Colors and fonts stay unchanged."),A.createElement(it,null,Object.keys(a).map(e=>A.createElement(ot,{key:e},A.createElement(st,{type:"checkbox",checked:c.value.includes(e),disabled:u.value||m.value,onChange:()=>(e=>{u.value||m.value||(c.value=c.value.includes(e)?c.value.filter(t=>t!==e):[].concat((0,I.A)(c.value),[e]))})(e)}),A.createElement("span",null,a[e])))),p.value&&A.createElement(d.hu,{role:"alert"},p.value),m.value&&A.createElement(d.$5,{type:"button",small:!0,onClick:()=>{i(),r()}},"Discard edits and reload"),A.createElement(rt,null,A.createElement(d.$5,{type:"button",small:!0,disabled:u.value,onClick:g},"Cancel"),A.createElement(d.$5,{type:"button",small:!0,black:!0,disabled:u.value||m.value||!f,onClick:async()=>{if(!u.value&&!m.value&&f){u.value=!0,p.value=null;try{const e=await s({expectedRevision:t.revision,changes:[{path:"tones",value:(0,I.A)(c.value)}]});if(!o())return;l(e),i()}catch(e){if(!o())return;m.value=e instanceof Ge,p.value=e instanceof Error?e.message:"Unable to save tones."}finally{o()&&(u.value=!1)}}}},u.value?"Savingâ¦":"Save"))))}const nt=n.default.div.withConfig({displayName:"tone-editor__EditorContent",componentId:"sc-1piwcob-0"})(["position:relative;display:flex;flex-direction:column;gap:2rem;"]),lt=n.default.h3.withConfig({displayName:"tone-editor__EditorTitle",componentId:"sc-1piwcob-1"})(["margin:0;padding-right:3rem;color:#111;font-family:Inter,sans-serif;font-size:2rem;font-weight:600;line-height:1.3;text-align:left;"]),it=n.default.div.withConfig({displayName:"tone-editor__Options",componentId:"sc-1piwcob-2"})(["display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem 2rem;"]),rt=n.default.div.withConfig({displayName:"tone-editor__Actions",componentId:"sc-1piwcob-3"})(["display:flex;justify-content:flex-end;gap:1rem;"]),ot=n.default.label.withConfig({displayName:"tone-editor__ToneOption",componentId:"sc-1piwcob-4"})(["display:flex;align-items:center;gap:1.2rem;padding:0.6rem 0;color:#5d606c;font-family:Inter,sans-serif;font-size:1.4rem;font-weight:500;cursor:pointer;flex:0 0 auto;white-space:nowrap;"]),st=n.default.input.withConfig({displayName:"tone-editor__ToneCheckbox",componentId:"sc-1piwcob-5"})(["appearance:none;flex-shrink:0;width:2rem;height:2rem;margin:0;border:1px solid #979797;border-radius:4px;background:#efefef;cursor:pointer;&:checked{background:#636262;box-shadow:inset 0 0 0 4px #efefef;}&:focus-visible{outline:2px solid #333333;outline-offset:3px;}&:disabled{cursor:not-allowed;opacity:0.5;}&:disabled + span{opacity:0.5;}"]);var ct=a(77986);function dt(e){let{value:t,disabled:a,undoCount:n,onChange:l,onUndo:i}=e;return A.createElement(ut,null,A.createElement(pt,{disabled:a,"aria-label":"Choose a color"},A.createElement(ct.Xq,{color:null!=t?t:"#FFFFFF",disableAlpha:!0,width:"100%",presetColors:[],styles:{default:{saturation:{paddingBottom:"0",height:"160px",cursor:"crosshair",touchAction:"none"},picker:{boxSizing:"border-box"}}},onChange:e=>{a||l(e.hex.toUpperCase())}})),A.createElement(d.hu,null,"Selected color: ",null!=t?t:"Not specified"),A.createElement(mt,{type:"button",small:!0,disabled:a||0===n,onClick:i},"Undo"))}const ut=n.default.div.withConfig({displayName:"color-picker-fields__Content",componentId:"sc-1l4v7ct-0"})(["display:flex;flex-direction:column;gap:1.4rem;min-width:0;"]),pt=n.default.fieldset.withConfig({displayName:"color-picker-fields__PickerGroup",componentId:"sc-1l4v7ct-1"})(["min-width:0;margin:0;padding:0;border:0;&:disabled{pointer-events:none;opacity:0.5;}.sketch-picker{box-sizing:border-box;box-shadow:none !important;border:1px solid #d8dde2;border-radius:0.8rem !important;}"]),mt=(0,n.default)(d.$5).withConfig({displayName:"color-picker-fields__UndoButton",componentId:"sc-1l4v7ct-2"})(["align-self:flex-start;&:disabled{opacity:0.5;cursor:not-allowed;}"]);function ft(e){let{label:t,path:a,originalColor:n,revision:l,colors:i,initialUndoHistory:r,fromRef:o,onSaved:s,onClose:c,onReload:u}=e;(0,D.dC)();const p=O(),{savePreferredStyles:m}=Oe(),[f]=A.useState({color:n,revision:l}),g=(0,S.Ul)(f.color),h=(0,S.Ul)(!1),E=(0,S.Ul)(null),b=(0,S.Ul)(!1),v="colors.primary_action"===a?g.value:i.primaryAction,w="colors.on_primary_action"===a?g.value:i.onPrimaryAction,y="colors.primary_action"===a||"colors.on_primary_action"===a,C=g.value!==f.color,x=(0,S.Ul)(r.slice(-10)),B=A.useRef(null);A.useEffect(()=>()=>{null!==B.current&&clearTimeout(B.current)},[]);const j=()=>{null!==B.current&&(clearTimeout(B.current),B.current=null)},Q=()=>{h.value||c()};return A.createElement(Ae.w,{loading:h.value,isVisible:!0,showBackdrop:!0,fromRef:o,targetPosAndSize:(0,le.F)(70,42),contentPadding:4,paddingBottom:3,noTopContentSpacing:!0,noBottomContentSpacing:!0,allowMouseMovePropagation:!0,shadowFixScrollerMargin:0,shadowFixScrollerPadding:0,overflowTo
1p:{heightInRem:0},overflowBottom:{heightInRem:0},toStyle:{borderRadius:"1rem",backgroundColor:"#fff"},disableCloseOnBackdropClick:!0,hideCloseButton:h.value,onClose:Q},A.createElement(gt,{"aria-busy":h.value},A.createElement(ht,null,t," color"),A.createElement(dt,{value:g.value,disabled:h.value||b.value,undoCount:x.value.length,onChange:e=>{h.value||b.value||e===g.value||(null===B.current&&(x.value=[].concat((0,I.A)(x.value),[g.value]).slice(-10)),g.value=e,j(),B.current=setTimeout(()=>{B.current=null},250))},onUndo:()=>{if(h.value||b.value||0===x.value.length)return;j();const e=x.value;g.value=e[e.length-1],x.value=e.slice(0,-1)}}),y&&A.createElement(bt,null,A.createElement(d.hu,null,"Button preview"),A.createElement(vt,{type:"button",$background:v,$textColor:w},"Add to cart"),(!v||!w)&&A.createElement(d.hu,null,"Unspecified colors use defaults for this preview only.")),E.value&&A.createElement(d.hu,{role:"alert"},E.value),b.value&&A.createElement(d.$5,{type:"button",small:!0,onClick:()=>{c(),u()}},"Discard edits and reload"),A.createElement(Et,null,A.createElement(d.$5,{type:"button",small:!0,disabled:h.value,onClick:Q},"Cancel"),A.createElement(d.$5,{type:"button",small:!0,black:!0,disabled:h.value||b.value||!C,onClick:async()=>{if(!h.value&&!b.value&&C){h.value=!0,E.value=null;try{const e=await m({expectedRevision:f.revision,changes:[{path:a,value:g.value}]});if(!p())return;s(e,(0,I.A)(x.value)),c()}catch(e){if(!p())return;b.value=e instanceof Ge,E.value=e instanceof Error?e.message:"Unable to save the color."}finally{p()&&(h.value=!1)}}}},h.value?"Savingâ¦":"Save"))))}const gt=n.default.div.withConfig({displayName:"color-editor__EditorContent",componentId:"sc-1avq7c8-0"})(["position:relative;display:flex;flex-direction:column;gap:2rem;"]),ht=n.default.h3.withConfig({displayName:"color-editor__EditorTitle",componentId:"sc-1avq7c8-1"})(["margin:0;padding-right:3rem;color:#111;font-family:Inter,sans-serif;font-size:2rem;font-weight:600;line-height:1.3;text-align:left;"]),Et=n.default.div.withConfig({displayName:"color-editor__Actions",componentId:"sc-1avq7c8-2"})(["display:flex;justify-content:flex-end;gap:1rem;"]),bt=n.default.div.withConfig({displayName:"color-editor__Preview",componentId:"sc-1avq7c8-3"})(["display:flex;flex-direction:column;align-items:flex-start;gap:1rem;padding:1.6rem;border:1px solid #d8dde2;border-radius:0.8rem;background:#f7f8fa;"]),vt=n.default.button.withConfig({displayName:"color-editor__ExampleButton",componentId:"sc-1avq7c8-4"})(["appearance:none;padding:1.2rem 2.4rem;border:0;border-radius:0.8rem;background:",";color:",";font-family:Inter,sans-serif;font-size:1.4rem;font-weight:600;line-height:1.5;"],e=>{var t;return null!==(t=e.$background)&&void 0!==t?t:"#000000"},e=>{var t;return null!==(t=e.$textColor)&&void 0!==t?t:"#FFFFFF"}),wt={minimal:"Minimal",modern:"Modern",premium:"Premium",playful:"Playful",functional:"Functional","product-first":"Product-first"},yt=[{key:"primaryAction",label:"Primary button",path:"colors.primary_action"},{key:"onPrimaryAction",label:"Button text",path:"colors.on_primary_action"},{key:"background",label:"Background",path:"colors.background"},{key:"text",label:"Text",path:"colors.text"},{key:"accent",label:"Accent",path:"colors.accent"}];function Ct(e){const t=[Le(e.fontFamily)];return null!==e.fontWeight&&t.push("Weight "+e.fontWeight),t.join(" · ")}function xt(){var e;const{account:t}=(0,A.useContext)(u.Lu),a=null==t||null===(e=t.store)||void 0===e?void 0:e.alias;return A.createElement(Bt,{key:null!=a?a:"no-store",storeAlias:a})}function Bt(e){var t;let{storeAlias:a}=e;(0,D.dC)();const{currentResult:n,loading:l,retry:i,updatePreferences:r}=ze(a),[s,c]=A.useState(!1),u=A.useRef(null),p=null==n?void 0:n.data,[m,f]=A.useState(null),g=A.useRef(null),h=A.useRef(null),[E,b]=A.useState(null),[v,w]=A.useState({}),y=A.useRef(null);return A.createElement(A.Fragment,null,!a&&A.createElement(d.hu,null,"Select a store to view its style preferences."),l&&A.createElement(d.hu,{role:"status"},"Loading style preferencesâ¦"),(null==n?void 0:n.error)&&A.createElement(A.Fragment,null,A.createElement(d.hu,{role:"alert"},n.error),A.createElement(d.$5,{type:"button",small:!0,black:!0,onClick:i},"Retry")),p&&A.createElement(A.Fragment,null,"pending"===p.initializationStatus&&A.createElement(d.hu,null,"Extracted defaults are not available yet."),A.createElement(Qt,null,A.createElement(Ce,null,A.createElement(jt,null,A.createElement(xe,{as:"h4"},"Tone"),A.createElement(Be,{ref:u,type:"button","aria-label":"Edit tone",onClick:()=>c(!0)},A.createElement(o.WXf,{size:16,"aria-hidden":"true"}))),A.createElement(kt,null,p.styles.tones.map(e=>A.createElement(Nt,{key:e},wt[e])),0===p.styles.tones.length&&A.createElement(d.hu,null,"Not specified"))),s&&A.createElement(At,{preferences:p,labels:wt,fromRef:u,onSaved:r,onClose:()=>c(!1),onReload:i}),A.createElement(Ce,null,A.createElement(xe,{as:"h4"},"Texts"),A.createElement(It,null,A.createElement(St,{"aria-hidden":"true"},"Aa"),A.createElement(Dt,null,A.createElement(Rt,null,A.createElement("span",null,A.createElement("strong",null,"Headlines"),Ct(p.styles.typography.headline)),A.createElement(Be,{ref:g,type:"button","aria-label":"Edit headline typography",onClick:()=>f("headline")},A.createElement(o.WXf,{size:16,"aria-hidden":"true"}))),A.createElement(Rt,null,A.createElement("span",null,A.createElement("strong",null,"Body"),Ct(p.styles.typography.body)),A.createElement(Be,{ref:h,type:"button","aria-label":"Edit body typography",onClick:()=>f("body")},A.createElement(o.WXf,{size:16,"aria-hidden":"true"})))))),A.createElement(Ce,null,A.createElement(xe,{as:"h4"},"Colors"),A.createElement(Yt,null,yt.map(e=>{const t=p.styles.colors[e.key];return A.createElement(Pt,{key:e.key},A.createElement(Tt,{type:"button",$color:t,"aria-label":"Edit "+e.label+" color",onClick:t=>{y.current=t.currentTarget,b(e)}}),A.createElement(_t,null,e.label),A.createElement(_t,null,null!=t?t:"Not specified"))})))),E&&A.createElement(ft,{key:E.key,label:E.label,path:E.path,originalColor:p.styles.colors[E.key],revision:p.revision,colors:p.styles.colors,initialUndoHistory:null!==(t=v[E.path])&&void 0!==t?t:[],fromRef:y,onSaved:(e,t)=>{r(e),w(e=>Object.assign({},e,{[E.path]:t.slice(-10)}))},onClose:()=>b(null),onReload:i}),m&&A.createElement($e,{key:m,target:m,preferences:p,fromRef:"headline"===m?g:h,onSaved:r,onClose:()=>f(null),onReload:i})))}const jt=n.default.div.withConfig({displayName:"styles-tune__CardHeader",componentId:"sc-rtsgd6-0"})(["display:flex;align-items:center;justify-content:space-between;gap:1rem;"]),Qt=n.default.div.withConfig({displayName:"styles-tune__StylesGrid",componentId:"sc-rtsgd6-1"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;","{grid-template-columns:1fr;}"],i.fi.down("lg")),kt=n.default.div.withConfig({displayName:"styles-tune__ToneList",componentId:"sc-rtsgd6-2"})(["display:flex;flex-wrap:wrap;align-content:flex-start;gap:1.2rem 0.8rem;"]),Nt=n.default.span.withConfig({displayName:"styles-tune__ToneTag",componentId:"sc-rtsgd6-3"})(["padding:1.2rem 1.5rem;border-radius:3rem;background:#f4f4f4;color:#555;font-family:Inter,sans-serif;font-size:1.2rem;line-height:1.4rem;"]),It=n.default.div.withConfig({displayName:"styles-tune__TypographyContent",componentId:"sc-rtsgd6-4"})(["display:flex;align-items:flex-start;gap:1.6rem;min-width:0;","{flex-wrap:wrap;}"],i.fi.down("sm")),St=n.default.div.withConfig({displayName:"styles-tune__TypeSample",componentId:"sc-rtsgd6-5"})(["display:flex;align-items:center;justify-content:center;flex-shrink:0;width:8.2rem;height:8.2rem;border:1px solid #b7c6e2;border-radius:1rem;background:#f5f4f4;color:#000;font-family:Inter,sans-serif;font-size:2.8rem;font-weight:600;"]),Dt=n.default.div.withConfig({displayName:"styles-tune__TextStyles",componentId:"sc-rtsgd6-6"})(["flex:1;min-width:0;"]),Rt=n.default.div.withConfig({displayName:"styles-tune__TextStyle",componentId:"sc-rtsgd6-7"})(["display:flex;align-items:flex-start;gap:1rem;padding:1.2rem 0;color:#666;font-family:Inter,sans-serif;font-size:1.3rem;line-height:1.8rem;> span{flex:1;min-width:0;overflow-wrap:anywhere;}> button{margin-top:0.2rem;}&:first-child{padding-top:0;}& + &{border-top:1px solid #ddd;}strong{display:block;margin-bottom:0.4rem;color:#111;font-weight:500;}"]),Yt=n.default.div.withConfig({displayName:"styles-tune__ColorList",componentId:"sc-rtsgd6-8"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));align-items:start;gap:1.8rem 1.2rem;"]),Pt=n.default.div.withConfig({displayName:"styles-tune__ColorItem",componentId:"sc-rtsgd6-9"})(["display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:0.8rem;"]),_t=n.default.span.withConfig({displayName:"styles-tune__ColorName",componentId:"sc-rtsgd6-10"})(["color:#444;font-family:Inter,sans-serif;font-size:1.1rem;line-height:1.4rem;text-align:left;overflow-wrap:anywhere;&:nth-child(2){line-height:0.4rem;}"]),Tt=n.default.button.withConfig({displayName:"styles-tune__ColorSwatch",componentId:"sc-rtsgd6-11"})(["appearance:none;width:5.2rem;height:5.2rem;padding:0;border:1px solid #d8dde2;border-radius:0.8rem;background:",";cursor:pointer;&:focus-visible{outline:2px solid #3451fa;outline-offset:3px;}"],e=>{var t;return null!==(t=e.$color)&&void 0!==t?t:"transparent"});function Ut(){var e;const{account:t}=(0,A.useContext)(u.Lu),a=null==t||null===(e=t.store)||void 0===e?void 0:e.alias;return A.createElement(Ft,{key:null!=a?a:"no-store",storeAlias:a})}function Ft(e){var t,a;let{storeAlias:n}=e;(0,D.dC)();const{currentResult:l,retry:i,updateStyles:r}=Fe(n);return A.createElement(d.KT,null,A.createElement(Mt,null,A.createElement(Gt,{as:"h3"},"Extracted Styles"),A.createElement(Ot,null,"These brand cues were detected from your storefront and help keep AI-generated experiences visually on brand.")),A.createElement(xt,null),A.createElement(zt,null,!n&&A.createElement(d.hu,null,"Select a store to view its extracted styles."),n&&!l&&A.createElement(d.hu,{role:"status"},"Loading extracted stylesâ¦"),(null==l?void 0:l.error)&&A.createElement(A.Fragment,null,A.createElement(d.hu,{role:"alert"},l.error),A.createElement(d.$5,{type:"button",small:!0,black:!0,onClick:i},"Retry")),"not_available"===(null==l||null===(t=l.data)||void 0===t?void 0:t.status)&&A.createElement(d.hu,null,"No extracted styles are available for this store yet."),"ready"===(null==l||null===(a=l.data)||void 0===a?void 0:a.status)&&A.createElement(Ye,{initialText:l.data.extractedText,initialRevision:l.data.revision,initialCanReset:l.data.canReset,onSaved:r})))}const Mt=n.default.div.withConfig({displayName:"extracted-styles__PanelHeader",componentId:"sc-11824ca-0"})(["display:flex;flex-direction:column;gap:1.4rem;"]),Gt=(0,n.default)(d.eA).withConfig({displayName:"extracted-styles__PanelTitle",componentId:"sc-11824ca-1"})(["font-size:2.4rem;line-height:1.3;text-align:left;"]),Ot=(0,n.default)(d.hu).withConfig({displayName:"extracted-styles__PanelDescription",componentId:"sc-11824ca-2"})(["color:#444;font-size:1.5rem;line-height:1.6;"]),zt=n.default.div.withConfig({displayName:"extracted-styles__StylesContent",componentId:"sc-11824ca-3"})(["display:flex;flex-direction:column;gap:1.8rem;margin-top:0.6rem;"]);var Ht=a(13669),Lt=a(73923),Jt=a(83968);function Zt(){return A.createElement(Xt,null,A.createElement(Wt,null,A.createElement(qt,null,"CLAUDE"),A.createElement("h3",null,"Connect Claude automatically"),A.createElement("p",null,"Add the Visually remote connector and complete the secure Visually login flow. No OAuth credentials are required.")),A.createElement("div",null,A.createElement(d.hu,null,"1. In Claude, open ",A.createElement("b",null,"Settings"),"."),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/1.jpg",alt:"Claude menu with Settings selected",placeholder:"blurred",formats:["auto","webp"],__imageData:a(1571)})),A.createElement(d.hu,null,"2. Select ",A.createElement("b",null,"Connectors")," and ",A.createElement("b",null,"Add custom connector"),"."),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/2.jpg",alt:"Claude Connectors settings with Add custom connector selected",placeholder:"blurred",formats:["auto","webp"],__imageData:a(45648)})),A.createElement(d.hu,{as:"div"},A.createElement("div",null,"3. Give the connector a name, for example"," ",A.createElement("b",null,"visually"),"."),"4. Copy and paste this link into the connector URL field:"),A.createElement(d.NF,null,Y.JZ.storeAnalyticsMcpUrl()),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/3.jpg",alt:"Copy and paste this link into the connector URL field",placeholder:"blurred",formats:["auto","webp"],__imageData:a(65613)})),A.createElement(d.hu,{as:"div"},A.createElement("div",null,"5. Click ",A.createElement("b",null,"Continue")),A.createElement("div",null,"6. Set parameters for the connector as on the screenshot below."),A.createElement("div",null,"7. Scroll down to ",A.createElement("b",null,"Add")," button and click it.")),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/4.jpg",alt:"Set parameters for the connector",placeholder:"blurred",formats:["auto","webp"],__imageData:a(357)})),A.createElement(d.hu,{as:"div"},A.createElement("div",null,"8. Click ",A.createElement("b",null,"Add")," button and click it.")),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/5.jpg",alt:"Click Add button",placeholder:"blurred",formats:["auto","webp"],__imageData:a(35503)})),A.createElement(d.hu,{as:"div"},A.createElement("div",null,"9. Click ",A.createElement("b",null,"Connect"))),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/6.jpg",alt:"Click connect",placeholder:"blurred",formats:["auto","webp"],__imageData:a(8936)})),A.createElement(d.hu,null,"10. Sign in using the email address associated with your Visually account and approve access."),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/7.jpg",alt:"Sign in and approve access",placeholder:"blurred",formats:["auto","webp"],__imageData:a(68544)})),A.createElement(d.hu,null,"11. Start using visually mcp by typing ",A.createElement("b",null,"use visually mcp")),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/claude/8.jpg",alt:"Start using visually mcp",placeholder:"blurred",formats:["auto","webp"],__imageData:a(68992)}))))}function Vt(){return A.createElement(Xt,null,A.createElement(Wt,null,A.createElement(qt,null,"CHATGPT"),A.createElement("h3",null,"Connect ChatGPT automatically"),A.createElement("p",null,"Add a Streamable HTTP MCP server and authenticate with Visually. No bearer token or OAuth credentials are required.")),A.createElement("div",null,A.createElement(d.hu,null,"1. Open ",A.createElement("b",null,"Settings")," in ChatGPT."),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/1.jpg",alt:"Open Settings in ChatGPT",placeholder:"blurred",formats:["auto","webp"],__imageData:a(12335)})),A.createElement(d.hu,{as:"div"},A.createElement("div",null,"2. Select ",A.createElement("b",null,"Plugins"),"."),A.createElement("div",null,"3. Click ",A.createElement("b",null,"Add"),"."),A.createElement("div",null,"4. Select ",A.createElement("b",null,"Add MCP Server"),".")),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/2.jpg",alt:"Sign in and approve access",placeholder:"blurred",formats:["auto","webp"],__imageData:a(37099)})),A.createElement(d.hu,{as:"div"},A.createElement("div",null,"5. Type name for your MCP connection. It may be ",A.createElement("b",null,"visually"),"."),A.createElement("div",null,"6. Choose an option ",A.createElement("b",null,"Streamable HTTP"),"."),A.createElement("div",null,"4. Set URL."),A.createElement("div",null,"7. Click ",A.createElement("b",null,"Save"))),A.createElement(d.NF,null,Y.JZ.storeAnalyticsMcpUrl()),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/3.jpg",alt:"Sign in and approve access",placeholder:"blurred",formats:["auto","webp"],__imageData:a(80943)})),A.createElement(d.
1hu,null,"8. Click ",A.createElement("b",null,"Authenticate"),", then sign in using the email address associated with your Visually account."),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/4.jpg",alt:"Sign in and approve access",placeholder:"blurred",formats:["auto","webp"],__imageData:a(78182)})),A.createElement(d.hu,null,"9. Sign in using the email address associated with your Visually account and approve access."),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/5.png",alt:"Sign in and approve access",placeholder:"blurred",formats:["auto","webp"],__imageData:a(10015)})),A.createElement(d.hu,null,"10. If everything is set up correctly, you should see a message"),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/6.jpg",alt:"If everything is set up correctly, you should see a message",placeholder:"blurred",formats:["auto","webp"],__imageData:a(39623)})),A.createElement(d.hu,null,"11. Start using visually mcp by typing ",A.createElement("b",null,"use visually mcp")),A.createElement(Kt,null,A.createElement(Jt.S,{src:"../../shop-settings/oauth-clients/assets/gpt/7.jpg",alt:"Start using visually mcp",placeholder:"blurred",formats:["auto","webp"],__imageData:a(64843)}))),A.createElement("div",null,A.createElement("h3",null,"ChatGPT authentication troubleshooting"),A.createElement(d.hu,null,"If authentication was cancelled, interrupted, or failed, close any open Visually authentication tabs and click ",A.createElement("b",null,"Authenticate")," ","again.",A.createElement("br",null),A.createElement("br",null),"If the browser says it cannot connect to a"," ",A.createElement("b",null,"127.0.0.1")," or ",A.createElement("b",null,"localhost")," address, ChatGPT may be reusing an expired authentication attempt. Remove this MCP server from ChatGPT, add it again using the URL above, and restart authentication.",A.createElement("br",null),A.createElement("br",null),"Removing the MCP server only resets the connection in ChatGPT. It does not remove your Visually account or shop data. Do not copy the localhost callback URL into the MCP settings, and do not enter a bearer token.")))}const Xt=n.default.section.withConfig({displayName:"claude-conn-instructions__ConnectionOption",componentId:"sc-et159b-0"})(["padding:2rem;border:1px solid #e4e8eb;border-radius:1.2rem;background:#fff;text-align:left;& > *{text-align:left;}"]),Wt=n.default.div.withConfig({displayName:"claude-conn-instructions__OptionHeader",componentId:"sc-et159b-1"})(["margin-bottom:1.5rem;h3{margin:0.4rem 0;font-size:1.6rem;}p{margin:0;color:#798794;font-size:1.3rem;}"]),qt=n.default.span.withConfig({displayName:"claude-conn-instructions__OptionLabel",componentId:"sc-et159b-2"})(["color:#667680;font-size:1rem;font-weight:700;letter-spacing:0.08em;"]),Kt=n.default.figure.withConfig({displayName:"claude-conn-instructions__InstructionImage",componentId:"sc-et159b-3"})(["margin:1.5rem 0 2rem;width:100%;.gatsby-image-wrapper{display:block;width:100%;max-width:72rem;overflow:hidden;border:1px solid #e4e8eb;border-radius:1rem;box-shadow:0 4px 14px rgba(0,0,0,0.08);}"]);function $t(){(0,D.dC)();const{connections:e,loading:t,error:a,refresh:n}=function(){const e=(0,S.Ul)(null),t=(0,S.Ul)(!0),a=(0,S.Ul)(null),n=(0,A.useRef)(!1),l=(0,A.useRef)(!1),i=(0,A.useRef)(0),{get:r,response:o,abort:s}=(0,R.st)("",e=>Object.assign({},e,{credentials:"include",cachePolicy:R.L.NO_CACHE})),c=(0,A.useCallback)(async()=>{const e=await r(Y.JZ.storeAnalyticsMcpOAuthConnections());if(!o.ok||!Array.isArray(null==e?void 0:e.connections))throw new Error("Unable to verify MCP connections");return e.connections},[r,o]),d=(0,A.useCallback)(async()=>{if(!n.current||l.current)return;l.current=!0,i.current+=1;const A=i.current;t.value=!0,a.value=null;try{const t=await c();n.current&&A===i.current&&(e.value=t)}catch(r){n.current&&A===i.current&&(a.value="Unable to verify MCP connections")}finally{A===i.current&&(l.current=!1,n.current&&(t.value=!1))}},[c,e,t,a]);return(0,A.useEffect)(()=>{n.current=!0,d();const e=()=>{"visible"===document.visibilityState&&d()};return window.addEventListener("focus",e),document.addEventListener("visibilitychange",e),()=>{n.current=!1,i.current+=1,l.current=!1,window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",e),s()}},[d,s]),{connections:e,loading:t,error:a,refresh:d}}(),l=(0,S.Ul)(null),i=i=>{var r,s;if(t.value)return A.createElement(d.hu,null,"Checking...");if(a.value)return A.createElement(A.Fragment,null,A.createElement(d.hu,{role:"status"},a.value),A.createElement(ma,{small:!0,type:"button",onClick:()=>n()},"Retry"));switch(null===(r=e.value)||void 0===r||null===(s=r.find(e=>e.provider===i))||void 0===s?void 0:s.status){case"connected":return A.createElement(fa,{as:"span",small:!0},A.createElement(o.YrT,{size:14,"aria-hidden":"true"}),"Connected");case"not_connected":return A.createElement(ma,{small:!0,type:"button",onClick:()=>{l.value=i},"aria-label":"Connect "+("claude"===i?"Claude":"ChatGPT")},"Connect");case"blocked":return A.createElement(d.hu,{role:"status"},"Access disabled");default:return A.createElement(A.Fragment,null,A.createElement(d.hu,{role:"status"},"Unable to verify connection"),A.createElement(ma,{small:!0,type:"button",onClick:()=>n()},"Retry"))}};return A.createElement(d.KT,null,A.createElement(la,null,A.createElement(ia,{as:"h3"},"Connect Store Analytics via MCP"),A.createElement(ra,null,"Connect Claude or ChatGPT to Visually. Connections are personal to your user account and wonât affect other users.")),A.createElement(oa,null,A.createElement(d.KT,null,A.createElement(sa,null,A.createElement(ca,{"aria-hidden":"true"},A.createElement(na,null)),A.createElement(da,null,A.createElement(d.eA,{as:"h4"},"Connect Claude"),A.createElement(ua,null,"Add the Visually remote connector and sign in with your Visually account. No API keys or OAuth setup required.")),A.createElement(pa,null,A.createElement(pa,null,i("claude"))))),A.createElement(d.KT,null,A.createElement(sa,null,A.createElement(ca,{"aria-hidden":"true"},A.createElement(Ht.pz8,{size:52})),A.createElement(da,null,A.createElement(d.eA,{as:"h4"},"Connect ChatGPT"),A.createElement(ua,null,"Add the Visually MCP server and authenticate with your Visually account. No API keys or OAuth setup required.")),A.createElement(pa,null,i("chatgpt"))))),l.value&&A.createElement(Lt.A,{selector:"body"},A.createElement(ea,{provider:l.value,onClose:()=>{l.value=null,n()}})))}function ea(e){let{provider:t,onClose:a}=e;const n=(0,A.useRef)(null);return(0,A.useEffect)(()=>{const e=n.current;return e.showModal(),()=>e.close()},[]),A.createElement(ta,{ref:n,"aria-label":"Connect "+("claude"===t?"Claude":"ChatGPT"),onCancel:e=>{e.preventDefault(),a()},onClick:e=>{e.target===e.currentTarget&&a()}},A.createElement(aa,null,A.createElement(Aa,{type:"button","aria-label":"Close connection instructions",onClick:a},A.createElement(o.yGN,{size:22,"aria-hidden":"true"})),"claude"===t?A.createElement(Zt,null):A.createElement(Vt,null)))}const ta=n.default.dialog.withConfig({displayName:"store-analytics-mcp-conn-status__InstructionsDialog",componentId:"sc-15rjb2c-0"})(["width:min(84rem,calc(100vw - 3.2rem));max-height:calc(100vh - 4.8rem);margin:auto;padding:0;overflow-y:auto;border:0;border-radius:1.6rem;background:#fff;box-shadow:0 2rem 6rem rgba(0,0,0,0.2);font-family:Inter,sans-serif;&::backdrop{background:rgba(0,0,0,0.45);}"]),aa=n.default.div.withConfig({displayName:"store-analytics-mcp-conn-status__InstructionsContent",componentId:"sc-15rjb2c-1"})(["padding:0 2.4rem 2.4rem;"]),Aa=n.default.button.withConfig({displayName:"store-analytics-mcp-conn-status__DismissButton",componentId:"sc-15rjb2c-2"})(["position:sticky;top:1rem;display:flex;align-items:center;justify-content:center;width:3.6rem;height:3.6rem;margin:1rem 0 1rem auto;border:0;border-radius:50%;background:#f4f4f4;color:#444;cursor:pointer;z-index:1;&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]);function na(){return A.createElement("svg",{width:"58",height:"58",viewBox:"0 0 58 58",fill:"none"},A.createElement("path",{d:"M29 29 18 4M29 29 34 5M29 29 47 11M29 29 54 26M29 29 54 35M29 29 48 47M29 29 41 51M29 29 27 56M29 29 15 52M29 29 8 44M29 29 2 29M29 29 8 15",stroke:"#D97757",strokeWidth:"4",strokeLinecap:"round"}))}const la=(0,n.default)(d.D7).withConfig({displayName:"store-analytics-mcp-conn-status__PanelHeader",componentId:"sc-15rjb2c-3"})(["gap:1.4rem;"]),ia=(0,n.default)(d.eA).withConfig({displayName:"store-analytics-mcp-conn-status__PanelTitle",componentId:"sc-15rjb2c-4"})(["font-size:2.4rem;line-height:1.3;text-align:left;"]),ra=(0,n.default)(d.hu).withConfig({displayName:"store-analytics-mcp-conn-status__PanelDescription",componentId:"sc-15rjb2c-5"})(["color:#444;font-size:1.5rem;line-height:1.6;"]),oa=(0,n.default)(d.wj).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectionOptions",componentId:"sc-15rjb2c-6"})(["grid-template-columns:repeat(2,minmax(0,1fr));> div{min-width:0;padding:2.4rem;border:1px solid #d8dde2;border-radius:0.8rem;}","{grid-template-columns:1fr;}"],i.fi.down("lg")),sa=(0,n.default)(d.wj).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectionLayout",componentId:"sc-15rjb2c-7"})(["grid-template-columns:5.8rem minmax(0,1fr) auto;align-items:center;gap:2.4rem;min-height:8.2rem;","{grid-template-columns:4.4rem minmax(0,1fr);gap:1.6rem;}"],i.fi.down("sm")),ca=n.default.div.withConfig({displayName:"store-analytics-mcp-conn-status__ProviderLogo",componentId:"sc-15rjb2c-8"})(["display:flex;align-items:center;justify-content:center;color:#000;svg{max-width:100%;height:auto;}"]),da=(0,n.default)(d.D7).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectionDetail
1s",componentId:"sc-15rjb2c-9"})(["min-width:0;gap:1rem;text-align:left;"]),ua=(0,n.default)(d.hu).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectionDescription",componentId:"sc-15rjb2c-10"})(["color:#444;font-size:1.2rem;line-height:2.1;"]),pa=(0,n.default)(d.Od).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectionAction",componentId:"sc-15rjb2c-11"})(["","{grid-column:2;align-items:flex-start;}"],i.fi.down("sm")),ma=(0,n.default)(d.$5).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectButton",componentId:"sc-15rjb2c-12"})(["min-height:4rem;padding:1rem 1.8rem;border:1px solid #666;background:#fff;font-weight:500;white-space:nowrap;&:focus-visible{outline:2px solid #666;outline-offset:3px;}"]),fa=(0,n.default)(d.$5).withConfig({displayName:"store-analytics-mcp-conn-status__ConnectedStatus",componentId:"sc-15rjb2c-13"})(["min-height:4rem;padding:1rem 1.5rem;gap:0.4rem;background:#00c65e;color:#fff;font-weight:500;white-space:nowrap;cursor:default;&:hover,&:active{opacity:1;}"]);var ga=a(61072);const ha=(0,n.default)(l.Mx).withConfig({displayName:"ai-settings__SettingsPageLayout",componentId:"sc-1tqme98-0"})(["> div > h2{font-family:Eesti,sans-serif;font-weight:normal;font-size:1.4rem;max-width:500px;}"]),Ea=(0,n.default)(r.m).withConfig({displayName:"ai-settings__SettingsContainer",componentId:"sc-1tqme98-1"})(["width:calc(100% - 4rem);max-width:131rem;> div{padding:3.6rem 4.8rem;gap:3rem;}","{width:calc(100% - 2rem);> div{padding:2.4rem;}}"],i.fi.down("sm"));var ba=function(){return(0,u.dU)(ga.YH.AI_SETTINGS_PAGE,!1)?A.createElement(ha,{hideBackButton:!1,heading:"AI Settings",description:"Configure how Visually AI connects, operates, and follows your brand rules. Set your preferred models, skills, and extracted brand context."},A.createElement(Ea,null,A.createElement($t,null),A.createElement(E,null),A.createElement(me,null),A.createElement(Ut,null))):A.createElement(ha,{heading:"AI Settings",hideBackButton:!1,description:"AI Settings is not available for this store."},A.createElement("p",null,"AI Settings is not available for this store."))}},64843:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAADABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAIF/8QAFQEBAQAAAAAAAAAAAAAAAAAAAAH/2gAMAwEAAhADEAAAAd6SKFf/xAAVEAEBAAAAAAAAAAAAAAAAAAAAAf/aAAgBAQABBQJEf//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABYQAAMAAAAAAAAAAAAAAAAAAAABEP/aAAgBAQAGPwIc/8QAGBAAAwEBAAAAAAAAAAAAAAAAAAERcZH/2gAIAQEAAT8hg3DHt0//2gAMAwEAAgADAAAAEPwP/8QAFhEAAwAAAAAAAAAAAAAAAAAAARAx/9oACAEDAQE/EBF//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPxA//8QAFxABAQEBAAAAAAAAAAAAAAAAAREAIf/aAAgBAQABPxCFbm4qkC5OrYw3/9k="},"images":{"fallback":{"src":"/static/b771bacc1008aecf36517e200a870728/aefce/7.jpg","srcSet":"/static/b771bacc1008aecf36517e200a870728/b8862/7.jpg 408w,\\n/static/b771bacc1008aecf36517e200a870728/41c2d/7.jpg 816w,\\n/static/b771bacc1008aecf36517e200a870728/aefce/7.jpg 1632w","sizes":"(min-width: 1632px) 1632px, 100vw"},"sources":[{"srcSet":"/static/b771bacc1008aecf36517e200a870728/62cd2/7.webp 408w,\\n/static/b771bacc1008aecf36517e200a870728/343f8/7.webp 816w,\\n/static/b771bacc1008aecf36517e200a870728/4cc5f/7.webp 1632w","type":"image/webp","sizes":"(min-width: 1632px) 1632px, 100vw"}]},"width":1632,"height":274}')},65613:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAPABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAABAAD/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAABWg2gao//xAAZEAACAwEAAAAAAAAAAAAAAAABAgADEhD/2gAIAQEAAQUCrXUNS5iPiG0nn//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABcQAQADAAAAAAAAAAAAAAAAAAEAICH/2gAIAQEABj8CYu1//8QAGRABAQADAQAAAAAAAAAAAAAAAREAECFR/9oACAEBAAE/ITdXnmCI8Gmahbhsga//2gAMAwEAAgADAAAAEAPP/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPxA//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPxA//8QAGxABAAICAwAAAAAAAAAAAAAAAQARIUExgbH/2gAIAQEAAT8QFuLZ2jpSiZK8miEYqrOIxBWxpuxJqf/Z"},"images":{"fallback":{"src":"/static/ddea81ad5a28f96eb696d53c751346e9/33d1b/3.jpg","srcSet":"/static/ddea81ad5a28f96eb696d53c751346e9/1234c/3.jpg 480w,\\n/static/ddea81ad5a28f96eb696d53c751346e9/1b777/3.jpg 960w,\\n/static/ddea81ad5a28f96eb696d53c751346e9/33d1b/3.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/ddea81ad5a28f96eb696d53c751346e9/00e2f/3.webp 480w,\\n/static/ddea81ad5a28f96eb696d53c751346e9/53cb8/3.webp 960w,\\n/static/ddea81ad5a28f96eb696d53c751346e9/7fa69/3.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1470.0000000000002}')},68544:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAMABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAMBAgX/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAAB3YWDShX/xAAZEAABBQAAAAAAAAAAAAAAAAAAAQIQESH/2gAIAQEAAQUClHYWf//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABcQAAMBAAAAAAAAAAAAAAAAAAABEBH/2gAIAQEABj8CqNn/xAAZEAEBAAMBAAAAAAAAAAAAAAABABARIYH/2gAIAQEAAT8hjzDLc6W1Zvf/2gAMAwEAAgADAAAAEEsP/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPxA//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPxA//8QAHBABAAICAwEAAAAAAAAAAAAAAQARMWEQIUGB/9oACAEBAAE/EFoVwRiKYPjjhclgXrUSbIhVC0/JqJ//2Q=="},"images":{"fallback":{"src":"/static/9cf65fe8a30bc6c6581576ebf1602c5a/9b01e/7.jpg","srcSet":"/static/9cf65fe8a30bc6c6581576ebf1602c5a/960ac/7.jpg 480w,\\n/static/9cf65fe8a30bc6c6581576ebf1602c5a/02a32/7.jpg 960w,\\n/static/9cf65fe8a30bc6c6581576ebf1602c5a/9b01e/7.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/9cf65fe8a30bc6c6581576ebf1602c5a/178b8/7.webp 480w,\\n/static/9cf65fe8a30bc6c6581576ebf1602c5a/ff91c/7.webp 960w,\\n/static/9cf65fe8a30bc6c6581576ebf1602c5a/c2877/7.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1177}')},68992:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAKABQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAECBf/EABUBAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIQAxAAAAHutIij/8QAFRABAQAAAAAAAAAAAAAAAAAAASD/2gAIAQEAAQUCa//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABQQAQAAAAAAAAAAAAAAAAAAACD/2gAIAQEABj8CX//EABgQAAIDAAAAAAAAAAAAAAAAAAERACBR/9oACAEBAAE/ISUD0V//2gAMAwEAAgADAAAAEMsv/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPxA//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPxA//8QAHRABAAEEAwEAAAAAAAAAAAAAAREAITFhIEFRof/aAAgBAQABPxCH5uJpMGw6z9oRxfrh/9k="},"images":{"fallback":{"src":"/static/c990e5b85023a1dc18913c5d42f6c893/2e67f/8.jpg","srcSet":"/static/c990e5b85023a1dc18913c5d42f6c893/aaf74/8.jpg 427w,\\n/static/c990e5b85023a1dc18913c5d42f6c893/b5177/8.jpg 853w,\\n/static/c990e5b85023a1dc18913c5d42f6c893/2e67f/8.jpg 1706w","sizes":"(min-width: 1706px) 1706px, 100vw"},"sources":[{"srcSet":"/static/c990e5b85023a1dc18913c5d42f6c893/b84b7/8.webp 427w,\\n/static/c990e5b85023a1dc18913c5d42f6c893/dc2a7/8.webp 853w,\\n/static/c990e5b85023a1dc18913c5d42f6c893/cc77f/8.webp 1706w","type":"image/webp","sizes":"(min-width: 1706px) 1706px, 100vw"}]},"width":1706,"height":844.0000000000001}')},78182:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAASABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAEF/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAAB3wAUAH//xAAUEAEAAAAAAAAAAAAAAAAAAAAw/9oACAEBAAEFAh//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAEDAQE/AR//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/AR//xAAUEAEAAAAAAAAAAAAAAAAAAAAw/9oACAEBAAY/Ah//xAAYEAEBAAMAAAAAAAAAAAAAAAABEBEgIf/aAAgBAQABPyGHCJk1/9oADAMBAAIAAwAAABBjwAD/xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAEDAQE/EB//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/EB//xAAaEAEBAAMBAQAAAAAAAAAAAAABEQAhMSBh/9oACAEBAAE/EA31xKTAAFgTbcDuaip9PP8A/9k="},"images":{"fallback":{"src":"/static/94d65e2a2f47fd17626203b5e45a9799/cddd6/4.jpg","srcSet":"/static/94d65e2a2f47fd17626203b5e45a9799/70f54/4.jpg 480w,\\n/static/94d65e2a2f47fd17626203b5e45a9799/0b3b8/4.jpg 960w,\\n/static/94d65e2a2f47fd17626203b5e45a9799/cddd6/4.jpg 1920w","sizes":"(min-width: 1920px) 1920px, 100vw"},"sources":[{"srcSet":"/static/94d65e2a2f47fd17626203b5e45a9799/8ec58/4.webp 480w,\\n/static/94d65e2a2f47fd17626203b5e45a9799/6f414/4.webp 960w,\\n/static/94d65e2a2f47fd17626203b5e45a9799/0897a/4.webp 1920w","type":"image/webp","sizes":"(min-width: 1920px) 1920px, 100vw"}]},"width":1920,"height":1723.0000000000002}')},80943:function(e){e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAGAABAQEBAQAAAAAAAAAAAAAAAAECAwX/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAAB96yhlGhXIH//xAAXEAEAAwAAAAAAAAAAAAAAAAARECAh/9oACAEBAAEFAqku/wD/xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAEDAQE/AR//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/AR//xAAWEAEBAQAAAAAAAAAAAAAAAAABADD/2gAIAQEABj8CwS//xAAdEAACAgEFAAAAAAAAAAAAAAABEQAQIUFRYZHh/9oACAEBAAE/IXn21A9YvPdgxsDP/9oADAMBAAIAAwAAABBj/wA8/8QAGBEAAgMAAAAAAAAAAAAAAAAAAAEQITH/2gAIAQMBAT8QKh6f/8QAFhEAAwAAAAAAAAAAAAAAAAAAAAEQ/9oACAECAQE/EKj/xAAdEAEAAgICAwAAAAAAAAAAAAABESEAMRBRQaHB/9oACAEBAAE/EKAUJa7csnfrBaQnisZ6hPSOd0iIncQP3P/Z"},"images":{"fallback":{"src":"/static/19ee882c1dbdcf361843f8c56ba5499
11/56dca/3.jpg","srcSet":"/static/19ee882c1dbdcf361843f8c56ba54991/f136c/3.jpg 426w,\\n/static/19ee882c1dbdcf361843f8c56ba54991/f2b87/3.jpg 851w,\\n/static/19ee882c1dbdcf361843f8c56ba54991/56dca/3.jpg 1702w","sizes":"(min-width: 1702px) 1702px, 100vw"},"sources":[{"srcSet":"/static/19ee882c1dbdcf361843f8c56ba54991/2f741/3.webp 426w,\\n/static/19ee882c1dbdcf361843f8c56ba54991/106da/3.webp 851w,\\n/static/19ee882c1dbdcf361843f8c56ba54991/ce515/3.webp 1702w","type":"image/webp","sizes":"(min-width: 1702px) 1702px, 100vw"}]},"width":1702,"height":1698}')}}]); 2//# sourceMappingURL=component---src-pages-ai-settings-ts-b04c5057c14539775c50.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.