ploxion-trouver/app.blade.php

25 lines
1.7 KiB
PHP

{{-- PL0XION trouver ⚡ — FUSIONNÉ dans «lanceur» (vague fusion 16.08 : famille launchers).
Stub de redirection rétro-compat : /px/trouver et jOS.openPloxion('trouver') mènent à
l'onglet ⚡ Trouver du Lanceur. La palette jOSFind + les récents (jfind:recent) y vivent. --}}
<script>
(function(){
'use strict';
var ID='trouver', HOST='lanceur', TAB='trouver', HN='Lanceur';
function mount(container, ctx){
container.innerHTML='<div style="display:flex;height:100%;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8aa0bd;font-family:ui-sans-serif,system-ui">⚡ «trouver» est fusionné dans <b style="color:#eafff6;margin:0 5px">🚀 '+HN+'</b> — ouverture…</div>';
try{ window.__pxJump=window.__pxJump||{}; window.__pxJump[HOST]=TAB; }catch(e){}
try{ var T=(window.jOSb&&window.jOSb.toast)||(window.jOS&&window.jOS.toast); if(T)T('⚡ «trouver» est fusionné dans «'+HN+'» (onglet Trouver)'); }catch(e){}
if(ctx&&ctx.standalone){ try{ location.replace('/px/'+HOST+'?tab='+TAB); }catch(e){} }
else setTimeout(function(){
try{ if(window.jOSui&&jOSui.tier&&jOSui.tier()==='mobile'&&window.jOSMobile&&jOSMobile.open){ jOSMobile.open(HOST,HN); }
else if(window.jOS&&window.jOS.openPloxion){ window.jOS.openPloxion(HOST); } }catch(e){}
try{ window.dispatchEvent(new CustomEvent('jos:px:tab',{detail:{host:HOST,tab:TAB}})); }catch(e){}
try{ if(ctx&&ctx.close) setTimeout(function(){ ctx.close(); },350); }catch(e){}
},0);
return { unmount:function(){ container.innerHTML=''; } };
}
window.jOSApps=window.jOSApps||{};
window.jOSApps[ID]={manifest:{id:ID,name:'Trouver → Lanceur',icon:'⚡'},mount:mount};
})();
</script>