Files

1 line
44 KiB
JavaScript
Raw Permalink Normal View History

2025-12-10 12:17:30 -05:00
"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[1350],{21350:(t,e,n)=>{n.r(e),n.d(e,{ShepherdTour:()=>nn,ShepherdTourContext:()=>Je,TourMethods:()=>Qe,useShepherdTour:()=>en});var o=n(51609),i=n.n(o),s=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===r}(t)}(t)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?h((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function c(t,e,n){return t.concat(e).map((function(t){return l(t,n)}))}function a(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function u(t,e){try{return e in t}catch(t){return!1}}function h(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||s,n.cloneUnlessOtherwiseSpecified=l;var o=Array.isArray(e);return o===Array.isArray(t)?o?n.arrayMerge(t,e,n):function(t,e,n){var o={};return n.isMergeableObject(t)&&a(t).forEach((function(e){o[e]=l(t[e],n)})),a(e).forEach((function(i){(function(t,e){return u(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,i)||(u(t,i)&&n.isMergeableObject(e[i])?o[i]=function(t,e){if(!e.customMerge)return h;var n=e.customMerge(t);return"function"==typeof n?n:h}(i,n)(t[i],e[i],n):o[i]=l(e[i],n))})),o}(t,e,n):l(e,n)}h.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return h(t,n,e)}),{})};var d=h;function p(t){return t instanceof HTMLElement}function f(t){return"function"==typeof t}function m(t){return"string"==typeof t}function g(t){return void 0===t}class b{on(t,e,n,o){return void 0===o&&(o=!1),g(this.bindings)&&(this.bindings={}),g(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:o}),this}once(t,e,n){return this.on(t,e,n,!0)}off(t,e){return g(this.bindings)||g(this.bindings[t])||(g(e)?delete this.bindings[t]:this.bindings[t].forEach(((n,o)=>{n.handler===e&&this.bindings[t].splice(o,1)}))),this}trigger(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return!g(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach(((e,o)=>{const{ctx:i,handler:s,once:r}=e,l=i||this;s.apply(l,n),r&&this.bindings[t].splice(o,1)})),this}}function y(t){const e=Object.getOwnPropertyNames(t.constructor.prototype);for(let n=0;n<e.length;n++){const o=e[n],i=t[o];"constructor"!==o&&"function"==typeof i&&(t[o]=i.bind(t))}return t}function x(t){return m(t)&&""!==t?"-"!==t.charAt(t.length-1)?`${t}-`:t:""}function v(t){return null==t||!t.element||!t.on}function $(){let t=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)}))}function w(){return w=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},w.apply(this,arguments)}function E(t,e){if(null==t)return{};var n,o,i={},s=Object.keys(t);for(o=0;o<s.length;o++)n=s[o],e.indexOf(n)>=0||(i[n]=t[n]);return i}const O=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],T=["mainAxis","crossAxis","limiter"];function S(t){return t.split("-")[0]}function _(t){return t.split("-")[1]}function A(t){return["top","bottom"].includes(S(t))?"x":"y"}function I(t){return"y"===t?"height":"width"}function L(t,e,n){let{reference:o,floating:i}=t;const s=o.x+o.width/2-i.width/2,r=o.y+o.height/2-i.height/2,l=A(e),c=I(l),a=o[c]/2-i[c]/2,u="x"===l;let h;switch(S(e)){case"top":h={x:s,y:o.y-i.height};break;case"bottom":h={x:s,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:r};break;case"left":h={x:o.x-i.width,y:r};break;default:h={x:o.x,y:o.y}}switch(_(e)){case"st