PageSourceSearch

http://behmalt.com/_next/static/chunks/24059.0a4e170e315fa490.js

js behmalt.com collected 2026-10-02 23:53:40 UTC 2,015 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24059],{24059:(e,t,l)=>{l.r(t),l.d(t,{default:()=>c});var i=l(95155),n=l(12115),d=l(65851);function r(e){return e.replace(/[^a-zA-Z0-9_-]/g,"-")}function c({node:e,editable:t=!1}){let l=(0,d.z)(e.defaultProps),s=(0,n.useMemo)(()=>`daba-support-chat-${r(e.id||l.publicKey||"widget")}`,[e.id,l.publicKey]);return((0,n.useEffect)(()=>{var e,i;let n;if(t||!l.enabled||!l.publicKey)return;let d=`daba-support-chat-script-${r(l.publicKey)}-${r(s)}`;if(document.getElementById(d))return;let c=window.__AI_WIDGET_BOOTSTRAP,a={...c&&"object"==typeof c?c:{},[l.publicKey]:{inline:"inline"===l.mode,container_id:s,storage_scope:l.storageScope||s}};window.__AI_WIDGET_BOOTSTRAP=a,window.__AI_WIDGET_API_ORIGIN=l.serviceBaseUrl.replace(/\/+$/,"");let o=document.createElement("script");return o.id=d,o.async=!0,e=l.serviceBaseUrl,i=l.publicKey,n=e.replace(/\/+$/,""),o.src=`${n}/chat/module/embed/?key=${encodeURIComponent(i)}`,document.body.appendChild(o),()=>{o.remove(),window.__AI_WIDGET_BOOTSTRAP===a&&(window.__AI_WIDGET_BOOTSTRAP=c)}},[s,t,l.enabled,l.mode,l.publicKey,l.serviceBaseUrl,l.storageScope]),l.enabled&&l.publicKey)?t?(0,i.jsxs)("div",{className:"rounded-2xl border border-sky-200 bg-sky-50 p-4 text-center text-xs leading-6 text-sky-700",children:["ماژول چت پشتیبانی در خروجی سایت فعال می‌شود. ظاهر، رنگ‌بندی و آیکن از تنظیمات multi-ai خوانده می‌شود.",(0,i.jsx)("div",{className:"mt-1 font-mono text-[10px] text-sky-600",children:l.publicKey})]}):"inline"===l.mode?(0,i.jsx)("div",{id:s,className:"w-full",style:{minHeight:l.inlineMinHeight}}):null:t?(0,i.jsx)("div",{className:"rounded-2xl border border-dashed border-slate-300 bg-slate-50 p-4 text-center text-xs leading-6 text-slate-500",children:"برای نمایش ماژول چت پشتیبانی، اتصال AI و Public Key ماژول را در تنظیمات ویجت وارد کنید."}):null}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.