Changeset 2907940
- Timestamp:
- 05/04/2023 10:48:22 AM (3 years ago)
- Location:
- flusso-ai-generated-content
- Files:
-
- 63 added
- 12 edited
-
tags/0.7 (added)
-
tags/0.7/assets (added)
-
tags/0.7/assets/css (added)
-
tags/0.7/assets/css/grid-rtl.css (added)
-
tags/0.7/assets/css/grid-rtl.min.css (added)
-
tags/0.7/assets/css/grid.css (added)
-
tags/0.7/assets/css/grid.min.css (added)
-
tags/0.7/assets/css/style-front-rtl.css (added)
-
tags/0.7/assets/css/style-front.css (added)
-
tags/0.7/assets/css/style-rtl.css (added)
-
tags/0.7/assets/css/style-rtl.min.css (added)
-
tags/0.7/assets/css/style.css (added)
-
tags/0.7/assets/css/style.min.css (added)
-
tags/0.7/assets/images (added)
-
tags/0.7/assets/images/symbol.png (added)
-
tags/0.7/assets/js (added)
-
tags/0.7/assets/js/clipboard.min.js (added)
-
tags/0.7/assets/js/feather.min.js (added)
-
tags/0.7/assets/js/script.js (added)
-
tags/0.7/assets/js/script.min.js (added)
-
tags/0.7/assets/libraries (added)
-
tags/0.7/assets/libraries/guessLanguage (added)
-
tags/0.7/assets/libraries/guessLanguage/_languageData.js (added)
-
tags/0.7/assets/libraries/guessLanguage/guessLanguage.js (added)
-
tags/0.7/assets/libraries/quill (added)
-
tags/0.7/assets/libraries/quill/quill.min.js (added)
-
tags/0.7/assets/libraries/quill/quill.snow.css (added)
-
tags/0.7/inc (added)
-
tags/0.7/inc/engine (added)
-
tags/0.7/inc/engine/core.php (added)
-
tags/0.7/inc/engine/vendor (added)
-
tags/0.7/inc/engine/vendor/autoload.php (added)
-
tags/0.7/inc/engine/vendor/composer (added)
-
tags/0.7/inc/engine/vendor/composer/ClassLoader.php (added)
-
tags/0.7/inc/engine/vendor/composer/InstalledVersions.php (added)
-
tags/0.7/inc/engine/vendor/composer/LICENSE (added)
-
tags/0.7/inc/engine/vendor/composer/autoload_classmap.php (added)
-
tags/0.7/inc/engine/vendor/composer/autoload_namespaces.php (added)
-
tags/0.7/inc/engine/vendor/composer/autoload_psr4.php (added)
-
tags/0.7/inc/engine/vendor/composer/autoload_real.php (added)
-
tags/0.7/inc/engine/vendor/composer/autoload_static.php (added)
-
tags/0.7/inc/engine/vendor/composer/installed.json (added)
-
tags/0.7/inc/engine/vendor/composer/installed.php (added)
-
tags/0.7/inc/engine/vendor/composer/platform_check.php (added)
-
tags/0.7/inc/engine/vendor/orhanerday (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/LICENSE.md (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/files (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/files/en-marvel-endgame.m4a (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/files/sample_file_1.jsonl (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/files/tr-baris-ozcan-youtuber.m4a (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/openai-elephpant.svg (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/src (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/src/OpenAi.php (added)
-
tags/0.7/inc/engine/vendor/orhanerday/open-ai/src/Url.php (added)
-
tags/0.7/inc/functions.php (added)
-
tags/0.7/inc/meta-boxes.php (added)
-
tags/0.7/languages (added)
-
tags/0.7/languages/flusso-ai-generated-content-it_IT.mo (added)
-
tags/0.7/languages/flusso-ai-generated-content-it_IT.po (added)
-
tags/0.7/languages/flusso-ai-generated-content.pot (added)
-
tags/0.7/main.php (added)
-
tags/0.7/readme.txt (added)
-
trunk/assets/css/style-rtl.css (modified) (1 diff)
-
trunk/assets/css/style-rtl.min.css (modified) (1 diff)
-
trunk/assets/css/style.css (modified) (1 diff)
-
trunk/assets/css/style.min.css (modified) (1 diff)
-
trunk/assets/js/script.js (modified) (4 diffs)
-
trunk/assets/js/script.min.js (modified) (1 diff)
-
trunk/inc/functions.php (modified) (5 diffs)
-
trunk/languages/flusso-ai-generated-content-it_IT.mo (modified) (previous)
-
trunk/languages/flusso-ai-generated-content-it_IT.po (modified) (28 diffs)
-
trunk/languages/flusso-ai-generated-content.pot (modified) (11 diffs)
-
trunk/main.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flusso-ai-generated-content/trunk/assets/css/style-rtl.css
r2907116 r2907940 835 835 } 836 836 837 #emn-fl-chat-prompt.emn-fl-can-add-img { 838 padding-left: 38px; 839 } 840 837 841 #emn-fl-chat-prompt::placeholder { 838 842 color: rgba(143, 155, 186, 0.5); 843 } 844 845 .emn-fl-form-field-chat-prompt-container { 846 position: relative; 847 } 848 849 #emn-fl-chat-add-img, #emn-fl-chat-remove-img { 850 position: absolute; 851 left: 10px; 852 top: 12px; 853 cursor: pointer; 854 color: #9ea0a5; 855 } 856 857 .emn-fl-form-field-chat-prompt-container svg.emn-fl-hidden { 858 opacity: 0; 859 visibility: hidden; 839 860 } 840 861 -
flusso-ai-generated-content/trunk/assets/css/style-rtl.min.css
r2907116 r2907940 1 #emn-fl-confirm-modal,#emn_fl_meta_page_options .inside,#emn_fl_meta_post_options .inside,#emn_fl_meta_product_options .inside,.emn-fl-white-box{background-color:#fff}#emn-fl-confirm-modal svg,.emn-fl-grid-container{margin-left:auto;margin-right:auto}body[class*=flusso-ai]{background-color:#f4f7fe}.emn-fl-transitions-2s{-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.emn-fl-white-box{padding:20px 26px;border-radius:20px;margin-bottom:22px}.emn-fl-text-right{text-align:left}.emn-fl-white-box>h3{margin-top:6px}.emn-fl-grid-container.emn-fl-no-padding-left-right{padding-right:0;padding-left:0}input[type=checkbox].emn-fl-checkbox{box-sizing:border-box;font-size:1rem;line-height:1.5;padding:10px!important;border:1px solid #ececec;outline:0;border-radius:4px;margin:6px 5px;cursor:pointer;background-color:transparent;opacity:0;position:absolute;z-index:2}.emn-fl-checkbox-control{position:relative;width:28px;height:28px;margin-left:6px;margin-top:2px;border-radius:4px;border:1px solid #d0d0d0;vertical-align:middle;float:right;background-color:inherit;cursor:pointer;margin-bottom:4px;transform:scale(.75)}.emn-fl-feather,.emn-fl-generated-image-actions h3 svg{vertical-align:sub;margin-left:6px}.emn-fl-checkbox:checked+.emn-fl-checkbox-control:after{content:"";display:block;position:absolute;background-color:#422afb;top:6px;right:6px;width:16px;height:16px;border-radius:3px}.emn-fl-checkbox-control+label{padding-top:3px;font-size:16px}.emn-fl-checkbox-control+p.emn-fl-form-field-desc{clear:both}.emn-fl-button,body[class*=flusso-ai] .submit input[type=submit]{background-color:#422afb;color:#fff;border:none;line-height:1.2;border-radius:16px;font-size:1.2em;padding:10px 26px;cursor:pointer;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.emn-fl-button.emn-fl-key-validate{background-color:#3a9f54;margin-right:8px}.emn-fl-button:not(.emn-fl-button-saved):hover,body[class*=flusso-ai] .submit input[type=submit]:hover{background-color:#3311db}.emn-fl-button.emn-fl-key-validate:hover{background-color:#338a49}.emn-fl-button-delete{background-color:#f70404}.emn-fl-button.emn-fl-button-delete:hover{background-color:#d20404}.emn-fl-wrap{position:relative}.emn-fl-loading,.emn-fl-white-overlay{position:fixed;width:calc(100% - 160px);height:100%;display:none;top:0;right:160px;border-radius:24px;background-color:rgba(255,255,255,.7);z-index:99}.emn-fl-modal-overlay{right:0;width:100%}.emn-fl-loading{z-index:100}@media screen and (max-width:960px){.emn-fl-loading,.emn-fl-white-overlay{width:calc(100% - 36px);right:36px}}@media screen and (max-width:782px){.emn-fl-loading,.emn-fl-white-overlay{width:100%;right:0}body[class*=flusso-ai] form th{margin-bottom:6px}td p.emn-fl-form-field-desc{margin-top:8px}}.emn-fl-loading div span,.emn-fl-loading.emn-fl-show{display:block}.emn-fl-loading div{position:absolute;transform:translate(50%,-50%);top:50%;right:50%;text-align:center}.emn-fl-plugin-header-img-container h1,.emn-fl-plugin-header-img-container img{display:inline-block}.emn-fl-plugin-header-img-container img{width:32px;margin-left:8px;vertical-align:text-bottom}.emn-fl-plugin-header-img-container+p{margin-top:0}#adminmenu a.toplevel_page_flusso-ai-generated-content .wp-menu-image.svg{background-size:18px auto}.emn-fl-dashicons{display:inline-block;margin-left:8px}.emn-fl-dashicons:before{width:27px;height:27px;font-size:27px;vertical-align:bottom}h2.emn-fl-title-outside{display:inline-block;font-size:23px;margin:8px 0 6px}.emn-fl-media-button img{width:18px;margin-left:6px}.emn-fl-l-modal{width:100%;height:100%;position:fixed;top:0;right:0;z-index:9998;background-color:rgba(0,0,0,.6);opacity:0;visibility:hidden}.emn-fl-l-modal.emn-fl-show{opacity:1;visibility:visible}.emn-fl-l-modal-inner{width:80%;position:absolute;transform:translate(50%,-50%);top:35%;right:50%;height:80%;padding:24px;overflow-y:scroll;background-color:#f4f7fe;border-radius:22px}.emn-fl-chat-options div,.emn-fl-l-modal-inner .emn-fl-single-input{margin-bottom:28px}.emn-fl-l-modal-inner .emn-fl-loading{right:0;top:0;position:absolute;width:100%}.emn-fl-l-modal.emn-fl-show .emn-fl-l-modal-inner{top:50%}#emn-fl-confirm-modal button.emn-fl-button-post-type-modal,.emn-fl-l-modal-inner .emn-fl-top-title-small,.emn-fl-post-list-load-more{margin-bottom:12px}.emn-fl-l-modal-inner .emn-fl-section-title-big{margin-bottom:16px}.emn-fl-l-modal-inner .emn-fl-white-box{padding:26px}.emn-fl-l-modal-inner label{cursor:default;font-weight:700;font-size:15px;margin-bottom:4px;display:block}.emn-fl-l-modal-inner label.emn-fl-required-label:after{content:'*';display:inline-block}.emn-fl-l-modal-inner label+small,td p.emn-fl-form-field-desc{font-size:12px}.emn-fl-l-modal-inner input[type=number],.emn-fl-l-modal-inner input[type=text],.emn-fl-l-modal-inner select{margin-top:10px}.emn-fl-meta-logo{width:22px;padding-right:18px}#emn_fl_meta_page_options,#emn_fl_meta_post_options,#emn_fl_meta_product_options{background:0 0;width:100%;margin-right:auto;margin-left:auto;font-family:'DM Sans';border:none}.block-editor-page #emn_fl_meta_page_options,.block-editor-page #emn_fl_meta_post_options,.block-editor-page #emn_fl_meta_product_options{width:90%}#emn_fl_meta_page_options .postbox-header,#emn_fl_meta_post_options .postbox-header,#emn_fl_meta_product_options .postbox-header{border-radius:10px 10px 0 0;padding:8px 12px;background-color:#fff;color:#fff;border:1px solid #cccccc60}#emn_fl_meta_page_options p,#emn_fl_meta_post_options p,#emn_fl_meta_product_options p{font-size:15px;font-weight:400;color:#8a8a8a;margin-top:6px}p.emn-fl-no-margin-top{margin-top:0!important}.emn_fl_post_meta_boxes>.inside>p{padding:22px 0 16px}#emn_fl_meta_page_options>.postbox-header+.inside,#emn_fl_meta_post_options>.postbox-header+.inside,#emn_fl_meta_product_options>.postbox-header+.inside{border-right:1px solid #eee;border-left:1px solid #eee;border-bottom:1px solid #eee}#poststuff #emn_fl_meta_page_options .postbox-header h2.hndle,#poststuff #emn_fl_meta_post_options .postbox-header h2.hndle,#poststuff #emn_fl_meta_product_options .postbox-header h2.hndle{font-size:17px;color:#2d3748;padding-right:12px}#poststuff #emn_fl_meta_page_options .inside,#poststuff #emn_fl_meta_post_options .inside,#poststuff #emn_fl_meta_product_options .inside{margin-top:0;padding-top:6px}#emn_fl_meta_page_options .toggle-indicator,#emn_fl_meta_page_options.postbox .handle-order-higher .order-higher-indicator::before,#emn_fl_meta_page_options.postbox .handle-order-lower .order-lower-indicator::before,#emn_fl_meta_post_options .toggle-indicator,#emn_fl_meta_post_options.postbox .handle-order-higher .order-higher-indicator::before,#emn_fl_meta_post_options.postbox .handle-order-lower .order-lower-indicator::before,#emn_fl_meta_product_options .toggle-indicator,#emn_fl_meta_product_options.postbox .handle-order-higher .order-higher-indicator::before,#emn_fl_meta_product_options.postbox .handle-order-lower .order-lower-indicator::before{color:#2d3748}#emn_fl_meta_page_options table,#emn_fl_meta_post_options table,#emn_fl_meta_product_options table{width:100%;border-collapse:collapse}#emn_fl_meta_page_options table tr,#emn_fl_meta_post_options table tr,#emn_fl_meta_product_options table tr{border-top:1px solid #eee}#emn_fl_meta_page_options table td,#emn_fl_meta_page_options table th,#emn_fl_meta_post_options table td,#emn_fl_meta_post_options table th,#emn_fl_meta_product_options table td,#emn_fl_meta_product_options table th{padding-top:16px;padding-bottom:16px}#emn_fl_meta_page_options h4,#emn_fl_meta_post_options h4,#emn_fl_meta_product_options h4{font-size:16px;margin-bottom:0}#emn_fl_meta_page_options table th,#emn_fl_meta_post_options table th,#emn_fl_meta_product_options table th{width:30%;text-align:right}#emn_fl_meta_page_options table td,#emn_fl_meta_post_options table td,#emn_fl_meta_product_options table td{width:70%;padding-right:26px}#emn-fl-key-points-editor{height:220px}#emn-fl-confirm-modal{position:fixed;z-index:99;transform:translate(50%,-60%);top:50%;right:50%;width:680px;max-width:90%;border-radius:24px;padding:32px;box-shadow:rgb(112 144 176 / 20%) 0 18px 40px;max-height:50vh;overflow-y:scroll}#emn-fl-confirm-modal svg{display:block;width:46px;height:46px}#emn-fl-confirm-modal .emn-fl-medium-title{font-size:2.2em}#emn-fl-confirm-modal .emn-fl-section-p{margin-top:26px}#emn-fl-confirm-modal .emn-fl-grid-container{margin-top:32px}#emn-fl-confirm-modal button:not([id*=mce]):not(.insert-media):not([data-wp-editor-id=emn-fl-new-content-textarea]){padding:14px 26px}.emn-fl-post-list-container{border:1px solid #e0e5f2;padding:16px 10px 6px;border-radius:16px;margin-bottom:12px;display:none;max-height:250px;overflow-y:scroll}.emn-fl-post-list-single{position:relative;text-align:right;font-size:15px;margin-bottom:10px;display:flex}.emn-fl-post-list-no-results{padding:10px}.emn-fl-post-list-single input[type=checkbox]{right:0}.emn-fl-post-list-single label{display:flex;padding-top:7px}.emn-fl-button-post-type-modal-loaded{cursor:default}.emn-fl-post-list-search input{width:80%;margin:10px 0 20px;background-color:transparent!important}.emn-fl-modal-separator{padding-top:30px;margin-top:30px;border-top:1px solid #cccccc30}@-webkit-keyframes emn_fl_rotating{from{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(-360deg)}}.emn-fl-rotating{-webkit-animation:2s linear infinite emn_fl_rotating;animation:2s linear infinite emn_fl_rotating;-moz-animation:2s linear infinite emn_fl_rotating;-o-animation:2s linear infinite emn_fl_rotating}.emn-fl-dm-sans,.emn-fl-l-modal-inner *,.emn-fl-wrap,.emn-fl-wrap ol li{font-family:'DM Sans',sans-serif}.emn-fl-section-title-big{font-size:34px!important;font-weight:800!important;outline:transparent solid 2px;margin-top:2px!important;outline-offset:2px;color:#2d3748;padding-top:4px!important}.emn-fl-overview-buttons-container .emn-fl-cell,.emn-fl-text-center{text-align:center}.emn-fl-warning{font-weight:700!important;color:#f61717!important;margin-bottom:0}.emn-fl-top-title-small{font-size:.875rem;outline:transparent solid 2px;outline-offset:2px;color:#2d3748;font-weight:400;margin-bottom:0}.emn-fl-section-p,.emn-fl-section-p+ol li,.emn-fl-section-p+ul li{color:#a0aec0;font-weight:500;font-size:16px;margin-top:4px}.emn-fl-section-p+ol,.emn-fl-section-p+ul{margin-right:0;list-style-position:inside}.emn-fl-section-p+ol li,.emn-fl-section-p+ul li{margin-bottom:12px;line-height:24px}.emn-fl-chat___message p:last-child,.emn-fl-section-p+ol li:last-child,.emn-fl-section-p+ul li:last-child{margin-bottom:0}.emn-fl-medium-title{font-size:1.5em;color:#2d3748;margin-bottom:8px}.emn-fl-medium-title-small{font-size:14px;margin-top:24px;margin-bottom:24px}.emn-fl-medium-title-small svg{width:16px;height:16px}.emn-fl-empty-message{position:absolute;transform:translate(50%,-50%);top:60%;right:50%;width:80%;text-align:center}label.emn-fl-dm-sans{font-weight:500;font-size:1.2em;color:#1b2559;margin-bottom:8px}.emn-fl-overview-buttons-container,.emn-fl-overview-buttons-container .emn-fl-button+p,.emn-fl-send-audio-file{margin-top:18px}.emn-fl-overview-buttons-container .emn-fl-button{padding-top:26px;padding-bottom:26px;display:block;font-weight:700;font-size:18px;text-decoration:none}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"],.emn-fl-overview-buttons-container .emn-fl-button[href*=ko-fi],.emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"]{display:inline-block;font-size:16px;font-weight:400;padding-top:16px;padding-bottom:16px}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"] svg,.emn-fl-overview-buttons-container .emn-fl-button[href*=ko-fi] svg,.emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"] svg{vertical-align:middle;width:20px;height:20px}.emn-fl-overview-buttons-container .emn-fl-button:active,.emn-fl-overview-buttons-container .emn-fl-button:focus,.emn-fl-overview-buttons-container .emn-fl-button:hover{color:#fff}.emn-fl-overview-buttons-container .emn-fl-button svg{vertical-align:sub;margin-left:8px}#emn-fl-chat-prompt,.emn-fl-settings-form input[type=password],.emn-fl-settings-form input[type=text]:not(.emn-fl-color-picker){border-radius:16px;padding:6px 10px;border:1px solid #e0e5f2;width:400px;max-width:90%}.emn-fl-settings-form select{width:200px;max-width:100%;border-radius:16px;padding:6px 10px;border:1px solid #e0e5f2}body[class*=flusso-ai] p.submit{padding-bottom:0}.emn-fl-form-single-input{margin-bottom:18px}.emn-fl-textarea-prompt{width:calc(100% - 26px);resize:none;border-radius:12px;padding:16px;font-size:18px;height:150px;border-color:#e0e5f2;border-style:dashed;background-color:#f0f5fa;color:#8f9bba;margin-bottom:8px}.emn-fl-textarea-prompt::placeholder{color:rgba(143,155,186,.5)}.emn-fl-generator-settings-form label,.emn-fl-settings label{display:block;font-weight:700}.emn-fl-input,.emn-fl-select{background-color:#f4f7fe!important;border-radius:14px!important;padding:4px 12px!important;width:90%;color:#2d3748!important}.emn-generated-images-container{min-height:250px;position:relative}.emn-fl-generated-image-container{margin-right:auto;margin-left:auto;padding:32px 30px 30px;margin-bottom:32px;display:inline-flex;border-radius:24px;box-shadow:rgb(112 144 176 / 12%) 0 18px 40px}.emn-fl-generated-image,.emn-fl-image-variation-of{background-size:cover;background-position:center center;background-repeat:no-repeat;border-radius:18px;width:44%;display:inline-block;height:460px}.emn-fl-single-image-variation{border:1px dashed #ccc}.emn-fl-image-variation-of{width:110px;height:110px}.emn-fl-generated-image-actions button{font-size:16px;display:block;margin-bottom:14px;border-radius:12px;font-weight:500}.emn-fl-generated-image-actions button svg,.emn-fl-save-all-images-in-media svg,button svg{vertical-align:text-top;margin-left:8px;width:20px;height:20px}.emn-fl-save-all-images-in-media{margin-bottom:8px}.emn-fl-button-saved{background-color:#007e00;cursor:default}#emn-fl-chat-content-container{height:420px;margin-bottom:18px;width:calc(100% - 8px);padding:0}#emn-fl-chat-prompt{width:100%;max-width:100%;margin-bottom:18px;background-color:#f0f5fa;height:50px;font-size:16px;padding:10px 16px}#emn-fl-chat-prompt::placeholder{color:rgba(143,155,186,.5)}.emn-fl-chat-content-container-inner{width:100%;height:100%;overflow-y:scroll;position:relative}button.emn-fl-new-chat{background-color:#67b5ae}button.emn-fl-new-chat:hover{background-color:#53948e!important}.emn-fl-button+small{display:block;font-size:12px;font-style:italic;margin-top:6px;margin-right:12px}.emn-fl-chat___message p,.emn-fl-transition-container p{font-size:16px;line-height:28px}.emn-fl-button.emn-fl-new-chat+small{margin-right:0;margin-left:12px}.emn-fl-chat___select_all[data-visibility="0"],.emn-fl-new-chat-container[data-visibility="0"]{opacity:0;visibility:hidden}.emn-fl-chat___element{padding:10px 20px}.emn-fl-chat___start{padding:10px 20px;font-size:12px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #e0e5f2}.emn-fl-chat___select_all{position:absolute;top:7px;left:13px;text-transform:uppercase;font-size:12px;font-weight:700;border:1px solid;padding:2px 8px;cursor:pointer}.emn-fl-chat___select_all:hover{background-color:#8f9bba;color:#f0f5fa}.emn-fl-chat___message{padding:8px 64px 20px 20px;position:relative}.emn-fl-chat___message_text{min-height:40px;padding-left:62px}.emn-fl-chat___message_select{position:absolute;transform:translateY(-50%);top:50%;left:30px}@media screen and (max-width:800px){.emn-fl-chat___message_select{left:20px}.emn-fl-chat___message_text{padding-left:42px}}#emn-fl-chat-content-hidden{opacity:0;height:1px;width:1px;overflow:scroll;position:absolute;top:0;z-index:-1}.emn-fl-chat-check-message+.emn-fl-checkbox-control{border:1px solid #8f9bba}.emn-fl-chat-message___signature{position:absolute;right:18px;top:26px;width:30px;height:24px;color:#fff;font-size:11px;text-transform:uppercase;text-align:center;padding-top:6px}.emn-fl-chat___message[data-sender=assistant]{background-color:#dae1e7f5}.emn-fl-chat___message[data-sender=assistant] .emn-fl-chat-message___signature{background-color:#6877bf}.emn-fl-chat___message[data-sender=system] .emn-fl-chat-message___signature,.emn-fl-chat___message[data-sender=user] .emn-fl-chat-message___signature{background-color:#67b5ae}#emn-fl-new-content-textarea{width:100%}#wp-emn-fl-new-content-textarea-wrap .mce-btn.mce-active i{color:#000}.emn-fl-new-content-select-post-type option[value=portfolio],.emn-fl-new-content-select-post-type option[value=product]{display:none}.emn-fl-go-to-new-content{display:table;margin-right:auto;margin-left:auto;font-size:18px;text-decoration:none;color:#fff;background-color:#42ba96;border:1px solid #42ba96;padding:12px 20px;border-radius:16px}#emn-fl-confirm-modal .emn-fl-go-to-new-content svg{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:6px}.emn-fl-go-to-new-content:active,.emn-fl-go-to-new-content:focus,.emn-fl-go-to-new-content:hover{background-color:#fff;color:#42ba96}.emn-fl-selected-filename{margin-bottom:12px;display:block;font-size:14px}.emn-fl-selected-filename svg{width:16px;height:16px;margin-left:8px;vertical-align:middle}.emn-fl-transition-container p{padding:0 22px}.emn-fl-alert{width:1140px;max-width:1140px;bottom:-100px;right:50%;transform:translateX(50%);position:fixed;padding:26px 34px;color:#fefefe;border-radius:8px;font-size:18px;-moz-transition:none,.2s;-o-transition:none,.2s;-webkit-transition:none,.2s;transition:none,.2s;z-index:9999}.emn-fl-alert .emn-fl-alert-message{padding-left:35px;display:inline-block}.emn-fl-alert-active{bottom:40px}.emn-fl-alert-general{background-color:#506efa}.emn-fl-alert-success{background-color:#42ba96}.emn-fl-alert-warning{background-color:#df4759}@media screen and (max-width:1200px){.emn-fl-button.emn-fl-openai-key-validate{display:block;margin-right:0;margin-top:12px}.emn-fl-alert{width:90%;max-width:90%}}.emn-fl-delete-button-container{border-bottom:1px solid #e0e0e050;padding-bottom:22px;padding-top:22px}.emn-fl-delete-button-container:first-child{padding-top:0}.emn-fl-delete-button-container button svg{vertical-align:sub;margin-left:6px;height:20px;width:20px}.emn-fl-delete-button-container button+p{margin-top:12px;margin-bottom:0}.emn-fl-remember{color:#a0aec0;text-align:center;margin-top:12px;line-height:24px}1 .emn-fl-grid-container {margin-right: auto;margin-left: auto;}body[class*="flusso-ai"] {background-color: #f4f7fe;}.emn-fl-transitions-2s {-webkit-transition: all .2s;-moz-transition: all .2s;-o-transition: all .2s;transition: all .2s;}.emn-fl-white-box {padding: 20px 26px;background-color: white;border-radius: 20px;margin-bottom: 22px;}.emn-fl-text-right {text-align: left;}.emn-fl-white-box > h3 {margin-top: 6px;}.emn-fl-grid-container.emn-fl-no-padding-left-right {padding-right: 0;padding-left: 0;}input[type=checkbox].emn-fl-checkbox {box-sizing: border-box;font-size: 1rem;line-height: 1.5;padding: 10px !important;border: 1px solid #ececec;outline: 0;border-radius: 4px;margin: 6px 5px;cursor: pointer;background-color: transparent;opacity: 0;position: absolute;z-index: 2;}.emn-fl-checkbox-control {position: relative;width: 28px;height: 28px;margin-left: 6px;margin-top: 2px;border-radius: 4px;border: 1px solid #d0d0d0;vertical-align: middle;float: right;background-color: inherit;cursor: pointer;margin-bottom: 4px;}.emn-fl-checkbox:checked + .emn-fl-checkbox-control:after {content: "";display: block;position: absolute;background-color: #422afb;top: 6px;right: 6px;width: 16px;height: 16px;border-radius: 3px;}.emn-fl-checkbox-control + label {padding-top: 3px;font-size: 16px;}.emn-fl-checkbox-control + p.emn-fl-form-field-desc {clear: both;}.emn-fl-checkbox-control {transform: scale(0.75);}.emn-fl-button, body[class*="flusso-ai"] .submit input[type="submit"] {background-color: #422afb;color: white;border: none;line-height: 1.2;border-radius: 16px;font-size: 1.2em;padding: 10px 26px;cursor: pointer;-webkit-transition: all .2s;-moz-transition: all .2s;-o-transition: all .2s;transition: all .2s;}.emn-fl-button.emn-fl-key-validate {background-color: #3a9f54;margin-right: 8px;}.emn-fl-button:not(.emn-fl-button-saved):hover, body[class*="flusso-ai"] .submit input[type="submit"]:hover {background-color: #3311db;}.emn-fl-button.emn-fl-key-validate:hover {background-color: #338a49;}.emn-fl-button-delete {background-color: rgb(247, 4, 4);}.emn-fl-button.emn-fl-button-delete:hover {background-color: rgb(210, 4, 4);}.emn-fl-wrap {position: relative;}.emn-fl-loading, .emn-fl-white-overlay {position: fixed;width: calc(100% - 160px);height: 100%;display: none;top: 0;right: 160px;border-radius: 24px;background-color: rgba(255, 255, 255, 0.7);z-index: 99;}.emn-fl-modal-overlay {right: 0;width: 100%;}.emn-fl-loading {z-index: 100;}@media screen and (max-width: 1200px) {.emn-fl-button.emn-fl-openai-key-validate {display: block;margin-right: 0;margin-top: 12px;}}@media screen and (max-width: 960px){.emn-fl-loading, .emn-fl-white-overlay {width: calc(100% - 36px);right: 36px;}}@media screen and (max-width: 782px){.emn-fl-loading, .emn-fl-white-overlay {width: 100%;right: 0;}body[class*="flusso-ai"] form th {margin-bottom: 6px;}td p.emn-fl-form-field-desc {margin-top: 8px;}}.emn-fl-loading.emn-fl-show {display: block;}.emn-fl-loading div {position: absolute;transform: translate(50%, -50%);top: 50%;right: 50%;text-align: center;}.emn-fl-loading div span {display: block;}.emn-fl-plugin-header-img-container img, .emn-fl-plugin-header-img-container h1 {display: inline-block;}.emn-fl-plugin-header-img-container img {width: 32px;margin-left: 8px;vertical-align: text-bottom;}.emn-fl-plugin-header-img-container + p {margin-top: 0;}#adminmenu a.toplevel_page_flusso-ai-generated-content .wp-menu-image.svg {background-size: 18px auto;}.emn-fl-dashicons {display: inline-block;margin-left: 8px;}.emn-fl-dashicons:before {width: 27px;height: 27px;font-size: 27px;vertical-align: bottom;}h2.emn-fl-title-outside {display: inline-block;font-size: 23px;margin: 8px 0 6px;}.emn-fl-media-button img {width: 18px;margin-left: 6px;}.emn-fl-l-modal {width: 100%;height: 100%;position: fixed;top: 0;right: 0;z-index: 9998;background-color: rgba(0, 0, 0, 0.6);opacity: 0;visibility: hidden;}.emn-fl-l-modal.emn-fl-show {opacity: 1;visibility: visible;}.emn-fl-l-modal-inner {width: 80%;position: absolute;transform: translate(50%, -50%);top: 35%;right: 50%;height: 80%;padding: 24px;overflow-y: scroll;background-color: #f4f7fe;border-radius: 22px;}.emn-fl-l-modal-inner .emn-fl-single-input {margin-bottom: 28px;}.emn-fl-l-modal-inner .emn-fl-loading {right: 0;top: 0;position: absolute;width: 100%;}.emn-fl-l-modal.emn-fl-show .emn-fl-l-modal-inner {top: 50%;}.emn-fl-l-modal-inner .emn-fl-top-title-small {margin-bottom: 12px;}.emn-fl-l-modal-inner .emn-fl-section-title-big {margin-bottom: 16px;}.emn-fl-l-modal-inner .emn-fl-white-box {padding: 26px;}.emn-fl-l-modal-inner label {cursor: default;font-weight: bold;font-size: 15px;margin-bottom: 4px;display: block;}.emn-fl-l-modal-inner label.emn-fl-required-label:after {content: '*';display: inline-block;}.emn-fl-l-modal-inner label + small {font-size: 12px;}.emn-fl-l-modal-inner input[type="text"], .emn-fl-l-modal-inner input[type="number"], .emn-fl-l-modal-inner select {margin-top: 10px;}.emn-fl-meta-logo {width: 22px;padding-right: 18px;}#emn_fl_meta_post_options, #emn_fl_meta_page_options, #emn_fl_meta_product_options {background: transparent;width: 100%;margin-right: auto;margin-left: auto;font-family: 'DM Sans';border: none;}.block-editor-page #emn_fl_meta_post_options, .block-editor-page #emn_fl_meta_page_options, .block-editor-page #emn_fl_meta_product_options {width: 90%;}#emn_fl_meta_post_options .inside, #emn_fl_meta_page_options .inside, #emn_fl_meta_product_options .inside {background-color: white;}#emn_fl_meta_post_options .postbox-header, #emn_fl_meta_page_options .postbox-header, #emn_fl_meta_product_options .postbox-header {border-radius: 10px;border-bottom-left-radius: 0;border-bottom-right-radius: 0;padding: 8px 12px;background-color: #ffffff;color: white;border: 1px solid #cccccc60;}#emn_fl_meta_post_options p, #emn_fl_meta_page_options p, #emn_fl_meta_product_options p {font-size: 15px;font-weight: normal;color: #8a8a8a;margin-top: 6px;}p.emn-fl-no-margin-top {margin-top: 0 !important;}.emn_fl_post_meta_boxes > .inside > p, .emn_fl_post_meta_boxes > .inside > p, .emn_fl_post_meta_boxes > .inside > p {padding: 22px 0 16px;}#emn_fl_meta_post_options > .postbox-header + .inside, #emn_fl_meta_page_options > .postbox-header + .inside, #emn_fl_meta_product_options > .postbox-header + .inside {border-right: 1px solid #eeeeee;border-left: 1px solid #eeeeee;border-bottom: 1px solid #eeeeee;}#poststuff #emn_fl_meta_post_options .postbox-header h2.hndle, #poststuff #emn_fl_meta_page_options .postbox-header h2.hndle, #poststuff #emn_fl_meta_product_options .postbox-header h2.hndle {font-size: 17px;color: #2d3748;padding-right: 12px;}#poststuff #emn_fl_meta_post_options .inside, #poststuff #emn_fl_meta_page_options .inside, #poststuff #emn_fl_meta_product_options .inside {margin-top: 0;padding-top: 6px;}#emn_fl_meta_post_options .toggle-indicator, #emn_fl_meta_page_options .toggle-indicator, #emn_fl_meta_product_options .toggle-indicator, #emn_fl_meta_post_options.postbox .handle-order-higher .order-higher-indicator::before, #emn_fl_meta_post_options.postbox .handle-order-lower .order-lower-indicator::before, #emn_fl_meta_page_options.postbox .handle-order-higher .order-higher-indicator::before, #emn_fl_meta_page_options.postbox .handle-order-lower .order-lower-indicator::before, #emn_fl_meta_product_options.postbox .handle-order-higher .order-higher-indicator::before, #emn_fl_meta_product_options.postbox .handle-order-lower .order-lower-indicator::before {color: #2d3748;}#emn_fl_meta_post_options table, #emn_fl_meta_page_options table, #emn_fl_meta_product_options table {width: 100%;border-collapse: collapse;}#emn_fl_meta_post_options table tr, #emn_fl_meta_page_options table tr, #emn_fl_meta_product_options table tr {border-top: 1px solid #eeeeee;}#emn_fl_meta_post_options table th, #emn_fl_meta_page_options table th, #emn_fl_meta_product_options table th, #emn_fl_meta_post_options table td, #emn_fl_meta_page_options table td, #emn_fl_meta_product_options table td {padding-top: 16px;padding-bottom: 16px;}#emn_fl_meta_post_options h4, #emn_fl_meta_page_options h4, #emn_fl_meta_product_options h4 {font-size: 16px;margin-bottom: 0;}#emn_fl_meta_post_options table th, #emn_fl_meta_page_options table th, #emn_fl_meta_product_options table th {width: 30%;text-align: right;}#emn_fl_meta_post_options table td, #emn_fl_meta_page_options table td, #emn_fl_meta_product_options table td {width: 70%;padding-right: 26px;}#emn-fl-key-points-editor {height: 220px;}#emn-fl-confirm-modal {position: fixed;z-index: 99;transform: translate(50%, -60%);top: 50%;right: 50%;width: 680px;max-width: 90%;border-radius: 24px;background-color: white;padding: 32px;box-shadow: rgb(112 144 176 / 20%) 0px 18px 40px;max-height: 50vh;overflow-y: scroll;}#emn-fl-confirm-modal svg {margin-right: auto;margin-left: auto;display: block;width: 46px;height: 46px;}#emn-fl-confirm-modal .emn-fl-medium-title {font-size: 2.2em;}#emn-fl-confirm-modal .emn-fl-section-p {margin-top: 26px;}#emn-fl-confirm-modal .emn-fl-grid-container {margin-top: 32px;}#emn-fl-confirm-modal button:not([id*='mce']):not(.insert-media):not([data-wp-editor-id="emn-fl-new-content-textarea"]) {padding: 14px 26px;}#emn-fl-confirm-modal button.emn-fl-button-post-type-modal {margin-bottom: 12px;}.emn-fl-post-list-container {border: 1px solid #e0e5f2;padding: 10px;border-radius: 16px;margin-bottom: 12px;display: none;padding: 16px 10px 6px;max-height: 250px;overflow-y: scroll;}.emn-fl-post-list-single {position: relative;text-align: right;font-size: 15px;margin-bottom: 10px;display: flex;}.emn-fl-post-list-no-results {padding: 10px;}.emn-fl-post-list-single input[type="checkbox"] {right: 0;}.emn-fl-post-list-single label {display: flex;padding-top: 7px;}.emn-fl-button-post-type-modal-loaded {cursor: default;}.emn-fl-post-list-search input {width: 80%;margin: 10px 0 20px;background-color: transparent !important;}.emn-fl-post-list-load-more {margin-bottom: 12px;}.emn-fl-modal-separator {padding-top: 30px;margin-top: 30px;border-top: 1px solid #cccccc30;}@-webkit-keyframes emn_fl_rotating {from{-webkit-transform: rotate(0deg);}to{-webkit-transform: rotate(-360deg);}}.emn-fl-rotating {-webkit-animation: emn_fl_rotating 2s linear infinite;animation: emn_fl_rotating 2s linear infinite;-moz-animation: emn_fl_rotating 2s linear infinite;-o-animation: emn_fl_rotating 2s linear infinite;;}.emn-fl-dm-sans, .emn-fl-wrap, .emn-fl-wrap ol li, .emn-fl-l-modal-inner * {font-family: 'DM Sans', sans-serif;}.emn-fl-section-title-big {font-size: 34px !important;font-weight: 800 !important;outline: transparent solid 2px;margin-top: 2px !important;outline-offset: 2px;color: #2d3748;padding-top: 4px !important;}.emn-fl-text-center {text-align: center;}.emn-fl-warning {font-weight: bold !important;color: #f61717 !important;margin-bottom: 0;}.emn-fl-top-title-small {font-size: 0.875rem;outline: transparent solid 2px;outline-offset: 2px;color: #2d3748;font-weight: 400;margin-bottom: 0;}.emn-fl-section-p, .emn-fl-section-p + ol li, .emn-fl-section-p + ul li {color: #a0aec0;font-weight: 500;font-size: 16px;margin-top: 4px;}.emn-fl-section-p + ol, .emn-fl-section-p + ul {margin-right: 0;list-style-position: inside;}.emn-fl-section-p + ol li, .emn-fl-section-p + ul li {margin-bottom: 12px;line-height: 24px;}.emn-fl-section-p + ol li:last-child, .emn-fl-section-p + ul li:last-child {margin-bottom: 0;}.emn-fl-medium-title {font-size: 1.5em;color: #2d3748;margin-bottom: 8px;}.emn-fl-medium-title-small {font-size: 14px;margin-top: 24px;margin-bottom: 24px;}.emn-fl-medium-title-small svg {width: 16px;height: 16px;}.emn-fl-feather {margin-left: 6px;vertical-align: sub;}.emn-fl-empty-message {position: absolute;transform: translate(50%, -50%);top: 60%;right: 50%;width: 80%;text-align: center;}label.emn-fl-dm-sans {font-weight: 500;font-size: 1.2em;color: #1b2559;margin-bottom: 8px;}.emn-fl-overview-buttons-container {margin-top: 18px;}.emn-fl-overview-buttons-container .emn-fl-cell {text-align: center;}.emn-fl-overview-buttons-container .emn-fl-button {padding-top: 26px;padding-bottom: 26px;display: block;font-weight: bold;font-size: 18px;text-decoration: none;}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"], .emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"], .emn-fl-overview-buttons-container .emn-fl-button[href*="ko-fi"] {display: inline-block;font-size: 16px;font-weight: normal;padding-top: 16px;padding-bottom: 16px;}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"] svg, .emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"] svg, .emn-fl-overview-buttons-container .emn-fl-button[href*="ko-fi"] svg {vertical-align: middle;width: 20px;height: 20px;}.emn-fl-overview-buttons-container .emn-fl-button + p {margin-top: 18px;}.emn-fl-overview-buttons-container .emn-fl-button:hover, .emn-fl-overview-buttons-container .emn-fl-button:active, .emn-fl-overview-buttons-container .emn-fl-button:focus {color: white;}.emn-fl-overview-buttons-container .emn-fl-button svg {vertical-align: sub;margin-left: 8px;}.emn-fl-settings-form input[type="password"], .emn-fl-settings-form input[type="text"]:not(.emn-fl-color-picker), #emn-fl-chat-prompt {border-radius: 16px;padding: 6px 10px;border: 1px solid #e0e5f2;width: 400px;max-width: 90%;}.emn-fl-settings-form select {width: 200px;max-width: 100%;border-radius: 16px;padding: 6px 10px;border: 1px solid #e0e5f2;}body[class*="flusso-ai"] p.submit {padding-bottom: 0;}.emn-fl-form-single-input {margin-bottom: 18px;}td p.emn-fl-form-field-desc {font-size: 12px;}.emn-fl-textarea-prompt {width: calc(100% - 26px);resize: none;border-radius: 12px;padding: 16px;font-size: 18px;height: 150px;border-color: #e0e5f2;border-style: dashed;background-color: #f0f5fa;color: rgb(143, 155, 186);margin-bottom: 8px;}.emn-fl-textarea-prompt::placeholder {color: rgba(143, 155, 186, 0.5);}.emn-fl-generator-settings-form label, .emn-fl-settings label {display: block;font-weight: bold;}.emn-fl-input, .emn-fl-select {background-color: #f4f7fe !important;border-radius: 14px !important;padding: 4px 12px !important;width: 90%;color: #2d3748 !important;}.emn-fl-select {}.emn-generated-images-container {min-height: 250px;position: relative;}.emn-fl-generated-image-container {margin-right: auto;margin-left: auto;padding: 30px;margin-bottom: 32px;display: inline-flex;padding-top: 32px;border-radius: 24px;box-shadow: rgb(112 144 176 / 12%) 0px 18px 40px;}.emn-fl-generated-image, .emn-fl-image-variation-of {background-size: cover;background-position: center center;background-repeat: no-repeat;border-radius: 18px;width: 44%;display: inline-block;height: 460px;}.emn-fl-single-image-variation {border: 1px solid #ccc;border-style: dashed;}.emn-fl-image-variation-of {width: 110px;height: 110px;}.emn-fl-generated-image-actions h3 svg {vertical-align: sub;margin-left: 6px;}.emn-fl-generated-image-actions button {font-size: 16px;display: block;margin-bottom: 14px;border-radius: 12px;font-weight: 500;}.emn-fl-generated-image-actions button svg, .emn-fl-save-all-images-in-media svg, button svg {vertical-align: text-top;margin-left: 8px;width: 20px;height: 20px;}.emn-fl-save-all-images-in-media {margin-bottom: 8px;}.emn-fl-button-saved {background-color: #007e00;cursor: default;}#emn-fl-chat-content-container {height: 420px;margin-bottom: 18px;width: calc(100% - 8px);padding: 0;}#emn-fl-chat-prompt {width: 100%;max-width: 100%;margin-bottom: 18px;background-color: #f0f5fa;height: 50px;font-size: 16px;padding: 10px 16px;}#emn-fl-chat-prompt.emn-fl-can-add-img {padding-left: 38px;}#emn-fl-chat-prompt::placeholder {color: rgba(143, 155, 186, 0.5);}.emn-fl-form-field-chat-prompt-container {position: relative;}#emn-fl-chat-add-img, #emn-fl-chat-remove-img {position: absolute;left: 10px;top: 12px;cursor: pointer;color: #9ea0a5;}.emn-fl-form-field-chat-prompt-container svg.emn-fl-hidden {opacity: 0;visibility: hidden;}.emn-fl-chat-content-container-inner {width: 100%;height: 100%;overflow-y: scroll;position: relative;}button.emn-fl-new-chat {background-color: #67b5ae;}button.emn-fl-new-chat:hover {background-color: #53948e !important;}.emn-fl-button + small {display: block;font-size: 12px;font-style: italic;margin-top: 6px;margin-right: 12px;}.emn-fl-button.emn-fl-new-chat + small {margin-right: 0;margin-left: 12px;}.emn-fl-new-chat-container[data-visibility="0"], .emn-fl-chat___select_all[data-visibility="0"] {opacity: 0;visibility: hidden;}.emn-fl-chat___element {padding: 10px 20px;}.emn-fl-chat___start {padding: 10px 20px;font-size: 12px;text-transform: uppercase;font-weight: bold;border-bottom: 1px solid #e0e5f2;}.emn-fl-chat___select_all {position: absolute;top: 7px;left: 13px;text-transform: uppercase;font-size: 12px;font-weight: bold;border: 1px solid;padding: 2px 8px;cursor: pointer;}.emn-fl-chat___select_all:hover {background-color: rgb(143, 155, 186);color: #f0f5fa;}.emn-fl-chat___message {padding: 8px 20px 20px;padding-right: 64px;position: relative;}.emn-fl-chat___message_text {min-height: 40px;padding-left: 62px;}.emn-fl-chat___message_select {position: absolute;transform: translateY(-50%);top: 50%;left: 30px;}@media screen and (max-width: 800px){.emn-fl-chat___message_select {left: 20px;}.emn-fl-chat___message_text {padding-left: 42px;}}#emn-fl-chat-content-hidden {opacity: 0;height: 1px;width: 1px;overflow: scroll;position: absolute;top: 0;z-index: -1;}.emn-fl-chat-check-message + .emn-fl-checkbox-control {border: 1px solid rgb(143, 155, 186);}.emn-fl-chat-message___signature {position: absolute;right: 18px;top: 26px;width: 30px;height: 24px;color: white;font-size: 11px;text-transform: uppercase;text-align: center;padding-top: 6px;}.emn-fl-chat___message p {font-size: 16px;line-height: 28px;}.emn-fl-chat___message p:last-child {margin-bottom: 0;}.emn-fl-chat___message[data-sender="assistant"]{background-color: #dae1e7f5;}.emn-fl-chat___message[data-sender="assistant"] .emn-fl-chat-message___signature {background-color: #6877bf;}.emn-fl-chat___message[data-sender="system"] .emn-fl-chat-message___signature, .emn-fl-chat___message[data-sender="user"] .emn-fl-chat-message___signature {background-color: #67b5ae;}.emn-fl-chat-options div {margin-bottom: 28px;}#emn-fl-new-content-textarea {width: 100%;}#wp-emn-fl-new-content-textarea-wrap .mce-btn.mce-active i {color: black;}.emn-fl-new-content-select-post-type option[value="product"], .emn-fl-new-content-select-post-type option[value="portfolio"] {display: none;}.emn-fl-go-to-new-content {display: table;margin-right: auto;margin-left: auto;font-size: 18px;text-decoration: none;color: white;background-color: #42BA96;border: 1px solid #42BA96;padding: 12px 20px;border-radius: 16px;}#emn-fl-confirm-modal .emn-fl-go-to-new-content svg {display: inline-block;width: 20px;height: 20px;vertical-align: middle;margin-right: 6px;}.emn-fl-go-to-new-content:hover, .emn-fl-go-to-new-content:active, .emn-fl-go-to-new-content:focus {background-color: white;color: #42BA96;}.emn-fl-selected-filename {margin-bottom: 12px;display: block;font-size: 14px;}.emn-fl-selected-filename svg {width: 16px;height: 16px;margin-left: 8px;vertical-align: middle;}.emn-fl-send-audio-file {margin-top: 18px;}.emn-fl-transition-container p {font-size: 16px;line-height: 28px;padding: 0 22px;}.emn-fl-alert {width: 1140px;max-width: 1140px;bottom: -100px;right: 50%;transform: translateX(50%);position: fixed;padding: 26px 34px;color: #fefefe;border-radius: 8px;font-size: 18px;z-index: 9999;-moz-transition: all, 0.2s;-o-transition: all, 0.2s;-webkit-transition: all, 0.2s;transition: all, 0.2s;z-index: 9999;}.emn-fl-alert .emn-fl-alert-message {padding-left: 35px;display: inline-block;}.emn-fl-alert-active {bottom: 40px;}.emn-fl-alert-general {background-color: #506EFA;}.emn-fl-alert-success {background-color: #42BA96;}.emn-fl-alert-warning {background-color: #DF4759;}@media screen and (max-width: 1200px) {.emn-fl-alert {width: 90%;max-width: 90%;}}.emn-fl-delete-button-container {border-bottom: 1px solid #e0e0e050;padding-bottom: 22px;padding-top: 22px;}.emn-fl-delete-button-container:first-child {padding-top: 0;}.emn-fl-delete-button-container button svg {vertical-align: sub;margin-left: 6px;height: 20px;width: 20px;}.emn-fl-delete-button-container button + p {margin-top: 12px;margin-bottom: 0;}.emn-fl-remember {color: #a0aec0;text-align: center;margin-top: 12px;line-height: 24px;} -
flusso-ai-generated-content/trunk/assets/css/style.css
r2907116 r2907940 835 835 } 836 836 837 #emn-fl-chat-prompt.emn-fl-can-add-img { 838 padding-right: 38px; 839 } 840 837 841 #emn-fl-chat-prompt::placeholder { 838 842 color: rgba(143, 155, 186, 0.5); 843 } 844 845 .emn-fl-form-field-chat-prompt-container { 846 position: relative; 847 } 848 849 #emn-fl-chat-add-img, #emn-fl-chat-remove-img { 850 position: absolute; 851 right: 10px; 852 top: 12px; 853 cursor: pointer; 854 color: #9ea0a5; 855 } 856 857 .emn-fl-form-field-chat-prompt-container svg.emn-fl-hidden { 858 opacity: 0; 859 visibility: hidden; 839 860 } 840 861 -
flusso-ai-generated-content/trunk/assets/css/style.min.css
r2907116 r2907940 1 #emn-fl-confirm-modal,#emn_fl_meta_page_options .inside,#emn_fl_meta_post_options .inside,#emn_fl_meta_product_options .inside,.emn-fl-white-box{background-color:#fff}#emn-fl-confirm-modal svg,.emn-fl-grid-container{margin-right:auto;margin-left:auto}body[class*=flusso-ai]{background-color:#f4f7fe}.emn-fl-transitions-2s{-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.emn-fl-white-box{padding:20px 26px;border-radius:20px;margin-bottom:22px}.emn-fl-text-right{text-align:right}.emn-fl-white-box>h3{margin-top:6px}.emn-fl-grid-container.emn-fl-no-padding-left-right{padding-left:0;padding-right:0}input[type=checkbox].emn-fl-checkbox{box-sizing:border-box;font-size:1rem;line-height:1.5;padding:10px!important;border:1px solid #ececec;outline:0;border-radius:4px;margin:6px 5px;cursor:pointer;background-color:transparent;opacity:0;position:absolute;z-index:2}.emn-fl-checkbox-control{position:relative;width:28px;height:28px;margin-right:6px;margin-top:2px;border-radius:4px;border:1px solid #d0d0d0;vertical-align:middle;float:left;background-color:inherit;cursor:pointer;margin-bottom:4px;transform:scale(.75)}.emn-fl-feather,.emn-fl-generated-image-actions h3 svg{vertical-align:sub;margin-right:6px}.emn-fl-checkbox:checked+.emn-fl-checkbox-control:after{content:"";display:block;position:absolute;background-color:#422afb;top:6px;left:6px;width:16px;height:16px;border-radius:3px}.emn-fl-checkbox-control+label{padding-top:3px;font-size:16px}.emn-fl-checkbox-control+p.emn-fl-form-field-desc{clear:both}.emn-fl-button,body[class*=flusso-ai] .submit input[type=submit]{background-color:#422afb;color:#fff;border:none;line-height:1.2;border-radius:16px;font-size:1.2em;padding:10px 26px;cursor:pointer;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.emn-fl-button.emn-fl-key-validate{background-color:#3a9f54;margin-left:8px}.emn-fl-button:not(.emn-fl-button-saved):hover,body[class*=flusso-ai] .submit input[type=submit]:hover{background-color:#3311db}.emn-fl-button.emn-fl-key-validate:hover{background-color:#338a49}.emn-fl-button-delete{background-color:#f70404}.emn-fl-button.emn-fl-button-delete:hover{background-color:#d20404}.emn-fl-wrap{position:relative}.emn-fl-loading,.emn-fl-white-overlay{position:fixed;width:calc(100% - 160px);height:100%;display:none;top:0;left:160px;border-radius:24px;background-color:rgba(255,255,255,.7);z-index:99}.emn-fl-modal-overlay{left:0;width:100%}.emn-fl-loading{z-index:100}@media screen and (max-width:960px){.emn-fl-loading,.emn-fl-white-overlay{width:calc(100% - 36px);left:36px}}@media screen and (max-width:782px){.emn-fl-loading,.emn-fl-white-overlay{width:100%;left:0}body[class*=flusso-ai] form th{margin-bottom:6px}td p.emn-fl-form-field-desc{margin-top:8px}}.emn-fl-loading div span,.emn-fl-loading.emn-fl-show{display:block}.emn-fl-loading div{position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;text-align:center}.emn-fl-plugin-header-img-container h1,.emn-fl-plugin-header-img-container img{display:inline-block}.emn-fl-plugin-header-img-container img{width:32px;margin-right:8px;vertical-align:text-bottom}.emn-fl-plugin-header-img-container+p{margin-top:0}#adminmenu a.toplevel_page_flusso-ai-generated-content .wp-menu-image.svg{background-size:18px auto}.emn-fl-dashicons{display:inline-block;margin-right:8px}.emn-fl-dashicons:before{width:27px;height:27px;font-size:27px;vertical-align:bottom}h2.emn-fl-title-outside{display:inline-block;font-size:23px;margin:8px 0 6px}.emn-fl-media-button img{width:18px;margin-right:6px}.emn-fl-l-modal{width:100%;height:100%;position:fixed;top:0;left:0;z-index:9998;background-color:rgba(0,0,0,.6);opacity:0;visibility:hidden}.emn-fl-l-modal.emn-fl-show{opacity:1;visibility:visible}.emn-fl-l-modal-inner{width:80%;position:absolute;transform:translate(-50%,-50%);top:35%;left:50%;height:80%;padding:24px;overflow-y:scroll;background-color:#f4f7fe;border-radius:22px}.emn-fl-chat-options div,.emn-fl-l-modal-inner .emn-fl-single-input{margin-bottom:28px}.emn-fl-l-modal-inner .emn-fl-loading{left:0;top:0;position:absolute;width:100%}.emn-fl-l-modal.emn-fl-show .emn-fl-l-modal-inner{top:50%}#emn-fl-confirm-modal button.emn-fl-button-post-type-modal,.emn-fl-l-modal-inner .emn-fl-top-title-small,.emn-fl-post-list-load-more{margin-bottom:12px}.emn-fl-l-modal-inner .emn-fl-section-title-big{margin-bottom:16px}.emn-fl-l-modal-inner .emn-fl-white-box{padding:26px}.emn-fl-l-modal-inner label{cursor:default;font-weight:700;font-size:15px;margin-bottom:4px;display:block}.emn-fl-l-modal-inner label.emn-fl-required-label:after{content:'*';display:inline-block}.emn-fl-l-modal-inner label+small,td p.emn-fl-form-field-desc{font-size:12px}.emn-fl-l-modal-inner input[type=number],.emn-fl-l-modal-inner input[type=text],.emn-fl-l-modal-inner select{margin-top:10px}.emn-fl-meta-logo{width:22px;padding-left:18px}#emn_fl_meta_page_options,#emn_fl_meta_post_options,#emn_fl_meta_product_options{background:0 0;width:100%;margin-left:auto;margin-right:auto;font-family:'DM Sans';border:none}.block-editor-page #emn_fl_meta_page_options,.block-editor-page #emn_fl_meta_post_options,.block-editor-page #emn_fl_meta_product_options{width:90%}#emn_fl_meta_page_options .postbox-header,#emn_fl_meta_post_options .postbox-header,#emn_fl_meta_product_options .postbox-header{border-radius:10px 10px 0 0;padding:8px 12px;background-color:#fff;color:#fff;border:1px solid #cccccc60}#emn_fl_meta_page_options p,#emn_fl_meta_post_options p,#emn_fl_meta_product_options p{font-size:15px;font-weight:400;color:#8a8a8a;margin-top:6px}p.emn-fl-no-margin-top{margin-top:0!important}.emn_fl_post_meta_boxes>.inside>p{padding:22px 0 16px}#emn_fl_meta_page_options>.postbox-header+.inside,#emn_fl_meta_post_options>.postbox-header+.inside,#emn_fl_meta_product_options>.postbox-header+.inside{border-left:1px solid #eee;border-right:1px solid #eee;border-bottom:1px solid #eee}#poststuff #emn_fl_meta_page_options .postbox-header h2.hndle,#poststuff #emn_fl_meta_post_options .postbox-header h2.hndle,#poststuff #emn_fl_meta_product_options .postbox-header h2.hndle{font-size:17px;color:#2d3748;padding-left:12px}#poststuff #emn_fl_meta_page_options .inside,#poststuff #emn_fl_meta_post_options .inside,#poststuff #emn_fl_meta_product_options .inside{margin-top:0;padding-top:6px}#emn_fl_meta_page_options .toggle-indicator,#emn_fl_meta_page_options.postbox .handle-order-higher .order-higher-indicator::before,#emn_fl_meta_page_options.postbox .handle-order-lower .order-lower-indicator::before,#emn_fl_meta_post_options .toggle-indicator,#emn_fl_meta_post_options.postbox .handle-order-higher .order-higher-indicator::before,#emn_fl_meta_post_options.postbox .handle-order-lower .order-lower-indicator::before,#emn_fl_meta_product_options .toggle-indicator,#emn_fl_meta_product_options.postbox .handle-order-higher .order-higher-indicator::before,#emn_fl_meta_product_options.postbox .handle-order-lower .order-lower-indicator::before{color:#2d3748}#emn_fl_meta_page_options table,#emn_fl_meta_post_options table,#emn_fl_meta_product_options table{width:100%;border-collapse:collapse}#emn_fl_meta_page_options table tr,#emn_fl_meta_post_options table tr,#emn_fl_meta_product_options table tr{border-top:1px solid #eee}#emn_fl_meta_page_options table td,#emn_fl_meta_page_options table th,#emn_fl_meta_post_options table td,#emn_fl_meta_post_options table th,#emn_fl_meta_product_options table td,#emn_fl_meta_product_options table th{padding-top:16px;padding-bottom:16px}#emn_fl_meta_page_options h4,#emn_fl_meta_post_options h4,#emn_fl_meta_product_options h4{font-size:16px;margin-bottom:0}#emn_fl_meta_page_options table th,#emn_fl_meta_post_options table th,#emn_fl_meta_product_options table th{width:30%;text-align:left}#emn_fl_meta_page_options table td,#emn_fl_meta_post_options table td,#emn_fl_meta_product_options table td{width:70%;padding-left:26px}#emn-fl-key-points-editor{height:220px}#emn-fl-confirm-modal{position:fixed;z-index:99;transform:translate(-50%,-60%);top:50%;left:50%;width:680px;max-width:90%;border-radius:24px;padding:32px;box-shadow:rgb(112 144 176 / 20%) 0 18px 40px;max-height:50vh;overflow-y:scroll}#emn-fl-confirm-modal svg{display:block;width:46px;height:46px}#emn-fl-confirm-modal .emn-fl-medium-title{font-size:2.2em}#emn-fl-confirm-modal .emn-fl-section-p{margin-top:26px}#emn-fl-confirm-modal .emn-fl-grid-container{margin-top:32px}#emn-fl-confirm-modal button:not([id*=mce]):not(.insert-media):not([data-wp-editor-id=emn-fl-new-content-textarea]){padding:14px 26px}.emn-fl-post-list-container{border:1px solid #e0e5f2;padding:16px 10px 6px;border-radius:16px;margin-bottom:12px;display:none;max-height:250px;overflow-y:scroll}.emn-fl-post-list-single{position:relative;text-align:left;font-size:15px;margin-bottom:10px;display:flex}.emn-fl-post-list-no-results{padding:10px}.emn-fl-post-list-single input[type=checkbox]{left:0}.emn-fl-post-list-single label{display:flex;padding-top:7px}.emn-fl-button-post-type-modal-loaded{cursor:default}.emn-fl-post-list-search input{width:80%;margin:10px 0 20px;background-color:transparent!important}.emn-fl-modal-separator{padding-top:30px;margin-top:30px;border-top:1px solid #cccccc30}@-webkit-keyframes emn_fl_rotating{from{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}.emn-fl-rotating{-webkit-animation:2s linear infinite emn_fl_rotating;animation:2s linear infinite emn_fl_rotating;-moz-animation:2s linear infinite emn_fl_rotating;-o-animation:2s linear infinite emn_fl_rotating}.emn-fl-dm-sans,.emn-fl-l-modal-inner *,.emn-fl-wrap,.emn-fl-wrap ol li{font-family:'DM Sans',sans-serif}.emn-fl-section-title-big{font-size:34px!important;font-weight:800!important;outline:transparent solid 2px;margin-top:2px!important;outline-offset:2px;color:#2d3748;padding-top:4px!important}.emn-fl-overview-buttons-container .emn-fl-cell,.emn-fl-text-center{text-align:center}.emn-fl-warning{font-weight:700!important;color:#f61717!important;margin-bottom:0}.emn-fl-top-title-small{font-size:.875rem;outline:transparent solid 2px;outline-offset:2px;color:#2d3748;font-weight:400;margin-bottom:0}.emn-fl-section-p,.emn-fl-section-p+ol li,.emn-fl-section-p+ul li{color:#a0aec0;font-weight:500;font-size:16px;margin-top:4px}.emn-fl-section-p+ol,.emn-fl-section-p+ul{margin-left:0;list-style-position:inside}.emn-fl-section-p+ol li,.emn-fl-section-p+ul li{margin-bottom:12px;line-height:24px}.emn-fl-chat___message p:last-child,.emn-fl-section-p+ol li:last-child,.emn-fl-section-p+ul li:last-child{margin-bottom:0}.emn-fl-medium-title{font-size:1.5em;color:#2d3748;margin-bottom:8px}.emn-fl-medium-title-small{font-size:14px;margin-top:24px;margin-bottom:24px}.emn-fl-medium-title-small svg{width:16px;height:16px}.emn-fl-empty-message{position:absolute;transform:translate(-50%,-50%);top:60%;left:50%;width:80%;text-align:center}label.emn-fl-dm-sans{font-weight:500;font-size:1.2em;color:#1b2559;margin-bottom:8px}.emn-fl-overview-buttons-container,.emn-fl-overview-buttons-container .emn-fl-button+p,.emn-fl-send-audio-file{margin-top:18px}.emn-fl-overview-buttons-container .emn-fl-button{padding-top:26px;padding-bottom:26px;display:block;font-weight:700;font-size:18px;text-decoration:none}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"],.emn-fl-overview-buttons-container .emn-fl-button[href*=ko-fi],.emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"]{display:inline-block;font-size:16px;font-weight:400;padding-top:16px;padding-bottom:16px}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"] svg,.emn-fl-overview-buttons-container .emn-fl-button[href*=ko-fi] svg,.emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"] svg{vertical-align:middle;width:20px;height:20px}.emn-fl-overview-buttons-container .emn-fl-button:active,.emn-fl-overview-buttons-container .emn-fl-button:focus,.emn-fl-overview-buttons-container .emn-fl-button:hover{color:#fff}.emn-fl-overview-buttons-container .emn-fl-button svg{vertical-align:sub;margin-right:8px}#emn-fl-chat-prompt,.emn-fl-settings-form input[type=password],.emn-fl-settings-form input[type=text]:not(.emn-fl-color-picker){border-radius:16px;padding:6px 10px;border:1px solid #e0e5f2;width:400px;max-width:90%}.emn-fl-settings-form select{width:200px;max-width:100%;border-radius:16px;padding:6px 10px;border:1px solid #e0e5f2}body[class*=flusso-ai] p.submit{padding-bottom:0}.emn-fl-form-single-input{margin-bottom:18px}.emn-fl-textarea-prompt{width:calc(100% - 26px);resize:none;border-radius:12px;padding:16px;font-size:18px;height:150px;border-color:#e0e5f2;border-style:dashed;background-color:#f0f5fa;color:#8f9bba;margin-bottom:8px}.emn-fl-textarea-prompt::placeholder{color:rgba(143,155,186,.5)}.emn-fl-generator-settings-form label,.emn-fl-settings label{display:block;font-weight:700}.emn-fl-input,.emn-fl-select{background-color:#f4f7fe!important;border-radius:14px!important;padding:4px 12px!important;width:90%;color:#2d3748!important}.emn-generated-images-container{min-height:250px;position:relative}.emn-fl-generated-image-container{margin-left:auto;margin-right:auto;padding:32px 30px 30px;margin-bottom:32px;display:inline-flex;border-radius:24px;box-shadow:rgb(112 144 176 / 12%) 0 18px 40px}.emn-fl-generated-image,.emn-fl-image-variation-of{background-size:cover;background-position:center center;background-repeat:no-repeat;border-radius:18px;width:44%;display:inline-block;height:460px}.emn-fl-single-image-variation{border:1px dashed #ccc}.emn-fl-image-variation-of{width:110px;height:110px}.emn-fl-generated-image-actions button{font-size:16px;display:block;margin-bottom:14px;border-radius:12px;font-weight:500}.emn-fl-generated-image-actions button svg,.emn-fl-save-all-images-in-media svg,button svg{vertical-align:text-top;margin-right:8px;width:20px;height:20px}.emn-fl-save-all-images-in-media{margin-bottom:8px}.emn-fl-button-saved{background-color:#007e00;cursor:default}#emn-fl-chat-content-container{height:420px;margin-bottom:18px;width:calc(100% - 8px);padding:0}#emn-fl-chat-prompt{width:100%;max-width:100%;margin-bottom:18px;background-color:#f0f5fa;height:50px;font-size:16px;padding:10px 16px}#emn-fl-chat-prompt::placeholder{color:rgba(143,155,186,.5)}.emn-fl-chat-content-container-inner{width:100%;height:100%;overflow-y:scroll;position:relative}button.emn-fl-new-chat{background-color:#67b5ae}button.emn-fl-new-chat:hover{background-color:#53948e!important}.emn-fl-button+small{display:block;font-size:12px;font-style:italic;margin-top:6px;margin-left:12px}.emn-fl-chat___message p,.emn-fl-transition-container p{font-size:16px;line-height:28px}.emn-fl-button.emn-fl-new-chat+small{margin-left:0;margin-right:12px}.emn-fl-chat___select_all[data-visibility="0"],.emn-fl-new-chat-container[data-visibility="0"]{opacity:0;visibility:hidden}.emn-fl-chat___element{padding:10px 20px}.emn-fl-chat___start{padding:10px 20px;font-size:12px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #e0e5f2}.emn-fl-chat___select_all{position:absolute;top:7px;right:13px;text-transform:uppercase;font-size:12px;font-weight:700;border:1px solid;padding:2px 8px;cursor:pointer}.emn-fl-chat___select_all:hover{background-color:#8f9bba;color:#f0f5fa}.emn-fl-chat___message{padding:8px 20px 20px 64px;position:relative}.emn-fl-chat___message_text{min-height:40px;padding-right:62px}.emn-fl-chat___message_select{position:absolute;transform:translateY(-50%);top:50%;right:30px}@media screen and (max-width:800px){.emn-fl-chat___message_select{right:20px}.emn-fl-chat___message_text{padding-right:42px}}#emn-fl-chat-content-hidden{opacity:0;height:1px;width:1px;overflow:scroll;position:absolute;top:0;z-index:-1}.emn-fl-chat-check-message+.emn-fl-checkbox-control{border:1px solid #8f9bba}.emn-fl-chat-message___signature{position:absolute;left:18px;top:26px;width:30px;height:24px;color:#fff;font-size:11px;text-transform:uppercase;text-align:center;padding-top:6px}.emn-fl-chat___message[data-sender=assistant]{background-color:#dae1e7f5}.emn-fl-chat___message[data-sender=assistant] .emn-fl-chat-message___signature{background-color:#6877bf}.emn-fl-chat___message[data-sender=system] .emn-fl-chat-message___signature,.emn-fl-chat___message[data-sender=user] .emn-fl-chat-message___signature{background-color:#67b5ae}#emn-fl-new-content-textarea{width:100%}#wp-emn-fl-new-content-textarea-wrap .mce-btn.mce-active i{color:#000}.emn-fl-new-content-select-post-type option[value=portfolio],.emn-fl-new-content-select-post-type option[value=product]{display:none}.emn-fl-go-to-new-content{display:table;margin-left:auto;margin-right:auto;font-size:18px;text-decoration:none;color:#fff;background-color:#42ba96;border:1px solid #42ba96;padding:12px 20px;border-radius:16px}#emn-fl-confirm-modal .emn-fl-go-to-new-content svg{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-left:6px}.emn-fl-go-to-new-content:active,.emn-fl-go-to-new-content:focus,.emn-fl-go-to-new-content:hover{background-color:#fff;color:#42ba96}.emn-fl-selected-filename{margin-bottom:12px;display:block;font-size:14px}.emn-fl-selected-filename svg{width:16px;height:16px;margin-right:8px;vertical-align:middle}.emn-fl-transition-container p{padding:0 22px}.emn-fl-alert{width:1140px;max-width:1140px;bottom:-100px;left:50%;transform:translateX(-50%);position:fixed;padding:26px 34px;color:#fefefe;border-radius:8px;font-size:18px;-moz-transition:none,.2s;-o-transition:none,.2s;-webkit-transition:none,.2s;transition:none,.2s;z-index:9999}.emn-fl-alert .emn-fl-alert-message{padding-right:35px;display:inline-block}.emn-fl-alert-active{bottom:40px}.emn-fl-alert-general{background-color:#506efa}.emn-fl-alert-success{background-color:#42ba96}.emn-fl-alert-warning{background-color:#df4759}@media screen and (max-width:1200px){.emn-fl-button.emn-fl-openai-key-validate{display:block;margin-left:0;margin-top:12px}.emn-fl-alert{width:90%;max-width:90%}}.emn-fl-delete-button-container{border-bottom:1px solid #e0e0e050;padding-bottom:22px;padding-top:22px}.emn-fl-delete-button-container:first-child{padding-top:0}.emn-fl-delete-button-container button svg{vertical-align:sub;margin-right:6px;height:20px;width:20px}.emn-fl-delete-button-container button+p{margin-top:12px;margin-bottom:0}.emn-fl-remember{color:#a0aec0;text-align:center;margin-top:12px;line-height:24px}1 .emn-fl-grid-container {margin-left: auto;margin-right: auto;}body[class*="flusso-ai"] {background-color: #f4f7fe;}.emn-fl-transitions-2s {-webkit-transition: all .2s;-moz-transition: all .2s;-o-transition: all .2s;transition: all .2s;}.emn-fl-white-box {padding: 20px 26px;background-color: white;border-radius: 20px;margin-bottom: 22px;}.emn-fl-text-right {text-align: right;}.emn-fl-white-box > h3 {margin-top: 6px;}.emn-fl-grid-container.emn-fl-no-padding-left-right {padding-left: 0;padding-right: 0;}input[type=checkbox].emn-fl-checkbox {box-sizing: border-box;font-size: 1rem;line-height: 1.5;padding: 10px !important;border: 1px solid #ececec;outline: 0;border-radius: 4px;margin: 6px 5px;cursor: pointer;background-color: transparent;opacity: 0;position: absolute;z-index: 2;}.emn-fl-checkbox-control {position: relative;width: 28px;height: 28px;margin-right: 6px;margin-top: 2px;border-radius: 4px;border: 1px solid #d0d0d0;vertical-align: middle;float: left;background-color: inherit;cursor: pointer;margin-bottom: 4px;}.emn-fl-checkbox:checked + .emn-fl-checkbox-control:after {content: "";display: block;position: absolute;background-color: #422afb;top: 6px;left: 6px;width: 16px;height: 16px;border-radius: 3px;}.emn-fl-checkbox-control + label {padding-top: 3px;font-size: 16px;}.emn-fl-checkbox-control + p.emn-fl-form-field-desc {clear: both;}.emn-fl-checkbox-control {transform: scale(0.75);}.emn-fl-button, body[class*="flusso-ai"] .submit input[type="submit"] {background-color: #422afb;color: white;border: none;line-height: 1.2;border-radius: 16px;font-size: 1.2em;padding: 10px 26px;cursor: pointer;-webkit-transition: all .2s;-moz-transition: all .2s;-o-transition: all .2s;transition: all .2s;}.emn-fl-button.emn-fl-key-validate {background-color: #3a9f54;margin-left: 8px;}.emn-fl-button:not(.emn-fl-button-saved):hover, body[class*="flusso-ai"] .submit input[type="submit"]:hover {background-color: #3311db;}.emn-fl-button.emn-fl-key-validate:hover {background-color: #338a49;}.emn-fl-button-delete {background-color: rgb(247, 4, 4);}.emn-fl-button.emn-fl-button-delete:hover {background-color: rgb(210, 4, 4);}.emn-fl-wrap {position: relative;}.emn-fl-loading, .emn-fl-white-overlay {position: fixed;width: calc(100% - 160px);height: 100%;display: none;top: 0;left: 160px;border-radius: 24px;background-color: rgba(255, 255, 255, 0.7);z-index: 99;}.emn-fl-modal-overlay {left: 0;width: 100%;}.emn-fl-loading {z-index: 100;}@media screen and (max-width: 1200px) {.emn-fl-button.emn-fl-openai-key-validate {display: block;margin-left: 0;margin-top: 12px;}}@media screen and (max-width: 960px){.emn-fl-loading, .emn-fl-white-overlay {width: calc(100% - 36px);left: 36px;}}@media screen and (max-width: 782px){.emn-fl-loading, .emn-fl-white-overlay {width: 100%;left: 0;}body[class*="flusso-ai"] form th {margin-bottom: 6px;}td p.emn-fl-form-field-desc {margin-top: 8px;}}.emn-fl-loading.emn-fl-show {display: block;}.emn-fl-loading div {position: absolute;transform: translate(-50%, -50%);top: 50%;left: 50%;text-align: center;}.emn-fl-loading div span {display: block;}.emn-fl-plugin-header-img-container img, .emn-fl-plugin-header-img-container h1 {display: inline-block;}.emn-fl-plugin-header-img-container img {width: 32px;margin-right: 8px;vertical-align: text-bottom;}.emn-fl-plugin-header-img-container + p {margin-top: 0;}#adminmenu a.toplevel_page_flusso-ai-generated-content .wp-menu-image.svg {background-size: 18px auto;}.emn-fl-dashicons {display: inline-block;margin-right: 8px;}.emn-fl-dashicons:before {width: 27px;height: 27px;font-size: 27px;vertical-align: bottom;}h2.emn-fl-title-outside {display: inline-block;font-size: 23px;margin: 8px 0 6px;}.emn-fl-media-button img {width: 18px;margin-right: 6px;}.emn-fl-l-modal {width: 100%;height: 100%;position: fixed;top: 0;left: 0;z-index: 9998;background-color: rgba(0, 0, 0, 0.6);opacity: 0;visibility: hidden;}.emn-fl-l-modal.emn-fl-show {opacity: 1;visibility: visible;}.emn-fl-l-modal-inner {width: 80%;position: absolute;transform: translate(-50%, -50%);top: 35%;left: 50%;height: 80%;padding: 24px;overflow-y: scroll;background-color: #f4f7fe;border-radius: 22px;}.emn-fl-l-modal-inner .emn-fl-single-input {margin-bottom: 28px;}.emn-fl-l-modal-inner .emn-fl-loading {left: 0;top: 0;position: absolute;width: 100%;}.emn-fl-l-modal.emn-fl-show .emn-fl-l-modal-inner {top: 50%;}.emn-fl-l-modal-inner .emn-fl-top-title-small {margin-bottom: 12px;}.emn-fl-l-modal-inner .emn-fl-section-title-big {margin-bottom: 16px;}.emn-fl-l-modal-inner .emn-fl-white-box {padding: 26px;}.emn-fl-l-modal-inner label {cursor: default;font-weight: bold;font-size: 15px;margin-bottom: 4px;display: block;}.emn-fl-l-modal-inner label.emn-fl-required-label:after {content: '*';display: inline-block;}.emn-fl-l-modal-inner label + small {font-size: 12px;}.emn-fl-l-modal-inner input[type="text"], .emn-fl-l-modal-inner input[type="number"], .emn-fl-l-modal-inner select {margin-top: 10px;}.emn-fl-meta-logo {width: 22px;padding-left: 18px;}#emn_fl_meta_post_options, #emn_fl_meta_page_options, #emn_fl_meta_product_options {background: transparent;width: 100%;margin-left: auto;margin-right: auto;font-family: 'DM Sans';border: none;}.block-editor-page #emn_fl_meta_post_options, .block-editor-page #emn_fl_meta_page_options, .block-editor-page #emn_fl_meta_product_options {width: 90%;}#emn_fl_meta_post_options .inside, #emn_fl_meta_page_options .inside, #emn_fl_meta_product_options .inside {background-color: white;}#emn_fl_meta_post_options .postbox-header, #emn_fl_meta_page_options .postbox-header, #emn_fl_meta_product_options .postbox-header {border-radius: 10px;border-bottom-right-radius: 0;border-bottom-left-radius: 0;padding: 8px 12px;background-color: #ffffff;color: white;border: 1px solid #cccccc60;}#emn_fl_meta_post_options p, #emn_fl_meta_page_options p, #emn_fl_meta_product_options p {font-size: 15px;font-weight: normal;color: #8a8a8a;margin-top: 6px;}p.emn-fl-no-margin-top {margin-top: 0 !important;}.emn_fl_post_meta_boxes > .inside > p, .emn_fl_post_meta_boxes > .inside > p, .emn_fl_post_meta_boxes > .inside > p {padding: 22px 0 16px;}#emn_fl_meta_post_options > .postbox-header + .inside, #emn_fl_meta_page_options > .postbox-header + .inside, #emn_fl_meta_product_options > .postbox-header + .inside {border-left: 1px solid #eeeeee;border-right: 1px solid #eeeeee;border-bottom: 1px solid #eeeeee;}#poststuff #emn_fl_meta_post_options .postbox-header h2.hndle, #poststuff #emn_fl_meta_page_options .postbox-header h2.hndle, #poststuff #emn_fl_meta_product_options .postbox-header h2.hndle {font-size: 17px;color: #2d3748;padding-left: 12px;}#poststuff #emn_fl_meta_post_options .inside, #poststuff #emn_fl_meta_page_options .inside, #poststuff #emn_fl_meta_product_options .inside {margin-top: 0;padding-top: 6px;}#emn_fl_meta_post_options .toggle-indicator, #emn_fl_meta_page_options .toggle-indicator, #emn_fl_meta_product_options .toggle-indicator, #emn_fl_meta_post_options.postbox .handle-order-higher .order-higher-indicator::before, #emn_fl_meta_post_options.postbox .handle-order-lower .order-lower-indicator::before, #emn_fl_meta_page_options.postbox .handle-order-higher .order-higher-indicator::before, #emn_fl_meta_page_options.postbox .handle-order-lower .order-lower-indicator::before, #emn_fl_meta_product_options.postbox .handle-order-higher .order-higher-indicator::before, #emn_fl_meta_product_options.postbox .handle-order-lower .order-lower-indicator::before {color: #2d3748;}#emn_fl_meta_post_options table, #emn_fl_meta_page_options table, #emn_fl_meta_product_options table {width: 100%;border-collapse: collapse;}#emn_fl_meta_post_options table tr, #emn_fl_meta_page_options table tr, #emn_fl_meta_product_options table tr {border-top: 1px solid #eeeeee;}#emn_fl_meta_post_options table th, #emn_fl_meta_page_options table th, #emn_fl_meta_product_options table th, #emn_fl_meta_post_options table td, #emn_fl_meta_page_options table td, #emn_fl_meta_product_options table td {padding-top: 16px;padding-bottom: 16px;}#emn_fl_meta_post_options h4, #emn_fl_meta_page_options h4, #emn_fl_meta_product_options h4 {font-size: 16px;margin-bottom: 0;}#emn_fl_meta_post_options table th, #emn_fl_meta_page_options table th, #emn_fl_meta_product_options table th {width: 30%;text-align: left;}#emn_fl_meta_post_options table td, #emn_fl_meta_page_options table td, #emn_fl_meta_product_options table td {width: 70%;padding-left: 26px;}#emn-fl-key-points-editor {height: 220px;}#emn-fl-confirm-modal {position: fixed;z-index: 99;transform: translate(-50%, -60%);top: 50%;left: 50%;width: 680px;max-width: 90%;border-radius: 24px;background-color: white;padding: 32px;box-shadow: rgb(112 144 176 / 20%) 0px 18px 40px;max-height: 50vh;overflow-y: scroll;}#emn-fl-confirm-modal svg {margin-left: auto;margin-right: auto;display: block;width: 46px;height: 46px;}#emn-fl-confirm-modal .emn-fl-medium-title {font-size: 2.2em;}#emn-fl-confirm-modal .emn-fl-section-p {margin-top: 26px;}#emn-fl-confirm-modal .emn-fl-grid-container {margin-top: 32px;}#emn-fl-confirm-modal button:not([id*='mce']):not(.insert-media):not([data-wp-editor-id="emn-fl-new-content-textarea"]) {padding: 14px 26px;}#emn-fl-confirm-modal button.emn-fl-button-post-type-modal {margin-bottom: 12px;}.emn-fl-post-list-container {border: 1px solid #e0e5f2;padding: 10px;border-radius: 16px;margin-bottom: 12px;display: none;padding: 16px 10px 6px;max-height: 250px;overflow-y: scroll;}.emn-fl-post-list-single {position: relative;text-align: left;font-size: 15px;margin-bottom: 10px;display: flex;}.emn-fl-post-list-no-results {padding: 10px;}.emn-fl-post-list-single input[type="checkbox"] {left: 0;}.emn-fl-post-list-single label {display: flex;padding-top: 7px;}.emn-fl-button-post-type-modal-loaded {cursor: default;}.emn-fl-post-list-search input {width: 80%;margin: 10px 0 20px;background-color: transparent !important;}.emn-fl-post-list-load-more {margin-bottom: 12px;}.emn-fl-modal-separator {padding-top: 30px;margin-top: 30px;border-top: 1px solid #cccccc30;}@-webkit-keyframes emn_fl_rotating {from{-webkit-transform: rotate(0deg);}to{-webkit-transform: rotate(360deg);}}.emn-fl-rotating {-webkit-animation: emn_fl_rotating 2s linear infinite;animation: emn_fl_rotating 2s linear infinite;-moz-animation: emn_fl_rotating 2s linear infinite;-o-animation: emn_fl_rotating 2s linear infinite;;}.emn-fl-dm-sans, .emn-fl-wrap, .emn-fl-wrap ol li, .emn-fl-l-modal-inner * {font-family: 'DM Sans', sans-serif;}.emn-fl-section-title-big {font-size: 34px !important;font-weight: 800 !important;outline: transparent solid 2px;margin-top: 2px !important;outline-offset: 2px;color: #2d3748;padding-top: 4px !important;}.emn-fl-text-center {text-align: center;}.emn-fl-warning {font-weight: bold !important;color: #f61717 !important;margin-bottom: 0;}.emn-fl-top-title-small {font-size: 0.875rem;outline: transparent solid 2px;outline-offset: 2px;color: #2d3748;font-weight: 400;margin-bottom: 0;}.emn-fl-section-p, .emn-fl-section-p + ol li, .emn-fl-section-p + ul li {color: #a0aec0;font-weight: 500;font-size: 16px;margin-top: 4px;}.emn-fl-section-p + ol, .emn-fl-section-p + ul {margin-left: 0;list-style-position: inside;}.emn-fl-section-p + ol li, .emn-fl-section-p + ul li {margin-bottom: 12px;line-height: 24px;}.emn-fl-section-p + ol li:last-child, .emn-fl-section-p + ul li:last-child {margin-bottom: 0;}.emn-fl-medium-title {font-size: 1.5em;color: #2d3748;margin-bottom: 8px;}.emn-fl-medium-title-small {font-size: 14px;margin-top: 24px;margin-bottom: 24px;}.emn-fl-medium-title-small svg {width: 16px;height: 16px;}.emn-fl-feather {margin-right: 6px;vertical-align: sub;}.emn-fl-empty-message {position: absolute;transform: translate(-50%, -50%);top: 60%;left: 50%;width: 80%;text-align: center;}label.emn-fl-dm-sans {font-weight: 500;font-size: 1.2em;color: #1b2559;margin-bottom: 8px;}.emn-fl-overview-buttons-container {margin-top: 18px;}.emn-fl-overview-buttons-container .emn-fl-cell {text-align: center;}.emn-fl-overview-buttons-container .emn-fl-button {padding-top: 26px;padding-bottom: 26px;display: block;font-weight: bold;font-size: 18px;text-decoration: none;}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"], .emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"], .emn-fl-overview-buttons-container .emn-fl-button[href*="ko-fi"] {display: inline-block;font-size: 16px;font-weight: normal;padding-top: 16px;padding-bottom: 16px;}.emn-fl-overview-buttons-container .emn-fl-button[href*="mailto:"] svg, .emn-fl-overview-buttons-container .emn-fl-button[href="https://emana.design/docs/flusso-ai"] svg, .emn-fl-overview-buttons-container .emn-fl-button[href*="ko-fi"] svg {vertical-align: middle;width: 20px;height: 20px;}.emn-fl-overview-buttons-container .emn-fl-button + p {margin-top: 18px;}.emn-fl-overview-buttons-container .emn-fl-button:hover, .emn-fl-overview-buttons-container .emn-fl-button:active, .emn-fl-overview-buttons-container .emn-fl-button:focus {color: white;}.emn-fl-overview-buttons-container .emn-fl-button svg {vertical-align: sub;margin-right: 8px;}.emn-fl-settings-form input[type="password"], .emn-fl-settings-form input[type="text"]:not(.emn-fl-color-picker), #emn-fl-chat-prompt {border-radius: 16px;padding: 6px 10px;border: 1px solid #e0e5f2;width: 400px;max-width: 90%;}.emn-fl-settings-form select {width: 200px;max-width: 100%;border-radius: 16px;padding: 6px 10px;border: 1px solid #e0e5f2;}body[class*="flusso-ai"] p.submit {padding-bottom: 0;}.emn-fl-form-single-input {margin-bottom: 18px;}td p.emn-fl-form-field-desc {font-size: 12px;}.emn-fl-textarea-prompt {width: calc(100% - 26px);resize: none;border-radius: 12px;padding: 16px;font-size: 18px;height: 150px;border-color: #e0e5f2;border-style: dashed;background-color: #f0f5fa;color: rgb(143, 155, 186);margin-bottom: 8px;}.emn-fl-textarea-prompt::placeholder {color: rgba(143, 155, 186, 0.5);}.emn-fl-generator-settings-form label, .emn-fl-settings label {display: block;font-weight: bold;}.emn-fl-input, .emn-fl-select {background-color: #f4f7fe !important;border-radius: 14px !important;padding: 4px 12px !important;width: 90%;color: #2d3748 !important;}.emn-fl-select {}.emn-generated-images-container {min-height: 250px;position: relative;}.emn-fl-generated-image-container {margin-left: auto;margin-right: auto;padding: 30px;margin-bottom: 32px;display: inline-flex;padding-top: 32px;border-radius: 24px;box-shadow: rgb(112 144 176 / 12%) 0px 18px 40px;}.emn-fl-generated-image, .emn-fl-image-variation-of {background-size: cover;background-position: center center;background-repeat: no-repeat;border-radius: 18px;width: 44%;display: inline-block;height: 460px;}.emn-fl-single-image-variation {border: 1px solid #ccc;border-style: dashed;}.emn-fl-image-variation-of {width: 110px;height: 110px;}.emn-fl-generated-image-actions h3 svg {vertical-align: sub;margin-right: 6px;}.emn-fl-generated-image-actions button {font-size: 16px;display: block;margin-bottom: 14px;border-radius: 12px;font-weight: 500;}.emn-fl-generated-image-actions button svg, .emn-fl-save-all-images-in-media svg, button svg {vertical-align: text-top;margin-right: 8px;width: 20px;height: 20px;}.emn-fl-save-all-images-in-media {margin-bottom: 8px;}.emn-fl-button-saved {background-color: #007e00;cursor: default;}#emn-fl-chat-content-container {height: 420px;margin-bottom: 18px;width: calc(100% - 8px);padding: 0;}#emn-fl-chat-prompt {width: 100%;max-width: 100%;margin-bottom: 18px;background-color: #f0f5fa;height: 50px;font-size: 16px;padding: 10px 16px;}#emn-fl-chat-prompt.emn-fl-can-add-img {padding-right: 38px;}#emn-fl-chat-prompt::placeholder {color: rgba(143, 155, 186, 0.5);}.emn-fl-form-field-chat-prompt-container {position: relative;}#emn-fl-chat-add-img, #emn-fl-chat-remove-img {position: absolute;right: 10px;top: 12px;cursor: pointer;color: #9ea0a5;}.emn-fl-form-field-chat-prompt-container svg.emn-fl-hidden {opacity: 0;visibility: hidden;}.emn-fl-chat-content-container-inner {width: 100%;height: 100%;overflow-y: scroll;position: relative;}button.emn-fl-new-chat {background-color: #67b5ae;}button.emn-fl-new-chat:hover {background-color: #53948e !important;}.emn-fl-button + small {display: block;font-size: 12px;font-style: italic;margin-top: 6px;margin-left: 12px;}.emn-fl-button.emn-fl-new-chat + small {margin-left: 0;margin-right: 12px;}.emn-fl-new-chat-container[data-visibility="0"], .emn-fl-chat___select_all[data-visibility="0"] {opacity: 0;visibility: hidden;}.emn-fl-chat___element {padding: 10px 20px;}.emn-fl-chat___start {padding: 10px 20px;font-size: 12px;text-transform: uppercase;font-weight: bold;border-bottom: 1px solid #e0e5f2;}.emn-fl-chat___select_all {position: absolute;top: 7px;right: 13px;text-transform: uppercase;font-size: 12px;font-weight: bold;border: 1px solid;padding: 2px 8px;cursor: pointer;}.emn-fl-chat___select_all:hover {background-color: rgb(143, 155, 186);color: #f0f5fa;}.emn-fl-chat___message {padding: 8px 20px 20px;padding-left: 64px;position: relative;}.emn-fl-chat___message_text {min-height: 40px;padding-right: 62px;}.emn-fl-chat___message_select {position: absolute;transform: translateY(-50%);top: 50%;right: 30px;}@media screen and (max-width: 800px){.emn-fl-chat___message_select {right: 20px;}.emn-fl-chat___message_text {padding-right: 42px;}}#emn-fl-chat-content-hidden {opacity: 0;height: 1px;width: 1px;overflow: scroll;position: absolute;top: 0;z-index: -1;}.emn-fl-chat-check-message + .emn-fl-checkbox-control {border: 1px solid rgb(143, 155, 186);}.emn-fl-chat-message___signature {position: absolute;left: 18px;top: 26px;width: 30px;height: 24px;color: white;font-size: 11px;text-transform: uppercase;text-align: center;padding-top: 6px;}.emn-fl-chat___message p {font-size: 16px;line-height: 28px;}.emn-fl-chat___message p:last-child {margin-bottom: 0;}.emn-fl-chat___message[data-sender="assistant"]{background-color: #dae1e7f5;}.emn-fl-chat___message[data-sender="assistant"] .emn-fl-chat-message___signature {background-color: #6877bf;}.emn-fl-chat___message[data-sender="system"] .emn-fl-chat-message___signature, .emn-fl-chat___message[data-sender="user"] .emn-fl-chat-message___signature {background-color: #67b5ae;}.emn-fl-chat-options div {margin-bottom: 28px;}#emn-fl-new-content-textarea {width: 100%;}#wp-emn-fl-new-content-textarea-wrap .mce-btn.mce-active i {color: black;}.emn-fl-new-content-select-post-type option[value="product"], .emn-fl-new-content-select-post-type option[value="portfolio"] {display: none;}.emn-fl-go-to-new-content {display: table;margin-left: auto;margin-right: auto;font-size: 18px;text-decoration: none;color: white;background-color: #42BA96;border: 1px solid #42BA96;padding: 12px 20px;border-radius: 16px;}#emn-fl-confirm-modal .emn-fl-go-to-new-content svg {display: inline-block;width: 20px;height: 20px;vertical-align: middle;margin-left: 6px;}.emn-fl-go-to-new-content:hover, .emn-fl-go-to-new-content:active, .emn-fl-go-to-new-content:focus {background-color: white;color: #42BA96;}.emn-fl-selected-filename {margin-bottom: 12px;display: block;font-size: 14px;}.emn-fl-selected-filename svg {width: 16px;height: 16px;margin-right: 8px;vertical-align: middle;}.emn-fl-send-audio-file {margin-top: 18px;}.emn-fl-transition-container p {font-size: 16px;line-height: 28px;padding: 0 22px;}.emn-fl-alert {width: 1140px;max-width: 1140px;bottom: -100px;left: 50%;transform: translateX(-50%);position: fixed;padding: 26px 34px;color: #fefefe;border-radius: 8px;font-size: 18px;z-index: 9999;-moz-transition: all, 0.2s;-o-transition: all, 0.2s;-webkit-transition: all, 0.2s;transition: all, 0.2s;z-index: 9999;}.emn-fl-alert .emn-fl-alert-message {padding-right: 35px;display: inline-block;}.emn-fl-alert-active {bottom: 40px;}.emn-fl-alert-general {background-color: #506EFA;}.emn-fl-alert-success {background-color: #42BA96;}.emn-fl-alert-warning {background-color: #DF4759;}@media screen and (max-width: 1200px) {.emn-fl-alert {width: 90%;max-width: 90%;}}.emn-fl-delete-button-container {border-bottom: 1px solid #e0e0e050;padding-bottom: 22px;padding-top: 22px;}.emn-fl-delete-button-container:first-child {padding-top: 0;}.emn-fl-delete-button-container button svg {vertical-align: sub;margin-right: 6px;height: 20px;width: 20px;}.emn-fl-delete-button-container button + p {margin-top: 12px;margin-bottom: 0;}.emn-fl-remember {color: #a0aec0;text-align: center;margin-top: 12px;line-height: 24px;} -
flusso-ai-generated-content/trunk/assets/js/script.js
r2907116 r2907940 1 1 "use strict"; 2 2 3 var alert_timeout, openai_key, organization_id, images_html, image_url, image_url_o, this_el, featured_ids, count_images, this_img, modal_html, custom_style, modal_title, modal_text, search_timeout, selected, proceed_error, chat_history, chat_html, first_chat_html, ai_message, count_chat, to_copy, post_content, this_block_content, final_content, content_language, quill, target_dest ;3 var alert_timeout, openai_key, organization_id, images_html, image_url, image_url_o, this_el, featured_ids, count_images, this_img, modal_html, custom_style, modal_title, modal_text, search_timeout, selected, proceed_error, chat_history, chat_html, first_chat_html, ai_message, count_chat, to_copy, post_content, this_block_content, final_content, content_language, quill, target_dest, chat_message; 4 4 5 5 jQuery( document ).ready( function(){ … … 223 223 jQuery( '.emn-fl-send-chat-message' ).off( 'click' ).on( 'click', function(){ 224 224 // Send chat message 225 emn_fl_send_chat_message( jQuery( '#emn-fl-chat-prompt' ).val() ); 225 chat_message = jQuery( '#emn-fl-chat-prompt' ).val(); 226 if( jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ) !== '' && jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ) ){ 227 chat_message += ' ' + jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ); 228 } 229 emn_fl_send_chat_message( chat_message ); 226 230 }) 227 231 … … 230 234 if( !jQuery( '.emn-fl-no-api-key' ).length ){ 231 235 if( e.which == 13 ){ 232 emn_fl_send_chat_message( jQuery( this ).val() ); 236 chat_message = jQuery( this ).val(); 237 if( jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ) !== '' && jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ) ){ 238 chat_message += ' ' + jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ); 239 } 240 emn_fl_send_chat_message( chat_message ); 233 241 } 234 242 } … … 720 728 jQuery( '.emn-fl-chat___select_all' ).attr( 'data-visibility', '1' ) 721 729 } 730 if( jQuery( '#emn-fl-chat-add-img' ).length ){ 731 if( jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url' ) !== '' ){ 732 jQuery( '#emn-fl-chat-add-img' ).attr( 'data-image-url', '' ).removeClass( 'emn-fl-hidden' ); 733 jQuery( '#emn-fl-chat-remove-img' ).addClass( 'emn-fl-hidden' ); 734 } 735 } 722 736 723 737 // Scroll -
flusso-ai-generated-content/trunk/assets/js/script.min.js
r2907116 r2907940 1 "use strict";var alert_timeout,openai_key,organization_id,images_html,image_url,image_url_o,this_el,featured_ids,count_images,this_img,modal_html,custom_style,modal_title,modal_text,search_timeout,selected,proceed_error,chat_history,chat_html,first_chat_html,ai_message,count_chat,to_copy,post_content,this_block_content,final_content,content_language,quill,target_dest ;function emn_fl_bind_events(){jQuery(".emn-fl-openai-key-validate").off("click").on("click",function(e){if(e.preventDefault(),openai_key=jQuery("input#emn_fl_openai_key").val(),organization_id=jQuery("input#emn_fl_organization_id").val(),""==openai_key)return emn_fl_show_alert("general",localized_strings.empty_openai_key),!1;jQuery(".emn-fl-loading span").html(localized_strings.validating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_validate_key",openai_key:openai_key,organization_id:organization_id,postNonce:emn_fl_urls.nonce},function(e){(e=jQuery.parseJSON(e)).error&&emn_fl_show_alert("warning",e.error.message,5e3),0!=e&&null!=e||emn_fl_show_alert("warning",localized_strings.openai_key_generic_error,4e3),e.data&&emn_fl_show_alert("success",localized_strings.verified_openai_key,3e3),jQuery(".emn-fl-loading").removeClass("emn-fl-show")})}),jQuery("button.emn-fl-generate-images").off("click").on("click",function(e){e.preventDefault(),emn_fl_generate_images()}),jQuery(".emn-fl-save-image-in-media").off("click").on("click",function(e){e.preventDefault(),jQuery(this).hasClass("emn-fl-button-saved")||(jQuery(this).hasClass("emn-fl-set-featured-image")?emn_fl_confirm_modal("image","set_featured","",jQuery(this).parent().parent().attr("data-image-url")):emn_fl_save_image_in_media(jQuery(this),1))}),jQuery(".emn-fl-save-all-images-in-media").off("click").on("click",function(e){e.preventDefault(),emn_fl_save_image_in_media(jQuery(this),"all")}),jQuery(".emn-fl-image-create-variations").off("click").on("click",function(e){e.preventDefault(),emn_fl_create_image_variations(jQuery(this))}),jQuery(".emn-fl-button-post-type-modal").off("click").on("click",function(){jQuery(this).hasClass("emn-fl-button-post-type-modal-loaded")||emn_fl_load_post_list(jQuery(this).attr("data-post-type"),jQuery(this).parent())}),jQuery(".emn-fl-post-list-load-more").off("click").on("click",function(){emn_fl_load_post_list(jQuery(this).attr("data-post-type"),jQuery(this).parent(),parseInt(jQuery(this).attr("data-offset")),jQuery(this).attr("data-search"))}),jQuery(".emn-fl-post-list-search input").off("keyup").on("keyup",function(){this_el=jQuery(this),clearTimeout(search_timeout),search_timeout=setTimeout(function(){""!==this_el.val()?emn_fl_load_post_list(this_el.attr("data-post-type"),this_el.parent().parent().parent(),0,this_el.val()):emn_fl_load_post_list(this_el.attr("data-post-type"),this_el.parent().parent().parent())},1500)}),jQuery(".emn-fl-button-set-as-featured-modal").off("click").on("click",function(){if(proceed_error=!0,jQuery('#emn-fl-confirm-modal[data-modal-type="set_featured"] .emn-fl-post-list-single input[type="checkbox"]').length&&jQuery('#emn-fl-confirm-modal[data-modal-type="set_featured"] .emn-fl-post-list-single input[type="checkbox"]').each(function(){jQuery(this).is(":checked")&&(proceed_error=!1)}),proceed_error)return emn_fl_show_alert("general",localized_strings.featured_no_elements_selected),!1;""!=jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image').attr("data-image-media-id")&&jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image').attr("data-image-media-id")?emn_fl_save_image_in_media(jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image'),1,!0,0,jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image').attr("data-image-media-id")):emn_fl_save_image_in_media(jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image'),1,!0)}),jQuery(".emn-fl-send-chat-message").off("click").on("click",function(){emn_fl_send_chat_message(jQuery("#emn-fl-chat-prompt").val())}),jQuery("#emn-fl-chat-prompt").off("keypress").on("keypress",function(e){jQuery(".emn-fl-no-api-key").length||13==e.which&&emn_fl_send_chat_message(jQuery(this).val())}),jQuery(".emn-fl-new-chat").off("click").on("click",function(){emn_fl_clear_chat()}),jQuery(".emn-fl-chat___select_all").off("click").on("click",function(){"select"==jQuery(this).attr("data-action")?(jQuery('.emn-fl-chat-content-container-inner .emn-fl-chat___message[data-sender="assistant"]').find(" .emn-fl-chat-check-message").prop("checked",!0),jQuery(this).text(localized_strings.deselect_all_answers).attr("data-action","deselect"),emn_fl_chat_text_to_copy()):"deselect"==jQuery(this).attr("data-action")&&(jQuery('.emn-fl-chat-content-container-inner .emn-fl-chat___message[data-sender="assistant"]').find(" .emn-fl-chat-check-message").prop("checked",!1),jQuery(this).text(localized_strings.select_all_answers).attr("data-action","select"),jQuery("#emn-fl-chat-content-hidden").empty())}),jQuery('.emn-fl-chat___message_select input[type="checkbox"]').off("change").on("change",function(){emn_fl_chat_text_to_copy()}),jQuery(".emn-fl-chat-new-post").off("click").on("click",function(e){if(e.preventDefault(),""==jQuery("#emn-fl-chat-content-hidden").html())return emn_fl_show_alert("general",localized_strings.chat_create_content_empty),!1;emn_fl_confirm_modal("file-plus","chat_new_content","","")}),jQuery(".emn-fl-button-go-create-content").off("click").on("click",function(){emn_fl_create_wp_content()}),jQuery(".emn-fl-send-audio-file").off("click").on("click",function(e){if(e.preventDefault(),""==jQuery("#emn-fl-audio-attachment-id").val())return emn_fl_show_alert("general",localized_strings.no_file_selected),!1;emn_fl_send_audio_file()}),jQuery(".emn-fl-transcription-new-post").off("click").on("click",function(e){if(e.preventDefault(),""==jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").html())return emn_fl_show_alert("general",localized_strings.transcription_create_content_empty),!1;emn_fl_confirm_modal("file-plus","transcription_new_content","","")}),jQuery(".emn-fl-button-delete").off("click").on("click",function(e){e.preventDefault(),emn_fl_confirm_modal("x-octagon","deletion",jQuery(this).attr("data-type"))}),jQuery('#emn-fl-confirm-modal button:not(.emn-fl-button-post-type-modal):not(.emn-fl-button-set-as-featured-modal):not(.insert-media):not([data-wp-editor-id="emn-fl-new-content-textarea"]):not([id*="mce"]):not(.emn-fl-button-go-create-content)').off("click").on("click",function(){jQuery(this).hasClass("emn-fl-button-1-modal")?"deletion"==jQuery(this).closest("#emn-fl-confirm-modal").attr("data-modal-type")&&emn_fl_delete_generated_content(jQuery(this).closest("#emn-fl-confirm-modal").attr("data-element-type")):emn_fl_destroy_confirm_modal()}),jQuery(".emn-fl-white-overlay").off("click").on("click",function(){emn_fl_destroy_confirm_modal()}),jQuery("a.emn-fl-l-modal-opening").off("click").on("click",function(e){e.preventDefault(),jQuery('.emn-fl-l-modal[data-modal-object="'+jQuery(this).attr("data-modal-object")+'"]').addClass("emn-fl-show").attr("data-location-id",jQuery(this).parent().parent().parent().attr("id"))}),jQuery(".emn-fl-l-modal").off("click").on("click",function(e){jQuery(e.target).is(".emn-fl-l-modal-inner")||jQuery(e.target).is(".emn-fl-l-modal-inner *")||jQuery(".emn-fl-l-modal").removeClass("emn-fl-show")}),jQuery(".emn-fl-l-modal .emn-fl-button-confirm").off("click").on("click",function(){emn_fl_confirm_large_modal(jQuery(this).attr("data-modal-object"))}),jQuery(".emn-fl-l-modal .emn-fl-button-delete").off("click").on("click",function(){jQuery(".emn-fl-l-modal").removeClass("emn-fl-show")}),jQuery("#emn-fl-generate-key-points-button").off("click").on("click",function(e){e.preventDefault(),emn_fl_generate_key_points()})}function emn_fl_generate_images(){if(""==jQuery("#emn_fl_image_prompt").val())return emn_fl_show_alert("general",localized_strings.empty_image_prompt),!1;jQuery(".emn-fl-loading span").html(localized_strings.generating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_generate_images",key_type:"openai",variations:"false",image_url:"",prompt:jQuery("#emn_fl_image_prompt").val(),n:jQuery("#emn_fl_image_number").val(),size:jQuery("#emn_fl_image_size").val(),type:jQuery("#emn_fl_image_type").val(),style:jQuery("#emn_fl_image_style").val(),postNonce:emn_fl_urls.nonce},function(e){return images_html="",e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.data&&(jQuery(".emn-fl-save-all-images-in-media, .emn-fl-generated-image-container").remove(),images_html+="<button class='emn-fl-button emn-fl-save-all-images-in-media emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='save'></i>"+localized_strings.save_all_images+"</button>",jQuery(e.data).each(function(){image_url=(image_url=jQuery(this))[0].url,images_html+="<div class='emn-fl-generated-image-container emn-fl-grid-container emn-fl-grid-x emn-fl-grid-margin-x' data-image-url='"+image_url+"'>",images_html+="<div class='emn-fl-generated-image emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell' style='background-image: url("+image_url+")'>",images_html+="</div>",images_html+="<div class='emn-fl-generated-image-actions emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell'>",images_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title'><i data-feather='plus-square'></i>",images_html+=localized_strings.actions_title,images_html+="</h3><p class='emn-fl-dm-sans emn-fl-section-p'>",images_html+=localized_strings.images_actions_p,images_html+="</p>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='save'></i>"+localized_strings.save_image+"</button>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-set-featured-image emn-fl-dm-sans emn-fl-transitions-2s' data-featured='true'><i data-feather='save'></i>"+localized_strings.save_image_featured+"</button>",images_html+="<button class='emn-fl-button emn-fl-image-create-variations emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='layers'></i>"+localized_strings.image_create_variations+"</button>",images_html+="</div>",images_html+="</div>"}),jQuery(".emn-generated-images-container .emn-fl-empty-message").hide(100),jQuery(".emn-generated-images-container").append(images_html),feather.replace(),emn_fl_bind_events()))})}function emn_fl_save_image_in_media(e,t,n=!1,a=1,l=0){if(e.hasClass("emn-fl-button-saved"))return!1;image_url=[],featured_ids="",1==t?image_url.push(e.closest(".emn-fl-generated-image-container").attr("data-image-url")):"all"==t&&jQuery(".emn-fl-generated-image-container").each(function(){""!=jQuery(this).find(" .emn-fl-save-image-in-media:not(.emn-fl-set-featured-image)").attr("data-image-media-id")&&jQuery(this).find(" .emn-fl-save-image-in-media:not(.emn-fl-set-featured-image)").attr("data-image-media-id")||image_url.push(jQuery(this).attr("data-image-url"))}),n&&(jQuery("#emn-fl-confirm-modal").css("z-index","98"),jQuery('#emn-fl-confirm-modal[data-modal-type="set_featured"] .emn-fl-post-list-single input[type="checkbox"]').each(function(){jQuery(this).is(":checked")&&(featured_ids+=jQuery(this).attr("data-id")+",")})),jQuery(".emn-fl-loading span").html(localized_strings.saving),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_save_image_in_media",image_url:image_url,save:a,already_saved_attachment_id:l,prompt:jQuery("#emn_fl_image_prompt").val(),featured_ids:featured_ids,postNonce:emn_fl_urls.nonce},function(l){(l=jQuery.parseJSON(l)).success?(emn_fl_show_alert("success",l.success),1==t?1==a?n?(e.prev().addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved).attr("data-image-media-id",l.images_data[1].image_id),e.addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved_and_set).attr("data-image-media-id",l.images_data[1].image_id)):(e.addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved).attr("data-image-media-id",l.images_data[1].image_id),e.next().html("<i data-feather='save'></i>"+localized_strings.set_as_featured).attr("data-image-media-id",l.images_data[1].image_id)):e.addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved_and_set):"all"==t&&(jQuery(".emn-fl-save-image-in-media:not(.emn-fl-set-featured-image)").addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved),jQuery(".emn-fl-save-all-images-in-media").addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.all_saved),count_images=1,jQuery(".emn-fl-generated-image-container").each(function(){""!=(this_img=jQuery(this)).find(" .emn-fl-save-image-in-media").attr("data-image-media-id")&&this_img.find(" .emn-fl-save-image-in-media").attr("data-image-media-id")||(this_img.find(" .emn-fl-save-image-in-media").attr("data-image-media-id",l.images_data[count_images].image_id),count_images++)})),feather.replace(),emn_fl_bind_events(),jQuery("#emn-fl-confirm-modal").length&&emn_fl_destroy_confirm_modal()):(jQuery("#emn-fl-confirm-modal").length&&jQuery("#emn-fl-confirm-modal").css("z-index","99"),emn_fl_show_alert("warning",localized_strings.generic_error,6e3)),jQuery(".emn-fl-loading").removeClass("emn-fl-show")})}function emn_fl_create_image_variations(e){if(e.hasClass("emn-fl-button-saved"))return!1;image_url_o=e.closest(".emn-fl-generated-image-container").attr("data-image-url"),jQuery(".emn-fl-loading span").html(localized_strings.generating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_generate_images",key_type:"openai",variations:"true",prompt:"",image_url:image_url_o,n:jQuery("#emn_fl_image_number").val(),size:jQuery("#emn_fl_image_size").val(),type:jQuery("#emn_fl_image_type").val(),style:jQuery("#emn_fl_image_style").val(),postNonce:emn_fl_urls.nonce},function(e){images_html="",jQuery(".emn-fl-loading").removeClass("emn-fl-show");try{if((e=jQuery.parseJSON(e)).error)return emn_fl_show_alert("warning",e.error.message,6e3),!1;if(0==e||null==e)return emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1;e.data&&(jQuery(e.data).each(function(){image_url=(image_url=jQuery(this))[0].url,images_html+="<div class='emn-fl-generated-image-container emn-fl-single-image-variation emn-fl-grid-container emn-fl-grid-x emn-fl-grid-margin-x' data-image-url='"+image_url+"'>",images_html+="<div class='emn-fl-generated-image emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell' style='background-image: url("+image_url+")'>",images_html+="</div>",images_html+="<div class='emn-fl-generated-image-actions emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell'>",images_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title'><i data-feather='plus-square'></i>",images_html+=localized_strings.actions_title,images_html+="</h3><p class='emn-fl-dm-sans emn-fl-section-p'>",images_html+=localized_strings.images_actions_p,images_html+="</p>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='save'></i>"+localized_strings.save_image+"</button>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-set-featured-image emn-fl-dm-sans emn-fl-transitions-2s' data-featured='true'><i data-feather='save'></i>"+localized_strings.save_image_featured+"</button>",images_html+="<button class='emn-fl-button emn-fl-image-create-variations emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='layers'></i>"+localized_strings.image_create_variations+"</button>",images_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title emn-fl-medium-title-small'><i data-feather='refresh-cw'></i>",images_html+=localized_strings.variation_title,images_html+="</h3>",images_html+="<div class='emn-fl-image-variation-of' style='background-image: url("+image_url_o+");'></div>",images_html+="</div>",images_html+="</div>"}),jQuery(images_html).insertAfter('.emn-fl-generated-image-container[data-image-url="'+image_url_o+'"]'),jQuery('.emn-fl-generated-image-container[data-image-url="'+image_url_o+'"] button.emn-fl-image-create-variations').addClass("emn-fl-button-saved").html("<i data-feather='layers'></i>"+localized_strings.variations_created),feather.replace(),emn_fl_bind_events())}catch(e){return emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1}})}function emn_fl_send_chat_message(e){if(""==e)return emn_fl_show_alert("general",localized_strings.chat_no_message),!1;chat_history={},jQuery(".emn-fl-chat-content-container-inner .emn-fl-chat___message").length?(count_chat=0,jQuery(".emn-fl-chat-content-container-inner .emn-fl-chat___message").each(function(e){chat_history[e]={},chat_history[e].role=jQuery(this).attr("data-sender"),chat_history[e].content=jQuery(this).find(" .emn-fl-chat___message_text").text(),count_chat++}),chat_history[count_chat]={},chat_history[count_chat].role="user",chat_history[count_chat].content=e,first_chat_html='<div class="emn-fl-chat___element emn-fl-chat___message" data-sender="user" data-message-count="'+(count_chat+1)+'"><span class="emn-fl-chat-message___signature">'+localized_strings.you+'</span><div class="emn-fl-chat___message_text"><p>'+e+'</p></div><div class="emn-fl-chat___message_select"><input type="checkbox" class="emn-fl-checkbox emn-fl-chat-check-message" name="emn-fl-chat-check-message-'+(count_chat+1)+'" /></div></div>'):(chat_history[0]={},chat_history[0].role="system",chat_history[0].content=e,first_chat_html='<div class="emn-fl-chat___element emn-fl-chat___message" data-sender="system" data-message-count="1"><span class="emn-fl-chat-message___signature">'+localized_strings.you+'</span><div class="emn-fl-chat___message_text"><p>'+e+'</p></div><div class="emn-fl-chat___message_select"><input type="checkbox" class="emn-fl-checkbox emn-fl-chat-check-message" name="emn-fl-chat-check-message-1" /></div></div>'),chat_history=JSON.stringify(chat_history),jQuery(".emn-fl-loading span").html(localized_strings.sending),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_send_chat_message",key_type:"openai",chat_history:chat_history,postNonce:emn_fl_urls.nonce},function(e){return e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.choices&&(jQuery("#emn-fl-chat-prompt").val(""),""==jQuery("#emn-fl-chat-prompt").attr("data-hidden-placeholder")&&(jQuery("#emn-fl-chat-prompt").attr("data-hidden-placeholder",jQuery("#emn-fl-chat-prompt").attr("placeholder")),jQuery("#emn-fl-chat-prompt").attr("placeholder",localized_strings.write_your_answer_here)),jQuery(".emn-fl-chat-content-container-inner").append(first_chat_html),ai_message=e.choices[0].message.content.trim().replace(/\r?\n/g,"<br/>"),chat_html='<div class="emn-fl-chat___element emn-fl-chat___message" data-sender="'+e.choices[0].message.role+'" data-message-count="'+(jQuery(".emn-fl-chat___message").length+1)+'"><span class="emn-fl-chat-message___signature">'+localized_strings.ai+'</span><div class="emn-fl-chat___message_text"><p>'+ai_message+'</p></div><div class="emn-fl-chat___message_select"><input type="checkbox" class="emn-fl-checkbox emn-fl-chat-check-message" name="emn-fl-chat-check-message-'+(jQuery(".emn-fl-chat___message").length+1)+'" /></div></div>',jQuery(".emn-fl-chat-content-container-inner").append(chat_html),"0"==jQuery(".emn-fl-new-chat-container").attr("data-visibility")&&jQuery(".emn-fl-new-chat-container").attr("data-visibility","1"),"0"==jQuery(".emn-fl-chat___select_all").attr("data-visibility")&&jQuery(".emn-fl-chat___select_all").attr("data-visibility","1"),jQuery(".emn-fl-chat-content-container-inner").animate({scrollTop:jQuery('.emn-fl-chat___message[data-message-count="'+jQuery(".emn-fl-chat___message").length+'"]').offset().top},1e3),emn_fl_checkboxes(),emn_fl_bind_events()))})}function emn_fl_clear_chat(){jQuery(".emn-fl-chat-content-container-inner .emn-fl-chat___message").remove(),jQuery(".emn-fl-new-chat-container").attr("data-visibility","0"),jQuery("#emn-fl-chat-prompt").attr("placeholder",jQuery("#emn-fl-chat-prompt").attr("data-hidden-placeholder")),jQuery(".emn-fl-chat___select_all").text(localized_strings.select_all_answers).attr({"data-action":"select","data-visibility":"0"})}function emn_fl_chat_text_to_copy(){jQuery("#emn-fl-chat-content-hidden").empty(),jQuery(".emn-fl-chat___message").each(function(){jQuery(this).find(' .emn-fl-chat___message_select input[type="checkbox"]').is(":checked")&&jQuery("#emn-fl-chat-content-hidden").append(jQuery(this).find(" .emn-fl-chat___message_text").html())})}function emn_fl_send_audio_file(){jQuery(".emn-fl-loading span").html(localized_strings.sending_file),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_get_transcription",key_type:"openai",file_url:jQuery("#emn-fl-audio-attachment-id").attr("data-file-url"),postNonce:emn_fl_urls.nonce},function(e){return e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.text&&jQuery(".emn-fl-transition-container .emn-fl-chat-content-container-inner p").html(e.text))})}function emn_fl_load_post_list(e,t,n=0,a=""){jQuery("#emn-fl-confirm-modal").css("z-index","98"),selected="",t.find(" .emn-fl-post-list-single").each(function(){jQuery(this).find(' input[type="checkbox"]').is(":checked")&&(selected+=jQuery(this).find(' input[type="checkbox"]').attr("data-id")+",")}),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_load_post_list",post_type:e,offset:n,search:a,selected:selected,postNonce:emn_fl_urls.nonce},function(l){(""!==a&&0!==n||""==a&&0==n)&&t.find(" .emn-fl-post-list-load-more").remove(),0==n?(t.find(" .emn-fl-post-list-single").each(function(){jQuery(this).find(' input[type="checkbox"]').is(":checked")||jQuery(this).remove()}),t.find(" .emn-fl-post-list-load-more").remove(),t.find(" .emn-fl-post-list-container").append(l).show(100)):(t.find(" .emn-fl-post-list-load-more").remove(),t.append(l)),jQuery('.emn-fl-button-post-type-modal[data-post-type="'+e+'"]').addClass("emn-fl-button-post-type-modal-loaded"),emn_fl_checkboxes(),jQuery("#emn-fl-confirm-modal").css("z-index","99"),emn_fl_bind_events()})}function emn_fl_create_wp_content(){return""==jQuery(".emn-fl-new-content-title").val()?(emn_fl_show_alert("general",localized_strings.empty_title,3e3),!1):""==jQuery("#wp-emn-fl-new-content-textarea-wrap #emn-fl-new-content-textarea").val()?(emn_fl_show_alert("general",localized_strings.empty_content,3e3),!1):(jQuery("#emn-fl-confirm-modal").css("z-index","98"),void jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_create_wp_content",post_type:jQuery("select.emn-fl-new-content-select-post-type").val(),title:jQuery(".emn-fl-new-content-title").val(),content:wp.editor.getContent("emn-fl-new-content-textarea"),featured_image:"",postNonce:emn_fl_urls.nonce},function(e){"0"==(e=jQuery.parseJSON(e)).error?(emn_fl_show_alert("success",e.message,3e3),jQuery("#emn-fl-confirm-modal .emn-fl-grid-container").html("<div class='emn-fl-cell emn-fl-small-12'><a class='emn-fl-go-to-new-content emn-fl-transitions-2s' href='"+e.edit_link+"' target='_blank'>"+localized_strings.go_to_new_content+"<i data-feather='arrow-right'></i></a></div>")):"1"==e.error&&emn_fl_show_alert("warning",e.message,3e3),jQuery("#emn-fl-confirm-modal").css("z-index","99"),feather.replace()}))}function emn_fl_delete_generated_content(e){emn_fl_destroy_confirm_modal(),jQuery(".emn-fl-loading span").html(localized_strings.deleting),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_delete_generated_content",content_type:e,postNonce:emn_fl_urls.nonce},function(e){"success"==(e=jQuery.parseJSON(e)).type&&emn_fl_show_alert("success",e.message,3e3),"notfound"==e.type&&emn_fl_show_alert("general",e.message,3e3),jQuery(".emn-fl-loading").removeClass("emn-fl-show")})}function emn_fl_generate_key_points(){if(final_content="",jQuery("body").hasClass("block-editor-page")?(post_content=wp.data.select("core/block-editor").getBlocks())[0]&&jQuery(post_content).each(function(){switch((this_block_content=jQuery(this))[0].name){case"core/paragraph":case"core/freeform":case"core/heading":case"core/list":final_content+=jQuery("<div/>").html(this_block_content[0].originalContent).text()+" "}}):(post_content=tinymce.activeEditor.getContent(),final_content+=jQuery("<div/>").html(post_content).text()),""==(final_content=emn_fl_clean_content(final_content)))return emn_fl_show_alert("general",localized_strings.post_no_content),!1;jQuery(".emn-fl-loading span").html(localized_strings.generating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),guessLanguage.name(final_content,function(e){content_language=e}),ai_message="","english"!==content_language.toLowerCase()&&""!==content_language.toLowerCase()&&void 0!==content_language.toLowerCase()&&(ai_message+="writing in "+content_language+", "),ai_message+="summarize the following text in "+jQuery("#emn-fl-generate-key-points-button").attr("data-key-points-n")+' key points, each one starting with "∙": '+final_content,(chat_history={})[0]={},chat_history[0].role="system",chat_history[0].content=ai_message,chat_history=JSON.stringify(chat_history),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_send_chat_message",key_type:"openai",chat_history:chat_history,postNonce:emn_fl_urls.nonce},function(e){return e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.choices&&(ai_message=e.choices[0].message.content.trim().replace(/\r?\n/g,"<br/>"),quill.pasteHTML(ai_message)))})}function emn_fl_generate_product_description(e){ai_message="","english"!==e.attr("data-description-language")&&(ai_message+="writing in "+e.attr("data-description-language")+", "),ai_message+="write a product description for a "+e.find(" input#emn-fl-product-description_product_name").val()+".",""!==e.find(" input#emn-fl-product-description_product_brand").val()&&(ai_message+=" The brand of the product is: "+e.find(" input#emn-fl-product-description_product_brand").val()+"."),""!==e.find(" input#emn-fl-product-description_product_features").val()&&(ai_message+=" The main features are: "+e.find(" input#emn-fl-product-description_product_features").val()+"."),""!==e.find(" input#emn-fl-product-description_positioning").val()&&(ai_message+=" The key tone of the description must be: "+e.find(" input#emn-fl-product-description_positioning").val()+"."),""!==e.find(" input#emn-fl-product-description_ideal_buyer").val()&&(ai_message+=" Consider the following as the ideal buyer for this product: "+e.find(" input#emn-fl-product-description_ideal_buyer").val()+"."),""!==e.find(" input#emn-fl-product-description_offer").val()&&(ai_message+=" Only in the end, write something considering this feature of the product: "+e.find(" select#emn-fl-product-description_offer").val()+"."),ai_message+='Highlight the keywords using the "strong" HTML tag.',(chat_history={})[0]={},chat_history[0].role="system",chat_history[0].content=ai_message,chat_history=JSON.stringify(chat_history),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_send_chat_message",key_type:"openai",chat_history:chat_history,postNonce:emn_fl_urls.nonce},function(t){return t=jQuery.parseJSON(t),e.find(" .emn-fl-loading").removeClass("emn-fl-show"),t.error?(emn_fl_show_alert("warning",t.error.message,6e3),!1):0==t||null==t?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(t.choices&&(ai_message=t.choices[0].message.content.trim().replace(/\r?\n/g,"<br/>"),e.attr("data-location-id").indexOf("content")>-1?target_dest="content":e.attr("data-location-id").indexOf("excerpt")>-1&&(target_dest="excerpt"),tinymce.get(target_dest).setContent(ai_message),e.removeClass("emn-fl-show"),emn_fl_show_alert("success",localized_strings.generated_description)))})}function emn_fl_confirm_large_modal(e){if(proceed_error=!1,(this_el=jQuery('.emn-fl-l-modal[data-modal-object="'+e+'"]')).find(" .emn-fl-required-field").length&&this_el.find(" .emn-fl-required-field").each(function(){""==jQuery(this).val()&&(emn_fl_show_alert("general",localized_strings.required_fields_missing),proceed_error=!0)}),!proceed_error)switch(this_el.find(" .emn-fl-loading").length&&(this_el.find(" .emn-fl-loading span").html(localized_strings.generating),this_el.find(" .emn-fl-loading").addClass("emn-fl-show")),e){case"product-description-modal":emn_fl_generate_product_description(this_el)}}function emn_fl_checkboxes(){jQuery('input[type="checkbox"].emn-fl-checkbox').each(function(){jQuery(this).find(" + .emn-fl-checkbox-control").length||jQuery(this).after('<span class="emn-fl-checkbox-control"></span>')})}function emn_fl_show_alert(e,t,n=3e3){jQuery(".emn-fl-alert-message").html(t),jQuery(".emn-fl-alert").addClass("emn-fl-alert-active emn-fl-alert-"+e),emn_fl_hide_alert(n)}function emn_fl_hide_alert(e=3600){clearTimeout(alert_timeout),alert_timeout=setTimeout(function(){jQuery(".emn-fl-alert").hasClass("emn-fl-alert-active")&&(jQuery(".emn-fl-alert").removeClass("emn-fl-alert-active"),jQuery(".emn-fl-alert").removeClass("emn-fl-alert-success emn-fl-alert-warning emn-fl-alert-neutral"))},e)}function emn_fl_check_initial_data_large_modal(){jQuery(".emn-fl-l-modal").each(function(){switch(jQuery(this).attr("data-modal-object")){case"product-description-modal":""!==jQuery('#titlewrap input[name="post_title"]').val()&&jQuery(this).find(" input#emn-fl-product-description_product_name").val(jQuery('#titlewrap input[name="post_title"]').val())}})}function emn_fl_confirm_modal(e,t,n="attachment",a=""){switch(custom_style="",modal_html="<div class='emn-fl-white-overlay emn-fl-transitions-2s'></div>",modal_html+="<div id='emn-fl-confirm-modal' class='emn-fl-transitions-2s' data-modal-type='"+t+"' data-element-type='"+n+"' data-image-url='"+a+"'>",""!==e&&("deletion"==t&&(custom_style='style="color: rgb(247, 4, 4);"'),modal_html+="<i data-feather='"+e+"' "+custom_style+"></i>"),t){case"deletion":switch(modal_title=localized_strings.modal_title_generic_confirm,n){case"attachment":modal_text=localized_strings.modal_text_confirm_image_deletion;break;case"post":modal_text=localized_strings.modal_text_confirm_post_deletion}break;case"set_featured":modal_title=localized_strings.modal_title_set_featured_image,modal_text=localized_strings.modal_text_set_featured_image;break;case"chat_new_content":case"transcription_new_content":modal_title=localized_strings.modal_title_new_content,modal_text=localized_strings.modal_text_new_content}switch(""!==modal_title&&(modal_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title emn-fl-text-center'>"+modal_title+"</h3>"),""!==modal_text&&(modal_html+="<p class='emn-fl-dm-sans emn-fl-section-p emn-fl-text-center'>"+modal_text+"</p>"),modal_html+="<div class='emn-fl-grid-container emn-fl-grid-x'>",t){case"deletion":modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-1-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_generic_yes+"</button></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-delete emn-fl-button-2-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_generic_no+"</button></div>";break;case"set_featured":modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='post'>"+localized_strings.posts+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='post' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='page'>"+localized_strings.pages+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='page' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>";break;case"chat_new_content":case"transcription_new_content":modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-medium-6 emn-fl-settings emn-fl-form-single-input'><label for='emn-fl-new-content-select-post-type' class='emn-fl-dm-sans'>"+localized_strings.post_type+"</label><select class='emn-fl-select emn-fl-new-content-select-post-type'><option value='post'>"+localized_strings.post+"</option><option value='page'>"+localized_strings.page+"</option><option value='product'>"+localized_strings.product+"</option><option value='portfolio'>"+localized_strings.portfolio+"</option></select></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-medium-6 emn-fl-settings emn-fl-form-single-input'><label for='emn-fl-new-content-title' class='emn-fl-dm-sans'>"+localized_strings.title+"</label><input type='text' class='emn-fl-new-content-title emn-fl-input' placeholder='"+localized_strings.title_placeholder+"' /></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-settings emn-fl-form-single-input'><label for='emn-fl-new-content-textarea' class='emn-fl-dm-sans'>"+localized_strings.content+"</label><textarea id='emn-fl-new-content-textarea'></textarea></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-modal-separator'></div><div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-go-create-content emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_create_content+"</button></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-delete emn-fl-button-2-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_back+"</button></div>"}switch(modal_html+="</div>",modal_html+="</div>",jQuery(".emn-fl-wrap").append(modal_html),feather.replace(),jQuery(".emn-fl-white-overlay").css("display","block"),jQuery("#emn-fl-confirm-modal").animate({transform:"translate(-50%, -50%)"},500),t){case"set_featured":jQuery("#emn-fl-confirm-modal").css("z-index","98"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_check_post_types",postNonce:emn_fl_urls.nonce},function(e){modal_html="",void 0!==(e=jQuery.parseJSON(e)).product&&(modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='product'>"+localized_strings.products+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='product' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>"),void 0!==e.portfolio&&(modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='portfolio'>"+localized_strings.portfolio+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='portfolio' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>"),modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-modal-separator'></div><div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-set-as-featured-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_set_featured+"</button></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-delete emn-fl-button-2-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_back+"</button></div>",jQuery("#emn-fl-confirm-modal .emn-fl-grid-container").append(modal_html),jQuery("#emn-fl-confirm-modal").css("z-index","99")});break;case"chat_new_content":case"transcription_new_content":jQuery("#emn-fl-confirm-modal").css("z-index","98"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_check_post_types",postNonce:emn_fl_urls.nonce},function(e){void 0!==(e=jQuery.parseJSON(e)).product&&jQuery('.emn-fl-new-content-select-post-type option[value="product"]').show(),void 0!==e.portfolio&&jQuery('.emn-fl-new-content-select-post-type option[value="portfolio"]').show(),jQuery("#emn-fl-confirm-modal").css("z-index","99")}),wp.editor.remove("emn-fl-new-content-textarea"),jQuery("#emn-fl-chat-content-hidden").length&&jQuery("#emn-fl-new-content-textarea").val(jQuery("#emn-fl-chat-content-hidden").html()),jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").length&&jQuery("#emn-fl-new-content-textarea").val(jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").html()),wp.editor.initialize("emn-fl-new-content-textarea",{tinymce:{wpautop:!0,height:320,plugins:"charmap colorpicker compat3x directionality fullscreen hr image lists media paste tabfocus textcolor wordpress wpautoresize wpdialogs wpeditimage wpemoji wpgallery wplink wptextpattern wpview",toolbar1:"bold italic underline strikethrough | bullist numlist | blockquote hr wp_more | alignleft aligncenter alignright | link unlink | fullscreen | wp_adv",toolbar2:"formatselect alignjustify forecolor | pastetext removeformat charmap | outdent indent | undo redo | wp_help"},quicktags:!0,mediaButtons:!0})}emn_fl_bind_events()}function emn_fl_destroy_confirm_modal(){jQuery(".emn-fl-white-overlay, #emn-fl-confirm-modal").remove()}function emn_fl_clean_content(e){return e=(e=e.split("[vc_row]").join("").split("[vc_column]").join("").split("[vc_column_text]").join("").split("[vc_single_image]").join("")).split("[/vc_row]").join("").split("[/vc_column]").join("").split("[/vc_column_text]").join("").split("[/vc_single_image]").join("")}jQuery(document).ready(function(){if(emn_fl_bind_events(),jQuery('a[href="admin.php?page=flusso-ai-generated-content"]:not(.wp-has-submenu)').length&&jQuery('a[href="admin.php?page=flusso-ai-generated-content"]:not(.wp-has-submenu)').text(localized_strings.overview),emn_fl_checkboxes(),jQuery("select#emn_fl_content_features_product_description_language").length&&"english"!==jQuery("select#emn_fl_content_features_product_description_language").attr("data-selected")&&jQuery("select#emn_fl_content_features_product_description_language").val(jQuery("select#emn_fl_content_features_product_description_language").attr("data-selected")),jQuery(".emn-fl-l-modal").length&&emn_fl_check_initial_data_large_modal(),jQuery(".emn-fl-color-picker").length&&jQuery(".emn-fl-color-picker").wpColorPicker(),jQuery("#emn_fl_meta_post_options").length&&jQuery('<img src="'+script_urls.plugin_url+'/assets/images/symbol.png" class="emn-fl-meta-logo" />').insertBefore("#emn_fl_meta_post_options h2.hndle"),jQuery("#emn-fl-key-points-editor").length&&((quill=new Quill("#emn-fl-key-points-editor",{theme:"snow",placeholder:localized_strings.generate_key_points_placeholder})).on("text-change",function(e,t,n){jQuery("input#emn_fl_key_points").val(quill.root.innerHTML)}),""!==jQuery("input#emn_fl_key_points").val()&&quill.pasteHTML(jQuery("input#emn_fl_key_points").val())),feather.replace(),jQuery(".emn-fl-copy-content").length){var e=new ClipboardJS(".emn-fl-copy-content");e.on("success",function(e){emn_fl_show_alert("success",localized_strings.copy_success)}),e.on("error",function(e){jQuery("#emn-fl-chat-content-hidden").length&&(""==jQuery("#emn-fl-chat-content-hidden").html()?emn_fl_show_alert("general",localized_strings.copy_empty):emn_fl_show_alert("warning",localized_strings.copy_error)),jQuery("#emn-fl-transcription-content").length&&(""==jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").html()?emn_fl_show_alert("general",localized_strings.copy_empty):emn_fl_show_alert("warning",localized_strings.copy_error))})}});1 "use strict";var alert_timeout,openai_key,organization_id,images_html,image_url,image_url_o,this_el,featured_ids,count_images,this_img,modal_html,custom_style,modal_title,modal_text,search_timeout,selected,proceed_error,chat_history,chat_html,first_chat_html,ai_message,count_chat,to_copy,post_content,this_block_content,final_content,content_language,quill,target_dest,chat_message;function emn_fl_bind_events(){jQuery(".emn-fl-openai-key-validate").off("click").on("click",function(e){if(e.preventDefault(),openai_key=jQuery("input#emn_fl_openai_key").val(),organization_id=jQuery("input#emn_fl_organization_id").val(),""==openai_key)return emn_fl_show_alert("general",localized_strings.empty_openai_key),!1;jQuery(".emn-fl-loading span").html(localized_strings.validating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_validate_key",openai_key:openai_key,organization_id:organization_id,postNonce:emn_fl_urls.nonce},function(e){(e=jQuery.parseJSON(e)).error&&emn_fl_show_alert("warning",e.error.message,5e3),0!=e&&null!=e||emn_fl_show_alert("warning",localized_strings.openai_key_generic_error,4e3),e.data&&emn_fl_show_alert("success",localized_strings.verified_openai_key,3e3),jQuery(".emn-fl-loading").removeClass("emn-fl-show")})}),jQuery("button.emn-fl-generate-images").off("click").on("click",function(e){e.preventDefault(),emn_fl_generate_images()}),jQuery(".emn-fl-save-image-in-media").off("click").on("click",function(e){e.preventDefault(),jQuery(this).hasClass("emn-fl-button-saved")||(jQuery(this).hasClass("emn-fl-set-featured-image")?emn_fl_confirm_modal("image","set_featured","",jQuery(this).parent().parent().attr("data-image-url")):emn_fl_save_image_in_media(jQuery(this),1))}),jQuery(".emn-fl-save-all-images-in-media").off("click").on("click",function(e){e.preventDefault(),emn_fl_save_image_in_media(jQuery(this),"all")}),jQuery(".emn-fl-image-create-variations").off("click").on("click",function(e){e.preventDefault(),emn_fl_create_image_variations(jQuery(this))}),jQuery(".emn-fl-button-post-type-modal").off("click").on("click",function(){jQuery(this).hasClass("emn-fl-button-post-type-modal-loaded")||emn_fl_load_post_list(jQuery(this).attr("data-post-type"),jQuery(this).parent())}),jQuery(".emn-fl-post-list-load-more").off("click").on("click",function(){emn_fl_load_post_list(jQuery(this).attr("data-post-type"),jQuery(this).parent(),parseInt(jQuery(this).attr("data-offset")),jQuery(this).attr("data-search"))}),jQuery(".emn-fl-post-list-search input").off("keyup").on("keyup",function(){this_el=jQuery(this),clearTimeout(search_timeout),search_timeout=setTimeout(function(){""!==this_el.val()?emn_fl_load_post_list(this_el.attr("data-post-type"),this_el.parent().parent().parent(),0,this_el.val()):emn_fl_load_post_list(this_el.attr("data-post-type"),this_el.parent().parent().parent())},1500)}),jQuery(".emn-fl-button-set-as-featured-modal").off("click").on("click",function(){if(proceed_error=!0,jQuery('#emn-fl-confirm-modal[data-modal-type="set_featured"] .emn-fl-post-list-single input[type="checkbox"]').length&&jQuery('#emn-fl-confirm-modal[data-modal-type="set_featured"] .emn-fl-post-list-single input[type="checkbox"]').each(function(){jQuery(this).is(":checked")&&(proceed_error=!1)}),proceed_error)return emn_fl_show_alert("general",localized_strings.featured_no_elements_selected),!1;""!=jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image').attr("data-image-media-id")&&jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image').attr("data-image-media-id")?emn_fl_save_image_in_media(jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image'),1,!0,0,jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image').attr("data-image-media-id")):emn_fl_save_image_in_media(jQuery('.emn-fl-generated-image-container[data-image-url="'+jQuery("#emn-fl-confirm-modal").attr("data-image-url")+'"] button.emn-fl-set-featured-image'),1,!0)}),jQuery(".emn-fl-send-chat-message").off("click").on("click",function(){chat_message=jQuery("#emn-fl-chat-prompt").val(),""!==jQuery("#emn-fl-chat-add-img").attr("data-image-url")&&jQuery("#emn-fl-chat-add-img").attr("data-image-url")&&(chat_message+=" "+jQuery("#emn-fl-chat-add-img").attr("data-image-url")),emn_fl_send_chat_message(chat_message)}),jQuery("#emn-fl-chat-prompt").off("keypress").on("keypress",function(e){jQuery(".emn-fl-no-api-key").length||13==e.which&&(chat_message=jQuery(this).val(),""!==jQuery("#emn-fl-chat-add-img").attr("data-image-url")&&jQuery("#emn-fl-chat-add-img").attr("data-image-url")&&(chat_message+=" "+jQuery("#emn-fl-chat-add-img").attr("data-image-url")),emn_fl_send_chat_message(chat_message))}),jQuery(".emn-fl-new-chat").off("click").on("click",function(){emn_fl_clear_chat()}),jQuery(".emn-fl-chat___select_all").off("click").on("click",function(){"select"==jQuery(this).attr("data-action")?(jQuery('.emn-fl-chat-content-container-inner .emn-fl-chat___message[data-sender="assistant"]').find(" .emn-fl-chat-check-message").prop("checked",!0),jQuery(this).text(localized_strings.deselect_all_answers).attr("data-action","deselect"),emn_fl_chat_text_to_copy()):"deselect"==jQuery(this).attr("data-action")&&(jQuery('.emn-fl-chat-content-container-inner .emn-fl-chat___message[data-sender="assistant"]').find(" .emn-fl-chat-check-message").prop("checked",!1),jQuery(this).text(localized_strings.select_all_answers).attr("data-action","select"),jQuery("#emn-fl-chat-content-hidden").empty())}),jQuery('.emn-fl-chat___message_select input[type="checkbox"]').off("change").on("change",function(){emn_fl_chat_text_to_copy()}),jQuery(".emn-fl-chat-new-post").off("click").on("click",function(e){if(e.preventDefault(),""==jQuery("#emn-fl-chat-content-hidden").html())return emn_fl_show_alert("general",localized_strings.chat_create_content_empty),!1;emn_fl_confirm_modal("file-plus","chat_new_content","","")}),jQuery(".emn-fl-button-go-create-content").off("click").on("click",function(){emn_fl_create_wp_content()}),jQuery(".emn-fl-send-audio-file").off("click").on("click",function(e){if(e.preventDefault(),""==jQuery("#emn-fl-audio-attachment-id").val())return emn_fl_show_alert("general",localized_strings.no_file_selected),!1;emn_fl_send_audio_file()}),jQuery(".emn-fl-transcription-new-post").off("click").on("click",function(e){if(e.preventDefault(),""==jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").html())return emn_fl_show_alert("general",localized_strings.transcription_create_content_empty),!1;emn_fl_confirm_modal("file-plus","transcription_new_content","","")}),jQuery(".emn-fl-button-delete").off("click").on("click",function(e){e.preventDefault(),emn_fl_confirm_modal("x-octagon","deletion",jQuery(this).attr("data-type"))}),jQuery('#emn-fl-confirm-modal button:not(.emn-fl-button-post-type-modal):not(.emn-fl-button-set-as-featured-modal):not(.insert-media):not([data-wp-editor-id="emn-fl-new-content-textarea"]):not([id*="mce"]):not(.emn-fl-button-go-create-content)').off("click").on("click",function(){jQuery(this).hasClass("emn-fl-button-1-modal")?"deletion"==jQuery(this).closest("#emn-fl-confirm-modal").attr("data-modal-type")&&emn_fl_delete_generated_content(jQuery(this).closest("#emn-fl-confirm-modal").attr("data-element-type")):emn_fl_destroy_confirm_modal()}),jQuery(".emn-fl-white-overlay").off("click").on("click",function(){emn_fl_destroy_confirm_modal()}),jQuery("a.emn-fl-l-modal-opening").off("click").on("click",function(e){e.preventDefault(),jQuery('.emn-fl-l-modal[data-modal-object="'+jQuery(this).attr("data-modal-object")+'"]').addClass("emn-fl-show").attr("data-location-id",jQuery(this).parent().parent().parent().attr("id"))}),jQuery(".emn-fl-l-modal").off("click").on("click",function(e){jQuery(e.target).is(".emn-fl-l-modal-inner")||jQuery(e.target).is(".emn-fl-l-modal-inner *")||jQuery(".emn-fl-l-modal").removeClass("emn-fl-show")}),jQuery(".emn-fl-l-modal .emn-fl-button-confirm").off("click").on("click",function(){emn_fl_confirm_large_modal(jQuery(this).attr("data-modal-object"))}),jQuery(".emn-fl-l-modal .emn-fl-button-delete").off("click").on("click",function(){jQuery(".emn-fl-l-modal").removeClass("emn-fl-show")}),jQuery("#emn-fl-generate-key-points-button").off("click").on("click",function(e){e.preventDefault(),emn_fl_generate_key_points()})}function emn_fl_generate_images(){if(""==jQuery("#emn_fl_image_prompt").val())return emn_fl_show_alert("general",localized_strings.empty_image_prompt),!1;jQuery(".emn-fl-loading span").html(localized_strings.generating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_generate_images",key_type:"openai",variations:"false",image_url:"",prompt:jQuery("#emn_fl_image_prompt").val(),n:jQuery("#emn_fl_image_number").val(),size:jQuery("#emn_fl_image_size").val(),type:jQuery("#emn_fl_image_type").val(),style:jQuery("#emn_fl_image_style").val(),postNonce:emn_fl_urls.nonce},function(e){return images_html="",e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.data&&(jQuery(".emn-fl-save-all-images-in-media, .emn-fl-generated-image-container").remove(),images_html+="<button class='emn-fl-button emn-fl-save-all-images-in-media emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='save'></i>"+localized_strings.save_all_images+"</button>",jQuery(e.data).each(function(){image_url=(image_url=jQuery(this))[0].url,images_html+="<div class='emn-fl-generated-image-container emn-fl-grid-container emn-fl-grid-x emn-fl-grid-margin-x' data-image-url='"+image_url+"'>",images_html+="<div class='emn-fl-generated-image emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell' style='background-image: url("+image_url+")'>",images_html+="</div>",images_html+="<div class='emn-fl-generated-image-actions emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell'>",images_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title'><i data-feather='plus-square'></i>",images_html+=localized_strings.actions_title,images_html+="</h3><p class='emn-fl-dm-sans emn-fl-section-p'>",images_html+=localized_strings.images_actions_p,images_html+="</p>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='save'></i>"+localized_strings.save_image+"</button>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-set-featured-image emn-fl-dm-sans emn-fl-transitions-2s' data-featured='true'><i data-feather='save'></i>"+localized_strings.save_image_featured+"</button>",images_html+="<button class='emn-fl-button emn-fl-image-create-variations emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='layers'></i>"+localized_strings.image_create_variations+"</button>",images_html+="</div>",images_html+="</div>"}),jQuery(".emn-generated-images-container .emn-fl-empty-message").hide(100),jQuery(".emn-generated-images-container").append(images_html),feather.replace(),emn_fl_bind_events()))})}function emn_fl_save_image_in_media(e,t,n=!1,a=1,l=0){if(e.hasClass("emn-fl-button-saved"))return!1;image_url=[],featured_ids="",1==t?image_url.push(e.closest(".emn-fl-generated-image-container").attr("data-image-url")):"all"==t&&jQuery(".emn-fl-generated-image-container").each(function(){""!=jQuery(this).find(" .emn-fl-save-image-in-media:not(.emn-fl-set-featured-image)").attr("data-image-media-id")&&jQuery(this).find(" .emn-fl-save-image-in-media:not(.emn-fl-set-featured-image)").attr("data-image-media-id")||image_url.push(jQuery(this).attr("data-image-url"))}),n&&(jQuery("#emn-fl-confirm-modal").css("z-index","98"),jQuery('#emn-fl-confirm-modal[data-modal-type="set_featured"] .emn-fl-post-list-single input[type="checkbox"]').each(function(){jQuery(this).is(":checked")&&(featured_ids+=jQuery(this).attr("data-id")+",")})),jQuery(".emn-fl-loading span").html(localized_strings.saving),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_save_image_in_media",image_url:image_url,save:a,already_saved_attachment_id:l,prompt:jQuery("#emn_fl_image_prompt").val(),featured_ids:featured_ids,postNonce:emn_fl_urls.nonce},function(l){(l=jQuery.parseJSON(l)).success?(emn_fl_show_alert("success",l.success),1==t?1==a?n?(e.prev().addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved).attr("data-image-media-id",l.images_data[1].image_id),e.addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved_and_set).attr("data-image-media-id",l.images_data[1].image_id)):(e.addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved).attr("data-image-media-id",l.images_data[1].image_id),e.next().html("<i data-feather='save'></i>"+localized_strings.set_as_featured).attr("data-image-media-id",l.images_data[1].image_id)):e.addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved_and_set):"all"==t&&(jQuery(".emn-fl-save-image-in-media:not(.emn-fl-set-featured-image)").addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.saved),jQuery(".emn-fl-save-all-images-in-media").addClass("emn-fl-button-saved").html("<i data-feather='save'></i>"+localized_strings.all_saved),count_images=1,jQuery(".emn-fl-generated-image-container").each(function(){""!=(this_img=jQuery(this)).find(" .emn-fl-save-image-in-media").attr("data-image-media-id")&&this_img.find(" .emn-fl-save-image-in-media").attr("data-image-media-id")||(this_img.find(" .emn-fl-save-image-in-media").attr("data-image-media-id",l.images_data[count_images].image_id),count_images++)})),feather.replace(),emn_fl_bind_events(),jQuery("#emn-fl-confirm-modal").length&&emn_fl_destroy_confirm_modal()):(jQuery("#emn-fl-confirm-modal").length&&jQuery("#emn-fl-confirm-modal").css("z-index","99"),emn_fl_show_alert("warning",localized_strings.generic_error,6e3)),jQuery(".emn-fl-loading").removeClass("emn-fl-show")})}function emn_fl_create_image_variations(e){if(e.hasClass("emn-fl-button-saved"))return!1;image_url_o=e.closest(".emn-fl-generated-image-container").attr("data-image-url"),jQuery(".emn-fl-loading span").html(localized_strings.generating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_generate_images",key_type:"openai",variations:"true",prompt:"",image_url:image_url_o,n:jQuery("#emn_fl_image_number").val(),size:jQuery("#emn_fl_image_size").val(),type:jQuery("#emn_fl_image_type").val(),style:jQuery("#emn_fl_image_style").val(),postNonce:emn_fl_urls.nonce},function(e){images_html="",jQuery(".emn-fl-loading").removeClass("emn-fl-show");try{if((e=jQuery.parseJSON(e)).error)return emn_fl_show_alert("warning",e.error.message,6e3),!1;if(0==e||null==e)return emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1;e.data&&(jQuery(e.data).each(function(){image_url=(image_url=jQuery(this))[0].url,images_html+="<div class='emn-fl-generated-image-container emn-fl-single-image-variation emn-fl-grid-container emn-fl-grid-x emn-fl-grid-margin-x' data-image-url='"+image_url+"'>",images_html+="<div class='emn-fl-generated-image emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell' style='background-image: url("+image_url+")'>",images_html+="</div>",images_html+="<div class='emn-fl-generated-image-actions emn-fl-small-12 emn-fl-medium-12 emn-fl-large-6 emn-fl-cell'>",images_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title'><i data-feather='plus-square'></i>",images_html+=localized_strings.actions_title,images_html+="</h3><p class='emn-fl-dm-sans emn-fl-section-p'>",images_html+=localized_strings.images_actions_p,images_html+="</p>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='save'></i>"+localized_strings.save_image+"</button>",images_html+="<button class='emn-fl-button emn-fl-save-image-in-media emn-fl-set-featured-image emn-fl-dm-sans emn-fl-transitions-2s' data-featured='true'><i data-feather='save'></i>"+localized_strings.save_image_featured+"</button>",images_html+="<button class='emn-fl-button emn-fl-image-create-variations emn-fl-dm-sans emn-fl-transitions-2s'><i data-feather='layers'></i>"+localized_strings.image_create_variations+"</button>",images_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title emn-fl-medium-title-small'><i data-feather='refresh-cw'></i>",images_html+=localized_strings.variation_title,images_html+="</h3>",images_html+="<div class='emn-fl-image-variation-of' style='background-image: url("+image_url_o+");'></div>",images_html+="</div>",images_html+="</div>"}),jQuery(images_html).insertAfter('.emn-fl-generated-image-container[data-image-url="'+image_url_o+'"]'),jQuery('.emn-fl-generated-image-container[data-image-url="'+image_url_o+'"] button.emn-fl-image-create-variations').addClass("emn-fl-button-saved").html("<i data-feather='layers'></i>"+localized_strings.variations_created),feather.replace(),emn_fl_bind_events())}catch(e){return emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1}})}function emn_fl_send_chat_message(e){if(""==e)return emn_fl_show_alert("general",localized_strings.chat_no_message),!1;chat_history={},jQuery(".emn-fl-chat-content-container-inner .emn-fl-chat___message").length?(count_chat=0,jQuery(".emn-fl-chat-content-container-inner .emn-fl-chat___message").each(function(e){chat_history[e]={},chat_history[e].role=jQuery(this).attr("data-sender"),chat_history[e].content=jQuery(this).find(" .emn-fl-chat___message_text").text(),count_chat++}),chat_history[count_chat]={},chat_history[count_chat].role="user",chat_history[count_chat].content=e,first_chat_html='<div class="emn-fl-chat___element emn-fl-chat___message" data-sender="user" data-message-count="'+(count_chat+1)+'"><span class="emn-fl-chat-message___signature">'+localized_strings.you+'</span><div class="emn-fl-chat___message_text"><p>'+e+'</p></div><div class="emn-fl-chat___message_select"><input type="checkbox" class="emn-fl-checkbox emn-fl-chat-check-message" name="emn-fl-chat-check-message-'+(count_chat+1)+'" /></div></div>'):(chat_history[0]={},chat_history[0].role="system",chat_history[0].content=e,first_chat_html='<div class="emn-fl-chat___element emn-fl-chat___message" data-sender="system" data-message-count="1"><span class="emn-fl-chat-message___signature">'+localized_strings.you+'</span><div class="emn-fl-chat___message_text"><p>'+e+'</p></div><div class="emn-fl-chat___message_select"><input type="checkbox" class="emn-fl-checkbox emn-fl-chat-check-message" name="emn-fl-chat-check-message-1" /></div></div>'),chat_history=JSON.stringify(chat_history),jQuery(".emn-fl-loading span").html(localized_strings.sending),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_send_chat_message",key_type:"openai",chat_history:chat_history,postNonce:emn_fl_urls.nonce},function(e){return e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.choices&&(jQuery("#emn-fl-chat-prompt").val(""),""==jQuery("#emn-fl-chat-prompt").attr("data-hidden-placeholder")&&(jQuery("#emn-fl-chat-prompt").attr("data-hidden-placeholder",jQuery("#emn-fl-chat-prompt").attr("placeholder")),jQuery("#emn-fl-chat-prompt").attr("placeholder",localized_strings.write_your_answer_here)),jQuery(".emn-fl-chat-content-container-inner").append(first_chat_html),ai_message=e.choices[0].message.content.trim().replace(/\r?\n/g,"<br/>"),chat_html='<div class="emn-fl-chat___element emn-fl-chat___message" data-sender="'+e.choices[0].message.role+'" data-message-count="'+(jQuery(".emn-fl-chat___message").length+1)+'"><span class="emn-fl-chat-message___signature">'+localized_strings.ai+'</span><div class="emn-fl-chat___message_text"><p>'+ai_message+'</p></div><div class="emn-fl-chat___message_select"><input type="checkbox" class="emn-fl-checkbox emn-fl-chat-check-message" name="emn-fl-chat-check-message-'+(jQuery(".emn-fl-chat___message").length+1)+'" /></div></div>',jQuery(".emn-fl-chat-content-container-inner").append(chat_html),"0"==jQuery(".emn-fl-new-chat-container").attr("data-visibility")&&jQuery(".emn-fl-new-chat-container").attr("data-visibility","1"),"0"==jQuery(".emn-fl-chat___select_all").attr("data-visibility")&&jQuery(".emn-fl-chat___select_all").attr("data-visibility","1"),jQuery("#emn-fl-chat-add-img").length&&""!==jQuery("#emn-fl-chat-add-img").attr("data-image-url")&&(jQuery("#emn-fl-chat-add-img").attr("data-image-url","").removeClass("emn-fl-hidden"),jQuery("#emn-fl-chat-remove-img").addClass("emn-fl-hidden")),jQuery(".emn-fl-chat-content-container-inner").animate({scrollTop:jQuery('.emn-fl-chat___message[data-message-count="'+jQuery(".emn-fl-chat___message").length+'"]').offset().top},1e3),emn_fl_checkboxes(),emn_fl_bind_events()))})}function emn_fl_clear_chat(){jQuery(".emn-fl-chat-content-container-inner .emn-fl-chat___message").remove(),jQuery(".emn-fl-new-chat-container").attr("data-visibility","0"),jQuery("#emn-fl-chat-prompt").attr("placeholder",jQuery("#emn-fl-chat-prompt").attr("data-hidden-placeholder")),jQuery(".emn-fl-chat___select_all").text(localized_strings.select_all_answers).attr({"data-action":"select","data-visibility":"0"})}function emn_fl_chat_text_to_copy(){jQuery("#emn-fl-chat-content-hidden").empty(),jQuery(".emn-fl-chat___message").each(function(){jQuery(this).find(' .emn-fl-chat___message_select input[type="checkbox"]').is(":checked")&&jQuery("#emn-fl-chat-content-hidden").append(jQuery(this).find(" .emn-fl-chat___message_text").html())})}function emn_fl_send_audio_file(){jQuery(".emn-fl-loading span").html(localized_strings.sending_file),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_get_transcription",key_type:"openai",file_url:jQuery("#emn-fl-audio-attachment-id").attr("data-file-url"),postNonce:emn_fl_urls.nonce},function(e){return e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.text&&jQuery(".emn-fl-transition-container .emn-fl-chat-content-container-inner p").html(e.text))})}function emn_fl_load_post_list(e,t,n=0,a=""){jQuery("#emn-fl-confirm-modal").css("z-index","98"),selected="",t.find(" .emn-fl-post-list-single").each(function(){jQuery(this).find(' input[type="checkbox"]').is(":checked")&&(selected+=jQuery(this).find(' input[type="checkbox"]').attr("data-id")+",")}),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_load_post_list",post_type:e,offset:n,search:a,selected:selected,postNonce:emn_fl_urls.nonce},function(l){(""!==a&&0!==n||""==a&&0==n)&&t.find(" .emn-fl-post-list-load-more").remove(),0==n?(t.find(" .emn-fl-post-list-single").each(function(){jQuery(this).find(' input[type="checkbox"]').is(":checked")||jQuery(this).remove()}),t.find(" .emn-fl-post-list-load-more").remove(),t.find(" .emn-fl-post-list-container").append(l).show(100)):(t.find(" .emn-fl-post-list-load-more").remove(),t.append(l)),jQuery('.emn-fl-button-post-type-modal[data-post-type="'+e+'"]').addClass("emn-fl-button-post-type-modal-loaded"),emn_fl_checkboxes(),jQuery("#emn-fl-confirm-modal").css("z-index","99"),emn_fl_bind_events()})}function emn_fl_create_wp_content(){return""==jQuery(".emn-fl-new-content-title").val()?(emn_fl_show_alert("general",localized_strings.empty_title,3e3),!1):""==jQuery("#wp-emn-fl-new-content-textarea-wrap #emn-fl-new-content-textarea").val()?(emn_fl_show_alert("general",localized_strings.empty_content,3e3),!1):(jQuery("#emn-fl-confirm-modal").css("z-index","98"),void jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_create_wp_content",post_type:jQuery("select.emn-fl-new-content-select-post-type").val(),title:jQuery(".emn-fl-new-content-title").val(),content:wp.editor.getContent("emn-fl-new-content-textarea"),featured_image:"",postNonce:emn_fl_urls.nonce},function(e){"0"==(e=jQuery.parseJSON(e)).error?(emn_fl_show_alert("success",e.message,3e3),jQuery("#emn-fl-confirm-modal .emn-fl-grid-container").html("<div class='emn-fl-cell emn-fl-small-12'><a class='emn-fl-go-to-new-content emn-fl-transitions-2s' href='"+e.edit_link+"' target='_blank'>"+localized_strings.go_to_new_content+"<i data-feather='arrow-right'></i></a></div>")):"1"==e.error&&emn_fl_show_alert("warning",e.message,3e3),jQuery("#emn-fl-confirm-modal").css("z-index","99"),feather.replace()}))}function emn_fl_delete_generated_content(e){emn_fl_destroy_confirm_modal(),jQuery(".emn-fl-loading span").html(localized_strings.deleting),jQuery(".emn-fl-loading").addClass("emn-fl-show"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_delete_generated_content",content_type:e,postNonce:emn_fl_urls.nonce},function(e){"success"==(e=jQuery.parseJSON(e)).type&&emn_fl_show_alert("success",e.message,3e3),"notfound"==e.type&&emn_fl_show_alert("general",e.message,3e3),jQuery(".emn-fl-loading").removeClass("emn-fl-show")})}function emn_fl_generate_key_points(){if(final_content="",jQuery("body").hasClass("block-editor-page")?(post_content=wp.data.select("core/block-editor").getBlocks())[0]&&jQuery(post_content).each(function(){switch((this_block_content=jQuery(this))[0].name){case"core/paragraph":case"core/freeform":case"core/heading":case"core/list":final_content+=jQuery("<div/>").html(this_block_content[0].originalContent).text()+" "}}):(post_content=tinymce.activeEditor.getContent(),final_content+=jQuery("<div/>").html(post_content).text()),""==(final_content=emn_fl_clean_content(final_content)))return emn_fl_show_alert("general",localized_strings.post_no_content),!1;jQuery(".emn-fl-loading span").html(localized_strings.generating),jQuery(".emn-fl-loading").addClass("emn-fl-show"),guessLanguage.name(final_content,function(e){content_language=e}),ai_message="","english"!==content_language.toLowerCase()&&""!==content_language.toLowerCase()&&void 0!==content_language.toLowerCase()&&(ai_message+="writing in "+content_language+", "),ai_message+="summarize the following text in "+jQuery("#emn-fl-generate-key-points-button").attr("data-key-points-n")+' key points, each one starting with "∙": '+final_content,(chat_history={})[0]={},chat_history[0].role="system",chat_history[0].content=ai_message,chat_history=JSON.stringify(chat_history),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_send_chat_message",key_type:"openai",chat_history:chat_history,postNonce:emn_fl_urls.nonce},function(e){return e=jQuery.parseJSON(e),jQuery(".emn-fl-loading").removeClass("emn-fl-show"),e.error?(emn_fl_show_alert("warning",e.error.message,6e3),!1):0==e||null==e?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(e.choices&&(ai_message=e.choices[0].message.content.trim().replace(/\r?\n/g,"<br/>"),quill.pasteHTML(ai_message)))})}function emn_fl_generate_product_description(e){ai_message="","english"!==e.attr("data-description-language")&&(ai_message+="writing in "+e.attr("data-description-language")+", "),ai_message+="write a product description for a "+e.find(" input#emn-fl-product-description_product_name").val()+".",""!==e.find(" input#emn-fl-product-description_product_brand").val()&&(ai_message+=" The brand of the product is: "+e.find(" input#emn-fl-product-description_product_brand").val()+"."),""!==e.find(" input#emn-fl-product-description_product_features").val()&&(ai_message+=" The main features are: "+e.find(" input#emn-fl-product-description_product_features").val()+"."),""!==e.find(" input#emn-fl-product-description_positioning").val()&&(ai_message+=" The key tone of the description must be: "+e.find(" input#emn-fl-product-description_positioning").val()+"."),""!==e.find(" input#emn-fl-product-description_ideal_buyer").val()&&(ai_message+=" Consider the following as the ideal buyer for this product: "+e.find(" input#emn-fl-product-description_ideal_buyer").val()+"."),""!==e.find(" input#emn-fl-product-description_offer").val()&&(ai_message+=" Only in the end, write something considering this feature of the product: "+e.find(" select#emn-fl-product-description_offer").val()+"."),ai_message+='Highlight the keywords using the "strong" HTML tag.',(chat_history={})[0]={},chat_history[0].role="system",chat_history[0].content=ai_message,chat_history=JSON.stringify(chat_history),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_send_chat_message",key_type:"openai",chat_history:chat_history,postNonce:emn_fl_urls.nonce},function(t){return t=jQuery.parseJSON(t),e.find(" .emn-fl-loading").removeClass("emn-fl-show"),t.error?(emn_fl_show_alert("warning",t.error.message,6e3),!1):0==t||null==t?(emn_fl_show_alert("warning",localized_strings.generic_error,6e3),!1):void(t.choices&&(ai_message=t.choices[0].message.content.trim().replace(/\r?\n/g,"<br/>"),e.attr("data-location-id").indexOf("content")>-1?target_dest="content":e.attr("data-location-id").indexOf("excerpt")>-1&&(target_dest="excerpt"),tinymce.get(target_dest).setContent(ai_message),e.removeClass("emn-fl-show"),emn_fl_show_alert("success",localized_strings.generated_description)))})}function emn_fl_confirm_large_modal(e){if(proceed_error=!1,(this_el=jQuery('.emn-fl-l-modal[data-modal-object="'+e+'"]')).find(" .emn-fl-required-field").length&&this_el.find(" .emn-fl-required-field").each(function(){""==jQuery(this).val()&&(emn_fl_show_alert("general",localized_strings.required_fields_missing),proceed_error=!0)}),!proceed_error)switch(this_el.find(" .emn-fl-loading").length&&(this_el.find(" .emn-fl-loading span").html(localized_strings.generating),this_el.find(" .emn-fl-loading").addClass("emn-fl-show")),e){case"product-description-modal":emn_fl_generate_product_description(this_el)}}function emn_fl_checkboxes(){jQuery('input[type="checkbox"].emn-fl-checkbox').each(function(){jQuery(this).find(" + .emn-fl-checkbox-control").length||jQuery(this).after('<span class="emn-fl-checkbox-control"></span>')})}function emn_fl_show_alert(e,t,n=3e3){jQuery(".emn-fl-alert-message").html(t),jQuery(".emn-fl-alert").addClass("emn-fl-alert-active emn-fl-alert-"+e),emn_fl_hide_alert(n)}function emn_fl_hide_alert(e=3600){clearTimeout(alert_timeout),alert_timeout=setTimeout(function(){jQuery(".emn-fl-alert").hasClass("emn-fl-alert-active")&&(jQuery(".emn-fl-alert").removeClass("emn-fl-alert-active"),jQuery(".emn-fl-alert").removeClass("emn-fl-alert-success emn-fl-alert-warning emn-fl-alert-neutral"))},e)}function emn_fl_check_initial_data_large_modal(){jQuery(".emn-fl-l-modal").each(function(){switch(jQuery(this).attr("data-modal-object")){case"product-description-modal":""!==jQuery('#titlewrap input[name="post_title"]').val()&&jQuery(this).find(" input#emn-fl-product-description_product_name").val(jQuery('#titlewrap input[name="post_title"]').val())}})}function emn_fl_confirm_modal(e,t,n="attachment",a=""){switch(custom_style="",modal_html="<div class='emn-fl-white-overlay emn-fl-transitions-2s'></div>",modal_html+="<div id='emn-fl-confirm-modal' class='emn-fl-transitions-2s' data-modal-type='"+t+"' data-element-type='"+n+"' data-image-url='"+a+"'>",""!==e&&("deletion"==t&&(custom_style='style="color: rgb(247, 4, 4);"'),modal_html+="<i data-feather='"+e+"' "+custom_style+"></i>"),t){case"deletion":switch(modal_title=localized_strings.modal_title_generic_confirm,n){case"attachment":modal_text=localized_strings.modal_text_confirm_image_deletion;break;case"post":modal_text=localized_strings.modal_text_confirm_post_deletion}break;case"set_featured":modal_title=localized_strings.modal_title_set_featured_image,modal_text=localized_strings.modal_text_set_featured_image;break;case"chat_new_content":case"transcription_new_content":modal_title=localized_strings.modal_title_new_content,modal_text=localized_strings.modal_text_new_content}switch(""!==modal_title&&(modal_html+="<h3 class='emn-fl-dm-sans emn-fl-medium-title emn-fl-text-center'>"+modal_title+"</h3>"),""!==modal_text&&(modal_html+="<p class='emn-fl-dm-sans emn-fl-section-p emn-fl-text-center'>"+modal_text+"</p>"),modal_html+="<div class='emn-fl-grid-container emn-fl-grid-x'>",t){case"deletion":modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-1-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_generic_yes+"</button></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-delete emn-fl-button-2-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_generic_no+"</button></div>";break;case"set_featured":modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='post'>"+localized_strings.posts+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='post' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='page'>"+localized_strings.pages+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='page' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>";break;case"chat_new_content":case"transcription_new_content":modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-medium-6 emn-fl-settings emn-fl-form-single-input'><label for='emn-fl-new-content-select-post-type' class='emn-fl-dm-sans'>"+localized_strings.post_type+"</label><select class='emn-fl-select emn-fl-new-content-select-post-type'><option value='post'>"+localized_strings.post+"</option><option value='page'>"+localized_strings.page+"</option><option value='product'>"+localized_strings.product+"</option><option value='portfolio'>"+localized_strings.portfolio+"</option></select></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-medium-6 emn-fl-settings emn-fl-form-single-input'><label for='emn-fl-new-content-title' class='emn-fl-dm-sans'>"+localized_strings.title+"</label><input type='text' class='emn-fl-new-content-title emn-fl-input' placeholder='"+localized_strings.title_placeholder+"' /></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-settings emn-fl-form-single-input'><label for='emn-fl-new-content-textarea' class='emn-fl-dm-sans'>"+localized_strings.content+"</label><textarea id='emn-fl-new-content-textarea'></textarea></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-modal-separator'></div><div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-go-create-content emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_create_content+"</button></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-delete emn-fl-button-2-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_back+"</button></div>"}switch(modal_html+="</div>",modal_html+="</div>",jQuery(".emn-fl-wrap").append(modal_html),feather.replace(),jQuery(".emn-fl-white-overlay").css("display","block"),jQuery("#emn-fl-confirm-modal").animate({transform:"translate(-50%, -50%)"},500),t){case"set_featured":jQuery("#emn-fl-confirm-modal").css("z-index","98"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_check_post_types",postNonce:emn_fl_urls.nonce},function(e){modal_html="",void 0!==(e=jQuery.parseJSON(e)).product&&(modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='product'>"+localized_strings.products+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='product' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>"),void 0!==e.portfolio&&(modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-post-type-modal emn-fl-transitions-2s emn-fl-dm-sans' data-post-type='portfolio'>"+localized_strings.portfolio+"</button><div class='emn-fl-post-list-container'><div class='emn-fl-post-list-search'><input type='text' class='emn-fl-input' data-post-type='portfolio' placeholder='"+localized_strings.type_to_search+"' /></div></div></div>"),modal_html+="<div class='emn-fl-cell emn-fl-small-12 emn-fl-modal-separator'></div><div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-set-as-featured-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_set_featured+"</button></div>",modal_html+="<div class='emn-fl-cell emn-fl-small-6 emn-fl-text-center'><button class='emn-fl-button emn-fl-button-delete emn-fl-button-2-modal emn-fl-transitions-2s emn-fl-dm-sans'>"+localized_strings.modal_go_back+"</button></div>",jQuery("#emn-fl-confirm-modal .emn-fl-grid-container").append(modal_html),jQuery("#emn-fl-confirm-modal").css("z-index","99")});break;case"chat_new_content":case"transcription_new_content":jQuery("#emn-fl-confirm-modal").css("z-index","98"),jQuery.post(emn_fl_urls.ajaxurl,{action:"emn_fl_check_post_types",postNonce:emn_fl_urls.nonce},function(e){void 0!==(e=jQuery.parseJSON(e)).product&&jQuery('.emn-fl-new-content-select-post-type option[value="product"]').show(),void 0!==e.portfolio&&jQuery('.emn-fl-new-content-select-post-type option[value="portfolio"]').show(),jQuery("#emn-fl-confirm-modal").css("z-index","99")}),wp.editor.remove("emn-fl-new-content-textarea"),jQuery("#emn-fl-chat-content-hidden").length&&jQuery("#emn-fl-new-content-textarea").val(jQuery("#emn-fl-chat-content-hidden").html()),jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").length&&jQuery("#emn-fl-new-content-textarea").val(jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").html()),wp.editor.initialize("emn-fl-new-content-textarea",{tinymce:{wpautop:!0,height:320,plugins:"charmap colorpicker compat3x directionality fullscreen hr image lists media paste tabfocus textcolor wordpress wpautoresize wpdialogs wpeditimage wpemoji wpgallery wplink wptextpattern wpview",toolbar1:"bold italic underline strikethrough | bullist numlist | blockquote hr wp_more | alignleft aligncenter alignright | link unlink | fullscreen | wp_adv",toolbar2:"formatselect alignjustify forecolor | pastetext removeformat charmap | outdent indent | undo redo | wp_help"},quicktags:!0,mediaButtons:!0})}emn_fl_bind_events()}function emn_fl_destroy_confirm_modal(){jQuery(".emn-fl-white-overlay, #emn-fl-confirm-modal").remove()}function emn_fl_clean_content(e){return e=(e=e.split("[vc_row]").join("").split("[vc_column]").join("").split("[vc_column_text]").join("").split("[vc_single_image]").join("")).split("[/vc_row]").join("").split("[/vc_column]").join("").split("[/vc_column_text]").join("").split("[/vc_single_image]").join("")}jQuery(document).ready(function(){if(emn_fl_bind_events(),jQuery('a[href="admin.php?page=flusso-ai-generated-content"]:not(.wp-has-submenu)').length&&jQuery('a[href="admin.php?page=flusso-ai-generated-content"]:not(.wp-has-submenu)').text(localized_strings.overview),emn_fl_checkboxes(),jQuery("select#emn_fl_content_features_product_description_language").length&&"english"!==jQuery("select#emn_fl_content_features_product_description_language").attr("data-selected")&&jQuery("select#emn_fl_content_features_product_description_language").val(jQuery("select#emn_fl_content_features_product_description_language").attr("data-selected")),jQuery(".emn-fl-l-modal").length&&emn_fl_check_initial_data_large_modal(),jQuery(".emn-fl-color-picker").length&&jQuery(".emn-fl-color-picker").wpColorPicker(),jQuery("#emn_fl_meta_post_options").length&&jQuery('<img src="'+script_urls.plugin_url+'/assets/images/symbol.png" class="emn-fl-meta-logo" />').insertBefore("#emn_fl_meta_post_options h2.hndle"),jQuery("#emn-fl-key-points-editor").length&&((quill=new Quill("#emn-fl-key-points-editor",{theme:"snow",placeholder:localized_strings.generate_key_points_placeholder})).on("text-change",function(e,t,n){jQuery("input#emn_fl_key_points").val(quill.root.innerHTML)}),""!==jQuery("input#emn_fl_key_points").val()&&quill.pasteHTML(jQuery("input#emn_fl_key_points").val())),feather.replace(),jQuery(".emn-fl-copy-content").length){var e=new ClipboardJS(".emn-fl-copy-content");e.on("success",function(e){emn_fl_show_alert("success",localized_strings.copy_success)}),e.on("error",function(e){jQuery("#emn-fl-chat-content-hidden").length&&(""==jQuery("#emn-fl-chat-content-hidden").html()?emn_fl_show_alert("general",localized_strings.copy_empty):emn_fl_show_alert("warning",localized_strings.copy_error)),jQuery("#emn-fl-transcription-content").length&&(""==jQuery("#emn-fl-transcription-content .emn-fl-transcription-p").html()?emn_fl_show_alert("general",localized_strings.copy_empty):emn_fl_show_alert("warning",localized_strings.copy_error))})}}); -
flusso-ai-generated-content/trunk/inc/functions.php
r2907116 r2907940 598 598 </div> 599 599 </div> 600 <div class="emn-fl-form-field"> 601 <input type="text" id="emn-fl-chat-prompt" name="emn-fl-chat-prompt" placeholder="<?php echo esc_attr( $random_placeholder );?>" data-hidden-placeholder /> 600 <div class="emn-fl-form-field emn-fl-form-field-chat-prompt-container"> 601 <?php $prompt_class = ''; 602 if( get_option( 'emn_fl_openai_platform_settings_gpt_4' ) == 'on' ){ 603 $prompt_class = 'emn-fl-can-add-img';?> 604 <i data-feather="image" id="emn-fl-chat-add-img"></i> 605 <i data-feather="x" id="emn-fl-chat-remove-img" class="emn-fl-hidden"></i> 606 <?php }?> 607 <input type="text" id="emn-fl-chat-prompt" name="emn-fl-chat-prompt" class="<?php echo esc_attr( $prompt_class );?>" placeholder="<?php echo esc_attr( $random_placeholder );?>" data-hidden-placeholder /> 602 608 </div> 603 609 <?php if( $openai_key !== '' && $openai_key ){ ?> … … 848 854 849 855 function emn_fl_audio_upload(){ 850 // Add the script to make the audiofile selection work ?>856 // Add the script to make the file selection work ?> 851 857 <script> 852 858 jQuery( document ).ready( function( $ ){ … … 854 860 var emn_attachment; 855 861 856 function emn_fl_media_upload( button_class ){862 function emn_fl_media_upload( button_class, file_types, page ){ 857 863 var _custom_media = true, 858 864 _orig_send_attachment = wp.media.editor.send.attachment; … … 868 874 }, 869 875 library: { 870 type: [ 'video', 'audio' ]876 type: file_types 871 877 }, 872 878 }).on( 'select', function(){ 873 emn_attachment = emn_media_editor.state().get('selection').first().toJSON(); 874 $( '#emn-fl-audio-attachment-id' ).val( emn_attachment.id ); 875 $( '#emn-fl-audio-attachment-id' ).attr( 'data-file-url', emn_attachment.url ); 876 $( '#emn-fl-audio-preview-wrapper .emn-fl-selected-filename' ).html( '<i data-feather="music"></i>' + emn_attachment.title ); 877 feather.replace(); 879 emn_attachment = emn_media_editor.state().get( 'selection' ).first().toJSON(); 880 switch( page ){ 881 case 'speech-to-text': 882 $( '#emn-fl-audio-attachment-id' ).val( emn_attachment.id ); 883 $( '#emn-fl-audio-attachment-id' ).attr( 'data-file-url', emn_attachment.url ); 884 $( '#emn-fl-audio-preview-wrapper .emn-fl-selected-filename' ).html( '<i data-feather="music"></i>' + emn_attachment.title ); 885 feather.replace(); 886 break; 887 case 'chat': 888 $( '#emn-fl-chat-add-img' ).attr( 'data-image-url', emn_attachment.url ).addClass( 'emn-fl-hidden' ); 889 $( '#emn-fl-chat-remove-img' ).removeClass( 'emn-fl-hidden' ); 890 emn_fl_show_alert( 'success', '<?php echo esc_html__( "Your image has been added to the message!", "flusso-ai-generated-content" );?>' ); 891 $( '#emn-fl-chat-remove-img' ).off( 'click' ).on( 'click', function(){ 892 $( '#emn-fl-chat-add-img' ).attr( 'data-image-url', '' ).removeClass( 'emn-fl-hidden' ); 893 $( '#emn-fl-chat-remove-img' ).addClass( 'emn-fl-hidden' ); 894 emn_fl_show_alert( 'general', '<?php echo esc_html__( "Your image has been removed from the message.", "flusso-ai-generated-content" );?>' ); 895 }) 896 break; 897 } 878 898 }); 879 899 emn_media_editor.open( button ); … … 882 902 } 883 903 904 // Bind events 905 if( $( '#emn-fl-chat-add-img' ).length ){ 906 emn_fl_media_upload( '#emn-fl-chat-add-img', [ 'image' ], 'chat' ); 907 } 908 884 909 if( $( '#emn-fl-audio-upload-button' ).length ){ 885 emn_fl_media_upload( '#emn-fl-audio-upload-button' );910 emn_fl_media_upload( '#emn-fl-audio-upload-button', [ 'video', 'audio' ], 'speech-to-text' ); 886 911 } 887 912 }); -
flusso-ai-generated-content/trunk/languages/flusso-ai-generated-content-it_IT.po
r2907116 r2907940 2 2 msgstr "" 3 3 "Project-Id-Version: flusso-ai-generated-content\n" 4 "POT-Creation-Date: 2023-05-0 2 17:35+0200\n"5 "PO-Revision-Date: 2023-05-0 2 17:35+0200\n"4 "POT-Creation-Date: 2023-05-04 12:43+0200\n" 5 "PO-Revision-Date: 2023-05-04 12:43+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 76 76 msgstr "Flusso AI / Funzionalità dei Contenuti" 77 77 78 #: inc/engine/core.php:579 inc/functions.php:68 278 #: inc/engine/core.php:579 inc/functions.php:688 79 79 msgid "Product Description" 80 80 msgstr "Descrizione Prodotto" … … 125 125 msgstr "Il tono che vuoi usare nella descrizione." 126 126 127 #: inc/engine/core.php:611 inc/engine/core.php:634 inc/functions.php:8 67127 #: inc/engine/core.php:611 inc/engine/core.php:634 inc/functions.php:873 128 128 msgid "Select" 129 129 msgstr "Seleziona" … … 225 225 msgstr "Flusso AI: Funzionalità dei Contenuti" 226 226 227 #: inc/functions.php:46 inc/functions.php:6 55227 #: inc/functions.php:46 inc/functions.php:661 228 228 msgid "Content Features" 229 229 msgstr "Funzionalità dei Contenuti" … … 233 233 msgstr "Flusso AI: Trascrizione da Voce a Testo" 234 234 235 #: inc/functions.php:55 inc/functions.php:432 inc/functions.php:71 3235 #: inc/functions.php:55 inc/functions.php:432 inc/functions.php:719 236 236 msgid "Speech to Text" 237 237 msgstr "Da Voce a Testo" … … 242 242 243 243 #: inc/functions.php:64 inc/functions.php:450 inc/functions.php:522 244 #: inc/functions.php:78 1244 #: inc/functions.php:787 245 245 msgid "Settings" 246 246 msgstr "Impostazioni" … … 366 366 msgstr "Scegli dove vuoi mostrare i Punti Chiave." 367 367 368 #: inc/functions.php:333 inc/functions.php:438 inc/functions.php:6 66368 #: inc/functions.php:333 inc/functions.php:438 inc/functions.php:672 369 369 #: inc/meta-boxes.php:61 370 370 msgid "Key Points" … … 400 400 msgstr "Flusso AI / Contenuti e Strutture IA per WordPress" 401 401 402 #: inc/functions.php:409 inc/functions.php:10 06402 #: inc/functions.php:409 inc/functions.php:1031 403 403 msgid "Overview" 404 404 msgstr "Pagina iniziale" … … 556 556 msgstr "Dona" 557 557 558 #: inc/functions.php:496 inc/functions.php:583 inc/functions.php:65 2559 #: inc/functions.php:71 0558 #: inc/functions.php:496 inc/functions.php:583 inc/functions.php:658 559 #: inc/functions.php:716 560 560 msgid "Flusso AI / Content Generation" 561 561 msgstr "Flusso AI / Generazione di Contenuti" … … 581 581 "cosa puoi fare con le potenzialità dell’Intelligenza Artificiale." 582 582 583 #: inc/functions.php:509 inc/functions.php: 975583 #: inc/functions.php:509 inc/functions.php:1000 584 584 msgid "Create" 585 585 msgstr "Crea" 586 586 587 #: inc/functions.php:511 inc/functions.php:6 15 inc/functions.php:733587 #: inc/functions.php:511 inc/functions.php:621 inc/functions.php:739 588 588 msgid "" 589 589 "It appears you haven't set an API Key yet. Go to the Settings page for more " … … 701 701 msgstr "Inizio della chat" 702 702 703 #: inc/functions.php:597 inc/functions.php: 987703 #: inc/functions.php:597 inc/functions.php:1012 704 704 msgid "Select all answers" 705 705 msgstr "Seleziona tutte le risposte" 706 706 707 #: inc/functions.php:6 06 inc/functions.php:729707 #: inc/functions.php:612 inc/functions.php:735 708 708 msgid "Send" 709 709 msgstr "Invia" 710 710 711 #: inc/functions.php:6 07711 #: inc/functions.php:613 712 712 msgid "or hit enter" 713 713 msgstr "o premi invio" 714 714 715 #: inc/functions.php:61 0715 #: inc/functions.php:616 716 716 msgid "New chat" 717 717 msgstr "Nuova chat" 718 718 719 #: inc/functions.php:61 1719 #: inc/functions.php:617 720 720 msgid "clear the screen" 721 721 msgstr "svuota la schermata" 722 722 723 #: inc/functions.php:62 2 inc/functions.php:748723 #: inc/functions.php:628 inc/functions.php:754 724 724 msgid "Save content" 725 725 msgstr "Salva contenuto" 726 726 727 #: inc/functions.php:62 3727 #: inc/functions.php:629 728 728 msgid "Once you have generated some text, you can do several things with it." 729 729 msgstr "Generato del testo, puoi farci un po’ di cose diverse." 730 730 731 #: inc/functions.php:6 26 inc/functions.php:752731 #: inc/functions.php:632 inc/functions.php:758 732 732 msgid "Copy content" 733 733 msgstr "Copia contenuto" 734 734 735 #: inc/functions.php:6 27735 #: inc/functions.php:633 736 736 msgid "" 737 737 "this will just copy the selected content, so you can paste it wherever you " … … 741 741 "voglia" 742 742 743 #: inc/functions.php:63 0 inc/functions.php:756743 #: inc/functions.php:636 inc/functions.php:762 744 744 msgid "New post" 745 745 msgstr "Nuovo post" 746 746 747 #: inc/functions.php:63 1 inc/functions.php:757747 #: inc/functions.php:637 inc/functions.php:763 748 748 msgid "easily create a new post, page or product using your generated content" 749 749 msgstr "" … … 751 751 "generato" 752 752 753 #: inc/functions.php:6 57753 #: inc/functions.php:663 754 754 msgid "Set some options regarding your WordPress Content." 755 755 msgstr "Alcune opzioni riguardanti il Contenuto WordPress." 756 756 757 #: inc/functions.php:66 3 inc/functions.php:965757 #: inc/functions.php:669 inc/functions.php:990 758 758 msgid "Posts" 759 759 msgstr "Post" 760 760 761 #: inc/functions.php:6 64761 #: inc/functions.php:670 762 762 msgid "Settings and options for your posts." 763 763 msgstr "Impostazioni e opzioni per i tuoi post." 764 764 765 #: inc/functions.php:6 67765 #: inc/functions.php:673 766 766 msgid "" 767 767 "For lazy readers, or summary-lovers. With this feature, you can use AI to " … … 773 773 "prima o dopo il contenuto." 774 774 775 #: inc/functions.php:67 1775 #: inc/functions.php:677 776 776 msgid "" 777 777 "Note: this feature may not work is your post content is too long. OpenAI's " … … 781 781 "post è troppo lungo. Si tratta di limitazioni delle API di OpenAI." 782 782 783 #: inc/functions.php:6 79783 #: inc/functions.php:685 784 784 msgid "WooCommerce Products" 785 785 msgstr "Prodotti WooCommerce" 786 786 787 #: inc/functions.php:68 0787 #: inc/functions.php:686 788 788 msgid "Settings and options for your WooCommerce Products." 789 789 msgstr "Impostazioni e opzioni per i tuoi Prodotti WooCommerce." 790 790 791 #: inc/functions.php:68 3791 #: inc/functions.php:689 792 792 msgid "" 793 793 "You can use Artificial Intelligence to write your WooCommerce product " … … 797 797 "prodotti WooCommerce." 798 798 799 #: inc/functions.php:7 15799 #: inc/functions.php:721 800 800 msgid "Upload a file and receive a text transcription." 801 801 msgstr "Carica un file e ricevi una trascrizione testuale." 802 802 803 #: inc/functions.php:7 19803 #: inc/functions.php:725 804 804 msgid "File upload" 805 805 msgstr "Upload file" 806 806 807 #: inc/functions.php:72 0807 #: inc/functions.php:726 808 808 msgid "" 809 809 "File uploads are currently limited to 25 MB. Audio must be in English. The " … … 814 814 "inglese. I file supportati sono: mp3, mp4, mpeg, mega, m4a, way, webm." 815 815 816 #: inc/functions.php:72 2816 #: inc/functions.php:728 817 817 msgid "No file selected" 818 818 msgstr "Nessun file selezionato" 819 819 820 #: inc/functions.php:7 24820 #: inc/functions.php:730 821 821 msgid "Upload a file" 822 822 msgstr "Carica un file" 823 823 824 #: inc/functions.php:7 37824 #: inc/functions.php:743 825 825 msgid "Transcription" 826 826 msgstr "Trascrizione" 827 827 828 #: inc/functions.php:7 38828 #: inc/functions.php:744 829 829 msgid "The generated transcription." 830 830 msgstr "La trascrizione generata." 831 831 832 #: inc/functions.php:7 49832 #: inc/functions.php:755 833 833 msgid "Once you have your transcription, you can do several things with it." 834 834 msgstr "Ottenuta la trascrizione, puoi farci un po’ di cose diverse." 835 835 836 #: inc/functions.php:75 3836 #: inc/functions.php:759 837 837 msgid "" 838 838 "this will just copy the transcription, so you can paste it wherever you feel" 839 839 msgstr "questo copierà la trascrizione, e potrai incollarla ovunque tu voglia" 840 840 841 #: inc/functions.php:7 78841 #: inc/functions.php:784 842 842 msgid "Flusso AI / Settings" 843 843 msgstr "Flusso AI / Impostazioni" 844 844 845 #: inc/functions.php:78 3845 #: inc/functions.php:789 846 846 msgid "Here you can set options, settings and credentials for the plugin." 847 847 msgstr "Opzioni, impostazioni e credenziali per il plugin." 848 848 849 #: inc/functions.php:7 89849 #: inc/functions.php:795 850 850 msgid "OpenAI Platform Settings" 851 851 msgstr "Impostazioni Piattaforma OpenAI" 852 852 853 #: inc/functions.php:79 0853 #: inc/functions.php:796 854 854 msgid "Settings for the OpenAI Platform." 855 855 msgstr "Impostazioni per la Piattaforma OpenAI." 856 856 857 #: inc/functions.php: 799857 #: inc/functions.php:805 858 858 msgid "OpenAI Credentials" 859 859 msgstr "Credenziali OpenAI" 860 860 861 #: inc/functions.php:80 0861 #: inc/functions.php:806 862 862 msgid "Set your OpenAI Secret Key and Organization ID." 863 863 msgstr "Imposta la tua Chiave Segreta OpenAI e l’ID dell’Organizzazione." 864 864 865 #: inc/functions.php:8 25865 #: inc/functions.php:831 866 866 msgid "Flusso AI / Delete Content" 867 867 msgstr "Flusso AI / Cancella Contenuto" 868 868 869 #: inc/functions.php:8 28869 #: inc/functions.php:834 870 870 msgid "Delete Generated Content" 871 871 msgstr "Cancella Contenuto Generato" 872 872 873 #: inc/functions.php:83 0873 #: inc/functions.php:836 874 874 msgid "" 875 875 "From this page you can easily delete the content you generated with Flusso " … … 879 879 "con il plugin Flusso AI." 880 880 881 #: inc/functions.php:8 35881 #: inc/functions.php:841 882 882 msgid "Delete saved images" 883 883 msgstr "Cancella immagini salvate" 884 884 885 #: inc/functions.php:8 36885 #: inc/functions.php:842 886 886 msgid "" 887 887 "This will delete the images you saved through the plugin. The action cannot " … … 891 891 "non potrà essere annullata." 892 892 893 #: inc/functions.php:8 39893 #: inc/functions.php:845 894 894 msgid "Delete saved posts" 895 895 msgstr "Cancella post salvati" 896 896 897 #: inc/functions.php:84 0897 #: inc/functions.php:846 898 898 msgid "" 899 899 "This will delete the posts you created through the plugin. The action cannot " … … 903 903 "potrà essere annullata." 904 904 905 #: inc/functions.php:8 65905 #: inc/functions.php:871 906 906 msgid "Select a file" 907 907 msgstr "Seleziona un file" 908 908 909 #: inc/functions.php:942 909 #: inc/functions.php:890 910 msgid "Your image has been added to the message!" 911 msgstr "L’immagine è stata aggiunta al messaggio!" 912 913 #: inc/functions.php:894 914 msgid "Your image has been removed from the message." 915 msgstr "L’immagine è stata rimossa dal messaggio." 916 917 #: inc/functions.php:967 910 918 msgid "Your OpenAI Key is good and ready to go!" 911 919 msgstr "La tua Chiave OpenAI funziona correttamente!" 912 920 913 #: inc/functions.php:9 43921 #: inc/functions.php:968 914 922 msgid "You have to insert an OpenAI Secret Key." 915 923 msgstr "Devi inserire una Chiave Segreta OpenAI." 916 924 917 #: inc/functions.php:9 44925 #: inc/functions.php:969 918 926 msgid "" 919 927 "There was an error in verifying your API Key. Contact OpenAI for more " … … 923 931 "ulteriori informazioni." 924 932 925 #: inc/functions.php:9 45933 #: inc/functions.php:970 926 934 msgid "You have to write a prompt first." 927 935 msgstr "Devi prima scrivere un’indicazione testuale." 928 936 929 #: inc/functions.php:9 46937 #: inc/functions.php:971 930 938 msgid "An error occurred. Try again." 931 939 msgstr "Si è verificato un errore. Riprova." 932 940 933 #: inc/functions.php:9 47941 #: inc/functions.php:972 934 942 msgid "Actions" 935 943 msgstr "Azioni" 936 944 937 #: inc/functions.php:9 48945 #: inc/functions.php:973 938 946 msgid "This is an image variation of" 939 947 msgstr "Quest’immagine è una variazione di" 940 948 941 #: inc/functions.php:9 49949 #: inc/functions.php:974 942 950 msgid "" 943 951 "You can choose to save this image in your Media Library, or to create " … … 947 955 "delle variazioni se ancora non ti convince del tutto." 948 956 949 #: inc/functions.php:9 50957 #: inc/functions.php:975 950 958 msgid "Save in Media Library" 951 959 msgstr "Salva nella Libreria Media" 952 960 953 #: inc/functions.php:9 51961 #: inc/functions.php:976 954 962 msgid "Save and set as a Featured Image" 955 963 msgstr "Salva e imposta come Immagine in Evidenza" 956 964 957 #: inc/functions.php:9 52965 #: inc/functions.php:977 958 966 msgid "Save all in Media Library" 959 967 msgstr "Salva tutte nella Libreria Media" 960 968 961 #: inc/functions.php:9 53969 #: inc/functions.php:978 962 970 msgid "Edit" 963 971 msgstr "Modifica" 964 972 965 #: inc/functions.php:9 54973 #: inc/functions.php:979 966 974 msgid "Create variations" 967 975 msgstr "Crea variazioni" 968 976 969 #: inc/functions.php:9 55977 #: inc/functions.php:980 970 978 msgid "Generating..." 971 979 msgstr "Sto generando…" 972 980 973 #: inc/functions.php:9 56981 #: inc/functions.php:981 974 982 msgid "Sending your message..." 975 983 msgstr "Invio il messaggio…" 976 984 977 #: inc/functions.php:9 57985 #: inc/functions.php:982 978 986 msgid "Deleting..." 979 987 msgstr "Cancello…" 980 988 981 #: inc/functions.php:9 58989 #: inc/functions.php:983 982 990 msgid "Validating..." 983 991 msgstr "Verifico…" 984 992 985 #: inc/functions.php:9 59993 #: inc/functions.php:984 986 994 msgid "Saving..." 987 995 msgstr "Salvo…" 988 996 989 #: inc/functions.php:9 60997 #: inc/functions.php:985 990 998 msgid "Saved!" 991 999 msgstr "Salvato!" 992 1000 993 #: inc/functions.php:9 611001 #: inc/functions.php:986 994 1002 msgid "Saved and set!" 995 1003 msgstr "Salvato e impostato!" 996 1004 997 #: inc/functions.php:9 621005 #: inc/functions.php:987 998 1006 msgid "Set as a Featured Image" 999 1007 msgstr "Imposta come Immagine in Evidenza" 1000 1008 1001 #: inc/functions.php:9 631009 #: inc/functions.php:988 1002 1010 msgid "All saved!" 1003 1011 msgstr "Tutto salvato!" 1004 1012 1005 #: inc/functions.php:9 641013 #: inc/functions.php:989 1006 1014 msgid "Variations created!" 1007 1015 msgstr "Variazioni create!" 1008 1016 1009 #: inc/functions.php:9 661017 #: inc/functions.php:991 1010 1018 msgid "Pages" 1011 1019 msgstr "Pagine" 1012 1020 1013 #: inc/functions.php:9 671021 #: inc/functions.php:992 1014 1022 msgid "Products" 1015 1023 msgstr "Prodotti" 1016 1024 1017 #: inc/functions.php:9 681025 #: inc/functions.php:993 1018 1026 msgid "Portfolio" 1019 1027 msgstr "Portfolio" 1020 1028 1021 #: inc/functions.php:9 691029 #: inc/functions.php:994 1022 1030 msgid "Start typing something to search..." 1023 1031 msgstr "Scrivi qualcosa per cercare…" 1024 1032 1025 #: inc/functions.php:9 701033 #: inc/functions.php:995 1026 1034 msgid "Are you sure?" 1027 1035 msgstr "Confermi?" 1028 1036 1029 #: inc/functions.php:9 711037 #: inc/functions.php:996 1030 1038 msgid "Yes, go on" 1031 1039 msgstr "Sì, continua" 1032 1040 1033 #: inc/functions.php:9 721041 #: inc/functions.php:997 1034 1042 msgid "No, go back" 1035 1043 msgstr "No, torna indietro" 1036 1044 1037 #: inc/functions.php:9 731045 #: inc/functions.php:998 1038 1046 msgid "Go back" 1039 1047 msgstr "Torna indietro" 1040 1048 1041 #: inc/functions.php:9 741049 #: inc/functions.php:999 1042 1050 msgid "Set featured image(s)" 1043 1051 msgstr "Imposta immagini in evidenza" 1044 1052 1045 #: inc/functions.php: 9761053 #: inc/functions.php:1001 1046 1054 msgid "" 1047 1055 "Confirming this will delete all the AI generated images you saved in your " … … 1052 1060 "essere annullata!" 1053 1061 1054 #: inc/functions.php: 9771062 #: inc/functions.php:1002 1055 1063 msgid "" 1056 1064 "Confirming this will delete all the AI generated posts, pages and products. " … … 1060 1068 "cancellati. Procedi con cautela - l’azione non potrà essere annullata!" 1061 1069 1062 #: inc/functions.php: 9781070 #: inc/functions.php:1003 1063 1071 msgid "Set this as a featured image" 1064 1072 msgstr "Imposta come immagine in evidenza" 1065 1073 1066 #: inc/functions.php: 9791074 #: inc/functions.php:1004 1067 1075 msgid "" 1068 1076 "Choose the posts, pages or custom post type elements you want to set the " … … 1072 1080 "impostare questa immagine in evidenza." 1073 1081 1074 #: inc/functions.php: 9801082 #: inc/functions.php:1005 1075 1083 msgid "Create WordPress content" 1076 1084 msgstr "Crea contenuto WordPress" 1077 1085 1078 #: inc/functions.php: 9811086 #: inc/functions.php:1006 1079 1087 msgid "" 1080 1088 "Create a new post, page or product using the generated content. The new " … … 1084 1092 "nuovo elemento verrà salvato come bozza." 1085 1093 1086 #: inc/functions.php: 9821094 #: inc/functions.php:1007 1087 1095 msgid "You have to select at least one element in order to proceed." 1088 1096 msgstr "Per procedere è necessario selezionare almeno un elemento." 1089 1097 1090 #: inc/functions.php: 9831098 #: inc/functions.php:1008 1091 1099 msgid "Your message can't be empty!" 1092 1100 msgstr "Il messaggio non può essere vuoto!" 1093 1101 1094 #: inc/functions.php: 9841102 #: inc/functions.php:1009 1095 1103 msgid "You" 1096 1104 msgstr "Tu" 1097 1105 1098 #: inc/functions.php: 9851106 #: inc/functions.php:1010 1099 1107 msgid "AI" 1100 1108 msgstr "IA" 1101 1109 1102 #: inc/functions.php: 9861110 #: inc/functions.php:1011 1103 1111 msgid "write your answer here" 1104 1112 msgstr "scrivi qui la tua risposta" 1105 1113 1106 #: inc/functions.php: 9881114 #: inc/functions.php:1013 1107 1115 msgid "Deselect all answers" 1108 1116 msgstr "Deseleziona tutte le risposte" 1109 1117 1110 #: inc/functions.php: 9891118 #: inc/functions.php:1014 1111 1119 msgid "Nothing has been selected, so nothing has been copied." 1112 1120 msgstr "Non hai selezionato niente, quindi non è stato copiato niente." 1113 1121 1114 #: inc/functions.php: 9901122 #: inc/functions.php:1015 1115 1123 msgid "Content copied! Paste it wherever you like." 1116 1124 msgstr "Contenuto copiato! Incollalo dove preferisci." 1117 1125 1118 #: inc/functions.php: 9911126 #: inc/functions.php:1016 1119 1127 msgid "An error occurred while copying the content. Try again." 1120 1128 msgstr "C’è stato un errore durante la copia del contenuto. Riprova." 1121 1129 1122 #: inc/functions.php: 9921130 #: inc/functions.php:1017 1123 1131 msgid "Generate and select some content first!" 1124 1132 msgstr "Devi prima generare e selezionare del contenuto!" 1125 1133 1126 #: inc/functions.php: 9931134 #: inc/functions.php:1018 1127 1135 msgid "Generate a transcription first!" 1128 1136 msgstr "Devi prima generare una trascrizione!" 1129 1137 1130 #: inc/functions.php: 9941138 #: inc/functions.php:1019 1131 1139 msgid "Post type" 1132 1140 msgstr "Tipo di post" 1133 1141 1134 #: inc/functions.php: 9951142 #: inc/functions.php:1020 1135 1143 msgid "Post" 1136 1144 msgstr "Post" 1137 1145 1138 #: inc/functions.php: 9961146 #: inc/functions.php:1021 1139 1147 msgid "Page" 1140 1148 msgstr "Pagina" 1141 1149 1142 #: inc/functions.php: 9971150 #: inc/functions.php:1022 1143 1151 msgid "Product" 1144 1152 msgstr "Prodotto" 1145 1153 1146 #: inc/functions.php: 9981154 #: inc/functions.php:1023 1147 1155 msgid "Title" 1148 1156 msgstr "Titolo" 1149 1157 1150 #: inc/functions.php: 9991158 #: inc/functions.php:1024 1151 1159 msgid "Write your post title here" 1152 1160 msgstr "Scrivi qui il titolo del post" 1153 1161 1154 #: inc/functions.php:10 001162 #: inc/functions.php:1025 1155 1163 msgid "Content" 1156 1164 msgstr "Contenuto" 1157 1165 1158 #: inc/functions.php:10 011166 #: inc/functions.php:1026 1159 1167 msgid "You have to write a title." 1160 1168 msgstr "È necessario indicare un titolo." 1161 1169 1162 #: inc/functions.php:10 021170 #: inc/functions.php:1027 1163 1171 msgid "The content cannot be empty." 1164 1172 msgstr "Il contenuto non può essere vuoto." 1165 1173 1166 #: inc/functions.php:10 031174 #: inc/functions.php:1028 1167 1175 msgid "View your newly created element." 1168 1176 msgstr "Vedi l’elemento appena creato." 1169 1177 1170 #: inc/functions.php:10 041178 #: inc/functions.php:1029 1171 1179 msgid "You have to select a file first." 1172 1180 msgstr "Devi prima selezionare un file." 1173 1181 1174 #: inc/functions.php:10 051182 #: inc/functions.php:1030 1175 1183 msgid "Sending your file (be patient: this may take a while)..." 1176 1184 msgstr "Invio il file (pazienta: potrebbe volerci un po’)…" 1177 1185 1178 #: inc/functions.php:10 071186 #: inc/functions.php:1032 1179 1187 msgid "You will able to edit your generated Key Points from here..." 1180 1188 msgstr "Da qui potrai modificare i Punti Chiave…" 1181 1189 1182 #: inc/functions.php:10 081190 #: inc/functions.php:1033 1183 1191 msgid "Your post has no content." 1184 1192 msgstr "Il tuo post non ha alcun contenuto." 1185 1193 1186 #: inc/functions.php:10 091194 #: inc/functions.php:1034 1187 1195 msgid "One or more required fields are missing." 1188 1196 msgstr "Uno o più campi richiesti sono vuoti." 1189 1197 1190 #: inc/functions.php:10 101198 #: inc/functions.php:1035 1191 1199 msgid "The product description has been generated." 1192 1200 msgstr "La descrizione del prodotto è stata generata." 1193 1201 1194 #: inc/functions.php:10 501202 #: inc/functions.php:1075 1195 1203 msgid "an indoor lounge area with bright lights..." 1196 1204 msgstr "un’area lounge al chiuso con molte luci…" 1197 1205 1198 #: inc/functions.php:10 531206 #: inc/functions.php:1078 1199 1207 msgid "a white, siamese cat..." 1200 1208 msgstr "un gatto siamese bianco…" 1201 1209 1202 #: inc/functions.php:10 561210 #: inc/functions.php:1081 1203 1211 msgid "an oil painting of a humanoid robot playing chess..." 1204 1212 msgstr "un dipinto a olio di un robot umanoide che gioca a scacchi…" 1205 1213 1206 #: inc/functions.php:10 591214 #: inc/functions.php:1084 1207 1215 msgid "a bowl of soup that is also a portal to another dimension..." 1208 1216 msgstr "un piatto di zuppa che è anche un portale verso un’altra dimensione…" 1209 1217 1210 #: inc/functions.php:10 621218 #: inc/functions.php:1087 1211 1219 msgid "a futuristic cyborg poster hanging in a neon lit subway station..." 1212 1220 msgstr "" 1213 1221 "un poster di un cyborg futuristico appeso a una stazione della metropolitana…" 1214 1222 1215 #: inc/functions.php:10 651223 #: inc/functions.php:1090 1216 1224 msgid "a shiba inu dog wearing a beret and black turtleneck..." 1217 1225 msgstr "uno shiba inu che indossa un cappello e un dolcevita nero…" 1218 1226 1219 #: inc/functions.php:10 681227 #: inc/functions.php:1093 1220 1228 msgid "a cat riding a motorcycle..." 1221 1229 msgstr "un gatto che guida una moto…" 1222 1230 1223 #: inc/functions.php:10 711231 #: inc/functions.php:1096 1224 1232 msgid "a sailboat circled by birds on the sea at sunrise..." 1225 1233 msgstr "una barca circondata da uccelli, sul mare, all’alba…" 1226 1234 1227 #: inc/functions.php:10 741235 #: inc/functions.php:1099 1228 1236 msgid "" 1229 1237 "a pencil and watercolor drawing of a bright city in the future with flying " … … 1232 1240 "un acquerello di una città futuristica illuminata, con macchine volanti…" 1233 1241 1234 #: inc/functions.php:1 0771242 #: inc/functions.php:1102 1235 1243 msgid "a painting of a river..." 1236 1244 msgstr "un dipinto di un fiume…" 1237 1245 1238 #: inc/functions.php:1 0841246 #: inc/functions.php:1109 1239 1247 msgid "what is human life expectancy?" 1240 1248 msgstr "qual è l’aspettativa di vita per gli esseri umani?" 1241 1249 1242 #: inc/functions.php:1 0871250 #: inc/functions.php:1112 1243 1251 msgid "tell me something about our observable universe" 1244 1252 msgstr "dimmi qualcosa sull’universo osservabile" 1245 1253 1246 #: inc/functions.php:1 0901254 #: inc/functions.php:1115 1247 1255 msgid "how does a telescope work?" 1248 1256 msgstr "come funziona un telescopio?" 1249 1257 1250 #: inc/functions.php:1 0931258 #: inc/functions.php:1118 1251 1259 msgid "where were the 1992 Olympics held?" 1252 1260 msgstr "dove si sono tenute le Olimpiadi del 1992?" 1253 1261 1254 #: inc/functions.php:1 0961262 #: inc/functions.php:1121 1255 1263 msgid "who was president of the United States in 1955?" 1256 1264 msgstr "chi era il presidente degli Stati Uniti nel 1955?" 1257 1265 1258 #: inc/functions.php:1 0991266 #: inc/functions.php:1124 1259 1267 msgid "tell me a joke, made me laugh" 1260 1268 msgstr "dimmi qualcosa che mi faccia ridere" 1261 1269 1262 #: inc/functions.php:11 021270 #: inc/functions.php:1127 1263 1271 msgid "give me a list of 10 things not to say at a party" 1264 1272 msgstr "dammi una lista di 10 cose da non dire a una festa" 1265 1273 1266 #: inc/functions.php:11 051274 #: inc/functions.php:1130 1267 1275 msgid "what should I buy for my best friend's birthday?" 1268 1276 msgstr "cosa posso comprare per il compleanno del mio migliore amico?" 1269 1277 1270 #: inc/functions.php:11 081278 #: inc/functions.php:1133 1271 1279 msgid "act as a standup comedian and talk to me about politics" 1272 1280 msgstr "parlami di politica come se tu fossi un comico" 1273 1281 1274 #: inc/functions.php:11 111282 #: inc/functions.php:1136 1275 1283 msgid "" 1276 1284 "translate 'hello, i'm using a wonderful WordPress plugin' into ancient greek" … … 1278 1286 "traduci ‘ciao, sto usando un fantastico plugin di WordPress’ in greco antico" 1279 1287 1280 #: inc/functions.php:11 211288 #: inc/functions.php:1146 1281 1289 msgid "Afrikaans" 1282 1290 msgstr "Afrikaans" 1283 1291 1284 #: inc/functions.php:11 211292 #: inc/functions.php:1146 1285 1293 msgid "Arabic" 1286 1294 msgstr "Arabo" 1287 1295 1288 #: inc/functions.php:11 211296 #: inc/functions.php:1146 1289 1297 msgid "Armenian" 1290 1298 msgstr "Armeno" 1291 1299 1292 #: inc/functions.php:11 211300 #: inc/functions.php:1146 1293 1301 msgid "Azerbaijani" 1294 1302 msgstr "Azero" 1295 1303 1296 #: inc/functions.php:11 211304 #: inc/functions.php:1146 1297 1305 msgid "Belarusian" 1298 1306 msgstr "Bielorusso" 1299 1307 1300 #: inc/functions.php:11 211308 #: inc/functions.php:1146 1301 1309 msgid "Bosnian" 1302 1310 msgstr "Bosniaco" 1303 1311 1304 #: inc/functions.php:11 211312 #: inc/functions.php:1146 1305 1313 msgid "Bulgarian" 1306 1314 msgstr "Bulgaro" 1307 1315 1308 #: inc/functions.php:11 211316 #: inc/functions.php:1146 1309 1317 msgid "Catalan" 1310 1318 msgstr "Catalano" 1311 1319 1312 #: inc/functions.php:11 211320 #: inc/functions.php:1146 1313 1321 msgid "Chinese" 1314 1322 msgstr "Cinese" 1315 1323 1316 #: inc/functions.php:11 211324 #: inc/functions.php:1146 1317 1325 msgid "Croatian" 1318 1326 msgstr "Croato" 1319 1327 1320 #: inc/functions.php:11 211328 #: inc/functions.php:1146 1321 1329 msgid "Czech" 1322 1330 msgstr "Ceco" 1323 1331 1324 #: inc/functions.php:11 211332 #: inc/functions.php:1146 1325 1333 msgid "Danish" 1326 1334 msgstr "Danese" 1327 1335 1328 #: inc/functions.php:11 211336 #: inc/functions.php:1146 1329 1337 msgid "Dutch" 1330 1338 msgstr "Olandese" 1331 1339 1332 #: inc/functions.php:11 211340 #: inc/functions.php:1146 1333 1341 msgid "English" 1334 1342 msgstr "Inglese" 1335 1343 1336 #: inc/functions.php:11 211344 #: inc/functions.php:1146 1337 1345 msgid "Estonian" 1338 1346 msgstr "Estone" 1339 1347 1340 #: inc/functions.php:11 211348 #: inc/functions.php:1146 1341 1349 msgid "Finnish" 1342 1350 msgstr "Finlandese" 1343 1351 1344 #: inc/functions.php:11 211352 #: inc/functions.php:1146 1345 1353 msgid "French" 1346 1354 msgstr "Francese" 1347 1355 1348 #: inc/functions.php:11 211356 #: inc/functions.php:1146 1349 1357 msgid "Galician" 1350 1358 msgstr "Galiziano" 1351 1359 1352 #: inc/functions.php:11 211360 #: inc/functions.php:1146 1353 1361 msgid "German" 1354 1362 msgstr "Tedesco" 1355 1363 1356 #: inc/functions.php:11 211364 #: inc/functions.php:1146 1357 1365 msgid "Greek" 1358 1366 msgstr "Greco" 1359 1367 1360 #: inc/functions.php:11 211368 #: inc/functions.php:1146 1361 1369 msgid "Hebrew" 1362 1370 msgstr "Ebraico" 1363 1371 1364 #: inc/functions.php:11 211372 #: inc/functions.php:1146 1365 1373 msgid "Hindi" 1366 1374 msgstr "Hindi" 1367 1375 1368 #: inc/functions.php:11 211376 #: inc/functions.php:1146 1369 1377 msgid "Hungarian" 1370 1378 msgstr "Ungherese" 1371 1379 1372 #: inc/functions.php:11 211380 #: inc/functions.php:1146 1373 1381 msgid "Icelandic" 1374 1382 msgstr "Islandese" 1375 1383 1376 #: inc/functions.php:11 211384 #: inc/functions.php:1146 1377 1385 msgid "Indonesian" 1378 1386 msgstr "Indonesiano" 1379 1387 1380 #: inc/functions.php:11 211388 #: inc/functions.php:1146 1381 1389 msgid "Italian" 1382 1390 msgstr "Italiano" 1383 1391 1384 #: inc/functions.php:11 211392 #: inc/functions.php:1146 1385 1393 msgid "Japanese" 1386 1394 msgstr "Giapponese" 1387 1395 1388 #: inc/functions.php:11 211396 #: inc/functions.php:1146 1389 1397 msgid "Kannada" 1390 1398 msgstr "Kannada" 1391 1399 1392 #: inc/functions.php:11 211400 #: inc/functions.php:1146 1393 1401 msgid "Kazakh" 1394 1402 msgstr "Kazako" 1395 1403 1396 #: inc/functions.php:11 211404 #: inc/functions.php:1146 1397 1405 msgid "Korean" 1398 1406 msgstr "Coreano" 1399 1407 1400 #: inc/functions.php:11 211408 #: inc/functions.php:1146 1401 1409 msgid "Latvian" 1402 1410 msgstr "Lettone" 1403 1411 1404 #: inc/functions.php:11 211412 #: inc/functions.php:1146 1405 1413 msgid "Lithuanian" 1406 1414 msgstr "Lituano" 1407 1415 1408 #: inc/functions.php:11 211416 #: inc/functions.php:1146 1409 1417 msgid "Macedonian" 1410 1418 msgstr "Macedone" 1411 1419 1412 #: inc/functions.php:11 211420 #: inc/functions.php:1146 1413 1421 msgid "Malay" 1414 1422 msgstr "Malese" 1415 1423 1416 #: inc/functions.php:11 211424 #: inc/functions.php:1146 1417 1425 msgid "Marathi" 1418 1426 msgstr "Marathi" 1419 1427 1420 #: inc/functions.php:11 211428 #: inc/functions.php:1146 1421 1429 msgid "Maori" 1422 1430 msgstr "Maori" 1423 1431 1424 #: inc/functions.php:11 211432 #: inc/functions.php:1146 1425 1433 msgid "Nepali" 1426 1434 msgstr "Nepalese" 1427 1435 1428 #: inc/functions.php:11 211436 #: inc/functions.php:1146 1429 1437 msgid "Norwegian" 1430 1438 msgstr "Norvegese" 1431 1439 1432 #: inc/functions.php:11 211440 #: inc/functions.php:1146 1433 1441 msgid "Persian" 1434 1442 msgstr "Persiano" 1435 1443 1436 #: inc/functions.php:11 211444 #: inc/functions.php:1146 1437 1445 msgid "Polish" 1438 1446 msgstr "Polacco" 1439 1447 1440 #: inc/functions.php:11 211448 #: inc/functions.php:1146 1441 1449 msgid "Portuguese" 1442 1450 msgstr "Portoghese" 1443 1451 1444 #: inc/functions.php:11 211452 #: inc/functions.php:1146 1445 1453 msgid "Romanian" 1446 1454 msgstr "Rumeno" 1447 1455 1448 #: inc/functions.php:11 211456 #: inc/functions.php:1146 1449 1457 msgid "Russian" 1450 1458 msgstr "Russo" 1451 1459 1452 #: inc/functions.php:11 211460 #: inc/functions.php:1146 1453 1461 msgid "Serbian" 1454 1462 msgstr "Serbo" 1455 1463 1456 #: inc/functions.php:11 211464 #: inc/functions.php:1146 1457 1465 msgid "Slovak" 1458 1466 msgstr "Slovacco" 1459 1467 1460 #: inc/functions.php:11 211468 #: inc/functions.php:1146 1461 1469 msgid "Slovenian" 1462 1470 msgstr "Sloveno" 1463 1471 1464 #: inc/functions.php:11 211472 #: inc/functions.php:1146 1465 1473 msgid "Spanish" 1466 1474 msgstr "Spagnolo" 1467 1475 1468 #: inc/functions.php:11 211476 #: inc/functions.php:1146 1469 1477 msgid "Swahili" 1470 1478 msgstr "Swahili" 1471 1479 1472 #: inc/functions.php:11 211480 #: inc/functions.php:1146 1473 1481 msgid "Swedish" 1474 1482 msgstr "Svedese" 1475 1483 1476 #: inc/functions.php:11 211484 #: inc/functions.php:1146 1477 1485 msgid "Tagalog" 1478 1486 msgstr "Tagalog" 1479 1487 1480 #: inc/functions.php:11 211488 #: inc/functions.php:1146 1481 1489 msgid "Tamil" 1482 1490 msgstr "Tamil" 1483 1491 1484 #: inc/functions.php:11 211492 #: inc/functions.php:1146 1485 1493 msgid "Thai" 1486 1494 msgstr "Tailandese" 1487 1495 1488 #: inc/functions.php:11 211496 #: inc/functions.php:1146 1489 1497 msgid "Turkish" 1490 1498 msgstr "Turco" 1491 1499 1492 #: inc/functions.php:11 211500 #: inc/functions.php:1146 1493 1501 msgid "Ukrainian" 1494 1502 msgstr "Ucraino" 1495 1503 1496 #: inc/functions.php:11 211504 #: inc/functions.php:1146 1497 1505 msgid "Urdu" 1498 1506 msgstr "Urdu" 1499 1507 1500 #: inc/functions.php:11 211508 #: inc/functions.php:1146 1501 1509 msgid "Vietnamese" 1502 1510 msgstr "Vietnamita" 1503 1511 1504 #: inc/functions.php:11 211512 #: inc/functions.php:1146 1505 1513 msgid "Welsh" 1506 1514 msgstr "Gallese" 1507 1515 1508 #: inc/functions.php:11 271516 #: inc/functions.php:1152 1509 1517 #, php-format 1510 1518 msgid "" -
flusso-ai-generated-content/trunk/languages/flusso-ai-generated-content.pot
r2907116 r2907940 3 3 msgstr "" 4 4 "Project-Id-Version: flusso-ai-generated-content\n" 5 "POT-Creation-Date: 2023-05-0 2 17:35+0200\n"5 "POT-Creation-Date: 2023-05-04 12:43+0200\n" 6 6 "PO-Revision-Date: 2023-03-24 11:40+0100\n" 7 7 "Last-Translator: \n" … … 72 72 msgstr "" 73 73 74 #: inc/engine/core.php:579 inc/functions.php:68 274 #: inc/engine/core.php:579 inc/functions.php:688 75 75 msgid "Product Description" 76 76 msgstr "" … … 120 120 msgstr "" 121 121 122 #: inc/engine/core.php:611 inc/engine/core.php:634 inc/functions.php:8 67122 #: inc/engine/core.php:611 inc/engine/core.php:634 inc/functions.php:873 123 123 msgid "Select" 124 124 msgstr "" … … 220 220 msgstr "" 221 221 222 #: inc/functions.php:46 inc/functions.php:6 55222 #: inc/functions.php:46 inc/functions.php:661 223 223 msgid "Content Features" 224 224 msgstr "" … … 228 228 msgstr "" 229 229 230 #: inc/functions.php:55 inc/functions.php:432 inc/functions.php:71 3230 #: inc/functions.php:55 inc/functions.php:432 inc/functions.php:719 231 231 msgid "Speech to Text" 232 232 msgstr "" … … 237 237 238 238 #: inc/functions.php:64 inc/functions.php:450 inc/functions.php:522 239 #: inc/functions.php:78 1239 #: inc/functions.php:787 240 240 msgid "Settings" 241 241 msgstr "" … … 345 345 msgstr "" 346 346 347 #: inc/functions.php:333 inc/functions.php:438 inc/functions.php:6 66347 #: inc/functions.php:333 inc/functions.php:438 inc/functions.php:672 348 348 #: inc/meta-boxes.php:61 349 349 msgid "Key Points" … … 378 378 msgstr "" 379 379 380 #: inc/functions.php:409 inc/functions.php:10 06380 #: inc/functions.php:409 inc/functions.php:1031 381 381 msgid "Overview" 382 382 msgstr "" … … 479 479 msgstr "" 480 480 481 #: inc/functions.php:496 inc/functions.php:583 inc/functions.php:65 2482 #: inc/functions.php:71 0481 #: inc/functions.php:496 inc/functions.php:583 inc/functions.php:658 482 #: inc/functions.php:716 483 483 msgid "Flusso AI / Content Generation" 484 484 msgstr "" … … 496 496 msgstr "" 497 497 498 #: inc/functions.php:509 inc/functions.php: 975498 #: inc/functions.php:509 inc/functions.php:1000 499 499 msgid "Create" 500 500 msgstr "" 501 501 502 #: inc/functions.php:511 inc/functions.php:6 15 inc/functions.php:733502 #: inc/functions.php:511 inc/functions.php:621 inc/functions.php:739 503 503 msgid "It appears you haven't set an API Key yet. Go to the Settings page for more details." 504 504 msgstr "" … … 604 604 msgstr "" 605 605 606 #: inc/functions.php:597 inc/functions.php: 987606 #: inc/functions.php:597 inc/functions.php:1012 607 607 msgid "Select all answers" 608 608 msgstr "" 609 609 610 #: inc/functions.php:6 06 inc/functions.php:729610 #: inc/functions.php:612 inc/functions.php:735 611 611 msgid "Send" 612 612 msgstr "" 613 613 614 #: inc/functions.php:6 07614 #: inc/functions.php:613 615 615 msgid "or hit enter" 616 616 msgstr "" 617 617 618 #: inc/functions.php:61 0618 #: inc/functions.php:616 619 619 msgid "New chat" 620 620 msgstr "" 621 621 622 #: inc/functions.php:61 1622 #: inc/functions.php:617 623 623 msgid "clear the screen" 624 624 msgstr "" 625 625 626 #: inc/functions.php:62 2 inc/functions.php:748626 #: inc/functions.php:628 inc/functions.php:754 627 627 msgid "Save content" 628 628 msgstr "" 629 629 630 #: inc/functions.php:62 3630 #: inc/functions.php:629 631 631 msgid "Once you have generated some text, you can do several things with it." 632 632 msgstr "" 633 633 634 #: inc/functions.php:6 26 inc/functions.php:752634 #: inc/functions.php:632 inc/functions.php:758 635 635 msgid "Copy content" 636 636 msgstr "" 637 637 638 #: inc/functions.php:6 27638 #: inc/functions.php:633 639 639 msgid "this will just copy the selected content, so you can paste it wherever you feel" 640 640 msgstr "" 641 641 642 #: inc/functions.php:63 0 inc/functions.php:756642 #: inc/functions.php:636 inc/functions.php:762 643 643 msgid "New post" 644 644 msgstr "" 645 645 646 #: inc/functions.php:63 1 inc/functions.php:757646 #: inc/functions.php:637 inc/functions.php:763 647 647 msgid "easily create a new post, page or product using your generated content" 648 648 msgstr "" 649 649 650 #: inc/functions.php:6 57650 #: inc/functions.php:663 651 651 msgid "Set some options regarding your WordPress Content." 652 652 msgstr "" 653 653 654 #: inc/functions.php:66 3 inc/functions.php:965654 #: inc/functions.php:669 inc/functions.php:990 655 655 msgid "Posts" 656 656 msgstr "" 657 657 658 #: inc/functions.php:6 64658 #: inc/functions.php:670 659 659 msgid "Settings and options for your posts." 660 660 msgstr "" 661 661 662 #: inc/functions.php:6 67662 #: inc/functions.php:673 663 663 msgid "For lazy readers, or summary-lovers. With this feature, you can use AI to generate a number of key points of a given post, which will be shown before or after the main content." 664 664 msgstr "" 665 665 666 #: inc/functions.php:67 1666 #: inc/functions.php:677 667 667 msgid "Note: this feature may not work is your post content is too long. OpenAI's API limitation." 668 668 msgstr "" 669 669 670 #: inc/functions.php:6 79670 #: inc/functions.php:685 671 671 msgid "WooCommerce Products" 672 672 msgstr "" 673 673 674 #: inc/functions.php:68 0674 #: inc/functions.php:686 675 675 msgid "Settings and options for your WooCommerce Products." 676 676 msgstr "" 677 677 678 #: inc/functions.php:68 3678 #: inc/functions.php:689 679 679 msgid "You can use Artificial Intelligence to write your WooCommerce product descriptions." 680 680 msgstr "" 681 681 682 #: inc/functions.php:7 15682 #: inc/functions.php:721 683 683 msgid "Upload a file and receive a text transcription." 684 684 msgstr "" 685 685 686 #: inc/functions.php:7 19686 #: inc/functions.php:725 687 687 msgid "File upload" 688 688 msgstr "" 689 689 690 #: inc/functions.php:72 0690 #: inc/functions.php:726 691 691 msgid "File uploads are currently limited to 25 MB. Audio must be in English. The following input file types are supported: mp3, mp4, mpeg, mpga, m4a, wav, webm." 692 692 msgstr "" 693 693 694 #: inc/functions.php:72 2694 #: inc/functions.php:728 695 695 msgid "No file selected" 696 696 msgstr "" 697 697 698 #: inc/functions.php:7 24698 #: inc/functions.php:730 699 699 msgid "Upload a file" 700 700 msgstr "" 701 701 702 #: inc/functions.php:7 37702 #: inc/functions.php:743 703 703 msgid "Transcription" 704 704 msgstr "" 705 705 706 #: inc/functions.php:7 38706 #: inc/functions.php:744 707 707 msgid "The generated transcription." 708 708 msgstr "" 709 709 710 #: inc/functions.php:7 49710 #: inc/functions.php:755 711 711 msgid "Once you have your transcription, you can do several things with it." 712 712 msgstr "" 713 713 714 #: inc/functions.php:75 3714 #: inc/functions.php:759 715 715 msgid "this will just copy the transcription, so you can paste it wherever you feel" 716 716 msgstr "" 717 717 718 #: inc/functions.php:7 78718 #: inc/functions.php:784 719 719 msgid "Flusso AI / Settings" 720 720 msgstr "" 721 721 722 #: inc/functions.php:78 3722 #: inc/functions.php:789 723 723 msgid "Here you can set options, settings and credentials for the plugin." 724 724 msgstr "" 725 725 726 #: inc/functions.php:7 89726 #: inc/functions.php:795 727 727 msgid "OpenAI Platform Settings" 728 728 msgstr "" 729 729 730 #: inc/functions.php:79 0730 #: inc/functions.php:796 731 731 msgid "Settings for the OpenAI Platform." 732 732 msgstr "" 733 733 734 #: inc/functions.php: 799734 #: inc/functions.php:805 735 735 msgid "OpenAI Credentials" 736 736 msgstr "" 737 737 738 #: inc/functions.php:80 0738 #: inc/functions.php:806 739 739 msgid "Set your OpenAI Secret Key and Organization ID." 740 740 msgstr "" 741 741 742 #: inc/functions.php:8 25742 #: inc/functions.php:831 743 743 msgid "Flusso AI / Delete Content" 744 744 msgstr "" 745 745 746 #: inc/functions.php:8 28746 #: inc/functions.php:834 747 747 msgid "Delete Generated Content" 748 748 msgstr "" 749 749 750 #: inc/functions.php:83 0750 #: inc/functions.php:836 751 751 msgid "From this page you can easily delete the content you generated with Flusso AI plugin." 752 752 msgstr "" 753 753 754 #: inc/functions.php:8 35754 #: inc/functions.php:841 755 755 msgid "Delete saved images" 756 756 msgstr "" 757 757 758 #: inc/functions.php:8 36758 #: inc/functions.php:842 759 759 msgid "This will delete the images you saved through the plugin. The action cannot be undone." 760 760 msgstr "" 761 761 762 #: inc/functions.php:8 39762 #: inc/functions.php:845 763 763 msgid "Delete saved posts" 764 764 msgstr "" 765 765 766 #: inc/functions.php:84 0766 #: inc/functions.php:846 767 767 msgid "This will delete the posts you created through the plugin. The action cannot be undone." 768 768 msgstr "" 769 769 770 #: inc/functions.php:8 65770 #: inc/functions.php:871 771 771 msgid "Select a file" 772 772 msgstr "" 773 773 774 #: inc/functions.php:942 774 #: inc/functions.php:890 775 msgid "Your image has been added to the message!" 776 msgstr "" 777 778 #: inc/functions.php:894 779 msgid "Your image has been removed from the message." 780 msgstr "" 781 782 #: inc/functions.php:967 775 783 msgid "Your OpenAI Key is good and ready to go!" 776 784 msgstr "" 777 785 778 #: inc/functions.php:9 43786 #: inc/functions.php:968 779 787 msgid "You have to insert an OpenAI Secret Key." 780 788 msgstr "" 781 789 782 #: inc/functions.php:9 44790 #: inc/functions.php:969 783 791 msgid "There was an error in verifying your API Key. Contact OpenAI for more informations." 784 792 msgstr "" 785 793 786 #: inc/functions.php:9 45794 #: inc/functions.php:970 787 795 msgid "You have to write a prompt first." 788 796 msgstr "" 789 797 790 #: inc/functions.php:9 46798 #: inc/functions.php:971 791 799 msgid "An error occurred. Try again." 792 800 msgstr "" 793 801 794 #: inc/functions.php:9 47802 #: inc/functions.php:972 795 803 msgid "Actions" 796 804 msgstr "" 797 805 798 #: inc/functions.php:9 48806 #: inc/functions.php:973 799 807 msgid "This is an image variation of" 800 808 msgstr "" 801 809 802 #: inc/functions.php:9 49810 #: inc/functions.php:974 803 811 msgid "You can choose to save this image in your Media Library, or to create variations if you're still not fully convinced." 804 812 msgstr "" 805 813 806 #: inc/functions.php:9 50814 #: inc/functions.php:975 807 815 msgid "Save in Media Library" 808 816 msgstr "" 809 817 810 #: inc/functions.php:9 51818 #: inc/functions.php:976 811 819 msgid "Save and set as a Featured Image" 812 820 msgstr "" 813 821 814 #: inc/functions.php:9 52822 #: inc/functions.php:977 815 823 msgid "Save all in Media Library" 816 824 msgstr "" 817 825 818 #: inc/functions.php:9 53826 #: inc/functions.php:978 819 827 msgid "Edit" 820 828 msgstr "" 821 829 822 #: inc/functions.php:9 54830 #: inc/functions.php:979 823 831 msgid "Create variations" 824 832 msgstr "" 825 833 826 #: inc/functions.php:9 55834 #: inc/functions.php:980 827 835 msgid "Generating..." 828 836 msgstr "" 829 837 830 #: inc/functions.php:9 56838 #: inc/functions.php:981 831 839 msgid "Sending your message..." 832 840 msgstr "" 833 841 834 #: inc/functions.php:9 57842 #: inc/functions.php:982 835 843 msgid "Deleting..." 836 844 msgstr "" 837 845 838 #: inc/functions.php:9 58846 #: inc/functions.php:983 839 847 msgid "Validating..." 840 848 msgstr "" 841 849 842 #: inc/functions.php:9 59850 #: inc/functions.php:984 843 851 msgid "Saving..." 844 852 msgstr "" 845 853 846 #: inc/functions.php:9 60854 #: inc/functions.php:985 847 855 msgid "Saved!" 848 856 msgstr "" 849 857 850 #: inc/functions.php:9 61858 #: inc/functions.php:986 851 859 msgid "Saved and set!" 852 860 msgstr "" 853 861 854 #: inc/functions.php:9 62862 #: inc/functions.php:987 855 863 msgid "Set as a Featured Image" 856 864 msgstr "" 857 865 858 #: inc/functions.php:9 63866 #: inc/functions.php:988 859 867 msgid "All saved!" 860 868 msgstr "" 861 869 862 #: inc/functions.php:9 64870 #: inc/functions.php:989 863 871 msgid "Variations created!" 864 872 msgstr "" 865 873 866 #: inc/functions.php:9 66874 #: inc/functions.php:991 867 875 msgid "Pages" 868 876 msgstr "" 869 877 870 #: inc/functions.php:9 67878 #: inc/functions.php:992 871 879 msgid "Products" 872 880 msgstr "" 873 881 874 #: inc/functions.php:9 68882 #: inc/functions.php:993 875 883 msgid "Portfolio" 876 884 msgstr "" 877 885 878 #: inc/functions.php:9 69886 #: inc/functions.php:994 879 887 msgid "Start typing something to search..." 880 888 msgstr "" 881 889 882 #: inc/functions.php:9 70890 #: inc/functions.php:995 883 891 msgid "Are you sure?" 884 892 msgstr "" 885 893 886 #: inc/functions.php:9 71894 #: inc/functions.php:996 887 895 msgid "Yes, go on" 888 896 msgstr "" 889 897 890 #: inc/functions.php:9 72898 #: inc/functions.php:997 891 899 msgid "No, go back" 892 900 msgstr "" 893 901 894 #: inc/functions.php:9 73902 #: inc/functions.php:998 895 903 msgid "Go back" 896 904 msgstr "" 897 905 898 #: inc/functions.php:9 74906 #: inc/functions.php:999 899 907 msgid "Set featured image(s)" 900 908 msgstr "" 901 909 902 #: inc/functions.php: 976910 #: inc/functions.php:1001 903 911 msgid "Confirming this will delete all the AI generated images you saved in your Media Library. Proceed with caution - the action cannot be undone!" 904 912 msgstr "" 905 913 906 #: inc/functions.php: 977914 #: inc/functions.php:1002 907 915 msgid "Confirming this will delete all the AI generated posts, pages and products. Proceed with caution - the action cannot be undone!" 908 916 msgstr "" 909 917 910 #: inc/functions.php: 978918 #: inc/functions.php:1003 911 919 msgid "Set this as a featured image" 912 920 msgstr "" 913 921 914 #: inc/functions.php: 979922 #: inc/functions.php:1004 915 923 msgid "Choose the posts, pages or custom post type elements you want to set the featured image for." 916 924 msgstr "" 917 925 918 #: inc/functions.php: 980926 #: inc/functions.php:1005 919 927 msgid "Create WordPress content" 920 928 msgstr "" 921 929 922 #: inc/functions.php: 981930 #: inc/functions.php:1006 923 931 msgid "Create a new post, page or product using the generated content. The new element will be saved as a draft." 924 932 msgstr "" 925 933 926 #: inc/functions.php: 982934 #: inc/functions.php:1007 927 935 msgid "You have to select at least one element in order to proceed." 928 936 msgstr "" 929 937 930 #: inc/functions.php: 983938 #: inc/functions.php:1008 931 939 msgid "Your message can't be empty!" 932 940 msgstr "" 933 941 934 #: inc/functions.php: 984942 #: inc/functions.php:1009 935 943 msgid "You" 936 944 msgstr "" 937 945 938 #: inc/functions.php: 985946 #: inc/functions.php:1010 939 947 msgid "AI" 940 948 msgstr "" 941 949 942 #: inc/functions.php: 986950 #: inc/functions.php:1011 943 951 msgid "write your answer here" 944 952 msgstr "" 945 953 946 #: inc/functions.php: 988954 #: inc/functions.php:1013 947 955 msgid "Deselect all answers" 948 956 msgstr "" 949 957 950 #: inc/functions.php: 989958 #: inc/functions.php:1014 951 959 msgid "Nothing has been selected, so nothing has been copied." 952 960 msgstr "" 953 961 954 #: inc/functions.php: 990962 #: inc/functions.php:1015 955 963 msgid "Content copied! Paste it wherever you like." 956 964 msgstr "" 957 965 958 #: inc/functions.php: 991966 #: inc/functions.php:1016 959 967 msgid "An error occurred while copying the content. Try again." 960 968 msgstr "" 961 969 962 #: inc/functions.php: 992970 #: inc/functions.php:1017 963 971 msgid "Generate and select some content first!" 964 972 msgstr "" 965 973 966 #: inc/functions.php: 993974 #: inc/functions.php:1018 967 975 msgid "Generate a transcription first!" 968 976 msgstr "" 969 977 970 #: inc/functions.php: 994978 #: inc/functions.php:1019 971 979 msgid "Post type" 972 980 msgstr "" 973 981 974 #: inc/functions.php: 995982 #: inc/functions.php:1020 975 983 msgid "Post" 976 984 msgstr "" 977 985 978 #: inc/functions.php: 996986 #: inc/functions.php:1021 979 987 msgid "Page" 980 988 msgstr "" 981 989 982 #: inc/functions.php: 997990 #: inc/functions.php:1022 983 991 msgid "Product" 984 992 msgstr "" 985 993 986 #: inc/functions.php: 998994 #: inc/functions.php:1023 987 995 msgid "Title" 988 996 msgstr "" 989 997 990 #: inc/functions.php: 999998 #: inc/functions.php:1024 991 999 msgid "Write your post title here" 992 1000 msgstr "" 993 1001 994 #: inc/functions.php:10 001002 #: inc/functions.php:1025 995 1003 msgid "Content" 996 1004 msgstr "" 997 1005 998 #: inc/functions.php:10 011006 #: inc/functions.php:1026 999 1007 msgid "You have to write a title." 1000 1008 msgstr "" 1001 1009 1002 #: inc/functions.php:10 021010 #: inc/functions.php:1027 1003 1011 msgid "The content cannot be empty." 1004 1012 msgstr "" 1005 1013 1006 #: inc/functions.php:10 031014 #: inc/functions.php:1028 1007 1015 msgid "View your newly created element." 1008 1016 msgstr "" 1009 1017 1010 #: inc/functions.php:10 041018 #: inc/functions.php:1029 1011 1019 msgid "You have to select a file first." 1012 1020 msgstr "" 1013 1021 1014 #: inc/functions.php:10 051022 #: inc/functions.php:1030 1015 1023 msgid "Sending your file (be patient: this may take a while)..." 1016 1024 msgstr "" 1017 1025 1018 #: inc/functions.php:10 071026 #: inc/functions.php:1032 1019 1027 msgid "You will able to edit your generated Key Points from here..." 1020 1028 msgstr "" 1021 1029 1022 #: inc/functions.php:10 081030 #: inc/functions.php:1033 1023 1031 msgid "Your post has no content." 1024 1032 msgstr "" 1025 1033 1026 #: inc/functions.php:10 091034 #: inc/functions.php:1034 1027 1035 msgid "One or more required fields are missing." 1028 1036 msgstr "" 1029 1037 1030 #: inc/functions.php:10 101038 #: inc/functions.php:1035 1031 1039 msgid "The product description has been generated." 1032 1040 msgstr "" 1033 1041 1034 #: inc/functions.php:10 501042 #: inc/functions.php:1075 1035 1043 msgid "an indoor lounge area with bright lights..." 1036 1044 msgstr "" 1037 1045 1038 #: inc/functions.php:10 531046 #: inc/functions.php:1078 1039 1047 msgid "a white, siamese cat..." 1040 1048 msgstr "" 1041 1049 1042 #: inc/functions.php:10 561050 #: inc/functions.php:1081 1043 1051 msgid "an oil painting of a humanoid robot playing chess..." 1044 1052 msgstr "" 1045 1053 1046 #: inc/functions.php:10 591054 #: inc/functions.php:1084 1047 1055 msgid "a bowl of soup that is also a portal to another dimension..." 1048 1056 msgstr "" 1049 1057 1050 #: inc/functions.php:10 621058 #: inc/functions.php:1087 1051 1059 msgid "a futuristic cyborg poster hanging in a neon lit subway station..." 1052 1060 msgstr "" 1053 1061 1054 #: inc/functions.php:10 651062 #: inc/functions.php:1090 1055 1063 msgid "a shiba inu dog wearing a beret and black turtleneck..." 1056 1064 msgstr "" 1057 1065 1058 #: inc/functions.php:10 681066 #: inc/functions.php:1093 1059 1067 msgid "a cat riding a motorcycle..." 1060 1068 msgstr "" 1061 1069 1062 #: inc/functions.php:10 711070 #: inc/functions.php:1096 1063 1071 msgid "a sailboat circled by birds on the sea at sunrise..." 1064 1072 msgstr "" 1065 1073 1066 #: inc/functions.php:10 741074 #: inc/functions.php:1099 1067 1075 msgid "a pencil and watercolor drawing of a bright city in the future with flying cars..." 1068 1076 msgstr "" 1069 1077 1070 #: inc/functions.php:1 0771078 #: inc/functions.php:1102 1071 1079 msgid "a painting of a river..." 1072 1080 msgstr "" 1073 1081 1074 #: inc/functions.php:1 0841082 #: inc/functions.php:1109 1075 1083 msgid "what is human life expectancy?" 1076 1084 msgstr "" 1077 1085 1078 #: inc/functions.php:1 0871086 #: inc/functions.php:1112 1079 1087 msgid "tell me something about our observable universe" 1080 1088 msgstr "" 1081 1089 1082 #: inc/functions.php:1 0901090 #: inc/functions.php:1115 1083 1091 msgid "how does a telescope work?" 1084 1092 msgstr "" 1085 1093 1086 #: inc/functions.php:1 0931094 #: inc/functions.php:1118 1087 1095 msgid "where were the 1992 Olympics held?" 1088 1096 msgstr "" 1089 1097 1090 #: inc/functions.php:1 0961098 #: inc/functions.php:1121 1091 1099 msgid "who was president of the United States in 1955?" 1092 1100 msgstr "" 1093 1101 1094 #: inc/functions.php:1 0991102 #: inc/functions.php:1124 1095 1103 msgid "tell me a joke, made me laugh" 1096 1104 msgstr "" 1097 1105 1098 #: inc/functions.php:11 021106 #: inc/functions.php:1127 1099 1107 msgid "give me a list of 10 things not to say at a party" 1100 1108 msgstr "" 1101 1109 1102 #: inc/functions.php:11 051110 #: inc/functions.php:1130 1103 1111 msgid "what should I buy for my best friend's birthday?" 1104 1112 msgstr "" 1105 1113 1106 #: inc/functions.php:11 081114 #: inc/functions.php:1133 1107 1115 msgid "act as a standup comedian and talk to me about politics" 1108 1116 msgstr "" 1109 1117 1110 #: inc/functions.php:11 111118 #: inc/functions.php:1136 1111 1119 msgid "translate 'hello, i'm using a wonderful WordPress plugin' into ancient greek" 1112 1120 msgstr "" 1113 1121 1114 #: inc/functions.php:11 211122 #: inc/functions.php:1146 1115 1123 msgid "Afrikaans" 1116 1124 msgstr "" 1117 1125 1118 #: inc/functions.php:11 211126 #: inc/functions.php:1146 1119 1127 msgid "Arabic" 1120 1128 msgstr "" 1121 1129 1122 #: inc/functions.php:11 211130 #: inc/functions.php:1146 1123 1131 msgid "Armenian" 1124 1132 msgstr "" 1125 1133 1126 #: inc/functions.php:11 211134 #: inc/functions.php:1146 1127 1135 msgid "Azerbaijani" 1128 1136 msgstr "" 1129 1137 1130 #: inc/functions.php:11 211138 #: inc/functions.php:1146 1131 1139 msgid "Belarusian" 1132 1140 msgstr "" 1133 1141 1134 #: inc/functions.php:11 211142 #: inc/functions.php:1146 1135 1143 msgid "Bosnian" 1136 1144 msgstr "" 1137 1145 1138 #: inc/functions.php:11 211146 #: inc/functions.php:1146 1139 1147 msgid "Bulgarian" 1140 1148 msgstr "" 1141 1149 1142 #: inc/functions.php:11 211150 #: inc/functions.php:1146 1143 1151 msgid "Catalan" 1144 1152 msgstr "" 1145 1153 1146 #: inc/functions.php:11 211154 #: inc/functions.php:1146 1147 1155 msgid "Chinese" 1148 1156 msgstr "" 1149 1157 1150 #: inc/functions.php:11 211158 #: inc/functions.php:1146 1151 1159 msgid "Croatian" 1152 1160 msgstr "" 1153 1161 1154 #: inc/functions.php:11 211162 #: inc/functions.php:1146 1155 1163 msgid "Czech" 1156 1164 msgstr "" 1157 1165 1158 #: inc/functions.php:11 211166 #: inc/functions.php:1146 1159 1167 msgid "Danish" 1160 1168 msgstr "" 1161 1169 1162 #: inc/functions.php:11 211170 #: inc/functions.php:1146 1163 1171 msgid "Dutch" 1164 1172 msgstr "" 1165 1173 1166 #: inc/functions.php:11 211174 #: inc/functions.php:1146 1167 1175 msgid "English" 1168 1176 msgstr "" 1169 1177 1170 #: inc/functions.php:11 211178 #: inc/functions.php:1146 1171 1179 msgid "Estonian" 1172 1180 msgstr "" 1173 1181 1174 #: inc/functions.php:11 211182 #: inc/functions.php:1146 1175 1183 msgid "Finnish" 1176 1184 msgstr "" 1177 1185 1178 #: inc/functions.php:11 211186 #: inc/functions.php:1146 1179 1187 msgid "French" 1180 1188 msgstr "" 1181 1189 1182 #: inc/functions.php:11 211190 #: inc/functions.php:1146 1183 1191 msgid "Galician" 1184 1192 msgstr "" 1185 1193 1186 #: inc/functions.php:11 211194 #: inc/functions.php:1146 1187 1195 msgid "German" 1188 1196 msgstr "" 1189 1197 1190 #: inc/functions.php:11 211198 #: inc/functions.php:1146 1191 1199 msgid "Greek" 1192 1200 msgstr "" 1193 1201 1194 #: inc/functions.php:11 211202 #: inc/functions.php:1146 1195 1203 msgid "Hebrew" 1196 1204 msgstr "" 1197 1205 1198 #: inc/functions.php:11 211206 #: inc/functions.php:1146 1199 1207 msgid "Hindi" 1200 1208 msgstr "" 1201 1209 1202 #: inc/functions.php:11 211210 #: inc/functions.php:1146 1203 1211 msgid "Hungarian" 1204 1212 msgstr "" 1205 1213 1206 #: inc/functions.php:11 211214 #: inc/functions.php:1146 1207 1215 msgid "Icelandic" 1208 1216 msgstr "" 1209 1217 1210 #: inc/functions.php:11 211218 #: inc/functions.php:1146 1211 1219 msgid "Indonesian" 1212 1220 msgstr "" 1213 1221 1214 #: inc/functions.php:11 211222 #: inc/functions.php:1146 1215 1223 msgid "Italian" 1216 1224 msgstr "" 1217 1225 1218 #: inc/functions.php:11 211226 #: inc/functions.php:1146 1219 1227 msgid "Japanese" 1220 1228 msgstr "" 1221 1229 1222 #: inc/functions.php:11 211230 #: inc/functions.php:1146 1223 1231 msgid "Kannada" 1224 1232 msgstr "" 1225 1233 1226 #: inc/functions.php:11 211234 #: inc/functions.php:1146 1227 1235 msgid "Kazakh" 1228 1236 msgstr "" 1229 1237 1230 #: inc/functions.php:11 211238 #: inc/functions.php:1146 1231 1239 msgid "Korean" 1232 1240 msgstr "" 1233 1241 1234 #: inc/functions.php:11 211242 #: inc/functions.php:1146 1235 1243 msgid "Latvian" 1236 1244 msgstr "" 1237 1245 1238 #: inc/functions.php:11 211246 #: inc/functions.php:1146 1239 1247 msgid "Lithuanian" 1240 1248 msgstr "" 1241 1249 1242 #: inc/functions.php:11 211250 #: inc/functions.php:1146 1243 1251 msgid "Macedonian" 1244 1252 msgstr "" 1245 1253 1246 #: inc/functions.php:11 211254 #: inc/functions.php:1146 1247 1255 msgid "Malay" 1248 1256 msgstr "" 1249 1257 1250 #: inc/functions.php:11 211258 #: inc/functions.php:1146 1251 1259 msgid "Marathi" 1252 1260 msgstr "" 1253 1261 1254 #: inc/functions.php:11 211262 #: inc/functions.php:1146 1255 1263 msgid "Maori" 1256 1264 msgstr "" 1257 1265 1258 #: inc/functions.php:11 211266 #: inc/functions.php:1146 1259 1267 msgid "Nepali" 1260 1268 msgstr "" 1261 1269 1262 #: inc/functions.php:11 211270 #: inc/functions.php:1146 1263 1271 msgid "Norwegian" 1264 1272 msgstr "" 1265 1273 1266 #: inc/functions.php:11 211274 #: inc/functions.php:1146 1267 1275 msgid "Persian" 1268 1276 msgstr "" 1269 1277 1270 #: inc/functions.php:11 211278 #: inc/functions.php:1146 1271 1279 msgid "Polish" 1272 1280 msgstr "" 1273 1281 1274 #: inc/functions.php:11 211282 #: inc/functions.php:1146 1275 1283 msgid "Portuguese" 1276 1284 msgstr "" 1277 1285 1278 #: inc/functions.php:11 211286 #: inc/functions.php:1146 1279 1287 msgid "Romanian" 1280 1288 msgstr "" 1281 1289 1282 #: inc/functions.php:11 211290 #: inc/functions.php:1146 1283 1291 msgid "Russian" 1284 1292 msgstr "" 1285 1293 1286 #: inc/functions.php:11 211294 #: inc/functions.php:1146 1287 1295 msgid "Serbian" 1288 1296 msgstr "" 1289 1297 1290 #: inc/functions.php:11 211298 #: inc/functions.php:1146 1291 1299 msgid "Slovak" 1292 1300 msgstr "" 1293 1301 1294 #: inc/functions.php:11 211302 #: inc/functions.php:1146 1295 1303 msgid "Slovenian" 1296 1304 msgstr "" 1297 1305 1298 #: inc/functions.php:11 211306 #: inc/functions.php:1146 1299 1307 msgid "Spanish" 1300 1308 msgstr "" 1301 1309 1302 #: inc/functions.php:11 211310 #: inc/functions.php:1146 1303 1311 msgid "Swahili" 1304 1312 msgstr "" 1305 1313 1306 #: inc/functions.php:11 211314 #: inc/functions.php:1146 1307 1315 msgid "Swedish" 1308 1316 msgstr "" 1309 1317 1310 #: inc/functions.php:11 211318 #: inc/functions.php:1146 1311 1319 msgid "Tagalog" 1312 1320 msgstr "" 1313 1321 1314 #: inc/functions.php:11 211322 #: inc/functions.php:1146 1315 1323 msgid "Tamil" 1316 1324 msgstr "" 1317 1325 1318 #: inc/functions.php:11 211326 #: inc/functions.php:1146 1319 1327 msgid "Thai" 1320 1328 msgstr "" 1321 1329 1322 #: inc/functions.php:11 211330 #: inc/functions.php:1146 1323 1331 msgid "Turkish" 1324 1332 msgstr "" 1325 1333 1326 #: inc/functions.php:11 211334 #: inc/functions.php:1146 1327 1335 msgid "Ukrainian" 1328 1336 msgstr "" 1329 1337 1330 #: inc/functions.php:11 211338 #: inc/functions.php:1146 1331 1339 msgid "Urdu" 1332 1340 msgstr "" 1333 1341 1334 #: inc/functions.php:11 211342 #: inc/functions.php:1146 1335 1343 msgid "Vietnamese" 1336 1344 msgstr "" 1337 1345 1338 #: inc/functions.php:11 211346 #: inc/functions.php:1146 1339 1347 msgid "Welsh" 1340 1348 msgstr "" 1341 1349 1342 #: inc/functions.php:11 271350 #: inc/functions.php:1152 1343 1351 #, php-format 1344 1352 msgid "%sAlways remember%s to check your AI platforms' %saccount usage%s, and track %show much you're spending%s on AI features." -
flusso-ai-generated-content/trunk/main.php
r2907116 r2907940 2 2 /** 3 3 * @package Flusso AI: AI Generated Content 4 * @version 0.7 4 * @version 0.7.1 5 5 */ 6 6 /* … … 8 8 Description: Create and edit images and content in your WordPress website using the power of AI. Features included: DALL-E, ChatGPT 4, WooCommerce Product Description generator, Whisper speech-to-text, and more. 9 9 Author: emana.design 10 Version: 0.7 10 Version: 0.7.1 11 11 Requires PHP: 7.4 12 12 Author URI: https://emana.design -
flusso-ai-generated-content/trunk/readme.txt
r2907116 r2907940 1 === Flusso AI -ChatGPT 4, DALL-E Image Generator, AI Product Description Generator ===1 === Flusso AI » ChatGPT 4, DALL-E Image Generator, AI Product Description Generator === 2 2 Contributors: emanadesign 3 3 Tags: ai, dall-e, chatgpt, woocommerce product descriptions, ai generated content, openai, dall-e, image generation, ai content generator, ai content, speech to text, whisper ai … … 6 6 Tested up to: 6.2 7 7 Requires PHP: 7.4 8 Stable tag: 0.7 8 Stable tag: 0.7.1 9 9 License: GPLv2 or later 10 10 11 Flusso AI allows you to generate WordPress content, like images and text , through the power of AI.11 Flusso AI allows you to generate WordPress content, like images and text with ChatGPT, through the power of AI. 12 12 13 13 == Description == … … 100 100 == Changelog == 101 101 102 = 0.6 2023-05-02 = 102 = 0.7.1 2023-05-04 = 103 104 * **[New]** **Image support** added for ChatGPT 4. 105 106 = 0.7 2023-05-02 = 103 107 104 108 * **[New]** Added support for **GPT-4**
Note: See TracChangeset
for help on using the changeset viewer.