disabled
      ˆÂ‘äÇò 8àG qÐÿ?Áƒh¹À¿¾      disabled
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Â513_‘I|¥‰ÓMdœv ©ƒ†ü+=ÂÁ     ‹      Å”]oÓ0†ï÷+Œ/¸‹Oú±6Çh4•¨èÚª„¸pc'±HâÈöèº_�“´ZA-W>NÞ?ïÛôE¼œ$ŸVSô6¹�£Õû7óÙá àÃh'qÿbLÂÀt�.œk® ¶Û-ÙŽˆ69$k(\UŽÁ:£RG„˜]Ðö»@´�\øQ§\)Ù¬òé�¾wV	9< teÁÊZdª”DÈJ“Â’TëÆ/ tjkËƒz�Ñ)¸Âøþ�•eFk¥ÚÀ¬r2ð¥áfyy/;D
=ƒ§‚=Ýh±kiÿ™Ìt!ñMØ–†QW o¼Tya§Ì¨ªrdMaP©®-lJ^%¹Ê0â¥‹ðçÙdùÅëüòí×Œrä9²¿žD‹ëec¶à•¤ÀOkn½æ³9·UZ¨LIqV|×‹ïÔãù†q¯‰¥M�jœÒõ“¼Åc«©.mÃ½×Kï 0Çª^"~—Ocu³ž.’x¶î#m‹'ºgþÏ˜­¸‘µC±22uÚìöIôX/ë�m®S´÷iT^8Ì
ÐIå_„ãäƒ;'ù˜œŒ%»“@Ú}‰Ùñì˜÷'Àa8á(_¡axu9FèŒpDÂwÏådMRk1ë†Á> £_°ÿáF†ý§Ð]=ú‹ò;�ý‹    D   ˆl–Ðz¾”ªC]Šq@=q¦®41hß�þ[i•œlH c�þÅƒ-;Ä_�uÐb&=LyZËcõÄÃ C    # Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

class Sequencer::Unit::Import::Zendesk::ObjectsTotalCount < Sequencer::Unit::Common::Provider::Attribute
  include ::Sequencer::Unit::Import::Common::Model::Statistics::Mixin::EmptyDiff

  uses :client

  private

  def statistics_diff
    %i[Groups Users Organizations Tickets].index_with do |object|
      empty_diff.merge(
        total: request(object).count!
      )
    end
  end

  # the special "incremental_export" logic is needed because Zendesk
  # archives records and doesn't return them via e.g. client.tickets
  # endpoint as described here:
  # https://github.com/zammad/zammad/issues/558#issuecomment-267951351
  # Counting via the incremental_export endpoint has the limitations
  # that it returns max. 1000. That's why we need to update the total
  # number while importing in the resource loop
  def request(object)
    require 'zendesk_api' # Only load this gem when it is really used.
    resource_class = "::ZendeskAPI::#{object.to_s.singularize}".safe_constantize
    if resource_class.respond_to?(:incremental_export)
      # read as: ::ZendeskAPI::Ticket.incremental_export(client, 1)
      resource_class.incremental_export(client, 1)
    else
      # read as: client.groups
      client.send(object.to_s.underscore.to_sym)
    end
  end
end
      	ˆÇ‘äÇò 8àGÑÇ+_ÏÆƒh¹ÅÄÃ      	auto
      ˆÇ‘äÇò 8àG ÄËnÿ?Æƒh¹ÅÄÃ      auto
     ˆÂÁÅ514ÀÄÃ     ‹      Å”_oÚ0Åßû)<?ì-¹¨6ZÇSG�†F¥LÓ4íÁ‰±šÄ‘m
ìÓÏ!0hû#uëSnœßó;N.yMú³/Óú0»¡é§÷£aaàs§Í¢æA×oµcŒpfmu°Z­üUÇWz³2[ä]0VËÔúÜrL/H½F/ÉãîŠˆ•6tXr±FjŽ@-­‘\û¸*Qò¹Ì…ÏE¡üÌø©R•kÀUj<cò½ºK£!—	Ä`¤ž+5ÓqœYF iè,ÀÎIßÔÖÚÿÓ†ë¶ÅgÉÖM]jJl†X.eˆ­ª0%²X £ÓƒLUi ÉYyï/ä#–Ûö'ßœlV¿M	C™ó¿ë‡ãëIa:f… ÀNkn�æÓ3ŠË¹ü¬ø®ßÉïç7ŒM$Lªee¥*RpˆÇ¨©ÊMÅë¥#Èô±ª‘ðß¥ÁÒGaLoâÁxã&^oqp÷/Ó)Ó¢´(’Z¤VéÍ»ñðºLLu½¿E;(-™Å!�TþEËò¾T«ò8ôÉâúô5O0ýY›}â.h�×êyíjW—m„ÎÛ½ÎÇÀ0óA§û§±>`¬Ÿ£óæí/0þð'„Ýx"°�‘šñýp�Ÿ!    N   ˆl–äY>” ”¾R( 	ÅýÆ]¸ÓªbÑ¿‘äÇò 8àG
'IüÿÇƒh¹Æa–äY>” ”¾R( 	ÅýÆ]¸ÓªbÑ¿Å      disabled
  5   ˆl–äY>”êj"T%ÕÆ�q±)‹Fÿ�þG«6XÜi‘°6 ?Éƒ­3È¿Æ 
·    #!/usr/bin/perl
use strict;
use Proc::ProcessTable;

exit if ( $#ARGV == -1 );
$|++;
my $ptable = Proc::ProcessTable->new;
my %waited = ();
my %proc;
$proc{ $_->pid }=$_->fname foreach (@{$ptable->table});

use Getopt::Long;
use Pod::Usage;

GetOptions(
     'e|exit+'       =>  \( my $endfirst = 0 ),
     'v|verbose+'       =>  \( my $verbose = 0 ),
     'h|help+'       =>  \( my $help = 0 ),
     's|sleep=i'     =>  \( my $sleeptime = 1 )
);
pod2usage(-verbose => 1) && exit if $help;

foreach (@ARGV) {
    next if ( $_ == $$ );    # DON'T wait for myself !
    if (/\d+/) {
        if ( exists $proc{$_} ) {
            $waited{$_}++;
        }
        else { print "nothing like $_\n" if $verbose }
        next;
    }
    foreach my $p ( keys %proc ) {
        next if ( $p == $$ );    # DON'T wait for myself I said !
        $waited{$p}++ if ( $proc{$p} =~ /$_/ );
    }
}

if ($verbose) {
    print "I am process $$\n";
    print "waiting after $_ \n" for ( keys %waited );
    print "sleep time set to $sleeptime s\n";
    print "will exit on first terminated process\n" if ( $endfirst );
}

my $count = scalar keys(%waited);

while ( scalar keys(%waited) ) {
    sleep $sl