import 'core-js';
import 'normalize.css';
import './index.scss';
import { isDuringLiffRedirect } from './lib';
import App from './App.svelte';

liff.init({ liffId: LIFF_ID }).then(() => {
  // liff.init should have corrected the path now, don't initialize app and just wait...
  // Ref: https://www.facebook.com/groups/linebot/permalink/2380490388948200/?comment_id=2380868955577010
  if (isDuringLiffRedirect) return;

  // Cleanup loading
  document.getElementById('loading').remove();
  new App({ target: document.body });
});

@@ -54,24 +54,50 @@
 ndex.scss';%0A
+import %7B t %7D from 'ttag';%0A
 import %7B isD
@@ -163,16 +163,348 @@
 elte';%0A%0A
+// Commenting this secion out during LIFF development to enable debugging on desktop%0A// (Can do everything except liff.sendMessage)%0A//%0Aif (!liff.isInClient()) %7B%0A  alert(%0A    t%60Sorry, the function is not applicable on desktop.%60 +%0A      '%5Cn' +%0A      t%60Please proceed on your mobile phone.%60 +%0A      ' %F0%9F%93%B2 '%0A  );%0A  liff.closeWindow();%0A%7D%0A%0A
 liff.ini

stop desktop from accessing