/*! Woowa Addon v2.6.2 | (c) Woowa | mhgufron | https://app.woo-wa.com/terms-conditions | https://app.woo-wa.com/privacy-policy */ var _0x5cae11=_0x3928;(function(_0x5dc85a,_0x53ed78){var _0x361f9b=_0x3928,_0x2dc479=_0x5dc85a();while(!![]){try{var _0x2a5f0f=-parseInt(_0x361f9b(0x109))/0x1*(parseInt(_0x361f9b(0x178))/0x2)+-parseInt(_0x361f9b(0x101))/0x3*(-parseInt(_0x361f9b(0x154))/0x4)+-parseInt(_0x361f9b(0x141))/0x5+parseInt(_0x361f9b(0x124))/0x6*(-parseInt(_0x361f9b(0x151))/0x7)+parseInt(_0x361f9b(0x16a))/0x8+-parseInt(_0x361f9b(0x108))/0x9+-parseInt(_0x361f9b(0x117))/0xa*(-parseInt(_0x361f9b(0x14c))/0xb);if(_0x2a5f0f===_0x53ed78)break;else _0x2dc479['push'](_0x2dc479['shift']());}catch(_0x2192b6){_0x2dc479['push'](_0x2dc479['shift']());}}}(_0x309d,0xb80db));var _0x4ff1bc=(function(){var _0x139f2d=!![];return function(_0x7e50e0,_0x49d85e){var _0x4b9b72=_0x139f2d?function(){var _0x26443a=_0x3928;if(_0x49d85e){var _0xb989d1=_0x49d85e[_0x26443a(0x15e)](_0x7e50e0,arguments);return _0x49d85e=null,_0xb989d1;}}:function(){};return _0x139f2d=![],_0x4b9b72;};}()),_0x25b6ea=_0x4ff1bc(this,function(){var _0x51d709=_0x3928;return _0x25b6ea[_0x51d709(0x179)]()[_0x51d709(0x16d)]('(((.+)+)+)+$')['toString']()[_0x51d709(0x136)](_0x25b6ea)['search'](_0x51d709(0x162));});_0x25b6ea();function _0x3928(_0x32660c,_0x5b951e){var _0x299e0d=_0x309d();return _0x3928=function(_0x19217f,_0x21f1fd){_0x19217f=_0x19217f-0xf2;var _0x38b2eb=_0x299e0d[_0x19217f];return _0x38b2eb;},_0x3928(_0x32660c,_0x5b951e);}var _0x21f1fd=(function(){var _0x23d4b5=!![];return function(_0xcd602,_0x14d884){var _0x4111f0=_0x23d4b5?function(){var _0x37393f=_0x3928;if(_0x14d884){var _0x448bf9=_0x14d884[_0x37393f(0x15e)](_0xcd602,arguments);return _0x14d884=null,_0x448bf9;}}:function(){};return _0x23d4b5=![],_0x4111f0;};}()),_0x19217f=_0x21f1fd(this,function(){var _0xee197e=_0x3928,_0x1c1d69=typeof window!==_0xee197e(0x165)?window:typeof process===_0xee197e(0x11f)&&typeof require===_0xee197e(0x12b)&&typeof global==='object'?global:this,_0xe8699d=_0x1c1d69[_0xee197e(0x15d)]=_0x1c1d69[_0xee197e(0x15d)]||{},_0x425215=['log',_0xee197e(0x114),_0xee197e(0xfe),_0xee197e(0x11e),_0xee197e(0x132),'table','trace'];for(var _0x1081f6=0x0;_0x1081f6<_0x425215['length'];_0x1081f6++){var _0x445814=_0x21f1fd[_0xee197e(0x136)]['prototype'][_0xee197e(0x138)](_0x21f1fd),_0x36711c=_0x425215[_0x1081f6],_0x5be15f=_0xe8699d[_0x36711c]||_0x445814;_0x445814[_0xee197e(0x10d)]=_0x21f1fd[_0xee197e(0x138)](_0x21f1fd),_0x445814[_0xee197e(0x179)]=_0x5be15f[_0xee197e(0x179)]['bind'](_0x5be15f),_0xe8699d[_0x36711c]=_0x445814;}});_0x19217f();var ADDON_TITLE=_0x5cae11(0x160),ADDON_VERSION='v2.6.2';function onOpen(_0x47174a){var _0x176e74=_0x5cae11;FormApp['getUi']()[_0x176e74(0x10b)]()[_0x176e74(0x15b)]('Woowa\x20Settings',_0x176e74(0x166))[_0x176e74(0x15b)]('About','showAbout')[_0x176e74(0x12c)]();}function setTrigger(){var _0x141118=_0x5cae11;const _0x1a100e=getSettings(),_0x5c5c66=_0x1a100e[_0x141118(0x13f)];out={'emailSetTriggers':_0x5c5c66};if(typeof _0x5c5c66===_0x141118(0x165)||_0x5c5c66!==''&&_0x5c5c66===Session[_0x141118(0x17a)]()[_0x141118(0x10e)]()){adjustFormSubmitTrigger(),email=Session[_0x141118(0x17a)]()[_0x141118(0x10e)](),out={'emailSetTriggers':email};try{PropertiesService['getDocumentProperties']()['setProperties'](out);}catch(_0x16f785){console[_0x141118(0x104)]('Failed\x20with\x20error\x20%s',_0x16f785[_0x141118(0x167)]);}Logger['log'](_0x141118(0x105));}else unsetTrigger(),Logger[_0x141118(0x104)](_0x141118(0x140));return out;}function unsetTrigger(){var _0x38f667=_0x5cae11;const _0xd2bcb6=getSettings(),_0x2fd2e1=_0xd2bcb6[_0x38f667(0x13f)];if(typeof _0x2fd2e1===_0x38f667(0x165)||_0x2fd2e1!==''&&_0x2fd2e1===Session['getActiveUser']()['getEmail']()){const _0x3012ff=PropertiesService[_0x38f667(0x145)]();_0x3012ff[_0x38f667(0x135)](_0x38f667(0x13f));}deleteSubmitTrigger();}function _0x309d(){var _0xd067e8=['warn','LIST','createTemplate','180vSsFOK','join','country_code','create','\x20\x20\x20\x20\x20','woowaeco','no_wa','error','object','Reminder','AuthMode','[Date]','MULTIPLE_CHOICE','76686mvTFUF','Woowa\x20Title','getTitle','Timestamp','key','replace','getId','function','addToUi','ON_FORM_SUBMIT','[timestamp]','TEXT','getContentText','https://app.multics.id/api/send-text','exception','matchAll','integrasi','deleteProperty','constructor','getUserTriggers','bind','allItems','FULL','SCALE','getProperties','getAuthorizationInfo','getProperty','emailSetTriggers','Trigger\x20already\x20installed\x20from\x20other\x20user,\x20unset\x20trigger\x20from\x20this\x20user','1606430OqQMEz','true','country_type','response','getDocumentProperties','REQUIRED','adminNotify','application/json','noWaAdmin','getResponse','random','646316iahILA','Error:\x20integrasi\x20value\x20is\x20','notice','ItemType','\x20\x20\x20\x20Settings\x20Client\x20Admin\x20\x20\x20\x20\x20Type\x20*\x20\x20--\x20Select\x20--\x20Woowa\x20Multics\x20Woowa\x20Crm\x20(Chrome\x20Extension)\x20Woowa\x20Eco\x20Woowandroid\x20v1\x20Woowandroid\x20v2\x20\x20\x20\x20Token\x20*\x20\x20\x20\x20\x20Set\x20default\x20country\x20code?\x20\x20\x20\x20Country\x20Code\x20\x20\x20\x20\x20Flexible:\x20123xxx\x20=>\x20123xxx\x20|\x2008xxx\x20=>\x20628xxx\x20\x20\x20\x20Fixed:\x20123xxx\x20=>\x2062123xxx\x20|\x2008xxx\x20=>\x20628xxx\x20\x20\x20\x20\x20Save\x20\x20\x20\x20\x20\x20Send\x20wa\x20to\x20client?\x20\x20\x20\x20No\x20Wa\x20\x20--\x20Select\x20--\x20\x20\x20\x20Template\x20\x20\x20\x20\x20\x20Save\x20\x20\x20\x20\x20\x20Send\x20wa\x20to\x20admin?\x20\x20\x20\x20No\x20Wa\x20\x20\x20\x20Template\x20\x20\x20\x20\x20\x20Save\x20\x20\x20\x20\x20\x20\x20\x20\x20Form\x20Notifications\x20by\x20Woowa\x20','161yPvohP','getContent','user','11332penCAe','fixed','length','getEventType','concat','showModalDialog','setProperty','addItem','admin\x20notify\x20false','console','apply','date','Woowa','formName','(((.+)+)+)+$','Basic\x20NjY0NzE3MTYtMzc3ZC00YmY5LWJhNzQtOGRiMWM1ZTNhNzBh','templateAdmin','undefined','showSidebar','message','http://116.203.92.59/api/async_send_message','creatorEmail','10606448OKyNOA','getUi','replaceArray','search','clientNotify','https://crm.woo-wa.com/send/message-text','getTimestamp','[date]','setHeight','timestamp','push','toDateString','Date','exec','62NErSVI','toString','getActiveUser','About\x20Woowa','url','getProjectTriggers','getItem','slice','Bearer\x20AIzaSyCyXH1aC4rWgMQhaJuQLUTDXfWRBgrCZF4','stringify','forEach','no-cache','defaultCountrycode','getActiveForm','https://onesignal.com/api/v1/notifications','woowacrmv2','setWidth','

The\x20Google\x20Form\x20add-on\x20\x20is\x20set\x20to\x20run\x20automatically\x20whenever\x20a\x20form\x20is\x20submitted.\x20The\x20add-on\x20was\x20recently\x20updated\x20and\x20it\x20needs\x20you\x20to\x20re-authorize\x20it\x20to\x20run\x20on\x20your\x20behalf.

\x20

The\x20add-on\x27s\x20automatic\x20functions\x20are\x20temporarily\x20disabled\x20until\x20you\x20re-authorize\x20it.\x20To\x20do\x20so,\x20open\x20Google\x20Form\x20and\x20run\x20the\x20add-on\x20from\x20the\x20Add-ons\x20menu.\x20Alternatively,\x20you\x20can\x20click\x20this\x20link\x20to\x20authorize\x20it:

\x20

\x22>Re-authorize\x20the\x20add-on.

\x20

This\x20notification\x20email\x20will\x20be\x20sent\x20to\x20you\x20at\x20most\x20once\x20per\x20day\x20until\x20the\x20add-on\x20is\x20re-authorized.

','AuthorizationStatus','getResponseForItem','split','post','woowamultics','woowandroidv2','toISOString','indexOf','evaluate','setTitle','getItemById','info','fetch','getAuthorizationUrl','822yRIzaR','application/x-www-form-urlencoded','lastAuthEmailDate','log','Set\x20trigger','getItems','getRespondentEmail','2660499DvCyFs','48223gpTjuZ','[Timestamp]','createAddonMenu','GRID','__proto__','getEmail','floor','https://fcm.googleapis.com/fcm/send','respondToFormSubmit','sleep','getRemainingDailyQuota'];_0x309d=function(){return _0xd067e8;};return _0x309d();}function cekTrigger(){var _0x3f2ba7=_0x5cae11,_0x51e729=getSettings();return _0x51e729[_0x3f2ba7(0x13f)]!=''?!![]:![];}function deleteSubmitTrigger(){var _0x3bca9f=_0x5cae11,_0x595ad4=ScriptApp[_0x3bca9f(0x17d)](),_0x3459de=FormApp[_0x3bca9f(0x185)]();_0x595ad4=ScriptApp[_0x3bca9f(0x137)](_0x3459de);for(var _0x38c438=0x0;_0x38c438<_0x595ad4[_0x3bca9f(0x156)];_0x38c438++){ScriptApp['deleteTrigger'](_0x595ad4[_0x38c438]);}}function showSidebar(_0x3ba319){var _0x848750=_0x5cae11,_0x1070a3=HtmlService[_0x848750(0x116)](_0x848750(0x150)+ADDON_VERSION+_0x848750(0x11b))['evaluate']()[_0x848750(0xfc)]('Woowa\x20Settings');FormApp['getUi']()[_0x848750(0x166)](_0x1070a3);}function showAbout(){var _0x5a024b=_0x5cae11,_0x31fedc=HtmlService['createHtmlOutput']('plugin\x20integrasi\x20woowa\x20dan\x20google\x20form')[_0x5a024b(0x188)](0x1a4)[_0x5a024b(0x172)](0x10e);FormApp[_0x5a024b(0x16b)]()[_0x5a024b(0x159)](_0x31fedc,_0x5a024b(0x17b));}function saveSettings(_0x930cea){var _0x2b136e=_0x5cae11;setTrigger(),PropertiesService[_0x2b136e(0x145)]()['setProperties'](_0x930cea);}function getSettings(){var _0x57c817=_0x5cae11,_0x4827a9=PropertiesService[_0x57c817(0x145)]()[_0x57c817(0x13c)]();!_0x4827a9[_0x57c817(0x169)]&&(_0x4827a9[_0x57c817(0x169)]=Session['getEffectiveUser']()[_0x57c817(0x10e)]());var _0x3e2833=FormApp[_0x57c817(0x185)](),_0x522ecb=_0x3e2833[_0x57c817(0x106)](FormApp[_0x57c817(0x14f)][_0x57c817(0x12f)]),_0x3c91f2=_0x3e2833['getItems'](FormApp[_0x57c817(0x14f)]['PARAGRAPH_TEXT']),_0x268b48=_0x3e2833['getItems'](FormApp[_0x57c817(0x14f)]['CHECKBOX']),_0x371de3=_0x3e2833[_0x57c817(0x106)](FormApp[_0x57c817(0x14f)][_0x57c817(0x123)]),_0xb763f2=_0x3e2833[_0x57c817(0x106)](FormApp[_0x57c817(0x14f)][_0x57c817(0x115)]),_0x218ccc=_0x3e2833[_0x57c817(0x106)](FormApp[_0x57c817(0x14f)][_0x57c817(0x13b)]),_0x20a385=_0x3e2833[_0x57c817(0x106)](FormApp[_0x57c817(0x14f)][_0x57c817(0x10c)]),_0x1f8a11=_0x3e2833[_0x57c817(0x106)](FormApp['ItemType']['CHECKBOX_GRID']),_0x2511c3=_0x522ecb[_0x57c817(0x158)](_0x3c91f2,_0x268b48,_0x1f8a11,_0x20a385,_0x371de3,_0xb763f2,_0x218ccc);_0x4827a9[_0x57c817(0x139)]=[];for(var _0x2ad843=0x0;_0x2ad843<_0x2511c3[_0x57c817(0x156)];_0x2ad843++){_0x4827a9[_0x57c817(0x139)][_0x57c817(0x174)]({'title':_0x2511c3[_0x2ad843][_0x57c817(0x126)](),'id':_0x2511c3[_0x2ad843][_0x57c817(0x12a)]()});}return _0x4827a9;}function adjustFormSubmitTrigger(){var _0x3d0d99=_0x5cae11,_0x3b2135=FormApp[_0x3d0d99(0x185)](),_0x535b37=ScriptApp['getUserTriggers'](_0x3b2135),_0x3944fa=_0x3d0d99(0x142),_0x3f7453=null;for(var _0x237028=0x0;_0x237028<_0x535b37[_0x3d0d99(0x156)];_0x237028++){if(_0x535b37[_0x237028][_0x3d0d99(0x157)]()==ScriptApp['EventType'][_0x3d0d99(0x12d)]){_0x3f7453=_0x535b37[_0x237028];break;}}if(_0x3944fa&&!_0x3f7453)var _0xbca721=ScriptApp['newTrigger'](_0x3d0d99(0x111))['forForm'](_0x3b2135)['onFormSubmit']()[_0x3d0d99(0x11a)]();else!_0x3944fa&&_0x3f7453&&ScriptApp['deleteTrigger'](_0x3f7453);}function respondToFormSubmit(_0xdd82af){var _0x48fc3d=_0x5cae11,_0x25d8f7=ScriptApp['getAuthorizationInfo'](ScriptApp[_0x48fc3d(0x121)][_0x48fc3d(0x13a)]);_0x25d8f7['getAuthorizationStatus']()==ScriptApp[_0x48fc3d(0xf3)][_0x48fc3d(0x146)]?sendReauthorizationRequest():sendRespondentNotification(_0xdd82af);}function sendReauthorizationRequest(){var _0x5efbb6=_0x5cae11,_0x932bc=PropertiesService[_0x5efbb6(0x145)](),_0x390853=ScriptApp[_0x5efbb6(0x13d)](ScriptApp['AuthMode'][_0x5efbb6(0x13a)]),_0x1af465=_0x932bc['getProperty'](_0x5efbb6(0x103)),_0x9be141=new Date()[_0x5efbb6(0x175)]();if(_0x1af465!=_0x9be141){if(MailApp[_0x5efbb6(0x113)]()>0x0){var _0x50ceee=HtmlService[_0x5efbb6(0x116)](_0x5efbb6(0xf2));_0x50ceee[_0x5efbb6(0x17c)]=_0x390853[_0x5efbb6(0x100)](),_0x50ceee[_0x5efbb6(0x14e)]=NOTICE;var _0x244ac5=_0x50ceee[_0x5efbb6(0xfb)]();MailApp['sendEmail'](Session['getEffectiveUser']()['getEmail'](),'Authorization\x20Required',_0x244ac5[_0x5efbb6(0x152)](),{'name':ADDON_TITLE,'htmlBody':_0x244ac5[_0x5efbb6(0x152)]()});}_0x932bc[_0x5efbb6(0x15a)](_0x5efbb6(0x103),_0x9be141);}}function sendToAdmin(_0x3de648){var _0x31c0f9=_0x5cae11,_0x3f9aac=PropertiesService[_0x31c0f9(0x145)](),_0x1a63fb=_0x3f9aac['getProperty'](_0x31c0f9(0x147));if(_0x1a63fb===_0x31c0f9(0x142)){var _0x181b09=_0x3f9aac[_0x31c0f9(0x13e)](_0x31c0f9(0x149)),_0x3055a1=_0x181b09[_0x31c0f9(0xf5)](',');_0x3055a1[_0x31c0f9(0x182)](function(_0x302c47,_0x140641){var _0x313d70=_0x31c0f9,_0x388a48=getSettings();_0x302c47=validatePhone(_0x302c47);switch(_0x388a48[_0x313d70(0x134)]){case _0x313d70(0x11c):woowaEcoSendWa(_0x302c47,_0x3de648,_0x388a48[_0x313d70(0x128)]);break;case _0x313d70(0x187):woowaCrmV2SendWa(_0x302c47,_0x3de648,_0x388a48[_0x313d70(0x128)]);break;case'woowandroidv1':woowaAndroidV1SendWa(_0x302c47,_0x3de648,_0x388a48['key']);break;case _0x313d70(0xf8):woowaAndroidV2SendWa(_0x302c47,_0x3de648,_0x388a48[_0x313d70(0x128)]);break;case _0x313d70(0xf7):woowaMulticsSendWa(_0x302c47,_0x3de648,_0x388a48[_0x313d70(0x128)]);break;default:Logger[_0x313d70(0x104)](_0x313d70(0x14d)+_0x388a48[_0x313d70(0x134)]);break;}Utilities['sleep'](0x7*0x3e8);});}else Logger[_0x31c0f9(0x104)](_0x31c0f9(0x15c));return;}function getOutputTemplate(_0x3297ce,_0x5b62c7){var _0x5c584a=_0x5cae11,_0x274449=[],_0xd0d584=[],_0x5e1693=[],_0x5d9aa3,_0x3e086c=/\[([^\]]+)\]/g;while(_0x5d9aa3=_0x3e086c[_0x5c584a(0x177)](_0x3297ce)){_0x274449[_0x5c584a(0x174)](_0x5d9aa3[0x1]);}if(_0x274449){_0x274449[_0x5c584a(0x182)](function(_0x533d1e,_0x14946c){var _0x4f9913=_0x5c584a,_0x87f079=objectifyForm(_0x5b62c7);_0x87f079[_0x533d1e]&&(_0xd0d584[_0x4f9913(0x174)]('['+_0x533d1e+']'),_0x5e1693['push'](_0x87f079[_0x533d1e]));var _0x154d02=new Date()[_0x4f9913(0xf9)]()[_0x4f9913(0xf5)]('T')[_0x4f9913(0x118)]('\x20')['slice'](0x0,0xa),_0x5201c0=new Date()['toISOString']()[_0x4f9913(0xf5)]('T')[_0x4f9913(0x118)]('\x20')[_0x4f9913(0x17f)](0x0,0x13);_0x533d1e==_0x4f9913(0x127)&&(_0xd0d584[_0x4f9913(0x174)](_0x4f9913(0x10a)),_0x5e1693[_0x4f9913(0x174)](_0x154d02)),_0x533d1e==_0x4f9913(0x173)&&(_0xd0d584[_0x4f9913(0x174)](_0x4f9913(0x12e)),_0x5e1693['push'](_0x154d02)),_0x533d1e==_0x4f9913(0x176)&&(_0xd0d584[_0x4f9913(0x174)](_0x4f9913(0x122)),_0x5e1693[_0x4f9913(0x174)](_0x5201c0)),_0x533d1e==_0x4f9913(0x15f)&&(_0xd0d584['push'](_0x4f9913(0x171)),_0x5e1693[_0x4f9913(0x174)](_0x5201c0));});var _0x35e4b1=_0x3297ce['replaceArray'](_0xd0d584,_0x5e1693);return _0x35e4b1;}}function sendRespondentNotification(_0x5c10d2){var _0x3b0022=_0x5cae11,_0x26cd69=_0x5c10d2[_0x3b0022(0x144)],_0x2725c1=FormApp[_0x3b0022(0x185)](),_0x5ea2fe=PropertiesService[_0x3b0022(0x145)](),_0x30f29e=_0x5ea2fe['getProperty'](_0x3b0022(0x11d)),_0x1756de=_0x2725c1[_0x3b0022(0xfd)](parseInt(_0x30f29e)),_0x4d766d=_0x26cd69[_0x3b0022(0xf4)](_0x1756de)[_0x3b0022(0x14a)]();_0x4d766d=validatePhone(_0x4d766d);if(_0x4d766d==''){Logger['log']('No\x20Wa\x20is\x20empty');return;}var _0x57c2c9=getSettings();if(_0x57c2c9[_0x3b0022(0x134)]){var _0x3b9b88=_0x5ea2fe[_0x3b0022(0x13e)]('template'),_0x4a0502=_0x5ea2fe['getProperty'](_0x3b0022(0x164)),_0x36fa79=getOutputTemplate(_0x3b9b88,_0x26cd69),_0x5e13b2=getOutputTemplate(_0x4a0502,_0x26cd69),_0xeb08d8=_0x5ea2fe[_0x3b0022(0x13e)](_0x3b0022(0x16e));if(_0xeb08d8==='true'){switch(_0x57c2c9[_0x3b0022(0x134)]){case _0x3b0022(0x11c):woowaEcoSendWa(_0x4d766d,_0x36fa79,_0x57c2c9[_0x3b0022(0x128)]);break;case _0x3b0022(0x187):woowaCrmV2SendWa(_0x4d766d,_0x36fa79,_0x57c2c9['key']);break;case'woowandroidv1':woowaAndroidV1SendWa(_0x4d766d,_0x36fa79,_0x57c2c9[_0x3b0022(0x128)]);break;case _0x3b0022(0xf8):woowaAndroidV2SendWa(_0x4d766d,_0x36fa79,_0x57c2c9[_0x3b0022(0x128)]);break;case _0x3b0022(0xf7):woowaMulticsSendWa(_0x4d766d,_0x36fa79,_0x57c2c9['key']);break;default:Logger[_0x3b0022(0x104)](_0x3b0022(0x14d)+_0x57c2c9[_0x3b0022(0x134)]);break;}Utilities[_0x3b0022(0x112)](0x7*0x3e8);}sendToAdmin(_0x5e13b2);return;}}String['prototype'][_0x5cae11(0x16c)]=function(_0x47654a,_0x87fef3){var _0x5e4ff7=_0x5cae11,_0x2a7799=this;if(_0x47654a['length']>0x0&&_0x87fef3['length']>0x0)for(var _0x8f670b=0x0;_0x8f670b<_0x47654a['length'];_0x8f670b++){_0x2a7799=_0x2a7799['replace'](_0x47654a[_0x8f670b],_0x87fef3[_0x8f670b]);}else{var _0x5f12b4='';for(var _0x8f670b=0x0;_0x8f670b<_0x2a7799[_0x5e4ff7(0x156)];_0x8f670b++){_0x5f12b4+=_0x2a7799[_0x8f670b];}_0x2a7799=_0x5f12b4;}return _0x2a7799;};function objectifyForm(_0x5ad6d4){var _0x3e6a88=_0x5cae11,_0x1d2805=FormApp[_0x3e6a88(0x185)](),_0x33eede=_0x5ad6d4['getItemResponses'](),_0x56b9e0={};_0x56b9e0[_0x3e6a88(0x153)]=_0x5ad6d4[_0x3e6a88(0x107)](),_0x56b9e0['timestamp']=_0x5ad6d4[_0x3e6a88(0x170)](),_0x56b9e0[_0x3e6a88(0x161)]=_0x1d2805[_0x3e6a88(0x126)]();for(var _0x5d45de=0x0;_0x5d45de<_0x33eede[_0x3e6a88(0x156)];_0x5d45de++){var _0xe6c690=_0x33eede[_0x5d45de]['getResponse'](),_0x49487=_0x33eede[_0x5d45de][_0x3e6a88(0x17e)]()[_0x3e6a88(0x126)]();_0x56b9e0[_0x49487]=_0xe6c690;}return _0x56b9e0;}function validatePhone(_0xdfa11a){var _0x253ccd=_0x5cae11,_0x696c4b=getSettings(),_0x3cef28=_0x696c4b[_0x253ccd(0x184)]=='true'?_0x696c4b[_0x253ccd(0x119)]?_0x696c4b[_0x253ccd(0x119)]:'62':'62';_0xdfa11a=_0xdfa11a[_0x253ccd(0x179)]();var _0xdfa11a=_0xdfa11a['split'](/[^0-9]/)[_0x253ccd(0x118)]('');return _0xdfa11a=_0xdfa11a[_0x253ccd(0x129)](/^[0]/,_0x3cef28),_0x696c4b['defaultCountrycode']==_0x253ccd(0x142)&&_0x696c4b[_0x253ccd(0x143)]==_0x253ccd(0x155)&&(_0xdfa11a=_0xdfa11a[_0x253ccd(0xfa)](_0x3cef28)!==0x0?_0x3cef28+_0xdfa11a:_0xdfa11a),'+'+_0xdfa11a;}function spinText(_0x5ca06b){var _0x2e7711=_0x5cae11,_0xea5a79=[..._0x5ca06b[_0x2e7711(0x133)](/\{(.*?)\}/g)];return _0xea5a79[_0x2e7711(0x156)]&&_0xea5a79[_0x2e7711(0x182)](_0x55d0bc=>{var _0x1bb7b7=_0x2e7711;arr_item=_0x55d0bc[_0x1bb7b7(0x179)]()[_0x1bb7b7(0xf5)](','),i=arr_item[0x0],v=arr_item[0x1],arr_spined=v[_0x1bb7b7(0x179)]()[_0x1bb7b7(0xf5)]('|'),random=Math[_0x1bb7b7(0x10f)](Math[_0x1bb7b7(0x14b)]()*arr_spined[_0x1bb7b7(0x156)]),spined=arr_spined[random],_0x5ca06b=_0x5ca06b[_0x1bb7b7(0x129)](i,spined);}),_0x5ca06b;}function woowaEcoSendWa(_0x29cb5a,_0x2d7fcb,_0x565de7){var _0x1f9491=_0x5cae11,_0x2d7fcb=spinText(_0x2d7fcb),_0x461648={'phone_no':_0x29cb5a,'message':_0x2d7fcb,'key':_0x565de7};Logger[_0x1f9491(0x104)](JSON[_0x1f9491(0x181)](_0x461648));var _0x4b6f98=_0x1f9491(0x168),_0xabfb83=JSON[_0x1f9491(0x181)](_0x461648),_0x593941={'contentType':_0x1f9491(0x148)},_0x43a609={'method':_0x1f9491(0xf6),'payload':_0xabfb83,'headers':_0x593941,'contentType':'application/json','muteHttpExceptions':!![]},_0x210088=UrlFetchApp['fetch'](_0x4b6f98,_0x43a609),_0x5ca547=_0x210088[_0x1f9491(0x130)]();return Logger[_0x1f9491(0x104)](_0x5ca547),_0x5ca547;}function woowaAndroidV1SendWa(_0x1475e0,_0xf9437f,_0x4e89d4){var _0x507b4a=_0x5cae11,_0xf9437f=spinText(_0xf9437f),_0x385fac={'type':_0x507b4a(0x120),'message':_0xf9437f,'no_wa':_0x1475e0},_0x4deaab=_0x507b4a(0x186),_0x1a3670={'app_id':'429d3472-da0f-4b2b-a63e-4644050caf8f','include_player_ids':[_0x4e89d4],'data':_0x385fac,'contents':{'en':_0x507b4a(0x125)},'headings':{'en':'Woowa\x20Title'}},_0x288a32=JSON['stringify'](_0x1a3670),_0x587298={'Content-Type':_0x507b4a(0x148),'Authorization':_0x507b4a(0x163)},_0x309e1f={'method':'post','payload':_0x288a32,'headers':_0x587298,'muteHttpExceptions':!![]},_0x29594f=UrlFetchApp[_0x507b4a(0xff)](_0x4deaab,_0x309e1f),_0x1b8250=_0x29594f[_0x507b4a(0x130)]();return Logger[_0x507b4a(0x104)](_0x1b8250),_0x1b8250;}function woowaAndroidV2SendWa(_0x134729,_0x201dd4,_0x559b14){var _0x206af3=_0x5cae11,_0x201dd4=spinText(_0x201dd4),_0xe37d32=_0x206af3(0x110),_0x597582={'to':_0x559b14,'data':{'number':_0x134729,'message':_0x201dd4}},_0x53b0f5=JSON['stringify'](_0x597582),_0x434645={'Content-Type':_0x206af3(0x148),'Authorization':_0x206af3(0x180)},_0x47f439={'method':'post','payload':_0x53b0f5,'headers':_0x434645,'muteHttpExceptions':!![]},_0x205382=UrlFetchApp['fetch'](_0xe37d32,_0x47f439),_0x385358=_0x205382[_0x206af3(0x130)]();return Logger[_0x206af3(0x104)](_0x385358),_0x385358;}function woowaCrmV2SendWa(_0x5dc93c,_0x12314,_0x186f81){var _0x421ae5=_0x5cae11,_0x12314=spinText(_0x12314),_0x304063=_0x421ae5(0x16f),_0x2091d1={'deviceId':_0x186f81,'number':_0x5dc93c,'message':_0x12314},_0x5eff60={'Content-Type':_0x421ae5(0x102),'Cache-Control':_0x421ae5(0x183)},_0x4317a8={'method':_0x421ae5(0xf6),'payload':_0x2091d1,'headers':_0x5eff60,'muteHttpExceptions':!![]},_0x4caee6=UrlFetchApp[_0x421ae5(0xff)](_0x304063,_0x4317a8),_0x2aab22=_0x4caee6[_0x421ae5(0x130)]();return Logger[_0x421ae5(0x104)](_0x2aab22),_0x2aab22;}function woowaMulticsSendWa(_0x40ebfd,_0x4ee3de,_0x2760d3){var _0x4e95eb=_0x5cae11,_0x4ee3de=spinText(_0x4ee3de),_0x349d72=_0x4e95eb(0x131),_0xb8ca81={'number':_0x40ebfd,'message':_0x4ee3de},_0x3e4a3a={'Content-Type':_0x4e95eb(0x102),'device-key':_0x2760d3,'Cache-Control':_0x4e95eb(0x183)},_0xc46b9b={'method':_0x4e95eb(0xf6),'payload':_0xb8ca81,'headers':_0x3e4a3a,'muteHttpExceptions':!![]},_0x66dbc3=UrlFetchApp[_0x4e95eb(0xff)](_0x349d72,_0xc46b9b),_0x3c1c54=_0x66dbc3[_0x4e95eb(0x130)]();return Logger[_0x4e95eb(0x104)](_0x4ee3de),Logger[_0x4e95eb(0x104)](_0x3c1c54),_0x3c1c54;}