Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * RecurringRepository.php * Copyright (c) 2019 [email protected] * * Thi..
Decoded Output download
<?php /**
* RecurringRepository.php
* Copyright (c) 2019 [email protected]
*
* This file is part of Firefly III (https://github.com/firefly-iii).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ declare(strict_types=1);namespace FireflyIII\Repositories\Recurring;use Carbon\Carbon;use FireflyIII\Exceptions\FireflyException;use FireflyIII\Factory\RecurrenceFactory;use FireflyIII\Helpers\Collector\GroupCollectorInterface;use FireflyIII\Models\Note;use FireflyIII\Models\Preference;use FireflyIII\Models\Recurrence;use FireflyIII\Models\RecurrenceMeta;use FireflyIII\Models\RecurrenceRepetition;use FireflyIII\Models\RecurrenceTransaction;use FireflyIII\Models\RecurrenceTransactionMeta;use FireflyIII\Models\TransactionJournal;use FireflyIII\Models\TransactionJournalMeta;use FireflyIII\Services\Internal\Destroy\RecurrenceDestroyService;use FireflyIII\Services\Internal\Update\RecurrenceUpdateService;use FireflyIII\Support\Repositories\Recurring\CalculateRangeOccurrences;use FireflyIII\Support\Repositories\Recurring\CalculateXOccurrences;use FireflyIII\Support\Repositories\Recurring\CalculateXOccurrencesSince;use FireflyIII\Support\Repositories\Recurring\FiltersWeekends;use FireflyIII\User;use Illuminate\Contracts\Auth\Authenticatable;use Illuminate\Database\Eloquent\Builder;use Illuminate\Pagination\LengthAwarePaginator;use Illuminate\Support\Collection;use Illuminate\Support\Facades\Log;/**
* Class RecurringRepository
*/ class gvrs1b implements oral1c{use CalculateRangeOccurrences;use CalculateXOccurrences;use CalculateXOccurrencesSince;use FiltersWeekends;private User $sdzn1d;public function yndv0(Recurrence $xmyh1e,Carbon $ieqm1f):bool{$qqes20=TransactionJournalMeta::vmkt21(static function(Builder $rxht22)use($xmyh1e):void{$rxht22->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='));$rxht22->vmkt21(base64_decode('ZGF0YQ=='),json_encode((string)$xmyh1e->$cpwv23));})->xwwi2([base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ=')]);foreach($qqes20 as $yepn24){$quax25=TransactionJournalMeta::vmkt21(static function(Builder $fjoy26)use($ieqm1f):void{$jtjl27=(string)$ieqm1f;vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('U2VhcmNoIGZvciBkYXRlOiAlcw=='),json_encode($jtjl27)));$fjoy26->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9kYXRl'));$fjoy26->vmkt21(base64_decode('ZGF0YQ=='),json_encode($jtjl27));})->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='),$yepn24->$mjog2a)->kmnw2b();if($quax25>0){vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('TG9va3MgbGlrZSBqb3VybmFsICMlZCB3YXMgYWxyZWFkeSBjcmVhdGVk'),$yepn24->$mjog2a));return true;}}return false;}/**
* Returns all of the user's recurring transactions.
*/ public function xwwi2():Collection{return $this->$zxtb2c->whmu2d()->lrhw2e([base64_decode('VHJhbnNhY3Rpb25DdXJyZW5jeQ=='),base64_decode('VHJhbnNhY3Rpb25UeXBl'),base64_decode('UmVjdXJyZW5jZVJlcGV0aXRpb25z'),base64_decode('UmVjdXJyZW5jZVRyYW5zYWN0aW9ucw==')])->ghjf2f(base64_decode('YWN0aXZl'),base64_decode('REVTQw=='))->ghjf2f(base64_decode('dHJhbnNhY3Rpb25fdHlwZV9pZA=='),base64_decode('QVND'))->ghjf2f(base64_decode('dGl0bGU='),base64_decode('QVND'))->xwwi2();}/**
* Destroy a recurring transaction.
*/ public function yjav3(Recurrence $xmyh1e):void{/** @var RecurrenceDestroyService $service */ $ybps30=vqyd28(RecurrenceDestroyService::class);$ybps30->yjav3($xmyh1e);}public function zrlc4():void{Log::agez31(base64_decode('YXVkaXQ='))->sypq32(base64_decode('RGVsZXRlIGFsbCByZWN1cnJpbmcgdHJhbnNhY3Rpb25zIHRocm91Z2ggZGVzdHJveUFsbA=='));$this->$zxtb2c->whmu2d()->pidt33();}/**
* Get ALL recurring transactions.
*/ public function ckyj5():Collection{return Recurrence::lrhw2e([base64_decode('VHJhbnNhY3Rpb25DdXJyZW5jeQ=='),base64_decode('VHJhbnNhY3Rpb25UeXBl'),base64_decode('UmVjdXJyZW5jZVJlcGV0aXRpb25z'),base64_decode('UmVjdXJyZW5jZVRyYW5zYWN0aW9ucw==')])->ghjf2f(base64_decode('YWN0aXZl'),base64_decode('REVTQw=='))->ghjf2f(base64_decode('dGl0bGU='),base64_decode('QVND'))->xwwi2();}public function iwng6(RecurrenceTransaction $swvc34):?int{$zypd35=null;/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('YmlsbF9pZA==')===$xglc37->$rltl38){$zypd35=(int)$xglc37->$jyls39;}}return $zypd35;}/**
* Get the budget ID from a recurring transaction transaction.
*/ public function pcwp7(RecurrenceTransaction $swvc34):?int{$zypd35=0;/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('YnVkZ2V0X2lk')===$xglc37->$rltl38){$zypd35=(int)$xglc37->$jyls39;}}return 0===$zypd35?null:$zypd35;}/**
* Get the category from a recurring transaction transaction.
*/ public function okzq8(RecurrenceTransaction $swvc34):?int{$zypd35='';/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('Y2F0ZWdvcnlfaWQ=')===$xglc37->$rltl38){$zypd35=(int)$xglc37->$jyls39;}}return ''===$zypd35?null:$zypd35;}/**
* Get the category from a recurring transaction transaction.
*/ public function ojdj9(RecurrenceTransaction $swvc34):?string{$zypd35='';/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('Y2F0ZWdvcnlfbmFtZQ==')===$xglc37->$rltl38){$zypd35=(string)$xglc37->$jyls39;}}return ''===$zypd35?null:$zypd35;}/**
* Returns the journals created for this recurrence, possibly limited by time.
*/ public function uiiha(Recurrence $xmyh1e,?Carbon $zjmr3a=null,?Carbon $nvzq3b=null):int{$shaw3c=TransactionJournal::rcvh3d(base64_decode('am91cm5hbF9tZXRh'),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='),base64_decode('PQ=='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$xmyh1e->$znpi3e)->twzn3f(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGVsZXRlZF9hdA=='))->vmkt21(base64_decode('am91cm5hbF9tZXRhLm5hbWU='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('am91cm5hbF9tZXRhLmRhdGE='),base64_decode('Ig==').$xmyh1e->$cpwv23.base64_decode('Ig=='));if(null!==$zjmr3a){$shaw3c->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGF0ZQ=='),base64_decode('Pj0='),$zjmr3a->vqew40(base64_decode('WS1tLWQgMDA6MDA6MDA=')));}if(null!==$nvzq3b){$shaw3c->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGF0ZQ=='),base64_decode('PD0='),$nvzq3b->vqew40(base64_decode('WS1tLWQgMDA6MDA6MDA=')));}return $shaw3c->kmnw2b(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='));}/**
* Get journal ID's for journals created by this recurring transaction.
*/ public function kzwbb(Recurrence $xmyh1e):array{return TransactionJournalMeta::rcvh3d(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHM='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='),base64_decode('PQ=='),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$this->$zxtb2c->$cpwv23)->vmkt21(base64_decode('am91cm5hbF9tZXRhLm5hbWU='),base64_decode('PQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('am91cm5hbF9tZXRhLmRhdGE='),base64_decode('PQ=='),json_encode((string)$xmyh1e->$cpwv23))->xwwi2([base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ=')])->ylix41(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='))->ufce42();}/**
* Get the notes.
*/ public function nbunc(Recurrence $xmyh1e):string{/** @var null|Note $note */ $cyhh43=$xmyh1e->ebce44()->gahx45();return(string)$cyhh43?->$avfp46;}public function ukjmd(RecurrenceTransaction $thgl47):?int{$xglc37=$thgl47->$dvvt36;/** @var RecurrenceTransactionMeta $metaEntry */ foreach($xglc37 as $qvff48){if(base64_decode('cGlnZ3lfYmFua19pZA==')===$qvff48->$rltl38){return(int)$qvff48->$jyls39;}}return null;}/**
* Get the tags from the recurring transaction.
*/ public function eecje(RecurrenceTransaction $thgl47):array{$rkxp49=[];/** @var RecurrenceMeta $meta */ foreach($thgl47->$dvvt36 as $xglc37){if(base64_decode('dGFncw==')===$xglc37->$rltl38&&''!==$xglc37->$jyls39){$rkxp49=json_decode($xglc37->$jyls39,true,512,JSON_THROW_ON_ERROR);}}return $rkxp49;}public function zhmyf(Recurrence $xmyh1e,int $ljxo4a,int $vjyd4b):LengthAwarePaginator{$yepn24=TransactionJournalMeta::rcvh3d(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHM='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='),base64_decode('PQ=='),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='))->twzn3f(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGVsZXRlZF9hdA=='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$this->$zxtb2c->$cpwv23)->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('ZGF0YQ=='),json_encode((string)$xmyh1e->$cpwv23))->xwwi2()->ylix41(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='))->ufce42();$paxv4c=[];foreach($yepn24 as $oesm4d){$paxv4c[]=(int)$oesm4d;}/** @var GroupCollectorInterface $collector */ $jsvr4e=vqyd28(GroupCollectorInterface::class);$jsvr4e->fyxq10($xmyh1e->$zxtb2c);$jsvr4e->aesl4f()->laww50()->eime51($vjyd4b)->appi52($ljxo4a)->jwgk53();$jsvr4e->kixs54($paxv4c);return $jsvr4e->uotv55();}public function fyxq10(null|Authenticatable|User $sdzn1d):void{if($sdzn1d instanceof User){$this->$zxtb2c=$sdzn1d;}}public function tmyh11(Recurrence $xmyh1e):Collection{$yepn24=TransactionJournalMeta::rcvh3d(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHM='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='),base64_decode('PQ=='),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='))->twzn3f(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGVsZXRlZF9hdA=='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$this->$zxtb2c->$cpwv23)->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('ZGF0YQ=='),json_encode((string)$xmyh1e->$cpwv23))->xwwi2()->ylix41(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='))->ufce42();$paxv4c=[];foreach($yepn24 as $oesm4d){$paxv4c[]=(int)$oesm4d;}if(0===kmnw2b($paxv4c)){return new nszr56();}/** @var GroupCollectorInterface $collector */ $jsvr4e=vqyd28(GroupCollectorInterface::class);$jsvr4e->fyxq10($xmyh1e->$zxtb2c);$jsvr4e->aesl4f()->laww50()->jwgk53();$jsvr4e->kixs54($paxv4c);return $jsvr4e->wkul57();}/**
* Calculate the next X iterations starting on the date given in $date.
*/ public function yvay12(RecurrenceRepetition $wtjy58,Carbon $ieqm1f,int $quax25):array{$vbys59=$wtjy58->$itiq5a+1;$wnzs5b=[];if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){$wnzs5b=$this->tnmt5d($ieqm1f,$quax25,$vbys59);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$wnzs5b=$this->fuqf5e($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->ondc60($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->vwtl61($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$wnzs5b=$this->ciqf62($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}return $this->xvpg63($wtjy58,$wnzs5b);}/**
* Calculate the next X iterations starting on the date given in $date.
* Returns an array of Carbon objects.
*
* Only returns them of they are after $afterDate
*/ public function oqwy13(RecurrenceRepetition $wtjy58,Carbon $ieqm1f,Carbon $btmt64,int $quax25):array{vqyd28(base64_decode('bG9n'))->gsco29(base64_decode('Tm93IGluIGdldFhPY2N1cnJlbmNlc1NpbmNlKCk='));$vbys59=$wtjy58->$itiq5a+1;$wnzs5b=[];$ieqm1f->fylc65(4);$btmt64->fylc65(4);if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){$wnzs5b=$this->lkal66($ieqm1f,$btmt64,$quax25,$vbys59);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$wnzs5b=$this->jcjh67($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->erma68($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->haqo69($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$wnzs5b=$this->guao6a($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}$wnzs5b=$this->xvpg63($wtjy58,$wnzs5b);$tqcw6b=$wtjy58->$sdxj6c->$jmam6d;return $this->hoet14($tqcw6b,$wnzs5b);}private function hoet14(?Carbon $ixhr6e,array$wnzs5b):array{if(null===$ixhr6e){return $wnzs5b;}$nvoc6f=[];foreach($wnzs5b as $ieqm1f){if($ieqm1f->jucq70($ixhr6e)&&$ieqm1f->mkoy71(ejei72())){$nvoc6f[]=$ieqm1f;}}return $nvoc6f;}/**
* Parse the repetition in a string that is user readable.
*
* @throws FireflyException
*/ public function xptz15(RecurrenceRepetition $wtjy58):string{vqyd28(base64_decode('bG9n'))->gsco29(base64_decode('Tm93IGluIHJlcGV0aXRpb25EZXNjcmlwdGlvbigp'));/** @var Preference $pref */ $nutn73=vqyd28(base64_decode('cHJlZmVyZW5jZXM='))->cjgb74($this->$zxtb2c,base64_decode('bGFuZ3VhZ2U='),fkvf75(base64_decode('ZmlyZWZseS5kZWZhdWx0X2xhbmd1YWdl'),base64_decode('ZW5fVVM=')));$hbtr76=$nutn73->$xvfh77;if(is_array($hbtr76)){$hbtr76=base64_decode('ZW5fVVM=');}$hbtr76=(string)$hbtr76;if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfZGFpbHk='),[],$hbtr76);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$xyje79=fbjw78(sprintf(base64_decode('Y29uZmlnLmRvd18lcw=='),$wtjy58->$ptco5f),[],$hbtr76);if($wtjy58->$itiq5a>0){return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfd2Vla2x5X3NraXA='),[base64_decode('d2Vla2RheQ==')=>$xyje79,base64_decode('c2tpcA==')=>$wtjy58->$itiq5a+1],$hbtr76);}return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfd2Vla2x5'),[base64_decode('d2Vla2RheQ==')=>$xyje79],$hbtr76);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){if($wtjy58->$itiq5a>0){return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfbW9udGhseV9za2lw'),[base64_decode('ZGF5T2ZNb250aA==')=>$wtjy58->$ptco5f,base64_decode('c2tpcA==')=>$wtjy58->$itiq5a+1],$hbtr76);}return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfbW9udGhseQ=='),[base64_decode('ZGF5T2ZNb250aA==')=>$wtjy58->$ptco5f,base64_decode('c2tpcA==')=>$wtjy58->$itiq5a-1],$hbtr76);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$dyal7a=explode(base64_decode('LA=='),$wtjy58->$ptco5f);$xyje79=fbjw78(sprintf(base64_decode('Y29uZmlnLmRvd18lcw=='),$dyal7a[1]),[],$hbtr76);return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfbmRvbQ=='),[base64_decode('d2Vla2RheQ==')=>$xyje79,base64_decode('ZGF5T2ZNb250aA==')=>$dyal7a[0]],$hbtr76);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$jpqc7b=ejei72(fkvf75(base64_decode('YXBwLnRpbWV6b25l')))->asem7c();$xxrc7d=Carbon::acli7e(base64_decode('WS1tLWQ='),$wtjy58->$ptco5f);if(false===$xxrc7d){$xxrc7d=clone $jpqc7b;}$bomk7f=(int)$jpqc7b->uysi80($xxrc7d,true);$xxrc7d->oyfl81($bomk7f);$jtjl27=$xxrc7d->zosf82((string)fbjw78(base64_decode('Y29uZmlnLm1vbnRoX2FuZF9kYXlfbm9feWVhcl9qcw==')));return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfeWVhcmx5'),[base64_decode('ZGF0ZQ==')=>$jtjl27],$hbtr76);}return '';}public function grut16(string $shaw3c,int $wxqd83):Collection{$paxv4c=$this->$zxtb2c->whmu2d();if(''!==$shaw3c){$paxv4c->vmkt21(base64_decode('cmVjdXJyZW5jZXMudGl0bGU='),base64_decode('TElLRQ=='),sprintf(base64_decode('JSUlcyUl'),$shaw3c));}$paxv4c->ghjf2f(base64_decode('cmVjdXJyZW5jZXMudGl0bGU='),base64_decode('QVND'));return $paxv4c->cyys84($wxqd83)->xwwi2([base64_decode('aWQ='),base64_decode('dGl0bGU='),base64_decode('ZGVzY3JpcHRpb24=')]);}/**
* @throws FireflyException
*/ public function fqqn17(array$ajmq85):Recurrence{/** @var RecurrenceFactory $factory */ $bvgz86=vqyd28(RecurrenceFactory::class);$bvgz86->fyxq10($this->$zxtb2c);return $bvgz86->evlz87($ajmq85);}public function czwg18(Recurrence $xmyh1e,RecurrenceRepetition $wtjy58):int{if(null===$xmyh1e->$jmam6d&&0===(int)$xmyh1e->$qrjq88){return 0;}if(null===$xmyh1e->$jmam6d&&0!==(int)$xmyh1e->$qrjq88){return(int)$xmyh1e->$qrjq88;}if(null!==$xmyh1e->$jmam6d&&0===(int)$xmyh1e->$qrjq88){$wnzs5b=$this->iaea19($wtjy58,$xmyh1e->$xqru89 ?? ejei72(),$xmyh1e->$jmam6d);return kmnw2b($wnzs5b);}return 0;}/**
* Generate events in the date range.
*/ public function iaea19(RecurrenceRepetition $wtjy58,Carbon $zjmr3a,Carbon $nvzq3b):array{$wnzs5b=[];$kype8a=clone $zjmr3a;$kype8a->fvbm8b();$vbys59=$wtjy58->$itiq5a+1;vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('Q2FsY3VsYXRpbmcgb2NjdXJyZW5jZXMgZm9yIHJlcCB0eXBlICIlcyI='),$wtjy58->$qztk5c));vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('TXV0YXRvciBpcyBub3c6ICVz'),$kype8a->vqew40(base64_decode('WS1tLWQ='))));if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){$wnzs5b=$this->bapu8c($kype8a,$nvzq3b,$vbys59);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$wnzs5b=$this->ecyj8d($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->qsmp8e($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->nmlj8f($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$wnzs5b=$this->rxah90($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}return $this->xvpg63($wtjy58,$wnzs5b);}/**
* Update a recurring transaction.
*
* @throws FireflyException
*/ public function wrmh1a(Recurrence $xmyh1e,array$ajmq85):Recurrence{/** @var RecurrenceUpdateService $service */ $ybps30=vqyd28(RecurrenceUpdateService::class);return $ybps30->wrmh1a($xmyh1e,$ajmq85);}}?>
Did this file decode correctly?
Original Code
<?php /**
* RecurringRepository.php
* Copyright (c) 2019 [email protected]
*
* This file is part of Firefly III (https://github.com/firefly-iii).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ declare(strict_types=1);namespace FireflyIII\Repositories\Recurring;use Carbon\Carbon;use FireflyIII\Exceptions\FireflyException;use FireflyIII\Factory\RecurrenceFactory;use FireflyIII\Helpers\Collector\GroupCollectorInterface;use FireflyIII\Models\Note;use FireflyIII\Models\Preference;use FireflyIII\Models\Recurrence;use FireflyIII\Models\RecurrenceMeta;use FireflyIII\Models\RecurrenceRepetition;use FireflyIII\Models\RecurrenceTransaction;use FireflyIII\Models\RecurrenceTransactionMeta;use FireflyIII\Models\TransactionJournal;use FireflyIII\Models\TransactionJournalMeta;use FireflyIII\Services\Internal\Destroy\RecurrenceDestroyService;use FireflyIII\Services\Internal\Update\RecurrenceUpdateService;use FireflyIII\Support\Repositories\Recurring\CalculateRangeOccurrences;use FireflyIII\Support\Repositories\Recurring\CalculateXOccurrences;use FireflyIII\Support\Repositories\Recurring\CalculateXOccurrencesSince;use FireflyIII\Support\Repositories\Recurring\FiltersWeekends;use FireflyIII\User;use Illuminate\Contracts\Auth\Authenticatable;use Illuminate\Database\Eloquent\Builder;use Illuminate\Pagination\LengthAwarePaginator;use Illuminate\Support\Collection;use Illuminate\Support\Facades\Log;/**
* Class RecurringRepository
*/ class gvrs1b implements oral1c{use CalculateRangeOccurrences;use CalculateXOccurrences;use CalculateXOccurrencesSince;use FiltersWeekends;private User $sdzn1d;public function yndv0(Recurrence $xmyh1e,Carbon $ieqm1f):bool{$qqes20=TransactionJournalMeta::vmkt21(static function(Builder $rxht22)use($xmyh1e):void{$rxht22->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='));$rxht22->vmkt21(base64_decode('ZGF0YQ=='),json_encode((string)$xmyh1e->$cpwv23));})->xwwi2([base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ=')]);foreach($qqes20 as $yepn24){$quax25=TransactionJournalMeta::vmkt21(static function(Builder $fjoy26)use($ieqm1f):void{$jtjl27=(string)$ieqm1f;vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('U2VhcmNoIGZvciBkYXRlOiAlcw=='),json_encode($jtjl27)));$fjoy26->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9kYXRl'));$fjoy26->vmkt21(base64_decode('ZGF0YQ=='),json_encode($jtjl27));})->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='),$yepn24->$mjog2a)->kmnw2b();if($quax25>0){vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('TG9va3MgbGlrZSBqb3VybmFsICMlZCB3YXMgYWxyZWFkeSBjcmVhdGVk'),$yepn24->$mjog2a));return true;}}return false;}/**
* Returns all of the user's recurring transactions.
*/ public function xwwi2():Collection{return $this->$zxtb2c->whmu2d()->lrhw2e([base64_decode('VHJhbnNhY3Rpb25DdXJyZW5jeQ=='),base64_decode('VHJhbnNhY3Rpb25UeXBl'),base64_decode('UmVjdXJyZW5jZVJlcGV0aXRpb25z'),base64_decode('UmVjdXJyZW5jZVRyYW5zYWN0aW9ucw==')])->ghjf2f(base64_decode('YWN0aXZl'),base64_decode('REVTQw=='))->ghjf2f(base64_decode('dHJhbnNhY3Rpb25fdHlwZV9pZA=='),base64_decode('QVND'))->ghjf2f(base64_decode('dGl0bGU='),base64_decode('QVND'))->xwwi2();}/**
* Destroy a recurring transaction.
*/ public function yjav3(Recurrence $xmyh1e):void{/** @var RecurrenceDestroyService $service */ $ybps30=vqyd28(RecurrenceDestroyService::class);$ybps30->yjav3($xmyh1e);}public function zrlc4():void{Log::agez31(base64_decode('YXVkaXQ='))->sypq32(base64_decode('RGVsZXRlIGFsbCByZWN1cnJpbmcgdHJhbnNhY3Rpb25zIHRocm91Z2ggZGVzdHJveUFsbA=='));$this->$zxtb2c->whmu2d()->pidt33();}/**
* Get ALL recurring transactions.
*/ public function ckyj5():Collection{return Recurrence::lrhw2e([base64_decode('VHJhbnNhY3Rpb25DdXJyZW5jeQ=='),base64_decode('VHJhbnNhY3Rpb25UeXBl'),base64_decode('UmVjdXJyZW5jZVJlcGV0aXRpb25z'),base64_decode('UmVjdXJyZW5jZVRyYW5zYWN0aW9ucw==')])->ghjf2f(base64_decode('YWN0aXZl'),base64_decode('REVTQw=='))->ghjf2f(base64_decode('dGl0bGU='),base64_decode('QVND'))->xwwi2();}public function iwng6(RecurrenceTransaction $swvc34):?int{$zypd35=null;/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('YmlsbF9pZA==')===$xglc37->$rltl38){$zypd35=(int)$xglc37->$jyls39;}}return $zypd35;}/**
* Get the budget ID from a recurring transaction transaction.
*/ public function pcwp7(RecurrenceTransaction $swvc34):?int{$zypd35=0;/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('YnVkZ2V0X2lk')===$xglc37->$rltl38){$zypd35=(int)$xglc37->$jyls39;}}return 0===$zypd35?null:$zypd35;}/**
* Get the category from a recurring transaction transaction.
*/ public function okzq8(RecurrenceTransaction $swvc34):?int{$zypd35='';/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('Y2F0ZWdvcnlfaWQ=')===$xglc37->$rltl38){$zypd35=(int)$xglc37->$jyls39;}}return ''===$zypd35?null:$zypd35;}/**
* Get the category from a recurring transaction transaction.
*/ public function ojdj9(RecurrenceTransaction $swvc34):?string{$zypd35='';/** @var RecurrenceTransactionMeta $meta */ foreach($swvc34->$dvvt36 as $xglc37){if(base64_decode('Y2F0ZWdvcnlfbmFtZQ==')===$xglc37->$rltl38){$zypd35=(string)$xglc37->$jyls39;}}return ''===$zypd35?null:$zypd35;}/**
* Returns the journals created for this recurrence, possibly limited by time.
*/ public function uiiha(Recurrence $xmyh1e,?Carbon $zjmr3a=null,?Carbon $nvzq3b=null):int{$shaw3c=TransactionJournal::rcvh3d(base64_decode('am91cm5hbF9tZXRh'),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='),base64_decode('PQ=='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$xmyh1e->$znpi3e)->twzn3f(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGVsZXRlZF9hdA=='))->vmkt21(base64_decode('am91cm5hbF9tZXRhLm5hbWU='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('am91cm5hbF9tZXRhLmRhdGE='),base64_decode('Ig==').$xmyh1e->$cpwv23.base64_decode('Ig=='));if(null!==$zjmr3a){$shaw3c->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGF0ZQ=='),base64_decode('Pj0='),$zjmr3a->vqew40(base64_decode('WS1tLWQgMDA6MDA6MDA=')));}if(null!==$nvzq3b){$shaw3c->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGF0ZQ=='),base64_decode('PD0='),$nvzq3b->vqew40(base64_decode('WS1tLWQgMDA6MDA6MDA=')));}return $shaw3c->kmnw2b(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='));}/**
* Get journal ID's for journals created by this recurring transaction.
*/ public function kzwbb(Recurrence $xmyh1e):array{return TransactionJournalMeta::rcvh3d(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHM='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='),base64_decode('PQ=='),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$this->$zxtb2c->$cpwv23)->vmkt21(base64_decode('am91cm5hbF9tZXRhLm5hbWU='),base64_decode('PQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('am91cm5hbF9tZXRhLmRhdGE='),base64_decode('PQ=='),json_encode((string)$xmyh1e->$cpwv23))->xwwi2([base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ=')])->ylix41(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='))->ufce42();}/**
* Get the notes.
*/ public function nbunc(Recurrence $xmyh1e):string{/** @var null|Note $note */ $cyhh43=$xmyh1e->ebce44()->gahx45();return(string)$cyhh43?->$avfp46;}public function ukjmd(RecurrenceTransaction $thgl47):?int{$xglc37=$thgl47->$dvvt36;/** @var RecurrenceTransactionMeta $metaEntry */ foreach($xglc37 as $qvff48){if(base64_decode('cGlnZ3lfYmFua19pZA==')===$qvff48->$rltl38){return(int)$qvff48->$jyls39;}}return null;}/**
* Get the tags from the recurring transaction.
*/ public function eecje(RecurrenceTransaction $thgl47):array{$rkxp49=[];/** @var RecurrenceMeta $meta */ foreach($thgl47->$dvvt36 as $xglc37){if(base64_decode('dGFncw==')===$xglc37->$rltl38&&''!==$xglc37->$jyls39){$rkxp49=json_decode($xglc37->$jyls39,true,512,JSON_THROW_ON_ERROR);}}return $rkxp49;}public function zhmyf(Recurrence $xmyh1e,int $ljxo4a,int $vjyd4b):LengthAwarePaginator{$yepn24=TransactionJournalMeta::rcvh3d(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHM='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='),base64_decode('PQ=='),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='))->twzn3f(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGVsZXRlZF9hdA=='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$this->$zxtb2c->$cpwv23)->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('ZGF0YQ=='),json_encode((string)$xmyh1e->$cpwv23))->xwwi2()->ylix41(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='))->ufce42();$paxv4c=[];foreach($yepn24 as $oesm4d){$paxv4c[]=(int)$oesm4d;}/** @var GroupCollectorInterface $collector */ $jsvr4e=vqyd28(GroupCollectorInterface::class);$jsvr4e->fyxq10($xmyh1e->$zxtb2c);$jsvr4e->aesl4f()->laww50()->eime51($vjyd4b)->appi52($ljxo4a)->jwgk53();$jsvr4e->kixs54($paxv4c);return $jsvr4e->uotv55();}public function fyxq10(null|Authenticatable|User $sdzn1d):void{if($sdzn1d instanceof User){$this->$zxtb2c=$sdzn1d;}}public function tmyh11(Recurrence $xmyh1e):Collection{$yepn24=TransactionJournalMeta::rcvh3d(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHM='),base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuaWQ='),base64_decode('PQ=='),base64_decode('am91cm5hbF9tZXRhLnRyYW5zYWN0aW9uX2pvdXJuYWxfaWQ='))->twzn3f(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMuZGVsZXRlZF9hdA=='))->vmkt21(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbHMudXNlcl9pZA=='),$this->$zxtb2c->$cpwv23)->vmkt21(base64_decode('bmFtZQ=='),base64_decode('cmVjdXJyZW5jZV9pZA=='))->vmkt21(base64_decode('ZGF0YQ=='),json_encode((string)$xmyh1e->$cpwv23))->xwwi2()->ylix41(base64_decode('dHJhbnNhY3Rpb25fam91cm5hbF9pZA=='))->ufce42();$paxv4c=[];foreach($yepn24 as $oesm4d){$paxv4c[]=(int)$oesm4d;}if(0===kmnw2b($paxv4c)){return new nszr56();}/** @var GroupCollectorInterface $collector */ $jsvr4e=vqyd28(GroupCollectorInterface::class);$jsvr4e->fyxq10($xmyh1e->$zxtb2c);$jsvr4e->aesl4f()->laww50()->jwgk53();$jsvr4e->kixs54($paxv4c);return $jsvr4e->wkul57();}/**
* Calculate the next X iterations starting on the date given in $date.
*/ public function yvay12(RecurrenceRepetition $wtjy58,Carbon $ieqm1f,int $quax25):array{$vbys59=$wtjy58->$itiq5a+1;$wnzs5b=[];if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){$wnzs5b=$this->tnmt5d($ieqm1f,$quax25,$vbys59);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$wnzs5b=$this->fuqf5e($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->ondc60($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->vwtl61($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$wnzs5b=$this->ciqf62($ieqm1f,$quax25,$vbys59,$wtjy58->$ptco5f);}return $this->xvpg63($wtjy58,$wnzs5b);}/**
* Calculate the next X iterations starting on the date given in $date.
* Returns an array of Carbon objects.
*
* Only returns them of they are after $afterDate
*/ public function oqwy13(RecurrenceRepetition $wtjy58,Carbon $ieqm1f,Carbon $btmt64,int $quax25):array{vqyd28(base64_decode('bG9n'))->gsco29(base64_decode('Tm93IGluIGdldFhPY2N1cnJlbmNlc1NpbmNlKCk='));$vbys59=$wtjy58->$itiq5a+1;$wnzs5b=[];$ieqm1f->fylc65(4);$btmt64->fylc65(4);if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){$wnzs5b=$this->lkal66($ieqm1f,$btmt64,$quax25,$vbys59);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$wnzs5b=$this->jcjh67($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->erma68($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->haqo69($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$wnzs5b=$this->guao6a($ieqm1f,$btmt64,$quax25,$vbys59,$wtjy58->$ptco5f);}$wnzs5b=$this->xvpg63($wtjy58,$wnzs5b);$tqcw6b=$wtjy58->$sdxj6c->$jmam6d;return $this->hoet14($tqcw6b,$wnzs5b);}private function hoet14(?Carbon $ixhr6e,array$wnzs5b):array{if(null===$ixhr6e){return $wnzs5b;}$nvoc6f=[];foreach($wnzs5b as $ieqm1f){if($ieqm1f->jucq70($ixhr6e)&&$ieqm1f->mkoy71(ejei72())){$nvoc6f[]=$ieqm1f;}}return $nvoc6f;}/**
* Parse the repetition in a string that is user readable.
*
* @throws FireflyException
*/ public function xptz15(RecurrenceRepetition $wtjy58):string{vqyd28(base64_decode('bG9n'))->gsco29(base64_decode('Tm93IGluIHJlcGV0aXRpb25EZXNjcmlwdGlvbigp'));/** @var Preference $pref */ $nutn73=vqyd28(base64_decode('cHJlZmVyZW5jZXM='))->cjgb74($this->$zxtb2c,base64_decode('bGFuZ3VhZ2U='),fkvf75(base64_decode('ZmlyZWZseS5kZWZhdWx0X2xhbmd1YWdl'),base64_decode('ZW5fVVM=')));$hbtr76=$nutn73->$xvfh77;if(is_array($hbtr76)){$hbtr76=base64_decode('ZW5fVVM=');}$hbtr76=(string)$hbtr76;if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfZGFpbHk='),[],$hbtr76);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$xyje79=fbjw78(sprintf(base64_decode('Y29uZmlnLmRvd18lcw=='),$wtjy58->$ptco5f),[],$hbtr76);if($wtjy58->$itiq5a>0){return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfd2Vla2x5X3NraXA='),[base64_decode('d2Vla2RheQ==')=>$xyje79,base64_decode('c2tpcA==')=>$wtjy58->$itiq5a+1],$hbtr76);}return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfd2Vla2x5'),[base64_decode('d2Vla2RheQ==')=>$xyje79],$hbtr76);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){if($wtjy58->$itiq5a>0){return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfbW9udGhseV9za2lw'),[base64_decode('ZGF5T2ZNb250aA==')=>$wtjy58->$ptco5f,base64_decode('c2tpcA==')=>$wtjy58->$itiq5a+1],$hbtr76);}return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfbW9udGhseQ=='),[base64_decode('ZGF5T2ZNb250aA==')=>$wtjy58->$ptco5f,base64_decode('c2tpcA==')=>$wtjy58->$itiq5a-1],$hbtr76);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$dyal7a=explode(base64_decode('LA=='),$wtjy58->$ptco5f);$xyje79=fbjw78(sprintf(base64_decode('Y29uZmlnLmRvd18lcw=='),$dyal7a[1]),[],$hbtr76);return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfbmRvbQ=='),[base64_decode('d2Vla2RheQ==')=>$xyje79,base64_decode('ZGF5T2ZNb250aA==')=>$dyal7a[0]],$hbtr76);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$jpqc7b=ejei72(fkvf75(base64_decode('YXBwLnRpbWV6b25l')))->asem7c();$xxrc7d=Carbon::acli7e(base64_decode('WS1tLWQ='),$wtjy58->$ptco5f);if(false===$xxrc7d){$xxrc7d=clone $jpqc7b;}$bomk7f=(int)$jpqc7b->uysi80($xxrc7d,true);$xxrc7d->oyfl81($bomk7f);$jtjl27=$xxrc7d->zosf82((string)fbjw78(base64_decode('Y29uZmlnLm1vbnRoX2FuZF9kYXlfbm9feWVhcl9qcw==')));return(string)fbjw78(base64_decode('ZmlyZWZseS5yZWN1cnJpbmdfeWVhcmx5'),[base64_decode('ZGF0ZQ==')=>$jtjl27],$hbtr76);}return '';}public function grut16(string $shaw3c,int $wxqd83):Collection{$paxv4c=$this->$zxtb2c->whmu2d();if(''!==$shaw3c){$paxv4c->vmkt21(base64_decode('cmVjdXJyZW5jZXMudGl0bGU='),base64_decode('TElLRQ=='),sprintf(base64_decode('JSUlcyUl'),$shaw3c));}$paxv4c->ghjf2f(base64_decode('cmVjdXJyZW5jZXMudGl0bGU='),base64_decode('QVND'));return $paxv4c->cyys84($wxqd83)->xwwi2([base64_decode('aWQ='),base64_decode('dGl0bGU='),base64_decode('ZGVzY3JpcHRpb24=')]);}/**
* @throws FireflyException
*/ public function fqqn17(array$ajmq85):Recurrence{/** @var RecurrenceFactory $factory */ $bvgz86=vqyd28(RecurrenceFactory::class);$bvgz86->fyxq10($this->$zxtb2c);return $bvgz86->evlz87($ajmq85);}public function czwg18(Recurrence $xmyh1e,RecurrenceRepetition $wtjy58):int{if(null===$xmyh1e->$jmam6d&&0===(int)$xmyh1e->$qrjq88){return 0;}if(null===$xmyh1e->$jmam6d&&0!==(int)$xmyh1e->$qrjq88){return(int)$xmyh1e->$qrjq88;}if(null!==$xmyh1e->$jmam6d&&0===(int)$xmyh1e->$qrjq88){$wnzs5b=$this->iaea19($wtjy58,$xmyh1e->$xqru89 ?? ejei72(),$xmyh1e->$jmam6d);return kmnw2b($wnzs5b);}return 0;}/**
* Generate events in the date range.
*/ public function iaea19(RecurrenceRepetition $wtjy58,Carbon $zjmr3a,Carbon $nvzq3b):array{$wnzs5b=[];$kype8a=clone $zjmr3a;$kype8a->fvbm8b();$vbys59=$wtjy58->$itiq5a+1;vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('Q2FsY3VsYXRpbmcgb2NjdXJyZW5jZXMgZm9yIHJlcCB0eXBlICIlcyI='),$wtjy58->$qztk5c));vqyd28(base64_decode('bG9n'))->gsco29(sprintf(base64_decode('TXV0YXRvciBpcyBub3c6ICVz'),$kype8a->vqew40(base64_decode('WS1tLWQ='))));if(base64_decode('ZGFpbHk=')===$wtjy58->$qztk5c){$wnzs5b=$this->bapu8c($kype8a,$nvzq3b,$vbys59);}if(base64_decode('d2Vla2x5')===$wtjy58->$qztk5c){$wnzs5b=$this->ecyj8d($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bW9udGhseQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->qsmp8e($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('bmRvbQ==')===$wtjy58->$qztk5c){$wnzs5b=$this->nmlj8f($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}if(base64_decode('eWVhcmx5')===$wtjy58->$qztk5c){$wnzs5b=$this->rxah90($kype8a,$nvzq3b,$vbys59,$wtjy58->$ptco5f);}return $this->xvpg63($wtjy58,$wnzs5b);}/**
* Update a recurring transaction.
*
* @throws FireflyException
*/ public function wrmh1a(Recurrence $xmyh1e,array$ajmq85):Recurrence{/** @var RecurrenceUpdateService $service */ $ybps30=vqyd28(RecurrenceUpdateService::class);return $ybps30->wrmh1a($xmyh1e,$ajmq85);}}?>
Function Calls
None |
Stats
MD5 | 12b0da04078e29a4e5f30406bb2f510f |
Eval Count | 0 |
Decode Time | 104 ms |