!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o=function(e,t){var n=new a(e,t);return function(){return n.current()}};Object.defineProperty(o,"default",{value:o});var r=o;o.root=function(e){var t=m,n=0===e.length?y:new a(null,null),o=void 0,r=0===e.length?null:function(){null!==g?h.disposes.add(n):O(n)};return m=n,null===g?o=function(e,t,n){try{return null===t?e():e(t)}finally{m=n}}(e,r,t):(o=null===r?e():e(r),m=t),o},o.on=function(e,t,n,r){var l;return Array.isArray(e)&&(l=e,e=function(){for(var e=0;e0||h.updates.count>0)&&(h.time++,S(h))}finally{g=m=v=null}}(this):this.value=this.fn(this.value),n&&n!==y&&(null===n.owned?n.owned=[this]:n.owned.push(this)),m=n,v=o}}return e.prototype.current=function(){if(null!==v){if(this.age===h.time){if(this.state===b)throw new Error("circular dependency");N(this)}!function(e,t){null===e.log&&(e.log=new u);w(e.log,t)}(this,v)}return this.value},e.prototype.clock=function(){return i},e}(),u=function(){return function(){this.node1=null,this.node1slot=0,this.nodes=null,this.nodeslots=null}}(),c=function(){function e(){this.items=[],this.count=0}return e.prototype.reset=function(){this.count=0},e.prototype.add=function(e){this.items[this.count++]=e},e.prototype.run=function(e){for(var t=this.items,n=0;n0&&e.time++,e.changes.run(C),e.updates.run(N),e.disposes.run(O),n++>1e5)throw new Error("Runaway clock detected");g=t}function C(e){e.value=e.pending,e.pending=d,e.log&&k(e.log)}function k(e){var t=e.node1,n=e.nodes;if(null!==t&&_(t),null!==n)for(var o=0,r=n.length;o!0,deleteProperty:()=>!0};function H(e,t,n){if(n=T(n),e[t]===n)return;const o=Array.isArray(e)||!(t in e);void 0===n?delete e[t]:e[t]=n;let r,l=B(e);(r=l[t])&&r.next(),o&&(r=l._self)&&r.next()}function z(e,t){const n=Object.keys(t);for(let o=0;o{const i=U(n(t,o),e,r,++Q);return p.set(i,l),i})}function g(){d&&d(l?l.nextSibling:e.firstChild,i)}a(function(){for(let e of p.keys())p.get(e)();p.clear()}),s((n=[])=>{const o=t()||[];return c(()=>{e=i&&i.parentNode||e;const t=o.length;if(b){if(void 0!==l||void 0!==i){let t=null!=l?l.nextSibling:e.firstChild;W(e,t,void 0===i?null:i)}else e.textContent="";for(let e of p.keys())p.get(e)();p.clear(),b=!1}if(0===t){if(void 0!==l||void 0!==i){let t=null!=l?l.nextSibling:e.firstChild;W(e,t,void 0===i?null:i)}else e.textContent="";for(let e of p.keys())p.get(e)();return p.clear(),g(),f&&(b=!0,u(t=>{const n=U(f(),e,i,++Q);p.set(n,t)})),[]}if(0===n.length){let e=new Array(t);for(let n=0;n=0;i=l[i],r--)n[r]=i;return n}(C,c),j=[];let O,M=y,E=A.length-1;for(let e=a;e<=v;e++)j[e]=M,M=V(M,X);for(let t=0;t=c;t--)A[E]===t?(S=j[C[A[E]]],E--):(-1===C[t]?O=h(o[t],t,S):(O=j[C[t]],Y(e,O,V(O,X),S)),S=O);return g(),o.slice(0)})})}function te(e,t){var n=-1,o=e.length;if(o>0&&e[o-1]<=t)return o-1;for(;o-n>1;){var r=Math.floor((n+o)/2);e[r]>t?o=r:n=r}return n}const ne="property",oe={href:{type:"attribute"},style:{type:ne,alias:"style.cssText"},for:{type:ne,alias:"htmlFor"},class:{type:ne,alias:"className"},spellCheck:{type:ne,alias:"spellcheck"},allowFullScreen:{type:ne,alias:"allowFullscreen"},autoCapitalize:{type:ne,alias:"autocapitalize"},autoFocus:{type:ne,alias:"autofocus"},autoPlay:{type:ne,alias:"autoplay"}};function re(e,t,n,o){if(!n)return e.textContent="";if(Array.isArray(t))for(let n=0;nn(),enumerable:!0})}const ie=new Set;function se(e){return e&&(e.model||se(e.host||e.parentNode))}function ae(e){const t=`__${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>n});null!==n;){const o=n[t];if(o){if(o(e,o.length>1?se(n):void 0),e.cancelBubble)return}n=n.host||n.parentNode}}new Set(["abort","animationstart","animationend","animationiteration","blur","change","copy","cut","error","focus","load","loadend","loadstart","mouseenter","mouseleave","paste","progress","reset","select","submit","transitionstart","transitioncancel","transitionend","transitionrun"]);const ue=function(e){const{wrap:t,cleanup:n,root:o,sample:r}=e;function l(e,n,o,r){if(n===o)return o;e=r&&r.parentNode||e;const i=typeof n;if("string"===i||"number"===i)if("number"===i&&(n=n.toString()),r){if(""===n)re(e,o,r);else if(""!==o&&"string"==typeof o)r.previousSibling.data=n;else{const t=document.createTextNode(n);""!==o&&null!=o?e.replaceChild(t,r.previousSibling):e.insertBefore(t,r)}o=n}else o=""!==o&&"string"==typeof o?e.firstChild.data=n:e.textContent=n;else if(null==n||"boolean"===i)o=re(e,o,r);else if("function"===i)t(function(){o=l(e,n(),o,r)});else if(n instanceof Node)Array.isArray(o)?0===o.length?e.insertBefore(n,r):1===o.length?e.replaceChild(n,o[0]):(re(e,o,r),e.appendChild(n)):null==o||""===o?e.insertBefore(n,r):e.replaceChild(n,r&&r.previousSibling||e.firstChild),o=n;else{if(!Array.isArray(n))throw new Error("content must be Node, stringable, or array of same");{let t=J([],n);if(re(e,o,r),0!==t.length)for(let n=0,o=t.length;nl(e,n(),t,r))},classList:i,createComponent(e,t,n){if(n)for(let e=0;es(e,n())):s(e,n)},flow(i,s,a,u,c,d){let f;if(d&&(f=d.previousSibling),"each"===s)ee(i,a,u,c,e,f,d);else if("when"===s){let e,s;const{afterRender:p,fallback:b}=c;n(function(){s&&s()}),t(t=>{const n=a();return n===t?t:r(()=>(i=d&&d.parentNode||i,s&&s(),null==n||!1===n?(re(i,e,d,f),e=null,p&&p(e,d),b&&o(t=>{s=t,e=l(i,b(),e,d)}),n):(o(t=>{s=t,e=l(i,u(n),e,d)}),p&&p(e,d),n)))})}else if("suspend"===s){const{fallback:e}=c,s=document.implementation.createHTMLDocument(),p=r(u);let b,h,g=!0;for(let e of ie.keys())s.addEventListener(e,ae);Object.defineProperty(s.body,"host",{get:()=>d&&d.parentNode||i}),n(function(){b&&b()}),t(t=>{const n=!!a();let u;if(n===t)return t;if(i=d&&d.parentNode||i,n){if(g)l(s.body,p),g=!1;else for(u=f?f.nextSibling:i.firstChild;u&&u!==d;){const e=u.nextSibling;s.body.appendChild(u),u=e}return e&&r(()=>o(t=>{b=t,h=l(i,e(),null,d)})),n}if(g)l(i,p,null,d),g=!1;else for(b&&(re(i,h,d,f),b());u=s.body.firstChild;)i.insertBefore(u,d);return n})}else if("portal"===s){const{useShadow:e}=c,t=document.createElement("div"),o=a&&r(a)||document.body,s=e&&t.attachShadow?t.attachShadow({mode:"open"}):t;Object.defineProperty(t,"host",{get:()=>d&&d.parentNode||i});const f=r(()=>u(t));l(t,f),t!==s&&Promise.resolve().then(()=>{for(;t.firstChild;)s.appendChild(t.firstChild)}),o.appendChild(t),n(()=>o.removeChild(t))}}},e)}({wrap:r.makeComputationNode,root:r.root,cleanup:r.cleanup,sample:r.sample});const ce=document.createElement("template");ce.innerHTML="

Odoo Docker SSH Admin

\x3c!--66--\x3e\x3c!--67--\x3e\x3c!--68--\x3e\x3c!--69--\x3e\x3c!--70--\x3e";const de=document.createElement("template");de.innerHTML="

đŸ–„ Retour serveur

";const fe=document.createElement("template");fe.innerHTML="

🗄 Modules

Bases sélectionnées : \x3c!--43--\x3e

";const pe=document.createElement("template");pe.innerHTML="

đŸš© Actions

";const be=document.createElement("template");be.innerHTML="
  • ";const he=document.createElement("template");he.innerHTML="

    📙 Bases de donnĂ©es

    Merci de renseigner toutes les bases de votre domaine ici. Pour effectuer une installation ou mise à jour de module, sélectionnez les bases sur lesquelles agir.

      ";const ge=document.createElement("template");function ve(e){const[t,n]=function(e){return[P(e=T(e||{})),function(){const t=arguments;r.freeze(()=>{if(Array.isArray(t[0]))for(let n=0;nlocalStorage.odoodockerssh=JSON.stringify(t)),l?r.on(l,o,void 0,i):r.makeComputationNode(o),[t,n]}ge.innerHTML="

      🛠 Configuration

      ";const me={address:"",port:"",username:"",key:"",password:"",database:"",databases:[],modules:"",serverlog:""},ye=()=>{const[e,t]=ve(me),n=({target:e})=>t(e.name,e.value),o=n=>{if(n.preventDefault(),e.database){let n={name:e.database,checked:!1};t(["databases",[...e.databases,n]],["database",""])}},r=()=>{let n=e.databases.map(e=>Object.assign({},e));t("databases",n.map(e=>Object.assign(e,{checked:!e.checked})))},l=()=>{let n=e.databases.map(e=>Object.assign({},e));t("databases",n.map(e=>Object.assign(e,{checked:!0})))},i=()=>{let n=e.databases.map(e=>Object.assign({},e));t("databases",n.map(e=>Object.assign(e,{checked:!1})))};return function(){const s=he.content.firstChild.cloneNode(!0),a=s.firstChild.nextSibling.nextSibling,u=a.firstChild.firstChild,c=u.nextSibling,d=c.nextSibling,f=d.nextSibling,p=a.nextSibling.firstChild.firstChild.firstChild.firstChild,b=p.firstChild,h=p.nextSibling.firstChild;return u.__click=r,c.__click=l,d.__click=i,ue.flow(f,"each",()=>e.databases,(n,o)=>(function(){const o=be.content.firstChild.cloneNode(!0),r=o.firstChild,l=r.nextSibling,i=l.nextSibling;return r.__click=(e=>(({target:{checked:e}},n)=>{t("databases",e=>e.name===n,{name:n,checked:e})})(e,n.name)),ue.wrap(()=>r.checked=n.checked),ue.insert(l,()=>n.name),i.__click=(()=>(n=>{t("databases",e.databases.filter(e=>e.name!==n))})(n.name)),o})(),{}),b.__input=n,ue.wrap(()=>b.value=e.database),h.__click=o,ue.wrap(()=>h.disabled=!e.database),s}()},we=()=>{const[e,t]=function(e,t){const n=r.makeDataNode(e);let o;if(t){let r=-1;o=(o=>{if(!t(e,o)){const t=n.clock().time();if(t===r)throw new Error(`Conflicting value update: ${o} is not the same as ${e}`);r=t,e=o,n.next(o)}})}else o=n.next.bind(n);return[n.current.bind(n),o]}("configuration"),n=t=>e()===t?"active":"";return function(){const o=ce.content.cloneNode(!0),r=o.firstChild.nextSibling,l=r.firstChild,i=l.nextSibling,s=i.nextSibling,a=s.nextSibling,u=a.nextSibling,c=r.nextSibling,d=c.nextSibling,f=d.nextSibling,p=f.nextSibling,b=p.nextSibling;return l.__click=(()=>t("configuration")),ue.wrap(()=>l.className=n("configuration")),i.__click=(()=>t("actions")),ue.wrap(()=>i.className=n("actions")),s.__click=(()=>t("databases")),ue.wrap(()=>s.className=n("databases")),a.__click=(()=>t("modules")),ue.wrap(()=>a.className=n("modules")),u.__click=(()=>t("serverlog")),ue.wrap(()=>u.className=n("serverlog")),ue.flow(o,"when",()=>"configuration"===e(),()=>(()=>{const[e,t]=ve(me),n=({target:e})=>t(e.name,e.value);return function(){const t=ge.content.firstChild.cloneNode(!0),o=t.firstChild.nextSibling.firstChild.firstChild,r=o.firstChild.nextSibling,l=r.nextSibling.nextSibling,i=o.nextSibling,s=i.firstChild.nextSibling,a=i.nextSibling.firstChild.nextSibling;return r.onchange=n,ue.wrap(()=>r.value=e.address),l.onchange=n,ue.wrap(()=>l.value=e.port),s.onchange=n,ue.wrap(()=>s.value=e.username),a.onchange=n,ue.wrap(()=>a.value=e.key),t}()})(),{},c),ue.flow(o,"when",()=>"databases"===e(),()=>ye(),{},d),ue.flow(o,"when",()=>"modules"===e(),()=>(()=>{const[e,t]=ve(me),n=({target:e})=>t(e.name,e.value);return function(){const t=fe.content.firstChild.cloneNode(!0),o=t.firstChild.nextSibling.firstChild,r=o.firstChild.nextSibling,l=o.nextSibling.firstChild,i=l.firstChild.nextSibling,s=l.nextSibling.firstChild.nextSibling;return ue.insert(o,(e=>{let t=e.filter(e=>e.checked).map(e=>e.name);return t.length?t.join(", "):"Aucune base sélectionnée"})(e.databases),null,r),i.__input=n,ue.wrap(()=>i.value=e.modules),ue.wrap(()=>s.value=e.stop),t}()})(),{},f),ue.flow(o,"when",()=>"actions"===e(),()=>(()=>{const[e,t]=ve(me);return pe.content.firstChild.cloneNode(!0)})(),{},p),ue.flow(o,"when",()=>"serverlog"===e(),()=>(()=>{const[e,t]=ve(me),n=()=>t("serverlog","");return function(){const t=de.content.firstChild.cloneNode(!0),o=t.firstChild.nextSibling.firstChild,r=o.firstChild,l=o.nextSibling.firstChild;return ue.insert(r,()=>e.serverlog),l.__click=n,t}()})(),{},b),o}()};q(()=>document.body.appendChild(we())),ue.delegateEvents(["click","input"])}]);