PageSourceSearch

https://www.sulniac.fr/wp-content/plugins/comarquage-baseo/build/display/com-front.js?ver=1.2.10

js sulniac.fr collected 2026-10-02 12:43:34 UTC 126,345 bytes, 1 lines download raw bytes

vendor: 4,311 bytes, line 1
1(()=>{var e={133:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var a=(0,r.default)(e),o="function"==typeof t;return a.forEach((function(e){if("declaration"===e.type){var a=e.property,r=e.value;o?t(a,r,e):r&&((n=n||{})[a]=r)}})),n};var r=a(n(788))},141:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(413),l=n(957);r(n(957),t);var c={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},i=function(){function e(e,t,n){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=c),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:c,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,a=new l.Element(e,t,void 0,n);this.addNode(a),this.tagStack.push(a)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new l.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new l.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new l.Text(""),t=new l.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new l.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=i,t.default=i},210:(e,t,n)=>{"use strict";function a(e,t,n,a,r,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}const r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{r[e]=new a(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{r[e]=new a(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{r[e]=new a(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{r[e]=new a(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","o
1pen","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{r[e]=new a(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{r[e]=new a(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{r[e]=new a(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{r[e]=new a(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{r[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)}));const o=/[\-\:]([a-z])/g,l=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(o,l);r[t]=new a(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(o,l);r[t]=new a(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(o,l);r[t]=new a(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{r[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)})),r.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{r[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:c,SAME:i,possibleStandardNames:s}=n(811),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),m=Object.keys(s).reduce(((e,t)=>{const n=s[t];return n===i?e[t]=t:n===c?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return r.hasOwnProperty(e)?r[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=m},229:function(e,t,n){"use strict";var a=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(133)),r=n(917);function o(e,t){var n={};return e&&"string"==typeof e?((0,a.default)(e,(function(e,a){e&&a&&(n[(0,r.camelCase)(e,t)]=a)})),n):n}o.default=o,e.exports=o},270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},308:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var a=[],r="function"==typeof n.replace,s=n.transform||l.returnFirstArg,u=n.library||c,m=u.cloneElement,d=u.createElement,h=u.isValidElement,p=t.length,b=0;b<p;b++){var f=t[b];if(r){var E=n.replace(f,b);if(h(E)){p>1&&(E=m(E,{key:E.key||b})),a.push(s(E,f,b));continue}}if("text"!==f.type){var g=f,v={};i(g)?((0,l.setStyleProp)(g.attribs.style,g.attribs),v=g.attribs):g.attribs&&(v=(0,o.default)(g.attribs,g.name));var k=void 0;switch(f.type){case"script":case"style":f.children[0]&&(v.dangerouslySetInnerHTML={__html:f.children[0].data});break;case"tag":"textarea"===f.name&&f.children[0]?v.defaultValue=f.children[0].data:f.children&&f.children.length&&(k=e(f.children,n));break;default:continue}p>1&&(v.key=b),a.push(s(d(f.name,v,k),f,b))}else{var y=!f.data.trim().length;if(y&&f.parent&&!(0,l.canTextBeChildOfNode)(f.parent))continue;if(n.trim&&y)continue;a.push(s(f.data,f,b))}}return 1===a.length?a[0]:a};var r=n(594),o=a(n(840)),l=n(958),c={cloneElement:r.cloneElement,createElement:r.createElement,isValidElement:r.isValidElement};function i(e){return l.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,l.isCustomComponent)(e.name,e.attribs)}},413:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},442:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,l.default)((0,r.default)(e,(null==t?void 0:t.htmlparser2)||i),t):[]};var r=a(n(471));t.htmlToDOM=r.default;var o=a(n(840));t.attributesToProps=o.default;var l=a(n(308));t.domToReact=l.default;var c=n(141);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return c.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return c.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return c.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return c.Text}});var i={lowerCaseAttributeNames:!1}},471:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(l),n=t?t[1]:void 0;return(0,o.formatDOM)((0,r.default)(e),null,n)};var r=a(n(496)),o=n(731),l=/<(![a-zA-Z\s]+)>/},496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,u,m=e.match(o),d=m&&m[1]?m[1].toLowerCase():"";switch(d){case n:var p=s(e);return l.test(e)||null===(t=null==(f=p.querySelector(a))?void 0:f.parentNode)||void 0===t||t.removeChild(f),c.test(e)||null===(u=null==(f=p.querySelector(r))?void 0:f.parentNode)||void 0===u||u.removeChild(f),p.querySelectorAll(n);case a:case r:var b=i(e).querySelectorAll(d);return c.test(e)&&l.test(e)?b[0].parentNode.childNodes:b;default:return h?h(e):(f=i(e,r).querySelector(r)).childNodes;var f}};var n="html",a="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,i=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},s=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var m=new u;i=s=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),m.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();i=function(e,t){if(t){var n=d.documentElement.querySelector(t);return n&&(n.innerHTML=e),d}return d.documentElement.innerHTML=e,d}}var h,p="object"==typeof document&&document.createElement("template");p&&p.content&&(h=function(e){return p.innerHTML=e,p.content.childNodes})},594:e=>{"use strict";e.exports=React},731:(e,t,n)=>{"use strict";
vendor: 2,462 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=o,t.formatDOM=function e(t,n,r){void 0===n&&(n=null);for(var c,i=[],s=0,u=t.length;s<u;s++){var m=t[s];switch(m.nodeType){case 1:var d=l(m.nodeName);(c=new a.Element(d,o(m.attributes))).children=e("template"===d?m.content.childNodes:m.childNodes,c);break;case 3:c=new a.Text(m.nodeValue);break;case 8:c=new a.Comment(m.nodeValue);break;default:continue}var h=i[s-1]||null;h&&(h.next=c),c.parent=n,c.prev=h,c.next=null,i.push(c)}return r&&((c=new a.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=i[0]||null,c.parent=n,i.unshift(c),i[1]&&(i[1].prev=i[0])),i};var a=n(141),r=n(270);function o(e){for(var t={},n=0,a=e.length;n<a;n++){var r=e[n];t[r.name]=r.value}return t}function l(e){return function(e){return r.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}},788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,a=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,i=/^\s+|\s+$/g,s="";function u(e){return e?e.replace(i,s):s}e.exports=function(e,i){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];i=i||{};var m=1,d=1;function h(e){var t=e.match(n);t&&(m+=t.length);var a=e.lastIndexOf("\n");d=~a?e.length-a:d+e.length}function p(){var e={line:m,column:d};return function(t){return t.position=new b(e),v(),t}}function b(e){this.start=e,this.end={line:m,column:d},this.source=i.source}b.prototype.content=e;var f=[];function E(t){var n=new Error(i.source+":"+m+":"+d+": "+t);if(n.reason=t,n.filename=i.source,n.line=m,n.column=d,n.source=e,!i.silent)throw n;f.push(n)}function g(t){var n=t.exec(e);if(n){var a=n[0];return h(a),e=e.slice(a.length),n}}function v(){g(a)}function k(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return E("End of comment missing");var a=e.slice(2,n-2);return d+=2,h(a),e=e.slice(n),d+=2,t({type:"comment",comment:a})}}function w(){var e=p(),n=g(r);if(n){if(y(),!g(o))return E("property missing ':'");var a=g(l),i=e({type:"declaration",property:u(n[0].replace(t,s)),value:a?u(a[0].replace(t,s)):s});return g(c),i}}return v(),function(){var e,t=[];for(k(t);e=w();)!1!==e&&(t.push(e),k(t));return t}()}},811:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t
vendor: 7,405 bytes, line 1
1.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}}
vendor: 4,879 bytes, line 1
1,838:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:a,getOwnPropertyDescriptor:r}=Object;let{freeze:o,seal:l,create:c}=Object,{apply:i,construct:s}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),l||(l=function(e){return e}),i||(i=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=_(Array.prototype.forEach),m=_(Array.prototype.pop),d=_(Array.prototype.push),h=_(String.prototype.toLowerCase),p=_(String.prototype.toString),b=_(String.prototype.match),f=_(String.prototype.replace),E=_(String.prototype.indexOf),g=_(String.prototype.trim),v=_(Object.prototype.hasOwnProperty),k=_(RegExp.prototype.test),y=(w=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(w,t)});var w;function _(e){return function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return i(e,t,a)}}function N(e,a){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let o=a.length;for(;o--;){let t=a[o];if("string"==typeof t){const e=r(t);e!==t&&(n(a)||(a[o]=e),t=e)}e[t]=!0}return e}function x(e){for(let t=0;t<e.length;t++)v(e,t)||(e[t]=null);return e}function T(t){const n=c(null);for(const[a,r]of e(t))v(t,a)&&(Array.isArray(r)?n[a]=x(r):r&&"object"==typeof r&&r.constructor===Object?n[a]=T(r):n[a]=r);return n}function S(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return _(n.get);if("function"==typeof n.value)return _(n.value)}e=a(e)}return function(){return null}}const C=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),A=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=l(/<%[\w\W]*|[\w\W]*%>/gm),B=l(/\${[\w\W]*}/gm),U=l(/^data-[\-\w.\u00B7-\uFFFF]/),j=l(/^aria-[\-\w]+$/),G=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=l(/^(?:\w+script|data):/i),q=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=l(/^html$/i),Z=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:V,TMPLIT_EXPR:B,DATA_ATTR:U,ARIA_ATTR:j,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:q,DOCTYPE_NAME:W,CUSTOM_ELEMENT:Z});const X=1,Q=3,K=7,J=8,ee=9,te=function(){return"undefined"==typeof window?null:window};return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const a=e=>t(e);if(a.version="3.1.7",a.removed=[],!n||!n.document||n.document.nodeType!==ee)return a.isSupported=!1,a;let{document:r}=n;const l=r,i=l.currentScript,{DocumentFragment:s,HTMLTemplateElement:w,Node:_,Element:x,NodeFilter:F,NamedNodeMap:V=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:U,trustedTypes:j}=n,$=x.prototype,q=S($,"cloneNode"),Z=S($,"remove"),ne=S($,"nextSibling"),ae=S($,"childNodes"),re=S($,"parentNode");if("function"==typeof w){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let oe,le="";const{implementation:ce,createNodeIterator:ie,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=l;let de={};a.isSupported="function"==typeof e&&"function"==typeof re&&ce&&void 0!==ce.createHTMLDocument;const{MUSTACHE_EXPR:he,ERB_EXPR:pe,TMPLIT_EXPR:be,DATA_ATTR:fe,ARIA_ATTR:Ee,IS_SCRIPT_OR_DATA:ge,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:ke}=Y;let{IS_ALLOWED_URI:ye}=Y,we=null;const _e=N({},[...C,...R,...I,...D,...M]);let Ne=null;const xe=N({},[...O,...P,...z,...H]);let Te=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ce=null,Re=!0,Ie=!0,Ae=!1,De=!0,Le=!1,Me=!0,Oe=!1,Pe=!1,ze=!1,He=!1,Fe=!1,Ve=!1,Be=!0,Ue=!1,je=!0,Ge=!1,$e={},qe=null;const We=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ze=null;const Ye=N({},["audio","video","img","source","image","track"]);let Xe=null;const Qe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,at=null;const rt=N({},[Ke,Je,et],p);let ot=null;const lt=["application/xhtml+xml","text/html"];let ct=null,it=null;const st=r.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!it||it!==e){if(e&&"object"==typeof e||(e={}
vendor: 10,070 bytes, line 1
1),e=T(e),ot=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===ot?p:h,we=v(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,ct):_e,Ne=v(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,ct):xe,at=v(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,p):rt,Xe=v(e,"ADD_URI_SAFE_ATTR")?N(T(Qe),e.ADD_URI_SAFE_ATTR,ct):Qe,Ze=v(e,"ADD_DATA_URI_TAGS")?N(T(Ye),e.ADD_DATA_URI_TAGS,ct):Ye,qe=v(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,ct):We,Se=v(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,ct):{},Ce=v(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,ct):{},$e=!!v(e,"USE_PROFILES")&&e.USE_PROFILES,Re=!1!==e.ALLOW_ARIA_ATTR,Ie=!1!==e.ALLOW_DATA_ATTR,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Le=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Oe=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,Ue=e.SANITIZE_NAMED_PROPS||!1,je=!1!==e.KEEP_CONTENT,Ge=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||G,tt=e.NAMESPACE||et,Te=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Te.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Te.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Te.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Ie=!1),Fe&&(He=!0),$e&&(we=N({},M),Ne=[],!0===$e.html&&(N(we,C),N(Ne,O)),!0===$e.svg&&(N(we,R),N(Ne,P),N(Ne,H)),!0===$e.svgFilters&&(N(we,I),N(Ne,P),N(Ne,H)),!0===$e.mathMl&&(N(we,D),N(Ne,z),N(Ne,H))),e.ADD_TAGS&&(we===_e&&(we=T(we)),N(we,e.ADD_TAGS,ct)),e.ADD_ATTR&&(Ne===xe&&(Ne=T(Ne)),N(Ne,e.ADD_ATTR,ct)),e.ADD_URI_SAFE_ATTR&&N(Xe,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(qe===We&&(qe=T(qe)),N(qe,e.FORBID_CONTENTS,ct)),je&&(we["#text"]=!0),Oe&&N(we,["html","head","body"]),we.table&&(N(we,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw y('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw y('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');oe=e.TRUSTED_TYPES_POLICY,le=oe.createHTML("")}else void 0===oe&&(oe=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(n=t.getAttribute(a));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,i)),null!==oe&&"string"==typeof le&&(le=oe.createHTML(""));o&&o(e),it=e}},dt=N({},["mi","mo","mn","ms","mtext"]),ht=N({},["annotation-xml"]),pt=N({},["title","style","font","a","script"]),bt=N({},[...R,...I,...A]),ft=N({},[...D,...L]),Et=function(e){d(a.removed,{element:e});try{re(e).removeChild(e)}catch(t){Z(e)}},gt=function(e,t){try{d(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ne[e])if(He||Fe)try{Et(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){let t=null,n=null;if(ze)e="<remove></remove>"+e;else{const t=b(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ot&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=oe?oe.createHTML(e):e;if(tt===et)try{t=(new U).parseFromString(a,ot)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?le:a}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),tt===et?ue.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:o},kt=function(e){return ie.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},yt=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof V)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},wt=function(e){return"function"==typeof _&&e instanceof _},_t=function(e,t,n){de[e]&&u(de[e],(e=>{e.call(a,t,n,it)}))},Nt=function(e){let t=null;if(_t("beforeSanitizeElements",e,null),yt(e))return Et(e),!0;const n=ct(e.nodeName);if(_t("uponSanitizeElement",e,{tagName:n,allowedTags:we}),e.hasChildNodes()&&!wt(e.firstElementChild)&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return Et(e),!0;if(e.nodeType===K)return Et(e),!0;if(Me&&e.nodeType===J&&k(/<[/\w]/g,e.data))return Et(e),!0;if(!we[n]||Se[n]){if(!Se[n]&&Tt(n)){if(Te.tagNameCheck instanceof RegExp&&k(Te.tagNameCheck,n))return!1;if(Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))return!1}if(je&&!qe[n]){const t=re(e)||e.parentNode,n=ae(e)||e.childNodes;if(n&&t)for(let a=n.length-1;a>=0;--a){const r=q(n[a],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}return Et(e),!0}return e instanceof x&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=h(e.tagName),a=h(t.tagName);return!!at[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===a||dt[a]):Boolean(bt[n]):e.namespaceURI===Ke?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&&ht[a]:Boolean(ft[n]):e.namespaceURI===et?!(t.namespaceURI===Je&&!ht[a])&&!(t.namespaceURI===Ke&&!dt[a])&&!ft[n]&&(pt[n]||!bt[n]):!("application/xhtml+xml"!==ot||!at[e.namespaceURI]))}(e)?(Et(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!k(/<\/no(script|embed|frames)/i,e.innerHTML)?(Le&&e.nodeType===Q&&(t=e.textContent,u([he,pe,be],(e=>{t=f(t,e," ")})),e.textContent!==t&&(d(a.removed,{element:e.cloneNode()}),e.textContent=t)),_t("afterSanitizeElements",e,null),!1):(Et(e),!0)},xt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in st))return!1;if(Ie&&!Ce[t]&&k(fe,t));else if(Re&&k(Ee,t));else if(!Ne[t]||Ce[t]){if(!(Tt(e)&&(Te.tagNameCheck instanceof RegExp&&k(Te.tagNameCheck,e)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(e))&&(Te.attributeNameCheck instanceof RegExp&&k(Te.attributeNameCheck,t)||Te.attributeNameCheck instanceof Function&&Te.attributeNameCheck(t))||"is"===t&&Te.allowCustomizedBuiltInElements&&(Te.tagNameCheck instanceof RegExp&&k(Te.tagNameCheck,n)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))))return!1}else if(Xe[t]);else if(k(ye,f(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ze[e])if(Ae&&!k(ge,f(n,ve,"")));else if(n)return!1;return!0},Tt=function(e){return"annotation-xml"!==e&&b(e,ke)},St=function(e){_t("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ne};let r=t.length;for(;r--;){const o=t[r],{name:l,namespaceURI:c,value:i}=o,s=ct(l);let d="value"===l?i:g(i);if(n.attrName=s,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,_t("uponSanitizeAttribute",e,n),d=n.attrValue,n.forceKeepAttr)continue;if(gt(l,e),!n.keepAttr)continue;if(!De&&k(/\/>/i,d)){gt(l,e);continue}Le&&u([he,pe,be],(e=>{d=f(d,e," ")}));const h=ct(e.nodeName);if(xt(h,s,d))if(!Ue||"id"!==s&&"name"!==s||(gt(l,e),d="user-content-"+d),Me&&k(/((--!?|])>)|<\/(style|title)/i,d))gt(l,e);else{if(oe&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(c);else switch(j.getAttributeType(h,s)){case"TrustedHTML":d=oe.createHTML(d);break;case"TrustedScriptURL":d=oe.createScriptURL(d)}try{c?e.setAttributeNS(c,l,d):e.setAttribute(l,d),yt(e)?Et(e):m(a.removed)}catch(e){}}}_t("afterSanitizeAttributes",e,null)},Ct=function e(t){let n=null;const a=kt(t);for(_t("beforeSanitizeShadowDOM",t,null);n=a.nextNode();)_t("uponSanitizeShadowNode",n,null),Nt(n)||(n.content instanceof s&&e(n.content),St(n));_t("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,o=null,c=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!wt(e)){if("function"!=typeof e.toString)throw y("toString is not a function");if("string"!=typeof(e=e.toString()))throw y("dirty is not a string, aborting")}if(!a.isSupported)return e;if(Pe||mt(t),a.removed=[],"string"==typeof e&&(Ge=!1),Ge){if(e.nodeName){const t=ct(e.nodeName);if(!we[t]||Se[t])throw y("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof _)n=vt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===X&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!Le&&!Oe&&-1===e.indexOf("<"))return oe&&Ve?oe.createHTML(e):e;if(n=vt(e),!n)return He?null:Ve?le:""}n&&ze&&Et(n.firstChild);const i=kt(Ge?e:n);for(;o=i.nextNode();)Nt(o)||(o.content instanceof s&&Ct(o.content),St(o));if(Ge)return e;if(He){if(Fe)for(c=se.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(Ne.shadowroot||Ne.shadowrootmode)&&(c=me.call(l,c,!0)),c}let m=Oe?n.outerHTML:n.innerHTML;return Oe&&we["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&k(W,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),Le&&u([he,pe,be],(e=>{m=f(m,e," ")})),oe&&Ve?oe.createHTML(m):m},a.setConfig=function(){mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},a.clearConfig=function(){it=null,Pe=!1},a.isValidAttribute=function(e,t,n){it||mt({});const a=ct(e),r=ct(t);return xt(a,r,n)},a.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],d(de[e],t))},a.removeHook=function(e){if(de[e])return m(de[e])},a.removeHooks=function(e){de[e]&&(de[e]=[])},a.removeAllHooks=function(){de={}},a}()}()},840:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},s=Boolean(e.type&&c[e.type]);for(var u in e){var m=e[u];if((0,a.isCustomAttribute)(u))n[u]=m;else{var d=u.toLowerCase(),h=i(d);if(h){var p=(0,a.getPropertyInfo)(h);switch(o.includes(h)&&l.includes(t)&&!s&&(h=i("default"+d)),n[h]=m,p&&p.type){case a.BOOLEAN:n[h]=!0;break;case a.OVERLOADED_BOOLEAN:""===m&&(n[h]=!0)}}else r.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=m)}}return(0,r.setStyleProp)(e.style,n),n};var a=n(210),r=n(958),o=["checked","value"],l=["input","select","textarea"],c={reset:!0,submit:!0};function i(e){return a.possibleStandardNames[e]}},917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,r=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,c=function(e,t){return t.toUpperCase()},i=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||r.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,i):e.replace(o,i)).replace(a,c))}},957:function(e,t,n){"use strict";var a,r=this&&this.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var l=n(413),c=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=c;var i=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(c);t.DataNode=i;var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=l.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(i);t.Text=s;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=l.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(i);t.Comment=u;var m=function(e){function t(t,n){var a=e.call(this,n)||this;return a.name=t,a.type=l.ElementType.Directive,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(i);t.ProcessingInstruction=m;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null}
vendor: 2,460 bytes, line 1
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(c);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=l.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=l.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=p;var b=function(e){function t(t,n,a,r){void 0===a&&(a=[]),void 0===r&&(r="script"===t?l.ElementType.Script:"style"===t?l.ElementType.Style:l.ElementType.Tag);var o=e.call(this,a)||this;return o.name=t,o.attribs=n,o.type=r,o}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,a;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(a=e["x-attribsPrefix"])||void 0===a?void 0:a[t]}}))},enumerable:!1,configurable:!0}),t}(d);function f(e){return(0,l.isTag)(e)}function E(e){return e.type===l.ElementType.CDATA}function g(e){return e.type===l.ElementType.Text}function v(e){return e.type===l.ElementType.Comment}function k(e){return e.type===l.ElementType.Directive}function y(e){return e.type===l.ElementType.Root}function w(e,t){var n;if(void 0===t&&(t=!1),g(e))n=new s(e.data);else if(v(e))n=new u(e.data);else if(f(e)){var a=t?_(e.children):[],r=new b(e.name,o({},e.attribs),a);a.forEach((function(e){return e.parent=r})),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=r}else if(E(e)){a=t?_(e.children):[];var l=new h(a);a.forEach((function(e){return e.parent=l})),n=l}else if(y(e)){a=t?_(e.children):[];var c=new p(a);a.forEach((function(e){return e.parent=c})),e["x-mode"]&&(c["x-mode"]=e["x-mode"]),n=c}
1else{if(!k(e))throw new Error("Not implemented yet: ".concat(e.type));var i=new m(e.name,e.data);null!=e["x-name"]&&(i["x-name"]=e["x-name"],i["x-publicId"]=e["x-publicId"],i["x-systemId"]=e["x-systemId"]),n=i}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function _(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=b,t.isTag=f,t.isCDATA=E,t.isText=g,t.isComment=v,t.isDirective=k,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},958:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!l.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,o.default)(e,c)}catch(e){t.style={}}else t.style={}};var r=n(594),o=a(n(229)),l=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),c={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(594),t=n.n(e);const a=(e,t)=>{switch(e){case"arrow-right":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t||"24",height:t||"24"},React.createElement("path",{d:"m16.172 11-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2h12.172Z"}));case"arrow-left":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t||"24",height:t||"24"},React.createElement("path",{d:"M7.828 13l5.364 5.364-1.414 1.414L4 12l7.778-7.778 1.414 1.414L7.828 11H20v2H7.828Z"}));case"arrow-up":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t||"24",height:t||"24"},React.createElement("path",{d:"M11 7.828L5.636 13.192 4.222 11.778 12 4l7.778 7.778-1.414 1.414L13 7.828V20h-2V7.828Z"}));case"arrow-down":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t||"24",height:t||"24"},React.createElement("path",{d:"M13 16.172l5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2v12.172z"}));case"address":return React.createElement("svg",{className:"baseocom-inline-block",role:"img","aria-label":"adresse",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("title",null,"adresse"),React.createElement("path",{d:"M12 23.728l-6.364-6.364a9 9 0 1 1 12.728 0L12 23.728zm4.95-7.778a7 7 0 1 0-9.9 0L12 20.9l4.95-4.95zM12 13a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}));case"checked":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"m10 15.172 9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414 4.95 4.95Z"}));case"document-model":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M19 22H5a3 3 0 0 1-3-3V3a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v12h4v4a3 3 0 0 1-3 3zm-1-5v2a1 1 0 0 0 2 0v-2h-2zm-2 3V4H4v15a1 1 0 0 0 1 1h11zM6 7h8v2H6V7zm0 4h8v2H6v-2zm0 4h5v2H6v-2z"}));case"video":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM10.622 8.415l4.879 3.252a.4.4 0 0 1 0 .666l-4.88 3.252a.4.4 0 0 1-.621-.332V8.747a.4.4 0 0 1 .622-.332Z"}));case"back":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"16",height:"16"},React.createElement("path",{d:"M5.828 7l2.536 2.536L6.95 10.95 2 
16l4.95-4.95 1.414 1.414L5.828 5H13a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H5.828z"}));case"simulator":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",class:"fr-mb-1w sp-icon sp-icon-ri-equalizer-line",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M6.17 18a3.001 3.001 0 0 1 5.66 0H22v2H11.83a3.001 3.001 0 0 1-5.66 0H2v-2h4.17zm6-7a3.001 3.001 0 0 1 5.66 0H22v2h-4.17a3.001 3.001 0 0 1-5.66 0H2v-2h10.17zm-6-7a3.001 3.001 0 0 1 5.66 0H22v2H11.83a3.001 3.001 0 0 1-5.66 0H2V4h4.17zM9 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm6 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-6 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}));case"help":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm-1-7v2h2v-2h-2Zm2-1.645A3.502 3.502 0 0 0 12 6.5a3.501 3.501 0 0 0-3.433 2.813l1.962.393A1.5 1.5 0 1 1 12 11.5a1 1 0 0 0-1 1V14h2v-.645Z"}));case"help-me":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",height:"32",viewBox:"0 0 24 24",width:"32"},React.createElement("path",{d:"M19.938 8H21a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-1.062A8.001 8.001 0 0 1 12 23v-2a6 6 0 0 0 6-6V9A6 6 0 1 0 6 9v7H3a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1.062a8.001 8.001 0 0 1 15.876 0zM3 10v4h1v-4H3zm17 0v4h1v-4h-1zM7.76 15.785l1.06-1.696A5.972 5.972 0 0 0 12 15a5.972 5.972 0 0 0 3.18-.911l1.06 1.696A7.963 7.963 0 0 1 12 17a7.963 7.963 0 0 1-4.24-1.215z"}));case"external-link":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16"},React.createElement("path",{d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6Zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8Z"}));case"chevron-down":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"20",height:"20"},React.createElement("path",{d:"M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z"}));case"email":return React.createElement("svg",{className:"baseocom-inline-block",role:"img","aria-label":"courriel",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("title",null,"Courriel")," ",React.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})," ",React.createElement("path",{d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm17 4.238l-7.928 7.1L4 7.216V19h16V7.238zM4.511 5l7.55 6.662L19.502 5H4.511z"})," ");case"external-link":return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"baseocom-flex-shrink-0 baseocom-inline-block",viewBox:"0 0 24 24",width:"16",height:"16"},React.createElement("path",{d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6Zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8Z"}));case"magnifying-glass":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t||"24",height:t||"24"},React.createElement("path",{d:"m18.031 16.617 4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617Zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15Z"}));case"close":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:t||"24",height:t||"24"},React.createElement("path",{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}));case"form":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M20 2c.552 0 1 .448 1 1v3.757l-2 2V4H5v16h14v-2.758l2-2V21c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V3c0-.552.448-1 1-1h16zm1.778 6.808l1.414 1.414L15.414 18l-1.416-.002.002-1.412 7.778-7.778zM13 12v2H8v-2h5zm3-4v2H8V8h8z"}));case"checkbox-circle":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-.997-6l7.07-7.071-1.414-1.414-5.656 5.657-2.829-2.829-1.414 1.414L11.003 16z"}));case"teleservice":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M16.05 12.05L21 17l-4.95 4.95-1.414-1.414 2.536-2.537L4 18v-2h13.172l-2.536-2.536 1.414-1.414zm-8.1-10l1.414 1.414L6.828 6 20 6v2H6.828l2.536 2.536L7.95 11.95 3 7l4.95-4.95z"}));case"research-tool":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm4.5-12.5L14 14l-6.5 2.5L10 10l6.5-2.5zM12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}));case"phone":return React.createElement("svg",{className:"baseocom-inline-block",role:"img","aria-label":"téléphone",focu
1sable:"false",viewBox:"0 0 24 24",width:"26",height:"26"},React.createElement("title",null,"Téléphone")," ",React.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),React.createElement("path",{d:"M9.366 10.682a10.556 10.556 0 0 0 3.952 3.952l.884-1.238a1 1 0 0 1 1.294-.296 11.422 11.422 0 0 0 4.583 1.364 1 1 0 0 1 .921.997v4.462a1 1 0 0 1-.898.995c-.53.055-1.064.082-1.602.082C9.94 21 3 14.06 3 5.5c0-.538.027-1.072.082-1.602A1 1 0 0 1 4.077 3h4.462a1 1 0 0 1 .997.921A11.422 11.422 0 0 0 10.9 8.504a1 1 0 0 1-.296 1.294l-1.238.884zm-2.522-.657l1.9-1.357A13.41 13.41 0 0 1 7.647 5H5.01c-.006.166-.009.333-.009.5C5 12.956 11.044 19 18.5 19c.167 0 .334-.003.5-.01v-2.637a13.41 13.41 0 0 1-3.668-1.097l-1.357 1.9a12.442 12.442 0 0 1-1.588-.75l-.058-.033a12.556 12.556 0 0 1-4.702-4.702l-.033-.058a12.442 12.442 0 0 1-.75-1.588z"})," ");case"table":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M4 8h16V5H4v3zm10 11v-9h-4v9h4zm2 0h4v-9h-4v9zm-8 0v-9H4v9h4zM3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}));case"time-slots":return React.createElement("svg",{className:"baseocom-inline-block",role:"img","aria-label":"horaires",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("title",null,"horaires")," ",React.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm1-8h4v2h-6V7h2v5z"})," ");case"warning":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"#FFF",viewBox:"0 0 24 24"},React.createElement("path",{d:"M19.5,2.5h-15c-1.1,0-2,0.9-2,2v15c0,1.1,0.9,2,2,2h15c1.1,0,2-0.9,2-2v-15C21.5,3.4,20.6,2.5,19.5,2.5z M13,17h-2v-6h2V17z M13,9h-2V7h2V9z"}));case"website":return React.createElement("svg",{className:"baseocom-inline-block",role:"img","aria-label":"site internet",focusable:"false",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("title",null,"site internet")," ",React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-2.29-2.333A17.9 17.9 0 0 1 8.027 13H4.062a8.008 8.008 0 0 0 5.648 6.667zM10.03 13c.151 2.439.848 4.73 1.97 6.752A15.905 15.905 0 0 0 13.97 13h-3.94zm9.908 0h-3.965a17.9 17.9 0 0 1-1.683 6.667A8.008 8.008 0 0 0 19.938 13zM4.062 11h3.965A17.9 17.9 0 0 1 9.71 4.333 8.008 8.008 0 0 0 4.062 11zm5.969 0h3.938A15.905 15.905 0 0 0 12 4.248 15.905 15.905 0 0 0 10.03 11zm4.259-6.667A17.9 17.9 0 0 1 15.973 11h3.965a8.008 8.008 0 0 0-5.648-6.667z"})," ");case"list":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M3 4h18v2H3V4Zm0 15h14v2H3v-2Zm0-5h18v2H3v-2Zm0-5h14v2H3V9Z"}));case"plus":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2h6Z"}));case"minus":return React.createElement("svg",{className:"baseocom-inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M5 11h14v2H5v-2Z"}));case"user-search-line":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"32",height:"32"},React.createElement("path",{d:"M12 14v2a6 6 0 0 0-6 6H4a8 8 0 0 1 8-8zm0-1c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm9.446 9.032l1.504 1.504-1.414 1.414-1.504-1.504a4 4 0 1 1 1.414-1.414zM18 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}));case"user-follow-line":return React.createElement("svg",{className:"baseocom-inline-block","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:"32",height:"32"},React.createElement("path",{d:"M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm5.793 8.914l3.535-3.535 1.415 1.414-4.95 4.95-3.536-3.536 1.415-1.414 2.12 2.121z"}));case"refresh":return React.createElement("svg",{className:"baseocom-inline-block",width:"20px",height:"20px",viewBox:"0 0 16 16"},React.createElement("g",null,React.createElement("path",{d:"M15,6V1.76l-1.7,1.7A7,7,0,1,0,14.92,9H13.51a5.63,5.63,0,1,1-1.2-4.55L10.76,6Z"})));case"fax":return React.createElement("svg",{className:"baseocom-inline-block",role:"img","aria-label":"télécopie",focu
1sable:"false",class:" sp-text-color--red fr-mr-1w  sp-icon  sp-icon-ri-printer-line ",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("path",{d:"M6 19H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h3V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v4h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-3v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-2zm0-2v-1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1h2V9H4v8h2zM8 4v3h8V4H8zm0 13v3h8v-3H8zm-3-7h3v2H5v-2z"})," ");case"info-circle":return React.createElement("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24"},React.createElement("title",null,"Informations complémentaires"),React.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"}))}},r=()=>t().createElement("div",{id:"baseo_comarquage"},t().createElement("div",{className:"baseocom-flex baseocom-gap-5 baseocom-text-lg baseocom-flex-col"},"Ooops, une erreur est survenue",t().createElement("button",{onClick:()=>window.location.reload(),className:"baseocom-btn-purple baseocom-flex baseocom-items-center baseocom-fill-white baseocom-gap-3 baseocom-w-max"},a("refresh")," Actualiser la page"))),o=()=>t().createElement("div",{className:"baseocom-flex baseocom-my-8 baseocom-items-center baseocom-justify-center baseocom-w-full"},t().createElement("div",{className:"baseocom-spinner"})),l=({block:e})=>t().createElement("div",{className:"baseocom-mb-4"},e?.content&&t().createElement("div",{className:"baseocom-block-item"},a("address"),t().createElement("div",{dangerouslySetInnerHTML:{__html:e?.content}}))),c={date:e=>`Publié le ${je(e)}`},i=({attributes:e})=>Object.entries(e).map((([e,n])=>{const a=c[e];return a?t().createElement("p",{className:"baseocom-small"},a(n)):null})),s=({block:n})=>{const a=(0,e.useRef)({}),[r,o]=(0,e.useState)(null),l=(0,e.useCallback)((e=>{switch(e.block){case"Cas":case"Situation":return e.childrens.filter((e=>"Titre"!==e?.block));default:return e.childrens.find((e=>"Titre"!==e?.block)).childrens}}),[]),c=(0,e.useCallback)((()=>{const e=n?.childrens.find((e=>e?.attributes?.id===r));return e&&l(e)||[]}),[r,n?.childrens,l]);return(0,e.useEffect)((()=>{o(n?.childrens[0].attributes?.id)}),[n]),n?.childrens?.length>1?t().createElement("div",{className:"baseocom-list-of-situations"},t().createElement("ul",null,n?.attributes?.elements?.map(((e,n)=>t().createElement("li",{key:n},t().createElement("button",{ref:t=>a.current[e?.id]=t,onClick:()=>{return t=e?.id,o(t),void a.current[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"});var t},key:e?.id,className:(r===e?.id?"situation-selected":"situations-not-selected")+" "},e?.title))))),t().createElement("div",null,t().createElement("div",null,t().createElement(ze,{content_block:c()})))):t().createElement("div",null,t().createElement(ze,{content_block:c()}))},u=({block:n={}})=>{const{childrens:a,attributes:r}=n,{selectedCase:o}=tt(),l=(0,e.useMemo)((()=>{const e=a?.some((e=>o?.includes(e?.attributes?.id)));return Ze(o)||!e?a:a?.filter((e=>o?.includes(e?.attributes?.id)))}),[a,o]),c=(0,e.useMemo)((()=>{if(a)return a.length>1?"onglet"===r?.affichage?t().createElement(s,{block:n}):t().createElement(ze,{content_block:l,type:"no-checked"}):t().createElement(ze,{content_block:l,type:"checked-title"})}),[r,l,n,a]);return t().createElement("div",{className:"baseocom-block-case"},c)},m=({block:n={},type:a=null})=>{const{childrens:r,attributes:{id:o,condition:l}={}}=n,c=(0,e.useMemo)((()=>Ge(r,"Titre")),[r]),{selectedCase:i,setSelectedCase:s,selectedValue:u}=tt(),m=(0,e.useCallback)((e=>{s((t=>[...t,e]))}),[s]),d=(0,e.useCallback)((()=>t().createElement("div",{className:"baseocom-btn-case",key:o,onClick:()=>m(o)},c?.content)),[o,m,c]),h=(0,e.useCallback)((()=>!(!l||!u?.length)&&u.some((e=>l.some((t=>t.var===e.affectTrue))&&e.label===c?.content))),[l,u,c]),p=(0,e.useMemo)((()=>{if("checked-title"===a)return t().createElement(ze,{content_block:r,type:a,attributes:o});if(Ze(u))return i.includes(o)?t().createElement(ze,{content_block:r,type:"checked",attributes:o}):d();if(h()){const e=r?.filter((e=>"Titre"!==e.block));return t().createElement(ze,{content_block:e})}return Ze(i)||!i.includes(o)?d():t().createElement(ze,{content_block:r,type:"checked",attributes:o})}),[o,r,d,a,i,u,h]);return t().createElement("div",{className:"baseocom-case"},p)},d=({block:e})=>e?.attributes?.complement&&t().createElement("p",{className:"baseocom-content-item-list"},e?.attributes?.complement),h=({children:e,defaultOpen:n=!1,title:r,beforeIcon:o=null,onClickOpen:l,className:c,isOpen:i,index:s=null})=>{const u=t().useMemo((()=>null!==s?Ke(i)?i?.index?.includes(s):i===s:i),[s,i]),m=t().useMemo((()=>({icon:u?"opening-dropdown baseocom-chevron baseocom-rotate":"baseocom-chevron",div:u||n?"baseocom-open baseocom-dropdown-content ":"baseocom-dropdown-content",btn:u||n?"baseocom-btn baseocom-dropdown-btn baseocom-dropdown-btn-open":"baseocom-btn baseocom-dropdown-btn"})),[u]);return t().createElement("div",{className:`${c} baseocom-dropdown`},t().createElement("button",{disabled:n,className:m.btn,onClick:l},t().createElement("span",{className:"baseocom-arrow-text"},o&&o(),t().createElement("span",{className:"baseocom-text"},r)),n?null:t().createElement("span",{className:m.icon},a("chevron-down"))),t().createElement("div",{className:m.div},e))},p=({block:n,index:a})=>{const r=(0,e.useMemo)((()=>Ze(n?.childrens)?n?.attributes?.original_childrens:n?.childrens),[n?.childrens]),o=Ge(r,"Texte"),l=Ge(r,"Titre"),[c,i]=t().useState(!1);return Ze(o)?null:t().createElement(h,{onClickOpen:()=>i(!c),title:l?.content,className:"baseocom-can-help-me-dropdown",isOpen:c},t().createElement("div",{className:"baseocom-content"},o&&t().createElement(ze,{content_block:o?.childrens})))},b=({block:n})=>{const r=(0,e.useMemo)((()=>Ze(n?.childrens)?n?.attributes?.original_childrens:n?.childrens),[n?.childrens]),o=Ge(r,"RessourceWeb"),l=Ge(r,"Titre");return o?t().createElement("a",{target:"_blank",className:"baseocom-content-item-link",rel:"noopener noreferrer",href:o?.attributes?.URL},l?.content,a("external-link")):null};let f;f=window?.vendor?.React?window?.vendor?.React:n(594);const{useState:E,useCallback:g}=f,v=(e,t,n=null)=>{const[a,r]=E(null),[o,l]=E(!1),[c,i]=E(null),s=window?.baseo?.comarquage,u=g((async({url:e,method:t,body:n})=>{l(!0),i(null),r(null);const a=e,o=t,c=n;let u=s.api_wp.url+a;const m={method:o,mode:"same-origin",cache:"no-cache",credentials:"include",headers:{Accept:"application/json, */*;q=0.1","X-WP-Nonce":s.api_wp.nonce||""},redirect:"follow",referrerPolicy:"no-referrer"};let d;c&&(m.headers["Content-Type"]="application/json",m.body=JSON.stringify(c));try{d=await fetch(u,m);const e=await d.json();r(e)}catch(e){i(e)}finally{l(!1)}}),[e,t,n]),m=g((e=>{u({url:`${s?.api_wp?.routes?.options}`,method:"POST",body:e})}),[]),d=g((e=>{u({url:`${s?.api_wp?.routes?.options}${e}`,method:"GET"})}),[]),h=g((()=>{u({url:`${s?.api_wp?.routes?.options}baseo_comarquage_global_city`,method:"DELETE"})}),[]),p=g(((e,t)=>{!t?.length>0||u({url:`${s?.api_wp?.routes.select_documents}?hearing=${e}&s=${t}`,method:"GET"})}),[]),b=g((e=>{!e?.length>0||u({url:`${s.api_wp.routes.select_cities}${e}`,method:"GET"})}),[]),f=g((e=>{u({url:`${s.api_wp.routes.services}`,method:"POST",body:e})}),[]),v=g(((e,t)=>{u({url:`${s.api_wp.routes.content_documents}${e}/${t}`,method:"GET"})}),[]),k=g(((e,t)=>{!t?.length>0||u({url:`${s.api_wp.routes.search}${e}/${t}`,method:"GET"})}),[]),y=g((()=>{u({url:`${s.api_wp.routes.refresh_license}`,method:"GET"})}),[]),w=g((()=>{u({url:`${s?.api_wp?.routes?.clear_cache}`,method:"GET"})}),[]),_=g(((e,t)=>{u({url:`${s.api_wp.routes.d5_fiche}?hearing=${e}&fiche=${t}`,method:"GET"})}),[]),N=g(((e,t,n)=>{u({url:`${s.api_wp.routes.d5_actualite}?hearing=${e}&numbers=${t}&position=${n}`,method:"GET"})}),[]),x=g((e=>{u({url:`${s.api_wp.routes.d5_sommaire}?hearing=${e}`,method:"GET"})}),[]),T=g((e=>{u({url:`${s.api_wp.routes.d5_comment_faire}?hearing=${e}`,method:"GET"})}),[]);return{data:a,loading:o,error:c,api:{documentsContentGet:v,searchGet:k,servicesGet:f,optionSave:m,documentsSelect:p,citiesSelect:b,optionDeleteCity:h,refreshLicense:y,clearCache:w,visualBuilderFiche:_,visualBuilderSommaire:x,visualBuilderActualite:N,visualBuilderRecherche:g((e=>{u({url:`${s.api_wp.routes.d5_recherche}?hearing=${e}`,method:"GET"})}),[]),visualBuilderCommentFaire:T,optionGet:d}}},k=({block:n})=>{const{valueLocation:a}=tt(),{data:r,api:l,loading:c}=v();
1if(!n.attributes||!n.attributes.pivot_local||"Local personnalisé sur SP"!==n.attributes.type)return null;const i=(0,e.useCallback)((()=>{l.servicesGet({pivot_local:n?.attributes.pivot_local,insee_code:a.insee})}),[a.insee]);return(0,e.useEffect)((()=>{a.insee&&i()}),[a.insee]),(0,e.useEffect)((()=>{r&&(n.childrens=r)}),[r]),c?t().createElement(o,null):!Ze(n?.childrens)&&t().createElement(ze,{content_block:n?.childrens})},y=({block:e})=>e?.childrens?.map(((e,t)=>React.createElement("div",{key:t,className:"baseocom-content-item"},React.createElement(d,{block:e}),React.createElement(p,{block:e}),React.createElement(b,{block:e}),React.createElement(k,{block:e})))),w=({block:n})=>{const[r,o]=(0,e.useState)(!1),{valueLocation:l}=tt(),{already_localized:c,is_personnalized_local:i}=n?.attributes,s=n?.childrens.filter((e=>"RechercheLocalForm"===e.block));return(0,e.useEffect)((()=>{c&&i&&o(!0)}),[c,i]),t().createElement("div",{className:"baseocom-can-help-me-block"},t().createElement("div",{className:"baseocom-title"},a("help-me"),t().createElement("h3",null,"Qui peut m'aider ?")),t().createElement("p",{className:"baseocom-introduction"},"Vous avez une question ? Vous souhaitez être accompagné(e) dans vos démarches ?"),t().createElement("div",{"data-open":r,className:"baseocom-container"},t().createElement("button",{onClick:()=>o(!0)},"Trouver un interlocuteur")),t().createElement("div",{"data-open":r,className:"baseocom-content-items"},Ze(s)?t().createElement(y,{block:n}):t().createElement(t().Fragment,null,t().createElement(ze,{content_block:s}),Ze(l)?null:t().createElement(y,{valueLocation:l,block:n}))))},_=({block:n,id:r,index:o,setOpenSubChapter:l,openSubChapter:c})=>{const i=Ge(n?.childrens,"Titre"),s=n?.childrens.filter((e=>"Titre"!==e?.block)),u=(0,e.useCallback)((()=>{l({index:c?.index?.includes(r)?c?.index?.filter((e=>e!==r)):[...c?.index,r]})}),[r,c,l]),m=()=>"true"===n?.attributes?.numerote?t().createElement("span",{className:"baseocom-arrow-figure baseocom-w-max baseocom-h-max baseocom-text-base baseocom-inline-flex baseocom-justify-center baseocom-items-center baseocom-text-white"},o+1):t().createElement("span",{className:"baseocom-arrow"},a("arrow-right"));return(0,e.useCallback)((()=>"plain_text"===n?.style?t().createElement("div",{className:"baseocom-chapter-block-plain-text"},t().createElement(ze,{content_block:n?.childrens})):t().createElement(h,{onClickOpen:u,beforeIcon:m,title:i?.content,index:r,className:"baseocom-chapter-item",isOpen:c},t().createElement("div",{className:"baseocom-content"},t().createElement(ze,{content_block:s})))),[n,r,c])()},N=({block:n})=>{const{openSubChapter:a,setOpenSubChapter:r}=tt(),o=n.childrens?.some((e=>"ChapitreItem"===e.block&&"plain_text"===e.style))||!1,l=n.childrens?.map(((e,t)=>e?.ID))||[],c=l.every((e=>a.index.includes(e))),i=(0,e.useCallback)((()=>{r((e=>{const t=e.index||[];if(c){const n=t.filter((e=>!l.includes(e)));return{...e,index:n,expandEverything:n.length>0}}{const n=[...new Set([...t,...l])];return{...e,index:n,expandEverything:!0}}}))}),[l,c]);return t().createElement("div",{className:"baseocom-chapter-block"},o?null:t().createElement("button",{className:"baseocom-btn-fold-unfold",onClick:i},c?"Tout replier":"Tout déplier"),n?.childrens.map(((e,n)=>t().createElement(_,{key:e.ID,block:e,id:e.ID,index:n,setOpenSubChapter:r,openSubChapter:a}))))},x=({block:e,index:n})=>t().createElement("div",{className:"baseocom-sub-chapter-container"},t().createElement(ze,{content_block:e?.childrens})),T=({url:e,targetBlank:n=!1,children:r,isIcon:o=!0,className:l})=>t().createElement("a",{className:`baseocom-text-black baseocom-no-underline !baseocom-mb-0 ${l} !baseocom-shadow-none baseocom-w-full baseocom-overflow_wrap link`,href:e,target:n?"_blank":null,rel:n?"noopener noreferrer":null},t().createElement("span",{className:"link-text"},r),n&&o&&t().createElement("span",{className:"baseocom-ml-1"},a("external-link"))),S=({block:n})=>{const r=n?.childrens.filter((e=>"Titre"!==e?.block)),o=Ge(n?.childrens,"Titre"),{openSubChapter:l}=tt(),[c,i]=t().useState(!1),{attributes:s}=n;return(0,e.useEffect)((()=>{i(l?.expandEverything)}),[l]),t().createElement("div",{className:"baseocom-complement"},s?.URL?t().createElement(T,{isIcon:!0,targetBlank:!0,url:s?.URL,className:"baseocom-complement-link-external"},t().createElement("span",{className:"baseocom-footer-top-link-item-icon"},a("arrow-right","16")),n.content):n?.content?t().createElement("p",{className:"baseocom-complement-content"},n?.content):null,n?.childrens.length?t().createElement(h,{onClickOpen:()=>{i(!c)},beforeIcon:()=>t().createElement("span",{className:"baseocom-arrow"},a("info-circle")),title:o?.content,className:"baseocom-dropdown-complement",isOpen:c},t().createElement("div",{className:"baseocom-content"},t().createElement(ze,{content_block:r}))):null)},C=({block:e})=>t().createElement("div",null,!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens})),R=({block:e})=>t().createElement("div",null,!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens})),I=({block:e})=>{const[n,r]=t().useState(!1);return t().createElement("div",{className:"block-description"},t().createElement("button",{type:"button",onClick:()=>r(!n),className:n?"baseocom-content-open":""},a("list"),"Voir la version texte de l'infographie",t().createElement("span",{className:"baseocom-icon"},a(n?"minus":"plus"))),t().createElement("div",{className:"leaflet-container "+(n?"baseocom-open":"")},t().createElement("div",{className:"baseocom-content"},!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens}))))},A=({block:e})=>t().createElement("div",{className:"baseocom-mb-4"},e?.content&&t().createElement("div",{className:"baseocom-block-item"},a("email"),t().createElement(T,{isIcon:!1,url:e?.attributes?.href},e?.content))),D=({block:e})=>t().createElement("div",{className:"baseocom-example"},e?.content&&t().createElement("p",null,e?.content),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens})),L=({block:e})=>t().createElement("div",null,e?.childrens?t().createElement(ze,{content_block:e.childrens}):null),M=({block:e})=>t().createElement("div",{className:"baseocom-mb-4"},e?.content&&t().createElement("div",{className:"baseocom-block-item"},a("fax"),t().createElement(T,{isIcon:!1,url:e?.attributes?.href},t().createElement("div",{dangerouslySetInnerHTML:{__html:e?.content}})))),O=({filDAriane:e})=>React.createElement("div",{className:"baseocom-breadcrumbs"},e?.map((({title:t,url:n},a)=>React.createElement("span",{key:`fildariane-${a}`},a!==e.length-1?React.createElement("a",{key:a,href:n},t):t,a<e.length-1&&React.createElement("span",{className:"baseocom-chevron"},">"))))),P=({block:e,parent:n})=>"Groupe"!==n?t().createElement(T,{className:"block-file",url:Ue(e?.attributes.ID,e?.attributes?.audience)},t().createElement("span",null,a("arrow-right")),e.content&&t().createElement("span",{className:"block-file-text-content"},e?.content),e.childrens&&t().createElement("span",null,t().createElement(ze,{content_block:e.childrens}))):t().createElement(t().Fragment,null,e.content&&t().createElement("p",null,e?.content),e.childrens&&t().createElement(ze,{content_block:e.childrens})),z=({block:e})=>{const{ID:n,audience:r}=e?.attributes;return t().createElement("div",{className:"folder-block"},e?.content?t().createElement(T,{isIcon:!1,url:Ue(n,r)},t().createElement("span",{className:"baseocom-mb-1 baseocom-mr-1"},a("arrow-right")),e?.content):e.childrens&&t().createElement(ze,{content_block:e.childrens,attributes:e.attributes,type:"link-internal"}))},H=({block:e,blockType:n})=>{const r=Ge(e?.childrens,"Titre"),o=e.childrens.filter((e=>"Source"===e.block)),l=e.childrens.filter((e=>"Complement"===e.block)),c=e=>[{block:"Source",content:e}];return Ze(e.attributes)?t().createElement(ze,{content_block:e?.childrens}):t().createElement("div",{className:"baseocom-footer-top-dropdown-link-item"},t().createElement("div",{className:"baseocom-footer-top-dropdown-link-item-content"},"non"!==e.attributes.important&&r?t().createElement(t().Fragment,null,t().createElement(T,{isIcon:!1,url:e?.attributes?.external_link?e?.attributes?.URL:Ue(e?.attributes.ID,e?.attributes?.audience),targetBlank:!!e?.attributes?.URL},t().createElement("span",{className:"baseocom-footer-top-link-item-icon"},a("arrow-right")),r?.content),e?.attributes?.URL?a("external-link"):null):t().createElement("span",null,t().createElement(ze,{content_block:e?.childrens}))),o&&"ServiceEnLigne"!==n?t().createElement(ze,{content_block:o}):null,Ze(o)&&"Complement"!==n?t().createElement(ze,{content_block:l}):null,"VoirAussi"===n&&Ze(o)?t().createElement(ze,{content_block:c("ServicePublic")}):null,e?.attributes?.type&&"ServiceEnLigne"===n?t().createElement(ze,{content_block:c(e?.attributes?.type)}):null)},F=({block:e,blockTitle:n})=>
1{const[a,r]=t().useState(!1),o=t().useMemo((()=>({VoirAussi:"Voir aussi",QuestionReponse:"Questions ? Réponses !",ServiceEnLigne:"Services en ligne et formulaires",Reference:"Textes de loi et références"}[e?.block]||"")),[e]);return t().createElement(h,{title:o,className:"baseocom-footer-top-dropdown-links",isOpen:a,defaultOpen:"QuestionReponse"===e?.block,onClickOpen:()=>r(!a)},t().createElement("div",{className:"baseocom-content-in-dropdown"},e?.childrens?.map(((n,a)=>t().createElement(H,{key:a,block:n,blockType:e.block})))))},V=({block:e,viewGeneralInformation:n,setViewGeneralInformation:r})=>{const{selectedValue:o}=tt();return t().createElement("div",null,void 0!==n?Ze(o)&&t().createElement("p",{className:"baseocom-general-informations",onClick:()=>r(!0)},a("arrow-right","20"),t().createElement("span",null,"Accéder aux informations générales",t().createElement("strong",null," sans renseigner la situation"))):t().createElement(ze,{content_block:e.childrens}))},B=({block:e})=>e.childrens?t().createElement(ze,{content_block:e.childrens,parent:e?.block}):null,U=({updateFunction:e,value:n})=>t().createElement("button",{type:"button",onClick:t=>e(t,n),className:"baseocom-update-btn"},t().createElement("span",{className:"baseocom-hidden md:baseocom-block"},"Modifier"),a("back")),j=({block:n,hearing:r})=>{const{setAttributesGuidedResearch:o}=tt(),{validateSelection:l,setValidateSelection:c,setViewGeneralInformation:i,type:s}=tt(),u=(0,e.useCallback)((()=>{if("Recherche guidée"!==s)i(!1);else{const e=window.location.hash.substring(1),t=e.includes("?")?e.split("?")[0]:e,n=(e.includes("?")?e.split("?")[1]:"").split("idFicheParent=")[1].split("&")[0],a=Ue(n,r)+"#"+t;window.location.href=a,window.location.reload()}c(!1)}),[r,c,i,s]);return(0,e.useEffect)((()=>{o(n?.attributes)}),[n?.attributes]),t().createElement("div",{className:"baseocom-guided-research-block"},l?t().createElement("div",{className:"baseocom-title-selected "},t().createElement("h3",null,a("user-follow-line"),"Votre situation ?"),t().createElement(U,{updateFunction:u})):t().createElement("h3",{className:""},a("user-search-line"),"Quelle est votre situation ?"),!Ze(n?.childrens)&&t().createElement(ze,{content_block:n?.childrens}))},G=({block:e})=>t().createElement(t().Fragment,null,e?.content&&t().createElement("p",null,e?.content),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens})),$=({block:n})=>{const a=Ge(n.childrens,"Contenu"),r=Ge(n.childrens,"Illustration"),o=n?.attributes?.positionIllustration,l=(0,e.useMemo)((()=>"gauche"===o?"baseocom-flex baseocom-flex-col lg:baseocom-flex-row":"baseocom-flex baseocom-flex-col lg:baseocom-flex-row-reverse"),[o]);return t().createElement("div",{className:`${l} baseocom-justify-between`},t().createElement("img",{className:"baseocom-max-w-full baseocom-h-auto baseocom-block",src:r?.attributes?.LienPublication,alt:"Illustration de la fiche"}),t().createElement("div",null,t().createElement(ze,{content_block:a?.childrens})))},q=({block:e})=>{const{validateSelection:n}=tt();return!n&&t().createElement(t().Fragment,null,t().createElement("div",{className:"baseocom-image-block"},t().createElement("img",{src:e?.attributes?.LienPublication,alt:"fiche"}),t().createElement("p",null,"Crédits : Direction de l'information légale et administrative"),t().createElement(T,{targetBlank:!0,url:e?.attributes?.LienPublication,isIcon:!0},"Ouvrir l'image dans un nouvel onglet")),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens}))},W=({block:e})=>t().createElement("div",{className:"baseocom-information-container"},e?.content&&t().createElement("p",null,We(e?.content)),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens})),Z=({dateModified:e,contributor:t})=>React.createElement("p",{className:"baseocom-verifcation-date-block"},"Vérifié le ",je(e)," - ",t),Y=({block:e,contributor:n,date:a})=>t().createElement("div",{className:"baseocom-introduction"},a&&t().createElement(Z,{dateModified:a,contributor:n}),e?.content&&t().createElement("p",null," ",We(e?.content)),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens})),X=({block:e})=>t().createElement(t().Fragment,null,e?.content&&t().createElement("li",{className:"!baseocom-list-disc baseocom-text-base [&_a]:!baseocom-underline"},We(e?.content)),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens,type:"list-item",parent:"Item"})),Q=({block:e,parent:n})=>"Item"!==n?t().createElement("ul",{className:"!baseocom-ml-5 !baseocom-pl-0 baseocom-mb-5"},t().createElement(ze,{content_block:e?.childrens})):t().createElement("li",{className:"!baseocom-ml-5 !baseocom-pl-0 baseocom-mb-5 [&_a]:!baseocom-underline"},t().createElement("ul",null,t().createElement(ze,{content_block:e?.childrens,type:"list-item",parent:"Item"}))),K=({searchValue:n,data:a,setSearchValue:r})=>{const{setValueLocation:o,valueLocation:l}=tt(),c=(0,e.useCallback)((e=>{o({city:e.label,insee:e.value}),r("")}),[o,r]);return t().createElement("div",{className:(n.length>0&&Ze(l)?"__opened":"__closed")+" baseocom-cities-suggestions"},t().createElement("ul",null,a?.map(((e,n)=>t().createElement("li",{onClick:()=>c(e),key:`item-${n}`},e?.label||e?.message)))))},J=({searchValue:n,selectedCity:r,setSelectedCity:o,setSearchValue:l})=>{const{valueLocation:c,setValueLocation:i}=tt(),s=(0,e.useCallback)((e=>{l(e.target.value)}),[]),u=(0,e.useCallback)((()=>{i({}),l("")}),[i,l]);return t().createElement("div",{className:"baseocom-relative"},t().createElement("input",{disabled:c?.city,type:"text",value:n||c?.city||"",placeholder:"",onChange:s,className:"disabled:baseocom-opacity-100"}),t().createElement("div",{className:"baseocom-content-icon"},Ze(c)&&Ze(n)?null:t().createElement("div",{onClick:u,className:"baseocom-cursor-pointer"},a("close")),a("magnifying-glass")))},ee=({block:n})=>{const[a,r]=(0,e.useState)(""),{valueLocation:o}=tt(),{data:l,api:c}=v();return(0,e.useEffect)((()=>{c.citiesSelect(a)}),[a]),(0,e.useEffect)((()=>{!Ze(o)&&r("")}
1),[o]),t().createElement("div",{className:"baseocom-location-search"},t().createElement(ze,{content_block:n?.childrens}),t().createElement(J,{searchValue:a,setSearchValue:r}),t().createElement(K,{searchValue:a,data:l,setSearchValue:r}))},te=({blocks:e,id:n})=>{const a=Ge(e,"Titre"),r=e?.filter((e=>"Titre"!==e?.block)),[o,l]=t().useState(!1);return t().createElement(h,{onClickOpen:()=>l(!o),title:a?.content,className:"baseocom-can-help-me-dropdown",isOpen:o},t().createElement("div",{className:"baseocom-content"},r&&t().createElement(ze,{content_block:r})))},ne=({block:e,index:n})=>e.childrens?e.childrens.length>1?t().createElement(te,{blocks:e.childrens,id:e?.ID}):t().createElement("div",{className:"baseocom-local-service"},t().createElement(ze,{content_block:e.childrens})):null,ae=({block:e})=>{const n=e=>{const t=e?.filter((e=>"Introduction"!==e?.block&&"Source"!==e?.block));return t};return e.childrens&&e?.childrens?.map(((e,r)=>t().createElement("a",{href:`${Ue(e?.attributes?.ID,e?.attributes?.audience)}`,className:"baseocom-online-service-btn "},(e=>{switch(e){case"Formulaire":return a("form");case"Téléservice":return a("teleservice");case"Outil de recherche":return a("research-tool");case"Simulateur":return a("simulator");case"Modèle de document":return a("document-model")}})(e?.attributes?.type),t().createElement(ze,{key:r,content_block:n(e.childrens)}))))},re=({block:e})=>t().createElement("div",{className:"baseocom-mb-4"},e?.content&&t().createElement("div",{className:"baseocom-block-item"},a("phone"),t().createElement(T,{isIcon:!1,url:e?.attributes?.href},t().createElement("span",{dangerouslySetInnerHTML:{__html:e?.content}})))),oe=({value:e,choice:n,title:r,onChange:o,helpBlock:l})=>{const{constructAffectTrueValue:c,constructName:i,setHelpModal:s,checked:u}=tt();return t().createElement("div",{className:"what-is-your-situation-choice "},t().createElement("input",{checked:((e,t,n)=>e.some((e=>e.name===t&&e.affectTrue===n)))(u,i(r),c(e)),onChange:o,type:"radio",name:i(r),id:n.id,value:JSON.stringify(n)}),t().createElement("div",{className:"baseocom-content-label"},t().createElement("label",{htmlFor:n.id},n.label,l&&t().createElement("button",{onClick:()=>s(l),type:"button",className:"baseocom-btn-help-modal"},a("help")))))},le=({block:n,index:a})=>{const r=Ge(n?.childrens,"Titre"),o=Ge(n?.childrens,"Aide"),{constructAffectTrueValue:l}=tt(),c=(0,e.useCallback)((()=>{const e=Ge(n?.childrens,"Titre"),t=Ge(n?.childrens,"LienInterne"),r=l(n);return{label:e?.content,intituleSiSelectionne:e?.content,affectTrue:r,linkInternal:t,index:a,id:n.ID,helpBlock:o||null}}),[n,o,l]);return t().createElement("div",{className:"baseocom-block-problematic what-is-your-situation-choice-container"},t().createElement(oe,{type:"problematic",title:r?.content,value:n,choice:c(),onChange:e=>{e.preventDefault();let t=window.location.hash.substring(1);t?t+="_"+a:t=a.toString(),window.history.pushState({},"","#"+t)},helpBlock:o}))},ce=({value:e,index:n,validateSelection:r,onClickUpdatedSelection:o,setHelpModal:l})=>t().createElement("div",{key:n,className:` ${r?"baseocom-block-problematics-selected-validate":""} baseocom-block-problematics-selected`},t().createElement("p",null,t().createElement("span",{className:"baseocom-block-problematics-selected-icon"},a(r?"checked":"checkbox-circle")),e.label,e?.helpBlock&&t().createElement("button",{onClick:()=>l(e.helpBlock),type:"button",className:"baseocom-btn-help-modal"},a("help"))),!r&&t().createElement(U,{updateFunction:e=>o(e,n),value:n})),ie=({block:n={}})=>{const{constructAffectTrueValue:a,setSelectedValue:r,selectedValue:o,validateSelection:l,scrollToTop:c,attributesGuidedResearch:i,setHelpModal:s,identifier:u,setViewGeneralInformation:m,setValidateSelection:d,type:h}=tt(),[p,b]=(0,e.useState)(!1),[f,E]=(0,e.useState)([]),[g,v]=(0,e.useState)(null),k=(0,e.useCallback)((()=>{const e=window.location.hash.substring(1);e!==g&&(v(e),e?.split("_").length<g?.split("_").length?r((e=>e.slice(0,-1))):""===e&&r([]))}),[g,r]);(0,e.useEffect)((()=>{const e=setInterval(k,100);return()=>clearInterval(e)}),[k]);const y=(0,e.useCallback)((e=>{if(!e||!n.childrens)return n.childrens;let t=n.childrens;const o=e.split("_").map(Number);return o?.forEach((e=>{if(!t?.[e])return;const n=a(t[e]);t=t[e].childrens;const o=Ge(t,"Titre")?.content,c=Ge(t,"LienInterne"),i=Ge(t,"Aide");r((e=>e.some((e=>e.label===o))?e:[...e,{affectTrue:n,helpBlock:i,linkInternal:c,label:o}]));const s=t.some((e=>"Branche"===e.block));b(!s&&!l)})),t}),[n.childrens,a,r,l]);(0,e.useEffect)((()=>
1{if(!h)return;const e=window.location.hash.substring(1),t="Recherche guidée"===h?e.split("?")[0]:g;v(t),E(y(t))}),[y,h,g]);const w=(0,e.useCallback)((e=>{e.preventDefault(),"Problematics"===(n?.type||"Problematics")?N():_(),d(!0),c(".baseocom-block-problematics")}),[o,i,u,g]),_=()=>{m(!0)},N=()=>{const e=o[o.length-1],{LienPublication:t}=e.linkInternal.attributes,{ID:n,audience:a}=i,r=`${Ue(n,a)}#${g}?idFicheParent=${u}&Fiche=${t}`;window.location.href=r,window.location.href===r&&window.location.reload()},x=(0,e.useCallback)(((e,t)=>{e.preventDefault();const n=g.split("_").map(Number).slice(0,t).join("_");window.location.hash=n,v(n),r((e=>e.slice(0,t))),b(!1)}),[g]);return t().createElement("div",{className:"baseocom-block-problematics"},t().createElement("form",null,!Ze(o)&&o.map(((e,n)=>t().createElement(ce,{key:n,value:e,index:n,validateSelection:l,onClickUpdatedSelection:x,setHelpModal:s}))),t().createElement(ze,{content_block:f,type:"research-guide"}),p&&t().createElement("div",{className:"baseocom-problematics-btn-submit"},t().createElement("button",{onClick:w,type:"button"},"Afficher les informations"))))},se=t().memo(ie),ue=({block:n})=>{const r=Ge(n?.childrens,"Titre"),o=n?.childrens?.filter((e=>"Titre"!==e?.block&&"Aide"!==e?.block)),l=Ge(n?.childrens,"Aide"),{setSelectedValue:c,setHelpModal:i,setChecked:s,constructAffectTrueValue:u,constructName:m,selectedValue:d}=tt(),[h,p]=(0,e.useState)(null),b=(0,e.useCallback)((e=>{const t=Ge(e?.childrens,"Titre"),n=Ge(e?.childrens,"IntituleSiSelectionne"),a=Ge(n?.childrens,"Paragraphe").content,r=e?.attributes,o=u(e),l=r?.si_selectionne?.affecteFaux;return{id:e.ID,label:t?.content,intituleSiSelectionne:a,affectTrue:o,affectFalse:l}}),[u]),f=(0,e.useCallback)((e=>{const{affectTrue:t,affectFalse:n,intituleSiSelectionne:a,id:r}=JSON.parse(e.target.value),o=e.target.name;c((e=>[...e.filter((e=>e.affectTrue!==n)),{affectTrue:t,affectFalse:n,intituleSiSelectionne:a,name:o}])),s((e=>[...e.filter((e=>e.name!==o)),{affectTrue:t,name:o}])),p(o)}),[c,s]),E=(0,e.useCallback)((e=>{e.preventDefault(),s((e=>e.filter((e=>e.name!==h)))),c((e=>e.filter((e=>e.name!==h))))}),[s,c,d,h,m,r]);return(0,e.useEffect)((()=>{const e=m(r?.content),t=d.some((t=>t.name===e));p(t?e:null)}),[d]),t().createElement("div",{className:"question-block"},t().createElement("div",{className:"baseocom-question-block-title"},t().createElement("h4",null,r?.content),l&&t().createElement("button",{onClick:()=>i(l),type:"button",className:"baseocom-btn-help-modal"},a("help"))),t().createElement("div",{className:"what-is-your-situation-choice-container"},o?.map(((e,n)=>{const a=b(e);return t().createElement(oe,{key:a?.id,type:"quiz",title:r?.content,value:e,onChange:f,choice:a})}))),h?t().createElement("button",{onClick:E,className:"clear-selection-btn"},"Effacer la selection"):null)},me=({block:n})=>{const{validateSelection:r,setValidateSelection:o,selectedValue:l,viewGeneralInformation:c,setViewGeneralInformation:i,scrollToTop:s}=tt();return(0,e.useEffect)((()=>{Ze(l)&&!c&&o(!1)}),[l,c]),t().createElement("div",{className:"quiz-block"},t().createElement("form",{onSubmit:e=>{e.preventDefault(),o(!0),i(!0),s(".quiz-block")}},r?t().createElement("div",{className:"selected-title "},t().createElement("div",{className:"selected-title-container "},t().createElement("h3",null,a("user-follow-line"),"Votre situation ?"),t().createElement(U,{updateFunction:()=>{o(!1),i(!1)}})),Ze(l)?t().createElement("p",null,"Vous n'avez pas précisé votre situation."):l.map((e=>t().createElement("div",{className:"titled",key:e?.IntituleSiSelectionne},a("checked"),t().createElement("p",null,e?.intituleSiSelectionne))))):t().createElement("div",{className:"quiz-block-header"},t().createElement("h3",null,a("user-search-line"),"Quelle est votre situation ?"),!Ze(n?.childrens)&&t().createElement(ze,{content_block:n?.childrens}),t().createElement("div",{className:"baseocom-quiz-btn-submit"},t().createElement("button",{type:"submit"},"Afficher les informations")))))},de=({block:e})=>t().createElement("div",{className:"related-file-block"},t().createElement("h2",null,"Pour toute explication, consulter les fiches pratiques :"),e?.content&&t().createElement("p",null,e?.content),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens})),he=({block:e})=>{const n=e.childrens.filter((e=>"Titre"===e.block));return t().createElement(T,{url:Ue(e?.attributes.ID,e?.attributes?.audience)},a("arrow-right"),t().createElement(ze,{content_block:n,type:"link"}))},pe=({block:e})=>{return t().createElement(t().Fragment,null,e?.content&&t().createElement("p",{className:"baseocom-source-block"},(n=e?.content,{Téléservice:"Service en ligne",ServicePublic:"Service-Public.fr"}[n]||n)),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens}));var n},be=({block:e})=>t().createElement("div",{className:"subfolder-block"},e.childrens&&t().createElement(ze,{content_block:e?.childrens})),fe=({block:e})=>{const n=Ge(e.childrens,"Titre"),r=e?.childrens?.find((e=>"header"===e.attributes.type)).childrens,o=e?.childrens?.filter((e=>"normal"===e.attributes.type));return t().createElement("div",{className:"table baseocom-block-table baseocom-my-10"},n&&t().createElement("h4",{className:"baseocom-title"},t().createElement("span",null,a("table")),"Tableau - ",n?.content),t().createElement("div",{className:"baseocom-container baseocom-my-5"},t().createElement("table",null,t().createElement("thead",null,t().createElement("tr",null,r?.map(((e,n)=>t().createElement("th",{key:e?.ID},We(e?.content)))))),t().createElement("tbody",null,o?.map(((e,n)=>t().createElement("tr",{key:n},e.childrens.map(((e,n)=>(console.log("Table row",e),t().createElement("td",{colSpan:e.attributes.fusionHorizontale||1,key:n},null!==e?.content?We(e?.content):t().createElement(ze,{content_block:e?.childrens}))))))))))))},Ee=({block:e})=>t().createElement("div",{className:"baseocom-mb-4"},e?.content&&t().createElement("div",{className:"baseocom-block-item"},a("time-slots"),t().createElement("p",null,e?.content))),ge=({block:e})=>t().createElement("div",{className:"block-under-theme"},!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens})),ve=({block:n})=>{const r=n.attributes.URL.split("/"),o=r[r.length-1],l=Ge(n?.childrens,"Titre"),c=Ge(n?.childrens,"Credits"),i=n?.childrens.filter((e=>"Titre"!==e.block&&"Credits"!==e.block&&"Source"!==e.block)),[s,u]=(0,e.useState)(null);return(0,e.useEffect)((()=>{n.attributes.URL.includes("youtu")?u(`https://www.youtube.com/embed/${o}`):n.attributes.URL.includes("dailymotion")&&u(`https://www.dailymotion.com/embed/video/${o}`)}
1),[n.attributes.URL,o]),t().createElement("div",{className:"baseocom-video-block"},t().createElement("h4",null,a("video")," Vidéo - ",l?.content),t().createElement("iframe",{width:"560",height:"400",src:s,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),t().createElement("p",null,"Crédits: ",c?.childrens[0]?.content),t().createElement(ze,{content_block:i}))},ke=({block:e})=>t().createElement("div",{className:"baseocom-warning-block"},t().createElement("div",{className:"baseocom-icon"},a("warning")),t().createElement("div",{className:"baseocom-content-text"},e?.content&&t().createElement("p",null,e?.content),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens,attributes:e?.attributes}))),ye=({block:e,date:n,contributor:r})=>t().createElement("div",{className:"web-link-block"},e?.content&&t().createElement("p",null,e?.content),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e.childrens}),t().createElement("div",{className:"baseocom-flex-row-center baseocom-mb-8"},t().createElement(T,{url:e.attributes?.URL,targetBlank:!0,isIcon:!1},a("teleservice"),t().createElement("span",null,"Accéder à la démarche en ligne"))),n&&t().createElement(Z,{dateModified:n,contributor:r})),we=({block:e})=>t().createElement("div",{className:"baseocom-mb-4"},e?.content&&t().createElement("div",{className:"baseocom-block-item"},a("website"),t().createElement(T,{targetBlank:!0,isIcon:!1,url:e?.attributes?.href},e?.content))),_e=()=>{const{helpModal:e,setHelpModal:n}=tt();return t().createElement("div",{onClick:()=>n(!1),className:(e?"baseocom-modal-visible ":"baseocom-modal-invisible")+" baseocom-help-modal  "},t().createElement("div",{onClick:e=>e.stopPropagation(),className:`  ${e?"baseocom-modal-container-visible":"baseocom-modal-container-invisible"} baseocom-help-modal-container`},t().createElement("div",{className:"baseocom-btn-close-modal"},t().createElement("button",{onClick:()=>n(!1)},"Fermer",a("close","20"))),t().createElement("div",{className:"baseocom-modal-contains"},t().createElement(ze,{content_block:e?.childrens}))))},Ne=({block:e})=>{const{valueLocation:n}=tt(),a=e?.childrens.filter((e=>"RechercheLocalForm"===e.block)),r=e?.childrens.filter((e=>"RechercheLocalForm"!==e.block));return t().createElement("div",{className:"baseocom-where-to-contact"},t().createElement("h2",null,"Où s'adresser ?"),Ze(a)?t().createElement(ze,{content_block:e?.childrens}):t().createElement(t().Fragment,null,t().createElement(ze,{content_block:a}),Ze(n)?null:t().createElement(ze,{content_block:r})))},xe=({block:e})=>{const n=Ge(e?.childrens||e,"RessourceWeb"),r=Ge(e?.childrens||e,"Titre");return t().createElement("a",{target:"_blank",rel:"noopener noreferrer",title:`${r?.content} - ${n?.attributes?.URL} - Nouvelle fenêtre`,href:n?.attributes?.URL,className:"baseocom-where-to-contact-external-link"},t().createElement("p",null,r.content),a("external-link"))},Te=({block:n})=>{const{valueLocation:a}=tt(),{data:r,api:l,loading:c}=v(),i=$e(n?.attributes.original_childrens,"RessourceWeb"),s=(0,e.useCallback)((()=>{l.servicesGet({pivot_local:n?.attributes.pivot_local,insee_code:a.insee})}),[a.insee]);return(0,e.useEffect)((()=>{a.insee&&s()}),[a.insee]),(0,e.useEffect)((()=>{r&&(n.childrens=r)}),[r]),c?t().createElement(o,null):Ze(n?.childrens)?i?t().createElement(xe,{block:n?.attributes.original_childrens}):t().createElement(ze,{content_block:n?.attributes.original_childrens}):t().createElement(ze,{content_block:n?.childrens})},Se=({block:n,isPersonnalizedLocal:a})=>{const r=$e(n?.childrens,"RessourceWeb"),o=["Centre de contact","National"].includes(n?.attributes?.type);return(0,e.useMemo)((()=>r&&!a?t().createElement(xe,{block:n}):n.attributes.pivot_local&&"Local personnalisé sur SP"===n.attributes.type?t().createElement("div",{className:"baseocom-where-to-contact-location"},t().createElement(Te,{block:n})):Ze(n?.childrens)?t().createElement("div",{className:o?"baseocom-where-to-contact-item-contact-center-block":""},t().createElement(ze,{content_block:n?.attributes?.original_childrens,attributes:n?.attributes})):t().createElement("div",{className:o?"baseocom-where-to-contact-item-contact-center-block":""},t().createElement(ze,{content_block:n?.childrens,attributes:n?.attributes}))),[n,a,r,o])},Ce=({block:e})=>t().createElement(t().Fragment,null,e.content&&t().createElement("p",null,e.content),e.childrens&&t().createElement(ze,{content_block:e.childrens})),Re=({block:e})=>!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens}),Ie=({block:e})=>t().createElement("p",{class:"baseocom-date"},e?.content),Ae=({block:e,position:n})=>{const[a,r]=t().useState(!1);return t().createElement("div",{className:`${a&&"baseocom-image-content-error"}  baseocom-image-content`},t().createElement("img",{src:e?.attributes?.LienPublication,alt:"Image Illustration",onError:e=>{r(!0)}}),Ze(e?.childrens)||"horizontal"!==n?null:t().createElement(ze,{content_block:e?.childrens}))},De=({block:e})=>
1e?.content&&t().createElement("div",{class:"baseocom-sur-titre"},t().createElement("p",null,e?.content)),Le=({block:n,position:r})=>{const o=(0,e.useCallback)((()=>{const e=n.childrens.filter((e=>"ImageIllustration"===e.block));switch(r){case"vertical":const o=n.childrens.filter((e=>"ImageIllustration"!==e.block)),l=["SurTitre","Titre","Date","Introduction"];return o.sort(((e,t)=>l.indexOf(e.block)-l.indexOf(t.block))),t().createElement("div",{class:"baseocom-actualite-content"},t().createElement("a",{href:n?.attributes.post_url,target:"_blank",rel:"noopener noreferrer",class:"baseocom-link-actualite"}),t().createElement(ze,{content_block:e,position:r}),t().createElement("div",{class:"baseocom-text-content"},t().createElement(ze,{content_block:o,position:r}),t().createElement("span",{className:"baseocom-icon-arrow-right"},a("arrow-right"))));case"horizontal":const c=n.childrens.filter((e=>"SurTitre"===e.block||"Titre"===e.block)),i=n.childrens.filter((e=>"Date"===e.block));return t().createElement("div",{class:"baseocom-actualite-content"},t().createElement("a",{href:n?.attributes.post_url,target:"_blank",rel:"noopener noreferrer",class:"baseocom-link-actualite"}),t().createElement(ze,{content_block:e,position:r}),t().createElement("div",{class:"baseocom-text-content"},t().createElement(ze,{content_block:c,position:r}),t().createElement("div",null,t().createElement(ze,{content_block:i,position:r}),t().createElement("span",{className:"baseocom-icon-arrow-right"},a("arrow-right")))))}}),[n,r]);return t().createElement(t().Fragment,null,n?.content&&t().createElement("p",null,n?.content),o())},Me=({block:e})=>e?.content&&t().createElement("h4",{class:"baseocom-titre"},e?.content),Oe=({block:e})=>t().createElement("div",{className:"title-floating-block"},e?.content?t().createElement("h3",{className:"baseocom-text-xl !baseocom-mb-0"},e?.content):null,!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens})),Pe=({block:e,attributes:n,type:r})=>{const{setSelectedCase:o}=tt(),l=()=>{o((e=>{const t=e.findIndex((e=>e===n));return-1!==t?e.slice(0,t):e}))};return t().createElement(t().Fragment,null,e?.content&&(()=>{switch(r){case"research-guide":return;case"link-internal":return t().createElement(T,{isIcon:!1,url:Ue(n?.ID,n.audience)},t().createElement("span",{className:"baseocom-block-title-link-internal"},a("arrow-right")),e?.content);case"link":return t().createElement("span",{className:"baseocom-title-whith-attributes"},e?.content);case"checked":return t().createElement("div",{className:"baseocom-block-title-checked"},t().createElement("div",null,a("checked","16"),t().createElement("h3",null,e?.content)),t().createElement("button",{onClick:l},t().createElement("span",null,"Modifier"),a("back","16")));default:return Ze(n)?t().createElement("span",{className:"baseocom-title-whith-attributes"},e?.content):t().createElement("h3",{className:"baseocom-title-not-attributes "},e?.content)}})(),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens}),!Ze(n)&&t().createElement(i,{attributes:n}))},ze=({type:n,isPersonnalizedLocal:a,content_block:r=[],attributes:o,verification_date:c,contributor:i,viewGeneralInformation:d,setViewGeneralInformation:h,parent:p,position:b})=>{const[f,E]=(0,e.useState)(null);return t().useMemo((()=>Ze(r)?[]:r.map(((e,r)=>{switch("ID"in e||(e.ID=`block-${e.block}-${r}`),e.block){case"Paragraphe":case"Texte":return t().createElement(He,{key:e?.ID,attributes:o,type:n,block:e});case"RefActualite":return t().createElement(Le,{key:e?.ID,block:e,position:b});case"ImageIllustration":return t().createElement(Ae,{key:e?.ID,block:e,position:b});case"SurTitre":return t().createElement(De,{key:e?.ID,block:e});case"Credits":return t().createElement(Re,{key:e?.ID,block:e});case"Date":return t().createElement(Ie,{key:e?.ID,block:e});case"FragmentConditionne":return t().createElement(C,{key:e?.ID,block:e});case"Groupe":return t().createElement(B,{key:e?.ID,attributes:o,block:e});case"Introduction":return"root"===e?.style?t().createElement(Y,{key:e?.ID,contributor:i,date:c,block:e}):t().createElement(Y,{key:e?.ID,attributes:o,block:e});case"Titre":return b?t().createElement(Me,{key:e?.ID,block:e}):t().createElement(Pe,{type:n,key:e?.ID,attributes:o,block:e});case"TitreFlottant":return t().createElement(Oe,{key:e?.ID,block:e});case"ContenuIndisponible":return t().createElement(R,{key:e?.ID,block:e});case"Chapitre":return t().createElement(N,{key:e?.ID,block:e});case"SousChapitre":return t().createElement(x,{key:e?.ID,block:e});case"SousTheme":return t().createElement(ge,{key:e?.ID,block:e});case"Dossier":return t().createElement(z,{key:e?.ID,block:e});case"Avertissement":return t().createElement(ke,{key:e?.ID,block:e});case"QuiPeutMAider":return t().createElement(w,{key:e?.ID,block:e});case"VoirAussi":case"QuestionReponse":case"Reference":return t().createElement(F,{key:e?.ID,block:e,index:r});case"FicheLiee":return t().createElement(de,{key:e?.ID,block:e});case"FicheLieeItem":return t().createElement(he,{key:e?.ID,block:e});case"ServiceEnLigne":return"card"===e.style?t().createElement(F,{key:e?.ID,block:e,index:r}):t().createElement(ae,{key:e?.ID,block:e});case"Liste":return t().createElement(Q,{key:e?.ID,block:e,parent:p});case"Definition":return t().createElement(Ce,{key:e?.ID,block:e});case"Video":return t().createElement(ve,{key:e?.ID,block:e});case"RechercheGuidee":return t().createElement(j,{key:e?.ID,block:e});case"Problematiques":return t().createElement(se,{key:e?.ID,block:e,index:r});case"Problematique":case"Branche":return t().createElement(le,{key:e?.ID,block:e,index:r});case"Item":return t().createElement(X,{key:e?.ID,block:e});case"Complement":case"LienExterne":return t().createElement(S,{key:e?.ID,block:e});case"LienExterneCommente":return t().createElement(L,{key:e?.ID,block:e});
1case"ANoter":case"ASavoir":case"Attention":case"Rappel":return t().createElement(W,{key:e?.ID,block:e});case"Tableau":return t().createElement(fe,{key:e?.ID,block:e});case"Exemple":return t().createElement(D,{key:e?.ID,block:e});case"ListeSituations":return t().createElement(s,{key:e?.ID,block:e});case"BlocCas":return t().createElement(u,{key:e?.ID,block:e});case"Cas":return t().createElement(m,{key:e?.ID,block:e,type:n});case"OuSAdresser":return t().createElement(Ne,{key:e?.ID,block:e});case"OuSAdresserItem":return t().createElement(Se,{isPersonnalizedLocal:a,key:e?.ID,block:e});case"ServiceLocal":return t().createElement(ne,{key:e?.ID,block:e,index:r});case"RechercheLocalForm":return t().createElement(ee,{key:e?.ID,block:e,attributes:o});case"Adresse":return t().createElement(l,{key:e?.ID,block:e});case"Telephone":return t().createElement(re,{key:e?.ID,block:e});case"Horaire":return t().createElement(G,{key:e?.ID,block:e});case"Telecopie":return t().createElement(M,{key:e?.ID,block:e});case"PlageHoraire":return t().createElement(Ee,{key:e?.ID,block:e});case"SiteInternet":return t().createElement(we,{key:e?.ID,block:e});case"LienWeb":return t().createElement(ye,{key:e?.ID,block:e,date:c,contributor:i});case"AdresseCourriel":return t().createElement(A,{key:e?.ID,block:e});case"ContenuIllustre":return t().createElement($,{key:e?.ID,block:e});case"Image":return t().createElement(q,{key:e?.ID,block:e});case"Description":return t().createElement(I,{key:e?.ID,block:e});case"SousDossier":return t().createElement(be,{key:e.ID,block:e});case"Fiche":return t().createElement(P,{key:e?.ID,block:e,parent:p});case"Source":return t().createElement(pe,{key:e?.ID,block:e});case"Questionnaire":if(g=e?.childrens,g.every((e=>"Branche"===e.block))){e.block="RechercheGuidee";const n=[{ID:Qe("__problematiques-"),block:"Problematiques",type:"Quiz-problematics",childrens:e.childrens}];return e.childrens=n,t().createElement(j,{key:e?.ID,block:e})}return t().createElement(me,{key:e?.ID,block:e});case"Question":return t().createElement(ue,{key:e?.ID,block:e,setChoice:E,choice:f});case"InformationsGenerales":return t().createElement(V,{key:e?.ID,viewGeneralInformation:d,setViewGeneralInformation:h,block:e});default:return null}var g}))),[r,o,c,i,d,h,p,b,f])},He=({block:e,type:n})=>{const a="list-item"===n?"li":"div",r="list-item"===n?"!baseocom-list-disc baseocom-text-base [&_p]:!baseocom-mb-0 [&_a]:!baseocom-underline":"baseocom-paragraph-block";return t().createElement(a,{className:r},e?.content&&t().createElement("p",{className:"muted"===e?.style?"baseocom-small":"baseocom-text"},We(e?.content)),!Ze(e?.childrens)&&t().createElement(ze,{content_block:e?.childrens}))},Fe=({title:e,level:t=2})=>{let n=`h${t}`;return React.createElement(n,{className:`baseocom-title_niv_${t}`},e)},Ve=(0,e.memo)((({title:t,children:n})=>{const[a,r]=(0,e.useState)(!1),o=(0,e.useRef)(null),l=(0,e.useRef)(null),c=(0,e.useCallback)((()=>{if(!a||!o.current||!l.current)return;const e=o.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.bottom+5;l.current.style.left=`${t}px`,l.current.style.top=`${n}px`}),[a]),i=(0,e.useCallback)((()=>{r(!0)}),[]),s=(0,e.useCallback)((()=>{r(!1)}),[]);return(0,e.useEffect)((()=>{if(a)return c(),window.addEventListener("scroll",c),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}}),[a,c]),React.createElement("span",{className:"baseocom-tooltip",ref:o,onMouseEnter:i,onMouseLeave:s},n,React.createElement("span",{ref:l,className:"baseocom-tooltip-text "+(a?"baseocom-tooltip-visible":"")},t))})),Be=window?.baseo?.comarquage,Ue=(e,t)=>{let n;return n=Ye(e)?`/${t.toLowerCase()}`:`${t.toLowerCase()}/${e}`,Be?.wp?.home_url+"sp/"+n+"/"},je=e=>new Date(e).toLocaleDateString("fr-FR",{day:"numeric",month:"long",year:"numeric"}),Ge=(e,t)=>{if(!e)return[]||0;if(t)return e?.find((e=>e.block===t));{let t=[];const n=e;return n?.childrens?.forEach((e=>{const n=["Complement","Titre","Texte","RessourceWeb"],a=e?.childrens?.filter((e=>!n.includes(e.block)));a&&t.push(...a)})),t}},$e=(e,t)=>e?.some((e=>e.block===t)),qe=e=>{var t=document.createElement("span");return t.innerHTML=e,t.textContent},We=e=>{if(!e)return;const t=e=>{const n=/(\w+)="(.*?)"/g,a=e.split(/\[(\w+)(.*?)\](.*?)\[\/\1\]/g),r=a.map(((e,r)=>{if(r%4==0)return e;if(r%4==1){const o=a[r+1],l={};let c;for(;null!==(c=n.exec(o));)l[c[1]]=c[2];return((e,t,n)=>{const a=["Acronyme","Sigle"];
1switch(e){case"LienInterne":return a.includes(n.type)?React.createElement(Ve,{title:qe(n.tooltip)},React.createElement("span",{className:"baseocom-link-internal-tooltip"},t)):React.createElement(T,{url:Ue(n?.LienPublication,n?.audience)},t);case"LienExterne":return React.createElement(T,{targetBlank:!0,url:n.URL},t);case"Expression":return React.createElement("span",{className:"baseocom-expression"},t);case"LienIntra":return React.createElement(Ve,{title:qe(n.tooltip)},React.createElement("span",{className:"baseocom-link-intra-tooltip"},t));case"Exposant":return React.createElement("span",{className:"baseocom-exponent"},t);case"Valeur":case"MiseEnEvidence":return React.createElement("strong",{className:"baseocom-highlight"},t);default:return t}})(e,t(a[r+2]),l)}}));return React.createElement(React.Fragment,null,r)};return t(e)},Ze=e=>null==e||("string"==typeof e||Array.isArray(e)?0===e.length:0===Object.keys(e).length),Ye=e=>null==e||""===e;let Xe=0;const Qe=(e="")=>{let t=++Xe;return String(e)+t},Ke=e=>{const t=typeof e;return null!=e&&("object"===t||"function"===t)},Je=(0,e.createContext)(),et=({children:n})=>{const[a,r]=(0,e.useState)([]),[o,l]=(0,e.useState)([]),[c,i]=(0,e.useState)([]),[s,u]=(0,e.useState)((()=>"true"===localStorage.getItem("validate_selection"))),[m,d]=(0,e.useState)(!1),[h,p]=(0,e.useState)(!1),[b,f]=(0,e.useState)({}),[E,g]=(0,e.useState)({}),[v,k]=(0,e.useState)(null),[y,w]=(0,e.useState)(null),[_,N]=(0,e.useState)({index:[],expandEverything:!1}),x=(0,e.useCallback)((e=>{if(e)return`quiz-${(e=>{const t=" ".replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),n=new RegExp(t+"|\\u00A0","g");return e.replace(n,"-")})(e)}`}),[]),T=(0,e.useCallback)((e=>{const t=e?.attributes?.si_selectionne?.affecteVrai;return t}),[]);return(0,e.useEffect)((()=>{const e=()=>{localStorage.removeItem("validate_selection")};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),[]),(0,e.useEffect)((()=>{localStorage.setItem("validate_selection",s)}),[s]),(0,e.useEffect)((()=>{const e=window.location.href;e.includes("#")&&!e.includes("idFicheParent")&&u(!1)}),[]),t().createElement(Je.Provider,{value:{type:y,setType:w,identifier:v,setIdentifier:k,attributesGuidedResearch:E,setAttributesGuidedResearch:g,valueLocation:b,setValueLocation:f,selectedCase:o,setSelectedCase:l,selectedValue:a,setSelectedValue:r,setChecked:i,checked:c,validateSelection:s,setValidateSelection:u,viewGeneralInformation:m,setViewGeneralInformation:d,constructName:x,constructAffectTrueValue:T,scrollToTop:e=>{const t=document.querySelector(e);t&&window.scrollTo({top:t.offsetTop-100,behavior:"smooth"})},helpModal:h,setHelpModal:p,openSubChapter:_,setOpenSubChapter:N}},n)},tt=()=>(0,e.useContext)(Je),nt=["qui_peut_m_aider_blocks","reference_blocks","service_en_ligne_blocks","question_reponse_blocks","voir_aussi_blocks"],at=({ficheId:n,hearing:a})=>{const[r,l]=(0,e.useState)(null),[c,i]=(0,e.useState)(!0),[s,u]=(0,e.useState)(null),[m,d]=(0,e.useState)([]),{selectedValue:h,viewGeneralInformation:p,setViewGeneralInformation:b,validateSelection:f,setIdentifier:E,setType:g,type:k}=tt(),{data:y,api:w,loading:_}=v(),N=(0,e.useCallback)((async()=>{const e=document.getElementById(`comarquage_fiche_${a}_${n}`);if(e)try{const t=JSON.parse(e.textContent),n=await x(t);l(n)}catch(e){u(!0)}else u(!0)}),[n,a]);(0,e.useEffect)((()=>{N()}),[n,a]);const x=(0,e.useCallback)((async e=>{const t=e?.dc_type;switch(t){case"Dossier":const t={...e};return t.content_blocks=t.content_blocks.filter((e=>"OuSAdresser"!==e.block)),i(!1),t;case"Recherche guidée":const n=window.location.hash.substring(1),r=new URLSearchParams(n).get("Fiche");return r&&a?await w.documentsContentGet(a,r):i(!1),e;default:return i(!1),e}}),[w]),T=(0,e.useCallback)((()=>{if(!y||!r)return;const e={...r};e.content_blocks=e.content_blocks.filter((e=>"Introduction"!==e.block));const t=e.content_blocks.find((e=>"RechercheGuidee"===e.block));e.content_blocks=e.content_blocks.filter((e=>"RechercheGuidee"!==e.block)),e.search_guide=t,e.dc_title=y.dc_title,e.content_blocks.push(...y.content_blocks),e&&i(!1),l(e)}),[y,r]);(0,e.useEffect)((()=>{T()}),[y]),(0,e.useEffect)((()=>{r&&(E(r?.dc_identifier),g(r?.dc_type))}),[r]),(0,e.useEffect)((()=>
1{if(r){let e=((e,t)=>{const n=t.map((e=>e.affectTrue)),a=t.map((e=>e.affectFalse)),r=a.includes(void 0);if(Ze(t))return e;const o=e=>e?e.filter((e=>{const t=e?.attributes,o=t?.condition;return!t||!o||!o.some((e=>"ou"===e.type&&!r&&e.var.some((e=>"estFaux"===e.type&&a.includes(e.var)))||"estVrai"===e.type&&!n.includes(e.var)))})).map((e=>{const t={...e};return t?.childrens&&(t.childrens=o(t.childrens)),t})):[];return o(e)})(r?.content_blocks||[],h||[]);d(e)}}),[h,r]);const S=$e(r?.content_blocks,"InformationsGenerales");if((0,e.useEffect)((()=>{r&&!S&&b(!0)}),[S,r]),c||_)return t().createElement(o,null);if(s)return t().createElement(Error,null);if(!r)return t().createElement("div",{className:"baseo-comarquage-info-block"},"Impossible de récupérer les données Service-public");if(r&&!c){const{fildariane:e,dc_title:n,dc_title_show:a,dc_date:o,dc_contributor:l,audience:c,search_guide:i,avertissement_blocks:s}=r;return t().createElement("div",{id:"baseo_comarquage"},t().createElement(O,{filDAriane:e}),"Recherche guidée"===k&&i?t().createElement(j,{hearing:c,block:i}):null,a&&t().createElement(Fe,{title:n}),p?t().createElement(t().Fragment,null,f&&t().createElement("div",{className:"!baseocom-mt-10"},t().createElement(ze,{type:"fiche",content_block:s})),t().createElement(ze,{type:"fiche",content_block:m,verification_date:o,contributor:l}),!f&&t().createElement(ze,{content_block:s}),nt?.map((e=>t().createElement(ze,{key:e,content_block:r[e]})))):t().createElement(ze,{type:"fiche",content_block:m,verification_date:o,contributor:l,viewGeneralInformation:p,setViewGeneralInformation:b}),t().createElement(_e,null))}},rt=({hearing:n,position:a,numbers:l})=>{const[c,i]=(0,e.useState)(null),[s,u]=(0,e.useState)(!0),[m,d]=(0,e.useState)(null);return(0,e.useEffect)((()=>{(async()=>{const e=document.getElementById("comarquage_news_"+n+"_"+l+"_"+a);if(e)try{const t=JSON.parse(e.textContent),n=t?.results?.flat();i(n),u(!1)}catch(e){d(!0)}else d(!0)})()}),[n,a,l]),s?t().createElement(o,null):m?t().createElement(r,null):t().createElement("div",{id:"baseocom-actualites"},t().createElement("div",{className:`baseocom-actualites-cards baseocom-style-${a}`},t().createElement(ze,{content_block:c,position:a})))},ot=({hearing:n,value:r,setValue:o,api:l})=>{const[c,i]=(0,e.useState)(""),s=new URLSearchParams(window.location.search).get("q"),u=Be?.wp?.home_url,m=(0,e.useCallback)((e=>{e.preventDefault(),Ye(r)?i("Veuillez saisir une recherche"):window.location.href=`${u}/sp/${n}/recherche?q=${r}`}),[r,u,n]),d=(0,e.useCallback)((e=>{l.searchGet(n,e)}),[n,r,l]);return(0,e.useEffect)((()=>{s&&(o(s),d(s))}),[s]),t().createElement("div",null,t().createElement("form",{className:"baseocom-input-search",onSubmit:m},t().createElement("input",{value:r||"",placeholder:"Rechercher une fiche pratique, une démarche, ...",onChange:e=>o(e.target.value)}),t().createElement("button",{type:"submit"},a("magnifying-glass","20"))),t().createElement("div",{className:"baseocom-error"},c))};var lt=n(838),ct=n.n(lt),it=n(442);const st=it.default||it,ut={"fiches-pratiques":"Fiches Pratiques","demarches-outils":"Démarches et outils",actualites:"Actualités"},mt=({data:n,value:r})=>{const[o,l]=(0,e.useState)(0),[c,i]=(0,e.useState)("résultat(s)"),[s,u]=(0,e.useState)(null),[m,d]=(0,e.useState)(n);(0,e.useEffect)((()=>{const e=m?Object.values(m).flat().length:0;l(e)}),[m]),(0,e.useEffect)((()=>{if(s){const e={[s]:n[s]},t=ut[s];d(e),i(t)}else d(n),i("résultat(s)")}),[s,n]);const h=e=>{u(s?null:e)};return t().createElement("div",{className:"baseocom-search-results"},t().createElement("h2",null,t().createElement("strong",null,o," ",c)," ","pour ",t().createElement("strong",null,": « ",r," »")),t().createElement("div",{className:"baseocom-results-content"},Object.entries(m).map((([e,n])=>{const r=ut[e],o=n.length,l=s?n:n.slice(0,10);return 0!==o&&t().createElement("div",{key:e,className:"baseocom-result-by-category"},t().createElement("h3",null,r," (",o,")"),t().createElement("div",{className:"baseocom-flex baseocom-flex-col baseocom-gap-2"},l.map(((e,n)=>t().createElement(T,{key:n,isIcon:!1,url:e?.url?e?.url:Ue(e?.identifier,e?.audience)},t().createElement("span",{className:"baseocom-mb-1 baseocom-mr-1"},a("arrow-right",16)),st(ct().sanitize(e?.title)))))),s?t().createElement("div",{className:"baseo-button-view-more"},t().createElement("button",{type:"button",onClick:()=>h(e)},t().createElement("span",{className:"baseocom-mb-1 baseocom-mr-1"},a("arrow-left",16)),t().createElement("span",null,"Retour"))):o>l.length&&t().createElement("div",{className:"baseo-button-view-more"},t().createElement("button",{type:"button",onClick:()=>h(e)},"Voir tous les résultats dans les ",r,t().createElement("span",{className:"baseocom-mb-1 baseocom-ml-1"},a("arrow-right",16)))))}
1))))},dt=({hearing:n})=>{const{data:a,loading:r,api:l}=v(),[c,i]=(0,e.useState)("");return t().createElement(t().Fragment,null,t().createElement(ot,{hearing:n,value:c,api:l,setValue:i}),r?t().createElement("div",{className:"baseocom-h-96 baseocom-mt-20 baseocom-flex-row-center"},t().createElement(o,null)):a?t().createElement(mt,{data:a,value:c}):null)};function ht(e,t){ReactDOM.render(e,t)}document.addEventListener("DOMContentLoaded",(()=>{!function(){const e=document.querySelectorAll(".baseo-comarquage-fiche-block"),t=document.querySelectorAll(".baseo-comarquage-news-block"),n=document.querySelectorAll(".baseo-comarquage-search-block");e.forEach((e=>{!function(e){const t=e.attributes["data-comarquage-fiche-id"].value,n=e.attributes["data-comarquage-hearing"].value;ht(React.createElement(et,null,React.createElement(at,{ficheId:t,hearing:n})),e)}(e)})),t.forEach((e=>{!function(e){const t=e.attributes["data-comarquage-hearing"].value,n=e.attributes["data-comarquage-position"].value,a=e.attributes["data-comarquage-numbers"].value;ht(React.createElement(rt,{position:n,hearing:t,numbers:a}),e)}(e)})),n.forEach((e=>{!function(e){const t=e.attributes["data-comarquage-hearing"].value;ht(React.createElement(dt,{hearing:t}),e)}(e)}))}()}))})()})();

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.