{"id":5413,"date":"2025-08-18T19:31:24","date_gmt":"2025-08-18T19:31:24","guid":{"rendered":"https:\/\/digitivia.com\/?page_id=5413"},"modified":"2025-12-11T09:44:09","modified_gmt":"2025-12-11T09:44:09","slug":"digitiviaai","status":"publish","type":"page","link":"https:\/\/digitivia.com\/ar\/digitiviaai\/","title":{"rendered":"DigitiviaAI"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"5413\" class=\"elementor elementor-5413\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7564806 elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"7564806\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-437d321\" data-id=\"437d321\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1e5c5bb elementor-section-full_width elementor-section-height-full elementor-section-height-default elementor-section-items-middle\" data-id=\"1e5c5bb\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-91651ea\" data-id=\"91651ea\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1161496 elementor-widget elementor-widget-html\" data-id=\"1161496\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"digitivia-ai-widget\">\r\n    <!-- Include Font Awesome and Google Fonts -->\r\n    <link href=\"https:\/\/fonts.googleapis.com\/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap\" rel=\"stylesheet\">\r\n    <link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.0.0\/css\/all.min.css\" rel=\"stylesheet\">\r\n    \r\n    <!-- Main Chat Container -->\r\n    <div class=\"digitivia-ai-chat\">\r\n        <div class=\"floating-particles\"><\/div>\r\n        \r\n        <!-- Chat Sidebar -->\r\n        <div class=\"chat-sidebar\">\r\n            <div class=\"sidebar-header\">\r\n                <div class=\"logo\">\r\n                    <i class=\"fas fa-brain\"><\/i>\r\n                    <span>\u062f\u064a\u062c\u064a\u062a\u064a\u0641\u064a\u0627 \u0644\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a<\/span>\r\n                <\/div>\r\n                <button class=\"new-chat-btn\" onclick=\"digitiviaChat.createNewChat()\">\r\n                    <i class=\"fas fa-plus\"><\/i>\r\n                    <span>\u062f\u0631\u062f\u0634\u0629 \u062c\u062f\u064a\u062f\u0629<\/span>\r\n                <\/button>\r\n            <\/div>\r\n            \r\n            <div class=\"chat-history\" id=\"chatHistory\">\r\n                <!-- items are rendered from localStorage -->\r\n            <\/div>\r\n        <\/div>\r\n        \r\n        <!-- Main Chat Area -->\r\n        <div class=\"chat-main\">\r\n            <!-- Welcome Screen -->\r\n            <div class=\"welcome-screen\" id=\"welcomeScreen\">\r\n                <div class=\"welcome-content\">\r\n                    <div class=\"ai-logo\">\r\n                        <div class=\"central-node\">\r\n                            <i class=\"fas fa-brain\"><\/i>\r\n                        <\/div>\r\n                        <div class=\"orbit-ring\">\r\n                            <div class=\"orbit-item\"><i class=\"fas fa-microchip\"><\/i><\/div>\r\n                            <div class=\"orbit-item\"><i class=\"fas fa-robot\"><\/i><\/div>\r\n                            <div class=\"orbit-item\"><i class=\"fas fa-cogs\"><\/i><\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                    \r\n                    <h1>\u0645\u0631\u062d\u0628\u0627\u064b \u0628\u0643 \u0641\u064a \u062f\u064a\u062c\u064a\u062a\u064a\u0641\u064a\u0627 \u0644\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a<\/h1>\r\n                    <p>\u0645\u0633\u0627\u0639\u062f\u0643 \u0627\u0644\u0630\u0643\u064a \u0644\u062c\u0645\u064a\u0639 \u0623\u0633\u0626\u0644\u062a\u0643 \u0648\u0645\u0647\u0627\u0645\u0643<\/p>\r\n                    \r\n                    <div class=\"quick-prompts\">\r\n                        <div class=\"prompt-card\" onclick=\"digitiviaChat.sendQuickPrompt('Explain artificial intelligence')\">\r\n                            <i class=\"fas fa-brain\"><\/i>\r\n                            <span>\u0634\u0631\u062d \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a<\/span>\r\n                        <\/div>\r\n                        <div class=\"prompt-card\" onclick=\"digitiviaChat.sendQuickPrompt('Help me write an article')\">\r\n                            <i class=\"fas fa-pen\"><\/i>\r\n                            <span>\u0627\u0643\u062a\u0628 \u0645\u0642\u0627\u0644\u0627\u064b<\/span>\r\n                        <\/div>\r\n                        <div class=\"prompt-card\" onclick=\"digitiviaChat.sendQuickPrompt('Analyze this data')\">\r\n                            <i class=\"fas fa-chart-bar\"><\/i>\r\n                            <span>\u062a\u062d\u0644\u064a\u0644 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a<\/span>\r\n                        <\/div>\r\n                        <div class=\"prompt-card\" onclick=\"digitiviaChat.sendQuickPrompt('Write me code')\">\r\n                            <i class=\"fas fa-code\"><\/i>\r\n                            <span>\u0627\u0643\u062a\u0628 \u0627\u0644\u0631\u0645\u0632<\/span>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n            \r\n            <!-- Chat Messages Area -->\r\n            <div class=\"chat-messages\" id=\"chatMessages\" style=\"display: none;\">\r\n                <div class=\"message-container\" id=\"messageContainer\">\r\n                    <!-- Messages will be added here dynamically -->\r\n                <\/div>\r\n            <\/div>\r\n            \r\n            <!-- Input Area -->\r\n            <div class=\"chat-input-area\">\r\n                <div class=\"input-container\">\r\n                    <div class=\"file-attachments\" id=\"fileAttachments\"><\/div>\r\n                    \r\n                    <div class=\"input-wrapper\">\r\n                        <button class=\"attachment-btn\" onclick=\"digitiviaChat.openFileDialog()\">\r\n                            <i class=\"fas fa-paperclip\"><\/i>\r\n                        <\/button>\r\n                        \r\n                        <button class=\"image-btn\" onclick=\"digitiviaChat.openImageDialog()\">\r\n                            <i class=\"fas fa-image\"><\/i>\r\n                        <\/button>\r\n                        \r\n                        <div class=\"text-input-container\">\r\n                            <textarea \r\n                                id=\"messageInput\" \r\n                                placeholder=\"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643 \u0647\u0646\u0627...\" \r\n                                rows=\"1\"\r\n                                onkeydown=\"digitiviaChat.handleKeyDown(event)\"\r\n                                oninput=\"digitiviaChat.autoResize(this)\"\r\n                            ><\/textarea>\r\n                        <\/div>\r\n                        \r\n                        <button class=\"send-btn\" id=\"sendBtn\" onclick=\"digitiviaChat.sendMessage()\" disabled>\r\n                            <i class=\"fas fa-paper-plane\"><\/i>\r\n                        <\/button>\r\n                    <\/div>\r\n                    \r\n                    <div class=\"input-options\">\r\n                        <div class=\"action-buttons\">\r\n                            <button class=\"action-btn deep-think\" onclick=\"digitiviaChat.enableDeepThink()\">\r\n                                <i class=\"fas fa-lightbulb\"><\/i>\r\n                                <span>\u0627\u0644\u062a\u0641\u0643\u064a\u0631 \u0627\u0644\u0639\u0645\u064a\u0642<\/span>\r\n                            <\/button>\r\n                            <button class=\"action-btn search\" onclick=\"digitiviaChat.enableSearch()\">\r\n                                <i class=\"fas fa-search\"><\/i>\r\n                                <span>\u0628\u062d\u062b \u0645\u062a\u0642\u062f\u0645<\/span>\r\n                            <\/button>\r\n                        <\/div>\r\n                        \r\n                        <div class=\"mode-indicators\">\r\n                            <span class=\"mode-indicator\" id=\"deepThinkMode\" style=\"display: none;\">\r\n                                <i class=\"fas fa-lightbulb\"><\/i> \u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u062a\u0641\u0643\u064a\u0631 \u0627\u0644\u0639\u0645\u064a\u0642\r\n                            <\/span>\r\n                            <span class=\"mode-indicator\" id=\"searchMode\" style=\"display: none;\">\r\n                                <i class=\"fas fa-search\"><\/i> \u062a\u0645 \u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0628\u062d\u062b\r\n                            <\/span>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n                \r\n                <!-- Hidden File Inputs -->\r\n                <input type=\"file\" id=\"fileInput\" accept=\".pdf,.doc,.docx,.txt\" multiple style=\"display: none;\" onchange=\"digitiviaChat.handleFileUpload(event)\">\r\n                <input type=\"file\" id=\"imageInput\" accept=\"image\/*\" multiple style=\"display: none;\" onchange=\"digitiviaChat.handleImageUpload(event)\">\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n    \r\n    <!-- Styles: refreshed look + fixed chat height -->\r\n   <style>\r\n:root {\r\n    --bg-1: #0B1221;\r\n    --bg-2: #121A2B;\r\n    --acc-1: #00C2A8;\r\n    --acc-2: #6BE6D7;\r\n    --glass: rgba(255,255,255,0.06);\r\n    --stroke: rgba(255,255,255,0.12);\r\n    --text-dim: rgba(255,255,255,0.7);\r\n}\r\n#digitivia-ai-widget * { margin:0; padding:0; box-sizing:border-box; }\r\n\r\n#digitivia-ai-widget .digitivia-ai-chat {\r\n    font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;\r\n    background: radial-gradient(1200px 600px at 20% -10%, #10223E 0%, var(--bg-1) 70%), linear-gradient(135deg, var(--bg-1), var(--bg-2));\r\n    color: #fff;\r\n    height: 100vh; min-height: 100vh; width: 100%;\r\n    display: flex; position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.35);\r\n}\r\n@supports (height: 100svh) {\r\n    #digitivia-ai-widget .digitivia-ai-chat { height: 100svh; min-height: 100svh; }\r\n}\r\n\r\n#digitivia-ai-widget .floating-particles { position:absolute; inset:0; pointer-events:none; z-index:1; }\r\n\r\n\/* Sidebar *\/\r\n#digitivia-ai-widget .chat-sidebar { width: 300px; background: rgba(12,18,33,.7); border-right: 1px solid var(--stroke); display:flex; flex-direction:column; z-index:2; backdrop-filter: blur(12px); }\r\n#digitivia-ai-widget .sidebar-header { padding: 22px 18px; border-bottom:1px solid var(--stroke); }\r\n#digitivia-ai-widget .logo { display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.3px; margin-bottom:16px; color: var(--acc-2); }\r\n#digitivia-ai-widget .logo i { font-size: 1.4rem; }\r\n#digitivia-ai-widget .new-chat-btn { width:100%; background: linear-gradient(135deg, var(--acc-1), var(--acc-2)); color:#001A17; border:none; border-radius:12px; padding:11px 14px; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:10px; transition: .25s; }\r\n#digitivia-ai-widget .new-chat-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 8px 20px rgba(0,194,168,.25); }\r\n\r\n#digitivia-ai-widget .chat-history { flex:1; padding: 10px 6px; overflow-y:auto; }\r\n#digitivia-ai-widget .history-item { display:flex; align-items:center; gap:10px; padding: 10px 12px; margin: 6px 6px; border-radius:12px; cursor:pointer; transition:.2s; border:1px solid transparent; }\r\n#digitivia-ai-widget .history-item:hover { background: var(--glass); border-color: var(--stroke); }\r\n#digitivia-ai-widget .history-item.active { background: linear-gradient(180deg, rgba(0,194,168,.15), rgba(0,194,168,.05)); border-color: rgba(0,194,168,.28); box-shadow: inset 0 0 0 1px rgba(0,194,168,.15); }\r\n#digitivia-ai-widget .history-item i { color: var(--acc-2); width: 18px; text-align:center; }\r\n#digitivia-ai-widget .history-title { flex:1; font-size:.95rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#fff; }\r\n#digitivia-ai-widget .history-title[contenteditable=\"true\"] { outline: 2px solid var(--acc-2); border-radius:6px; padding: 0 6px; background: rgba(255,255,255,.05); }\r\n#digitivia-ai-widget .delete-chat { background:none; border:none; color: var(--text-dim); cursor:pointer; padding:6px; border-radius:8px; transition:.2s; }\r\n#digitivia-ai-widget .delete-chat:hover { color: #ff6b6b; background: rgba(255,107,107,.12); }\r\n\r\n\/* Main *\/\r\n#digitivia-ai-widget .chat-main { flex:1; display:flex; flex-direction:column; position:relative; z-index:2; }\r\n\r\n\/* Welcome *\/\r\n#digitivia-ai-widget .welcome-screen { flex: 0 0 auto; display:flex; align-items:center; justify-content:center; padding:40px; }\r\n#digitivia-ai-widget .welcome-content { text-align:center; max-width:800px; }\r\n#digitivia-ai-widget .ai-logo { position:relative; width:200px; height:200px; margin: 0 auto 32px; }\r\n#digitivia-ai-widget .central-node { position:absolute; inset:0; margin:auto; width:86px; height:86px; background: radial-gradient(closest-side, var(--acc-2), var(--acc-1)); border-radius:22px; display:flex; align-items:center; justify-content:center; font-size:30px; color:#001A17; box-shadow: 0 0 60px rgba(0,194,168,.45); animation: digitiviaCentralPulse 3s infinite ease-in-out; }\r\n#digitivia-ai-widget .orbit-ring { position:absolute; inset:0; width:190px; height:190px; margin:auto; border:1px dashed rgba(107,230,215,.35); border-radius:50%; animation: digitiviaRotate 18s linear infinite; }\r\n#digitivia-ai-widget .orbit-item { position:absolute; width:50px; height:50px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); border-radius:14px; display:flex; align-items:center; justify-content:center; color: var(--acc-2); box-shadow: 0 8px 25px rgba(0,0,0,.25); }\r\n#digitivia-ai-widget .orbit-item:nth-child(1){ top:-25px; left: calc(50% - 25px);} \r\n#digitivia-ai-widget .orbit-item:nth-child(2){ top: calc(50% - 25px); right:-25px;} \r\n#digitivia-ai-widget .orbit-item:nth-child(3){ bottom:-25px; left: calc(50% - 25px);} \r\n#digitivia-ai-widget .welcome-content h1 { font-size:2.6rem; font-weight:800; margin-bottom:10px; background: linear-gradient(135deg, #fff, #D8FFF7); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }\r\n#digitivia-ai-widget .welcome-content p { font-size:1.05rem; color: var(--text-dim); margin-bottom:32px; }\r\n#digitivia-ai-widget .quick-prompts { display:grid; grid-template-columns: repeat(2,1fr); gap:14px; max-width:560px; margin:0 auto; }\r\n#digitivia-ai-widget .prompt-card { background: var(--glass); border:1px solid var(--stroke); border-radius:14px; padding:16px; cursor:pointer; transition:.2s; display:flex; align-items:center; gap:12px; text-align:left; }\r\n#digitivia-ai-widget .prompt-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.2); border-color: rgba(0,194,168,.35); }\r\n#digitivia-ai-widget .prompt-card i { color: var(--acc-2); width:28px; text-align:center; }\r\n\r\n\/* Chat Messages \u2014 flexible height *\/\r\n#digitivia-ai-widget .chat-messages {\r\n    flex: 1 1 auto; min-height: 0;\r\n    padding: 18px; overflow-y: auto;\r\n    border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);\r\n    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.03));\r\n}\r\n#digitivia-ai-widget .message-container { max-width: 820px; margin: 0 auto; }\r\n#digitivia-ai-widget .message { margin-bottom:18px; display:flex; gap:12px; }\r\n#digitivia-ai-widget .message.user { flex-direction: row-reverse; }\r\n#digitivia-ai-widget .message-avatar { width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; background: rgba(255,255,255,.06); border:1px solid var(--stroke); color: var(--acc-2); }\r\n#digitivia-ai-widget .message.user .message-avatar { background: linear-gradient(135deg, var(--acc-1), var(--acc-2)); color:#001A17; border:none; }\r\n#digitivia-ai-widget .message-content { flex:1; max-width: 72%; }\r\n#digitivia-ai-widget .message.user .message-content { text-align:right; }\r\n#digitivia-ai-widget .message-bubble { background: rgba(255,255,255,.05); border:1px solid var(--stroke); border-radius:14px; padding:12px 14px; line-height:1.6; display:inline-block; text-align:left; }\r\n#digitivia-ai-widget .message.user .message-bubble { background: linear-gradient(135deg, rgba(0,194,168,.25), rgba(107,230,215,.15)); border-color: rgba(0,194,168,.35); }\r\n#digitivia-ai-widget .message-time { font-size:.78rem; color: var(--text-dim); margin-top:6px; }\r\n#digitivia-ai-widget .typing-indicator { display:flex; gap:4px; align-items:center; padding: 10px 12px; }\r\n#digitivia-ai-widget .typing-dot { width:8px; height:8px; background: var(--acc-2); border-radius:50%; animation: digitiviaTyping 1.4s infinite ease-in-out; }\r\n#digitivia-ai-widget .typing-dot:nth-child(1){ animation-delay: -.32s;} \r\n#digitivia-ai-widget .typing-dot:nth-child(2){ animation-delay: -.16s;} \r\n\r\n\/* Input *\/\r\n#digitivia-ai-widget .chat-input-area { padding:16px; background: rgba(12,18,33,.55); backdrop-filter: blur(10px); }\r\n#digitivia-ai-widget .input-container { max-width: 820px; margin: 0 auto; }\r\n#digitivia-ai-widget .file-attachments { margin-bottom:12px; display:flex; flex-wrap:wrap; gap:10px; }\r\n#digitivia-ai-widget .file-attachment { background: rgba(255,255,255,.06); border:1px solid var(--stroke); border-radius:10px; padding:7px 10px; display:flex; align-items:center; gap:8px; font-size:.9rem; }\r\n#digitivia-ai-widget .file-attachment .remove-file { background:none; border:none; color: var(--text-dim); cursor:pointer; padding:2px; border-radius:4px; }\r\n#digitivia-ai-widget .file-attachment .remove-file:hover { color:#ff6b6b; background: rgba(255,107,107,.12); }\r\n#digitivia-ai-widget .input-wrapper { display:flex; align-items:flex-end; gap:10px; background: rgba(255,255,255,.06); border:1px solid var(--stroke); border-radius:16px; padding: 10px 12px; margin-bottom: 12px; }\r\n#digitivia-ai-widget .attachment-btn, #digitivia-ai-widget .image-btn, #digitivia-ai-widget .send-btn { background:none; border:none; color: var(--text-dim); cursor:pointer; padding:10px; border-radius:10px; width:40px; height:40px; display:flex; align-items:center; justify-content:center; transition:.2s; }\r\n#digitivia-ai-widget .attachment-btn:hover, #digitivia-ai-widget .image-btn:hover { background: rgba(255,255,255,.08); color:#fff; }\r\n#digitivia-ai-widget .text-input-container { flex:1; display:flex; align-items:flex-end; gap:10px; }\r\n#digitivia-ai-widget #messageInput { flex:1; background:none; border:none; color:#fff; font-size:1rem; line-height:1.5; resize:none; min-height:24px; max-height: 96px; padding:8px 0; outline:none; }\r\n#digitivia-ai-widget #messageInput::placeholder { color: var(--text-dim); }\r\n#digitivia-ai-widget .send-btn { background: linear-gradient(135deg, var(--acc-1), var(--acc-2)); color:#001A17; font-weight:700; }\r\n#digitivia-ai-widget .send-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,194,168,.25); }\r\n#digitivia-ai-widget .send-btn:disabled { opacity:.55; cursor:not-allowed; }\r\n#digitivia-ai-widget .input-options { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }\r\n#digitivia-ai-widget .action-buttons { display:flex; gap:10px; }\r\n#digitivia-ai-widget .action-btn { background: rgba(255,255,255,.06); border:1px solid var(--stroke); border-radius:10px; padding:9px 14px; color:#fff; cursor:pointer; display:flex; align-items:center; gap:8px; font-size:.9rem; font-weight:600; transition:.2s; }\r\n#digitivia-ai-widget .action-btn:hover { background: rgba(255,255,255,.1); }\r\n#digitivia-ai-widget .action-btn.active { background: linear-gradient(135deg, rgba(0,194,168,.25), rgba(107,230,215,.2)); border-color: rgba(0,194,168,.35); box-shadow: 0 5px 14px rgba(0,194,168,.2); }\r\n#digitivia-ai-widget .mode-indicators { display:flex; gap:10px; }\r\n#digitivia-ai-widget .mode-indicator { font-size:.85rem; color: var(--acc-2); display:flex; align-items:center; gap:6px; background: rgba(0,194,168,.1); padding:5px 10px; border-radius:12px; border:1px solid rgba(0,194,168,.25); }\r\n\r\n\/* Animations *\/\r\n@keyframes digitiviaCentralPulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.08); box-shadow: 0 0 90px rgba(0,194,168,.55);} }\r\n@keyframes digitiviaRotate { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }\r\n@keyframes digitiviaTyping { 0%,80%,100% { transform: scale(.8); opacity:.5;} 40% { transform: scale(1); opacity:1;} }\r\n\r\n\/* Responsive *\/\r\n@media (max-width: 768px) {\r\n    #digitivia-ai-widget .chat-sidebar { display:none; }\r\n    #digitivia-ai-widget .welcome-content h1 { font-size: 1.9rem; }\r\n    #digitivia-ai-widget .quick-prompts { grid-template-columns: 1fr; }\r\n    #digitivia-ai-widget .message-content { max-width: 85%; }\r\n    #digitivia-ai-widget .chat-messages { flex: 1 1 auto; min-height: 0; }\r\n}\r\n<\/style>\r\n\r\n    \r\n    <!-- Script: local-saving, multi-chat, rename -->\r\n    <script>\r\n        (function() {\r\n            \/\/ Utility: simple storage wrapper\r\n            const STORAGE_KEY = 'digitiviaChats_v2';\r\n            const store = {\r\n                load() { try { return JSON.parse(localStorage.getItem(STORAGE_KEY)) || {}; } catch(e){ return {}; } },\r\n                save(data) { localStorage.setItem(STORAGE_KEY, JSON.stringify(data)); }\r\n            };\r\n\r\n            \/\/ Create namespace for chat widget\r\n            window.digitiviaChat = {\r\n                \/\/ Configuration\r\n                WEBHOOK_URL: 'https:\/\/n8n.srv1174105.hstgr.cloud\/webhook\/AiAgent',\r\n                \r\n                \/\/ State\r\n                deepThinkEnabled: false,\r\n                searchEnabled: false,\r\n                currentChatId: null,\r\n                messageHistory: [],\r\n                attachedFiles: [],\r\n                chats: {},\r\n                \r\n                \/\/ Initialize widget\r\n                init: function() {\r\n                    this.chats = store.load();\r\n                    if (!Object.keys(this.chats).length) {\r\n                        this.currentChatId = this._newId();\r\n                        this.chats[this.currentChatId] = this._emptyChat('New Chat');\r\n                        store.save(this.chats);\r\n                    } else {\r\n                        \/\/ pick last active or first\r\n                        this.currentChatId = Object.keys(this.chats)[0];\r\n                    }\r\n                    this.createFloatingParticles();\r\n                    this.setupEventListeners();\r\n                    this.renderHistory();\r\n                    this.loadChatIntoUI(this.currentChatId);\r\n                    this.updateSendButtonState();\r\n                },\r\n\r\n                \/\/ Helpers\r\n                _newId: () => 'chat_' + Date.now() + '_' + Math.random().toString(36).slice(2, 8),\r\n                _emptyChat: (title='New Chat') => ({ id: null, title, messages: [], createdAt: Date.now(), updatedAt: Date.now() }),\r\n                _getEl: sel => document.getElementById('digitivia-ai-widget').querySelector(sel),\r\n\r\n                \/\/ Create floating particles\r\n                createFloatingParticles: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const particlesContainer = widget.querySelector('.floating-particles');\r\n                    if (!particlesContainer) return;\r\n                    particlesContainer.innerHTML = '';\r\n                    for (let i = 0; i < 16; i++) {\r\n                        const particle = document.createElement('div');\r\n                        particle.style.cssText = `position:absolute;width:${Math.random()*6+2}px;height:${Math.random()*6+2}px;background:${Math.random()>0.5?'#00C2A8':'rgba(107,230,215,.6)'};border-radius:50%;top:${Math.random()*100}%;left:${Math.random()*100}%;animation: digitiviaTyping ${Math.random()*8+6}s infinite ease-in-out;animation-delay:${Math.random()*4}s;box-shadow:0 0 ${Math.random()*16+8}px currentColor;`;\r\n                        particlesContainer.appendChild(particle);\r\n                    }\r\n                },\r\n                \r\n                \/\/ Setup event listeners\r\n                setupEventListeners: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const messageInput = widget.querySelector('#messageInput');\r\n                    const history = widget.querySelector('#chatHistory');\r\n                    \r\n                    if (messageInput) {\r\n                        messageInput.addEventListener('input', () => this.updateSendButtonState());\r\n                        messageInput.focus();\r\n                    }\r\n\r\n                    \/\/ Sidebar interactions (click, delete, rename)\r\n                    history.addEventListener('click', (e) => {\r\n                        const item = e.target.closest('.history-item');\r\n                        if (!item) return;\r\n                        const delBtn = e.target.closest('.delete-chat');\r\n                        const titleEl = item.querySelector('.history-title');\r\n                        const id = item.dataset.id;\r\n                        if (delBtn) {\r\n                            this.deleteChat(id);\r\n                            return;\r\n                        }\r\n                        if (e.target === titleEl) return; \/\/ handled by dblclick\r\n                        this.switchChat(id);\r\n                    });\r\n                    history.addEventListener('dblclick', (e) => {\r\n                        const titleEl = e.target.closest('.history-title');\r\n                        if (!titleEl) return;\r\n                        titleEl.setAttribute('contenteditable', 'true');\r\n                        titleEl.focus();\r\n                        const sel = window.getSelection();\r\n                        const range = document.createRange();\r\n                        range.selectNodeContents(titleEl); sel.removeAllRanges(); sel.addRange(range);\r\n                    });\r\n                    history.addEventListener('keydown', (e) => {\r\n                        const titleEl = e.target.closest('.history-title[contenteditable=\"true\"]');\r\n                        if (!titleEl) return;\r\n                        if (e.key === 'Enter') { e.preventDefault(); titleEl.blur(); }\r\n                    });\r\n                    history.addEventListener('blur', (e) => {\r\n                        const titleEl = e.target.closest('.history-title[contenteditable=\"true\"]');\r\n                        if (!titleEl) return;\r\n                        titleEl.removeAttribute('contenteditable');\r\n                        const id = titleEl.parentElement.dataset.id;\r\n                        this.renameChat(id, titleEl.textContent.trim() || 'Untitled Chat');\r\n                    }, true);\r\n\r\n                    \/\/ Keyboard shortcuts\r\n                    document.addEventListener('keydown', (event) => {\r\n                        if ((event.ctrlKey || event.metaKey) && event.key === 'Enter') { event.preventDefault(); this.createNewChat(); }\r\n                        if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'd') { event.preventDefault(); this.enableDeepThink(); }\r\n                        if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 's') { event.preventDefault(); this.enableSearch(); }\r\n                    });\r\n                },\r\n                \r\n                \/\/ History rendering\r\n                renderHistory: function() {\r\n                    const history = this._getEl('#chatHistory');\r\n                    history.innerHTML = '';\r\n                    const ids = Object.keys(this.chats).sort((a,b)=> (this.chats[b].updatedAt||0)-(this.chats[a].updatedAt||0));\r\n                    ids.forEach(id => {\r\n                        const chat = this.chats[id];\r\n                        const item = document.createElement('div');\r\n                        item.className = 'history-item' + (id === this.currentChatId ? ' active' : '');\r\n                        item.dataset.id = id;\r\n                        item.innerHTML = `\r\n                            <i class=\"fas fa-comment-dots\"><\/i>\r\n                            <span class=\"history-title\" title=\"Double\u2011click to rename\">${this._escape(chat.title || 'New Chat')}<\/span>\r\n                            <button class=\"delete-chat\" title=\"Delete chat\"><i class=\"fas fa-trash\"><\/i><\/button>\r\n                        `;\r\n                        history.appendChild(item);\r\n                    });\r\n                },\r\n\r\n                \/\/ Update send button\r\n                updateSendButtonState: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const messageInput = widget.querySelector('#messageInput');\r\n                    const sendBtn = widget.querySelector('#sendBtn');\r\n                    const fileAttachments = widget.querySelector('#fileAttachments');\r\n                    if (!messageInput || !sendBtn) return;\r\n                    const hasText = messageInput.value.trim().length > 0;\r\n                    const hasFiles = fileAttachments && fileAttachments.children.length > 0;\r\n                    sendBtn.disabled = !(hasText || hasFiles);\r\n                },\r\n                \r\n                \/\/ Auto resize textarea (capped)\r\n                autoResize: function(textarea) {\r\n                    if (!textarea) return;\r\n                    textarea.style.height = 'auto';\r\n                    const max = 96; \/\/ px\r\n                    textarea.style.height = Math.min(textarea.scrollHeight, max) + 'px';\r\n                },\r\n                \r\n                \/\/ Key handling\r\n                handleKeyDown: function(event) {\r\n                    if (event.key === 'Enter' && !event.shiftKey) {\r\n                        event.preventDefault();\r\n                        this.sendMessage();\r\n                    }\r\n                },\r\n                \r\n                \/\/ Modes\r\n                enableDeepThink: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    this.deepThinkEnabled = !this.deepThinkEnabled;\r\n                    widget.querySelector('.action-btn.deep-think').classList.toggle('active', this.deepThinkEnabled);\r\n                    widget.querySelector('#deepThinkMode').style.display = this.deepThinkEnabled ? 'inline-flex' : 'none';\r\n                },\r\n                enableSearch: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    this.searchEnabled = !this.searchEnabled;\r\n                    widget.querySelector('.action-btn.search').classList.toggle('active', this.searchEnabled);\r\n                    widget.querySelector('#searchMode').style.display = this.searchEnabled ? 'inline-flex' : 'none';\r\n                },\r\n                \r\n                \/\/ File handling\r\n                openFileDialog: function() { this._getEl('#fileInput').click(); },\r\n                openImageDialog: function() { this._getEl('#imageInput').click(); },\r\n                handleFileUpload: function(event) {\r\n                    Array.from(event.target.files).forEach(file => this.addFileAttachment(file, 'file'));\r\n                    event.target.value = '';\r\n                    this.updateSendButtonState();\r\n                },\r\n                handleImageUpload: function(event) {\r\n                    Array.from(event.target.files).forEach(file => this.addFileAttachment(file, 'image'));\r\n                    event.target.value = '';\r\n                    this.updateSendButtonState();\r\n                },\r\n                addFileAttachment: function(file, type) {\r\n                    const fileAttachments = this._getEl('#fileAttachments');\r\n                    if (!fileAttachments) return;\r\n                    const attachmentDiv = document.createElement('div');\r\n                    attachmentDiv.className = 'file-attachment';\r\n                    attachmentDiv.innerHTML = `\r\n                        <i class=\"${type === 'image' ? 'fas fa-image' : 'fas fa-file'}\"><\/i>\r\n                        <span>${this._escape(file.name)}<\/span>\r\n                        <button class=\"remove-file\" onclick=\"digitiviaChat.removeFileAttachment(this)\"><i class=\"fas fa-times\"><\/i><\/button>`;\r\n                    fileAttachments.appendChild(attachmentDiv);\r\n                    this.attachedFiles.push({ name: file.name, type: type });\r\n                },\r\n                removeFileAttachment: function(button) {\r\n                    const attachment = button.parentElement; const name = attachment.querySelector('span').textContent;\r\n                    this.attachedFiles = this.attachedFiles.filter(f => f.name !== name);\r\n                    attachment.remove(); this.updateSendButtonState();\r\n                },\r\n                \r\n                \/\/ Quick prompts\r\n                sendQuickPrompt: function(text) { const el = this._getEl('#messageInput'); if (el) { el.value = text; this.sendMessage(); } },\r\n                \r\n                \/\/ Chats: create \/ switch \/ delete \/ rename\r\n                createNewChat: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const id = this._newId();\r\n                    const chat = this._emptyChat('New Chat'); chat.id = id; chat.updatedAt = Date.now();\r\n                    this.chats[id] = chat; this.currentChatId = id; store.save(this.chats);\r\n\r\n                    \/\/ Reset UI but keep fixed heights\r\n                    widget.querySelector('#welcomeScreen').style.display = 'flex';\r\n                    widget.querySelector('#chatMessages').style.display = 'none';\r\n                    widget.querySelector('#fileAttachments').innerHTML = '';\r\n                    const input = widget.querySelector('#messageInput'); input.value = ''; this.autoResize(input);\r\n                    this.attachedFiles = [];\r\n                    this.deepThinkEnabled = false; this.searchEnabled = false;\r\n                    widget.querySelector('.action-btn.deep-think').classList.remove('active');\r\n                    widget.querySelector('.action-btn.search').classList.remove('active');\r\n                    widget.querySelector('#deepThinkMode').style.display = 'none';\r\n                    widget.querySelector('#searchMode').style.display = 'none';\r\n\r\n                    this.renderHistory();\r\n                    this.updateSendButtonState();\r\n                },\r\n                switchChat: function(id) {\r\n                    if (!this.chats[id]) return;\r\n                    this.currentChatId = id; this.renderHistory(); this.loadChatIntoUI(id);\r\n                },\r\n                deleteChat: function(id) {\r\n                    if (!this.chats[id]) return;\r\n                    if (!confirm('Delete this chat?')) return;\r\n                    delete this.chats[id];\r\n                    \/\/ choose another chat or create new\r\n                    const nextId = Object.keys(this.chats)[0];\r\n                    if (nextId) { this.currentChatId = nextId; } else { this.createNewChat(); return; }\r\n                    store.save(this.chats);\r\n                    this.renderHistory();\r\n                    this.loadChatIntoUI(this.currentChatId);\r\n                },\r\n                renameChat: function(id, newTitle) {\r\n                    if (!this.chats[id]) return;\r\n                    this.chats[id].title = newTitle; this.chats[id].updatedAt = Date.now();\r\n                    store.save(this.chats); this.renderHistory();\r\n                },\r\n\r\n                loadChatIntoUI: function(id) {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const container = widget.querySelector('#messageContainer');\r\n                    const chatMessages = widget.querySelector('#chatMessages');\r\n                    const welcome = widget.querySelector('#welcomeScreen');\r\n                    container.innerHTML = '';\r\n                    const chat = this.chats[id];\r\n                    if (chat && chat.messages.length) {\r\n                        welcome.style.display = 'none'; chatMessages.style.display = 'block';\r\n                        chat.messages.forEach(m => this._renderMsg(m.content, m.sender, m.time));\r\n                        chatMessages.scrollTop = chatMessages.scrollHeight;\r\n                    } else {\r\n                        welcome.style.display = 'flex'; chatMessages.style.display = 'none';\r\n                    }\r\n                },\r\n\r\n                \/\/ Send message\r\n                sendMessage: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const messageInput = widget.querySelector('#messageInput');\r\n                    const message = messageInput.value.trim();\r\n                    if (!message && this.attachedFiles.length === 0) return;\r\n\r\n                    \/\/ Switch to chat view\r\n                    const welcomeScreen = widget.querySelector('#welcomeScreen');\r\n                    const chatMessages = widget.querySelector('#chatMessages');\r\n                    if (welcomeScreen.style.display !== 'none') { welcomeScreen.style.display = 'none'; chatMessages.style.display = 'block'; }\r\n\r\n                    \/\/ Add user message (UI + state)\r\n                    if (message) { this.addMessage(message, 'user'); }\r\n\r\n                    \/\/ Prepare payload\r\n                    const webhookData = {\r\n                        chatId: this.currentChatId,\r\n                        message: message,\r\n                        deepThink: this.deepThinkEnabled,\r\n                        search: this.searchEnabled,\r\n                        attachments: this.attachedFiles.slice(),\r\n                        timestamp: new Date().toISOString(),\r\n                        userAgent: navigator.userAgent,\r\n                        platform: navigator.platform\r\n                    };\r\n\r\n                    \/\/ Clear input & attachments\r\n                    messageInput.value = ''; this.autoResize(messageInput);\r\n                    this._getEl('#fileAttachments').innerHTML = ''; this.attachedFiles = []; this.updateSendButtonState();\r\n\r\n                    \/\/ Typing indicator\r\n                    this.showTypingIndicator();\r\n\r\n                    \/\/ Send to webhook\r\n                    this.sendToWebhook(webhookData);\r\n                },\r\n                \r\n                \/\/ Add message to chat (UI + persist)\r\n                addMessage: function(content, sender) {\r\n                    const time = new Date().toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit' });\r\n                    this._renderMsg(content, sender, time);\r\n                    \/\/ persist in current chat\r\n                    const chat = this.chats[this.currentChatId];\r\n                    chat.messages.push({ content, sender, time });\r\n                    chat.updatedAt = Date.now();\r\n                    \/\/ auto-title first time\r\n                    if ((!chat.title || chat.title === 'New Chat') && sender === 'user' && content) {\r\n                        chat.title = content.slice(0, 30);\r\n                    }\r\n                    store.save(this.chats);\r\n                    this.renderHistory();\r\n                    \/\/ scroll to bottom\r\n                    const cm = this._getEl('#chatMessages'); cm.scrollTop = cm.scrollHeight;\r\n                },\r\n                _renderMsg: function(content, sender, time) {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const container = widget.querySelector('#messageContainer');\r\n                    const div = document.createElement('div');\r\n                    div.className = `message ${sender}`;\r\n                    div.innerHTML = `\r\n                        <div class=\"message-avatar\"><i class=\"fas fa-${sender==='user'?'user':'robot'}\"><\/i><\/div>\r\n                        <div class=\"message-content\">\r\n                            <div class=\"message-bubble\">${this._escape(content)}<\/div>\r\n                            <div class=\"message-time\">${time}<\/div>\r\n                        <\/div>`;\r\n                    container.appendChild(div);\r\n                },\r\n\r\n                \/\/ Typing indicator\r\n                showTypingIndicator: function() {\r\n                    const widget = document.getElementById('digitivia-ai-widget');\r\n                    const container = widget.querySelector('#messageContainer');\r\n                    const typingDiv = document.createElement('div');\r\n                    typingDiv.className = 'message ai'; typingDiv.id = 'typing-message';\r\n                    typingDiv.innerHTML = `\r\n                        <div class=\"message-avatar\"><i class=\"fas fa-robot\"><\/i><\/div>\r\n                        <div class=\"message-content\"><div class=\"message-bubble\"><div class=\"typing-indicator\"><div class=\"typing-dot\"><\/div><div class=\"typing-dot\"><\/div><div class=\"typing-dot\"><\/div><\/div><\/div><\/div>`;\r\n                    container.appendChild(typingDiv);\r\n                    const chatMessages = widget.querySelector('#chatMessages'); chatMessages.scrollTop = chatMessages.scrollHeight;\r\n                },\r\n\r\n                \/\/ Safe escape\r\n                _escape: function(str){ return String(str).replace(\/[&<>\"']\/g, s => ({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;','\\'':'&#39;'}[s])); },\r\n                \r\n                \/\/ Webhook\r\n                sendToWebhook: async function(data) {\r\n                    try {\r\n                        const response = await fetch(this.WEBHOOK_URL, { method:'POST', headers:{'Content-Type':'application\/json'}, body: JSON.stringify(data) });\r\n                        \/\/ remove typing\r\n                        const typing = this._getEl('#messageContainer')?.querySelector('#typing-message'); if (typing) typing.remove();\r\n                        if (response.ok) {\r\n                            let responseMessage = '';\r\n                            try {\r\n                                const result = await response.json();\r\n                                if (result.reply) responseMessage = result.reply;\r\n                                else if (result.message) responseMessage = result.message;\r\n                                else if (result.response) responseMessage = result.response;\r\n                                else if (result.text) responseMessage = result.text;\r\n                                else if (typeof result === 'string') responseMessage = result;\r\n                                else responseMessage = '\u062a\u0645 \u0627\u0633\u062a\u0644\u0627\u0645 \u0631\u062f \u063a\u064a\u0631 \u0645\u062a\u0648\u0642\u0639 \u0645\u0646 \u0627\u0644\u062e\u0627\u062f\u0645';\r\n                            } catch(_) {\r\n                                const text = await response.text();\r\n                                responseMessage = (text && text.trim()) ? text : '\u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0641\u0627\u0631\u063a\u0629 \u0645\u0646 \u0627\u0644\u062e\u0627\u062f\u0645';\r\n                            }\r\n                            this.addMessage(responseMessage, 'ai');\r\n                        } else {\r\n                            this.addMessage(`\u26a0\ufe0f \u062e\u0637\u0623 \u0645\u0646 \u0627\u0644\u062e\u0627\u062f\u0645: ${response.status} ${response.statusText}`, 'ai');\r\n                        }\r\n                    } catch (error) {\r\n                        const typing = this._getEl('#messageContainer')?.querySelector('#typing-message'); if (typing) typing.remove();\r\n                        this.addMessage('\u26a0\ufe0f \u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u0634\u0628\u0643\u0629', 'ai');\r\n                    }\r\n                }\r\n            };\r\n            \r\n            \/\/ Initialize widget\r\n            if (document.readyState === 'loading') {\r\n                document.addEventListener('DOMContentLoaded', function() { digitiviaChat.init(); });\r\n            } else { digitiviaChat.init(); }\r\n        })();\r\n    <\/script>\r\n<\/div>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Digitivia AI New Chat Welcome to Digitivia AI Your intelligent assistant for all your questions and tasks Explain AI Write [&hellip;]<\/p>","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-5413","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DigitiviaAI - Digitivia<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/digitivia.com\/ar\/digitiviaai\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DigitiviaAI - Digitivia\" \/>\n<meta property=\"og:description\" content=\"Digitivia AI New Chat Welcome to Digitivia AI Your intelligent assistant for all your questions and tasks Explain AI Write [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/digitivia.com\/ar\/digitiviaai\/\" \/>\n<meta property=\"og:site_name\" content=\"Digitivia\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Digitivia\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-11T09:44:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/digitivia.com\/wp-content\/uploads\/2025\/09\/cropped-solid-logo-.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Digitivia\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/digitivia.com\/digitiviaai\/\",\"url\":\"https:\/\/digitivia.com\/digitiviaai\/\",\"name\":\"DigitiviaAI - Digitivia\",\"isPartOf\":{\"@id\":\"https:\/\/digitivia.com\/#website\"},\"datePublished\":\"2025-08-18T19:31:24+00:00\",\"dateModified\":\"2025-12-11T09:44:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/digitivia.com\/digitiviaai\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/digitivia.com\/digitiviaai\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/digitivia.com\/digitiviaai\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/digitivia.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DigitiviaAI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/digitivia.com\/#website\",\"url\":\"https:\/\/digitivia.com\/\",\"name\":\"Digitivia\",\"description\":\"Ai &amp; Automation Solutions\",\"publisher\":{\"@id\":\"https:\/\/digitivia.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/digitivia.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/digitivia.com\/#organization\",\"name\":\"Digitivia\",\"url\":\"https:\/\/digitivia.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\/\/digitivia.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/digitivia.com\/wp-content\/uploads\/2025\/09\/cropped-solid-logo-.jpg\",\"contentUrl\":\"https:\/\/digitivia.com\/wp-content\/uploads\/2025\/09\/cropped-solid-logo-.jpg\",\"width\":512,\"height\":512,\"caption\":\"Digitivia\"},\"image\":{\"@id\":\"https:\/\/digitivia.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Digitivia\/\",\"https:\/\/x.com\/Digitivia\",\"https:\/\/www.instagram.com\/digitivia_\/\",\"https:\/\/www.linkedin.com\/company\/82479467\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DigitiviaAI - Digitivia","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/digitivia.com\/ar\/digitiviaai\/","og_locale":"ar_AR","og_type":"article","og_title":"DigitiviaAI - Digitivia","og_description":"Digitivia AI New Chat Welcome to Digitivia AI Your intelligent assistant for all your questions and tasks Explain AI Write [&hellip;]","og_url":"https:\/\/digitivia.com\/ar\/digitiviaai\/","og_site_name":"Digitivia","article_publisher":"https:\/\/www.facebook.com\/Digitivia\/","article_modified_time":"2025-12-11T09:44:09+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/digitivia.com\/wp-content\/uploads\/2025\/09\/cropped-solid-logo-.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@Digitivia","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/digitivia.com\/digitiviaai\/","url":"https:\/\/digitivia.com\/digitiviaai\/","name":"DigitiviaAI - Digitivia","isPartOf":{"@id":"https:\/\/digitivia.com\/#website"},"datePublished":"2025-08-18T19:31:24+00:00","dateModified":"2025-12-11T09:44:09+00:00","breadcrumb":{"@id":"https:\/\/digitivia.com\/digitiviaai\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/digitivia.com\/digitiviaai\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/digitivia.com\/digitiviaai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/digitivia.com\/"},{"@type":"ListItem","position":2,"name":"DigitiviaAI"}]},{"@type":"WebSite","@id":"https:\/\/digitivia.com\/#website","url":"https:\/\/digitivia.com\/","name":"Digitivia","description":"Ai &amp; Automation Solutions","publisher":{"@id":"https:\/\/digitivia.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/digitivia.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"},{"@type":"Organization","@id":"https:\/\/digitivia.com\/#organization","name":"Digitivia","url":"https:\/\/digitivia.com\/","logo":{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/digitivia.com\/#\/schema\/logo\/image\/","url":"https:\/\/digitivia.com\/wp-content\/uploads\/2025\/09\/cropped-solid-logo-.jpg","contentUrl":"https:\/\/digitivia.com\/wp-content\/uploads\/2025\/09\/cropped-solid-logo-.jpg","width":512,"height":512,"caption":"Digitivia"},"image":{"@id":"https:\/\/digitivia.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Digitivia\/","https:\/\/x.com\/Digitivia","https:\/\/www.instagram.com\/digitivia_\/","https:\/\/www.linkedin.com\/company\/82479467"]}]}},"_links":{"self":[{"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/pages\/5413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/comments?post=5413"}],"version-history":[{"count":52,"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/pages\/5413\/revisions"}],"predecessor-version":[{"id":6026,"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/pages\/5413\/revisions\/6026"}],"wp:attachment":[{"href":"https:\/\/digitivia.com\/ar\/wp-json\/wp\/v2\/media?parent=5413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}