{"id":606,"date":"2023-03-18T17:02:35","date_gmt":"2023-03-18T17:02:35","guid":{"rendered":"https:\/\/jwz-fd.nl\/?page_id=606"},"modified":"2023-03-27T20:00:12","modified_gmt":"2023-03-27T20:00:12","slug":"chatbot","status":"publish","type":"page","link":"https:\/\/jwz-fd.nl\/index.php\/chatbot\/","title":{"rendered":"Chatbot"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"606\" class=\"elementor elementor-606\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0af081b elementor-section-height-min-height elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"0af081b\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\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-8b77527\" data-id=\"8b77527\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3fcc22e elementor-widget elementor-widget-heading\" data-id=\"3fcc22e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.11.5 - 14-03-2023 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Probeer onze zeer geavanceerde chatbot...<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3e68505 elementor-widget elementor-widget-text-editor\" data-id=\"3e68505\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.11.5 - 14-03-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#818a91;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#818a91;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p>Wij hebben een implementatie van ChatGPT in onze website waardoor u met al uw vragen ook hier terecht kan. Waarom probeert u dit niet een keer uit?<\/p>\t\t\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2d36ed8 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2d36ed8\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\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-a4b87ac\" data-id=\"a4b87ac\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cb22f1c elementor-widget elementor-widget-text-editor\" data-id=\"cb22f1c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<style>#mwai-chat-69d047507c365 {\n  --mwai-spacing: 15px;\n  --mwai-fontSize: 15px;\n  --mwai-borderRadius: 10px;\n  --mwai-fontColor: #333;\n  --mwai-backgroundPrimaryColor: #ffffff;\n  --mwai-backgroundSecondaryColor: #ffffff;\n  --mwai-aiAvatarBackgroundColor: #10a37f;\n  --mwai-userAvatarBackgroundColor: #135ea4;\n  --mwai-headerButtonsColor: #333;\n  --mwai-width: 460px;\n  --mwai-maxHeight: 40vh;\n}\n\n#mwai-chat-69d047507c365 .mwai-open-button {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  transition: all 0.2s ease-out;\n  z-index: 9999;\n  display: flex;\n  flex-direction: column;\n  align-items: end;\n}\n\n#mwai-chat-69d047507c365 .mwai-open-button .mwai-icon-text {\n  background: var(--mwai-backgroundPrimaryColor);\n  color: var(--mwai-headerButtonsColor);\n  max-width: 200px;\n  font-size: 13px;\n  margin-bottom: 15px;\n  padding: 5px 10px;\n  border-radius: 8px;\n}\n\n#mwai-chat-69d047507c365 .mwai-open-button:hover {\n  cursor: pointer;\n  filter: saturate(2.5) hue-rotate(5deg);\n}\n\n#mwai-chat-69d047507c365 .mwai-content {\n  background: var(--mwai-backgroundSecondaryColor);\n  color: var(--mwai-fontColor);\n  font-size: var(--mwai-fontSize);\n  border-radius: var(--mwai-borderRadius);\n  overflow: hidden;\n  display: flex;\n  flex-direction: column;\n}\n\n#mwai-chat-69d047507c365 .mwai-conversation {\n  overflow: auto;\n}\n\n#mwai-chat-69d047507c365 * {\n  box-sizing: border-box;\n}\n\n#mwai-chat-69d047507c365 a {\n  color: #2196f3;\n}\n\n#mwai-chat-69d047507c365 h1 {\n  font-size: 200%;\n}\n\n#mwai-chat-69d047507c365 h2 {\n  font-size: 160%;\n}\n\n#mwai-chat-69d047507c365 h3 {\n  font-size: 140%;\n}\n\n#mwai-chat-69d047507c365 h4 {\n  font-size: 120%;\n}\n\n#mwai-chat-69d047507c365 pre {\n  color: var(--mwai-fontColor);\n  border-radius: var(--mwai-borderRadius);\n  padding: calc(var(--mwai-spacing) * 2 \/ 3) var(--mwai-spacing);\n  break-after: auto;\n  font-size: 95%;\n  font-family: system-ui;\n  background: #343541;\n}\n\n#mwai-chat-69d047507c365 pre code {\n  padding: 0 !important;\n  font-family: system-ui;\n  background: #343541;\n}\n\n#mwai-chat-69d047507c365 ol {\n  padding: 0;\n  margin: 0 0 0 20px;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply {\n  display: flex;\n  padding: var(--mwai-spacing);\n  position: relative;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button {\n  opacity: 0;\n  transition: all 0.3s ease-out;\n  width: 22px;\n  height: 22px;\n  position: absolute;\n  right: var(--mwai-spacing);\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button .mwai-copy-button-one {\n  position: absolute;\n  width: 16px;\n  height: 16px;\n  margin-top: 0px;\n  margin-left: 0px;\n  background: white;\n  opacity: 0.4;\n  transition: all 0.2s ease-in;\n  cursor: pointer;\n  border-radius: 2px;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button .mwai-copy-button-two {\n  position: absolute;\n  width: 16px;\n  height: 16px;\n  margin-top: 6px;\n  margin-left: 6px;\n  background: white;\n  opacity: 0.6;\n  transition: all 0.2s ease-in;\n  cursor: pointer;\n  border-radius: 2px;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button:hover .mwai-copy-button-one {\n  opacity: 0.6;\n  margin-top: 0px;\n  margin-left: 6px;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button:hover .mwai-copy-button-two {\n  opacity: 1;\n  margin-top: 6px;\n  margin-left: 0px;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button.mwai-animate .mwai-copy-button-one {\n  opacity: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply .mwai-copy-button.mwai-animate .mwai-copy-button-two {\n  width: 18px;\n  height: 18px;\n  margin-top: 2px;\n  margin-left: 2px;\n  opacity: 1;\n}\n\n#mwai-chat-69d047507c365 .mwai-reply:hover .mwai-copy-button {\n  display: block;\n  opacity: 1;\n}\n\n#mwai-chat-69d047507c365 .mwai-ai, #mwai-chat-69d047507c365 .mwai-system {\n  background: var(--mwai-backgroundPrimaryColor);\n}\n\n#mwai-chat-69d047507c365 .mwai-name {\n  color: var(--mwai-fontColor);\n  margin-right: 5px;\n}\n\n#mwai-chat-69d047507c365 .mwai-name .mwai-name-text {\n  opacity: 0.50;\n  white-space: nowrap;\n}\n\n#mwai-chat-69d047507c365 .mwai-name .mwai-avatar {\n  margin-right: 10px;\n  width: 40px;\n  height: 40px;\n  background: var(--mwai-aiAvatarBackgroundColor);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 5px;\n  overflow: hidden;\n}\n\n#mwai-chat-69d047507c365 .mwai-name .mwai-avatar img {\n  max-width: 100%;\n  max-height: 100%;\n}\n\n#mwai-chat-69d047507c365 .mwai-name .mwai-avatar.mwai-svg img {\n  width: 28px;\n  height: 28px;\n  filter: brightness(0) invert(1);\n}\n\n#mwai-chat-69d047507c365 .mwai-user .mwai-name .mwai-avatar {\n  background: var(--mwai-userAvatarBackgroundColor);\n}\n\n#mwai-chat-69d047507c365 .mwai-text {\n  flex: auto;\n}\n\n#mwai-chat-69d047507c365 .mwai-text *:first-child {\n  margin-top: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-text *:last-child {\n  margin-bottom: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-text table {\n  width: 100%;\n  border: 2px solid var(--mwai-backgroundSecondaryColor);\n  border-collapse: collapse;\n}\n\n#mwai-chat-69d047507c365 .mwai-text thead {\n  background: var(--mwai-backgroundSecondaryColor);\n}\n\n#mwai-chat-69d047507c365 .mwai-text tr, #mwai-chat-69d047507c365 .mwai-text td {\n  padding: 2px 5px;\n}\n\n#mwai-chat-69d047507c365 .mwai-text td {\n  border: 2px solid var(--mwai-backgroundSecondaryColor);\n}\n\n#mwai-chat-69d047507c365 .mwai-text .mwai-typewriter {\n  display: inline-block;\n}\n\n#mwai-chat-69d047507c365 .mwai-text .mwai-typewriter &gt; :first-child {\n  margin-top: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-text &gt; *:first-child {\n  margin-top: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-text &gt; *:last-child {\n  margin-bottom: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-system .mwai-name {\n  display: none;\n}\n\n#mwai-chat-69d047507c365 .mwai-input {\n  display: flex;\n  padding: var(--mwai-spacing);\n  border-top: 1px solid var(--mwai-backgroundPrimaryColor);\n}\n\n#mwai-chat-69d047507c365 .mwai-input textarea {\n  background: var(--mwai-backgroundPrimaryColor);\n  color: var(--mwai-fontColor);\n  flex: auto;\n  padding: calc(var(--mwai-spacing) \/ 2) var(--mwai-spacing);\n  border: none;\n  border-radius: 5px;\n  font-size: var(--mwai-fontSize);\n  resize: none;\n  font-family: inherit;\n  line-height: calc(var(--mwai-spacing) * 2);\n  margin: 0;\n  overflow: hidden;\n}\n\n#mwai-chat-69d047507c365 .mwai-input textarea:focus {\n  outline: none;\n}\n\n#mwai-chat-69d047507c365 .mwai-input textarea::placeholder {\n  color: var(--mwai-fontColor);\n  opacity: 0.5;\n}\n\n#mwai-chat-69d047507c365 .mwai-compliance {\n  opacity: 0.50;\n  margin-top: calc( -1 * var(--mwai-spacing));\n  padding: calc(var(--mwai-spacing) \/ 1.5) var(--mwai-spacing);\n  font-size: smaller;\n  color: var(--mwai-fontColor);\n  text-align: left;\n}\n\n#mwai-chat-69d047507c365 button {\n  background: none;\n  color: var(--mwai-fontColor);\n  background-color: var(--mwai-backgroundSecondaryColor);\n  border: 1px solid var(--mwai-backgroundPrimaryColor);\n  margin-left: var(--mwai-spacing);\n  width: 90px;\n  border-radius: 5px;\n  cursor: pointer;\n  transition: all 0.2s ease-out;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n#mwai-chat-69d047507c365 button .mwai-timer {\n  margin-left: 5px;\n  margin-right: 5px;\n  font-size: 11px;\n}\n\n#mwai-chat-69d047507c365 button:hover {\n  background: var(--mwai-backgroundPrimaryColor);\n}\n\n#mwai-chat-69d047507c365 button {\n  position: relative;\n}\n\n#mwai-chat-69d047507c365 button[disabled] span {\n  display: none;\n}\n\n#mwai-chat-69d047507c365 button[disabled]::before {\n  content: '';\n  width: 18px;\n  height: 18px;\n  margin: auto;\n  border: 3px solid transparent;\n  border-top-color: var(--mwai-fontColor);\n  border-radius: 50%;\n  animation: mwai-button-spinner 1s ease infinite;\n}\n\n#mwai-chat-69d047507c365.mwai-window {\n  position: fixed;\n  right: 30px;\n  bottom: 30px;\n  width: var(--mwai-width);\n  z-index: 9999;\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header {\n  display: none;\n  justify-content: flex-end;\n  align-items: center;\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons {\n  display: flex;\n  align-items: center;\n  margin-bottom: 5px;\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {\n  justify-content: center;\n  height: 32px;\n  width: 33px;\n  cursor: pointer;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  background-color: var(--mwai-backgroundSecondaryColor);\n  border-radius: var(--mwai-borderRadius);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {\n  transition: all 0.2s ease-out;\n  content: ' ';\n  cursor: pointer;\n  position: absolute;\n  height: 13px;\n  width: 13px;\n  opacity: 0.75;\n  border: 2px solid var(--mwai-headerButtonsColor);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {\n  width: 16px;\n  height: 16px;\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button {\n  margin-left: 5px;\n  justify-content: center;\n  height: 32px;\n  width: 33px;\n  cursor: pointer;\n  background-color: var(--mwai-backgroundSecondaryColor);\n  border-radius: var(--mwai-borderRadius);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {\n  transition: all 0.2s ease-out;\n  transform: translate(16px, 5px) rotate(45deg);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {\n  transition: all 0.2s ease-out;\n  transform: translate(16px, 5px) rotate(-45deg);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, #mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {\n  content: ' ';\n  cursor: pointer;\n  position: absolute;\n  height: 22px;\n  width: 2px;\n  background-color: var(--mwai-headerButtonsColor);\n  opacity: 0.75;\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {\n  opacity: 1;\n  transform: translate(16px, 5px) rotate(135deg);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {\n  opacity: 1;\n  transform: translate(16px, 5px) rotate(45deg);\n}\n\n#mwai-chat-69d047507c365.mwai-window .mwai-content {\n  display: none;\n  opacity: 0;\n  max-height: var(--mwai-maxHeight);\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-bottom-left {\n  bottom: 30px;\n  right: inherit;\n  left: 30px;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-bottom-left .mwai-open-button {\n  right: inherit;\n  left: 0;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-top-right {\n  top: 30px;\n  bottom: inherit;\n  right: 30px;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-top-right .mwai-open-button {\n  top: 0;\n  bottom: inherit;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-top-left {\n  top: 30px;\n  bottom: inherit;\n  right: inherit;\n  left: 30px;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-top-left .mwai-open-button {\n  top: 0;\n  bottom: inherit;\n  right: inherit;\n  left: 0;\n}\n\n#mwai-chat-69d047507c365 .mwai-gallery {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  grid-gap: 5px;\n}\n\n#mwai-chat-69d047507c365 .mwai-gallery img {\n  width: 100%;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {\n  margin-bottom: 0px;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {\n  width: 16px;\n  height: 16px;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {\n  width: 13px;\n  height: 13px;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-close-button {\n  margin-left: -5px;\n}\n\n#mwai-chat-69d047507c365.mwai-fullscreen:not(.mwai-window), #mwai-chat-69d047507c365.mwai-fullscreen.mwai-window.mwai-open {\n  position: fixed;\n  left: 0 !important;\n  right: 0 !important;\n  bottom: 0 !important;\n  top: 0 !important;\n  width: inherit;\n  height: inherit;\n  max-height: inherit;\n  max-width: inherit;\n  display: flex;\n  flex-direction: column;\n  margin: 0;\n  z-index: 999999;\n  background-color: var(--mwai-backgroundSecondaryColor);\n}\n\n#mwai-chat-69d047507c365.mwai-fullscreen:not(.mwai-window) .mwai-content, #mwai-chat-69d047507c365.mwai-fullscreen.mwai-window.mwai-open .mwai-content {\n  height: 100%;\n  max-height: inherit;\n  border-radius: inherit;\n}\n\n#mwai-chat-69d047507c365.mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, #mwai-chat-69d047507c365.mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {\n  flex: auto;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-open .mwai-header {\n  display: flex;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-open .mwai-content {\n  display: flex;\n  transition: opacity 200ms ease-in-out 0s;\n  opacity: 1;\n}\n\n#mwai-chat-69d047507c365.mwai-window.mwai-open .mwai-open-button {\n  display: none;\n}\n\n@media (max-width: 760px) {\n  #mwai-chat-69d047507c365.mwai-window {\n    left: 10px;\n    right: 10px;\n    bottom: 10px;\n    width: calc(100% - 20px);\n    z-index: 9999999999;\n  }\n  #mwai-chat-69d047507c365 .mwai-reply {\n    flex-direction: column;\n  }\n  #mwai-chat-69d047507c365 .mwai-input {\n    flex-direction: column;\n  }\n  #mwai-chat-69d047507c365 .mwai-input button {\n    margin: 15px 0 0 0;\n    height: 40px;\n    width: inherit;\n  }\n  #mwai-chat-69d047507c365 .mwai-name {\n    margin-right: 0;\n    max-width: inherit;\n  }\n}\n\n@keyframes mwai-button-spinner {\n  from {\n    transform: rotate(0turn);\n  }\n  to {\n    transform: rotate(1turn);\n  }\n}\n\n.admin-bar #mwai-chat-69d047507c365.mwai-fullscreen:not(.mwai-window),\n.admin-bar #mwai-chat-69d047507c365.mwai-fullscreen.mwai-window.mwai-open {\n  top: 32px;\n}\n<\/style>\t\t\t<div id=\"mwai-chat-69d047507c365\" class=\"mwai-chat mwai-chatgpt\">\n\t\t\t\t\t\t\t\t<div class=\"mwai-content\">\n\t\t\t\t\t<div class=\"mwai-conversation\">\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"mwai-input\">\n\t\t\t\t\t\t<textarea rows=\"1\" maxlength=\"512\" placeholder=\"Typ hier uw bericht...\"><\/textarea>\n\t\t\t\t\t\t<button><span>Verstuur<\/span><\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\n\t\t\t<script>\n\t\t\t(function () {\n\t\t\t\tlet isMobile = window.matchMedia( \"only screen and (max-width: 760px)\" ).matches;\n\t\t\t\tlet isWindow = false;\n\t\t\t\tlet isDebugMode = true;\n\t\t\t\tlet isFullscreen = false;\n\t\t\t\tlet restNonce = '9138aa0e2c';\n\t\t\t\tlet apiURL = 'https:\/\/jwz-fd.nl\/index.php\/wp-json\/ai-chatbot\/v1\/chat';\n\t\t\t\tlet isCasuallyFineTuned = false;\n\t\t\t\tlet rawUserName = 'User: ';\n\t\t\t\tlet rawAiName = 'AI: ';\n\t\t\t\tlet userName = '<div class=\"mwai-name-text\">Gebruiker:<\/div>';\n\t\t\t\tlet aiName = '<div class=\"mwai-name-text\">JWZ Chatbot:<\/div>';\n\t\t\t\tlet sysName = 'System:';\n\t\t\t\tlet env = 'chatbot';\n\t\t\t\tlet apiKey = '';\n\t\t\t\tlet session = 'N\/A';\n\t\t\t\tlet mode = 'chat';\n\t\t\t\tlet model = 'gpt-3.5-turbo';\n\t\t\t\tlet context = isCasuallyFineTuned ? null : 'Converse as if you were an AI assistant. Be friendly, creative.';\n\t\t\t\tlet embeddingsIndex = '';\n\t\t\t\tlet promptEnding = '';\n\t\t\t\tlet stop = '';\n\t\t\t\tlet startSentence = 'Hallo, waar kan ik u mee van dienst zijn?';\n\t\t\t\tlet maxSentences = 15;\n\t\t\t\tlet memorizeChat = false;\n\t\t\t\tlet maxTokens = 1024;\n\t\t\t\tlet maxResults = 1;\n\t\t\t\tlet temperature = 0.8;\n\t\t\t\tlet typewriter = false;\n\t\t\t\tlet copyButton = true;\n\t\t\t\tlet clientId = randomStr();\n\t\t\t\tlet memorizedChat = { clientId, messages: [] };\n\n\t\t\t\tif (isDebugMode) {\n\t\t\t\t\twindow.mwai_69d047507c365 = {\n\t\t\t\t\t\tmemorizedChat: memorizedChat,\n\t\t\t\t\t\tparameters: { mode: mode, model, temperature, maxTokens, context: context, startSentence,\n\t\t\t\t\t\t\tisMobile, isWindow, isFullscreen, isCasuallyFineTuned, memorizeChat, maxSentences,\n\t\t\t\t\t\t\trawUserName, rawAiName, embeddingsIndex, typewriter, maxResults, userName, aiName, env, apiKey, session\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tfunction randomStr() {\n\t\t\t\t\treturn Math.random().toString(36).substring(2);\n\t\t\t\t}\n\n\t\t\t\t\/\/ Set button text\n\t\t\t\tfunction setButtonText() {\n\t\t\t\t\tlet input = document.querySelector('#mwai-chat-69d047507c365 .mwai-input textarea');\n\t\t\t\t\tlet button = document.querySelector('#mwai-chat-69d047507c365 .mwai-input button');\n\t\t\t\t\tlet buttonSpan = button.querySelector('span');\n\t\t\t\t\tif (memorizedChat.messages.length < 2) {\n\t\t\t\t\t\tbuttonSpan.innerHTML = 'Verstuur';\n\t\t\t\t\t}\n\t\t\t\t\telse if (!input.value.length) {\n\t\t\t\t\t\tbutton.classList.add('mwai-clear');\n\t\t\t\t\t\tbuttonSpan.innerHTML = 'Clear';\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tbutton.classList.remove('mwai-clear');\n\t\t\t\t\t\tbuttonSpan.innerHTML = 'Verstuur';\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t\/\/ Inject timer\n\t\t\t\tfunction injectTimer(element) {\n\t\t\t\t\tlet intervalId;\n\t\t\t\t\tlet startTime = new Date();\n\t\t\t\t\tlet timerElement = null;\n\n\t\t\t\t\tfunction updateTimer() {\n\t\t\t\t\t\tlet now = new Date();\n\t\t\t\t\t\tlet timer = Math.floor((now - startTime) \/ 1000);\n\t\t\t\t\t\tif (!timerElement) {\n\t\t\t\t\t\t\tif (timer > 0.5) {\n\t\t\t\t\t\t\t\ttimerElement = document.createElement('div');\n\t\t\t\t\t\t\t\ttimerElement.classList.add('mwai-timer');\n\t\t\t\t\t\t\t\telement.appendChild(timerElement);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (timerElement) {\n\t\t\t\t\t\t\tlet minutes = Math.floor(timer \/ 60);\n\t\t\t\t\t\t\tlet seconds = timer - (minutes * 60);\n\t\t\t\t\t\t\tseconds = seconds < 10 ? '0' + seconds : seconds;\n\t\t\t\t\t\t\tlet display = minutes + ':' + seconds;\n\t\t\t\t\t\t\ttimerElement.innerHTML = display;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tintervalId = setInterval(updateTimer, 500);\n\n\t\t\t\t\treturn function stopTimer() {\n\t\t\t\t\t\tclearInterval(intervalId);\n\t\t\t\t\t\tif (timerElement) {\n\t\t\t\t\t\t\ttimerElement.remove();\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t\/\/ Push the reply in the conversation\n\t\t\t\tfunction addReply(text, role = 'user', replay = false) {\n\t\t\t\t\tvar conversation = document.querySelector('#mwai-chat-69d047507c365 .mwai-conversation');\n\n\t\t\t\t\tif (memorizeChat) {\n\t\t\t\t\t\tlocalStorage.setItem('mwai-chat-69d047507c365', JSON.stringify(memorizedChat));\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ If text is array, then it's image URLs. Let's create a simple gallery in HTML in $text.\n\t\t\t\t\tif (Array.isArray(text)) {\n\t\t\t\t\t\tvar newText = '<div class=\"mwai-gallery\">';\n\t\t\t\t\t\tfor (var i = 0; i < text.length; i++) {\n\t\t\t\t\t\t\tnewText += '<a href=\"' + text[i] + '\" target=\"_blank\"><img decoding=\"async\" src=\"' + text[i] + '\" \/>';\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttext = newText + '<\/div>';\n\t\t\t\t\t}\n\n\t\t\t\t\tvar mwaiClasses = ['mwai-reply'];\n\t\t\t\t\tif (role === 'assistant') {\n\t\t\t\t\t\tmwaiClasses.push('mwai-ai');\n\t\t\t\t\t}\n\t\t\t\t\telse if (role === 'system') {\n\t\t\t\t\t\tmwaiClasses.push('mwai-system');\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmwaiClasses.push('mwai-user');\n\t\t\t\t\t}\n\t\t\t\t\tvar div = document.createElement('div');\n\t\t\t\t\tdiv.classList.add(...mwaiClasses);\n\t\t\t\t\tvar nameSpan = document.createElement('span');\n\t\t\t\t\tnameSpan.classList.add('mwai-name');\n\t\t\t\t\tif (role === 'assistant') {\n\t\t\t\t\t\tnameSpan.innerHTML = aiName;\n\t\t\t\t\t}\n\t\t\t\t\telse if (role === 'system') {\n\t\t\t\t\t\tnameSpan.innerHTML = sysName;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tnameSpan.innerHTML = userName;\n\t\t\t\t\t}\n\t\t\t\t\tvar textSpan = document.createElement('span');\n\t\t\t\t\ttextSpan.classList.add('mwai-text');\n\t\t\t\t\ttextSpan.innerHTML = text;\n\t\t\t\t\tdiv.appendChild(nameSpan);\n\t\t\t\t\tdiv.appendChild(textSpan);\n\n\t\t\t\t\t\/\/ Copy Button\n\t\t\t\t\tif (copyButton && role === 'assistant') {\n\t\t\t\t\t\tvar button = document.createElement('div');\n\t\t\t\t\t\tbutton.classList.add('mwai-copy-button');\n\t\t\t\t\t\tvar firstElement = document.createElement('div');\n\t\t\t\t\t\tfirstElement.classList.add('mwai-copy-button-one');\n\t\t\t\t\t\tvar secondElement = document.createElement('div');\n\t\t\t\t\t\tsecondElement.classList.add('mwai-copy-button-two');\n\t\t\t\t\t\tbutton.appendChild(firstElement);\n\t\t\t\t\t\tbutton.appendChild(secondElement);\n\t\t\t\t\t\tdiv.appendChild(button);\n\t\t\t\t\t\tbutton.addEventListener('click', function () {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tvar content = textSpan.textContent;\n\t\t\t\t\t\t\t\tnavigator.clipboard.writeText(content);\n\t\t\t\t\t\t\t\tbutton.classList.add('mwai-animate');\n\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\tbutton.classList.remove('mwai-animate');\n\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcatch (err) {\n\t\t\t\t\t\t\t\tconsole.warn('Not allowed to copy to clipboard. Make sure your website uses HTTPS.');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tconversation.appendChild(div);\n\n\t\t\t\t\tif (typewriter) {\n\t\t\t\t\t\tif (role === 'assistant' && text !== startSentence && !replay) {\n\t\t\t\t\t\t\tlet typewriter = new Typewriter(textSpan, {\n\t\t\t\t\t\t\t\tdeleteSpeed: 50, delay: 25, loop: false, cursor: '', autoStart: true,\n\t\t\t\t\t\t\t\twrapperClassName: 'mwai-typewriter',\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\ttypewriter.typeString(text).start().callFunction((state) => {\n\t\t\t\t\t\t\t\tstate.elements.cursor.setAttribute('hidden', 'hidden');\n\t\t\t\t\t\t\t\ttypewriter.stop();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconversation.scrollTop = conversation.scrollHeight;\n\t\t\t\t\tsetButtonText();\n\n\t\t\t\t\t\/\/ Syntax coloring\n\t\t\t\t\tif (typeof hljs !== 'undefined') {\n\t\t\t\t\t\tdocument.querySelectorAll('pre code').forEach((el) => {\n\t\t\t\t\t\t\thljs.highlightElement(el);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfunction buildPrompt(last = 15) {\n\t\t\t\t\tlet prompt = context ? (context + '\\n\\n') : '';\n\t\t\t\t\tmemorizedChat.messages = memorizedChat.messages.slice(-last);\n\n\t\t\t\t\t\/\/ Casually fine tuned, let's use the last question\n\t\t\t\t\tif (isCasuallyFineTuned) {\n\t\t\t\t\t\tlet lastLine = memorizedChat.messages[memorizedChat.messages.length - 1];\n\t\t\t\t\t\tprompt = lastLine.content + promptEnding;\n\t\t\t\t\t\treturn prompt;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Otherwise let's compile the latest conversation\n\t\t\t\t\tlet conversation = memorizedChat.messages.map(x => x.who + x.content);\n\t\t\t\t\tprompt += conversation.join('\\n');\n\t\t\t\t\tprompt += '\\n' + rawAiName;\n\t\t\t\t\treturn prompt;\n\t\t\t\t}\n\n\t\t\t\t\/\/ Function to request the completion\n\t\t\t\tfunction onSendClick() {\n\t\t\t\t\tlet input = document.querySelector('#mwai-chat-69d047507c365 .mwai-input textarea');\n\t\t\t\t\tlet inputText = input.value.trim();\n\n\t\t\t\t\t\/\/ Reset the conversation if empty\n\t\t\t\t\tif (inputText === '') {\n\t\t\t\t\t\tclientId = randomStr();\n\t\t\t\t\t\tdocument.querySelector('#mwai-chat-69d047507c365 .mwai-conversation').innerHTML = '';\n\t\t\t\t\t\tlocalStorage.removeItem('mwai-chat-69d047507c365')\n\t\t\t\t\t\tmemorizedChat = { clientId: clientId, messages: [] };\n\t\t\t\t\t\tmemorizedChat.messages.push({ \n\t\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\t\trole: 'assistant',\n\t\t\t\t\t\t\tcontent: startSentence,\n\t\t\t\t\t\t\twho: rawAiName,\n\t\t\t\t\t\t\thtml: startSentence\n\t\t\t\t\t\t});\n\t\t\t\t\t\taddReply(startSentence, 'assistant');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Disable the button\n\t\t\t\t\tvar button = document.querySelector('#mwai-chat-69d047507c365 .mwai-input button');\n\t\t\t\t\tbutton.disabled = true;\n\n\t\t\t\t\t\/\/ Add the user reply\n\t\t\t\t\tmemorizedChat.messages.push({\n\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\trole: 'user',\n\t\t\t\t\t\tcontent: inputText,\n\t\t\t\t\t\twho: rawUserName,\n\t\t\t\t\t\thtml: inputText\n\t\t\t\t\t});\n\t\t\t\t\taddReply(inputText, 'user');\n\t\t\t\t\tinput.value = '';\n\t\t\t\t\tinput.setAttribute('rows', 1);\n\t\t\t\t\tinput.disabled = true;\n\n\t\t\t\t\tlet prompt = buildPrompt(maxSentences);\n\n\t\t\t\t\tconst data = mode === 'images' ? {\n\t\t\t\t\t\tenv, session: session,\n\t\t\t\t\t\tprompt: inputText, rawInput: inputText,\n\t\t\t\t\t\tmodel: model, maxResults, apiKey: apiKey, clientId: clientId,\n\t\t\t\t\t} : {\n\t\t\t\t\t\tenv, session: session,\n\t\t\t\t\t\tprompt: prompt, context: context,\n\t\t\t\t\t\tmessages: memorizedChat.messages, rawInput: inputText,\n\t\t\t\t\t\tuserName: userName, aiName: aiName,\n\t\t\t\t\t\tmodel: model, temperature: temperature, maxTokens: maxTokens, maxResults: 1, apiKey: apiKey,\n\t\t\t\t\t\tembeddingsIndex: embeddingsIndex, stop: stop, clientId: clientId,\n\t\t\t\t\t};\n\n\t\t\t\t\t\/\/ Start the timer\n\t\t\t\t\tconst stopTimer = injectTimer(button);\n\n\t\t\t\t\t\/\/ Send the request\n\t\t\t\t\tif (isDebugMode) {\n\t\t\t\t\t\tconsole.log('[BOT] Sent: ', data);\n\t\t\t\t\t}\n\t\t\t\t\tfetch(apiURL, { method: 'POST', headers: {\n\t\t\t\t\t\t\t'Content-Type': 'application\/json',\n\t\t\t\t\t\t\t'X-WP-Nonce': restNonce,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tbody: JSON.stringify(data)\n\t\t\t\t\t})\n\t\t\t\t\t.then(response => response.json())\n\t\t\t\t\t.then(data => {\n\t\t\t\t\t\tif (isDebugMode) {\n\t\t\t\t\t\t\tconsole.log('[BOT] Recv: ', data);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!data.success) {\n\t\t\t\t\t\t\taddReply(data.message, 'system');\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tlet html = data.images ? data.images : data.html;\n\t\t\t\t\t\t\tmemorizedChat.messages.push({\n\t\t\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\t\t\trole: 'assistant',\n\t\t\t\t\t\t\t\tcontent: data.answer,\n\t\t\t\t\t\t\t\twho: rawAiName,\n\t\t\t\t\t\t\t\thtml: html\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\taddReply(html, 'assistant');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbutton.disabled = false;\n\t\t\t\t\t\tinput.disabled = false;\n\t\t\t\t\t\tstopTimer();\n\n\t\t\t\t\t\t\/\/ Only focus only on desktop (to avoid the mobile keyboard to kick-in)\n\t\t\t\t\t\tif (!isMobile) {\n\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\t.catch(error => {\n\t\t\t\t\t\tconsole.error(error);\n\t\t\t\t\t\tbutton.disabled = false;\n\t\t\t\t\t\tinput.disabled = false;\n\t\t\t\t\t\tstopTimer();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/\/ Keep the textarea height in sync with the content\n\t\t\t\tfunction resizeTextArea(ev) {\n\t\t\t\t\tev.target.style.height = 'auto';\n\t\t\t\t\tev.target.style.height = ev.target.scrollHeight + 'px';\n\t\t\t\t}\n\n\t\t\t\t\/\/ Keep the textarea height in sync with the content\n\t\t\t\tfunction delayedResizeTextArea(ev) {\n\t\t\t\t\twindow.setTimeout(resizeTextArea, 0, event);\n\t\t\t\t}\n\n\t\t\t\t\/\/ Init the chatbot\n\t\t\t\tfunction initMeowChatbot() {\n\t\t\t\t\tvar input = document.querySelector('#mwai-chat-69d047507c365 .mwai-input textarea');\n\t\t\t\t\tvar button = document.querySelector('#mwai-chat-69d047507c365 .mwai-input button');\n\n\t\t\t\t\tinput.addEventListener('keypress', (event) => {\n\t\t\t\t\t\tlet text = event.target.value;\n\t\t\t\t\t\tif (event.keyCode === 13 && !text.length && !event.shiftKey) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (event.keyCode === 13 && text.length && !event.shiftKey) {\n\t\t\t\t\t\t\tonSendClick();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tinput.addEventListener('keydown', (event) => {\n\t\t\t\t\t\tvar rows = input.getAttribute('rows');\n\t\t\t\t\t\tif (event.keyCode === 13 && event.shiftKey) {\n\t\t\t\t\t\t\tvar lines = input.value.split('\\n').length + 1;\n\t\t\t\t\t\t\t\/\/mwaiSetTextAreaHeight(input, lines);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tinput.addEventListener('keyup', (event) => {\n\t\t\t\t\t\tvar rows = input.getAttribute('rows');\n\t\t\t\t\t\tvar lines = input.value.split('\\n').length ;\n\t\t\t\t\t\t\/\/mwaiSetTextAreaHeight(input, lines);\n\t\t\t\t\t\tsetButtonText();\n\t\t\t\t\t});\n\n\t\t\t\t\tinput.addEventListener('change', resizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('cut', delayedResizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('paste', delayedResizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('drop', delayedResizeTextArea, false);\n\t\t\t\t\tinput.addEventListener('keydown', delayedResizeTextArea, false);\n\n\t\t\t\t\tbutton.addEventListener('click', (event) => {\n\t\t\t\t\t\tonSendClick();\n\t\t\t\t\t});\n\n\t\t\t\t\t\/\/ If window, add event listener to mwai-open-button and mwai-close-button\n\t\t\t\t\tif ( isWindow ) {\n\t\t\t\t\t\tvar openButton = document.querySelector('#mwai-chat-69d047507c365 .mwai-open-button');\n\t\t\t\t\t\topenButton.addEventListener('click', (event) => {\n\t\t\t\t\t\t\tvar chat = document.querySelector('#mwai-chat-69d047507c365');\n\t\t\t\t\t\t\tchat.classList.add('mwai-open');\n\t\t\t\t\t\t\t\/\/ Only focus only on desktop (to avoid the mobile keyboard to kick-in)\n\t\t\t\t\t\t\tif (!isMobile) {\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tvar closeButton = document.querySelector('#mwai-chat-69d047507c365 .mwai-close-button');\n\t\t\t\t\t\tcloseButton.addEventListener('click', (event) => {\n\t\t\t\t\t\t\tvar chat = document.querySelector('#mwai-chat-69d047507c365');\n\t\t\t\t\t\t\tchat.classList.remove('mwai-open');\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (isFullscreen) {\n\t\t\t\t\t\t\tvar resizeButton = document.querySelector('#mwai-chat-69d047507c365 .mwai-resize-button');\n\t\t\t\t\t\t\tresizeButton.addEventListener('click', (event) => {\n\t\t\t\t\t\t\t\tvar chat = document.querySelector('#mwai-chat-69d047507c365');\n\t\t\t\t\t\t\t\tchat.classList.toggle('mwai-fullscreen');\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Get back the previous chat if any for the same ID\n\t\t\t\t\tvar chatHistory = [];\n\t\t\t\t\tif (memorizeChat) {\n\t\t\t\t\t\tchatHistory = localStorage.getItem('mwai-chat-69d047507c365');\n\t\t\t\t\t\tif (chatHistory) {\n\t\t\t\t\t\t\tmemorizedChat = JSON.parse(chatHistory);\n\t\t\t\t\t\t\tif (memorizedChat && memorizedChat.clientId && memorizedChat.messages) {\n\t\t\t\t\t\t\t\tclientId = memorizedChat.clientId;\n\t\t\t\t\t\t\t\tmemorizedChat.messages = memorizedChat.messages.filter(x => x && x.html && x.role);\n\t\t\t\t\t\t\t\tmemorizedChat.messages.forEach(x => {\n\t\t\t\t\t\t\t\t\taddReply(x.html, x.role, true);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tmemorizedChat = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!memorizedChat) {\n\t\t\t\t\t\t\tmemorizedChat = {\n\t\t\t\t\t\t\t\tclientId: clientId,\n\t\t\t\t\t\t\t\tmessages: []\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (memorizedChat.messages.length === 0) {\n\t\t\t\t\t\tmemorizedChat.messages.push({ \n\t\t\t\t\t\t\tid: randomStr(),\n\t\t\t\t\t\t\trole: 'assistant',\n\t\t\t\t\t\t\tcontent: startSentence,\n\t\t\t\t\t\t\twho: rawAiName,\n\t\t\t\t\t\t\thtml: startSentence\n\t\t\t\t\t\t});\n\t\t\t\t\t\taddReply(startSentence, 'assistant');\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t\/\/ Let's go totally meoooow on this!\n\t\t\t\tinitMeowChatbot();\n\t\t\t})();\n\t\t\t<\/script>\n\n\t\t\n\t\t\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-47960047 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"47960047\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\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-423e70e4\" data-id=\"423e70e4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-318f1c85 elementor-widget elementor-widget-heading\" data-id=\"318f1c85\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Contact<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-18026649 elementor-widget elementor-widget-text-editor\" data-id=\"18026649\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Wilt u meteen via de website contact met ons opnemen? Dat kan, voeg hieronder uw gegevens toe en wij nemen zo spoedig mogelijk contact met u op!<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b74af29 elementor-widget elementor-widget-text-editor\" data-id=\"4b74af29\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"wpforms-container wpforms-container-full\" id=\"wpforms-343\"><form id=\"wpforms-form-343\" class=\"wpforms-validate wpforms-form wpforms-ajax-form\" data-formid=\"343\" method=\"post\" enctype=\"multipart\/form-data\" action=\"\/index.php\/wp-json\/wp\/v2\/pages\/606\" data-token=\"0caca62981dbb0b773530a97754384b6\"><noscript class=\"wpforms-error-noscript\">Schakel JavaScript in je browser in om dit formulier in te vullen.<\/noscript><div class=\"wpforms-field-container\"><div id=\"wpforms-343-field_0-container\" class=\"wpforms-field wpforms-field-name\" data-field-id=\"0\"><label class=\"wpforms-field-label\" for=\"wpforms-343-field_0\">Naam <span class=\"wpforms-required-label\">*<\/span><\/label><div class=\"wpforms-field-row wpforms-field-medium\"><div class=\"wpforms-field-row-block wpforms-first wpforms-one-half\"><input type=\"text\" id=\"wpforms-343-field_0\" class=\"wpforms-field-name-first wpforms-field-required\" name=\"wpforms[fields][0][first]\" required><label for=\"wpforms-343-field_0\" class=\"wpforms-field-sublabel after \">Voornaam<\/label><\/div><div class=\"wpforms-field-row-block wpforms-one-half\"><input type=\"text\" id=\"wpforms-343-field_0-last\" class=\"wpforms-field-name-last wpforms-field-required\" name=\"wpforms[fields][0][last]\" required><label for=\"wpforms-343-field_0-last\" class=\"wpforms-field-sublabel after \">Achternaam<\/label><\/div><\/div><\/div><div id=\"wpforms-343-field_3-container\" class=\"wpforms-field wpforms-field-text\" data-field-id=\"3\"><label class=\"wpforms-field-label\" for=\"wpforms-343-field_3\">Telefoonnummer <span class=\"wpforms-required-label\">*<\/span><\/label><input type=\"text\" id=\"wpforms-343-field_3\" class=\"wpforms-field-medium wpforms-field-required wpforms-limit-characters-enabled\" data-form-id=\"343\" data-field-id=\"3\" data-text-limit=\"11\" name=\"wpforms[fields][3]\" value=\"06 12345678\" maxlength=\"11\" required><div class=\"wpforms-field-description\">Voer hier uw telefoonnummer in<\/div><\/div><div id=\"wpforms-343-field_1-container\" class=\"wpforms-field wpforms-field-email\" data-field-id=\"1\"><label class=\"wpforms-field-label\" for=\"wpforms-343-field_1\">E-mail <span class=\"wpforms-required-label\">*<\/span><\/label><input type=\"email\" id=\"wpforms-343-field_1\" class=\"wpforms-field-medium wpforms-field-required\" name=\"wpforms[fields][1]\" required><div class=\"wpforms-field-description\">Voeg hier uw e-mail adres  in<\/div><\/div><div id=\"wpforms-343-field_2-container\" class=\"wpforms-field wpforms-field-textarea\" data-field-id=\"2\"><label class=\"wpforms-field-label\" for=\"wpforms-343-field_2\">Uw vraag of wensen <span class=\"wpforms-required-label\">*<\/span><\/label><textarea id=\"wpforms-343-field_2\" class=\"wpforms-field-medium wpforms-field-required\" name=\"wpforms[fields][2]\" required><\/textarea><div class=\"wpforms-field-description\">Beschrijf hier wat uw bericht is, hoe wij u het beste te woord kunnen staan, of wat uw vraag is<\/div><\/div><\/div><div class=\"wpforms-submit-container\"><input type=\"hidden\" name=\"wpforms[id]\" value=\"343\"><input type=\"hidden\" name=\"wpforms[author]\" value=\"1\"><button type=\"submit\" name=\"wpforms[submit]\" id=\"wpforms-submit-343\" class=\"wpforms-submit\" data-alt-text=\"Verzenden...\" data-submit-text=\"Verstuur uw bericht\" aria-live=\"assertive\" value=\"wpforms-submit\">Verstuur uw bericht<\/button><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jwz-fd.nl\/wp-content\/plugins\/wpforms-lite\/assets\/images\/submit-spin.svg\" class=\"wpforms-submit-spinner\" style=\"display: none;\" width=\"26\" height=\"26\" alt=\"Bezig met laden\"><\/div><\/form><\/div>  <!-- .wpforms-container -->\t\t\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Probeer onze zeer geavanceerde chatbot&#8230; Wij hebben een implementatie van ChatGPT in onze website waardoor u met al uw vragen ook hier terecht kan. Waarom probeert u dit niet een keer uit? Contact Wilt u meteen via de website contact met ons opnemen? Dat kan, voeg hieronder uw gegevens toe en wij nemen zo spoedig&hellip;&nbsp;<a href=\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/\" class=\"\" rel=\"bookmark\">Lees verder &raquo;<span class=\"screen-reader-text\">Chatbot<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0,"footnotes":""},"class_list":["post-606","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Chatbot - JWZ Financi\u00eble diensten<\/title>\n<meta name=\"description\" content=\"Probeer onze chatbot voor al uw vragen. Hiervoor hoeft u alleen uw vraag in te typen in het typeveld en uw vraag antwoord komt tevoorschijn.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chatbot - JWZ Financi\u00eble diensten\" \/>\n<meta property=\"og:description\" content=\"Probeer onze chatbot voor al uw vragen. Hiervoor hoeft u alleen uw vraag in te typen in het typeveld en uw vraag antwoord komt tevoorschijn.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/\" \/>\n<meta property=\"og:site_name\" content=\"JWZ Financi\u00eble diensten\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-27T20:00:12+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/\",\"url\":\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/\",\"name\":\"Chatbot - JWZ Financi\u00eble diensten\",\"isPartOf\":{\"@id\":\"https:\/\/jwz-fd.nl\/#website\"},\"datePublished\":\"2023-03-18T17:02:35+00:00\",\"dateModified\":\"2023-03-27T20:00:12+00:00\",\"description\":\"Probeer onze chatbot voor al uw vragen. Hiervoor hoeft u alleen uw vraag in te typen in het typeveld en uw vraag antwoord komt tevoorschijn.\",\"breadcrumb\":{\"@id\":\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jwz-fd.nl\/index.php\/chatbot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jwz-fd.nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chatbot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jwz-fd.nl\/#website\",\"url\":\"https:\/\/jwz-fd.nl\/\",\"name\":\"JWZ Financi\u00eble diensten\",\"description\":\"Uw persoonlijke financieel adviseur\",\"publisher\":{\"@id\":\"https:\/\/jwz-fd.nl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jwz-fd.nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jwz-fd.nl\/#organization\",\"name\":\"JWZ Financi\u00eble diensten\",\"url\":\"https:\/\/jwz-fd.nl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\/\/jwz-fd.nl\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"JWZ Financi\u00eble diensten\"},\"image\":{\"@id\":\"https:\/\/jwz-fd.nl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chatbot - JWZ Financi\u00eble diensten","description":"Probeer onze chatbot voor al uw vragen. Hiervoor hoeft u alleen uw vraag in te typen in het typeveld en uw vraag antwoord komt tevoorschijn.","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:\/\/jwz-fd.nl\/index.php\/chatbot\/","og_locale":"nl_NL","og_type":"article","og_title":"Chatbot - JWZ Financi\u00eble diensten","og_description":"Probeer onze chatbot voor al uw vragen. Hiervoor hoeft u alleen uw vraag in te typen in het typeveld en uw vraag antwoord komt tevoorschijn.","og_url":"https:\/\/jwz-fd.nl\/index.php\/chatbot\/","og_site_name":"JWZ Financi\u00eble diensten","article_modified_time":"2023-03-27T20:00:12+00:00","twitter_card":"summary_large_image","twitter_misc":{"Geschatte leestijd":"1 minuut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jwz-fd.nl\/index.php\/chatbot\/","url":"https:\/\/jwz-fd.nl\/index.php\/chatbot\/","name":"Chatbot - JWZ Financi\u00eble diensten","isPartOf":{"@id":"https:\/\/jwz-fd.nl\/#website"},"datePublished":"2023-03-18T17:02:35+00:00","dateModified":"2023-03-27T20:00:12+00:00","description":"Probeer onze chatbot voor al uw vragen. Hiervoor hoeft u alleen uw vraag in te typen in het typeveld en uw vraag antwoord komt tevoorschijn.","breadcrumb":{"@id":"https:\/\/jwz-fd.nl\/index.php\/chatbot\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jwz-fd.nl\/index.php\/chatbot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jwz-fd.nl\/index.php\/chatbot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jwz-fd.nl\/"},{"@type":"ListItem","position":2,"name":"Chatbot"}]},{"@type":"WebSite","@id":"https:\/\/jwz-fd.nl\/#website","url":"https:\/\/jwz-fd.nl\/","name":"JWZ Financi\u00eble diensten","description":"Uw persoonlijke financieel adviseur","publisher":{"@id":"https:\/\/jwz-fd.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jwz-fd.nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/jwz-fd.nl\/#organization","name":"JWZ Financi\u00eble diensten","url":"https:\/\/jwz-fd.nl\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/jwz-fd.nl\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"JWZ Financi\u00eble diensten"},"image":{"@id":"https:\/\/jwz-fd.nl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/pages\/606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/comments?post=606"}],"version-history":[{"count":25,"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/pages\/606\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/pages\/606\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/jwz-fd.nl\/index.php\/wp-json\/wp\/v2\/media?parent=606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}